diff options
author | Pedro Alves <palves@redhat.com> | 2015-07-24 14:57:19 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-07-24 14:57:19 +0100 |
commit | eb7aa56163cc15bb732aa3b07966103fd6940d50 (patch) | |
tree | c74c84c1a5bcce3a18cbd5986e7987f48c9f8ac3 /gdb/acinclude.m4 | |
parent | 55d7b841962c6e054735acdca2e0bb485afa0144 (diff) | |
download | gdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.zip gdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.tar.gz gdb-eb7aa56163cc15bb732aa3b07966103fd6940d50.tar.bz2 |
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.
Diffstat (limited to 'gdb/acinclude.m4')
-rw-r--r-- | gdb/acinclude.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 index 845e65f..0ecfaf9 100644 --- a/gdb/acinclude.m4 +++ b/gdb/acinclude.m4 @@ -63,6 +63,9 @@ m4_include(libiberty.m4) dnl For --enable-build-with-cxx and COMPILER. m4_include(build-with-cxx.m4) +dnl For GDB_AC_PTRACE. +m4_include(ptrace.m4) + ## ----------------------------------------- ## ## ANSIfy the C compiler whenever possible. ## ## From Franc,ois Pinard ## |