Disable the use of external QOF and make sure we can co-exist.

* lib/libqof/qof/Makefile.am:
	  change the name of our qof library
	* lib/libqof/backend/file/Makefile.am:
	  change the name of our qsf library
	* lib/libqof/qof/qof.h:
	  point to the newly named qsf library
	* configure.in:
	  Error out if the user calls --enable-qof
	  Change the name of the internal qof library and directories
	  so that our qof can co-exist with a "native" qof



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14032 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2006-05-12 16:23:00 +00:00
parent b2c7e1a016
commit 953d77f0ef
5 changed files with 26 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
SUBDIRS = .
lib_LTLIBRARIES = libqof-backend-qsf.la
lib_LTLIBRARIES = libgncqof-backend-qsf.la
AM_CFLAGS = \
-I.. -I../.. \
@@ -9,12 +9,12 @@ AM_CFLAGS = \
${LIBXML2_CFLAGS} \
${GLIB_CFLAGS}
libqof_backend_qsf_la_SOURCES = \
libgncqof_backend_qsf_la_SOURCES = \
qsf-backend.c \
qsf-xml-map.c \
qsf-xml.c
libqof_backend_qsf_la_LIBADD = \
libgncqof_backend_qsf_la_LIBADD = \
${QOF_LIBS} \
${GLIB_LIBS} \
${LIBXML2_LIBS}

View File

@@ -1,7 +1,7 @@
lib_LTLIBRARIES = libqof.la
lib_LTLIBRARIES = libgncqof.la
libqof_la_LDFLAGS= -version-info $(LIBQOF_LIBRARY_VERSION)
libqof_la_LIBADD= \
libgncqof_la_LDFLAGS= -version-info $(LIBQOF_LIBRARY_VERSION)
libgncqof_la_LIBADD= \
$(GLIB_LIBS) \
$(top_builddir)/lib/libc/libc-missing.la
@@ -9,7 +9,7 @@ AM_CFLAGS = \
$(GLIB_CFLAGS) \
-I$(top_srcdir)/lib/libc
libqof_la_SOURCES = \
libgncqof_la_SOURCES = \
deprecated.c \
gnc-date.c \
gnc-numeric.c \

View File

@@ -104,9 +104,9 @@
#include "deprecated.h"
/** allow easy logging of QSF debug messages */
#define QOF_MOD_QSF "qof-backend-qsf"
#define QOF_MOD_QSF "gncqof-backend-qsf"
/** allow easy loading of the QSF backend */
#define QSF_BACKEND_LIB "libqof-backend-qsf"
#define QSF_BACKEND_LIB "libgncqof-backend-qsf"
/** allow easy loading of the QSF backend */
#define QSF_MODULE_INIT "qsf_provider_init"