* acinclude.m4: New option --with-mcfs and macro WITH_MCFS.

This commit is contained in:
Andrew V. Samoilov 2002-03-26 13:40:14 +00:00
parent 7f08501250
commit ffd87714d2
2 changed files with 17 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-03-26 Andrew V. Samoilov <kai@cmail.ru>
* acinclude.m4: New option --with-mcfs and macro WITH_MCFS.
* src/Makefile.am: Move mc.hlp.ru processing ...
* doc/ru/Makefile.am: ... here.

View File

@ -93,7 +93,21 @@ AC_DEFUN([MC_WITH_VFS],[
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
])
vfs_flags="$vfs_flags, mcfs, ftpfs, fish"
dnl
dnl mcfs support
dnl
mcfs="mcfs"
AC_ARG_WITH(mcfs,
[--with-mcfs Support mc's private file system],[
if test "x$withval" = "xno"; then
mcfs=""
fi
])
if test "x$mcfs" != "x"; then
AC_DEFINE(WITH_MCFS, 1, [Define to enable mc's private file system])
vfs_flags="$vfs_flags, mcfs"
fi
vfs_flags="$vfs_flags, ftpfs, fish"
use_net_code=true
fi