]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected typo in check for icc
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Sep 2005 20:25:33 +0000 (20:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Sep 2005 20:25:33 +0000 (20:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 50b6b3202d4d1f0999356a446e6c9651d7e703f0..dcfac727bb2708b2bf2422ee76cd3abb7cc995e3 100755 (executable)
--- a/configure
+++ b/configure
 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
 
-if test "$GCC" = yes ; then
+if test "x$INTELCC" = "xyes" ; then
                                         CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
 elif test "$GCC" = yes ; then
     CWARNINGS="-Wall -Wundef"
 fi
 
-if test "$INTELCXX" = yes ; then
+if test "x$INTELCXX" = "xyes" ; then
                                                             CXXWARNINGS="-Wall -wd279,383,444,869,981,1418,1419"
 elif test "$GXX" = yes ; then
         CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
index 50e59641de9bec0ca86180099d9fe9ed6149e944..905f546f7ce91ceef29f52ad73703cdc22312956 100644 (file)
@@ -6851,7 +6851,7 @@ INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
 dnl C/C++ compiler options used to compile wxWidgets
 dnl
 dnl check for icc before gcc as icc is also recognized as gcc
-if test "$GCC" = yes ; then
+if test "x$INTELCC" = "xyes" ; then
     dnl Warnings which can't be easily suppressed in C code are disabled:
     dnl
     dnl     remark #810: conversion from "x" to "y" may lose significant bits
@@ -6866,7 +6866,7 @@ elif test "$GCC" = yes ; then
     CWARNINGS="-Wall -Wundef"
 fi
 
-if test "$INTELCXX" = yes ; then
+if test "x$INTELCXX" = "xyes" ; then
     dnl Intel compiler gives some warnings which simply can't be worked
     dnl around or of which we have too many (810, 869) so it's impractical to
     dnl keep them enabled even if in theory it would be nice and some others