summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 50858b5..6045c42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,9 @@ LT_INIT
AC_PROG_CXX
AX_PKG_SWIG
GUILE_PKG([3.0 2.2])
-PKG_CHECK_MODULES([GUILE], [guile-2.2])
+PKG_CHECK_MODULES([GUILE], [guile-3.0],,[
+ PKG_CHECK_MODULES([GUILE], [guile-2.2])
+])
GUILE_PROGS
PKG_CHECK_MODULES([XAPIAN], [xapian-core])
PKG_CHECK_MODULES([ZLIB], [zlib])