configure: Add noyywrap option to AC_PROG_LEX for Autoconf 2.70+

FreeBSD packages 2.71 and that spits out a deprecation warning if we
don't set this.
This commit is contained in:
Tobias Brunner 2022-07-14 09:52:21 +02:00
parent eae30af029
commit 1656e3806b
2 changed files with 1 additions and 3 deletions

View File

@ -383,7 +383,7 @@ LT_INIT
AC_PROG_INSTALL
AC_PROG_EGREP
AC_PROG_AWK
AC_PROG_LEX
AC_PROG_LEX(noyywrap)
AC_PROG_YACC
AM_PATH_PYTHON(,,[:])
AC_PATH_PROG([PERL], [perl], [], [$PATH:/bin:/usr/bin:/usr/local/bin])

View File

@ -325,8 +325,6 @@ freebsd)
--with-printf-hooks=builtin --enable-attr-sql --enable-sql
--enable-farp"
DEPS="git gmp openldap24-client libxml2 mysql80-client sqlite3 unbound ldns tpm2-tss"
export GPERF=/usr/local/bin/gperf
export LEX=/usr/local/bin/flex
;;
fuzzing)
CFLAGS="$CFLAGS -DNO_CHECK_MEMWIPE"