iliaa Mon Dec 2 02:03:37 2002 EDT Modified files: (Branch: PHP_4_3) /php4 configure.in Log: MFH Index: php4/configure.in diff -u php4/configure.in:1.396.2.7 php4/configure.in:1.396.2.8 --- php4/configure.in:1.396.2.7 Sun Dec 1 18:27:13 2002 +++ php4/configure.in Mon Dec 2 02:03:37 2002 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.396.2.7 2002/12/01 23:27:13 shane Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.396.2.8 2002/12/02 07:03:37 iliaa Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(1) @@ -159,7 +159,7 @@ fi AC_MSG_CHECKING([flex version]) -set `$LEX -V | grep 'version' | cut -d ' ' -f 3 | sed -e 's/\./ /g' | sed -e 's/[^0-9 ]//g'` +set `echo "" | $LEX -V -v --version 2>/dev/null | grep 'version' | cut -d ' ' -f 3 | +sed -e 's/\./ /g' | sed -e 's/[^0-9 ]//g'` if test "${1}" != "2" -o "${2}" != "5" -o "${3}" -lt "4"; then AC_MSG_WARN(You will need flex 2.5.4 or later if you want to regenerate Zend/PHP lexical parsers.) fi
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php