mc-vfs-ftp.m4 467 B

123456789101112
  1. dnl Enable FTP filesystem (classic)
  2. AC_DEFUN([AC_MC_VFS_FTP],
  3. [
  4. AC_ARG_ENABLE([vfs-ftp],
  5. AS_HELP_STRING([--enable-vfs-ftp], [Support for FTP filesystem @<:@yes@:>@]))
  6. if test "$enable_vfs" != "no" -a 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 "$enable_vfs" = "yes" -a x"$enable_vfs_ftp" = x"yes"])
  12. ])