Include xxHash support status in GDB configuration report
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2019 07:23:44 +0000 (09:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Dec 2019 07:31:57 +0000 (09:31 +0200)
gdb/ChangeLog
2019-12-21  Eli Zaretskii  <eliz@gnu.org>

* top.c (print_gdb_configuration): Print "--with-xxhash" or
"--without-xxhash" according to HAVE_LIBXXHASH.

(cherry picked from commit 15b07e4f5672cf02487a26305ac3b2ddd0aec68e)

gdb/ChangeLog
gdb/top.c

index c8431b309fa7a0dec80de81eeb27655c182b2778..6638cf49f2b64b1b25b20a74c5e7447f0ed41592 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * top.c (print_gdb_configuration): Print "--with-xxhash" or
+       "--without-xxhash" according to HAVE_LIBXXHASH.
+
 2019-12-18  Tom Tromey  <tromey@adacore.com>
 
        PR build/25268:
index e8ed3b2747eebc8b1414225984e009ddc82630ee..38184228015e1e4d6d22aec998511543bab6b90a 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -1469,32 +1469,41 @@ This GDB was configured as follows:\n\
 "));
 #endif
 #if HAVE_LIBBABELTRACE
-    fprintf_filtered (stream, _("\
+  fprintf_filtered (stream, _("\
              --with-babeltrace\n\
 "));
 #else
-    fprintf_filtered (stream, _("\
-             --without-babeltrace\n\
+  fprintf_filtered (stream, _("\
+             --without-babeltrace\n            \
 "));
 #endif
 #if HAVE_LIBIPT
-    fprintf_filtered (stream, _("\
+  fprintf_filtered (stream, _("\
              --with-intel-pt\n\
 "));
 #else
-    fprintf_filtered (stream, _("\
+  fprintf_filtered (stream, _("\
              --without-intel-pt\n\
 "));
 #endif
 #if HAVE_LIBMPFR
-    fprintf_filtered (stream, _("\
+  fprintf_filtered (stream, _("\
              --with-mpfr\n\
 "));
 #else
-    fprintf_filtered (stream, _("\
+  fprintf_filtered (stream, _("\
              --without-mpfr\n\
 "));
 #endif
+#if HAVE_LIBXXHASH
+  fprintf_filtered (stream, _("\
+             --with-xxhash\n\
+"));
+#else
+  fprintf_filtered (stream, _("\
+             --without-xxhash\n\
+"));
+#endif
 #ifdef WITH_PYTHON_PATH
   fprintf_filtered (stream, _("\
              --with-python=%s%s\n\
This page took 0.030705 seconds and 4 git commands to generate.