diff options
Diffstat (limited to 'm4.include/vfs/mc-vfs-shell.m4')
-rw-r--r-- | m4.include/vfs/mc-vfs-shell.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/m4.include/vfs/mc-vfs-shell.m4 b/m4.include/vfs/mc-vfs-shell.m4 new file mode 100644 index 0000000..b07b22b --- /dev/null +++ b/m4.include/vfs/mc-vfs-shell.m4 @@ -0,0 +1,12 @@ +dnl Enable SHELL protocol +AC_DEFUN([mc_VFS_SHELL], +[ + AC_ARG_ENABLE([vfs-shell], + AS_HELP_STRING([--enable-vfs-shell], [Support for SHELL filesystem @<:@yes@:>@])) + if test "$enable_vfs" = "yes" -a "x$enable_vfs_shell" != xno; then + enable_vfs_shell="yes" + mc_VFS_ADDNAME([shell]) + AC_DEFINE([ENABLE_VFS_SHELL], [1], [Support for SHELL vfs]) + fi + AM_CONDITIONAL(ENABLE_VFS_SHELL, [test "$enable_vfs" = "yes" -a x"$enable_vfs_shell" = x"yes"]) +]) |