From 66fe1def588f9ab5cf2c2ff1906fbd321ea1ada7 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 25 Jun 2004 16:17:16 +0000 Subject: [PATCH] darwin flags cleanup by Dan Christiansen git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12645 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4ae51590a7..ff67625e25 100755 --- a/configure +++ b/configure @@ -5817,8 +5817,11 @@ To do so, execute 'CFLAGS= ./configure ' 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