]> granicus.if.org Git - php/commitdiff
MFH: deprecate ext/db
authorMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 16:37:51 +0000 (16:37 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 15 Nov 2002 16:37:51 +0000 (16:37 +0000)
configure.in
ext/db/config.m4

index b93005648ea324e05da6601c3893a72f5938bac2..d7a7aa982fbf7f527c4e705b9df83896164bd7fd 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 fully 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