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.4.0)
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 hi hu ja ko lt nb nl no pa 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 id it ja ko 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
# SHELL_CFLAGS for shell implementation.
# SHELL_LIBS
-POPPLER_REQUIRED=0.3.3
+POPPLER_REQUIRED=0.4.1
DBUS_GLIB_REQUIRED=0.33
GTK_REQUIRED=2.6.0
LIBGNOMEUI_REQUIRED=2.6.0
AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled])
- DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0.\([[0-9]]*\)/\1/'`
+ DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0\.\([[0-9]]*\)\.\{0,1\}\([[0-9]]*\)/\1/'`
AC_DEFINE_UNQUOTED(DBUS_VERSION, $DBUS_VERSION, [DBUS version.])
fi
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(gtk_window_present_with_time)
+AC_CHECK_FUNCS(g_file_set_contents)
LIBS=$evince_save_LIBS
dnl GConf configuration
AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
fi
+dnl ================== portability checks ===========================================
+
+dnl for backtrace()
+AC_CHECK_HEADERS([execinfo.h])
+
dnl ================== ggv checks ===================================================
AC_ARG_WITH(gs-pkg,
[ --with-gs=dir Directory Where GhostScript package is installed.])
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
shell/Makefile
thumbnailer/Makefile
help/Makefile
-help/C/Makefile
])
AC_OUTPUT