]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: fix --disable-headers-api
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jul 2022 13:53:11 +0000 (15:53 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jul 2022 20:58:57 +0000 (22:58 +0200)
Reported-by: MichaƂ Antoniak
Fixes #9134
Closes #9143

configure.ac

index 9439fa049faddc81e111fc9b55f498579c1c291b..66076746eec1d21abfff054e7d05413298cc6dbc 100644 (file)
@@ -4057,13 +4057,13 @@ AC_ARG_ENABLE(headers-api,
 AS_HELP_STRING([--enable-headers-api],[Enable headers-api support])
 AS_HELP_STRING([--disable-headers-api],[Disable headers-api support]),
 [ case "$enableval" in
-  *)
-       AC_MSG_RESULT(yes)
-       ;;
   no) AC_MSG_RESULT(no)
        curl_headers_msg="no      (--enable-headers-api)"
        AC_DEFINE(CURL_DISABLE_HEADERS_API, 1, [disable headers-api])
        ;;
+  *)
+       AC_MSG_RESULT(yes)
+       ;;
   esac ],
        AC_MSG_RESULT(yes)
 )