mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* acinclude.m4: Replace smbfs and SAMBAFILES variables with
use_smbfs. * configure.in: Likewise. * INSTALL: Document --with-samba.
This commit is contained in:
parent
f17e11bc9f
commit
8578a75476
@ -1,5 +1,10 @@
|
|||||||
2002-09-13 Pavel Roskin <proski@gnu.org>
|
2002-09-13 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* acinclude.m4: Replace smbfs and SAMBAFILES variables with
|
||||||
|
use_smbfs.
|
||||||
|
* configure.in: Likewise.
|
||||||
|
* INSTALL: Document --with-samba.
|
||||||
|
|
||||||
* configure.in: Roll --enable-mcserv-install into ...
|
* configure.in: Roll --enable-mcserv-install into ...
|
||||||
* acinclude.m4: ... --with-mcfs. Adjust makefiles.
|
* acinclude.m4: ... --with-mcfs. Adjust makefiles.
|
||||||
* INSTALL: Document --with-mcfs.
|
* INSTALL: Document --with-mcfs.
|
||||||
|
7
INSTALL
7
INSTALL
@ -139,6 +139,13 @@ the directory base where you installed the gpm package.
|
|||||||
implementation of mcfs is not optimized for speed. There may be
|
implementation of mcfs is not optimized for speed. There may be
|
||||||
security issues with mcserv - don't run it if you don't need it.
|
security issues with mcserv - don't run it if you don't need it.
|
||||||
|
|
||||||
|
`--with-samba'
|
||||||
|
This option enables remote VFS over the SMB protocol. A stripped
|
||||||
|
down version of samba distibuted with the sources is compiled and
|
||||||
|
linked with the mc executable. It is recommended that you install
|
||||||
|
Samba client, since mc uses some files from Samba under certain
|
||||||
|
conditions. Please visit http://www.samba.org/ to learn more.
|
||||||
|
|
||||||
`--disable-largefile'
|
`--disable-largefile'
|
||||||
This option disables support for large files (2 gigabytes and more)
|
This option disables support for large files (2 gigabytes and more)
|
||||||
on the systems where file operations use 32-bit offsets by default,
|
on the systems where file operations use 32-bit offsets by default,
|
||||||
|
10
acinclude.m4
10
acinclude.m4
@ -109,21 +109,17 @@ AC_DEFUN([MC_WITH_VFS],[
|
|||||||
dnl
|
dnl
|
||||||
dnl Samba support
|
dnl Samba support
|
||||||
dnl
|
dnl
|
||||||
smbfs=""
|
use_smbfs=
|
||||||
SAMBAFILES=""
|
|
||||||
AC_ARG_WITH(samba,
|
AC_ARG_WITH(samba,
|
||||||
[ --with-samba Support smb virtual file system [[no]]],
|
[ --with-samba Support smb virtual file system [[no]]],
|
||||||
[if test "x$withval" != "xno"; then
|
[if test "x$withval" != "xno"; then
|
||||||
AC_DEFINE(WITH_SMBFS, 1, [Define to enable VFS over SMB])
|
AC_DEFINE(WITH_SMBFS, 1, [Define to enable VFS over SMB])
|
||||||
vfs_flags="$vfs_flags, smbfs"
|
vfs_flags="$vfs_flags, smbfs"
|
||||||
smbfs="smbfs.o"
|
use_smbfs=yes
|
||||||
SAMBAFILES="\$(SAMBAFILES)"
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
AC_SUBST(smbfs)
|
|
||||||
AC_SUBST(SAMBAFILES)
|
|
||||||
|
|
||||||
if test "x$smbfs" != x ; then
|
if test -n "$use_smbfs"; then
|
||||||
#################################################
|
#################################################
|
||||||
# set Samba configuration directory location
|
# set Samba configuration directory location
|
||||||
configdir="/etc"
|
configdir="/etc"
|
||||||
|
@ -650,7 +650,7 @@ dnl Version for the RedHat package, without dashes
|
|||||||
RH_VERSION=`echo $VERSION | sed 's/-//'`
|
RH_VERSION=`echo $VERSION | sed 's/-//'`
|
||||||
AC_SUBST(RH_VERSION)
|
AC_SUBST(RH_VERSION)
|
||||||
|
|
||||||
if test "x$SAMBAFILES" != x; then
|
if test -n "$use_smbfs"; then
|
||||||
AC_CONFIG_SUBDIRS([vfs/samba])
|
AC_CONFIG_SUBDIRS([vfs/samba])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -658,7 +658,7 @@ AM_CONDITIONAL(USE_EDIT, [test -n "$LIBEDIT_A"])
|
|||||||
AM_CONDITIONAL(USE_VFS, [test "x$use_vfs" = xyes])
|
AM_CONDITIONAL(USE_VFS, [test "x$use_vfs" = xyes])
|
||||||
AM_CONDITIONAL(USE_VFS_NET, [test x"$use_net_code" = xtrue])
|
AM_CONDITIONAL(USE_VFS_NET, [test x"$use_net_code" = xtrue])
|
||||||
AM_CONDITIONAL(USE_UNDEL_FS, [test -n "$undelfs_o"])
|
AM_CONDITIONAL(USE_UNDEL_FS, [test -n "$undelfs_o"])
|
||||||
AM_CONDITIONAL(USE_SAMBA_FS, [test -n "$SAMBAFILES"])
|
AM_CONDITIONAL(USE_SAMBA_FS, [test -n "$use_smbfs"])
|
||||||
AM_CONDITIONAL(USE_MCFS, [test -n "$use_mcfs"])
|
AM_CONDITIONAL(USE_MCFS, [test -n "$use_mcfs"])
|
||||||
AM_CONDITIONAL(INCLUDED_SLANG,
|
AM_CONDITIONAL(INCLUDED_SLANG,
|
||||||
[test "x$slang_use_system_installed_lib" = xfalse])
|
[test "x$slang_use_system_installed_lib" = xfalse])
|
||||||
|
Loading…
Reference in New Issue
Block a user