summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-09-07 18:53:59 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-09-07 18:53:59 +0100
commit9d1da9796c321de936e730a57943a21125d393a0 (patch)
tree0ebb61b79c9c611df52d9ef0fe57644f5854dd90
parent40571a1fa497c7c1ac6023cd76237c94f3e5fd7e (diff)
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.
-rw-r--r--m4/gst-check.m49
1 files changed, 9 insertions, 0 deletions
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
])