]> www.fi.muni.cz Git - evince.git/commitdiff
Require libnautilus-extension 2.91.4 or newer.
authorJosé Aliste <jaliste@src.gnome.org>
Wed, 12 Jan 2011 15:28:57 +0000 (12:28 -0300)
committerJosé Aliste <jaliste@src.gnome.org>
Wed, 12 Jan 2011 18:42:29 +0000 (15:42 -0300)
configure.ac

index 743f3281e12ed694b7a189d65f79b28b4310b335..96dc841d161d8a51198f7a0292e15894bd09d25e 100644 (file)
@@ -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])