mirror of
https://github.com/php/php-src.git
synced 2024-10-05 16:56:11 +00:00
20 lines
445 B
Plaintext
20 lines
445 B
Plaintext
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)
|
|
])
|