gnucash maint: Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)

Geert Janssens gjanssens at code.gnucash.org
Tue Nov 3 06:09:33 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/68f1db9e (commit)
	from  https://github.com/Gnucash/gnucash/commit/16bc91d6 (commit)



commit 68f1db9ed68f44d41dc13671a380ef859fbabd8a
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Tue Nov 3 12:19:44 2015 +0100

    Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)
    
    While we can't support libgoffice 0.10 because that would require gtk3
    we can improve the error message if no libgoffice 0.8.x version is found.

diff --git a/configure.ac b/configure.ac
index ffc011c..4eec91d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1047,7 +1047,7 @@ then
   AC_SUBST(GDK_PIXBUF_LIBS)
 
    # checks for goffice
-  PKG_CHECK_MODULES(GOFFICE, libgoffice-0.8 >= 0.7.0, [goffice=1], [AC_MSG_ERROR([Cannot find libgoffice.>= 0.7.0])])
+  PKG_CHECK_MODULES(GOFFICE, libgoffice-0.8 >= 0.7.0 libgoffice-0.8 < 0.9.0, [goffice=1], [AC_MSG_ERROR([Cannot find libgoffice >= 0.7.0 and < 0.9.0])])
   AS_SCRUB_INCLUDE(GOFFICE_CFLAGS)
   AC_SUBST(GOFFICE_CFLAGS)
   AC_SUBST(GOFFICE_LIBS)



Summary of changes:
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list