Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 985:52e64faac752
prev984:a01567058a47
next987:3bd03f1ce0a7
author nkeynes
date Tue Feb 24 11:47:41 2009 +0000 (10 years ago)
permissions -rw-r--r--
last change Set the source-type flags to -D__EXTENSIONS__ -U__STRICT_ANSI__ - this seems
to work correctly on all the platforms we care about at the moment.
Tweak the gcc-detection slightly (it was getting it wrong on some gcc builds)
file annotate diff log raw
1.1 --- a/configure Sun Feb 15 21:47:39 2009 +0000
1.2 +++ b/configure Tue Feb 24 11:47:41 2009 +0000
1.3 @@ -7765,20 +7765,20 @@
1.4
1.5
1.6
1.7 -_GCC_VERSION=`$CC --version | $SED -ne '/(GCC)/p'`
1.8 +_GCC_VERSION=`$CC --version | $SED -ne '/gcc/p'`
1.9 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
1.10 { $as_echo "$as_me:$LINENO: checking CC version" >&5
1.11 $as_echo_n "checking CC version... " >&6; }
1.12 -if test -n "$_GCC_VERSION"; then
1.13 +if test -n "$_ICC_VERSION"; then
1.14 + { $as_echo "$as_me:$LINENO: result: ICC" >&5
1.15 +$as_echo "ICC" >&6; }
1.16 + CCOPT="$CFLAGS -fast"
1.17 + CFLAGS="$CFLAGS -fno-strict-aliasing -std=c99"
1.18 +elif test -n "$_GCC_VERSION"; then
1.19 { $as_echo "$as_me:$LINENO: result: GCC" >&5
1.20 $as_echo "GCC" >&6; }
1.21 CCOPT="-O2 -msse2 -mfpmath=sse"
1.22 - CFLAGS="$CFLAGS -fno-strict-aliasing -std=c99 -D_GNU_SOURCE"
1.23 -elif test -n "$_ICC_VERSION"; then
1.24 - { $as_echo "$as_me:$LINENO: result: ICC" >&5
1.25 -$as_echo "ICC" >&6; }
1.26 - CCOPT="$CFLAGS -fast"
1.27 - CFLAGS="$CFLAGS -fno-strict-aliasing -std=c99 -D_GNU_SOURCE"
1.28 + CFLAGS="$CFLAGS -fno-strict-aliasing -std=c99"
1.29 else
1.30 { $as_echo "$as_me:$LINENO: result: Unknown" >&5
1.31 $as_echo "Unknown" >&6; }
.