diff --git a/configure.ac b/configure.ac
index 8dddeb148b96173518768da82386d7130d172b2d..f9eeafbea6e1ed902bb9c9bfaaf6637a1c223219 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