[nautilus] Keep nautilus building with tracker 0.16



commit 0e0732cec0adc53e1f72697a69a4808373ce326e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 1 22:42:05 2013 -0500

    Keep nautilus building with tracker 0.16
    
    We still have tracker 0.16 in jhbuild, so we have to keep
    nautilus building with that version.

 configure.ac |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7348f06..567963d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,7 +249,11 @@ AC_ARG_ENABLE(tracker,
               [enable_tracker=yes])
 
 if test "x$enable_tracker" != "xno"; then
-  PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.18)
+  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
   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]