aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-12 23:14:28 +0800
committerDan Winship <danw@src.gnome.org>2000-08-12 23:14:28 +0800
commit7792286802250825f67f850f1e39130f8dcb935d (patch)
treed5661e551187da0cdb4f28aea2c1c14bce3545bd /configure.in
parent2f6d004d5a364622cb11e5557a73bf2ecb9ba3e0 (diff)
downloadgsoc2013-evolution-7792286802250825f67f850f1e39130f8dcb935d.tar.gz
gsoc2013-evolution-7792286802250825f67f850f1e39130f8dcb935d.tar.zst
gsoc2013-evolution-7792286802250825f67f850f1e39130f8dcb935d.zip
Depend on gnome-vfs 0.3
* configure.in, README: Depend on gnome-vfs 0.3 svn path=/trunk/; revision=4776
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in27
1 files changed, 12 insertions, 15 deletions
diff --git a/configure.in b/configure.in
index 257b1d0ef9..ac6dcf8a07 100644
--- a/configure.in
+++ b/configure.in
@@ -285,11 +285,6 @@ BONOBO_HTML_GNOME_CFLAGS="`gnome-config --cflags bonobox libglade gdk_pixbuf gtk
AC_SUBST(BONOBO_HTML_GNOME_LIBS)
AC_SUBST(BONOBO_HTML_GNOME_CFLAGS)
-GNOME_VFS_LIBS="`gnome-config --libs vfs`"
-GNOME_VFS_CFLAGS="`gnome-config --cflags vfs`"
-AC_SUBST(GNOME_VFS_LIBS)
-AC_SUBST(GNOME_VFS_CFLAGS)
-
dnl ******************************
dnl GtkHTML checking
dnl ******************************
@@ -323,24 +318,26 @@ dnl Gnome-VFS checking
dnl ******************************
AC_MSG_CHECKING(for GNOME-VFS)
if gnome-config --libs vfs > /dev/null 2>&1; then
- vfs_ok=true
+ vers=`gnome-config --modversion vfs`
+ case $vers
+ in
+ gnome-vfs-0.[012]) vfs_ok=false ;;
+ *) vfs_ok=true ;;
+ esac
else
vfs_ok=false
fi
if $vfs_ok; then
- AC_MSG_RESULT(found)
+ AC_MSG_RESULT($vers)
else
- AC_MSG_ERROR(GNOME-VFS is required to compile Evolution)
+ AC_MSG_ERROR(GNOME-VFS 0.3 or newer is required to compile Evolution)
fi
-saved_CFLAGS="$CFLAGS"
-saved_LDFLAGS="$LDFLAGS"
-CFLAGS="$CFLAGS `gnome-config --cflags vfs`"
-LDFLAGS="$LDFLAGS `gnome-config --libs vfs`"
-AC_CHECK_FUNCS(gnome_vfs_mime_get_default_action_without_fallback)
-CFLAGS="$saved_CFLAGS"
-LDFLAGS="$saved_LDFLAGS"
+GNOME_VFS_LIBS="`gnome-config --libs vfs`"
+GNOME_VFS_CFLAGS="`gnome-config --cflags vfs`"
+AC_SUBST(GNOME_VFS_LIBS)
+AC_SUBST(GNOME_VFS_CFLAGS)
BONOBO_VFS_GNOME_LIBS="`gnome-config --libs bonobox libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"
BONOBO_VFS_GNOME_CFLAGS="`gnome-config --cflags bonobox libglade gdk_pixbuf gnomecanvaspixbuf vfs gnomeui `"