[vlc-commits] configure: re-enabled the Mac interface by default on Mac OS X

Felix Paul Kühne git at videolan.org
Sun Jul 17 17:02:27 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jul 17 17:01:29 2011 +0200| [e8281725ae0340475b0366fdf178dc497018bd2c] | committer: Felix Paul Kühne

configure: re-enabled the Mac interface by default on Mac OS X

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8281725ae0340475b0366fdf178dc497018bd2c
---

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

diff --git a/configure.ac b/configure.ac
index 24a18ed..bbd8162 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3788,7 +3788,8 @@ dnl  MacOS X video output/gui modules
 dnl
 AC_ARG_ENABLE(macosx,
   [  --enable-macosx         Mac OS X gui support (default enabled on Mac OS X)])
-if test "x${enable_macosx}" = "xyes"
+if test "x${enable_macosx}" != "xno" &&
+(test "${SYS}" = "darwin" || test "${enable_macosx}" = "yes")
 then
   VLC_ADD_LDFLAGS([macosx minimal_macosx],[-Wl,-framework,Cocoa])
   VLC_ADD_LDFLAGS([macosx minimal_macosx],[-Wl,-framework,OpenGL])



More information about the vlc-commits mailing list