2003-12-03 07:17:04 +08:00
|
|
|
// vim:ft=javascript
|
|
|
|
|
2016-01-08 15:07:15 +08:00
|
|
|
ARG_ENABLE("ftp", "ftp support", "no");
|
2003-12-03 07:17:04 +08:00
|
|
|
|
2016-01-08 15:07:15 +08:00
|
|
|
if (PHP_FTP != "no") {
|
2015-03-11 20:30:26 +08:00
|
|
|
|
2016-01-08 15:07:15 +08:00
|
|
|
EXTENSION("ftp", "php_ftp.c ftp.c");
|
2015-03-11 20:30:26 +08:00
|
|
|
|
2017-01-08 07:17:31 +08:00
|
|
|
var ret = SETUP_OPENSSL("ftp", PHP_FTP);
|
|
|
|
|
|
|
|
if (ret > 0) {
|
2015-03-11 20:30:26 +08:00
|
|
|
MESSAGE("Enabling SSL support for ext\\ftp");
|
|
|
|
AC_DEFINE('HAVE_FTP_SSL', 1, 'Have FTP over SSL support');
|
|
|
|
}
|
|
|
|
|
2003-12-03 07:17:04 +08:00
|
|
|
AC_DEFINE('HAVE_FTP', 1, 'Have FTP support');
|
|
|
|
}
|