From: David Levine Date: Sat, 15 Mar 2014 00:16:23 +0000 (-0500) Subject: Added probe to configure.ac to output flex version (for fed18arm7 build). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/2d688dc85e80ff9c832d9ea252ed393f0b5105e2?ds=inline;hp=d2520ac7054ad75d60342606bf13c821305d958c Added probe to configure.ac to output flex version (for fed18arm7 build). --- diff --git a/configure.ac b/configure.ac index 7c35047a..b26abb94 100644 --- a/configure.ac +++ b/configure.ac @@ -490,7 +490,7 @@ 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], - [AS_CASE([`$LEX -V`], + [$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=\