commit 27149eab13e0d26428672890de1368f75c6bf785
Author: Arun Sharma <aruns@google.com>
Date:   Mon Mar 16 22:37:50 2009 -0700

    Fixup CONFIG_DEBUG_FRAME support.

diff --git a/configure.in b/configure.in
index 1446d02..aea8fc9 100644
--- a/configure.in
+++ b/configure.in
@@ -134,8 +134,11 @@ AM_CONDITIONAL([SUPPORT_CXX_EXCEPTIONS], [test x$enable_cxx_exceptions = xyes])
 
 AC_ARG_ENABLE(debug_frame,
 [  --enable-debug-frame Load the ".debug_frame" section if available],
-[enable_debug_frame=$enableval], [enable_debug_frame=yes])
-AM_CONDITIONAL([CONFIG_DEBUG_FRAME], [test x$enable_debug_frame = xyes])
+[enable_debug_frame=$enableval], [enable_debug_frame=no])
+if test x$enable_debug_frame = xyes; then
+  AC_DEFINE([CONFIG_DEBUG_FRAME], [], [Enable Debug Frame])
+fi
+
 LIBUNWIND___THREAD
 
 save_LDFLAGS="$LDFLAGS"
diff --git a/include/config.h.in b/include/config.h.in
index fcd2ae4..800d3b9 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -1,5 +1,8 @@
 /* include/config.h.in.  Generated from configure.in by autoheader.  */
 
+/* Enable Debug Frame */
+#undef CONFIG_DEBUG_FRAME
+
 /* Define to 1 if you have the <asm/ptrace_offsets.h> header file. */
 #undef HAVE_ASM_PTRACE_OFFSETS_H
 
