[tracker/tracker-0.8] --enable-maemo: had no effect



commit c48d73c61be9a9848f741d1e8b1f528d8703e51d
Author: Patrick Ohly <patrick ohly intel com>
Date:   Tue Jun 1 14:39:33 2010 +0200

    --enable-maemo: had no effect
    
    enable_maemo was never set to anything but "no" in the default case in
    configure.ac.
    
    Note that enable_maemo=yes in the "enable option selected" case would
    be wrong, because --disable-maemo is valid and ends up in that branch
    with $enableval == "no". Some other uses of AC_ENABLE() make that mistake
    (not fixed in this patch).

 configure.ac |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 67d0403..687cf93 100644
--- a/configure.ac
+++ b/configure.ac
@@ -398,9 +398,10 @@ AM_CONDITIONAL(HAVE_UNIT_TESTS, test "x$have_unit_tests" = "xyes")
 ####################################################################
 
 AC_ARG_ENABLE(maemo,
-	      AS_HELP_STRING([--enable-maemo],
-			     [enable maemo ontology [[default=no]]]), ,
-	      [enable_maemo=no])
+	         AS_HELP_STRING([--enable-maemo],
+			                [enable maemo ontology [[default=no]]]), 
+             [enable_maemo="$enableval"],
+	         [enable_maemo=no])
 
 AM_CONDITIONAL(HAVE_MAEMO, test "x$enable_maemo" = "xyes")
 
@@ -1839,6 +1840,10 @@ Writeback:
 	MP3:                                    $have_id3lib
 	XMP:                                    $have_exempi
 
+Frameworks:
+
+	Support Maemo                           $enable_maemo
+
 Warning:
 
         You must make sure SQLite is compiled with --enable-threadsafe



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