From 03f57fe54bb06e82c9d571a499c13d71c41a5b13 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 23 Oct 2013 11:02:47 -0500 Subject: [PATCH] See if this cleans up the Solaris build on the buildbot. --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 5c06468b..c007b0c8 100644 --- a/configure.ac +++ b/configure.ac @@ -559,13 +559,15 @@ LIBS="$nmh_save_LIBS" dnl ---------------- dnl CHECK FLEX FIXUP dnl ---------------- -dnl Use LFLAGS make variable setting to work around bug in flex -dnl 2.5.35-37 that causes signed/unsigned mismatch, +dnl Use LFLAGS make variable setting to work around bugs in flex +dnl 2.5.35-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.3@<:@567@:>@], [[LFLAGS=\ -'; cat $@; cp -p $@ $@.ORIGINAL; printf "%s\n" '\''1,$$s/\( \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@; diff $@ $@.ORIGINAL || true']]) + [flex\ 2.5.35], [[LFLAGS=\ +'; cp -p $@ $@.ORIGINAL; printf "%s\n" '\''1,$$s/(size_t) \(num_to_read\)/\1/'\'' w q | ed -s $@; diff $@ $@.ORIGINAL || true']]) + [flex\ 2.5.3@<:@67@:>@], [[LFLAGS=\ +'; printf "%s\n" '\''1,$$s/\( \)int i;/\1yy_size_t i;/'\'' w q | ed -s $@']]) AC_SUBST([LFLAGS])]) dnl -------------- -- 2.56.0