From 68f1db9ed68f44d41dc13671a380ef859fbabd8a Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Tue, 3 Nov 2015 12:19:44 +0100 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ffc011c02e..4eec91d932 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)