]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/configure: use AC_MSG_NOTICE not a direct echo call
authorAndrew Burgess <aburgess@redhat.com>
Sat, 6 Apr 2024 15:39:34 +0000 (16:39 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 8 Apr 2024 09:25:41 +0000 (10:25 +0100)
commitff69d6e9af3bb04cd484f48661d5e47ea366b2d5
tree48e7626573d95c5b33a87d19710d387f31d709d7
parentb6a12c14513f1c46a74a78eebe0e57a7e3c93846
gdb/configure: use AC_MSG_NOTICE not a direct echo call

After the recent commits, I noticed that GDB's configure script would
still emit two lines even when run in silent mode.  If you touch
gdb/Makefile.in and then run 'make all' in the gdb/ build directory
you'll see this:

    GEN    config.status
  enable_sim = no
  enableval = no

Obviously the 'no' might be 'yes' depending on how you actually
configured GDB.

This is caused by two direct invocations of 'echo' in GDB's
configure.ac script.

In this commit I replace these calls with use of AC_MSG_NOTICE
instead.  Now when configure is run with the --silent command line
option these lines will not be printed.

There should be no changes in the built GDB after this commit.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/configure
gdb/configure.ac