]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: fix detection of apxs (for httpd)
authorDaniel Stenberg <daniel@haxx.se>
Fri, 28 Apr 2023 08:01:01 +0000 (10:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Apr 2023 11:37:13 +0000 (13:37 +0200)
The condition check was turned the wrong way around!

Closes #11051

configure.ac

index 1461e031a67e8ff15395a47db4f069938e21c816..f832f710d29ca68fa5c5afa92ed4ce985eac950c 100644 (file)
@@ -333,7 +333,7 @@ if test x"$request_httpd" = "xcheck" -o x"$request_httpd" = "xyes"; then
     HTTPD="/usr/sbin/apache2"
     APACHECTL="/usr/sbin/apache2ctl"
     AC_PATH_PROG([APXS], [apxs])
-    if test "x$APXS" != "x"; then
+    if test "x$APXS" = "x"; then
       AC_MSG_NOTICE([apache2-dev not installed, httpd tests disabled])
       HTTPD_ENABLED="no"
     fi