]> granicus.if.org Git - curl/commitdiff
also check for an 'unsigned int' for third argument of strerror_r()
authorYang Tse <yangsita@gmail.com>
Fri, 12 Sep 2008 10:47:02 +0000 (10:47 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 12 Sep 2008 10:47:02 +0000 (10:47 +0000)
m4/curl-functions.m4

index 84f519efed40ef225db6be5bc358cdb410f35b91..4be2dbaa804491e44ac3d24e22549b61f7a9d5ca 100644 (file)
@@ -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([[