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-09-13 17:17:51 +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
|
1999-12-30 04:07:46 +00:00
|
|
|
AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
|
1999-04-21 23:28:00 +00:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
PHP_EXTENSION(bcmath)
|
|
|
|
else
|
2000-01-12 19:03:34 +00:00
|
|
|
AC_DEFINE(WITH_BCMATH, 0,[ ])
|
1999-04-21 23:28:00 +00:00
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
],[
|
2000-01-12 19:03:34 +00:00
|
|
|
AC_DEFINE(WITH_BCMATH, 0,[ ])
|
1999-07-17 10:14:04 +00:00
|
|
|
AC_MSG_RESULT(no)
|
1999-04-21 23:28:00 +00:00
|
|
|
])
|