aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-functions.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-18 11:21:55 +0000
committerYang Tse <yangsita@gmail.com>2008-09-18 11:21:55 +0000
commita059e9241ece02a13c66133ceaa926c3c2032215 (patch)
tree3a23d67a1e9ac4f5dbc483de543b73c2e6262183 /m4/curl-functions.m4
parentacd637160f4427981c3e096ac9e91f66df551f42 (diff)
fix false negative strerror_r detection
Diffstat (limited to 'm4/curl-functions.m4')
-rw-r--r--m4/curl-functions.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index 26ed3960c..2b11d720e 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -1735,6 +1735,12 @@ AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [
])
fi
#
+ if test "$tst_works_glibc_strerror_r" = "yes"; then
+ tst_posix_strerror_r="no"
+ fi
+ if test "$tst_works_posix_strerror_r" = "yes"; then
+ tst_glibc_strerror_r="no"
+ fi
if test "$tst_glibc_strerror_r" = "yes" &&
test "$tst_works_glibc_strerror_r" != "no" &&
test "$tst_posix_strerror_r" != "yes"; then