]> git.sesse.net Git - vlc/commitdiff
Updated the link flags for the Mac screen module
authorFelix Paul Kühne <fkuehne@videolan.org>
Mon, 7 Apr 2008 13:34:40 +0000 (15:34 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Mon, 7 Apr 2008 13:34:40 +0000 (15:34 +0200)
configure.ac

index f53dd11d2cfa3c4edcc9748197633f7ae150f9c4..34846ea17079f993d48244f25f309dbd0be7a20b 100644 (file)
@@ -2583,9 +2583,11 @@ AC_ARG_ENABLE(screen,
   [  --enable-screen         Screen capture support (default enabled)])
 if test "${enable_screen}" != "no"; then
   if test "${SYS}" = "darwin"; then
-    AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
-      VLC_ADD_PLUGINS([screen])
-      VLC_ADD_LDFLAGS([screen],[-Wl,-framework,ApplicationServices])
+    AC_CHECK_HEADERS(OpenGL/gl.h, [
+      AC_CHECK_HEADERS(ApplicationServices/ApplicationServices.h, [
+        VLC_ADD_PLUGINS([screen])
+        VLC_ADD_LDFLAGS([screen],[-Wl,-framework,OpenGL,-framework,ApplicationServices])
+      ])
     ])
   elif test "${SYS}" = "mingw32"; then
     VLC_ADD_PLUGINS([screen])