[nautilus] build: Also look for Tracker 1.0



commit b414bb50be1d752851742af3976de7410ea46edf
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 10 16:50:46 2014 -0500

    build: Also look for Tracker 1.0
    
    See https://git.gnome.org/browse/tracker/commit/?id=b7a68152321e9251af0c4a2a9ba1978ca3a27b8c

 configure.ac |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 809d386..62f6809 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,10 +249,14 @@ AC_ARG_ENABLE(tracker,
               [enable_tracker=yes])
 
 if test "x$enable_tracker" != "xno"; then
-  if $PKG_CONFIG --exists tracker-sparql-0.18; then
-    PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.18)
-  else
-    PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.16)
+  if $PKG_CONFIG --exists tracker-sparql-1.0; then
+    PKG_CHECK_MODULES(TRACKER, tracker-sparql-1.0)
+  else 
+    if $PKG_CONFIG --exists tracker-sparql-0.18; then
+      PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.18)
+    else
+      PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.16)
+    fi
   fi
   AC_DEFINE(ENABLE_TRACKER, 1, [Define to enable Tracker support])
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]