summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-18 13:56:56 +0000
committerYang Tse <yangsita@gmail.com>2008-09-18 13:56:56 +0000
commita8323cc3f5f3ab0621e14ebf543a870feed2280e (patch)
treef1dbb6bad18c443be814d9a464c51f911e240c25 /configure.ac
parentaa297358686240723236b6b19ee3931148678e06 (diff)
downloadcurl-a8323cc3f5f3ab0621e14ebf543a870feed2280e.tar.gz
icc adjustments
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5654a4959..c07052a56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -303,6 +303,12 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
dnl On Linux this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions.
CPPFLAGS="$CPPFLAGS -std=gnu89"
+ if test "$curl_cv_def___INTEL_COMPILER" -gt "600"; then
+ dnl Show errors, warnings, and remarks
+ CPPFLAGS="$CPPFLAGS -Wall"
+ dnl Perform extra compile-time code checking
+ CPPFLAGS="$CPPFLAGS -Wcheck"
+ fi
dnl Change some warnings into errors
dnl #140: too many arguments in function call
dnl #147: declaration is incompatible with 'previous one'