From: Daniel Stenberg Date: Tue, 12 Jul 2022 13:53:11 +0000 (+0200) Subject: configure: fix --disable-headers-api X-Git-Tag: curl-7_85_0~169 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60be90d14e7bd29d4c9852ebc93509959f43808f;p=thirdparty%2Fcurl.git configure: fix --disable-headers-api Reported-by: MichaƂ Antoniak Fixes #9134 Closes #9143 --- diff --git a/configure.ac b/configure.ac index 9439fa049f..66076746ee 100644 --- a/configure.ac +++ b/configure.ac @@ -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) )