summaryrefslogtreecommitdiff
path: root/ext/phar/config.w32
diff options
context:
space:
mode:
authorSteph Fox <sfox@php.net>2008-08-31 20:54:28 +0000
committerSteph Fox <sfox@php.net>2008-08-31 20:54:28 +0000
commitcd011d1e9ab97f16770c7e8025406a3ca4d7c663 (patch)
tree128e887cc7c32cc72f9c654eaef77303e34ca9ab /ext/phar/config.w32
parent76d758f736354de2e20251de9ece27b52675fd19 (diff)
downloadphp-git-cd011d1e9ab97f16770c7e8025406a3ca4d7c663.tar.gz
- MFB
Diffstat (limited to 'ext/phar/config.w32')
-rw-r--r--ext/phar/config.w326
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32
index 6632180649..e5a755084e 100644
--- a/ext/phar/config.w32
+++ b/ext/phar/config.w32
@@ -29,9 +29,11 @@ if (PHP_PHAR != "no") {
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);