From b830be70dc7c81f93a5ebd76abcc0a55b65846b4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 31 Jan 2008 11:23:08 +0000 Subject: Use the new cairo function cairo_format_stride_for_width when available. 2008-01-31 Carlos Garcia Campos * configure.ac: * backend/djvu/djvu-document.c: (djvu_document_render): * backend/tiff/tiff-document.c: (tiff_document_render): Use the new cairo function cairo_format_stride_for_width when available. Fixes bug #482720. svn path=/trunk/; revision=2884 --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index e2c9065..3ba95e4 100644 --- a/configure.ac +++ b/configure.ac @@ -66,6 +66,12 @@ PKG_CHECK_MODULES(SHELL_CORE, libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_RE BACKEND_LIBTOOL_FLAGS="-module -avoid-version" AC_SUBST(BACKEND_LIBTOOL_FLAGS) +dnl ===== Check special functions +evince_save_LIBS=$LIBS +LIBS="$LIBS $BACKEND_LIBS" +AC_CHECK_FUNCS(cairo_format_stride_for_width) +LIBS=$evince_save_LIBS + AC_ARG_WITH(keyring, AC_HELP_STRING([--without-keyring],[disable the use of gnome-keyring]), [case "${withval}" in -- cgit v0.9.1