summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-04-28 10:01:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-04-28 13:37:13 +0200
commit25412316391bf3533e618622ed42f2d178bbcd71 (patch)
tree85cf1e18e31d43b34c766f61b626506b3476bbb5
parentb1ad4f1d5f654d1fd7205b35165cd676300194cc (diff)
downloadcurl-25412316391bf3533e618622ed42f2d178bbcd71.tar.gz
configure: fix detection of apxs (for httpd)
The condition check was turned the wrong way around! Closes #11051
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1461e031a..f832f710d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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