[vlc-devel] [PATCH] configure.ac: Add missing AM_CONDITIONAL

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Jun 17 11:17:49 CEST 2020


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

diff --git a/configure.ac b/configure.ac
index 399d0695be..b52202cedd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3171,6 +3171,7 @@ AS_IF( [test "${enable_zvbi}" != "no"],[
         [
           VLC_ADD_PLUGIN([zvbi])
           AC_DEFINE(ZVBI_COMPILED, 1, [Define if the zvbi module is built])
+          with_zvbi="yes"
           AS_IF( [test "${enable_telx}" = "yes"],[
                   AC_MSG_WARN([The zvbi and telx modules are incompatible. Using zvbi.])
                   ])
@@ -3182,6 +3183,8 @@ AS_IF( [test "${enable_telx}" != "no" ],[
   VLC_ADD_PLUGIN([telx])
   ])
 
+AM_CONDITIONAL([WITH_ZVBI], [test "${with_zvbi}" = "yes"])
+
 dnl
 dnl ARIB subtitles rendering module
 dnl
-- 
2.20.1



More information about the vlc-devel mailing list