aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-25 15:10:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-25 15:10:01 +0000
commitabd65e21c623efd7c4e32ea4bf52be2c04cf2bba (patch)
treef8a48ca7f1a1842be6f4120e8aca3b0f61a95f54
parente21104a8650a68601a5aaf350c4df5a0f6f38db5 (diff)
force recent AIX versions to check for strerror_r
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 36e5481cb..386e0da97 100644
--- a/configure.ac
+++ b/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 **********************************************************************