From b3c719f3a99fb115b695a861b6db5c23c1556d4f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 15 Sep 2007 19:17:44 +0000 Subject: Add gvfs check. svn path=/trunk/; revision=7447 --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 6968c3d84..c31510186 100644 --- a/configure.ac +++ b/configure.ac @@ -762,6 +762,13 @@ PKG_CHECK_MODULES([GCONF],[gconf-2.0]) PKG_CHECK_MODULES([GLADE],[libglade-2.0 >= $LIBGLADE_REQUIRED]) PKG_CHECK_MODULES([GNOME],[libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED]) +PKG_CHECK_MODULES([GVFS],[gio-standalone],[have_gvfs=yes],[have_gvfs=no]) + +if test "$have_gvfs" = "yes"; then + AC_DEFINE([HAVE_GVFS],[1],[Define if GVFS is available]) +fi +AM_CONDITIONAL([HAVE_GVFS],[test "$have_gvfs" = "yes"]) + # compat cruft GGE_VERSION=0 AC_SUBST([GGE_VERSION]) -- cgit v1.2.3