moved the disable-thread warning to the switch code so that the AIX 4.3
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 22:31:58 +0000 (22:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 22:31:58 +0000 (22:31 +0000)
automatic disable won't cause a warning

configure.in

index 8f6e757..3df18c2 100644 (file)
@@ -594,11 +594,11 @@ printf("just fine");
 AC_ARG_ENABLE(thread,dnl
 [  --disable-thread       tell configure to not look for thread-safe functions],
   OPT_THREAD=off
+  AC_MSG_WARN(libcurl will not get built using thread-safe functions)
 )
 
 if test X"$OPT_THREAD" = Xoff
 then
-  AC_MSG_WARN(libcurl will not get built using thread-safe functions)
   AC_DEFINE(DISABLED_THREADSAFE, 1, \
 Set to explicitly specify we don't want to use thread-safe functions)
 else