@ -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);