php4-beta | 200004

[PHP4BETA] cvs: /php4 README.bcmath /php4/ext/bcmath config.m4 From: Joey Smith (joey <email protected>)
Date: 05/01/00

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:

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>