From f954a0582e9cf3e2cfdc612fb3dbe14abbcf6a5a Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Thu, 31 Dec 2009 16:51:06 +0100 Subject: [PATCH] configure: Make sure old VLC.app building is optional on Mac OS X. --- Makefile.am | 2 +- configure.ac | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e28142fa9b..61603fbcdb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 257fd34b24..ea8f366aff 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.39.2