dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(evince, 0.3.2)
+AC_INIT(evince, 0.3.3)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
GNOME_COMMON_INIT
+GNOME_DOC_INIT
GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS
GNOME_CXX_WARNINGS
GNOME_DEBUG_CHECK
-ALL_LINGUAS="bg ca cs da de el en_CA en_GB es eu fi fr hu ja ko lt nb nl no pt_BR ru rw sk sv th uk wa zh_CN zh_TW"
+ALL_LINGUAS="bg ca cs da de el en_CA en_GB es et eu fi fr gl gu he hi hu ja ko lt nb ne nl no pa pl pt_BR ru rw sk sq sr sr@Latn sv th tr uk wa zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
fi
AM_CONDITIONAL(HAVE_NAUTILUS, test x$HAVE_NAUTILUS = "xyes")
-dnl Check for gtk_icon_view_get_visible_range
+dnl Check for functions not present in gtk 2.6
evince_save_LIBS=$LIBS
LIBS="$LIBS $FRONTEND_CORE_LIBS"
AC_CHECK_FUNCS(gtk_icon_view_get_visible_range)
+AC_CHECK_FUNCS(g_file_set_contents)
LIBS=$evince_save_LIBS
dnl GConf configuration
AC_DEFINE([ENABLE_DJVU], [1], [Enable djvu viewer support.])
else
AC_MSG_WARN([
-** Djvu support is disabled since recent version of djvulibre
-** library was not found. To get proper djvu support you need to
-** install development version of djvulibre. You can get it from
-** anonymous CVS server on djvulibre.sf.net. Just use something
-** like:
-
-** cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/djvu co djvulibre-3.5
+** Djvu support is disabled since a recent version of the djvulibre
+** library was not found. You need at least djvulibre-3.5.15 which
+** can be found on http://djvulibre.djvuzone.org
])
fi
fi
dnl ================== End of dvi checks ===================================================
+dnl ================== pixbuf checks ===================================================
+
+AC_ARG_ENABLE(pixbuf,
+ [AC_HELP_STRING([--enable-pixbuf], [Compile with support of pixbuf])],enable_pixbuf="$enableval",enable_pixbuf=no)
+if test "x$enable_pixbuf" = "xyes"; then
+ AC_DEFINE([ENABLE_PIXBUF], [1], [Enable pixbuf support.])
+fi
+AM_CONDITIONAL(ENABLE_PIXBUF, test x$enable_pixbuf = xyes)
+
+dnl ================== End of dvi checks ===================================================
+
dnl =================== Mime types list ====================================================
EVINCE_MIME_TYPES="application/pdf;application/postscript;application/x-gzpostscript"
shell/Makefile
thumbnailer/Makefile
help/Makefile
-help/C/Makefile
])
AC_OUTPUT