Commit a53d7848 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

--enable-thread was broken and this should cure it

Kevin Fisk reported.
parent 29b7fb62
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -737,9 +737,17 @@ printf("just fine");
)

AC_ARG_ENABLE(thread,dnl
AC_HELP_STRING([--disable-thread],[don't look for 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