Commit c00fedc8 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

configure.ac: Fix CSS/bison check

parent 991ed989
......@@ -2968,9 +2968,11 @@ AS_IF([test "${enable_css}" != "no"], [
AC_PROG_YACC
dnl can only accept bison or we need byacc feature test for %destructor
AS_IF([test "x$YACC" = "xbison -y"], [
AC_DEFINE(HAVE_CSS, 1, [Define if CSS engine is built])]
with_css="yes"
,[AC_MSG_WARN("Bison not found. CSS support disabled.")])
AC_DEFINE(HAVE_CSS, 1, [Define if CSS engine is built])
with_css="yes"
],[
AC_MSG_WARN("Bison not found. CSS support disabled.")
])
])
])
AM_CONDITIONAL([ENABLE_CSS], [test "${with_css}" = "yes"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment