]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
icc adjustments:
authorYang Tse <yangsita@gmail.com>
Sat, 25 Oct 2008 04:18:48 +0000 (04:18 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 25 Oct 2008 04:18:48 +0000 (04:18 +0000)
  Select ANSI C89 dialect plus GNU extensions, again.

ares/m4/cares-compilers.m4
m4/curl-compilers.m4

index 04c002631fa0dae69d80fdee8a240f908a8c77a2..84f813bd16262ddc4469ea8074060be27ea77a4e 100644 (file)
@@ -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'
index e0cf59fe3625eb793f73e329553f81dbfb5633a6..f01214d0f10993c10def1460d2a1f9a844e8f017 100644 (file)
@@ -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'