1// $Id$ 2// vim:ft=javascript 3 4ARG_ENABLE("hash", "enable hash support", "yes"); 5ARG_WITH("mhash", "mhash support", "no"); 6 7if (PHP_MHASH != "no") { 8 if (PHP_HASH == "no") { 9 PHP_HASH = "yes"; 10 } 11 AC_DEFINE('PHP_MHASH_BC', 1); 12} 13 14if (PHP_HASH != "no") { 15 AC_DEFINE('HAVE_HASH_EXT', 1); 16 EXTENSION("hash", "hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c " 17 + "hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c " 18 + "hash_adler32.c hash_crc32.c hash_joaat.c hash_fnv.c"); 19 20 PHP_INSTALL_HEADERS("ext/hash/", "php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h " + 21 "php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h " + 22 "php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h"); 23} 24 25