summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2021-12-16 17:05:13 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2021-12-17 12:58:47 +0100
commit3dbb8561f6c2c4c0d9651f1d4b026f28125f809c (patch)
tree62948e8f478258cf455a8f9d2737e6de90897c7f
parent30e46a757a75690a3a3729e806f88a7f4d90ade6 (diff)
build: replace `AM_PROG_LEX` with `AC_PROG_LEX`
`AM_PROG_LEX` calls `AC_PROG_LEX` with no arguments, but this usage is deprecated. The only difference between `AM_PROG_LEX` and `AC_PROG_LEX` is that the former defines `$LEX` as "./build-aux/missing lex" if no lex is found to ensure a useful error is reported when make is run. How- ever, the configure script checks that we have a working lex and exits with an error if none is available, so `$LEX` will never be called and we can replace `AM_PROG_LEX` with `AC_PROG_LEX`. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a20c6bb..b12b722 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ AM_PROG_AR
LT_INIT([disable-static])
AC_PROG_INSTALL
AC_PROG_LN_S
-AM_PROG_LEX
+AC_PROG_LEX([noyywrap])
AC_PROG_YACC
case "$host" in