build: rework guile setup

Use an update guile.m4; it seems different systems (Fedora, arch,
gentoo, ...) have guile installed under different names. Try to handle
all of those.

For this, we include the upstream guile.m4 and add support for
guile-snarf.
This commit is contained in:
djcb
2018-05-28 13:22:13 +03:00
parent 426b9a50c7
commit d8db74d422
3 changed files with 413 additions and 61 deletions

View File

@ -20,4 +20,5 @@ EXTRA_DIST = \
ax_cxx_compile_stdcxx.m4 \
ax_cxx_compile_stdcxx_14.m4 \
ax_valgrind_check.m4 \
guile.m4 \
perlmod.m4