diff -Naur gvfs-1.4.3-orig/configure.ac gvfs-1.4.3/configure.ac
--- gvfs-1.4.3-orig/configure.ac	2009-12-14 02:31:02.000000000 -0600
+++ gvfs-1.4.3/configure.ac	2010-02-03 23:05:01.000000000 -0600
@@ -57,7 +57,8 @@
 DBUS_SERVICE_DIR=$with_dbus_service_dir
 AC_SUBST(DBUS_SERVICE_DIR)
 
-giomodulesdir=$libdir/gio/modules
+AC_ARG_WITH(gio_modules_dir, [  --with-gio-modules-dir=PATH choose directory for gio modules, [default=$libdir/gio/modules]], with_gio_modules_dir="$withval", with_gio_modules_dir=$libdir/gio/modules)
+giomodulesdir=$with_gio_modules_dir
 AC_SUBST(giomodulesdir)
 
 dnl ****************************
