From 48f625bc2ce81132a2a8c2d7c524a03f1b7196e5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Sep 2005 20:25:33 +0000 Subject: [PATCH] corrected typo in check for icc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 4 ++-- configure.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 50b6b3202d..dcfac727bb 100755 --- a/configure +++ b/configure @@ -42626,13 +42626,13 @@ fi 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" diff --git a/configure.in b/configure.in index 50e59641de..905f546f7c 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.45.2