X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=103e02cf160e452e302d95904ba37f8c781c6bc6;hb=c914510ee5b56a29c562f2054d8c4e627714483e;hp=e72c105640ddc7e699e2caa3e5a450edd190d143;hpb=30582eef6d8c325d026e7db0301921ddba21dfec;p=evince.git diff --git a/configure.ac b/configure.ac index e72c1056..103e02cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(evince, 0.4.0) +AC_INIT(evince, 0.5.0) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_CONFIG_HEADER(config.h) @@ -26,7 +26,7 @@ GNOME_COMPILE_WARNINGS GNOME_CXX_WARNINGS GNOME_DEBUG_CHECK -ALL_LINGUAS="bg bn ca cs da de el en_CA en_GB es et eu fi fr gl gu he hi hu id it ja ko ku lt nb ne nl no pa pl pt pt_BR ro ru rw sk sq sr sr@Latn sv th tr uk wa zh_CN zh_TW" +ALL_LINGUAS="be bg bn ca cs da de el en_CA en_GB es et eu fi fr gl gu he hi hu id it ja ko ku lt nb ne nl no pa pl pt pt_BR ro ru rw sk sq sr sr@Latn sv th tr uk wa zh_CN zh_TW" AM_GLIB_GNU_GETTEXT @@ -272,9 +272,19 @@ AC_ARG_ENABLE(comics, [AC_HELP_STRING([--enable-comics], [Compile with support for comic book archives])],enable_comics=yes,enable_comics=no) if test "x$enable_comics" = "xyes"; then AC_DEFINE([ENABLE_COMICS], [1], [Enable support for comics.]) + fi AM_CONDITIONAL(ENABLE_COMICS, test x$enable_comics = xyes) +AC_PATH_PROG(UPDATE_MIME_DB, update-mime-database, no) +AC_SUBST(UPDATE_MIME_DB) + +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) + dnl ================== End of comic book checks ============================================ dnl =================== Mime types list ====================================================