[gnome-system-tools] Bug 597106 - Don't check for nautilus dependencies when not building it.



commit 3f96f9f7ce29c470a052c9f7537adeaba8c11c0e
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date:   Fri Oct 2 14:01:32 2009 +0200

    Bug 597106 - Don't check for nautilus dependencies when not building it.

 configure.in |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/configure.in b/configure.in
index 8e38d38..b04e8b6 100644
--- a/configure.in
+++ b/configure.in
@@ -250,11 +250,13 @@ dnl ===========================
 dnl NAUTILUS EXTENSION
 dnl ===========================
 
-PKG_CHECK_MODULES(NAUTILUS,[
-	   libnautilus-extension >= 2.9.3
-	   liboobs-1 >= $LIBOOBS_REQUIRED
-	   gio-2.0   >= $GLIB_REQUIRED
-	   ])
+if test "x$enable_nautilus" = "xyes"; then
+	PKG_CHECK_MODULES(NAUTILUS,[
+		   libnautilus-extension >= 2.9.3
+		   liboobs-1 >= $LIBOOBS_REQUIRED
+		   gio-2.0   >= $GLIB_REQUIRED
+		   ])
+fi
 
 AC_SUBST(NAUTILUS_LIBS)
 AC_SUBST(NAUTILUS_CFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]