ID: 38290 Updated by: [EMAIL PROTECTED] Reported By: tietew at tietew dot net -Status: Open +Status: Assigned Bug Type: *Configuration Issues Operating System: Linux PHP Version: 5.1.4 -Assigned To: +Assigned To: helly New Comment:
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 ]) Previous Comments: ------------------------------------------------------------------------ [2006-08-02 06:26:22] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38290&edit=1