[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 5/6] Improve debug-frame conifigure option defa
From: |
Zachary T Welch |
Subject: |
[Libunwind-devel] [PATCH 5/6] Improve debug-frame conifigure option default |
Date: |
Thu, 28 Oct 2010 16:25:50 -0700 |
Ensure that --enable-debug-frame is set automatically when building
libunwind for an ARM target. Other targets continue to have
--disable-debug-frame as the default setting.
Signed-off-by: Zachary T Welch <address@hidden>
---
configure.in | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index 729827a..7dd991c 100644
--- a/configure.in
+++ b/configure.in
@@ -179,7 +179,11 @@ AC_MSG_RESULT([$enable_cxx_exceptions])
AC_MSG_CHECKING([whether to load .debug_frame sections])
AC_ARG_ENABLE(debug_frame,
[ --enable-debug-frame Load the ".debug_frame" section if available],
-[enable_debug_frame=$enableval], [enable_debug_frame=no])
+[enable_debug_frame=$enableval], [
+case "${target_arch}" in
+ (arm) enable_debug_frame=yes;;
+ (*) enable_debug_frame=no;;
+esac])
if test x$enable_debug_frame = xyes; then
AC_DEFINE([CONFIG_DEBUG_FRAME], [], [Enable Debug Frame])
fi
--
1.7.2.2
- [Libunwind-devel] [PATCH 0/6] misc fixes and improvements, Zachary T Welch, 2010/10/28
- [Libunwind-devel] [PATCH 1/6] Add .gitignore file, Zachary T Welch, 2010/10/28
- [Libunwind-devel] [PATCH 4/6] Improve configure check reporting., Zachary T Welch, 2010/10/28
- [Libunwind-devel] [PATCH 2/6] Remove duplicate check for PTRACE_CONT, Zachary T Welch, 2010/10/28
- [Libunwind-devel] [PATCH 5/6] Improve debug-frame conifigure option default,
Zachary T Welch <=
- [Libunwind-devel] [PATCH 3/6] Fix memory leak in ARM unw_create_addr_space(), Zachary T Welch, 2010/10/28
- [Libunwind-devel] [PATCH 6/6] Add MAINTAINERCLEANFILES to Makefile.am files., Zachary T Welch, 2010/10/28