2009-05-07 16:38:06 +04:00
|
|
|
dnl Enable FISH protocol (classic)
|
|
|
|
AC_DEFUN([AC_MC_VFS_FISH],
|
|
|
|
[
|
|
|
|
AC_ARG_ENABLE([vfs-fish],
|
2010-07-13 17:01:25 +04:00
|
|
|
AC_HELP_STRING([--enable-vfs-fish], [Support for FISH filesystem [[yes]]]))
|
2010-07-24 11:24:07 +04:00
|
|
|
if test "$enable_vfs" = "yes" -a "x$enable_vfs_fish" != xno; then
|
2010-07-13 17:01:25 +04:00
|
|
|
enable_vfs_fish="yes"
|
2009-05-07 16:38:06 +04:00
|
|
|
AC_MC_VFS_ADDNAME([fish])
|
|
|
|
AC_DEFINE([ENABLE_VFS_FISH], [1], [Support for FISH vfs])
|
|
|
|
fi
|
2010-07-24 11:24:07 +04:00
|
|
|
AM_CONDITIONAL(ENABLE_VFS_FISH, [test "$enable_vfs" = "yes" -a x"$enable_vfs_fish" = x"yes"])
|
2009-05-07 16:38:06 +04:00
|
|
|
])
|