From: Brian France Date: Tue, 1 Nov 2005 00:46:44 +0000 (+0000) Subject: MFB: Fixed phpize build (default PHP_OPENSSL to no if not set) X-Git-Tag: RELEASE_2_0_1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3130689708881be1bc06c8c8ab21051dab76fa2e;p=php MFB: Fixed phpize build (default PHP_OPENSSL to no if not set) --- 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)