diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-12 10:47:02 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-12 10:47:02 +0000 |
commit | 77bafd823b6e36586f483cbd459649774729357c (patch) | |
tree | 4b866f50899e4d10c75c175c11864f28dba0095b | |
parent | 624b5f228b9e0e93e0db12158228a2071ff0b6b5 (diff) |
also check for an 'unsigned int' for third argument of strerror_r()
-rw-r--r-- | m4/curl-functions.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4 index 84f519efe..4be2dbaa8 100644 --- a/m4/curl-functions.m4 +++ b/m4/curl-functions.m4 @@ -22,7 +22,7 @@ #*************************************************************************** # File version for 'aclocal' use. Keep it a single number. -# serial 7 +# serial 8 dnl CURL_INCLUDES_SIGNAL @@ -700,7 +700,7 @@ AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ if test "$tst_compi_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r is glibc like]) tst_glibc_strerror_r_type_arg3="unknown" - for arg3 in 'size_t' 'int'; do + for arg3 in 'size_t' 'int' 'unsigned int'; do if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ @@ -760,7 +760,7 @@ AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ test "$tst_works_glibc_strerror_r" != "yes"; then AC_MSG_CHECKING([if strerror_r is POSIX like]) tst_posix_strerror_r_type_arg3="unknown" - for arg3 in 'size_t' 'int'; do + for arg3 in 'size_t' 'int' 'unsigned int'; do if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ |