]> diplodocus.org Git - nmh/commitdiff
Added probe to configure.ac to output flex version (for fed18arm7 build).
authorDavid Levine <levinedl@acm.org>
Sat, 15 Mar 2014 00:16:23 +0000 (19:16 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 15 Mar 2014 00:16:23 +0000 (19:16 -0500)
configure.ac

index 7c35047a7b86c9f8936d6fdcaa2b5193461f8f7f..b26abb9492cf92b6dbd6e952532e5269e6e4b506 100644 (file)
@@ -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=\