summaryrefslogtreecommitdiff
path: root/gdbsupport/acinclude.m4
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-12-19 16:40:15 -0700
committerTom Tromey <tom@tromey.com>2020-01-14 16:25:03 -0700
commit05ea2a051030a452bb1f4710dafeb1054cf38c17 (patch)
tree9d7ecb70ce4edf11c66c3a329344c4aed4fd48e6 /gdbsupport/acinclude.m4
parent01027315f54048dbaf03ac37455c2528c72a6d9b (diff)
downloadbinutils-gdb-05ea2a051030a452bb1f4710dafeb1054cf38c17.tar.gz
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
Diffstat (limited to 'gdbsupport/acinclude.m4')
-rw-r--r--gdbsupport/acinclude.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbsupport/acinclude.m4 b/gdbsupport/acinclude.m4
index 6e20e9cdb0a..fe08bb36fe0 100644
--- a/gdbsupport/acinclude.m4
+++ b/gdbsupport/acinclude.m4
@@ -1,5 +1,7 @@
+m4_include([../bfd/bfd.m4])
m4_include([common.m4])
m4_include([../config/ax_pthread.m4])
m4_include([../gdb/ax_cxx_compile_stdcxx.m4])
m4_include([../gdb/libiberty.m4])
m4_include([../gdb/selftest.m4])
+m4_include([../gdb/ptrace.m4])