changeset 19424:5df27eeec3bf

Rename gcc_checking variable to gcc_check.
author diego
date Thu, 17 Aug 2006 23:40:11 +0000
parents 25bd26d7e650
children 4c2018ab7d45
files configure
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Aug 17 23:08:13 2006 +0000
+++ b/configure	Thu Aug 17 23:40:11 2006 +0000
@@ -462,6 +462,7 @@
 _ranlib=ranlib
 _cc=cc
 test "$CC" && _cc="$CC"
+_gcc_check=yes
 _as=auto
 _runtime_cpudetection=no
 _cross_compile=auto
@@ -480,10 +481,10 @@
     _as=`echo $ac_option | cut -d '=' -f 2`
     ;;
   --enable-gcc-checking)
-    _gcc_checking=yes
+    _gcc_check=yes
     ;;
   --disable-gcc-checking)
-    _gcc_checking=no
+    _gcc_check=no
     ;;
   --enable-static)
     _ld_static='-static'
@@ -673,7 +674,7 @@
 fi
 
 # Checking CC version...
-if test "$_gcc_checking" != no ; then
+if test "$_gcc_check" = yes ; then
  # Intel C++ Compilers (no autoselect, use CC=/some/binary ./configure)
  if test "`basename $_cc`" = "icc" || test "`basename $_cc`" = "ecc"; then
   echocheck "$_cc version"