]> git.saurik.com Git - wxWidgets.git/commitdiff
Only generate a makefile for the debugrpt sample when wxUSE_ON_FATAL_EXCEPTION=1
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 16 Apr 2005 22:08:43 +0000 (22:08 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sat, 16 Apr 2005 22:08:43 +0000 (22:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 9d7d9884ebab77589c601a479b1cfc4430a59f93..6b067aaf6c215ea7f7ee8eba074c1ea9f5ddb530 100755 (executable)
--- 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
 
index 3716a8cb86317957dfcbcb113fc7d415a9a85f50..49f420321abdd69611fc3d2c9f7f436379c99fa2 100644 (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