diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c8431b309f..6638cf49f2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-12-21 Eli Zaretskii + + * top.c (print_gdb_configuration): Print "--with-xxhash" or + "--without-xxhash" according to HAVE_LIBXXHASH. + 2019-12-18 Tom Tromey PR build/25268: diff --git a/gdb/top.c b/gdb/top.c index e8ed3b2747..3818422801 100644 --- 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\