mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
cd05b56a6f
Also do a bit of refactoring at the same time. Closes GH-6105
14 lines
526 B
JavaScript
14 lines
526 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_ENABLE("bcmath", "bc style precision math functions", "yes");
|
|
|
|
if (PHP_BCMATH == "yes") {
|
|
EXTENSION("bcmath", "bcmath.c", null, "-Iext/bcmath/libbcmath/src /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
|
|
ADD_SOURCES("ext/bcmath/libbcmath/src", "add.c div.c init.c neg.c \
|
|
raisemod.c sub.c compare.c divmod.c int2num.c \
|
|
num2long.c output.c recmul.c sqrt.c zero.c debug.c doaddsub.c \
|
|
nearzero.c num2str.c raise.c rmzero.c str2num.c", "bcmath");
|
|
|
|
AC_DEFINE('HAVE_BCMATH', 1, 'Have BCMATH library');
|
|
}
|