summaryrefslogtreecommitdiff
path: root/ext/bcmath/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-03-07 14:20:02 +0000
committerSascha Schumann <sas@php.net>2002-03-07 14:20:02 +0000
commit9d9d39a0de3bec962c343051011f5a2ed7d7b242 (patch)
tree09eb178e4b55da1d73d059067a5ed96ecb2c6464 /ext/bcmath/config.m4
parent0e17eea049ba7c77351d2166e89524388922ce80 (diff)
downloadphp-git-9d9d39a0de3bec962c343051011f5a2ed7d7b242.tar.gz
Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt
Diffstat (limited to 'ext/bcmath/config.m4')
-rw-r--r--ext/bcmath/config.m411
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/bcmath/config.m4 b/ext/bcmath/config.m4
index 4d6e7bc028..a4fbb60030 100644
--- a/ext/bcmath/config.m4
+++ b/ext/bcmath/config.m4
@@ -7,8 +7,11 @@ PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
if test "$PHP_BCMATH" != "no"; then
AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
- PHP_EXTENSION(bcmath, $ext_shared)
- PHP_FAST_OUTPUT($ext_builddir/libbcmath/Makefile $ext_builddir/libbcmath/src/Makefile)
- LIB_BUILD($ext_builddir/libbcmath,$ext_shared,yes)
- LIB_BUILD($ext_builddir/libbcmath/src,$ext_shared,yes)
+ PHP_NEW_EXTENSION(bcmath, bcmath.c number.c \
+libbcmath/src/add.c libbcmath/src/div.c libbcmath/src/init.c libbcmath/src/neg.c libbcmath/src/outofmem.c libbcmath/src/raisemod.c libbcmath/src/rt.c libbcmath/src/sub.c \
+libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c libbcmath/src/output.c libbcmath/src/recmul.c \
+libbcmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/src/nearzero.c libbcmath/src/num2str.c libbcmath/src/raise.c \
+libbcmath/src/rmzero.c libbcmath/src/str2num.c,
+ $ext_shared,,-I@ext_srcdir@/libbcmath/src)
+ PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
fi