diff configure @ 31063:55cd4161425a

Fix compilation with gcc 2.95.3 (with --disable-ass).
author cehoyos
date Wed, 28 Apr 2010 11:57:09 +0000
parents 3d5814888491
children 0d51c0dcd832
line wrap: on
line diff
--- a/configure	Tue Apr 27 22:06:29 2010 +0000
+++ b/configure	Wed Apr 28 11:57:09 2010 +0000
@@ -1673,6 +1673,12 @@
   _cpuinfo="./cpuinfo$_exesuf"
 fi
 
+if [ "$cc_vendor" = "gnu" ] && [ "$_cc_major" = 2 ] ; then
+  test $_sse      = auto && _sse=no
+  test $_win32dll = auto && _win32dll=no
+  ass_internal=no
+fi
+
 if x86 ; then
   # gather more CPU information
   pname=$($_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -n 1)