summaryrefslogtreecommitdiff
path: root/ext/bcmath/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-12-09 23:59:33 +0000
committerfoobar <sniper@php.net>2003-12-09 23:59:33 +0000
commita08c1e4dce535ba70a5e3d954fce1a3b05411f4b (patch)
tree0a8fea3582a94b82772086262af675d0bdddb60d /ext/bcmath/config.m4
parent398ab9756a6c6c64f855ed578dd86a9d31168f6e (diff)
downloadphp-git-a08c1e4dce535ba70a5e3d954fce1a3b05411f4b.tar.gz
- Brought ext/bcmath to the new millennium
# consistency..
Diffstat (limited to 'ext/bcmath/config.m4')
-rw-r--r--ext/bcmath/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/config.m4 b/ext/bcmath/config.m4
index 0e008e736d..d5e13e83ef 100644
--- a/ext/bcmath/config.m4
+++ b/ext/bcmath/config.m4
@@ -6,7 +6,6 @@ PHP_ARG_ENABLE(bcmath, whether to enable bc style precision math functions,
[ --enable-bcmath Enable bc style precision math functions.])
if test "$PHP_BCMATH" != "no"; then
- AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
PHP_NEW_EXTENSION(bcmath, bcmath.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 \
@@ -14,4 +13,5 @@ libbcmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/do
libbcmath/src/rmzero.c libbcmath/src/str2num.c,
$ext_shared,,-I@ext_srcdir@/libbcmath/src)
PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
+ AC_DEFINE(HAVE_BCMATH, 1, [Whether you have bcmath])
fi