Mercurial > mplayer.hg
diff configure @ 12644:2c18d6dcc22e
darwin flags cleanup by Dan Christiansen
author | alex |
---|---|
date | Fri, 25 Jun 2004 16:17:16 +0000 |
parents | 80973aa180a5 |
children | 9a495bdc3a1e |
line wrap: on
line diff
--- a/configure Fri Jun 25 16:09:54 2004 +0000 +++ b/configure Fri Jun 25 16:17:16 2004 +0000 @@ -5817,8 +5817,11 @@ EOF fi if darwin ; then - # use gnu style cpp on Darwin - CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load" + CFLAGS="$CFLAGS -DSYS_DARWIN" + if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then + CFLAGS="$CFLAGS -no-cpp-precomp" + fi + # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN" fi