[vlc-commits] configure: allow CSS even without Bison or Flex
Rémi Denis-Courmont
git at videolan.org
Sun Nov 19 10:41:55 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 19 11:40:55 2017 +0200| [69409cf5917c8934d1903d979c4998ac074c7f74] | committer: Rémi Denis-Courmont
configure: allow CSS even without Bison or Flex
Building CSS support from tarball works fine even without those tools.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=69409cf5917c8934d1903d979c4998ac074c7f74
---
configure.ac | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index af1b267096..d9ce412e5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2981,16 +2981,8 @@ dnl
AC_ARG_ENABLE(css,
[ --enable-css CSS selector engine (default auto)])
AS_IF([test "${enable_css}" != "no"], [
- with_css="no"
- AS_IF([test "x$LEX" != "x:"], [
- 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.")
- ])
- ])
+ with_css="yes"
+ AC_DEFINE(HAVE_CSS, 1, [Define if CSS engine is built])
])
AM_CONDITIONAL([ENABLE_CSS], [test "${with_css}" = "yes"])
More information about the vlc-commits
mailing list