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

Kevin Fisk reported.
This commit is contained in:
Daniel Stenberg 2003-09-05 09:53:00 +00:00
Родитель 29b7fb628e
Коммит a53d7848eb
1 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -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