# HG changeset patch # User diego # Date 1240681975 0 # Node ID 2d917ca2088681ba3a6e9d6b048330e232a9c3d6 # Parent c13e6f9c65c2c5a2e6a0eaeb4b6a9fb1241d54db whitespace cosmetics: reindent Mac OS X checks, remove trailing whitespace diff -r c13e6f9c65c2 -r 2d917ca20886 configure --- a/configure Sat Apr 25 17:48:48 2009 +0000 +++ b/configure Sat Apr 25 17:52:55 2009 +0000 @@ -336,8 +336,8 @@ --enable-xmms enable XMMS input plugin support [disabled] --enable-libdca enable libdca support [autodetect] --disable-mp3lib disable builtin mp3lib [autodetect] - --disable-liba52 disable liba52 [autodetect] - --disable-liba52-internal disable builtin liba52 [autodetect] + --disable-liba52 disable liba52 [autodetect] + --disable-liba52-internal disable builtin liba52 [autodetect] --disable-libmpeg2 disable builtin libmpeg2 [autodetect] --disable-musepack disable musepack support [autodetect] --disable-libamr_nb disable libamr narrowband [autodetect] @@ -2529,7 +2529,7 @@ x86_64 && objformat="macho64" || objformat="macho" elif win32 ; then objformat="win32" - else + else objformat="elf" fi # currently tested for Linux x86, x86_64 @@ -3813,13 +3813,13 @@ cc_check -framework CoreAudio && _coreaudio=yes fi if test "$_coreaudio" = yes ; then - extra_ldflags="$extra_ldflags -framework CoreAudio -framework AudioUnit -framework AudioToolbox" - def_coreaudio='#define CONFIG_COREAUDIO 1' - _aomodules="macosx $_aomodules" - else - def_coreaudio='#undef CONFIG_COREAUDIO' - _noaomodules="macosx $_noaomodules" - fi + extra_ldflags="$extra_ldflags -framework CoreAudio -framework AudioUnit -framework AudioToolbox" + def_coreaudio='#define CONFIG_COREAUDIO 1' + _aomodules="macosx $_aomodules" +else + def_coreaudio='#undef CONFIG_COREAUDIO' + _noaomodules="macosx $_noaomodules" +fi echores $_coreaudio @@ -3839,20 +3839,20 @@ cc_check -framework Carbon -framework QuickTime && _quartz=yes fi if test "$_quartz" = yes ; then - extra_ldflags="$extra_ldflags -framework Carbon -framework QuickTime" - def_quartz='#define CONFIG_QUARTZ 1' - _vomodules="quartz $_vomodules" - def_quicktime='#define CONFIG_QUICKTIME 1' - else - def_quartz='#undef CONFIG_QUARTZ' - _novomodules="quartz $_novomodules" - def_quicktime='#undef CONFIG_QUICKTIME' - fi + extra_ldflags="$extra_ldflags -framework Carbon -framework QuickTime" + def_quartz='#define CONFIG_QUARTZ 1' + _vomodules="quartz $_vomodules" + def_quicktime='#define CONFIG_QUICKTIME 1' +else + def_quartz='#undef CONFIG_QUARTZ' + _novomodules="quartz $_novomodules" + def_quicktime='#undef CONFIG_QUICKTIME' +fi echores $_quartz echocheck "CoreVideo" if test "$_corevideo" = auto ; then -cat > $TMPC < $TMPC < #include int main(void) { return 0; } @@ -3861,13 +3861,13 @@ cc_check -framework Carbon -framework QuartzCore -framework OpenGL && _corevideo=yes fi if test "$_corevideo" = yes ; then - _vomodules="macosx $_vomodules" - extra_ldflags="$extra_ldflags -framework Cocoa -framework QuartzCore -framework OpenGL" - def_corevideo='#define CONFIG_COREVIDEO 1' - else - _novomodules="macosx $_novomodules" - def_corevideo='#undef CONFIG_COREVIDEO' - fi + _vomodules="macosx $_vomodules" + extra_ldflags="$extra_ldflags -framework Cocoa -framework QuartzCore -framework OpenGL" + def_corevideo='#define CONFIG_COREVIDEO 1' +else + _novomodules="macosx $_novomodules" + def_corevideo='#undef CONFIG_COREVIDEO' +fi echores "$_corevideo" echocheck "Mac OS X Finder Support"