Set wxUSE_ON_FATAL_EXCEPTION to no for non-unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-05-24 17:15:14 +00:00
parent e32703a9d7
commit 18228ab4f0
2 changed files with 21 additions and 89 deletions

View File

@@ -4994,7 +4994,12 @@ if test "$wxUSE_ZIPSTREAM" = "yes"; then
fi
if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
AC_DEFINE(wxUSE_ON_FATAL_EXCEPTION)
if test "$USE_UNIX" != 1; then
AC_MSG_WARN([Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called])
wxUSE_ON_FATAL_EXCEPTION=no
else
AC_DEFINE(wxUSE_ON_FATAL_EXCEPTION)
fi
fi
if test "$wxUSE_STACKWALKER" = "yes"; then
@@ -5002,8 +5007,8 @@ if test "$wxUSE_STACKWALKER" = "yes"; then
fi
if test "$wxUSE_DEBUGREPORT" = "yes"; then
if test "$USE_OS2" = "1" -o "$USE_WIN32" = "1"; then
AC_MSG_WARN([Creating debug reports not supported by this compiler, disabled])
if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
AC_MSG_WARN([Creating debug reports not currently supported on this system, disabled])
wxUSE_DEBUGREPORT=no
else
AC_DEFINE(wxUSE_DEBUGREPORT)