[tracker] build: Don't depend on tracker-explorer dependencies to pass configure



commit 7d714858a61ae72cebeb4e7f1a28655ec5c10c96
Author: Martyn Russell <martyn lanedo com>
Date:   Thu Feb 3 15:22:19 2011 +0000

    build: Don't depend on tracker-explorer dependencies to pass configure

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c9decab..ee26967 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1274,12 +1274,14 @@ AC_ARG_ENABLE([tracker-explorer],
                              [enable tracker-explorer[[default=auto]]]),,
               [enable_tracker_explorer=auto])
 
-if test "x$enable_tracker_explorer" != "xno" ; then
+if test "x$enable_tracker_explorer" = "xyes" ; then
    if test "x$have_tracker_explorer" != "xyes"; then
       AC_MSG_ERROR([Couldn't find tracker-explorer dependencies ($TRACKER_EXPLORER_REQUIRED).])
    fi
 else
-   have_tracker_explorer="no  (disabled)"
+   if test "x$enable_tracker_explorer" = "xno"; then
+      have_tracker_explorer="no  (disabled)"
+   fi
 fi
 
 AM_CONDITIONAL(HAVE_TRACKER_EXPLORER, test "$have_tracker_explorer" = "yes")



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