Include --with-guile in 'show configuration's output.
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Jun 2014 17:54:16 +0000 (20:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Jun 2014 17:54:16 +0000 (20:54 +0300)
* top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
or --without-guile, according to how GDB was built.

gdb/ChangeLog
gdb/top.c

index 7f2d694..434d202 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
+       or --without-guile, according to how GDB was built.
+
 2014-06-13  Tom Tromey  <tromey@redhat.com>
 
        * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
index a137db5..722eb55 100644 (file)
--- 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\