From: Tobias Brunner Date: Thu, 14 Jul 2022 07:52:21 +0000 (+0200) Subject: configure: Add noyywrap option to AC_PROG_LEX for Autoconf 2.70+ X-Git-Tag: 5.9.7rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1656e3806bdb8e3557f063518de8a86ab68fb215;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/configure.ac b/configure.ac index a5aae612e0..59255e45f3 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 0b1c4859b4..589199cc40 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"