1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
From 43c1e5e7555de086e69e0944fd91b62903653aaa Mon Sep 17 00:00:00 2001
From: Juan A. Suarez Romero <jasuarez@igalia.com>
Date: Wed, 07 Sep 2011 17:21:15 +0000
Subject: tracker: Add support for Tracker 0.12
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=658448
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
---
diff --git a/configure.ac b/configure.ac
index 13993e1..96e7c25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,11 +133,21 @@ PKG_CHECK_MODULES(GMIME, gmime-2.6,
HAVE_GMIME=yes,
HAVE_GMIME=no)])
-PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.11,
+PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.12,
HAVE_TRACKER_SPARQL=yes,
- [PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.10 >= 0.10.5,
- HAVE_TRACKER_SPARQL=yes,
- HAVE_TRACKER_SPARQL=no)])
+ HAVE_TRACKER_SPARQL=no)
+
+if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
+ PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.11,
+ HAVE_TRACKER_SPARQL=yes,
+ HAVE_TRACKER_SPARQL=no)
+fi
+
+if test "x$HAVE_TRACKER_SPARQL" = "xno"; then
+ PKG_CHECK_MODULES(TRACKER_SPARQL, tracker-sparql-0.10 >= 0.10.5,
+ HAVE_TRACKER_SPARQL=yes,
+ HAVE_TRACKER_SPARQL=no)
+fi
PKG_CHECK_MODULES(GLIB_2_26, glib-2.0 >= 2.26.0,
HAVE_GLIB_2_26=yes,
--
cgit v0.9.0.2
|