From 21dfc16274cca711671755799f8400e87395bca5 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Sat, 16 Apr 2005 22:08:43 +0000 Subject: [PATCH] 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 --- configure | 4 +++- configure.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9d7d9884eb..6b067aaf6c 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 3716a8cb86..49f420321a 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.47.2