cvs: /php4 README.bcmath /php4/ext/bcmath config.m4
| From: | Joey Smith | Date: | Mon, 01 May 2000 04:00:25 +0000 |
| Subject: | cvs: /php4 README.bcmath /php4/ext/bcmath config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14250@lists.php.net to get a copy of this message | ||
joey Sun Apr 30 21:00:25 2000 EDT
Removed files:
/php4 README.bcmath
Modified files:
/php4/ext/bcmath config.m4
Log:
There was already a perfectly good README-BCMATH, I just found the different naming confusing.
Index: php4/ext/bcmath/config.m4
diff -u php4/ext/bcmath/config.m4:1.5 php4/ext/bcmath/config.m4:1.6
--- php4/ext/bcmath/config.m4:1.5 Wed Jan 12 11:03:34 2000
+++ php4/ext/bcmath/config.m4 Sun Apr 30 20:59:55 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.5 2000/01/12 19:03:34 sas Exp $
+dnl $Id: config.m4,v 1.6 2000/05/01 03:59:55 joey Exp $
AC_MSG_CHECKING(whether to enable bc style precision math functions)
AC_ARG_ENABLE(bcmath,
@@ -10,6 +10,13 @@
AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
AC_MSG_RESULT(yes)
PHP_EXTENSION(bcmath)
+ if test -f $srcdir/ext/bcmath/number.c; then
+ if grep "Dummy File" $srcdir/ext/bcmath/number.c >/dev/null; then
+ AC_MSG_ERROR(You do not have the bcmath package. Please read the README-BCMATH.)
+ fi
+ else
+ AC_MSG_ERROR(You do not have the bcmath package. Please read the README-BCMATH.)
+ fi
else
AC_DEFINE(WITH_BCMATH, 0,[ ])
AC_MSG_RESULT(no)
@@ -18,3 +25,7 @@
AC_DEFINE(WITH_BCMATH, 0,[ ])
AC_MSG_RESULT(no)
])
+
+dnl ## Local Variables:
+dnl ## tab-width: 4
+dnl ## End: