]> granicus.if.org Git - php/commitdiff
MFB: Fixed phpize build (default PHP_OPENSSL to no if not set)
authorBrian France <bfrance@php.net>
Tue, 1 Nov 2005 00:46:44 +0000 (00:46 +0000)
committerBrian France <bfrance@php.net>
Tue, 1 Nov 2005 00:46:44 +0000 (00:46 +0000)
ext/ftp/config.m4

index c822fcf48f6b84f3bf3a30933dea561bd58b4176..2df7f7b449bd903af93ac334524733ebe3c204bf 100644 (file)
@@ -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)