From 63718064505c640af952c6e180b75235a1de5f14 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 05 Aug 2006 10:40:56 +0000 Subject: Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273 2006-08-05 Carlos Garcia Campos * configure.ac: * cut-n-paste/Makefile.am: * data/evince-ui.xml: * shell/Makefile.am: * shell/ev-application.[ch]: * shell/ev-window.c: Use GtkRecent instead of EggRecent when it's available. Fixes bug #349273 --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d355ff2..462891a 100644 --- a/configure.ac +++ b/configure.ac @@ -167,6 +167,14 @@ if test x$HAVE_NAUTILUS = "xyes"; then fi AM_CONDITIONAL(HAVE_NAUTILUS, test x$HAVE_NAUTILUS = "xyes") +dnl Check for GtkRecent +PKG_CHECK_MODULES(GTK_RECENT, gtk+-2.0 >= 2.10.0, + [HAVE_GTK_RECENT=yes], [HAVE_GTK_RECENT=no]) +if test x$HAVE_GTK_RECENT = xyes; then + AC_DEFINE(HAVE_GTK_RECENT, 1, [defined if GtkRecent is available]) +fi +AM_CONDITIONAL(HAVE_GTK_RECENT, test x$HAVE_GTK_RECENT = "xyes") + dnl GConf configuration AM_GCONF_SOURCE_2 -- cgit v0.9.1