From: David Levine Date: Wed, 23 Oct 2013 15:20:49 +0000 (-0500) Subject: OK, Solaris on the buildbot uses flex 2.5.35. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/e80b6afbb36ee8fa4a6c413c85c2ee17691f7cfd?hp=35622f9929d6c59f9a43a498ab6697287b2cd4a2 OK, Solaris on the buildbot uses flex 2.5.35. --- diff --git a/configure.ac b/configure.ac index 7bb2024d..31e9d992 100644 --- a/configure.ac +++ b/configure.ac @@ -560,12 +560,11 @@ dnl ---------------- 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])])