1999-04-21 23:28:00 +00:00
|
|
|
dnl $Id$
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to enable bc style precision math functions)
|
|
|
|
AC_ARG_ENABLE(bcmath,
|
1999-07-17 10:14:04 +00:00
|
|
|
[ --enable-bcmath Compile with bc style precision math functions.
|
|
|
|
Read README-BCMATH for instructions on how to
|
|
|
|
get this module installed. ],
|
1999-04-21 23:28:00 +00:00
|
|
|
[
|
|
|
|
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
|
|
|
|
],[
|
1999-07-17 10:14:04 +00:00
|
|
|
AC_DEFINE(WITH_BCMATH, 0)
|
|
|
|
AC_MSG_RESULT(no)
|
1999-04-21 23:28:00 +00:00
|
|
|
])
|