changeset 11256:bed47a358d05

fix issue when compiler is called 'cc', and --disable-gcc-checking was used (it would force the compiler to be 'gcc') Patch by Pierre Lombard <p_l@gmx.fr>
author gabucino
date Fri, 24 Oct 2003 07:44:38 +0000
parents efa6316ad877
children 837bca3ae69f
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Oct 24 06:11:32 2003 +0000
+++ b/configure	Fri Oct 24 07:44:38 2003 +0000
@@ -325,7 +325,7 @@
 # 1st pass checking for vital options
 _install=install
 _ranlib=ranlib
-_cc=gcc
+_cc=cc
 test "$CC" && _cc="$CC"
 _as=auto
 _runtime_cpudetection=no
@@ -485,7 +485,7 @@
 
 # Checking CC version...
 if test "$_skip_cc_check" != yes ; then
- for _cc in "$_cc" gcc-3.1 gcc3 gcc-3.0 cc ; do
+ for _cc in "$_cc" gcc gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do
   echocheck "$_cc version"
   cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
   cc_version=`( $_cc -dumpversion ) 2>&1`