]> granicus.if.org Git - graphviz/commitdiff
support Guile 2.2 in the Autotools build system
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 27 Dec 2020 22:19:27 +0000 (14:19 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 23 Jan 2021 22:45:01 +0000 (14:45 -0800)
The build system detection of Guile was relying on a binary named guile-config.
As of Guile 2.2, coexisting versions of Guile are supported and so the
guile-config binary is suffixed with its version. The result of this mismatch
was that the build system would fail to detect Guile 2.2 on platforms that did
not provide a guile-config redirection shim.

Guile 3.0 has already been out for awhile, but this commit does not add support
for it. The devel packages for it do not seem yet available on any major Linux
distro. We should extend this support to 3.0 when it becomes more widely
available if Graphviz' use of Guile is compatible. Related to #1885.

CHANGELOG.md
configure.ac

index 56a101027584b29122af265324c153213276e8cf..330a3e533d623b459bd650ef326146f91f95fc00 100644 (file)
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Added
+- Support for building against Guile 2.2
+
 ### Changed
 - CentOS/RHEL 6 is no longer supported
 - Vestiges of Qt4 support have been removed
index 80d6ce1f67a822dfd04155fc57041c1e9673c5a3..1c779fb2d78971f29b5cccb471d12d856866f27c 100644 (file)
@@ -701,7 +701,7 @@ else
     if test `$SWIG -help 2>&1 | $EGREP -c '\-guile *- Generate'` = 0; then
       use_guile="No (swig does not support -guile option)"
     else
-      AC_CHECK_PROGS(GUILE_CONFIG,guile-config)
+      AC_CHECK_PROGS(GUILE_CONFIG,guile-config2.2 guile-config)
       if test "x$GUILE_CONFIG" = "x"; then
         use_guile="No (guile not available)"
       else