$NetBSD$

--- configure.ac.orig	2012-07-12 19:50:58.000000000 +0000
+++ configure.ac
@@ -588,7 +588,7 @@ fi
 AC_SUBST(LIBDBI_LIBS)
 AC_SUBST(GNC_DBD_DIR)
 AM_CONDITIONAL(CUSTOM_GNC_DBD_DIR, [test x"$GNC_DBD_DIR" != "x"])
-AM_CONDITIONAL(WITH_DBI, [test "x$ac_cv_header_dbi_dbi_h" == xyes])
+AM_CONDITIONAL(WITH_DBI, [test "x$ac_cv_header_dbi_dbi_h" = xyes])
 
 ### --------------------------------------------------------------------------
 ### Variables
