[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH] A small fix to 'enable-debug' for configure.in
From: |
David Lee |
Subject: |
[Libunwind-devel] [PATCH] A small fix to 'enable-debug' for configure.in |
Date: |
Mon, 11 Jun 2012 17:41:41 +0800 |
Hi, list
The configure.in file for libunwind will always set "--enable-debug=yes",
and here is the small patch to fix it.
------------[ cut here ]------------
--- a/configure.in
+++ b/configure.in
@@ -178,7 +178,7 @@ AC_MSG_RESULT([$remote_only])
AC_MSG_CHECKING([whether to enable debug support])
AC_ARG_ENABLE(debug,
[ --enable-debug turn on debug support (slows down execution)],
-[enable_debug=yes], [enable_debug=no])
+[enable_debug=$enableval], [enable_debug=no])
if test x$enable_debug = xyes; then
CPPFLAGS="${CPPFLAGS} -DDEBUG"
else
------------[ patch ends ]------------
--
Thanks,
Li Qun
- [Libunwind-devel] [PATCH] A small fix to 'enable-debug' for configure.in,
David Lee <=