diff options
Diffstat (limited to 'mesalib/m4/ax_prog_flex.m4')
-rw-r--r-- | mesalib/m4/ax_prog_flex.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/m4/ax_prog_flex.m4 b/mesalib/m4/ax_prog_flex.m4 index 117f8fe67..82fbc30c3 100644 --- a/mesalib/m4/ax_prog_flex.m4 +++ b/mesalib/m4/ax_prog_flex.m4 @@ -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 -q '^\<flex\>'], [ax_cv_prog_flex=yes], [ax_cv_prog_flex=no]) ]) AS_IF([test "$ax_cv_prog_flex" = "yes"], |