]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
configure: Add noyywrap option to AC_PROG_LEX for Autoconf 2.70+
authorTobias Brunner <tobias@strongswan.org>
Thu, 14 Jul 2022 07:52:21 +0000 (09:52 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Jul 2022 10:42:24 +0000 (12:42 +0200)
FreeBSD packages 2.71 and that spits out a deprecation warning if we
don't set this.

configure.ac
scripts/test.sh

index a5aae612e0eade86d288b69e30ae676e20e01c60..59255e45f3844ba0cfd2b19cd3e5e19778184c0f 100644 (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])
index 0b1c4859b4630a45af6bcb783f02cfce58810201..589199cc408b7c76377e68126e02c990ba3e67c5 100755 (executable)
@@ -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"