changeset 31063:55cd4161425a

Fix compilation with gcc 2.95.3 (with --disable-ass).
author cehoyos
date Wed, 28 Apr 2010 11:57:09 +0000
parents 84800a0b2ba7
children 7d174bdfcd9a
files configure
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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)