Annotation of embedaddon/php/ext/hash/config.m4, revision 1.1
1.1 ! misho 1: dnl $Id: config.m4 271856 2008-12-25 13:35:05Z scottmac $
! 2: dnl config.m4 for extension hash
! 3:
! 4: PHP_ARG_WITH(mhash, for mhash support,
! 5: [ --with-mhash[=DIR] Include mhash support])
! 6:
! 7: PHP_ARG_ENABLE(hash, whether to enable hash support,
! 8: [ --disable-hash Disable hash support], yes)
! 9:
! 10: if test "$PHP_MHASH" != "no"; then
! 11: if test "$PHP_HASH" = "no"; then
! 12: PHP_HASH="yes"
! 13: fi
! 14:
! 15: AC_DEFINE(PHP_MHASH_BC, 1, [ ])
! 16: fi
! 17:
! 18: if test "$PHP_HASH" != "no"; then
! 19: AC_DEFINE(HAVE_HASH_EXT,1,[Have HASH Extension])
! 20:
! 21: PHP_C_BIGENDIAN
! 22:
! 23: AC_CHECK_SIZEOF(short, 2)
! 24: AC_CHECK_SIZEOF(int, 4)
! 25: AC_CHECK_SIZEOF(long, 4)
! 26: AC_CHECK_SIZEOF(long long, 8)
! 27:
! 28: EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \
! 29: hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c hash_adler32.c \
! 30: hash_crc32.c hash_salsa.c"
! 31: EXT_HASH_HEADERS="php_hash.h php_hash_md.h php_hash_sha.h php_hash_ripemd.h \
! 32: php_hash_haval.h php_hash_tiger.h php_hash_gost.h php_hash_snefru.h \
! 33: php_hash_whirlpool.h php_hash_adler32.h php_hash_crc32.h php_hash_salsa.h \
! 34: php_hash_types.h"
! 35:
! 36: PHP_NEW_EXTENSION(hash, $EXT_HASH_SOURCES, $ext_shared)
! 37: ifdef([PHP_INSTALL_HEADERS], [
! 38: PHP_INSTALL_HEADERS(ext/hash, $EXT_HASH_HEADERS)
! 39: ])
! 40: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>