summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a50eb5a7..ecbc1199 100644
--- a/configure.ac
+++ b/configure.ac
@@ -430,6 +430,10 @@ else
enable_php5=no
fi
+if test "x$PHP" = "x"; then
+ enable_php5=no
+fi
+
AC_MSG_RESULT($enable_php5)
AM_CONDITIONAL([PHP5_ENABLED], [test "x$enable_php5" = "xyes"])
AC_SUBST(PHP5_VERSION)