From d0de39bcde35c6c8b1776174883e2f8a4cea1f1a Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 8 Jul 2010 10:41:25 +0400 Subject: [PATCH] Ticket #1818: refactoring of VFS building options. Initial step: removed MVFS references. MVFS is not supported. Signed-off-by: Andrew Borodin --- m4.include/mc-vfs.m4 | 1 - m4.include/vfs/mc-mvfs.m4 | 41 --------------------------------------- 2 files changed, 42 deletions(-) delete mode 100644 m4.include/vfs/mc-mvfs.m4 diff --git a/m4.include/mc-vfs.m4 b/m4.include/mc-vfs.m4 index 9d344c5fb..213b01171 100644 --- a/m4.include/mc-vfs.m4 +++ b/m4.include/mc-vfs.m4 @@ -17,7 +17,6 @@ m4_include([m4.include/vfs/mc-vfs-undelfs.m4]) m4_include([m4.include/vfs/mc-vfs-tarfs.m4]) m4_include([m4.include/vfs/mc-vfs-cpiofs.m4]) m4_include([m4.include/vfs/mc-vfs-samba.m4]) -m4_include([m4.include/vfs/mc-mvfs.m4]) dnl MC_VFS_CHECKS dnl Check for various functions needed by libvfs. diff --git a/m4.include/vfs/mc-mvfs.m4 b/m4.include/vfs/mc-mvfs.m4 deleted file mode 100644 index b19258a62..000000000 --- a/m4.include/vfs/mc-mvfs.m4 +++ /dev/null @@ -1,41 +0,0 @@ -AC_DEFUN([AC_PREPARE_MVFS], -[ - AM_CONDITIONAL(ENABLE_MVFS, [test x"$enable_mvfs" = x"yes"]) -]) - -AC_DEFUN([AC_REQUIRE_MVFS], -[ - echo "libmvfs required ... checking ..."; - if test x"$got_mvfs" = x"yes" ; then - echo "mvfs already enabled" - else - PKG_CHECK_MODULES([MVFS], [libmvfs]) - AC_DEFINE(ENABLE_MVFS, 1, [Enabled mvfs-based virtual filesystems]) - got_mvfs="yes" - AC_MC_VFS_ADDNAME([mvfs]) - fi - AM_CONDITIONAL(ENABLE_MVFS, [test x"$enable_mvfs" = x"yes"]) -]) - -AC_DEFUN([AC_MVFS_FS], [ - AC_PREPARE_MVFS - AC_ARG_ENABLE([mvfs-$1],[ --enable-mvfs-$1 Support for $3 (via libmvfs)]) - if test x"$enable_mvfs_$1" = x"yes" ; then - AC_REQUIRE_MVFS - AC_DEFINE(ENABLE_MVFS_$2, 1, [$1 (via libmvfs)]) - AC_MC_VFS_ADDNAME([mvfs-$1]) - fi - AM_CONDITIONAL(ENABLE_MVFS_$2, [test x"$enable_mvfs_$1" = x"yes"]) -]) - -AC_DEFUN([AC_MVFS_NINEP], [AC_MVFS_FS([9p], [NINEP], [9P Filesystem])]) -AC_DEFUN([AC_MVFS_LOCAL], [AC_MVFS_FS([local], [LOCAL], [Local filesystem])]) -AC_DEFUN([AC_MVFS_FISH], [AC_MVFS_FS([fish], [FISH], [Fish remote filesystem])]) - -AC_DEFUN([AC_MC_MVFS_FILESYSTEMS], -[ - AC_PREPARE_MVFS - AC_MVFS_NINEP - AC_MVFS_LOCAL - AC_MVFS_FISH -])