aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-18 13:24:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-18 13:24:23 +0000
commitdd7b6aef392c3d7cf4e3e346c1d15a3067da6d19 (patch)
treefab2278ece67aaeb77be58cbe78124197f4804e4 /acinclude.m4
parent910b8b6a69e8e1e1bfb3ee6c7dd6980fd11590e8 (diff)
The configure check for strerror_r() failed to detect the proper API at
times, like on my HP-UX 10.20 tests. And then lib/strerror.c badly assumed the glibc version if the posix define wasn't set (since it _had_ found a strerror_r).
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c9894c480..69c3e6cd8 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -418,7 +418,9 @@ dnl
AC_DEFUN([CURL_CHECK_STRERROR_R],
[
dnl determine of strerror_r is present
- AC_CHECK_FUNCS(strerror_r,[
+ AC_CHECK_FUNC(strerror_r,
+ strerror_r="yes",
+ [
AC_MSG_CHECKING(whether strerror_r is declared)
AC_EGREP_CPP(strerror_r,[
#include <string.h>],[