diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-14 05:42:27 +0000 |
---|---|---|
committer | <> | 2013-04-03 16:25:08 +0000 |
commit | c4dd7a1a684490673e25aaf4fabec5df138854c4 (patch) | |
tree | 4d57c44caae4480efff02b90b9be86f44bf25409 /ext/hash/config.w32 | |
download | php2-master.tar.gz |
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'ext/hash/config.w32')
-rw-r--r-- | ext/hash/config.w32 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ext/hash/config.w32 b/ext/hash/config.w32 new file mode 100644 index 0000000..abe8675 --- /dev/null +++ b/ext/hash/config.w32 @@ -0,0 +1,25 @@ +// $Id$ +// vim:ft=javascript + +ARG_ENABLE("hash", "enable hash support", "yes"); +ARG_WITH("mhash", "mhash support", "no"); + +if (PHP_MHASH != "no") { + if (PHP_HASH == "no") { + PHP_HASH = "yes"; + } + AC_DEFINE('PHP_MHASH_BC', 1); +} + +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 " + + "hash_adler32.c hash_crc32.c hash_joaat.c hash_fnv.c"); + + 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 " + + "php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h " + + "php_hash_types.h"); +} + |