]> www.fi.muni.cz Git - evince.git/blobdiff - configure.ac
Hungarian translation updated.
[evince.git] / configure.ac
index 3035de75d85c454853ec19186c584264b132f581..b64b0c03691b2c49166981c80e804ffe67ee6b97 100644 (file)
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT(evince, 0.5.0)
+AC_INIT(evince, 0.5.1)
 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="be bg bn ca cs cy da de el en_CA en_GB es et eu fa fi fr gl gu he hi hu id it ja ko ku lt mk nb ne nl no pa pl pt pt_BR ro ru rw sk sq sr sr@Latn sv th tr uk vi wa zh_CN zh_HK zh_TW"
+ALL_LINGUAS="be bg bn ca cs cy da de el en_CA en_GB es et eu fa fi fr gl gu he hi hu id it ja ka ko ku lt lv mk nb ne nl no pa pl pt pt_BR ro ru rw sk sq sr sr@Latn sv th tr uk vi wa zh_CN zh_HK zh_TW"
 
 AM_GLIB_GNU_GETTEXT
 
@@ -145,6 +145,7 @@ LIBS="$LIBS $FRONTEND_CORE_LIBS"
 AC_CHECK_FUNCS(gtk_icon_view_get_visible_range)
 AC_CHECK_FUNCS(gtk_window_present_with_time)
 AC_CHECK_FUNCS(g_file_set_contents)
+AC_CHECK_FUNCS(gtk_file_chooser_set_do_overwrite_confirmation)
 LIBS=$evince_save_LIBS
 
 dnl GConf configuration
@@ -171,19 +172,6 @@ fi
 AM_CONDITIONAL(ENABLE_PS, test x$enable_ps = xyes)
 
 if test x$enable_ps = xyes; then
-AC_ARG_WITH(gs,
-            [AC_HELP_STRING([--with-gs=dir], [Directory Where GhostScript package is installed.])])
-
-if test "x$with_gs" = "x"; then
-        AC_PATH_PROG(GS_PROG, gs)
-        if test -z "$GS_PROG"; then
-                AC_MSG_ERROR(Unable to find GhostScript in the PATH. Provide the full path for GhostScript(--with-gs=PATH). You need to have Ghostscript installed in order to run evince)
-        fi
-else
-        GS_PROG=$with_gs
-fi
-
-AC_DEFINE_UNQUOTED(GS_PATH, "$GS_PROG", [Path to the 'gs' executable.])
 
 dnl check for GS version
 AC_MSG_CHECKING(for Ghostscript version...)
@@ -236,6 +224,7 @@ if test "x$enable_djvu" = "xyes"; then
     if test "x$enable_djvu" = "xyes"; then
        AC_CHECK_LIB([djvulibre],ddjvu_context_create,enable_djvu=yes,enable_djvu=no,"-lpthread")
        AC_CHECK_LIB([djvulibre],ddjvu_document_get_pageinfo,enable_djvu=yes,enable_djvu=no,"-lpthread")
+       AC_CHECK_LIB([djvulibre],ddjvu_document_get_pagetext,enable_djvu=yes,enable_djvu=no,"-lpthread")
     fi
 
     if test "x$enable_djvu" = "xyes"; then
@@ -243,7 +232,7 @@ if test "x$enable_djvu" = "xyes"; then
     else
        AC_MSG_WARN([   
 ** Djvu support is disabled since a recent version of the djvulibre 
-** library was not found. You need at least djvulibre-3.5.15 which 
+** library was not found. You need at least djvulibre-3.5.16 which 
 ** can be found on http://djvulibre.djvuzone.org 
 ])
     fi 
@@ -320,7 +309,7 @@ dnl =================== Mime types list ========================================
 
 EVINCE_MIME_TYPES="application/pdf"
 
-if test "x$disable_ps" = "xno" ; then
+if test "x$enable_ps" = "xyes" ; then
        EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/postscript;application/x-gzpostscript"
 fi
 if test "x$enable_dvi" = "xyes"; then