r16702 - gnucash/branches/gda-dev2 - Fix compilation problem
Phil Longstaff
plongstaff at cvs.gnucash.org
Sun Dec 23 16:37:20 EST 2007
Author: plongstaff
Date: 2007-12-23 16:37:19 -0500 (Sun, 23 Dec 2007)
New Revision: 16702
Trac: http://svn.gnucash.org/trac/changeset/16702
Modified:
gnucash/branches/gda-dev2/configure.in
gnucash/branches/gda-dev2/src/business/business-core/gda/gnc-customer-gda.c
Log:
Fix compilation problem
Modified: gnucash/branches/gda-dev2/configure.in
===================================================================
--- gnucash/branches/gda-dev2/configure.in 2007-12-23 20:56:51 UTC (rev 16701)
+++ gnucash/branches/gda-dev2/configure.in 2007-12-23 21:37:19 UTC (rev 16702)
@@ -603,6 +603,25 @@
AC_SUBST(QOF_LIB_DIR)
AC_SUBST(QOF_XML_DIR)
+AC_DEFINE(QOF_DISABLE_DEPRECATED,1, [Don't use deprecated qof functions])
+
+### -----------------------
+### LIBGDA
+AC_ARG_ENABLE(gda,
+ [ --disable-gda build without the libgda backend],
+ [case "${enableval}" in
+ yes) want_gda=true ;;
+ no) want_gda=false ;;
+ *) want_gda=true ;;
+ esac],[want_gda=true])
+if test x${want_gda} = xtrue
+then
+ PKG_CHECK_MODULES(LIBGDA, libgda-3.0 >= 2.99.2, [GDA_DIR=gda])
+fi
+AC_SUBST(GDA_DIR)
+AC_SUBST(LIBGDA_CFLAGS)
+AC_SUBST(LIBGDA_LIBS)
+
### --------------------------------------------------------------------------
### Variables
### Set up all the initial variable values...
Modified: gnucash/branches/gda-dev2/src/business/business-core/gda/gnc-customer-gda.c
===================================================================
--- gnucash/branches/gda-dev2/src/business/business-core/gda/gnc-customer-gda.c 2007-12-23 20:56:51 UTC (rev 16701)
+++ gnucash/branches/gda-dev2/src/business/business-core/gda/gnc-customer-gda.c 2007-12-23 21:37:19 UTC (rev 16702)
@@ -36,6 +36,7 @@
#include "gnc-customer-gda.h"
#include "gnc-address-gda.h"
#include "gnc-bill-term-gda.h"
+#include "gnc-tax-table-gda.h"
#define _GNC_MOD_NAME GNC_ID_CUSTOMER
More information about the gnucash-changes
mailing list