summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
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"