added wxUSE_DEBUGREPORT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-11 00:19:17 +00:00
parent 60b881f7a6
commit 36b6448cc3
6 changed files with 133 additions and 44 deletions

136
configure vendored
View File

@@ -904,10 +904,11 @@ Optional Features:
--enable-ipc use interprocess communication (wxSocket etc.)
--enable-apple_ieee use the Apple IEEE codec
--enable-arcstream use wxArchive streams
--enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
--enable-backtrace use wxStackWalker class for getting backtraces
--enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
--enable-cmdline use wxCmdLineParser class
--enable-datetime use wxDateTime class
--enable-debugreport use wxDebugReport class
--enable-dialupman use dialup network classes
--enable-dynlib use wxLibrary class for DLL loading
--enable-dynamicloader use (new) wxDynamicLibrary class
@@ -2070,6 +2071,7 @@ if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
DEFAULT_wxUSE_STACKWALKER=no
DEFAULT_wxUSE_DEBUGREPORT=no
DEFAULT_wxUSE_SNGLINST_CHECKER=no
DEFAULT_wxUSE_STD_IOSTREAM=no
DEFAULT_wxUSE_CMDLINE_PARSER=no
@@ -2264,6 +2266,7 @@ else
DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
DEFAULT_wxUSE_STACKWALKER=yes
DEFAULT_wxUSE_DEBUGREPORT=yes
DEFAULT_wxUSE_SNGLINST_CHECKER=yes
DEFAULT_wxUSE_STD_IOSTREAM=no
DEFAULT_wxUSE_CMDLINE_PARSER=yes
@@ -4712,47 +4715,6 @@ echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
no_cache=0
# Check whether --enable-catch_segvs or --disable-catch_segvs was given.
if test "${enable_catch_segvs+set}" = set; then
enableval="$enable_catch_segvs"
if test "$enableval" = yes; then
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
else
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
fi
else
LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
fi;
eval "$ac_cv_use_catch_segvs"
if test "$no_cache" != 1; then
echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
fi
if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
@@ -4794,6 +4756,47 @@ echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
no_cache=0
# Check whether --enable-catch_segvs or --disable-catch_segvs was given.
if test "${enable_catch_segvs+set}" = set; then
enableval="$enable_catch_segvs"
if test "$enableval" = yes; then
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
else
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
fi
else
LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
fi;
eval "$ac_cv_use_catch_segvs"
if test "$no_cache" != 1; then
echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
fi
if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
@@ -4876,6 +4879,47 @@ echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
no_cache=0
# Check whether --enable-debugreport or --disable-debugreport was given.
if test "${enable_debugreport+set}" = set; then
enableval="$enable_debugreport"
if test "$enableval" = yes; then
ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
else
ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
fi
else
LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
fi;
eval "$ac_cv_use_debugreport"
if test "$no_cache" != 1; then
echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
fi
if test "$wxUSE_DEBUGREPORT" = yes; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
@@ -21049,7 +21093,6 @@ _ACEOF
fi
AC_CXX_DYNAMIC_CAST
if test "$wxUSE_STL" = "yes"; then
ac_ext=cc
@@ -36293,6 +36336,13 @@ _ACEOF
fi
if test "$wxUSE_DEBUGREPORT" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_DEBUGREPORT 1
_ACEOF
fi
if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_SNGLINST_CHECKER 1