]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
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 7f2d694c5c4e6bee0f2823698526357f7598ebed..434d202cee796b6768a641694590f8b6eda8a776 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 a137db5b165f54deb431c0cd2f502076ad29b93d..722eb55ae1f4aded0065a7ded25745650b77678b 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\