2005-12-02 01:59:48 +00:00
|
|
|
// $Id$
|
|
|
|
// vim:ft=javascript
|
|
|
|
|
2006-03-03 14:34:34 +00:00
|
|
|
ARG_ENABLE("hash", "enable hash support", "yes");
|
2008-11-27 21:58:38 +00:00
|
|
|
ARG_WITH("mhash", "mhash support", "no");
|
2005-12-02 01:59:48 +00:00
|
|
|
|
2008-06-28 15:31:50 +00:00
|
|
|
if (PHP_MHASH != "no") {
|
|
|
|
if (PHP_HASH == "no") {
|
|
|
|
PHP_HASH = "yes";
|
|
|
|
}
|
|
|
|
AC_DEFINE('PHP_MHASH_BC', 1);
|
|
|
|
}
|
|
|
|
|
2005-12-02 01:59:48 +00:00
|
|
|
if (PHP_HASH != "no") {
|
|
|
|
AC_DEFINE('HAVE_HASH_EXT', 1);
|
|
|
|
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 "
|
2008-12-25 13:35:05 +00:00
|
|
|
+ "hash_adler32.c hash_crc32.c hash_salsa.c");
|
2005-12-02 01:59:48 +00:00
|
|
|
}
|
|
|
|
|