From 6b75529d406eb5e8d9a8256de17bb9e2f4399ec5 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Thu, 11 Jan 2018 20:38:55 +0100 Subject: build: Fail configure if no tracker-sparql was not found --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 00b94dab..c51d580a 100644 --- a/configure.ac +++ b/configure.ac @@ -427,6 +427,9 @@ AS_IF([test "x$enable_tracker_plugin" = "xyes"], tracker_api_version="VERSION" ]) ]) + AS_IF([test "x:$trackerpkg" = "x:"], + [AC_MSG_ERROR([No supported API version of the tracker-sparql library was found])]) + PKG_CHECK_MODULES([RYGEL_PLUGIN_TRACKER_DEPS], [$RYGEL_COMMON_MODULES gio-2.0 >= $GIO_REQUIRED ${trackerpkg}]) -- cgit v1.2.1