]> granicus.if.org Git - php/commitdiff
db is deprecated now
authorMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 11:49:58 +0000 (11:49 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 11:49:58 +0000 (11:49 +0000)
configure.in
ext/db/config.m4

index fa471f68b357634d6644844ae3600023f3f27ec0..241ef85b7c3f1643aa2d9b4082796222f2f31783 100644 (file)
@@ -1235,6 +1235,17 @@ cat <<X
 X
   fi
 
+  if test "$PHP_DB" != "no"; then
+cat <<X
++--------------------------------------------------------------------+
+|                        *** WARNING ***                             |
+|                                                                    |
+| You chose to compile PHP with DB extension. This extension is      |
+| deprecated and does not support databse locking correctly. Please  |
+| use DBA extension which is a full operational superset.            |
+X
+  fi
+
   if test "$MYSQL_MODULE_TYPE" = "builtin" && test "$PHP_SAPI" != "cgi" && test "$PHP_SAPI" != "cli" && test "$php_multiple_shlib_versions_ok" != "yes"; then
 cat <<X
 +--------------------------------------------------------------------+
index 9f4a102aad7eba65d20d664b8d7d0d51516b1852..e425de42a37f3c40fc5ef682c47cb14335a6f086 100644 (file)
@@ -26,7 +26,7 @@ AC_DEFUN(AC_PREFERRED_DB_LIB,[
 
 
 PHP_ARG_WITH(db, for xDBM support,
-[  --with-db               Include old xDBM support (deprecated)])
+[  --with-db               Include old xDBM support (deprecated use --with-dba)])
 
 if test "$PHP_DB" != "no"; then