# HG changeset patch # User nickols_k # Date 991647498 0 # Node ID c6f88600d409082888f201a509297fa881a79cca # Parent 9ad2313db4bffde088e01a2047359cfb41ae3ce5 Enable to avoid checking version of gcc. New tests of as diff -r 9ad2313db4bf -r c6f88600d409 configure --- 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 < /dev/null || as_verc_fail=yes if [ $_mmx = 'yes' ]; then cat > astest.S < /dev/null || as_verc_fail=yes fi +if [ $_3dnowex = 'yes' ]; then +cat >> astest.S < /dev/null || as_verc_fail=yes +fi if [ $_mmx2 = 'yes' ]; then cat >> astest.S <