[PATCH] Don't try building gdb against guile-2.2

Simon Marchi simon.marchi@polymtl.ca
Sun Oct 8 16:47:00 GMT 2017


GDB currently doesn't build with Guile 2.2 (see PR 21104).  If one has
both Guile 2.2 and 2.0 installed, GDB will pick up Guile 2.2 first and
fail building.  Until somebody does the work of adapting the GDB code to
Guile 2.2, we should not try using it.  This patch therefore removes it
from configure.

gdb/ChangeLog:

	* configure.ac (try_guile_versions): Remove guile-2.2.
	* configure: Regenerate.
---
 gdb/configure    | 4 ++--
 gdb/configure.ac | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/configure b/gdb/configure
index 4d473cc934..6b445e4f67 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -5950,7 +5950,7 @@ DEPDIR="${am__leading_dot}deps"
 ac_config_commands="$ac_config_commands depdir"
 
 
-# Create sub-directories for objects and depedencies.
+# Create sub-directories for objects and dependencies.
 CONFIG_SRC_SUBDIR="arch"
 
 
@@ -10313,7 +10313,7 @@ fi
 
 
 
-try_guile_versions="guile-2.2 guile-2.0"
+try_guile_versions="guile-2.0"
 have_libguile=no
 case "${with_guile}" in
 no)
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 4d8d6c7e76..4e64c80f62 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1138,7 +1138,7 @@ AC_MSG_RESULT([$with_guile])
 dnl We check guile with pkg-config.
 AC_PATH_PROG(pkg_config_prog_path, pkg-config, missing)
 
-try_guile_versions="guile-2.2 guile-2.0"
+try_guile_versions="guile-2.0"
 have_libguile=no
 case "${with_guile}" in
 no)
-- 
2.14.2



More information about the Gdb-patches mailing list