[vlc-commits] configure.ac: Fix CSS/bison check

Hugo Beauzée-Luyssen git at videolan.org
Tue Nov 7 14:25:15 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Nov  7 14:12:33 2017 +0100| [c00fedc8a19f33f4079633aade2164e1c331fc38] | committer: Hugo Beauzée-Luyssen

configure.ac: Fix CSS/bison check

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c00fedc8a19f33f4079633aade2164e1c331fc38
---

 configure.ac | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6f40d056f5..64576ed018 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"])



More information about the vlc-commits mailing list