[tomboy] disable ENABLE_UPDATE_MIMEDB if update-mime-database is not found



commit c28966b0db317eb4cd400f64500e0053c5db7ec6
Author: Olivier Le Thanh Duong <olivier lethanh be>
Date:   Wed Mar 24 13:32:25 2010 +0100

    disable ENABLE_UPDATE_MIMEDB if update-mime-database is not found
    
    https://bugzilla.gnome.org/show_bug.cgi?id=611865

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index aaa04fc..9aa4576 100644
--- a/configure.in
+++ b/configure.in
@@ -118,7 +118,7 @@ AC_ARG_ENABLE(update-mimedb,
    AC_HELP_STRING([--disable-update-mimedb],
                    [disable the update-mime-database after install [default=no]]),,
     enable_update_mimedb=yes)
-AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
+AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, (test x$enable_update_mimedb = xyes) && (test x$UPDATE_MIME_DATABASE != xno))
 
 #
 # Check for Mac/Windows/GNOME Support



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