]> granicus.if.org Git - curl/commitdiff
--enable-thread was broken and this should cure it
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Sep 2003 09:53:00 +0000 (09:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Sep 2003 09:53:00 +0000 (09:53 +0000)
Kevin Fisk reported.

configure.ac

index 9662063e75f5a1b65c66b700b719f3c5c7883c77..09576a5e7a44407a2f76c151bbf9014d2d291f2c 100644 (file)
@@ -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