mc/m4.include/vfs/mc-vfs-ftp.m4

16 lines
481 B
Plaintext
Raw Normal View History

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"])
])