1dnl AG_GST_SET_PLUGINDIR
2
3dnl AC_DEFINE PLUGINDIR to the full location where plug-ins will be installed
4dnl AC_SUBST plugindir, to be used in Makefile.am's
5
6AC_DEFUN([AG_GST_SET_PLUGINDIR],
7[
8  dnl define location of plugin directory
9  AS_AC_EXPAND(PLUGINDIR, ${libdir}/gstreamer-$GST_API_VERSION)
10  AC_DEFINE_UNQUOTED(PLUGINDIR, "$PLUGINDIR",
11    [directory where plugins are located])
12  AC_MSG_NOTICE([Using $PLUGINDIR as the plugin install location])
13
14  dnl plugin directory configure-time variable for use in Makefile.am
15  plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
16  AC_SUBST(plugindir)
17])
18