diff options
author | Brian France <bfrance@php.net> | 2005-11-01 00:32:21 +0000 |
---|---|---|
committer | Brian France <bfrance@php.net> | 2005-11-01 00:32:21 +0000 |
commit | 890bd3f002036d34f8a447d49f2254a1854bd68c (patch) | |
tree | b6ff64fe3c137c914112d3312b31afc339d6ea4c /ext/ftp | |
parent | 0ba24fb65ae1064a653a0a7fdcb42e8cf44b52dd (diff) | |
download | php-git-890bd3f002036d34f8a447d49f2254a1854bd68c.tar.gz |
Fixed phpize build (default PHP_OPENSSL to no if not set)
Diffstat (limited to 'ext/ftp')
-rw-r--r-- | ext/ftp/config.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ftp/config.m4 b/ext/ftp/config.m4 index c822fcf48f..2df7f7b449 100644 --- a/ext/ftp/config.m4 +++ b/ext/ftp/config.m4 @@ -12,6 +12,9 @@ if test "$PHP_FTP" = "yes"; then AC_DEFINE(HAVE_FTP,1,[Whether you want FTP support]) PHP_NEW_EXTENSION(ftp, php_ftp.c ftp.c, $ext_shared) + dnl Empty variable means 'no' + test -z "$PHP_OPENSSL" && PHP_OPENSSL=no + if test "$PHP_OPENSSL" != "no" || test "$PHP_OPENSSL_DIR" != "no"; then PHP_SETUP_OPENSSL(FTP_SHARED_LIBADD) PHP_SUBST(FTP_SHARED_LIBADD) |