summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-12-02 23:17:04 +0000
committerWez Furlong <wez@php.net>2003-12-02 23:17:04 +0000
commit05b9b20ed8e2f98b3fb71a227e49e11bdf7b9c6b (patch)
tree70b88eab212d192b86f10a5dedfcedb92785f840 /ext/bcmath
parent30b631d9f613e1644123e9cea0285ff1f7278b08 (diff)
downloadphp-git-05b9b20ed8e2f98b3fb71a227e49e11bdf7b9c6b.tar.gz
Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/config.w3214
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/bcmath/config.w32 b/ext/bcmath/config.w32
new file mode 100644
index 0000000000..32cead8fcb
--- /dev/null
+++ b/ext/bcmath/config.w32
@@ -0,0 +1,14 @@
+// $Id$
+// 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");
+ ADD_SOURCES("ext/bcmath/libbcmath/src", "add.c div.c init.c neg.c \
+ outofmem.c raisemod.c rt.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('WITH_BCMATH', 1, 'Have BCMATH library');
+}