summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-10 16:43:40 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-10 16:43:40 +0000
commit2cc1ec3ea499f8d959c1cbafcdb66b7915e91029 (patch)
treeef71647433844f756743b4270fa8d355ac11ebdf /configure
parent20460bc1b9c1aa1719ea53c1b2e79c0c205d1c74 (diff)
downloadmpv-2cc1ec3ea499f8d959c1cbafcdb66b7915e91029.tar.bz2
mpv-2cc1ec3ea499f8d959c1cbafcdb66b7915e91029.tar.xz
add support for macosx finder argument support (let you bundle mplayer to be a finder compliant .app) patch by Chris Roccati <roccati@pobox.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13910 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure b/configure
index a6752a76de..bb507803c3 100755
--- a/configure
+++ b/configure
@@ -182,6 +182,7 @@ Optional features:
--enable-fribidi Enable using the FriBiDi libs [disabled]
--disable-enca Disable using ENCA charset oracle library [autodetect]
--disable-macosx Disable Mac OS X specific features [autodetect]
+ --enable-macosx-finder-support Enable Mac OS X Finder invocation parameter parsing [disabled]
--disable-inet6 Disable IPv6 support [autodetect]
--disable-gethostbyname2 gethostbyname() function is not provided by the C
library [autodetect]
@@ -1381,6 +1382,7 @@ _shared_pp=no
_menu=no
_qtx=auto
_macosx=auto
+_macosx_finder_support=no
_sortsub=yes
_freetypeconfig='freetype-config'
_fribidi=no
@@ -1648,6 +1650,8 @@ for ac_option do
--enable-macosx) _macosx=yes ;;
--disable-macosx) _macosx=no ;;
+ --enable-macosx-finder-support) _macosx_finder_support=yes ;;
+ --disable-macosx-finder-support) _macosx_finder_support=no ;;
--enable-sortsub) _sortsub=yes ;;
--disable-sortsub) _sortsub=no ;;
@@ -3140,6 +3144,18 @@ EOF
fi
echores "$_macosx"
+echocheck "Mac OS X Finder Support"
+if test "$_macosx_finder_support" = auto ; then
+ _macosx_finder_support=$_macosx
+fi
+if test "$_macosx_finder_support" = yes; then
+ _def_macosx_finder_support='#define MACOSX_FINDER_SUPPORT 1'
+ _macosx_finder_support=yes
+else
+ _def_macosx_finder_support='#undef MACOSX_FINDER_SUPPORT'
+ _macosx_finder_support=no
+fi
+echores "$_macosx_finder_support"
echocheck "Samba support (libsmbclient)"
if test "$_smbsupport" = yes; then
@@ -6571,6 +6587,7 @@ SMBSUPPORT_LIB = $_ld_smb
XMMS_PLUGINS = $_xmms
XMMS_LIB = $_xmms_lib
MACOSX = $_macosx
+MACOSX_FINDER_SUPPORT = $_macosx_finder_support
MACOSX_FRAMEWORKS = $_macosx_frameworks
TOOLAME=$_toolame
TOOLAME_EXTRAFLAGS=$_toolame_extraflags
@@ -6874,6 +6891,7 @@ $_def_dshow
/* Mac OS X specific features */
$_def_macosx
+$_def_macosx_finder_support
/* Build our Win32-loader */
$_def_win32_loader