From 9d1da9796c321de936e730a57943a21125d393a0 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 7 Sep 2010 18:53:59 +0100 Subject: gst-checks.m4: document AG_GST_CHECK_GST_PLUGINS_BASE and set GST_PLUGINS_BASE_DIR Also set GST_PLUGINS_BASE_DIR (in addition to GSTPB_PLUGINS_DIR), for consistency with the good/ugly/bad/ffmpeg equivalents. --- m4/gst-check.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/m4/gst-check.m4 b/m4/gst-check.m4 index 302cddb..2ad00f2 100644 --- a/m4/gst-check.m4 +++ b/m4/gst-check.m4 @@ -118,6 +118,13 @@ AC_DEFUN([AG_GST_CHECK_GST_CHECK], dnl =========================================================================== dnl AG_GST_CHECK_GST_PLUGINS_BASE([GST-MAJORMINOR], [MIN-VERSION], [REQUIRED]) +dnl +dnl Sets GST_PLUGINS_BASE_CFLAGS and GST_PLUGINS_BASE_LIBS. +dnl +dnl Also sets GSTPB_PLUGINS_DIR (and for consistency also GST_PLUGINS_BASE_DIR) +dnl for use in Makefile.am. This is only really needed/useful in uninstalled +dnl setups, since in an installed setup all plugins will be found in +dnl GST_PLUGINS_DIR anyway. dnl =========================================================================== AC_DEFUN([AG_GST_CHECK_GST_PLUGINS_BASE], [ @@ -136,6 +143,8 @@ AC_DEFUN([AG_GST_CHECK_GST_PLUGINS_BASE], fi fi AC_MSG_NOTICE([using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR]) + GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext" + AC_SUBST(GST_PLUGINS_BASE_DIR) AC_SUBST(GSTPB_PLUGINS_DIR) fi ]) -- cgit v1.2.3