comparison configure @ 18104:7b408d60de9e

add support for intel mac. mp3lib is not fixed yet.
author nplourde
date Sat, 15 Apr 2006 20:46:54 +0000
parents 3c8aa5261e80
children a49f23a8f1ba
comparison
equal deleted inserted replaced
18103:26ea12332e67 18104:7b408d60de9e
6970 _crash_debug=no 6970 _crash_debug=no
6971 fi 6971 fi
6972 echores "$_crash_debug" 6972 echores "$_crash_debug"
6973 6973
6974 if darwin ; then 6974 if darwin ; then
6975 CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN" 6975 CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN"
6976 if x86 ; then
6977 CFLAGS="$CFLAGS -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"
6978 fi
6976 if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then 6979 if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
6977 CFLAGS="$CFLAGS -no-cpp-precomp" 6980 CFLAGS="$CFLAGS -no-cpp-precomp"
6978 fi 6981 fi
6979 6982
6980 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX 6983 # libavcodec (from ffmpeg) requires CONFIG_DARWIN to enable AltiVec on Darwin/MacOSX