Patch from Thomas Klausner to enable building with goffice-0.4.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16092 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-05-17 13:28:48 +00:00
parent d6de54691d
commit 668b42be04

View File

@ -1103,11 +1103,13 @@ then
AC_SUBST(GLADE_CFLAGS)
AC_SUBST(GLADE_LIBS)
PKG_CHECK_MODULES(GOFFICE, libgoffice-0.4 >= 0.4.0, [], [
PKG_CHECK_MODULES(GOFFICE, libgoffice-0.3 >= 0.3.0, [], [
PKG_CHECK_MODULES(GOFFICE, libgoffice-1 >= 0.0.4, [], [
AC_MSG_ERROR([Cannot find libgoffice.])
])
])
])
AS_SCRUB_INCLUDE(GOFFICE_CFLAGS)
AC_SUBST(GOFFICE_CFLAGS)
AC_SUBST(GOFFICE_LIBS)