diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-functions.m4 | 6 |
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 |