commit 88f18618ba15b952a739e410b910508f244b1fc3 Author: Vincent Untz Date: Thu Jan 19 10:26:14 2012 +0100 build: Support build against tracker 0.13/0.14 https://bugzilla.gnome.org/show_bug.cgi?id=667853 diff --git a/configure.in b/configure.in index f89522a..a762e00 100644 --- a/configure.in +++ b/configure.in @@ -280,10 +280,14 @@ AC_ARG_ENABLE(tracker, build_tracker=no if test "x$enable_tracker" != "xno"; then - PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.12, [ - build_tracker=yes - AC_DEFINE(ENABLE_TRACKER, 1, [Define to enable Tracker support])], - build_tracker=no) + PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.14, + [build_tracker=yes], + [PKG_CHECK_MODULES(TRACKER, tracker-sparql-0.12, + [build_tracker=yes], + [build_tracker=no])]) + if test "x$build_tracker" = "xyes"; then + AC_DEFINE(ENABLE_TRACKER, 1, [Define to enable Tracker support]) + fi fi AM_CONDITIONAL(ENABLE_TRACKER, test "x$build_tracker" = "xyes")