mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
cf6bbdfb0c
This makes the configure log messages and help text more intuitive what is being enabled and when.
18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("ftp", "ftp support", "no");
|
|
|
|
if (PHP_FTP != "no") {
|
|
|
|
EXTENSION("ftp", "php_ftp.c ftp.c");
|
|
|
|
var ret = SETUP_OPENSSL("ftp", PHP_FTP);
|
|
|
|
if (ret >= 2) {
|
|
MESSAGE("Enabling SSL support for ext\\ftp");
|
|
AC_DEFINE('HAVE_FTP_SSL', 1, 'Define to 1 if FTP over SSL is enabled.');
|
|
}
|
|
|
|
AC_DEFINE('HAVE_FTP', 1, "Define to 1 if the PHP extension 'ftp' is available.");
|
|
}
|