From: Marcus Boerger Date: Thu, 29 May 2003 12:33:19 +0000 (+0000) Subject: MFB (these parts were missing) X-Git-Tag: RELEASE_1_0_2~547 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afc3b8b6dc76c16fbd363aa12c587eb3aa72349a;p=php MFB (these parts were missing) --- diff --git a/ext/dba/config.m4 b/ext/dba/config.m4 index 10db5f6823..fa8ebb0525 100644 --- a/ext/dba/config.m4 +++ b/ext/dba/config.m4 @@ -140,7 +140,7 @@ AC_DEFUN(PHP_DBA_DB_CHECK,[ AC_TRY_LINK([ #include "$THIS_INCLUDE" ],[ - (void)db_create((DB**)0, (DB_ENV*)0, 0); + $3; ],[ AC_EGREP_CPP(yes,[ #include "$THIS_INCLUDE" @@ -329,8 +329,10 @@ AC_ARG_WITH(dbm, fi AC_DEFINE(DBA_DBM,1,[ ]) THIS_LIBS=$LIB - break ]) + if test -n "$THIS_LIBS"; then + break + fi ]) done fi @@ -352,7 +354,7 @@ AC_DEFUN(PHP_DBA_BUILTIN_CDB,[ AC_ARG_WITH(cdb, [ --with-cdb[=DIR] DBA: Include CDB support],[ - if test "$withval" = "yes"; then + if test "$withval" = "yes" -o "$HAVE_DBA" = "1"; then PHP_DBA_BUILTIN_CDB elif test "$withval" != "no"; then PHP_DBA_STD_BEGIN