[PATCH 3/3] Check for guile-2.0 as well as guile-1.8.
Bill Nottingham
notting at redhat.com
Fri May 13 16:21:29 EDT 2011
---
configure.ac | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 25a5dbf..6d569e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -370,12 +370,13 @@ fi
GUILE_LIBS=""
# Look up GUILE_CFLAGS and GUILE_LIBS, and version check
-PKG_CHECK_MODULES(GUILE, [guile-1.8 >= 1.8.5], , [AC_MSG_ERROR([
-
- guile does not appear to be installed correctly, or is not in the
- correct version range. Perhaps you have not installed the guile
- development packages? Gnucash requires at least version 1.8.5 to build.
-])])
+PKG_CHECK_MODULES(GUILE, [guile-1.8 >= 1.8.5], , [
+ PKG_CHECK_MODULES(GUILE, [guile-2.0 >= 2.0.0], , [AC_MSG_ERROR([
+ guile does not appear to be installed correctly, or is not in the
+ correct version range. Perhaps you have not installed the guile
+ development packages? Gnucash requires at least version 1.8.5 to build.
+ ])])
+])
# Look up GUILE executable
AC_PATH_PROG(GUILE, guile)
--
1.7.5.1
More information about the gnucash-devel
mailing list