configure.ac: gst-profile is now a standalone pkgconfig

This commit is contained in:
Edward Hervey 2010-02-09 17:44:54 +01:00
parent 1be4e75b44
commit 3e9b21a06d

View file

@ -151,13 +151,13 @@ GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable
AC_SUBST(GSTPB_PLUGINS_DIR)
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
dnl check for gstreamer-convenience
PKG_CHECK_MODULES(GST_CONVENIENCE, gstreamer-convenience-libs-$GST_MAJORMINOR, HAVE_GST_CONVENIENCE="yes", HAVE_GST_CONVENIENCE="no")
if test "x$HAVE_GST_CONVENIENCE" != "xyes"; then
AC_ERROR([gst-convenience is required for rendering support])
dnl check for gstreamer-profile
PKG_CHECK_MODULES(GST_PROFILE, gstreamer-profile-$GST_MAJORMINOR, HAVE_GST_PROFILE="yes", HAVE_GST_PROFILE="no")
if test "x$HAVE_GST_PROFILE" != "xyes"; then
AC_ERROR([gst-profile is required for rendering support])
fi
AC_SUBST(GST_CONVENIENCE_LIBS)
AC_SUBST(GST_CONVENIENCE_CFLAGS)
AC_SUBST(GST_PROFILE_LIBS)
AC_SUBST(GST_PROFILE_CFLAGS)
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"