From 2ad50b4fb37ddc035f575343d3b46dcd8d380932 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Jul 2004 10:05:56 +0000 Subject: [PATCH] add except to the samples being built; verify that --enable-exceptions and --enable-no_exceptions are not used simultaneously git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index ace3f1074a..cf3b6f4fb1 100644 --- a/configure.in +++ b/configure.in @@ -5614,7 +5614,12 @@ if test "$wxUSE_DRAGIMAGE" = "yes"; then fi if test "$wxUSE_EXCEPTIONS" = "yes"; then - AC_DEFINE(wxUSE_EXCEPTIONS) + if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then + AC_MSG_WARN([--enable-exceptions can't be used with --enable-no_exceptions]) + else + AC_DEFINE(wxUSE_EXCEPTIONS) + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except" + fi fi USE_HTML=0