diff options
| author | Scott MacVicar <scottmac@php.net> | 2008-06-26 22:33:16 +0000 |
|---|---|---|
| committer | Scott MacVicar <scottmac@php.net> | 2008-06-26 22:33:16 +0000 |
| commit | cc7e8970de8b8c2b314bf2fa31d0bff410259fd8 (patch) | |
| tree | fbb80720a18f30307b9406edb0157d10885b6e4e /ext/hash/config.m4 | |
| parent | d7f5edd98860ee6d65fd4f863c54a9172db13214 (diff) | |
| download | php-git-cc7e8970de8b8c2b314bf2fa31d0bff410259fd8.tar.gz | |
Make the old mhash API a wrapper around hash, this removes a dependency.
Diffstat (limited to 'ext/hash/config.m4')
| -rw-r--r-- | ext/hash/config.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/hash/config.m4 b/ext/hash/config.m4 index 392398729e..b426b16e04 100644 --- a/ext/hash/config.m4 +++ b/ext/hash/config.m4 @@ -4,6 +4,14 @@ dnl config.m4 for extension hash PHP_ARG_ENABLE(hash, whether to enable hash support, [ --disable-hash Disable hash support], yes) +if test "$PHP_MHASH" != "no"; then + if test "$PHP_HASH" == "no"; then + PHP_HASH="yes" + fi + + AC_DEFINE(PHP_MHASH_BC, 1, [ ]) +fi + if test "$PHP_HASH" != "no"; then AC_DEFINE(HAVE_HASH_EXT,1,[Have HASH Extension]) |
