Only generate a makefile for the debugrpt sample when wxUSE_ON_FATAL_EXCEPTION=1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2005-04-16 22:08:43 +00:00
parent 204d3530fd
commit 21dfc16274
2 changed files with 6 additions and 2 deletions

4
configure vendored
View File

@ -36675,7 +36675,9 @@ echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disa
#define wxUSE_DEBUGREPORT 1
_ACEOF
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
fi
fi
fi

View File

@ -4950,7 +4950,9 @@ if test "$wxUSE_DEBUGREPORT" = "yes"; then
wxUSE_DEBUGREPORT=no
else
AC_DEFINE(wxUSE_DEBUGREPORT)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
fi
fi
fi