# HG changeset patch # User Mike Alexander # Date 1259731559 18000 # Node ID 53f27fcd3cd99d81dcfbd2c7de9ca6d746b5a801 # Parent b604d235f0280df7e4fa51d906eabbdbc9069a4a Make configure --with-database={dbm|gdbm} work again. 2009-12-01 Mike Alexander * configure.ac: Make --with-database={dbm|gdbm} work again, it's testing $ndbm_h_found which is never set. * configure: ditto diff -r b604d235f028 -r 53f27fcd3cd9 ChangeLog --- a/ChangeLog Sun Nov 22 11:31:36 2009 +0100 +++ b/ChangeLog Wed Dec 02 00:25:59 2009 -0500 @@ -1,3 +1,9 @@ +2009-12-01 Mike Alexander + + * configure.ac: Make --with-database={dbm|gdbm} work again, it's + testing $ndbm_h_found which is never set. + * configure: ditto + 2009-11-10 Jerry James * Makefile.in.in: Remove dynodump support. Delete out-of-date comment diff -r b604d235f028 -r 53f27fcd3cd9 configure --- a/configure Sun Nov 22 11:31:36 2009 +0100 +++ b/configure Wed Dec 02 00:25:59 2009 -0500 @@ -38578,7 +38578,7 @@ done - if test "$ndbm_h_found" != "yes"; then + if test "x$ndbm_h_file" = "x"; then test "$enable_database_gdbm" = "yes" -o \ "$enable_database_dbm" = "yes" && \ { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } @@ -42039,7 +42039,8 @@ if test -n "$CONFIG_FILES"; then -ac_cr=' ' +ac_cr=' +' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' diff -r b604d235f028 -r 53f27fcd3cd9 configure.ac --- a/configure.ac Sun Nov 22 11:31:36 2009 +0100 +++ b/configure.ac Wed Dec 02 00:25:59 2009 -0500 @@ -5035,7 +5035,7 @@ if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then ndbm_h_file="" AC_CHECK_HEADERS([ndbm.h gdbm/ndbm.h],[ndbm_h_file=$ac_header; break;],[],[]) - if test "$ndbm_h_found" != "yes"; then + if test "x$ndbm_h_file" = "x"; then test "$enable_database_gdbm" = "yes" -o \ "$enable_database_dbm" = "yes" && \ XE_DIE("Required DBM support cannot be provided.")