xref: /PHP-7.0/ext/ftp/config.w32 (revision caae1191)
1// $Id$
2// vim:ft=javascript
3
4ARG_ENABLE("ftp", "ftp support", "no");
5
6if (PHP_FTP != "no") {
7
8	EXTENSION("ftp", "php_ftp.c ftp.c");
9
10	if (CHECK_HEADER_ADD_INCLUDE("openssl/ssl.h", "CFLAGS_FTP") &&
11		CHECK_LIB("ssleay32.lib", "ftp", PHP_FTP) &&
12		CHECK_LIB("libeay32.lib", "ftp", PHP_FTP)) {
13		MESSAGE("Enabling SSL support for ext\\ftp");
14		AC_DEFINE('HAVE_FTP_SSL', 1, 'Have FTP over SSL support');
15	}
16
17	AC_DEFINE('HAVE_FTP', 1, 'Have FTP support');
18}
19