configure: fix build if gnutls is not present

Skip build of hls plugin if gnutls headers can't be found.

https://bugzilla.gnome.org/show_bug.cgi?id=696392
This commit is contained in:
Tim-Philipp Müller 2013-03-22 15:30:32 +00:00
parent dfa6c17de5
commit 659adfdea8

View file

@ -2136,7 +2136,7 @@ AG_GST_CHECK_FEATURE(SNDIO, [sndio audio], sndio, [
dnl *** hls ***
translit(dnm, m, l) AM_CONDITIONAL(USE_HLS, true)
AG_GST_CHECK_FEATURE(HLS, [http live streaming plugin], hls, [
AG_GST_PKG_CHECK_MODULES(GNUTLS, gnutls, [ HAVE_HLS="yes" ], [ HAVE_HLS="no" ])
PKG_CHECK_MODULES(GNUTLS, gnutls, [ HAVE_HLS="yes" ], [ HAVE_HLS="no" ])
])
else