From 02e3be811b0c9d373d8e2123caaef3397119225c Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 14 Nov 2022 18:46:36 -0600 Subject: [PATCH] configure: Declare LFLAGS and YFLAGS as precious. Normally AC_PROG_LEX and AC_PROG_YACC do this, but we demand flex and bison specifically. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 8258b4cc..99864651 100644 --- a/configure.ac +++ b/configure.ac @@ -32,9 +32,11 @@ AS_IF([test "x$WIDL" = "xno"], [AC_MSG_WARN([widl is required to build header fi AC_CHECK_PROGS([FLEX], [flex], [none]) AS_IF([test "$FLEX" = "none"], [AC_MSG_ERROR([no suitable flex found. Please install the 'flex' package.])]) +AC_ARG_VAR([LFLAGS], [extra flags for flex]) AC_CHECK_PROGS([BISON], [bison], [none]) AS_IF([test "$BISON" = "none"], [AC_MSG_ERROR([no suitable bison found. Please install the 'bison' package.])]) +AC_ARG_VAR([YFLAGS], [extra flags for bison]) DX_PS_FEATURE([OFF]) DX_INIT_DOXYGEN([vkd3d], [Doxyfile], [doc])