From a97f71fa60686f329ca83f333fcf52a918916764 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Fri, 16 Dec 2011 09:36:36 +0000
Subject: [PATCH] Output the value of --enable-debug option in configure.

As we use AC_ARG_ENABLE() instead of WX_ARG_ENABLE() for it, we need to call
AC_MSG_RESULT() explicitly or its value is never reported and configure output
is corrupted.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 configure    | 2 ++
 configure.in | 1 +
 2 files changed, 3 insertions(+)

diff --git a/configure b/configure
index 3d5b60d959..a986af452d 100755
--- a/configure
+++ b/configure
@@ -4499,6 +4499,8 @@ else
 
 fi
 
+{ echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
+echo "${ECHO_T}${enable_debug-default}" >&6; }
 
 case "$wxUSE_DEBUG" in
     yes)
diff --git a/configure.in b/configure.in
index e12e81c30b..ac5b8c5a5f 100644
--- a/configure.in
+++ b/configure.in
@@ -658,6 +658,7 @@ AC_ARG_ENABLE(debug,       [  --enable-debug          build library for debuggin
     ],
     wxUSE_DEBUG=default
 )
+AC_MSG_RESULT([${enable_debug-default}])
 
 case "$wxUSE_DEBUG" in
     yes)
-- 
2.47.2