xref: /php-src/ext/bcmath/config.w32 (revision fad899e5)
1// vim:ft=javascript
2
3ARG_ENABLE("bcmath", "bc style precision math functions", "yes");
4
5if (PHP_BCMATH == "yes") {
6	EXTENSION("bcmath", "bcmath.c",	null, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
7	ADD_SOURCES("ext/bcmath/libbcmath/src", "add.c div.c init.c neg.c \
8		raisemod.c sub.c compare.c divmod.c int2num.c long2num.c \
9		num2long.c recmul.c sqrt.c zero.c doaddsub.c \
10		floor_or_ceil.c nearzero.c num2str.c raise.c rmzero.c str2num.c \
11		round.c convert.c", "bcmath");
12
13	AC_DEFINE('HAVE_BCMATH', 1, "Define to 1 if the PHP extension 'bcmath' is available.");
14}
15