summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-21 21:15:46 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-05-21 21:15:46 +0000
commitecf10a4138fcdd90844111892acbd1440f09d40d (patch)
treed1c85deba3c3812578f597a452a9bf9a3cd89c4f /configure
parent7b4c5c12420c9c849a09f150447d86dc447a2112 (diff)
downloadmpv-ecf10a4138fcdd90844111892acbd1440f09d40d.tar.bz2
mpv-ecf10a4138fcdd90844111892acbd1440f09d40d.tar.xz
Native MacOSX audio output by Dan Christiansen <danchr@daimi.au.dk>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10148 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index 94125267ba..ba9aad7919 100755
--- a/configure
+++ b/configure
@@ -2404,25 +2404,29 @@ if test "$_macosx" = auto ; then
else
_macosx=no
_def_macosx='#undef MACOSX'
+ _noaomodules="macosx $_noaomodules"
fi
fi
if test "$_macosx" = yes ; then
cat > $TMPC <<EOF
#include <Carbon/Carbon.h>
#include <QuickTime/QuickTime.h>
+#include <CoreAudio/CoreAudio.h>
int main(void) {
EnterMovies();
ExitMovies();
CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false);
}
EOF
- if cc_check -framework Carbon -framework QuickTime ; then
+ if cc_check -framework Carbon -framework QuickTime -framework CoreAudio; then
_macosx=yes
- _macosx_frameworks="-framework Carbon -framework QuickTime"
+ _macosx_frameworks="-framework Carbon -framework QuickTime -framework CoreAudio"
_def_macosx='#define MACOSX 1'
+ _aomodules="macosx $_aomodules"
else
_macosx=no
_def_macosx='#undef MACOSX'
+ _noaomodules="macosx $_noaomodules"
fi
fi
echores "$_macosx"