diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:49:49 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-10-24 16:49:49 +0900 |
commit | fed9ccc4d4585e39e42dc6079432ff6aae32eb1a (patch) | |
tree | 6731ed9fe52be60184497e20ece1a9b725f8d8b9 /common/m4/gst-plugindir.m4 | |
parent | b324cb9340d425326f3d0a491c7754cfcdd1c571 (diff) | |
download | gst-plugins-ugly-accepted/tizen_2.4_mobile.tar.gz gst-plugins-ugly-accepted/tizen_2.4_mobile.tar.bz2 gst-plugins-ugly-accepted/tizen_2.4_mobile.zip |
tizen 2.4 releasetizen_2.4_mobile_releasesubmit/tizen_2.4/20151028.064345accepted/tizen/2.4/mobile/20151029.032640tizen_2.4accepted/tizen_2.4_mobile
Diffstat (limited to 'common/m4/gst-plugindir.m4')
-rw-r--r-- | common/m4/gst-plugindir.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/common/m4/gst-plugindir.m4 b/common/m4/gst-plugindir.m4 new file mode 100644 index 0000000..c9e1301 --- /dev/null +++ b/common/m4/gst-plugindir.m4 @@ -0,0 +1,17 @@ +dnl AG_GST_SET_PLUGINDIR + +dnl AC_DEFINE PLUGINDIR to the full location where plug-ins will be installed +dnl AC_SUBST plugindir, to be used in Makefile.am's + +AC_DEFUN([AG_GST_SET_PLUGINDIR], +[ + dnl define location of plugin directory + AS_AC_EXPAND(PLUGINDIR, ${libdir}/gstreamer-$GST_API_VERSION) + AC_DEFINE_UNQUOTED(PLUGINDIR, "$PLUGINDIR", + [directory where plugins are located]) + AC_MSG_NOTICE([Using $PLUGINDIR as the plugin install location]) + + dnl plugin directory configure-time variable for use in Makefile.am + plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" + AC_SUBST(plugindir) +]) |