WARNING('Could not enable native OpenSSL support in Phar');
}
} else {
- /* If ext/openssl is built-in we can at least use the API directly */
- if (PHP_OPENSSL != "no" && !PHP_OPENSSL_SHARED) {
+ if (PHP_OPENSSL != "no" && !PHP_OPENSSL_SHARED && !PHP_PHAR_SHARED) {
AC_DEFINE('PHAR_HAVE_OPENSSL', 1);
+ STDOUT.WriteLine(' Native OpenSSL support in Phar enabled');
+ } else {
+ STDOUT.WriteLine(' Native OpenSSL support in Phar disabled');
}
}
ADD_EXTENSION_DEP('phar', 'spl', true);