1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl-confopts.m4: fix --disable-threaded-resolver

Closes https://github.com/curl/curl/issues/1784
This commit is contained in:
Jakub Zakrzewski 2017-08-15 13:21:33 -04:00 committed by Jay Satiro
parent 43d036e724
commit 3cb4bb6b5f

View File

@ -37,14 +37,14 @@ AC_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
AC_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
OPT_THRES=$enableval)
case "$OPT_THRES" in
*)
dnl configure option not specified
want_thres="yes"
;;
no)
dnl --disable-threaded-resolver option used
want_thres="no"
;;
*)
dnl configure option not specified
want_thres="yes"
;;
esac
AC_MSG_RESULT([$want_thres])
])