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



commit aa902316c7ee20c0af6cecfb1b51961b14f193b2
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 191f476..be3b8ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -373,9 +373,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")
 
@@ -2012,6 +2013,10 @@ Writeback:
 	Audio files using Taglib:               $have_taglib
 	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]