Normally AC_PROG_LEX and AC_PROG_YACC do this, but we demand flex and bison specifically.
From: Zebediah Figura zfigura@codeweavers.com
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])
I am not completely aware of all the implications of this, but it seems to make sense.
This merge request was approved by Giovanni Mascellani.
This merge request was approved by Henri Verbeet.