changeset 988:c6f88600d409

Enable to avoid checking version of gcc. New tests of as
author nickols_k
date Mon, 04 Jun 2001 09:38:18 +0000
parents 9ad2313db4bf
children 1be1647ebd7d
files configure
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Mon Jun 04 08:07:57 2001 +0000
+++ b/configure	Mon Jun 04 09:38:18 2001 +0000
@@ -111,6 +111,8 @@
 	--enable-xmmp	        use XMMP audio drivers
 	--enable-lirc	        enable LIRC (remote control) support
 
+	--disable-gcc-checking  disable gcc version checking
+
 	--disable-select        disable audio select() support ( for example required this
 	                        option ALSA or Vortex2 driver )
 
@@ -179,6 +181,9 @@
   --cc=*)
         _cc=`echo $ac_option | cut -d '=' -f 2`
         ;;
+  --disable-gcc-checking=*)
+        _skip_cc_check=yes
+	;;
   --with-x11libdir=*)
         _x11libdir=-L`echo $ac_option | cut -d '=' -f 2`
         ;;
@@ -192,6 +197,7 @@
 done
 
 # Checking CC version...
+if ! test -z "$_skip_cc_check"; then
 echo "checking version of $CC""... $_cc"
 cc_version=`$_cc -v 2>&1 | sed -n 's/^.*version \([aegcygnustp-]*[0-9.]*\).*$/\1/p'`
 case $cc_version in
@@ -205,6 +211,10 @@
 echo "Please downgrade(upgrade) gcc compiler to gcc-2.95.2+ or gcc-3.0+ version"
 exit
 fi
+fi
+if test -z "$_skip_cc_check"; then
+echo "YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY BUGREPORTS!"
+fi
 # ---
 
 pname=`cat /proc/cpuinfo | grep 'model name' | cut -d ':' -f 2`
@@ -748,6 +758,10 @@
 done
 
 # Checking as compatibility...
+cat > astest.S <<EOF
+filds -2(%ebp)
+EOF
+as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
 if [ $_mmx = 'yes' ]; then
 cat > astest.S <<EOF
 emms
@@ -760,6 +774,12 @@
 EOF
 as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
 fi
+if [ $_3dnowex = 'yes' ]; then
+cat >> astest.S <<EOF
+pswapd %mm0, %mm0
+EOF
+as astest.S -o astest.o &> /dev/null || as_verc_fail=yes
+fi
 if [ $_mmx2 = 'yes' ]; then
 cat >> astest.S <<EOF
 movntq	%mm0, (%eax)