aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-04-15 22:54:25 +0000
committerYang Tse <yangsita@gmail.com>2009-04-15 22:54:25 +0000
commit9bb1854398738ce1779363ec01a18daa26278772 (patch)
treea85b77e499970e9b31f4348ef3ea1bcd5e351a0c
parentf7400212fcccbb5817f71f4b7de0176ef054abf0 (diff)
Set HP-UX compiler warning level back to the one that exposes
the socklen_t issue on this platform.
-rw-r--r--ares/m4/cares-compilers.m46
-rw-r--r--m4/curl-compilers.m48
2 files changed, 7 insertions, 7 deletions
diff --git a/ares/m4/cares-compilers.m4 b/ares/m4/cares-compilers.m4
index ba5815d1a..9d3db48a3 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 46
+# serial 47
dnl CARES_CHECK_COMPILER
@@ -908,11 +908,11 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
- dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
+ tmp_CFLAGS="$tmp_CFLAGS +w1"
dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
dnl warning level. Until the issue is somehow fixed we will just
dnl use the +w2 warning level.
- tmp_CFLAGS="$tmp_CFLAGS +w2"
+ dnl tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#
diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
index d832a6fd8..ffd906dbe 100644
--- a/m4/curl-compilers.m4
+++ b/m4/curl-compilers.m4
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -22,7 +22,7 @@
#***************************************************************************
# File version for 'aclocal' use. Keep it a single number.
-# serial 46
+# serial 47
dnl CURL_CHECK_COMPILER
@@ -914,11 +914,11 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
#
if test "$want_warnings" = "yes"; then
dnl Issue all warnings
- dnl tmp_CFLAGS="$tmp_CFLAGS +w1"
+ tmp_CFLAGS="$tmp_CFLAGS +w1"
dnl Due to the HP-UX socklen_t issue it is insane to use the +w1
dnl warning level. Until the issue is somehow fixed we will just
dnl use the +w2 warning level.
- tmp_CFLAGS="$tmp_CFLAGS +w2"
+ dnl tmp_CFLAGS="$tmp_CFLAGS +w2"
fi
;;
#