2009-05-07 16:38:06 +04:00
|
|
|
dnl Enable FTP filesystem (classic)
|
|
|
|
AC_DEFUN([AC_MC_VFS_FTP],
|
|
|
|
[
|
|
|
|
AC_ARG_ENABLE([vfs-ftp],
|
2011-05-25 17:51:18 +04:00
|
|
|
AS_HELP_STRING([--enable-vfs-ftp], [Support for FTP filesystem @<:@yes@:>@]))
|
2010-07-13 15:58:44 +04:00
|
|
|
if test "$enable_vfs" != "no" -a x"$enable_vfs_ftp" != x"no"; then
|
2009-05-07 16:38:06 +04:00
|
|
|
enable_vfs_ftp="yes"
|
|
|
|
AC_MC_VFS_ADDNAME([ftp])
|
|
|
|
AC_DEFINE([ENABLE_VFS_FTP], [1], [Support for FTP (classic)])
|
|
|
|
fi
|
2010-07-24 11:24:07 +04:00
|
|
|
AM_CONDITIONAL([ENABLE_VFS_FTP], [test "$enable_vfs" = "yes" -a x"$enable_vfs_ftp" = x"yes"])
|
2009-05-07 16:38:06 +04:00
|
|
|
])
|