]> git.sesse.net Git - vlc/blobdiff - configure.ac
configure: Make sure old VLC.app building is optional on Mac OS X.
[vlc] / configure.ac
index 257fd34b241f1344509c4d35443e39f3555fef42..ea8f366aff871173c0bf7c7c2152eca099dfe80f 100644 (file)
@@ -4439,6 +4439,10 @@ then
   VLC_ADD_PLUGIN([access_eyetv])
 fi
 
+AC_ARG_ENABLE(macosx-vlc-app,
+  [  --enable-macosx-vlc-app            build the VLC media player (default enabled on Mac OS X)])
+AM_CONDITIONAL(BUILD_MACOSX_VLC_APP, [test "${enable_macosx_vlc_app}" != "no" &&
+    (test "${SYS}" = "darwin" || test "${enable_macosx_vlc_app}" = "yes") ])
 
 
 dnl