summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-19 10:17:40 +0100
committerAli Abdallah <aliovx@gmail.com>2017-05-29 19:57:51 +0200
commit7e5ddd570294bef4578831e20db8a85d225065b5 (patch)
tree71b56af1b5a0b9a2fc7a38ffe085db4a6b08f48e /acinclude.m4
parenta97936793379e224953f244e537f815af753b701 (diff)
downloadtumbler-7e5ddd570294bef4578831e20db8a85d225065b5.tar.gz
Fix finding libopenraw-0.1.0 due to changed pkg-config name
Bug: https://bugzilla.xfce.org/show_bug.cgi?id=13201 Signed-off-by: Ali Abdallah <aliovx@gmail.com>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index fb62e9e..546e2fe 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -233,7 +233,11 @@ if test x"$ac_tumbler_raw_thumbnailer" = x"yes"; then
PKG_CHECK_MODULES([GDK_PIXBUF], [gdk-pixbuf-2.0 >= 2.14],
[
dnl Check for libopenraw
- PKG_CHECK_MODULES([LIBOPENRAW_GNOME], [libopenraw-gnome-1.0 >= 0.0.4], [], [ac_tumbler_raw_thumbnailer=no])
+ dnl Note: 0.1.0 release changed the pkg-config name from -1.0 to -0.1
+ PKG_CHECK_MODULES([LIBOPENRAW_GNOME], [libopenraw-gnome-0.1 >= 0.0.4], [],
+ [
+ PKG_CHECK_MODULES([LIBOPENRAW_GNOME], [libopenraw-gnome-1.0 >= 0.0.4], [], [ac_tumbler_raw_thumbnailer=no])
+ ])
], [ac_tumbler_raw_thumbnailer=no])
fi