mirror of
https://github.com/curl/curl.git
synced 2026-07-24 11:27:17 +03:00
fix false negative strerror_r detection
This commit is contained in:
parent
acd637160f
commit
a059e9241e
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue