Commit d639a508 authored by Olivier Crete's avatar Olivier Crete

Install gst plugins in right directory

darcs-hash:20080403225336-3e2dc-c0a42f57d184e3785057e41b043d4129ccd8dc88.gz
parent 7592ac56
...@@ -59,7 +59,10 @@ AS_IF([test "$with_gstreamer" != no], [ ...@@ -59,7 +59,10 @@ AS_IF([test "$with_gstreamer" != no], [
gstreamer-0.10 >= 0.10.0 gstreamer-0.10 >= 0.10.0
gstreamer-base-0.10 >= 0.10.0 gstreamer-base-0.10 >= 0.10.0
], ],
[with_gstreamer=yes], [
with_gstreamer=yes
gstplugindir=`$PKG_CONFIG --variable=pluginsdir gstreamer-0.10`
],
[ [
AS_IF([test "$with_gstreamer" = yes], [ AS_IF([test "$with_gstreamer" = yes], [
AC_MSG_ERROR([GStreamer support was requested but GStreamer libraries are not available]) AC_MSG_ERROR([GStreamer support was requested but GStreamer libraries are not available])
...@@ -69,6 +72,8 @@ AS_IF([test "$with_gstreamer" != no], [ ...@@ -69,6 +72,8 @@ AS_IF([test "$with_gstreamer" != no], [
]) ])
]) ])
AC_SUBST(gstplugindir)
AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes) AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes)
dnl Test coverage dnl Test coverage
......
...@@ -21,7 +21,7 @@ COMMON_LDADD = \ ...@@ -21,7 +21,7 @@ COMMON_LDADD = \
# libgstnice # libgstnice
lib_LTLIBRARIES = libgstnice.la gstplugin_LTLIBRARIES = libgstnice.la
libgstnice_la_SOURCES = \ libgstnice_la_SOURCES = \
gstnicesrc.h \ gstnicesrc.h \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment