mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
configure.ac: detect gst-convenience
This commit is contained in:
parent
15c0013732
commit
e0dcea0bd5
1 changed files with 8 additions and 0 deletions
|
@ -151,6 +151,14 @@ GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable
|
||||||
AC_SUBST(GSTPB_PLUGINS_DIR)
|
AC_SUBST(GSTPB_PLUGINS_DIR)
|
||||||
AC_MSG_NOTICE(Using GStreamer Base Plugins in $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])
|
||||||
|
fi
|
||||||
|
AC_SUBST(GST_CONVENIENCE_LIBS)
|
||||||
|
AC_SUBST(GST_CONVENIENCE_CFLAGS)
|
||||||
|
|
||||||
dnl Check for documentation xrefs
|
dnl Check for documentation xrefs
|
||||||
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
||||||
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
|
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
|
||||||
|
|
Loading…
Reference in a new issue