X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=configure.ac;h=decc0b2842f27d4ddb29348ae8ae7669a5b5c6dd;hb=7686e990862bb2cfd0e625cf4eb21b5883be9bff;hp=aafd6f3c7fe942a32bd4aabf2846ef05a79de725;hpb=3979c5c5ca307cad84b417b0d350aa205fdc422f;p=evince.git diff --git a/configure.ac b/configure.ac index aafd6f3c..decc0b28 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.5.0) +AC_INIT(evince, 0.5.2) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_CONFIG_HEADER(config.h) @@ -26,7 +26,8 @@ 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" +AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS']) +ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS"`" AM_GLIB_GNU_GETTEXT @@ -43,7 +44,7 @@ dnl Check dependencies # SHELL_CFLAGS for shell implementation. # SHELL_LIBS -POPPLER_REQUIRED=0.5.0 +POPPLER_REQUIRED=0.5.1 DBUS_GLIB_REQUIRED=0.33 GTK_REQUIRED=2.6.0 LIBGNOMEUI_REQUIRED=2.6.0 @@ -145,6 +146,8 @@ 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) +AC_CHECK_FUNCS(gtk_icon_view_enable_model_drag_source) LIBS=$evince_save_LIBS dnl GConf configuration @@ -223,6 +226,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 @@ -230,7 +234,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 @@ -307,7 +311,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