diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2012-03-30 20:23:16 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2012-03-30 20:23:16 +0000 |
commit | 8365dcf5f8c2607bb9dafb4f902653e2919a8145 (patch) | |
tree | d0918443c582084f8a3f1b5e534524e4593d6448 /gdb/gdbserver/configure | |
parent | 9bc3523d11081b973ad34f212cb5cacf3126a27f (diff) | |
download | gdb-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')
-rwxr-xr-x | gdb/gdbserver/configure | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 2b0aeb8..9a6f6df 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -4474,6 +4474,30 @@ _ACEOF fi +ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h> + +" +if test "x$ac_cv_type_Elf32_auxv_t" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_ELF32_AUXV_T 1 +_ACEOF + + +fi +ac_fn_c_check_type "$LINENO" "Elf64_auxv_t" "ac_cv_type_Elf64_auxv_t" "#include <elf.h> + +" +if test "x$ac_cv_type_Elf64_auxv_t" = x""yes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_ELF64_AUXV_T 1 +_ACEOF + + +fi + + # Check whether --with-pkgversion was given. |