Skip to content

Commit

Permalink
[configure] Fix AX_PROG_FLEX/AC_PROG_LEX warning (#1839)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen authored and hacketiwack committed Jan 22, 2025
1 parent ca865ec commit a4cc4fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion m4/ax_prog_flex.m4
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,13 @@
#serial 13

AC_DEFUN([AX_PROG_FLEX], [
AC_REQUIRE([AM_PROG_LEX])
dnl --- Start of modified macro ---
dnl Original uses 'AC_REQUIRE([AM_PROG_LEX])', but that produces a deprecation
dnl warning since autoconf 2.70, because the underlying AC_PROG_LEX now
dnl requires an argument. However, we cannot specify it through AM_PROG_LEX
dnl until automake 1.17, so users with that will still get the warning.
AM_PROG_LEX([noyywrap])
dnl --- End of modified macro ---
AC_REQUIRE([AC_PROG_EGREP])
AC_CACHE_CHECK([if flex is the lexer generator],[ax_cv_prog_flex],[
Expand Down

0 comments on commit a4cc4fd

Please sign in to comment.