From 370fd4c26eeeb0f85ec85417088eb34c668de159 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 16 Jan 2005 15:58:54 +0000 Subject: [PATCH] undid the last patch: set wxUSE_XXX to 0 in setup.h.in instead of having to do it manually in configure git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 46 +--------------------------------------------- configure.in | 17 ----------------- 2 files changed, 1 insertion(+), 62 deletions(-) diff --git a/configure b/configure index ae2b44d419..207fd11430 100755 --- a/configure +++ b/configure @@ -20819,11 +20819,6 @@ _ACEOF fi fi -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_REGEX 0 -_ACEOF - fi @@ -21122,11 +21117,6 @@ echo "$as_me: WARNING: zlib library not found or too old, will use built-in inst wxUSE_ZLIB=sys fi fi -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_ZLIB 0 -_ACEOF - fi @@ -21432,11 +21422,6 @@ echo "$as_me: WARNING: system png library not found or too old, will use built-i fi SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png" -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_LIBPNG 0 -_ACEOF - fi @@ -21601,11 +21586,6 @@ echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" fi fi fi -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_LIBJPEG 0 -_ACEOF - fi @@ -21849,11 +21829,6 @@ echo "$as_me: WARNING: system tiff library not found, will use built-in instead" wxUSE_LIBTIFF=sys fi fi -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_LIBTIFF 0 -_ACEOF - fi @@ -22171,15 +22146,6 @@ echo "$as_me: WARNING: system expat library not found, will use built-in instead subdirs="$subdirs src/expat" fi -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_EXPAT 0 -_ACEOF - - cat >>confdefs.h <<\_ACEOF -#define wxUSE_XML 0 -_ACEOF - fi @@ -22405,11 +22371,6 @@ if test "$wxUSE_LIBMSPACK" != "no"; then #define wxUSE_LIBMSPACK 1 _ACEOF -else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_LIBMSPACK 0 -_ACEOF - fi @@ -33588,12 +33549,7 @@ if test "$wxUSE_GUI" = "yes"; then _ACEOF - else - cat >>confdefs.h <<\_ACEOF -#define wxUSE_GUI 0 -_ACEOF - -fi + fi if test "$wxUSE_UNIX" = "yes"; then diff --git a/configure.in b/configure.in index 428278bb37..2f4a3e338a 100644 --- a/configure.in +++ b/configure.in @@ -2081,8 +2081,6 @@ if test "$wxUSE_REGEX" != "no"; then AC_DEFINE(WX_NO_REGEX_ADVANCED) fi fi -else - AC_DEFINE(wxUSE_REGEX, 0) fi dnl ------------------------------------------------------------------------ @@ -2156,8 +2154,6 @@ if test "$wxUSE_ZLIB" != "no" ; then wxUSE_ZLIB=sys fi fi -else - AC_DEFINE(wxUSE_ZLIB, 0) fi dnl ------------------------------------------------------------------------ @@ -2229,8 +2225,6 @@ if test "$wxUSE_LIBPNG" != "no" ; then fi SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png" -else - AC_DEFINE(wxUSE_LIBPNG, 0) fi dnl ------------------------------------------------------------------------ @@ -2285,8 +2279,6 @@ if test "$wxUSE_LIBJPEG" != "no" ; then fi fi fi -else - AC_DEFINE(wxUSE_LIBJPEG, 0) fi dnl ------------------------------------------------------------------------ @@ -2328,8 +2320,6 @@ if test "$wxUSE_LIBTIFF" != "no" ; then wxUSE_LIBTIFF=sys fi fi -else - AC_DEFINE(wxUSE_LIBTIFF, 0) fi dnl ------------------------------------------------------------------------ @@ -2377,9 +2367,6 @@ if test "$wxUSE_EXPAT" != "no"; then dnl Expat needs this: AC_CONFIG_SUBDIRS([src/expat]) fi -else - AC_DEFINE(wxUSE_EXPAT, 0) - AC_DEFINE(wxUSE_XML, 0) fi @@ -2400,8 +2387,6 @@ fi if test "$wxUSE_LIBMSPACK" != "no"; then AC_DEFINE(wxUSE_LIBMSPACK) -else - AC_DEFINE(wxUSE_LIBMSPACK, 0) fi @@ -4525,8 +4510,6 @@ if test "$wxUSE_GUI" = "yes"; then dnl need the dcs, pens, brushes, ...), this just can't be done now dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem dnl 5. misc stuff: timers, settings, message box -else - AC_DEFINE(wxUSE_GUI, 0) fi dnl --------------------------------------------------------------------------- -- 2.45.2