- Show "none" when nothing is found

This commit is contained in:
foobar 2005-06-07 16:47:33 +00:00
parent 84392e5e7f
commit 8e2efc351b
3 changed files with 12 additions and 3 deletions

View File

@ -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;"
;;

View File

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

View File

@ -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;"
;;