From: David Levine Date: Wed, 23 Oct 2013 16:02:47 +0000 (-0500) Subject: See if this cleans up the Solaris build on the buildbot. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/03f57fe54bb06e82c9d571a499c13d71c41a5b13?ds=sidebyside;hp=--cc See if this cleans up the Solaris build on the buildbot. --- 03f57fe54bb06e82c9d571a499c13d71c41a5b13 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 --------------