[MPlayer-cvslog] r29274 - trunk/configure

diego subversion at mplayerhq.hu
Thu May 7 23:34:57 CEST 2009


Author: diego
Date: Thu May  7 23:34:56 2009
New Revision: 29274

Log:
Add -framework Carbon to LDFLAGS when Mac OS X finder or bundle is enabled.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu May  7 23:02:57 2009	(r29273)
+++ trunk/configure	Thu May  7 23:34:56 2009	(r29274)
@@ -3809,13 +3809,19 @@ if darwin; then
 
 echocheck "Mac OS X Finder Support"
 def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
-test "$_macosx_finder" = yes && def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
+if test "$_macosx_finder" = yes ; then
+  def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
+  extra_ldflags="$extra_ldflags -framework Carbon"
+fi
 echores "$_macosx_finder"
 
 echocheck "Mac OS X Bundle file locations"
 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'
+if test "$_macosx_bundle" = yes ; then
+  def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
+  extra_ldflags="$extra_ldflags -framework Carbon"
+fi
 echores "$_macosx_bundle"
 
 echocheck "Apple Remote"


More information about the MPlayer-cvslog mailing list