Description: test for php >= 7 instead of php7
Author: Vincent Danjean <vdanjean@debian.org>
--- a/configure.ac
+++ b/configure.ac
@@ -685,7 +685,7 @@
 fi
 AC_SUBST(PHP)
 AC_SUBST(ENABLE_OWPHP)
-AM_CONDITIONAL(PHP7, test "${PHPVMAJOR}" = "7")
+AM_CONDITIONAL(PHP7, test "${PHPVMAJOR}" -ge "7")
 AM_CONDITIONAL(ENABLE_OWPHP, test "${ENABLE_OWPHP}" = "true")
 if test -z "$PHP" ; then
 	ENABLE_PHP="false"
