aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-09-05 09:53:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-09-05 09:53:00 +0000
commita53d7848ebf48ee7c8447182dda88447eb170d2b (patch)
treed1a39f8240f9ac508edc42c7b7ced719728c9e63 /configure.ac
parent29b7fb628e5852c367c87869e5b1301ac744ade4 (diff)
--enable-thread was broken and this should cure it
Kevin Fisk reported.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 9662063e7..09576a5e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -737,9 +737,17 @@ printf("just fine");
)
AC_ARG_ENABLE(thread,dnl
-AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions]),
- OPT_THREAD=off
- AC_MSG_WARN(libcurl will not get built using thread-safe functions)
+AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions])
+AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
+[ case "$enableval" in
+ no)
+ OPT_THREAD=off
+ AC_MSG_WARN(libcurl will not get built using thread-safe functions)
+ ;;
+ *)
+ ;;
+ esac
+]
)
if test X"$OPT_THREAD" = Xoff