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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to