- attempt to fix PHP-5.0 build at pecl4win
authorMichael Wallner <mike@php.net>
Tue, 10 Oct 2006 09:32:11 +0000 (09:32 +0000)
committerMichael Wallner <mike@php.net>
Tue, 10 Oct 2006 09:32:11 +0000 (09:32 +0000)
config.w32

index 1ec34d1..395b45f 100644 (file)
@@ -78,7 +78,7 @@ if (PHP_HTTP != "no") {
                WARNING("zlib encoding functions not enabled; libraries and headers not found");
        }
        
-       if (PHP_HASH != "no") {
+       if (typeof(PHP_HASH) != "undefined" && PHP_HASH != "no") {
                var f;
                
                if ((f = check_for_pecl_ext("hash")) || (f = check_for_main_ext("hash"))) {