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.ac | |
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.ac')
-rw-r--r-- | gdb/configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 1b11adb..c4c84a0 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -348,14 +348,14 @@ AS_HELP_STRING([--with-libunwind], [use libunwind frame unwinding support]), no) enable_libunwind=no ;; *) AC_MSG_ERROR(bad value ${withval} for GDB with-libunwind option) ;; esac],[ - AC_CHECK_HEADERS(libunwind.h libunwind-ia64.h) - if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_h" = xyes; then + AC_CHECK_HEADERS(libunwind-ia64.h) + if test x"$ac_cv_header_libunwind_ia64_h" = xyes; then enable_libunwind=yes; fi ]) if test x"$enable_libunwind" = xyes; then - AC_CHECK_HEADERS(libunwind.h libunwind-ia64.h) + AC_CHECK_HEADERS(libunwind-ia64.h) AC_DEFINE(HAVE_LIBUNWIND, 1, [Define if libunwind library is being used.]) CONFIG_OBS="$CONFIG_OBS libunwind-frame.o" CONFIG_DEPS="$CONFIG_DEPS libunwind-frame.o" |