diff options
-rw-r--r-- | ext/phar/config.w32 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/phar/config.w32 b/ext/phar/config.w32 index a81dfce0b1..33b90beeaf 100644 --- a/ext/phar/config.w32 +++ b/ext/phar/config.w32 @@ -35,5 +35,12 @@ if (PHP_PHAR != "no") { STDOUT.WriteLine(' Native OpenSSL support in Phar disabled'); } } + if (PHP_HASH != "no") { + if (PHP_HASH_SHARED == "no") { + AC_DEFINE("PHAR_HASH_OK", 1); + } else { + WARNING('Phar: sha256/sha512 signature support disabled if ext/hash is built shared'); + } + } ADD_EXTENSION_DEP('phar', 'spl', true); } |