- Fixed buildconf for PHP 6.

This commit is contained in:
Derick Rethans 2005-08-09 09:52:45 +00:00
parent 77dfdccdd4
commit a480ec36e7

View file

@ -38,7 +38,7 @@ if test "$dev" = "0" -a "$devok" = "0"; then
fi
if test -z "$ZENDDIR"; then
if grep "PHP_MAJOR_VERSION 5" main/php_version.h >/dev/null; then
if grep "PHP_MAJOR_VERSION 6" main/php_version.h >/dev/null; then
v=5
else
v=4