From 3414d8544fc34c79e391913e08b7262d1ab94c71 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 26 Feb 2020 02:30:06 +0530 Subject: Support guile 3.0. * configure.ac: Check for guile 3.0. If not found, check for guile 2.2. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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]) -- cgit v1.2.3