mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
[configure] Fix AX_PROG_FLEX/AC_PROG_LEX warning (#1839)
This commit is contained in:
parent
ca865ecbe0
commit
a4cc4fde8c
@ -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],[
|
||||
|
Loading…
x
Reference in New Issue
Block a user