mc-vfs-ftp.m4 394 B

123456789101112
  1. dnl Enable FTP filesystem (classic)
  2. AC_DEFUN([AC_MC_VFS_FTP],
  3. [
  4. AC_ARG_ENABLE([vfs-ftp],
  5. [ --enable-vfs-ftp Support for FTP vfs [[yes]]])
  6. if test x"$enable_vfs_ftp" != x"no"; then
  7. enable_vfs_ftp="yes"
  8. AC_MC_VFS_ADDNAME([ftp])
  9. AC_DEFINE([ENABLE_VFS_FTP], [1], [Support for FTP (classic)])
  10. fi
  11. AM_CONDITIONAL([ENABLE_VFS_FTP], [test x"$enable_vfs_ftp" = x"yes"])
  12. ])