2005-11-19 03:51:09 +08:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
2006-03-03 22:35:29 +08:00
|
|
|
ARG_ENABLE("hash", "enable hash support", "yes");
|
2008-11-28 05:57:15 +08:00
|
|
|
ARG_WITH("mhash", "mhash support", "no");
|
2005-11-19 03:51:09 +08:00
|
|
|
|
2008-06-28 23:30:45 +08:00
|
|
|
if (PHP_MHASH != "no") {
|
|
|
|
if (PHP_HASH == "no") {
|
|
|
|
PHP_HASH = "yes";
|
|
|
|
}
|
|
|
|
AC_DEFINE('PHP_MHASH_BC', 1);
|
|
|
|
}
|
|
|
|
|
2005-11-19 03:51:09 +08:00
|
|
|
if (PHP_HASH != "no") {
|
|
|
|
AC_DEFINE('HAVE_HASH_EXT', 1);
|
2005-11-26 07:12:44 +08:00
|
|
|
EXTENSION("hash", "hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c "
|
|
|
|
+ "hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c "
|
2012-01-18 00:35:32 +08:00
|
|
|
+ "hash_adler32.c hash_crc32.c hash_joaat.c hash_fnv.c");
|
2010-12-12 06:18:10 +08:00
|
|
|
|
|
|
|
PHP_INSTALL_HEADERS("ext/hash/", "php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h " +
|
|
|
|
"php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h " +
|
2012-01-18 00:35:32 +08:00
|
|
|
"php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h " +
|
2010-12-12 06:18:10 +08:00
|
|
|
"php_hash_types.h");
|
2005-11-19 03:51:09 +08:00
|
|
|
}
|
|
|
|
|