summaryrefslogtreecommitdiff
path: root/ext/bcmath/config.m4
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-21 23:28:00 +0000
committerStig Bakken <ssb@php.net>1999-04-21 23:28:00 +0000
commitf9f82960d9a5cc7ab1bb0e6f5d24786927ca3da2 (patch)
treeb6edca88d742f4146f49e3affe6febc78a44f8cb /ext/bcmath/config.m4
parenta297b95c9da1b6138523f9b707a0fafe60e0d327 (diff)
downloadphp-git-f9f82960d9a5cc7ab1bb0e6f5d24786927ca3da2.tar.gz
moved bcmath
Diffstat (limited to 'ext/bcmath/config.m4')
-rw-r--r--ext/bcmath/config.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/ext/bcmath/config.m4 b/ext/bcmath/config.m4
new file mode 100644
index 0000000000..f916fb5e57
--- /dev/null
+++ b/ext/bcmath/config.m4
@@ -0,0 +1,19 @@
+dnl $Id$
+
+AC_MSG_CHECKING(whether to enable bc style precision math functions)
+AC_ARG_ENABLE(bcmath,
+[ --disable-bcmath Compile without bc style precision math functions. ],
+[
+ if test "$enableval" = "yes"; then
+ AC_DEFINE(WITH_BCMATH, 1)
+ AC_MSG_RESULT(yes)
+ PHP_EXTENSION(bcmath)
+ else
+ AC_DEFINE(WITH_BCMATH, 0)
+ AC_MSG_RESULT(no)
+ fi
+],[
+ AC_DEFINE(WITH_BCMATH, 1)
+ AC_MSG_RESULT(yes)
+ PHP_EXTENSION(bcmath)
+])