summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-01-11 22:29:06 +0100
committerUoti Urpala <uau@mplayer2.org>2012-03-25 22:30:37 +0300
commit24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2 (patch)
tree870fc24bdfb8db61e4f956c2e54bd7f5b90bbcec /configure
parent98d399e2f331a5f85d83fc68611eb2713f24c4ee (diff)
downloadmpv-24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2.tar.bz2
mpv-24e08eb5f2e54fce46a6ff504276aa8da4bf2fa2.tar.xz
macosx_finder_args: use cocoa instead of carbon
macosx_finder_args was using Carbon and wasn't usable any longer on modern versions of MacOSX. This is very useful to embed mplayer in a mac application bundle. When using application bundles, the operating system will call the main function with only one argument that identifies the process serial number (this is some additional process identifier in osx other than the pid). File open events are then dispatched to the application through events that must be handled accordingly.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 53a9ead726..520c37e30b 100755
--- a/configure
+++ b/configure
@@ -3579,7 +3579,7 @@ echocheck "Mac OS X Finder Support"
def_macosx_finder='#undef CONFIG_MACOSX_FINDER'
if test "$_macosx_finder" = yes ; then
def_macosx_finder='#define CONFIG_MACOSX_FINDER 1'
- extra_ldflags="$extra_ldflags -framework Carbon"
+ extra_ldflags="$extra_ldflags -framework Cocoa"
fi
echores "$_macosx_finder"
@@ -3588,7 +3588,6 @@ def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
test "$_macosx_bundle" = auto && _macosx_bundle=$_macosx_finder
if test "$_macosx_bundle" = yes ; then
def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
- extra_ldflags="$extra_ldflags -framework Carbon"
fi
echores "$_macosx_bundle"