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, "-Iext/bcmath/libbcmath/src /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 \ 9 num2long.c output.c recmul.c sqrt.c zero.c debug.c doaddsub.c \ 10 nearzero.c num2str.c raise.c rmzero.c str2num.c", "bcmath"); 11 12 AC_DEFINE('HAVE_BCMATH', 1, 'Have BCMATH library'); 13} 14