configure: List Metal in video drivers.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 08 Dec 2017 00:49:35 -0500
changeset 11736e54b6d8ffca8
parent 11735 1d81fcb6edd5
child 11737 0c134b939fd9
configure: List Metal in video drivers.
configure
configure.in
     1.1 --- a/configure	Fri Dec 08 08:58:02 2017 -0800
     1.2 +++ b/configure	Fri Dec 08 00:49:35 2017 -0500
     1.3 @@ -21220,6 +21220,7 @@
     1.4  $as_echo "#define SDL_VIDEO_RENDER_METAL 1" >>confdefs.h
     1.5  
     1.6          SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
     1.7 +        SUMMARY_video="${SUMMARY_video} metal"
     1.8      fi
     1.9  }
    1.10  
    1.11 @@ -24433,7 +24434,7 @@
    1.12          EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
    1.13  
    1.14          if test x$enable_render = xyes -a x$enable_render_metal = xyes; then
    1.15 -            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore -Wl,-weak_framework,Metal"
    1.16 +            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal"
    1.17          fi
    1.18          ;;
    1.19      *-nacl|*-pnacl)
     2.1 --- a/configure.in	Fri Dec 08 08:58:02 2017 -0800
     2.2 +++ b/configure.in	Fri Dec 08 00:49:35 2017 -0500
     2.3 @@ -2062,6 +2062,7 @@
     2.4          dnl This should maybe make sure you have a supported SDK version.
     2.5          AC_DEFINE(SDL_VIDEO_RENDER_METAL, 1, [ ])
     2.6          SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
     2.7 +        SUMMARY_video="${SUMMARY_video} metal"
     2.8      fi
     2.9  }
    2.10