From: foobar Date: Tue, 7 Jun 2005 16:47:33 +0000 (+0000) Subject: - Show "none" when nothing is found X-Git-Tag: php-5.0.1b1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e2efc351bce7c046f23b2fda7e24b421c543c92;p=php - Show "none" when nothing is found --- diff --git a/Zend/acinclude.m4 b/Zend/acinclude.m4 index c3d0e3952f..fe3aabcab0 100644 --- a/Zend/acinclude.m4 +++ b/Zend/acinclude.m4 @@ -17,10 +17,12 @@ AC_DEFUN([LIBZEND_BISON_CHECK],[ fi done ]) + else + bison_version=none fi case $php_cv_bison_version in ""|invalid[)] - bison_msg="bison versions supported for regeneration of the Zend/PHP parsers: $bison_version_list (found $bison_version)." + bison_msg="bison versions supported for regeneration of the Zend/PHP parsers: $bison_version_list (found: $bison_version)." AC_MSG_WARN([$bison_msg]) YACC="exit 0;" ;; diff --git a/acinclude.m4 b/acinclude.m4 index a4bf00ebd6..5bb5446f9f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1977,10 +1977,13 @@ AC_DEFUN([PHP_PROG_LEX], [ fi done ]) + else + flex_version=none fi + case $php_cv_flex_version in ""|invalid[)] - flex_msg="flex versions supported for regeneration of the Zend/PHP parsers: $flex_version_list (found $flex_version)." + flex_msg="flex versions supported for regeneration of the Zend/PHP parsers: $flex_version_list (found: $flex_version)." AC_MSG_WARN([$flex_msg]) LEX="exit 0;" ;; @@ -2004,6 +2007,8 @@ AC_DEFUN([PHP_PROG_RE2C],[ php_cv_re2c_version="`echo "" | re2c --version | cut -d ' ' -f 2 2>/dev/null` (ok)" fi ]) + else + php_cv_re2c_version=none fi case $php_cv_re2c_version in ""|invalid[)] diff --git a/ext/sqlite/config.m4 b/ext/sqlite/config.m4 index 7915f57d50..5bf0d1f060 100644 --- a/ext/sqlite/config.m4 +++ b/ext/sqlite/config.m4 @@ -33,10 +33,12 @@ AC_DEFUN([PHP_PROG_LEMON],[ fi done ]) + else + lemon_version=none fi case $php_cv_lemon_version in ""|invalid[)] - lemon_msg="lemon versions supported for regeneration of libsqlite parsers: $lemon_version_list (found $lemon_version)." + lemon_msg="lemon versions supported for regeneration of libsqlite parsers: $lemon_version_list (found: $lemon_version)." AC_MSG_WARN([$lemon_msg]) LEMON="exit 0;" ;;