diff options
author | Greg Beaver <cellog@php.net> | 2009-03-01 07:07:05 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2009-03-01 07:07:05 +0000 |
commit | 1ff3b85d7460765a9a20a6ed1fffeb83c6ac5448 (patch) | |
tree | 3b456d85203c2b3a3fb1611ec011da159aab08fc | |
parent | a51f628bd1636d73aef2de10b21f66135b315a3a (diff) | |
download | php-git-1ff3b85d7460765a9a20a6ed1fffeb83c6ac5448.tar.gz |
fix hash support on windows in ext/phar (Kalle)
-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); } |