diff configure.ac @ 4762:53f27fcd3cd9

Make configure --with-database={dbm|gdbm} work again. 2009-12-01 Mike Alexander <mta@umich.edu> * configure.ac: Make --with-database={dbm|gdbm} work again, it's testing $ndbm_h_found which is never set. * configure: ditto
author Mike Alexander <mta@umich.edu>
date Wed, 02 Dec 2009 00:25:59 -0500
parents aa5ed11f473b
children 5460287a3327
line wrap: on
line diff
--- 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.")