[rygel] build: Support building with tracker-1.0
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] build: Support building with tracker-1.0
- Date: Sat, 1 Mar 2014 14:15:54 +0000 (UTC)
commit bd1c1f665002f8d21205aaa8042a67cdb5c14538
Author: Bjørn Lie <bjorn lie gmail com>
Date: Thu Feb 20 19:23:00 2014 +0000
build: Support building with tracker-1.0
https://bugzilla.gnome.org/show_bug.cgi?id=724820
configure.ac | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b5b8652..97c2aa8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -332,8 +332,15 @@ AS_IF([test "x$enable_tracker_plugin" = "xyes"],
PKG_CHECK_MODULES(TRACKER_SPARQL,
tracker-sparql-0.18 >= $TRACKER_SPARQL_REQUIRED_MIN,
[tracker_api_version="0.18"],
- [])
+ [tracker_api_version=""])
])
+ AS_IF([test "x$[]tracker_api_version" = "x"],
+ [
+ PKG_CHECK_MODULES(TRACKER_SPARQL,
+ tracker-sparql-1.0 >= $TRACKER_SPARQL_REQUIRED_MIN,
+ [tracker_api_version="1.0"],
+ [])
+ ])
AS_IF([test "x$enable_vala" = "xyes"],
[VALA_CHECK_PACKAGES([tracker-sparql-$tracker_api_version])])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]