[Commits] SDL: configure: List Metal in video drivers.

libsdl.org revision control commits-owner at libsdl.org
Fri Dec 8 10:57:18 PST 2017


details:   https://hg.libsdl.org/SDL/rev/e54b6d8ffca8
changeset: 11736:e54b6d8ffca8
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Fri Dec 08 00:49:35 2017 -0500
description:
configure: List Metal in video drivers.

diffstat:

 configure    |  3 ++-
 configure.in |  1 +
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 1d81fcb6edd5 -r e54b6d8ffca8 configure
--- a/configure	Fri Dec 08 08:58:02 2017 -0800
+++ b/configure	Fri Dec 08 00:49:35 2017 -0500
@@ -21220,6 +21220,7 @@
 $as_echo "#define SDL_VIDEO_RENDER_METAL 1" >>confdefs.h
 
         SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
+        SUMMARY_video="${SUMMARY_video} metal"
     fi
 }
 
@@ -24433,7 +24434,7 @@
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,IOKit"
 
         if test x$enable_render = xyes -a x$enable_render_metal = xyes; then
-            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,QuartzCore -Wl,-weak_framework,Metal"
+            EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal"
         fi
         ;;
     *-nacl|*-pnacl)
diff -r 1d81fcb6edd5 -r e54b6d8ffca8 configure.in
--- a/configure.in	Fri Dec 08 08:58:02 2017 -0800
+++ b/configure.in	Fri Dec 08 00:49:35 2017 -0500
@@ -2062,6 +2062,7 @@
         dnl This should maybe make sure you have a supported SDK version.
         AC_DEFINE(SDL_VIDEO_RENDER_METAL, 1, [ ])
         SOURCES="$SOURCES $srcdir/src/render/metal/*.m"
+        SUMMARY_video="${SUMMARY_video} metal"
     fi
 }
 


More information about the commits mailing list