cellog          Sun Mar  1 07:07:05 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar   config.w32 
  Log:
  fix hash support on windows in ext/phar (Kalle)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/config.w32?r1=1.27.2.8&r2=1.27.2.9&diff_format=u
Index: php-src/ext/phar/config.w32
diff -u php-src/ext/phar/config.w32:1.27.2.8 
php-src/ext/phar/config.w32:1.27.2.9
--- php-src/ext/phar/config.w32:1.27.2.8        Mon Sep  1 16:32:55 2008
+++ php-src/ext/phar/config.w32 Sun Mar  1 07:07:05 2009
@@ -1,4 +1,4 @@
-// $Id: config.w32,v 1.27.2.8 2008/09/01 16:32:55 sfox Exp $
+// $Id: config.w32,v 1.27.2.9 2009/03/01 07:07:05 cellog Exp $
 // vim:ft=javascript
 
 ARG_ENABLE("phar", "disable phar support", "yes");
@@ -35,5 +35,12 @@
                        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);
 }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to