make gdbserver use the same ptrace autoconf checks as gdb
authorPedro Alves <palves@redhat.com>
Fri, 24 Jul 2015 13:57:19 +0000 (14:57 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 24 Jul 2015 13:57:19 +0000 (14:57 +0100)
commiteb7aa56163cc15bb732aa3b07966103fd6940d50
treec74c84c1a5bcce3a18cbd5986e7987f48c9f8ac3
parent55d7b841962c6e054735acdca2e0bb485afa0144
make gdbserver use the same ptrace autoconf checks as gdb

This factors the ptrace checks out of gdb's configure.ac to a new
ptrace.m4 file, and then makes gdbserver's configure.ac source it too.

gdb/ChangeLog:
2015-07-24  Pedro Alves  <palves@redhat.com>

* acinclude.m4: Include ptrace.m4.
* configure.ac: Call GDB_AC_PTRACE and move ptrace checks ...
* ptrace.m4: ... to this new file.

gdb/gdbserver/ChangeLog:
2015-07-24  Pedro Alves  <palves@redhat.com>

* acinclude.m4: Include ../ptrace.m4.
* configure.ac: Call GDB_AC_PTRACE.
* config.in, configure: Regenerate.
gdb/ChangeLog
gdb/acinclude.m4
gdb/configure.ac
gdb/gdbserver/ChangeLog
gdb/gdbserver/acinclude.m4
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/ptrace.m4 [new file with mode: 0644]