AUDIT: r21867 - gnucash/trunk - Reverse the test for HAVE_DBI

John Ralls jralls at code.gnucash.org
Fri Jan 20 16:06:29 EST 2012


Author: jralls
Date: 2012-01-20 16:06:29 -0500 (Fri, 20 Jan 2012)
New Revision: 21867
Trac: http://svn.gnucash.org/trac/changeset/21867

Modified:
   gnucash/trunk/configure.ac
Log:
Reverse the test for HAVE_DBI


ac_cv_header_dbi_dbi_h is set only if want_dbi is true, so testing for != no succeeds if dbi isn't enabled -- which is not what we want.

BP

Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac	2012-01-19 20:28:51 UTC (rev 21866)
+++ gnucash/trunk/configure.ac	2012-01-20 21:06:29 UTC (rev 21867)
@@ -545,7 +545,7 @@
 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" != xno])
+AM_CONDITIONAL(WITH_DBI, [test "x$ac_cv_header_dbi_dbi_h" == xyes])
 
 ### --------------------------------------------------------------------------
 ### Variables



More information about the gnucash-changes mailing list