From: José Aliste Date: Wed, 12 Jan 2011 15:28:57 +0000 (-0300) Subject: Require libnautilus-extension 2.91.4 or newer. X-Git-Tag: EVINCE_2_91_6~28 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=74ba36be76a1d0e01cf5f7458dc1637f15c6f9c1;p=evince.git Require libnautilus-extension 2.91.4 or newer. --- diff --git a/configure.ac b/configure.ac index 743f3281..96dc841d 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,7 @@ CAIRO_REQUIRED=1.10.0 GLIB_REQUIRED=2.25.11 KEYRING_REQUIRED=2.22.0 GTK_REQUIRED=2.91.7 +NAUTILUS_REQUIRED=2.91.4 AC_SUBST([GLIB_REQUIRED]) AC_SUBST([GTK_REQUIRED]) @@ -351,7 +352,7 @@ AC_ARG_ENABLE([nautilus], esac]) if test "$enable_nautilus" = "yes" ; then - PKG_CHECK_MODULES([NAUTILUS],[gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension], + PKG_CHECK_MODULES([NAUTILUS],[gtk+-x11-3.0 $MM gthread-2.0 libnautilus-extension >= $NAUTILUS_REQUIRED], [],[AC_MSG_ERROR([libnautilus-extension not found; use --disable-nautilus to disable the nautilus extensions])]) NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension` AC_SUBST([nautilusextensiondir],[$NAUTILUS_EXTENSION_DIR])