]> granicus.if.org Git - php/commitdiff
Check for flex version 2.5.4
authorMarcus Boerger <helly@php.net>
Thu, 3 Apr 2003 20:59:42 +0000 (20:59 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 3 Apr 2003 20:59:42 +0000 (20:59 +0000)
configure.in

index 21a237cd451dc48299543974e7d4371084922cbb..3ffc27fc3f27abdc65949b895f0fc422cb0f7512 100644 (file)
@@ -160,8 +160,8 @@ if test "$LEX" ;then
                sed -e 's/^.* //' -e 's/\./ /g'`
        if test ! -z "$flexvers"; then
                set $flexvers
-               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.)
+               if test "${1}" != "2" -o "${2}" != "5" -o "${3}" != "4"; then
+                       AC_MSG_WARN(You will need flex 2.5.4 if you want to regenerate Zend/PHP lexical parsers.)
                fi
        fi
 AC_MSG_RESULT(${1}.${2}.${3} (ok))