comparison configure @ 12644:2c18d6dcc22e

darwin flags cleanup by Dan Christiansen
author alex
date Fri, 25 Jun 2004 16:17:16 +0000
parents 80973aa180a5
children 9a495bdc3a1e
comparison
equal deleted inserted replaced
12643:f32e4c04aecd 12644:2c18d6dcc22e
5815 To do so, execute 'CFLAGS= ./configure <options>' 5815 To do so, execute 'CFLAGS= ./configure <options>'
5816 5816
5817 EOF 5817 EOF
5818 fi 5818 fi
5819 if darwin ; then 5819 if darwin ; then
5820 # use gnu style cpp on Darwin 5820 CFLAGS="$CFLAGS -DSYS_DARWIN"
5821 CFLAGS="$CFLAGS -no-cpp-precomp -DSYS_DARWIN -Wl,-bind_at_load" 5821 if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
5822 CFLAGS="$CFLAGS -no-cpp-precomp"
5823 fi
5824
5822 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX 5825 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX
5823 test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN" 5826 test "$_altivec" = yes && CFLAGS="$CFLAGS -DCONFIG_DARWIN"
5824 fi 5827 fi
5825 if hpux ; then 5828 if hpux ; then
5826 # use flag for HPUX missing setenv() 5829 # use flag for HPUX missing setenv()