summaryrefslogtreecommitdiff
path: root/m4/ax_prog_flex.m4
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2014-03-14 11:40:50 +0100
committerPeter Simons <simons@cryp.to>2014-03-14 11:40:50 +0100
commit98e799a84f7aa040ff755277c5788f6ffce541d6 (patch)
treec102099c30ce01979b8b0e8a2762970ce82cd531 /m4/ax_prog_flex.m4
parentc4d94d2acecf714a15b44bde347eb5b9dac154cb (diff)
downloadautoconf-archive-98e799a84f7aa040ff755277c5788f6ffce541d6.tar.gz
AX_PROG_FLEX: avoid use of grep empty string escape extension (fix for OpenBSD)
Diffstat (limited to 'm4/ax_prog_flex.m4')
-rw-r--r--m4/ax_prog_flex.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_prog_flex.m4 b/m4/ax_prog_flex.m4
index 57b7960..a3489f3 100644
--- a/m4/ax_prog_flex.m4
+++ b/m4/ax_prog_flex.m4
@@ -42,14 +42,14 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 10
+#serial 11
AC_DEFUN([AX_PROG_FLEX], [
AC_REQUIRE([AM_PROG_LEX])
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 '^flex'],
[ax_cv_prog_flex=yes], [ax_cv_prog_flex=no])
])
AS_IF([test "$ax_cv_prog_flex" = "yes"],