configure: Make sure old VLC.app building is optional on Mac OS X.

This commit is contained in:
Pierre d'Herbemont 2009-12-31 16:51:06 +01:00
parent d254ae089f
commit f954a0582e
2 changed files with 5 additions and 1 deletions

View File

@ -410,7 +410,7 @@ vlc$(EXEEXT):
ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
if HAVE_DARWIN
if BUILD_VLC
if BUILD_MACOSX_VLC_APP
# Create the MacOS X app
noinst_DATA = VLC.app
endif

View 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