]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl-confopts.m4: fix --disable-threaded-resolver
authorJakub Zakrzewski <slither.jz@gmail.com>
Tue, 15 Aug 2017 17:21:33 +0000 (13:21 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 15 Aug 2017 17:24:03 +0000 (13:24 -0400)
Closes https://github.com/curl/curl/issues/1784

m4/curl-confopts.m4

index d77a884d58bd494a2b6e2b22243c47e0ee30cce2..6dcd0f1a6794f8b3d0896d3b4dd73a8405f186fc 100644 (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])
 ])