From 58519e7cec5c94bc0c2064c260718565c0c6e489 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Mon, 25 Oct 2004 17:48:59 +0000 Subject: if gstreamer is not available, remove audio-inline plugin from the plugins list svn path=/trunk/; revision=27722 --- configure.in | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 173337f183..e11d543d1a 100644 --- a/configure.in +++ b/configure.in @@ -1359,13 +1359,19 @@ AC_SUBST(plugins_all) if echo ${plugins_enabled} | grep -q "audio-inline" then - - dnl ********************* - dnl gstreamer - dnl ********************* - PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.8) - AC_SUBST(GSTREAMER_CFLAGS) - AC_SUBST(GSTREAMER_LIBS) + if ${PKG_CONFIG} --exists gstreamer-0.8 + then + dnl ********************* + dnl gstreamer + dnl ********************* + PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.8) + AC_SUBST(GSTREAMER_CFLAGS) + AC_SUBST(GSTREAMER_LIBS) + else + plugins_enabled=`echo $plugins_enabled | sed -e "s/audio-inline//g"` + echo "warning: gstreamer was not found, audio-inline pluging will not be built." + echo "you are probably missing gstreamer-devel package." + fi fi ################################################## -- cgit