r21868 - gnucash/branches/2.4 - [r21867]Reverse the test for HAVE_DBI

John Ralls jralls at code.gnucash.org
Fri Jan 20 16:10:47 EST 2012


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

Modified:
   gnucash/branches/2.4/configure.ac
Log:
[r21867]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.

Modified: gnucash/branches/2.4/configure.ac
===================================================================
--- gnucash/branches/2.4/configure.ac	2012-01-20 21:06:29 UTC (rev 21867)
+++ gnucash/branches/2.4/configure.ac	2012-01-20 21:10:47 UTC (rev 21868)
@@ -588,7 +588,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