aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-02-26 02:30:06 +0530
committerArun Isaac2020-02-26 02:30:06 +0530
commit3414d8544fc34c79e391913e08b7262d1ab94c71 (patch)
tree4405b39d2410d60097d0f1cb59174197cabe2745
parent15e1961e2a72f080e696339b345d6c91c85e8cc3 (diff)
downloadguile-xapian-3414d8544fc34c79e391913e08b7262d1ab94c71.tar.gz
guile-xapian-3414d8544fc34c79e391913e08b7262d1ab94c71.tar.lz
guile-xapian-3414d8544fc34c79e391913e08b7262d1ab94c71.zip
Support guile 3.0.
* configure.ac: Check for guile 3.0. If not found, check for guile 2.2.
-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])