1// $Id$ 2// vim:ft=javascript 3 4ARG_ENABLE("bcmath", "bc style precision math functions", "yes"); 5 6if (PHP_BCMATH == "yes") { 7 EXTENSION("bcmath", "bcmath.c", null, "-Iext/bcmath/libbcmath/src"); 8 ADD_SOURCES("ext/bcmath/libbcmath/src", "add.c div.c init.c neg.c \ 9 outofmem.c raisemod.c rt.c sub.c compare.c divmod.c int2num.c \ 10 num2long.c output.c recmul.c sqrt.c zero.c debug.c doaddsub.c \ 11 nearzero.c num2str.c raise.c rmzero.c str2num.c", "bcmath"); 12 13 AC_DEFINE('HAVE_BCMATH', 1, 'Have BCMATH library'); 14} 15