[tracker] Don't disable tracker-needle if it can be built



commit 4db84204f8edb033ff8a4426b0ec1c05fa0229a4
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Dec 27 15:07:25 2010 +0000

    Don't disable tracker-needle if it can be built
    
    Improves commit 71d0d73e953edcf6e61f79ed23a54f556376a524

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 673f016..59a2277 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1299,7 +1299,7 @@ AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
 
 AC_ARG_ENABLE([tracker-needle],
               AS_HELP_STRING([--enable-tracker-needle],
-                             [enable tracker-needle[[default=auto]]]),,
+                             [enable tracker-needle [[default=auto]]]),,
               [enable_tracker_needle=auto])
 
 if test "x$enable_tracker_needle" = "xyes" ; then
@@ -1307,7 +1307,9 @@ if test "x$enable_tracker_needle" = "xyes" ; then
       AC_MSG_ERROR([Couldn't find tracker-needle dependencies ($TRACKER_NEEDLE_REQUIRED).])
    fi
 else
-   have_tracker_needle="no  (disabled)"
+   if test "x$enable_tracker_needle" = "xno"; then
+      have_tracker_needle="no  (disabled)"
+   fi
 fi
 
 if test "x$have_tracker_needle" = "xyes"; then



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