1999-04-21 23:28:00 +00:00
|
|
|
dnl $Id$
|
|
|
|
|
2000-05-02 21:35:08 +00:00
|
|
|
PHP_ARG_ENABLE(bcmath,whether to enable bc style precision math functions,
|
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
|
2000-05-02 21:35:08 +00:00
|
|
|
get this module installed. ])
|
|
|
|
|
|
|
|
if test "$PHP_BCMATH" != "no"; then
|
|
|
|
AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
|
|
|
|
PHP_EXTENSION(bcmath, $ext_shared)
|
|
|
|
if test ! -f $ext_srcdir/number.c || grep "Dummy File" $ext_srcdir/number.c >/dev/null; then
|
2000-05-03 04:55:19 +00:00
|
|
|
AC_MSG_ERROR(You do not have the bcmath package. Please read the README.BCMATH file.)
|
1999-04-21 23:28:00 +00:00
|
|
|
fi
|
2000-05-02 21:35:08 +00:00
|
|
|
fi
|
2000-05-01 03:59:55 +00:00
|
|
|
|
|
|
|
dnl ## Local Variables:
|
|
|
|
dnl ## tab-width: 4
|
|
|
|
dnl ## End:
|