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:
parent
60b881f7a6
commit
36b6448cc3
136
configure
vendored
136
configure
vendored
@ -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
|
||||
|
@ -417,6 +417,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
|
||||
@ -611,6 +612,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
|
||||
@ -888,10 +890,11 @@ WX_ARG_ENABLE(ipc, [ --enable-ipc use interprocess communi
|
||||
dnl please keep the settings below in alphabetical order
|
||||
WX_ARG_ENABLE(apple_ieee, [ --enable-apple_ieee use the Apple IEEE codec], wxUSE_APPLE_IEEE)
|
||||
WX_ARG_ENABLE(arcstream, [ --enable-arcstream use wxArchive streams], wxUSE_ARCHIVE_STREAMS)
|
||||
WX_ARG_ENABLE(catch_segvs, [ --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)], wxUSE_ON_FATAL_EXCEPTION)
|
||||
WX_ARG_ENABLE(backtrace, [ --enable-backtrace use wxStackWalker class for getting backtraces], wxUSE_STACKWALKER)
|
||||
WX_ARG_ENABLE(catch_segvs, [ --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)], wxUSE_ON_FATAL_EXCEPTION)
|
||||
WX_ARG_ENABLE(cmdline, [ --enable-cmdline use wxCmdLineParser class], wxUSE_CMDLINE_PARSER)
|
||||
WX_ARG_ENABLE(datetime, [ --enable-datetime use wxDateTime class], wxUSE_DATETIME)
|
||||
WX_ARG_ENABLE(debugreport, [ --enable-debugreport use wxDebugReport class], wxUSE_DEBUGREPORT)
|
||||
WX_ARG_ENABLE(dialupman, [ --enable-dialupman use dialup network classes], wxUSE_DIALUP_MANAGER)
|
||||
WX_ARG_ENABLE(dynlib, [ --enable-dynlib use wxLibrary class for DLL loading], wxUSE_DYNLIB_CLASS)
|
||||
WX_ARG_ENABLE(dynamicloader, [ --enable-dynamicloader use (new) wxDynamicLibrary class], wxUSE_DYNAMIC_LOADER)
|
||||
@ -4840,6 +4843,10 @@ if test "$wxUSE_STACKWALKER" = "yes"; then
|
||||
AC_DEFINE(wxUSE_STACKWALKER)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_DEBUGREPORT" = "yes"; then
|
||||
AC_DEFINE(wxUSE_DEBUGREPORT)
|
||||
fi
|
||||
|
||||
if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
|
||||
AC_DEFINE(wxUSE_SNGLINST_CHECKER)
|
||||
fi
|
||||
|
@ -133,6 +133,16 @@
|
||||
// Recommended setting: 1, set to 0 if your programs never crash
|
||||
#define wxUSE_STACKWALKER 1
|
||||
|
||||
// Set this to 1 to compile in wxDebugReport class which allows you to create
|
||||
// and optionally upload to your web site a debug report consisting of back
|
||||
// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
|
||||
//
|
||||
// Default is 1 if supported by the compiler.
|
||||
//
|
||||
// Recommended setting: 1 under Win32, it is not especially useful elsewhere
|
||||
// currently
|
||||
#define wxUSE_DEBUGREPORT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Unicode support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -132,6 +132,16 @@
|
||||
// Recommended setting: 1, set to 0 if your programs never crash
|
||||
#define wxUSE_STACKWALKER 1
|
||||
|
||||
// Set this to 1 to compile in wxDebugReport class which allows you to create
|
||||
// and optionally upload to your web site a debug report consisting of back
|
||||
// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
|
||||
//
|
||||
// Default is 1 if supported by the compiler.
|
||||
//
|
||||
// Recommended setting: 1 under Win32, it is not especially useful elsewhere
|
||||
// currently
|
||||
#define wxUSE_DEBUGREPORT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Unicode support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -132,6 +132,16 @@
|
||||
// Recommended setting: 1, set to 0 if your programs never crash
|
||||
#define wxUSE_STACKWALKER 1
|
||||
|
||||
// Set this to 1 to compile in wxDebugReport class which allows you to create
|
||||
// and optionally upload to your web site a debug report consisting of back
|
||||
// trace of the crash (if wxUSE_STACKWALKER == 1) and other information.
|
||||
//
|
||||
// Default is 1 if supported by the compiler.
|
||||
//
|
||||
// Recommended setting: 1 under Win32, it is not especially useful elsewhere
|
||||
// currently
|
||||
#define wxUSE_DEBUGREPORT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Unicode support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -165,6 +165,8 @@
|
||||
|
||||
#define wxUSE_STACKWALKER 0
|
||||
|
||||
#define wxUSE_DEBUGREPORT 0
|
||||
|
||||
|
||||
#ifndef wxUSE_UNICODE
|
||||
#define wxUSE_UNICODE 0
|
||||
|
Loading…
Reference in New Issue
Block a user