From 97d66cc602ec5abfcb6fc6baaf3d6edbde4fcbfb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 14 Jun 2014 20:54:16 +0300 Subject: [PATCH] Include --with-guile in 'show configuration's output. * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile or --without-guile, according to how GDB was built. --- gdb/ChangeLog | 5 +++++ gdb/top.c | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f2d694c5c4..434d202cee7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-06-14 Eli Zaretskii + + * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile + or --without-guile, according to how GDB was built. + 2014-06-13 Tom Tromey * cp-support.c (maint_cplus_command): Pass all_commands, not -1, diff --git a/gdb/top.c b/gdb/top.c index a137db5b165..722eb55ae1f 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1188,6 +1188,15 @@ This GDB was configured as follows:\n\ --with-python=%s%s\n\ "), WITH_PYTHON_PATH, PYTHON_PATH_RELOCATABLE ? " (relocatable)" : ""); #endif +#if HAVE_GUILE + fprintf_filtered (stream, _("\ + --with-guile\n\ +")); +#else + fprintf_filtered (stream, _("\ + --without-guile\n\ +")); +#endif #ifdef RELOC_SRCDIR fprintf_filtered (stream, _("\ --with-relocated-sources=%s\n\ -- 2.30.2