configure.ac: desactivate the PHP5 binding if no CLI interpreter is available

This commit is contained in:
Benjamin Dauvergne 2014-01-06 15:43:12 +01:00
parent c6475ef51c
commit a3d53764fa
1 changed files with 4 additions and 0 deletions

View File

@ -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)