? depcomp
? py-compile
? libmenu/menu-monitor-gnomevfs.c
? util/.deps
? util/.libs
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gnome-menus/configure.in,v
retrieving revision 1.87
diff -u -r1.87 configure.in
--- configure.in	15 Jan 2006 19:39:34 -0000	1.87
+++ configure.in	30 Jan 2006 21:39:15 -0000
@@ -51,6 +51,17 @@
   AC_MSG_WARN(*** FAM support will not be built (FAM library not found) ***))
 AC_SUBST(FAM_LIBS)
 
+PKG_CHECK_MODULES(GNOMEVFS, gnome-vfs-2.0 >= 2.13.5,[gnomevfs_support=true],[gnomevfs_support=false])
+
+if test "$enable_gnomevfs" = "true"; then
+	AC_DEFINE(HAVE_GNOMEVFS, [1], [Define if we have gnome-vfs])
+	AC_SUBST(GNOMEVFS_CFLAGS)
+	AC_SUBST(GNOMEVFS_LIBS)
+else
+	AC_MSG_WARN(*** gnome-vfs support will not be included ***)
+fi
+AM_CONDITIONAL(ENABLE_GNOMEVFS, test x$gnomevfs_support = xtrue)
+
 dnl check for gamin extension
 gmenu_save_libs="$LIBS"
 LIBS="$LIBS $FAM_LIBS"
Index: libmenu/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnome-menus/libmenu/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- libmenu/Makefile.am	29 Jan 2006 17:57:12 -0000	1.6
+++ libmenu/Makefile.am	30 Jan 2006 21:39:15 -0000
@@ -6,6 +6,7 @@
 	$(DISABLE_DEPRECATED_CFLAGS)	\
 	$(DEBUG_CFLAGS)			\
 	$(WARN_CFLAGS)			\
+	$(GNOMEVFS_CFLAGS)		\
 	$(NULL)
 
 lib_LTLIBRARIES = libgnome-menu.la
@@ -29,10 +30,16 @@
 	menu-util.h			\
 	$(NULL)
 
+if ENABLE_GNOMEVFS
+libgnome_menu_la_SOURCES += menu-monitor-gnomevfs.c
+endif
+
 libgnome_menu_la_LIBADD = 		\
 	$(GLIB_LIBS)			\
 	$(FAM_LIBS)			\
+	$(GNOMEVFS_LIBS)		\
 	$(NULL)
+
 libgnome_menu_la_LDFLAGS =			\
 	-version-info $(LIB_MENU_LT_VERSION)	\
 	-no-undefined				\
