mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:43:31 +03:00
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).
This commit is contained in:
parent
910b8b6a69
commit
dd7b6aef39
3 changed files with 20 additions and 1 deletions
|
|
@ -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>],[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue