aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-25 15:48:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-25 15:48:54 +0000
commit0eace2fefe5663ece6ecf49a645f0655503626ac (patch)
treebb51a71f25ee05f13ce8750a01807916634d6786
parentabd65e21c623efd7c4e32ea4bf52be2c04cf2bba (diff)
localtime and gmtime are not thread-safe on newer AIXes either so we force
a check for there *_r-versions too
-rw-r--r--configure.ac14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 386e0da97..9d5d653a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -957,16 +957,24 @@ else
CURL_CHECK_STRERROR_R()
AC_CHECK_FUNCS( gmtime_r )
-
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!
+dnl they claim a thread-safe libc using the standard API. But there are
+dnl some functions still not thread-safe. Check for these!
+
+dnl Let's hope this split URL remains working:
+dnl http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/ \
+dnl genprogc/thread_quick_ref.htm
if test "x$RECENTAIX" = "xyes"; then
+ dnl is there a localtime_r()
+ CURL_CHECK_LOCALTIME_R()
+
dnl is there a strerror_r()
CURL_CHECK_STRERROR_R()
+
+ AC_CHECK_FUNCS( gmtime_r )
fi