mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 22:50:28 +01:00
ax_prog_flex.m4: change grep syntax to accept e.g. flex.real
This is required in case a wrapper or symlink is used. This patch has also been sent upstream, awaiting moderation. Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Andreas Oberritter <obi@saftware.de>
This commit is contained in:
parent
2da0bd0526
commit
a48be954ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue