Author: Konstantin Dmitriev <ksee.zelga...@gmail.com>
Date:   Thu May  5 23:23:53 2011 +0700

Fix bug when update-mime-database binary not found.

---

 synfig-studio/configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/configure.ac b/synfig-studio/configure.ac
index f86cda9..1ea8258 100755
--- a/synfig-studio/configure.ac
+++ b/synfig-studio/configure.ac
@@ -272,7 +272,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))
 
 AC_CONFIG_FILES([Makefile
 build_tools/Makefile


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to