r16388 - gnucash/trunk/src/engine - If there's no SQL_DIR, then there's no SQL module to load. So don't. :p
Josh Sled
jsled at cvs.gnucash.org
Sun Aug 5 17:44:22 EDT 2007
Author: jsled
Date: 2007-08-05 17:44:21 -0400 (Sun, 05 Aug 2007)
New Revision: 16388
Trac: http://svn.gnucash.org/trac/changeset/16388
Modified:
gnucash/trunk/src/engine/gnc-engine.c
Log:
If there's no SQL_DIR, then there's no SQL module to load. So don't. :p
Modified: gnucash/trunk/src/engine/gnc-engine.c
===================================================================
--- gnucash/trunk/src/engine/gnc-engine.c 2007-08-05 21:24:16 UTC (rev 16387)
+++ gnucash/trunk/src/engine/gnc-engine.c 2007-08-05 21:44:21 UTC (rev 16388)
@@ -77,8 +77,10 @@
gboolean required;
} libs[] = {
{ GNC_LIB_NAME, TRUE },
+#ifdef SQL_DIR
/* shouldn't the PG gnc-module do this instead of US doing it? */
{ "gnc-backend-postgres", FALSE },
+#endif
{ NULL, FALSE } }, *lib;
gnc_engine_init_hook_t hook;
GList * cur;
More information about the gnucash-changes
mailing list