aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2012-03-30 20:23:16 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2012-03-30 20:23:16 +0000
commit8365dcf5f8c2607bb9dafb4f902653e2919a8145 (patch)
treed0918443c582084f8a3f1b5e534524e4593d6448 /gdb/gdbserver/configure.ac
parent9bc3523d11081b973ad34f212cb5cacf3126a27f (diff)
downloadgdb-8365dcf5f8c2607bb9dafb4f902653e2919a8145.zip
gdb-8365dcf5f8c2607bb9dafb4f902653e2919a8145.tar.gz
gdb-8365dcf5f8c2607bb9dafb4f902653e2919a8145.tar.bz2
* configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t
are available. * linux-low.c [HAVE_ELF32_AUXV_T] (Elf32_auxv_t): Add typedef. [HAVE_ELF64_AUXV_T] (Elf64_auxv_t): Likewise. * config.in: Regenerate. * configure: Likewise.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index d2f22bd..9ac4232 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -168,6 +168,10 @@ AC_CHECK_TYPES(socklen_t, [], [],
#include <sys/socket.h>
])
+AC_CHECK_TYPES([Elf32_auxv_t, Elf64_auxv_t], [], [],
+#include <elf.h>
+)
+
ACX_PKGVERSION([GDB])
ACX_BUGURL([http://www.gnu.org/software/gdb/bugs/])
AC_DEFINE_UNQUOTED([PKGVERSION], ["$PKGVERSION"], [Additional package description])