[MPlayer-cvslog] r29257 - trunk/configure
diego
subversion at mplayerhq.hu
Tue May 5 10:46:38 CEST 2009
Author: diego
Date: Tue May 5 10:46:37 2009
New Revision: 29257
Log:
Simplify Mac OS X Finder and Mac OS X Bundle file locations checks.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Tue May 5 03:34:16 2009 (r29256)
+++ trunk/configure Tue May 5 10:46:37 2009 (r29257)
@@ -3871,23 +3871,14 @@ fi
echores "$_corevideo"
echocheck "Mac OS X Finder Support"
-if test "$_macosx_finder" = yes; then
- def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
-else
- def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
-fi
+def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
+test "$_macosx_finder" = yes && def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
echores "$_macosx_finder"
echocheck "Mac OS X Bundle file locations"
-if test "$_macosx_bundle" = auto ; then
- _macosx_bundle=$_macosx_finder
-fi
-if test "$_macosx_bundle" = yes; then
- def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
-else
- def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
- _macosx_bundle=no
-fi
+def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
+test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder
+test "$_macosx_bundle" = yes && def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
echores "$_macosx_bundle"
echocheck "Apple Remote"
More information about the MPlayer-cvslog
mailing list