dnl CHECK FLEX FIXUP
dnl ----------------
dnl Use LFLAGS make variable setting to work around bug in flex
-dnl 2.5.36 and .37 that causes signed/unsigned mismatch,
+dnl 2.5.35-37 that causes signed/unsigned mismatch,
dnl http://sourceforge.net/p/flex/bugs/140/
-flex -V
AS_IF([test "$LEX" = flex],
[AS_CASE([`$LEX -V`],
- [flex\ 2.5.3@<:@67@:>@], [[LFLAGS=\
+ [flex\ 2.5.3@<:@567@:>@], [[LFLAGS=\
'; flex -V; cp -p $@ $@.ORIGINAL; printf "%s\n" '\''1,$$s/\( \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@; diff $@ $@.ORIGINAL || true']])
AC_SUBST([LFLAGS])])