From 1656e3806bdb8e3557f063518de8a86ab68fb215 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Jul 2022 09:52:21 +0200 Subject: [PATCH] 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. --- configure.ac | 2 +- scripts/test.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index a5aae612e..59255e45f 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/scripts/test.sh b/scripts/test.sh index 0b1c4859b..589199cc4 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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"