diff options
author | Pedro Alves <palves@redhat.com> | 2012-02-21 19:39:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-02-21 19:39:32 +0000 |
commit | b54a8fd70210fd1fc7b4f41c4679737066951033 (patch) | |
tree | 759bfff66926faf35b830ce2bde4d7722762c7f0 /gdb/configure | |
parent | 82c2def5ff08bb3f5a8c554d78d9a0ddc65dafe0 (diff) | |
download | gdb-b54a8fd70210fd1fc7b4f41c4679737066951033.zip gdb-b54a8fd70210fd1fc7b4f41c4679737066951033.tar.gz gdb-b54a8fd70210fd1fc7b4f41c4679737066951033.tar.bz2 |
2012-02-21 Tristan Gingold <gingold@adacore.com>
Pedro Alves <palves@redhat.com>
* ia64-tdep.c: Do not include libunwind-ia64.h.
* libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
Include libunwind-ia64.h instead of libunwind.h.
* configure.ac (--with-libunwind, $enable_libunwind): Don't check
for libunwind.h existence.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/gdb/configure b/gdb/configure index 2566410..9cb3742 100755 --- a/gdb/configure +++ b/gdb/configure @@ -8252,21 +8252,19 @@ if test "${with_libunwind+set}" = set; then : esac else - for ac_header in libunwind.h libunwind-ia64.h + for ac_header in libunwind-ia64.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : + ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ia64.h" "ac_cv_header_libunwind_ia64_h" "$ac_includes_default" +if test "x$ac_cv_header_libunwind_ia64_h" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define HAVE_LIBUNWIND_IA64_H 1 _ACEOF fi done - if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_h" = xyes; then + if test x"$ac_cv_header_libunwind_ia64_h" = xyes; then enable_libunwind=yes; fi @@ -8274,14 +8272,12 @@ fi if test x"$enable_libunwind" = xyes; then - for ac_header in libunwind.h libunwind-ia64.h + for ac_header in libunwind-ia64.h do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -eval as_val=\$$as_ac_Header - if test "x$as_val" = x""yes; then : + ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ia64.h" "ac_cv_header_libunwind_ia64_h" "$ac_includes_default" +if test "x$ac_cv_header_libunwind_ia64_h" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +#define HAVE_LIBUNWIND_IA64_H 1 _ACEOF fi |