]> diplodocus.org Git - nmh/commitdiff
Fixed fixup of sbr/dtimep.c with flex 2.5.36.
authorDavid Levine <levinedl@acm.org>
Sat, 15 Mar 2014 01:22:07 +0000 (20:22 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 15 Mar 2014 01:22:07 +0000 (20:22 -0500)
configure.ac

index 98bfc6a116b308e394ea616707cf52a27aa01892..932809a12a2976abf3ee44168ffe9b30283a6fdd 100644 (file)
@@ -490,11 +490,11 @@ dnl Use LFLAGS make variable setting to work around bugs in flex
 dnl 2.5.36 that cause signed/unsigned mismatch,
 dnl http://sourceforge.net/p/flex/bugs/140/
 AS_IF([test "$LEX" = flex],
-      [cat sbr/dtimep.c; AS_CASE([`$LEX -V`],
+      [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=\
-'; sed -s "s/\(        \)int i;/\1yy_size_t i;/" $@ >$.tmp && mv -f $@.tmp $@; true'])
+'; sed -s "s/\(        \)int i;/\1yy_size_t i;/" $@ >$@.tmp && mv -f $@.tmp $@; true'])
        AC_SUBST([LFLAGS])])
 
 dnl ----------------