]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Move many configure checks to common.m4
authorTom Tromey <tom@tromey.com>
Thu, 19 Dec 2019 23:40:15 +0000 (16:40 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2020 23:25:03 +0000 (16:25 -0700)
commit05ea2a051030a452bb1f4710dafeb1054cf38c17
tree9d7ecb70ce4edf11c66c3a329344c4aed4fd48e6
parent01027315f54048dbaf03ac37455c2528c72a6d9b
Move many configure checks to common.m4

This moves many needed configure checks from gdb and gdbserver into
common.m4.  This helps gdbsupport, nat, and target be self-contained.

The result is a bit spaghetti-ish, because gdbsupport uses another m4
file from gdb/.  The resulting code is somewhat non-obvious.  However,
these problems already exist, so it's not really that much worse than
what is already done.

gdb/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* configure: Rebuild.
* configure.ac: Move many checks to ../gdbsupport/common.m4.

gdb/gdbserver/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* configure: Rebuild.
* configure.ac: Remove any checks that were added to common.m4.
* acinclude.m4: Include lib-ld.m4, lib-prefix.m4, and
lib-link.m4.

gdbsupport/ChangeLog
2020-01-14  Tom Tromey  <tom@tromey.com>

* configure, Makefile.in, aclocal.m4, common.m4, config.in:
Rebuild.
* common.m4 (GDB_AC_COMMON): Move many checks from
gdb/configure.ac.
* acinclude.m4: Include bfd.m4, ptrace.m4.

Change-Id: I931eaa94065df268b30a2f1354390710df89c7f8
16 files changed:
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/gdbserver/ChangeLog
gdb/gdbserver/acinclude.m4
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdbsupport/ChangeLog
gdbsupport/Makefile.in
gdbsupport/acinclude.m4
gdbsupport/aclocal.m4
gdbsupport/common.m4
gdbsupport/config.in
gdbsupport/configure
gdbsupport/configure.ac