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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-05-07 21:34:56 +00:00
parent 31886434cd
commit c12922d678
1 changed files with 8 additions and 2 deletions

10
configure vendored
View File

@ -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"