mc/m4.include/vfs/mc-vfs-mcfs.m4
Slava Zanko f0182a6969 Fix compile mcserv helper
Changes logic in m4 files for more sense of configure options.
Renamed --with-mcfs ro --enable-mcserver
2009-05-27 21:50:02 +03:00

18 lines
441 B
Plaintext

AC_DEFUN([AC_MC_VFS_MCFS_SET],
[
AC_REQUIRE_SOCKET
AC_CHECK_RPC
AC_DEFINE(ENABLE_VFS_MCFS, 1, [Define to enable mc-specific networking file system])
AC_MC_VFS_ADDNAME([mcfs])
use_net_code=true
])
AC_DEFUN([AC_MC_VFS_MCFS],
[
AC_ARG_ENABLE([vfs-mcfs],
[ --enable-vfs-mcfs Enable Support MCFS (mc's network filesystem)])
if test "$enable_vfs_mcfs" = "yes" ; then
AC_MC_VFS_MCFS_SET
fi
])