configure: fix detection of apxs (for httpd)

The condition check was turned the wrong way around!

Closes #11051
This commit is contained in:
Daniel Stenberg 2023-04-28 10:01:01 +02:00
parent b1ad4f1d5f
commit 2541231639
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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