mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
force recent AIX versions to check for strerror_r
This commit is contained in:
parent
e21104a865
commit
abd65e21c6
11
configure.ac
11
configure.ac
@ -915,6 +915,7 @@ printf("just fine");
|
||||
#endif
|
||||
],
|
||||
[ AC_MSG_RESULT([yes])
|
||||
RECENTAIX=yes
|
||||
OPT_THREAD=off ],
|
||||
[ AC_MSG_RESULT([no]) ]
|
||||
)
|
||||
@ -959,6 +960,16 @@ else
|
||||
|
||||
fi
|
||||
|
||||
dnl for recent AIX versions, we skip all the thread-safe checks above since
|
||||
dnl they claim a thread-safe libc using the standard API. But the man page
|
||||
dnl says strerror() is not thread-safe, so we check for this only!
|
||||
|
||||
if test "x$RECENTAIX" = "xyes"; then
|
||||
dnl is there a strerror_r()
|
||||
CURL_CHECK_STRERROR_R()
|
||||
fi
|
||||
|
||||
|
||||
dnl **********************************************************************
|
||||
dnl Back to "normal" configuring
|
||||
dnl **********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user