summaryrefslogtreecommitdiffstats
path: root/m4.include/vfs/mc-vfs-fish.m4
blob: d3463eef517b7e85d35a0aeae57ef2883112b953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
dnl Enable FISH protocol (classic)
AC_DEFUN([mc_VFS_FISH],
[
    AC_ARG_ENABLE([vfs-fish],
		    AS_HELP_STRING([--enable-vfs-fish], [Support for FISH filesystem @<:@yes@:>@]))
    if test "$enable_vfs" = "yes" -a "x$enable_vfs_fish" != xno; then
	enable_vfs_fish="yes"
	mc_VFS_ADDNAME([fish])
	AC_DEFINE([ENABLE_VFS_FISH], [1], [Support for FISH vfs])
    fi
    AM_CONDITIONAL(ENABLE_VFS_FISH, [test "$enable_vfs" = "yes" -a x"$enable_vfs_fish" = x"yes"])
])