summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2008-09-05 18:44:21 +0100
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2008-09-22 14:00:11 +0100
commitf543d6b977e532cb56b45c7a07484a5619ea0370 (patch)
treec3f2597f9034cad35581ef5e80fa85970bb4e396
parent02c9ae5914fbf72b4adb87f52e05b0aa5f863b64 (diff)
downloadlibnice-f543d6b977e532cb56b45c7a07484a5619ea0370.tar.gz
Install plugins in $(libdir) not the system plugin path
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8f9cee1..edf39f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,13 +56,15 @@ AC_ARG_WITH(gstreamer,
[with_gstreamer=auto])
AS_IF([test "$with_gstreamer" != no], [
+
PKG_CHECK_MODULES(GST, [
gstreamer-0.10 >= 0.10.0
gstreamer-base-0.10 >= 0.10.0
],
[
with_gstreamer=yes
- gstplugindir=`$PKG_CONFIG --variable=pluginsdir gstreamer-0.10`
+ GST_MAJORMINOR=0.10
+ gstplugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
],
[
AS_IF([test "$with_gstreamer" = yes], [