summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2012-12-11 21:37:00 +0100
committerNick Schermer <nick@xfce.org>2012-12-11 21:56:22 +0100
commitf2dba5074031aa2faa447ec30ac107debdda7f26 (patch)
tree8060d2cec84e2d0380807840cba2852248333a6d /acinclude.m4
parent089c57799b024cd3e5ccb0eff38d793776938840 (diff)
downloadtumbler-f2dba5074031aa2faa447ec30ac107debdda7f26.tar.gz
Fix build when using -Wl,-z,defs
GStreamer thumbnailers should be linked against libmath and libgsttags. Do the first directly from Makefile.am, and implement the second in the AC macros for GSTREAMER support. Signed-off-by: Yves-Alexis Perez <corsac@debian.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 5 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e84b8c3..4105e37 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -157,8 +157,11 @@ if test x"$ac_tumbler_gstreamer_thumbnailer" = x"yes"; then
dnl Check for gdk-pixbuf
PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.14],
[
- dnl Check for libgstreamerthumbnailer
- PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0], [], [ac_tumbler_gstreamer_thumbnailer=no])
+ dnl Check for libgstreamer
+ PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0], [
+ dnl Check for libgstreamertag
+ PKG_CHECK_MODULES([GSTREAMER_TAG], [gstreamer-tag-1.0], [], [ac_tumbler_gstreamer_thumbnailer=no])
+ ], [ac_tumbler_gstreamer_thumbnailer=no])
], [ac_tumbler_gstreamer_thumbnailer=no])
fi