configure: fix build if gnutls is not present
authorTim-Philipp Müller <tim@centricular.net>
Fri, 22 Mar 2013 15:30:32 +0000 (15:30 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 22 Mar 2013 15:30:32 +0000 (15:30 +0000)
Skip build of hls plugin if gnutls headers can't be found.

https://bugzilla.gnome.org/show_bug.cgi?id=696392

configure.ac

index 10e5403..329c8ce 100644 (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