Mercurial > mplayer.hg
comparison configure @ 27996:4480c422624d
now that we have a specific check to enable ao_macosx or not, don't let test
for vo_quartz set if ao_macosx should be enabled or not: it's redundant.
author | gpoirier |
---|---|
date | Mon, 24 Nov 2008 17:29:37 +0000 |
parents | 2aaf331731eb |
children | 694398410b73 |
comparison
equal
deleted
inserted
replaced
27995:2aaf331731eb | 27996:4480c422624d |
---|---|
3604 ExitMovies(); | 3604 ExitMovies(); |
3605 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); | 3605 CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, false); |
3606 return 0; | 3606 return 0; |
3607 } | 3607 } |
3608 EOF | 3608 EOF |
3609 if cc_check -framework Carbon -framework QuickTime -framework CoreAudio; then | 3609 if cc_check -framework Carbon -framework QuickTime; then |
3610 _ld_extra="$_ld_extra -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox" | 3610 _ld_extra="$_ld_extra -framework Carbon -framework QuickTime" |
3611 _coreaudio=yes | 3611 _quartz=yes |
3612 _def_coreaudio='#define CONFIG_COREAUDIO 1' | |
3613 _aosrc="$_aosrc ao_macosx.c" | |
3614 _aomodules="macosx $_aomodules" | |
3615 _def_quartz='#define CONFIG_QUARTZ 1' | 3612 _def_quartz='#define CONFIG_QUARTZ 1' |
3616 _vosrc="$_vosrc vo_quartz.c" | 3613 _vosrc="$_vosrc vo_quartz.c" |
3617 _vomodules="quartz $_vomodules" | 3614 _vomodules="quartz $_vomodules" |
3618 _def_quicktime='#define CONFIG_QUICKTIME 1' | 3615 _def_quicktime='#define CONFIG_QUICKTIME 1' |
3619 else | 3616 else |
3620 _macosx=no | 3617 _quartz=yes |
3621 _coreaudio=no | |
3622 _def_coreaudio='#undef CONFIG_COREAUDIO' | |
3623 _noaomodules="macosx $_noaomodules" | |
3624 _def_quartz='#undef CONFIG_QUARTZ' | 3618 _def_quartz='#undef CONFIG_QUARTZ' |
3625 _novomodules="quartz $_novomodules" | 3619 _novomodules="quartz $_novomodules" |
3626 _def_quicktime='#undef CONFIG_QUICKTIME' | 3620 _def_quicktime='#undef CONFIG_QUICKTIME' |
3627 fi | 3621 fi |
3628 cat > $TMPC <<EOF | 3622 cat > $TMPC <<EOF |