diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-08-19 06:41:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-08-19 06:41:49 +0000 |
commit | 62ff567c472838207c2a2409cf41e90dc3e6d6d6 (patch) | |
tree | 04f8be78dccaacacb45efd983a681ed67927471c | |
parent | ee400f95523790613cbd8d207080026dfd478b12 (diff) |
the autobuilds failed all over on AIX, attempt to fix the strerror_r() problem
by setting _THREAD_SAFE (and -qthreaded) before strerror_r() is checked for.
-rw-r--r-- | configure.ac | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 53f4f2dff..825271e97 100644 --- a/configure.ac +++ b/configure.ac @@ -1038,13 +1038,6 @@ 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 ) AC_DEFINE(_THREAD_SAFE, 1, [define this if you need it to compile thread-safe code]) @@ -1062,6 +1055,14 @@ if test "x$RECENTAIX" = "xyes"; then CFLAGS="$CFLAGS -qthreaded" ) + + 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 |