diff options
Diffstat (limited to 'ext/bcmath/config.m4')
| -rw-r--r-- | ext/bcmath/config.m4 | 19 |
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) +]) |
