aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-vfs.m4
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1999-06-23 05:02:30 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-06-23 05:02:30 +0800
commitd953c8fd58a748ede1587bed1362ee6da484fac5 (patch)
tree92aba4735a88a4e702121c152ce7258188375a08 /macros/gnome-vfs.m4
parent7e81511e6162c68805a3e13fa760bc87a2e9ee13 (diff)
downloadgsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar.gz
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar.bz2
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar.lz
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar.xz
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.tar.zst
gsoc2013-evolution-d953c8fd58a748ede1587bed1362ee6da484fac5.zip
Add WITH_SMBFS
1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * acconfig.h: Add WITH_SMBFS * macros/gnome-vfs.m4: Support conditional samba support. 1999-06-22 Miguel de Icaza <miguel@nuclecu.unam.mx> * gsession.c (create_default_panel): Use directory specified in command line. * gcorba.c (corba_create_window): Pass the directory we receive or cwd if this value is NULL. * gmain.c (non_corba_create_panels): Use parameter for startup directory (use the this_dir external directory for this). (create_panels): Pass this_dsir to non_corba_create_panels and corba_create_window. svn path=/trunk/; revision=988
Diffstat (limited to 'macros/gnome-vfs.m4')
-rw-r--r--macros/gnome-vfs.m419
1 files changed, 18 insertions, 1 deletions
diff --git a/macros/gnome-vfs.m4 b/macros/gnome-vfs.m4
index 916c39e12f..137a39dd3c 100644
--- a/macros/gnome-vfs.m4
+++ b/macros/gnome-vfs.m4
@@ -49,11 +49,28 @@ AC_DEFUN([GNOME_WITH_VFS],[
AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport)
dnl add for source routing support setsockopt
AC_CHECK_HEADERS(rpc/pmap_clnt.h)
- vfs_flags="$vfs_flags, mcfs, ftpfs, smbfs, fish"
+ vfs_flags="$vfs_flags, mcfs, ftpfs, fish"
use_net_code=true
fi
dnl
+ dnl Samba support
+ dnl
+ smbfs=""
+ SAMBAFILES=""
+ AC_ARG_WITH(samba,
+ [--with-samba Support smb virtual file system],[
+ if test "x$withval != xno"; then
+ AC_DEFINE(WITH_SMBFS)
+ vfs_flags="$vfs_flags, smbfs"
+ smbfs="smbfs.o"
+ SAMBAFILES="\$(SAMBAFILES)"
+ fi
+ ])
+ AC_SUBST(smbfs)
+ AC_SUBST(SAMBAFILES)
+
+ dnl
dnl The termnet support
dnl
termnet=false