- 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 1ec34d1b640de85f26c332e2dd40af1446e45555..395b45f45d085b1892d10dc34f253d3758686db0 100644 (file)
@@ -78,7 +78,7 @@ if (PHP_HTTP != "no") {
                WARNING("zlib encoding functions not enabled; libraries and headers not found");
        }
        
                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"))) {
                var f;
                
                if ((f = check_for_pecl_ext("hash")) || (f = check_for_main_ext("hash"))) {