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)
GNOME_CXX_WARNINGS
GNOME_DEBUG_CHECK
-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 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 ja ko lt nb ne nl no pa pl pt pt_BR 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
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
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.])