1// vim:ft=javascript 2 3ARG_ENABLE("ftp", "ftp support", "no"); 4 5if (PHP_FTP != "no") { 6 7 EXTENSION("ftp", "php_ftp.c ftp.c"); 8 9 var ret = SETUP_OPENSSL("ftp", PHP_FTP); 10 11 if (ret >= 2) { 12 MESSAGE("Enabling SSL support for ext\\ftp"); 13 AC_DEFINE('HAVE_FTP_SSL', 1, 'Define to 1 if FTP over SSL is enabled.'); 14 } 15 16 AC_DEFINE('HAVE_FTP', 1, "Define to 1 if the PHP extension 'ftp' is available."); 17} 18