summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-07 16:47:33 +0000
committerfoobar <sniper@php.net>2005-06-07 16:47:33 +0000
commit8e2efc351bce7c046f23b2fda7e24b421c543c92 (patch)
treed095d064b686e426bdc6f2afb81799a8c62b215b /acinclude.m4
parent84392e5e7f4fa51dfaff9d07c2cff9367df404e6 (diff)
downloadphp-git-8e2efc351bce7c046f23b2fda7e24b421c543c92.tar.gz
- Show "none" when nothing is found
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 6 insertions, 1 deletions
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[)]