[vlc-devel] [PATCH 2/2] configure.ac: simplify bitstream pkg check

Alexandre Janniaux ajanni at videolabs.io
Sun Apr 18 16:20:02 UTC 2021


---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 77743df002..9ab3ca7041 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4278,8 +4278,7 @@ AM_CONDITIONAL([HAVE_LIRC], [test "${have_lirc}" = "yes"])
 dnl
 dnl  Bitstream
 dnl
-PKG_CHECK_MODULES([BITSTREAM], [bitstream > 1.4],[have_bitstream="yes"], [have_bitstream="no"])
-AM_CONDITIONAL([HAVE_BITSTREAM], [test "${have_bitstream}" = "yes"])
+PKG_HAVE_WITH_MODULES([BITSTREAM],[bitstream > 1.4])

 dnl
 dnl  SRT plugin
--
2.31.1


More information about the vlc-devel mailing list