From 489c9090ef9fa564e21ea268757ee5b9d87e207f Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Tue, 17 May 2005 14:28:18 +0000 Subject: [PATCH] Disable debugrpt sample for Windows since it's not supported with mingw/cygwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 10 +++++++--- configure.in | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configure b/configure index f1c98a384d..7bfccfa4dd 100755 --- a/configure +++ b/configure @@ -36914,9 +36914,9 @@ _ACEOF fi if test "$wxUSE_DEBUGREPORT" = "yes"; then - if test "$USE_OS2" = "1"; then - { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&5 -echo "$as_me: WARNING: Creating debug reports not supported under OS/2 yet, disabled" >&2;} + if test "$USE_OS2" = "1" -o "$USE_WIN32" = "1"; then + { echo "$as_me:$LINENO: WARNING: Creating debug reports not supported by this compiler, disabled" >&5 +echo "$as_me: WARNING: Creating debug reports not supported by this compiler, disabled" >&2;} wxUSE_DEBUGREPORT=no else cat >>confdefs.h <<\_ACEOF @@ -41500,7 +41500,11 @@ echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6 PLATFORM_MACOS=1 ;; * ) + if test "$wxUSE_WINE" = "yes"; then + PLATFORM_WIN32=1 + else PLATFORM_UNIX=1 + fi ;; esac else diff --git a/configure.in b/configure.in index 9e16b4e80a..941b86870e 100644 --- a/configure.in +++ b/configure.in @@ -5002,8 +5002,8 @@ if test "$wxUSE_STACKWALKER" = "yes"; then fi if test "$wxUSE_DEBUGREPORT" = "yes"; then - if test "$USE_OS2" = "1"; then - AC_MSG_WARN([Creating debug reports not supported under OS/2 yet, disabled]) + if test "$USE_OS2" = "1" -o "$USE_WIN32" = "1"; then + AC_MSG_WARN([Creating debug reports not supported by this compiler, disabled]) wxUSE_DEBUGREPORT=no else AC_DEFINE(wxUSE_DEBUGREPORT) -- 2.45.2