If there's no SQL_DIR, then there's no SQL module to load. So don't. :p

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16388 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2007-08-05 21:44:21 +00:00
parent f5923ae956
commit a1be6f3458

View File

@@ -77,8 +77,10 @@ gnc_engine_init(int argc, char ** argv)
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;