X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=m4%2Fax_prog_flex.m4;h=1f1f5977613dc3524fd4440d1344ff61dee7378d;hb=4b8ef27e849311b8559ef77a37004e1370ce3dac;hp=117f8fe675514e3e8e48dc8ed43bc8eb08d9acab;hpb=2a710543968b6710368d53dbff350d2d23e08268;p=mesa.git diff --git a/m4/ax_prog_flex.m4 b/m4/ax_prog_flex.m4 index 117f8fe6755..1f1f5977613 100644 --- a/m4/ax_prog_flex.m4 +++ b/m4/ax_prog_flex.m4 @@ -42,7 +42,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 9 +#serial 12 # mattst88: # Replaced m4_ifnblank(...) with m4_ifval(m4_normalize(...), ...) @@ -53,7 +53,7 @@ AC_DEFUN([AX_PROG_FLEX], [ AC_REQUIRE([AC_PROG_EGREP]) AC_CACHE_CHECK([if flex is the lexer generator],[ax_cv_prog_flex],[ - AS_IF([$LEX --version 2>/dev/null | $EGREP -q '^flex '], + AS_IF([$LEX --version 2>/dev/null | $EGREP -qw '^g?flex'], [ax_cv_prog_flex=yes], [ax_cv_prog_flex=no]) ]) AS_IF([test "$ax_cv_prog_flex" = "yes"],