summaryrefslogtreecommitdiff
path: root/sapi/apache/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/apache/config.m4')
-rw-r--r--sapi/apache/config.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4
index 8b838f46b4..c9bb7ad304 100644
--- a/sapi/apache/config.m4
+++ b/sapi/apache/config.m4
@@ -20,7 +20,9 @@ AC_ARG_WITH(apxs,
AC_EXPAND_PATH($withval, APXS)
fi
- if ! $APXS -q CFLAGS >/dev/null 2>&1; then
+ if $APXS -q CFLAGS >/dev/null 2>&1; then
+ :
+ else
AC_MSG_RESULT()
$APXS
AC_MSG_ERROR([Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs])