]> diplodocus.org Git - nmh/commitdiff
Added "true" to end of flex fixups in configure.ac, in case the
authorDavid Levine <levinedl@acm.org>
Mon, 23 Dec 2013 21:32:45 +0000 (15:32 -0600)
committerDavid Levine <levinedl@acm.org>
Mon, 23 Dec 2013 21:32:45 +0000 (15:32 -0600)
user has hacked flex to not produce the errant code.

configure.ac

index 00835424153541dd4f645351f97b5535eb718b5d..3cefd662728bc322a491dbbab00aea734b7f3a54 100644 (file)
@@ -598,9 +598,11 @@ dnl http://sourceforge.net/p/flex/bugs/140/
 AS_IF([test "$LEX" = flex],
       [AS_CASE([`$LEX -V`],
                [flex\ 2.5.35], [LFLAGS=\
-'; printf "%s\n" '\''1,$$s/(size_t) \(num_to_read\)/\1/'\'' w q | ed -s $@'],
+'; printf "%s\n" '\''1,$$s/(size_t) \(num_to_read\)/\1/'\'' w q | ed -s $@; \
+true'],
                [flex\ 2.5.36], [LFLAGS=\
-'; printf "%s\n" '\''1,$$s/\(  \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@'])
+'; printf "%s\n" '\''1,$$s/\(  \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@; \
+true'])
        AC_SUBST([LFLAGS])])
 
 dnl --------------