From 74729638057522f5bc984cadff308a467d3a5b0b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 8 Dec 2017 00:49:35 -0500 Subject: [PATCH] configure: List Metal in video drivers. --- configure | 3 ++- configure.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index fa1852e9fd1a5..0cebb091651c4 100755 --- a/configure +++ b/configure @@ -21220,6 +21220,7 @@ fi $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 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h 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 --git a/configure.in b/configure.in index dcaede3e1b7ad..839f2ec908c7a 100644 --- a/configure.in +++ b/configure.in @@ -2062,6 +2062,7 @@ AC_HELP_STRING([--enable-render-metal], [enable the Metal render driver [[defaul 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 }