summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-25 04:18:48 +0000
committerYang Tse <yangsita@gmail.com>2008-10-25 04:18:48 +0000
commitd104216bbeed0b4ed13063f3b627d4d9527b6b08 (patch)
treeb326a95be3838ae4b38876a5fd75f514feb23730
parentd086fdaf9f16f0739b2a9eb4ca97aed8c7d26ade (diff)
downloadcurl-d104216bbeed0b4ed13063f3b627d4d9527b6b08.tar.gz
icc adjustments:
Select ANSI C89 dialect plus GNU extensions, again.
-rw-r--r--ares/m4/cares-compilers.m46
-rw-r--r--m4/curl-compilers.m46
2 files changed, 4 insertions, 8 deletions
diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index 04c002631..84f813bd1 100644
--- a/ares/m4/cares-compilers.m4
+++ b/ares/m4/cares-compilers.m4
@@ -16,7 +16,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 43
+# serial 45
dnl CARES_CHECK_COMPILER
@@ -559,9 +559,7 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [
#
dnl On unix this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions.
- dnl tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
- dnl Select ANSI C89 dialect without GNU extensions.
- tmp_CFLAGS="$tmp_CFLAGS -std=c89"
+ tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
dnl Change some warnings into errors
dnl #140: too many arguments in function call
dnl #147: declaration is incompatible with 'previous one'
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index e0cf59fe3..f01214d0f 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 42
+# serial 44
dnl CURL_CHECK_COMPILER
@@ -565,9 +565,7 @@ AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [
#
dnl On unix this compiler uses gcc's header files, so
dnl we select ANSI C89 dialect plus GNU extensions.
- dnl tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
- dnl Select ANSI C89 dialect without GNU extensions.
- tmp_CFLAGS="$tmp_CFLAGS -std=c89"
+ tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
dnl Change some warnings into errors
dnl #140: too many arguments in function call
dnl #147: declaration is incompatible with 'previous one'