From: David Levine Date: Thu, 24 Jul 2014 02:10:47 +0000 (-0500) Subject: Apply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/351f6ba380cba11a1301015ea37b6e6db742c0ca?ds=inline;hp=-c Apply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36. --- 351f6ba380cba11a1301015ea37b6e6db742c0ca diff --git a/configure.ac b/configure.ac index 62d8cbbe..57ff08df 100644 --- a/configure.ac +++ b/configure.ac @@ -496,13 +496,13 @@ dnl ---------------- dnl CHECK FLEX FIXUP dnl ---------------- dnl Use LFLAGS make variable setting to work around bugs in flex -dnl 2.5.36 that cause signed/unsigned mismatch, +dnl 2.5.36-37 that cause signed/unsigned mismatch, dnl http://sourceforge.net/p/flex/bugs/140/ AS_IF([test "$LEX" = flex], [AS_CASE([`$LEX -V`], [flex\ 2.5.35], [LFLAGS=\ '; sed -e "s/ int n;/ size_t n;/" $@ >$@.tmp && mv -f $@.tmp $@; true'], - [flex\ 2.5.36], [LFLAGS=\ + [flex\ 2.5.3[[67]]], [LFLAGS=\ '; sed -s "s/\( \)int i;/\1yy_size_t i;/" $@ >$@.tmp && mv -f $@.tmp $@; true']) AC_SUBST([LFLAGS])])