]> diplodocus.org Git - nmh/commitdiff
Apply flex fixup to dtimep.c with flex 2.5.37 as well as 2.5.36.
authorDavid Levine <levinedl@acm.org>
Thu, 24 Jul 2014 02:10:47 +0000 (21:10 -0500)
committerDavid Levine <levinedl@acm.org>
Thu, 24 Jul 2014 02:10:47 +0000 (21:10 -0500)
configure.ac

index 62d8cbbe384aaf1095e563974a537e30b008cbe1..57ff08dff4a464e0a81e49305d0850ec94b5f09d 100644 (file)
@@ -496,13 +496,13 @@ dnl ----------------
 dnl CHECK FLEX FIXUP
 dnl ----------------
 dnl Use LFLAGS make variable setting to work around bugs in flex
 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'],
 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])])
 
 '; sed -s "s/\(        \)int i;/\1yy_size_t i;/" $@ >$@.tmp && mv -f $@.tmp $@; true'])
        AC_SUBST([LFLAGS])])