From 49d74588c43b995477ef4c679489385eeacd7ca3 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 23 Dec 2013 15:32:45 -0600 Subject: [PATCH] Added "true" to end of flex fixups in configure.ac, in case the user has hacked flex to not produce the errant code. --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 00835424..3cefd662 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -------------- -- 2.56.0