|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-08-02 06:26 UTC] tietew at tietew dot net
Description: ------------ I want to compile PHP with dba but I don't want to include cdb support in order to resolve libcdb confliction problem temporarily. I passed "--enable-dba --without-cdb" to configure script but the script have ignored --without-cdb. Reproduce code: --------------- ./configure --enable-dba --with-gdbm --with-db4 --without-cdb Expected result: ---------------- PHP is compiled with dba but without cdb support. Actual result: -------------- PHP is compiled with cdb support. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
Marcus. from what I can see, you enable most of the dba options even if they were explicitly disabled: Index: ext/dba/config.m4 =================================================================== RCS file: /repository/php-src/ext/dba/config.m4,v retrieving revision 1.70.2.2 diff -u -p -d -r1.70.2.2 config.m4 --- ext/dba/config.m4 29 Nov 2005 18:25:58 -0000 1.70.2.2 +++ ext/dba/config.m4 2 Aug 2006 09:21:07 -0000 @@ -463,7 +463,7 @@ AC_DEFUN([PHP_DBA_BUILTIN_CDB],[ AC_ARG_WITH(cdb, [ --with-cdb[=DIR] DBA: Include CDB support],[ - if test "$withval" = "yes" || test "$HAVE_DBA" = "1"; then + if test "$withval" = "yes"; then PHP_DBA_BUILTIN_CDB elif test "$withval" != "no"; then PHP_DBA_STD_BEGIN @@ -493,7 +493,7 @@ AC_ARG_WITH(cdb, PHP_DBA_STD_ATTACH fi ],[ - if test "$PHP_DBA" != "no" || test "$HAVE_DBA" = "1"; then + if test "$PHP_DBA" != "no"; then PHP_DBA_BUILTIN_CDB fi ]) @@ -511,7 +511,7 @@ AC_ARG_WITH(inifile, PHP_DBA_BUILTIN_INI fi ],[ - if test "$PHP_DBA" != "no" || test "$HAVE_DBA" = "1"; then + if test "$PHP_DBA" != "no"; then PHP_DBA_BUILTIN_INI fi ]) @@ -532,7 +532,7 @@ AC_ARG_WITH(flatfile, PHP_DBA_BUILTIN_FLATFILE fi ],[ - if test "$PHP_DBA" != "no" || test "$HAVE_DBA" = "1"; then + if test "$PHP_DBA" != "no"; then PHP_DBA_BUILTIN_FLATFILE fi ])