Permalink
Browse files

Fixed phpize build (default PHP_OPENSSL to no if not set)

  • Loading branch information...
1 parent 0ba24fb commit 890bd3f002036d34f8a447d49f2254a1854bd68c Brian France committed Nov 1, 2005
Showing with 3 additions and 0 deletions.
  1. +3 −0 ext/ftp/config.m4
View
@@ -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)

0 comments on commit 890bd3f

Please sign in to comment.