mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
16 lines
481 B
Plaintext
16 lines
481 B
Plaintext
|
dnl Enable FTP filesystem (classic)
|
||
|
AC_DEFUN([AC_MC_VFS_FTP],
|
||
|
[
|
||
|
AC_ARG_ENABLE([vfs-ftp],
|
||
|
[ --disable-vfs-ftp Support for FTP vfs [[yes]]])
|
||
|
if test "$enable_vfs_ftp" != "no"; then
|
||
|
if test "$enable_mvfs_ftp" ; then
|
||
|
AC_ERROR([Internal ftp conflicts with mvfs-ftp])
|
||
|
fi
|
||
|
enable_vfs_ftp="yes"
|
||
|
AC_MC_VFS_ADDNAME([ftp])
|
||
|
AC_DEFINE([ENABLE_VFS_FTP], [1], [Support for FTP (classic)])
|
||
|
fi
|
||
|
AM_CONDITIONAL([ENABLE_VFS_FTP], [test "$enable_vfs_ftp" = "yes"])
|
||
|
])
|