From: Michael Tremer Date: Sun, 14 Feb 2021 16:26:46 +0000 (+0000) Subject: configure: Use bison instead of POSIX yacc X-Git-Tag: 0.9.28~1285^2~722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201c0ac0eeb62cb8955bcc25c65e129f71fe816b;p=pakfire.git configure: Use bison instead of POSIX yacc bison is around everywhere and we can make use of its modern features instead of sticking to the POSIX standard. Signed-off-by: Michael Tremer --- diff --git a/configure.ac b/configure.ac index 87b686bbe..3f1ed8a87 100644 --- a/configure.ac +++ b/configure.ac @@ -107,8 +107,11 @@ CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\ -Wl,-z,now]) AC_SUBST([OUR_LDFLAGS], $with_ldflags) -# Bison & Flex -AC_PROG_YACC +# Bison +AC_PATH_PROG(YACC, bison) +AC_SUBST(YACC) + +# Flex AM_PROG_LEX # Python