MFH: Fix conditional

This commit is contained in:
Kalle Sommer Nielsen 2009-05-11 06:43:05 +00:00
parent 899e56337f
commit 776a648f17

View File

@ -36,7 +36,7 @@ if (PHP_PHAR != "no") {
} }
} }
if (PHP_HASH != "no") { if (PHP_HASH != "no") {
if (PHP_HASH_SHARED == "no") { if (!PHP_HASH_SHARED) {
AC_DEFINE("PHAR_HASH_OK", 1); AC_DEFINE("PHAR_HASH_OK", 1);
} else { } else {
WARNING('Phar: sha256/sha512 signature support disabled if ext/hash is built shared'); WARNING('Phar: sha256/sha512 signature support disabled if ext/hash is built shared');