Commit 88062b54 authored by Vagrant Cascadian's avatar Vagrant Cascadian

Refresh find-unversioned-guild patch.

parent 6c6be75c
......@@ -3,19 +3,19 @@ unversioned "guild".
Suggestion from https://notabug.org/guile-sqlite3/guile-sqlite3/issues/6
Index: guile-json-1.2.0/configure.ac
Index: guile-json/configure.ac
===================================================================
--- guile-json-1.2.0.orig/configure.ac
+++ guile-json-1.2.0/configure.ac
@@ -32,6 +32,11 @@ m4_pattern_forbid([^GUILE_PKG])
--- guile-json.orig/configure.ac
+++ guile-json/configure.ac
@@ -33,6 +33,11 @@ m4_pattern_forbid([^GUILE_PKG])
dnl Check for Guile 2.x, and substitute 'GUILE_EFFECTIVE_VERSION'.
GUILE_PKG([2.2 2.0])
dnl Check for Guile 2.x.
GUILE_PKG([3.0 2.2 2.0])
+AC_ARG_VAR([GUILD], [guild (Guile compiler) command])
+AS_IF([test "x$GUILD" = "x"],
+ [PKG_CHECK_VAR([GUILD], [guile-$GUILE_EFFECTIVE_VERSION], [guild], [],
+ [AC_MSG_ERROR(m4_normalize([
+ 'guild' binary not found; please check your Guile installation.]))])])
GUILE_PROGS
GUILE_SITE_DIR
AC_CONFIG_FILES([Makefile json/Makefile])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment