]> git.saurik.com Git - wxWidgets.git/commitdiff
fix output of WX_ARG_DISABLE() for options which can have values other than yes/no...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Jun 2009 23:51:57 +0000 (23:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 18 Jun 2009 23:51:57 +0000 (23:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

acinclude.m4
configure

index ffc9df8c09478771ac9bf63c099da494b8b13453..915fa4006751c02d38b3e6ab1342883ab76f17aa 100644 (file)
@@ -423,10 +423,10 @@ AC_DEFUN([WX_ARG_ENABLE],
           eval "$AS_TR_SH(wx_cv_use_$1)"
 
           if test x"$enablestring" = xdisable; then
-            if test $$3 = yes; then
-              result=no
-            else
+            if test $$3 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$$3
index 0735848b1fca7bb69142221979e5cd90a4cc22eb..59c6e2140ea9d2eb2914a351e481723bb8b27c30 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Id: configure.in 60981 2009-06-10 15:07:03Z VZ .
+# From configure.in Id: configure.in 61122 2009-06-18 21:05:09Z VZ .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
 #
@@ -2971,10 +2971,10 @@ fi
           eval "$wx_cv_use_gui"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GUI = yes; then
-              result=no
-            else
+            if test $wxUSE_GUI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GUI
@@ -3015,10 +3015,10 @@ fi
           eval "$wx_cv_use_monolithic"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MONOLITHIC = yes; then
-              result=no
-            else
+            if test $wxUSE_MONOLITHIC = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MONOLITHIC
@@ -3059,10 +3059,10 @@ fi
           eval "$wx_cv_use_plugins"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PLUGINS = yes; then
-              result=no
-            else
+            if test $wxUSE_PLUGINS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PLUGINS
@@ -3153,10 +3153,10 @@ fi
           eval "$wx_cv_use_official_build"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OFFICIAL_BUILD = yes; then
-              result=no
-            else
+            if test $wxUSE_OFFICIAL_BUILD = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OFFICIAL_BUILD
@@ -3206,10 +3206,10 @@ fi
           eval "$wx_cv_use_all_features"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ALL_FEATURES = yes; then
-              result=no
-            else
+            if test $wxUSE_ALL_FEATURES = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ALL_FEATURES
@@ -3258,10 +3258,10 @@ fi
           eval "$wx_cv_use_universal"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_UNIVERSAL = yes; then
-              result=no
-            else
+            if test $wxUSE_UNIVERSAL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_UNIVERSAL
@@ -3389,10 +3389,10 @@ fi
           eval "$wx_cv_use_nanox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NANOX = yes; then
-              result=no
-            else
+            if test $wxUSE_NANOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NANOX
@@ -3439,10 +3439,10 @@ fi
           eval "$wx_cv_use_gpe"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GPE = yes; then
-              result=no
-            else
+            if test $wxUSE_GPE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GPE
@@ -4350,10 +4350,10 @@ fi
           eval "$wx_cv_use_shared"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SHARED = yes; then
-              result=no
-            else
+            if test $wxUSE_SHARED = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SHARED
@@ -4394,10 +4394,10 @@ fi
           eval "$wx_cv_use_debug"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUG = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUG
@@ -4438,10 +4438,10 @@ fi
           eval "$wx_cv_use_stl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STL = yes; then
-              result=no
-            else
+            if test $wxUSE_STL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STL
@@ -4482,10 +4482,10 @@ fi
           eval "$wx_cv_use_std_iostreams"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STD_IOSTREAM = yes; then
-              result=no
-            else
+            if test $wxUSE_STD_IOSTREAM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STD_IOSTREAM
@@ -4526,10 +4526,10 @@ fi
           eval "$wx_cv_use_std_string"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STD_STRING = yes; then
-              result=no
-            else
+            if test $wxUSE_STD_STRING = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STD_STRING
@@ -4570,10 +4570,10 @@ fi
           eval "$wx_cv_use_unicode"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_UNICODE = yes; then
-              result=no
-            else
+            if test $wxUSE_UNICODE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_UNICODE
@@ -4614,10 +4614,10 @@ fi
           eval "$wx_cv_use_mslu"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_UNICODE_MSLU = yes; then
-              result=no
-            else
+            if test $wxUSE_UNICODE_MSLU = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_UNICODE_MSLU
@@ -4679,10 +4679,10 @@ fi
           eval "$wx_cv_use_utf8only"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
-              result=no
-            else
+            if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_UNICODE_UTF8_LOCALE
@@ -4723,10 +4723,10 @@ fi
           eval "$wx_cv_use_extended_rtti"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_EXTENDED_RTTI = yes; then
-              result=no
-            else
+            if test $wxUSE_EXTENDED_RTTI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_EXTENDED_RTTI
@@ -4769,10 +4769,10 @@ fi
           eval "$wx_cv_use_omf"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OMF = yes; then
-              result=no
-            else
+            if test $wxUSE_OMF = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OMF
@@ -4825,10 +4825,10 @@ fi
           eval "$wx_cv_use_debug_flag"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUG_FLAG = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUG_FLAG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUG_FLAG
@@ -4869,10 +4869,10 @@ fi
           eval "$wx_cv_use_debug_info"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUG_INFO = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUG_INFO = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUG_INFO
@@ -4923,10 +4923,10 @@ fi
           eval "$wx_cv_use_optimise"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OPTIMISE = yes; then
-              result=no
-            else
+            if test $wxUSE_OPTIMISE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OPTIMISE
@@ -4968,10 +4968,10 @@ fi
           eval "$wx_cv_use_debug_gdb"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUG_GDB = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUG_GDB = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUG_GDB
@@ -5012,10 +5012,10 @@ fi
           eval "$wx_cv_use_debug_cntxt"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUG_CONTEXT = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUG_CONTEXT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUG_CONTEXT
@@ -5056,10 +5056,10 @@ fi
           eval "$wx_cv_use_mem_tracing"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MEM_TRACING = yes; then
-              result=no
-            else
+            if test $wxUSE_MEM_TRACING = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MEM_TRACING
@@ -5100,10 +5100,10 @@ fi
           eval "$wx_cv_use_profile"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROFILE = yes; then
-              result=no
-            else
+            if test $wxUSE_PROFILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROFILE
@@ -5144,10 +5144,10 @@ fi
           eval "$wx_cv_use_no_rtti"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NO_RTTI = yes; then
-              result=no
-            else
+            if test $wxUSE_NO_RTTI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NO_RTTI
@@ -5188,10 +5188,10 @@ fi
           eval "$wx_cv_use_no_exceptions"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NO_EXCEPTIONS = yes; then
-              result=no
-            else
+            if test $wxUSE_NO_EXCEPTIONS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NO_EXCEPTIONS
@@ -5232,10 +5232,10 @@ fi
           eval "$wx_cv_use_permissive"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PERMISSIVE = yes; then
-              result=no
-            else
+            if test $wxUSE_PERMISSIVE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PERMISSIVE
@@ -5276,10 +5276,10 @@ fi
           eval "$wx_cv_use_no_deps"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NO_DEPS = yes; then
-              result=no
-            else
+            if test $wxUSE_NO_DEPS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NO_DEPS
@@ -5320,10 +5320,10 @@ fi
           eval "$wx_cv_use_vararg_macros"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_VARARG_MACROS = yes; then
-              result=no
-            else
+            if test $wxUSE_VARARG_MACROS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_VARARG_MACROS
@@ -5386,10 +5386,10 @@ fi
           eval "$wx_cv_use_compat26"
 
           if test x"$enablestring" = xdisable; then
-            if test $WXWIN_COMPATIBILITY_2_6 = yes; then
-              result=no
-            else
+            if test $WXWIN_COMPATIBILITY_2_6 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$WXWIN_COMPATIBILITY_2_6
@@ -5430,10 +5430,10 @@ fi
           eval "$wx_cv_use_compat28"
 
           if test x"$enablestring" = xdisable; then
-            if test $WXWIN_COMPATIBILITY_2_8 = yes; then
-              result=no
-            else
+            if test $WXWIN_COMPATIBILITY_2_8 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$WXWIN_COMPATIBILITY_2_8
@@ -5475,10 +5475,10 @@ fi
           eval "$wx_cv_use_rpath"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_RPATH = yes; then
-              result=no
-            else
+            if test $wxUSE_RPATH = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_RPATH
@@ -5520,10 +5520,10 @@ fi
           eval "$wx_cv_use_objc_uniquifying"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OBJC_UNIQUIFYING = yes; then
-              result=no
-            else
+            if test $wxUSE_OBJC_UNIQUIFYING = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OBJC_UNIQUIFYING
@@ -5565,10 +5565,10 @@ fi
           eval "$wx_cv_use_visibility"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_VISIBILITY = yes; then
-              result=no
-            else
+            if test $wxUSE_VISIBILITY = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_VISIBILITY
@@ -5609,10 +5609,10 @@ fi
           eval "$wx_cv_use_tls"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COMPILER_TLS = yes; then
-              result=no
-            else
+            if test $wxUSE_COMPILER_TLS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COMPILER_TLS
@@ -5655,10 +5655,10 @@ fi
           eval "$wx_cv_use_intl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_INTL = yes; then
-              result=no
-            else
+            if test $wxUSE_INTL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_INTL
@@ -5699,10 +5699,10 @@ fi
           eval "$wx_cv_use_xlocale"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_XLOCALE = yes; then
-              result=no
-            else
+            if test $wxUSE_XLOCALE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_XLOCALE
@@ -5743,10 +5743,10 @@ fi
           eval "$wx_cv_use_config"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CONFIG = yes; then
-              result=no
-            else
+            if test $wxUSE_CONFIG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CONFIG
@@ -5788,10 +5788,10 @@ fi
           eval "$wx_cv_use_protocols"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL
@@ -5832,10 +5832,10 @@ fi
           eval "$wx_cv_use_ftp"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_FTP = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_FTP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_FTP
@@ -5876,10 +5876,10 @@ fi
           eval "$wx_cv_use_http"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_HTTP = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_HTTP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_HTTP
@@ -5920,10 +5920,10 @@ fi
           eval "$wx_cv_use_fileproto"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_FILE = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_FILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_FILE
@@ -5964,10 +5964,10 @@ fi
           eval "$wx_cv_use_sockets"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SOCKETS = yes; then
-              result=no
-            else
+            if test $wxUSE_SOCKETS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SOCKETS
@@ -6008,10 +6008,10 @@ fi
           eval "$wx_cv_use_ipv6"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_IPV6 = yes; then
-              result=no
-            else
+            if test $wxUSE_IPV6 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_IPV6
@@ -6052,10 +6052,10 @@ fi
           eval "$wx_cv_use_ole"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OLE = yes; then
-              result=no
-            else
+            if test $wxUSE_OLE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OLE
@@ -6096,10 +6096,10 @@ fi
           eval "$wx_cv_use_dataobj"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DATAOBJ = yes; then
-              result=no
-            else
+            if test $wxUSE_DATAOBJ = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DATAOBJ
@@ -6141,10 +6141,10 @@ fi
           eval "$wx_cv_use_ipc"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_IPC = yes; then
-              result=no
-            else
+            if test $wxUSE_IPC = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_IPC
@@ -6186,10 +6186,10 @@ fi
           eval "$wx_cv_use_baseevtloop"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
-              result=no
-            else
+            if test $wxUSE_CONSOLE_EVENTLOOP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CONSOLE_EVENTLOOP
@@ -6230,10 +6230,10 @@ fi
           eval "$wx_cv_use_epollloop"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_EPOLL_DISPATCHER = yes; then
-              result=no
-            else
+            if test $wxUSE_EPOLL_DISPATCHER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_EPOLL_DISPATCHER
@@ -6274,10 +6274,10 @@ fi
           eval "$wx_cv_use_selectloop"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SELECT_DISPATCHER = yes; then
-              result=no
-            else
+            if test $wxUSE_SELECT_DISPATCHER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SELECT_DISPATCHER
@@ -6319,10 +6319,10 @@ fi
           eval "$wx_cv_use_apple_ieee"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_APPLE_IEEE = yes; then
-              result=no
-            else
+            if test $wxUSE_APPLE_IEEE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_APPLE_IEEE
@@ -6363,10 +6363,10 @@ fi
           eval "$wx_cv_use_arcstream"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ARCHIVE_STREAMS = yes; then
-              result=no
-            else
+            if test $wxUSE_ARCHIVE_STREAMS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ARCHIVE_STREAMS
@@ -6407,10 +6407,10 @@ fi
           eval "$wx_cv_use_base64"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_BASE64 = yes; then
-              result=no
-            else
+            if test $wxUSE_BASE64 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_BASE64
@@ -6451,10 +6451,10 @@ fi
           eval "$wx_cv_use_backtrace"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STACKWALKER = yes; then
-              result=no
-            else
+            if test $wxUSE_STACKWALKER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STACKWALKER
@@ -6495,10 +6495,10 @@ fi
           eval "$wx_cv_use_catch_segvs"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
-              result=no
-            else
+            if test $wxUSE_ON_FATAL_EXCEPTION = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ON_FATAL_EXCEPTION
@@ -6539,10 +6539,10 @@ fi
           eval "$wx_cv_use_cmdline"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CMDLINE_PARSER = yes; then
-              result=no
-            else
+            if test $wxUSE_CMDLINE_PARSER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CMDLINE_PARSER
@@ -6583,10 +6583,10 @@ fi
           eval "$wx_cv_use_datetime"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DATETIME = yes; then
-              result=no
-            else
+            if test $wxUSE_DATETIME = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DATETIME
@@ -6627,10 +6627,10 @@ fi
           eval "$wx_cv_use_debugreport"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DEBUGREPORT = yes; then
-              result=no
-            else
+            if test $wxUSE_DEBUGREPORT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DEBUGREPORT
@@ -6671,10 +6671,10 @@ fi
           eval "$wx_cv_use_dialupman"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DIALUP_MANAGER = yes; then
-              result=no
-            else
+            if test $wxUSE_DIALUP_MANAGER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DIALUP_MANAGER
@@ -6715,10 +6715,10 @@ fi
           eval "$wx_cv_use_dynlib"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DYNLIB_CLASS = yes; then
-              result=no
-            else
+            if test $wxUSE_DYNLIB_CLASS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DYNLIB_CLASS
@@ -6759,10 +6759,10 @@ fi
           eval "$wx_cv_use_dynamicloader"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DYNAMIC_LOADER = yes; then
-              result=no
-            else
+            if test $wxUSE_DYNAMIC_LOADER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DYNAMIC_LOADER
@@ -6803,10 +6803,10 @@ fi
           eval "$wx_cv_use_exceptions"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_EXCEPTIONS = yes; then
-              result=no
-            else
+            if test $wxUSE_EXCEPTIONS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_EXCEPTIONS
@@ -6847,10 +6847,10 @@ fi
           eval "$wx_cv_use_ffile"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FFILE = yes; then
-              result=no
-            else
+            if test $wxUSE_FFILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FFILE
@@ -6891,10 +6891,10 @@ fi
           eval "$wx_cv_use_file"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FILE = yes; then
-              result=no
-            else
+            if test $wxUSE_FILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FILE
@@ -6935,10 +6935,10 @@ fi
           eval "$wx_cv_use_filesystem"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FILESYSTEM = yes; then
-              result=no
-            else
+            if test $wxUSE_FILESYSTEM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FILESYSTEM
@@ -6979,10 +6979,10 @@ fi
           eval "$wx_cv_use_fontenum"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FONTENUM = yes; then
-              result=no
-            else
+            if test $wxUSE_FONTENUM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FONTENUM
@@ -7023,10 +7023,10 @@ fi
           eval "$wx_cv_use_fontmap"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FONTMAP = yes; then
-              result=no
-            else
+            if test $wxUSE_FONTMAP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FONTMAP
@@ -7067,10 +7067,10 @@ fi
           eval "$wx_cv_use_fs_archive"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FS_ARCHIVE = yes; then
-              result=no
-            else
+            if test $wxUSE_FS_ARCHIVE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FS_ARCHIVE
@@ -7111,10 +7111,10 @@ fi
           eval "$wx_cv_use_fs_inet"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FS_INET = yes; then
-              result=no
-            else
+            if test $wxUSE_FS_INET = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FS_INET
@@ -7155,10 +7155,10 @@ fi
           eval "$wx_cv_use_fs_zip"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FS_ZIP = yes; then
-              result=no
-            else
+            if test $wxUSE_FS_ZIP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FS_ZIP
@@ -7199,10 +7199,10 @@ fi
           eval "$wx_cv_use_geometry"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GEOMETRY = yes; then
-              result=no
-            else
+            if test $wxUSE_GEOMETRY = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GEOMETRY
@@ -7243,10 +7243,10 @@ fi
           eval "$wx_cv_use_log"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LOG = yes; then
-              result=no
-            else
+            if test $wxUSE_LOG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LOG
@@ -7287,10 +7287,10 @@ fi
           eval "$wx_cv_use_longlong"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LONGLONG = yes; then
-              result=no
-            else
+            if test $wxUSE_LONGLONG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LONGLONG
@@ -7331,10 +7331,10 @@ fi
           eval "$wx_cv_use_mimetype"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MIMETYPE = yes; then
-              result=no
-            else
+            if test $wxUSE_MIMETYPE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MIMETYPE
@@ -7375,10 +7375,10 @@ fi
           eval "$wx_cv_use_printfposparam"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PRINTF_POS_PARAMS = yes; then
-              result=no
-            else
+            if test $wxUSE_PRINTF_POS_PARAMS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PRINTF_POS_PARAMS
@@ -7419,10 +7419,10 @@ fi
           eval "$wx_cv_use_snglinst"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SNGLINST_CHECKER = yes; then
-              result=no
-            else
+            if test $wxUSE_SNGLINST_CHECKER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SNGLINST_CHECKER
@@ -7463,10 +7463,10 @@ fi
           eval "$wx_cv_use_sound"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SOUND = yes; then
-              result=no
-            else
+            if test $wxUSE_SOUND = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SOUND
@@ -7507,10 +7507,10 @@ fi
           eval "$wx_cv_use_stdpaths"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STDPATHS = yes; then
-              result=no
-            else
+            if test $wxUSE_STDPATHS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STDPATHS
@@ -7551,10 +7551,10 @@ fi
           eval "$wx_cv_use_stopwatch"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STOPWATCH = yes; then
-              result=no
-            else
+            if test $wxUSE_STOPWATCH = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STOPWATCH
@@ -7595,10 +7595,10 @@ fi
           eval "$wx_cv_use_streams"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STREAMS = yes; then
-              result=no
-            else
+            if test $wxUSE_STREAMS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STREAMS
@@ -7639,10 +7639,10 @@ fi
           eval "$wx_cv_use_system_options"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SYSTEM_OPTIONS = yes; then
-              result=no
-            else
+            if test $wxUSE_SYSTEM_OPTIONS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SYSTEM_OPTIONS
@@ -7683,10 +7683,10 @@ fi
           eval "$wx_cv_use_tarstream"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TARSTREAM = yes; then
-              result=no
-            else
+            if test $wxUSE_TARSTREAM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TARSTREAM
@@ -7727,10 +7727,10 @@ fi
           eval "$wx_cv_use_textbuf"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TEXTBUFFER = yes; then
-              result=no
-            else
+            if test $wxUSE_TEXTBUFFER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TEXTBUFFER
@@ -7771,10 +7771,10 @@ fi
           eval "$wx_cv_use_textfile"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TEXTFILE = yes; then
-              result=no
-            else
+            if test $wxUSE_TEXTFILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TEXTFILE
@@ -7815,10 +7815,10 @@ fi
           eval "$wx_cv_use_timer"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TIMER = yes; then
-              result=no
-            else
+            if test $wxUSE_TIMER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TIMER
@@ -7859,10 +7859,10 @@ fi
           eval "$wx_cv_use_variant"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_VARIANT = yes; then
-              result=no
-            else
+            if test $wxUSE_VARIANT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_VARIANT
@@ -7903,10 +7903,10 @@ fi
           eval "$wx_cv_use_zipstream"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ZIPSTREAM = yes; then
-              result=no
-            else
+            if test $wxUSE_ZIPSTREAM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ZIPSTREAM
@@ -7948,10 +7948,10 @@ fi
           eval "$wx_cv_use_url"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_URL = yes; then
-              result=no
-            else
+            if test $wxUSE_URL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_URL
@@ -7992,10 +7992,10 @@ fi
           eval "$wx_cv_use_protocol"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL
@@ -8036,10 +8036,10 @@ fi
           eval "$wx_cv_use_protocol_http"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_HTTP = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_HTTP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_HTTP
@@ -8080,10 +8080,10 @@ fi
           eval "$wx_cv_use_protocol_ftp"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_FTP = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_FTP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_FTP
@@ -8124,10 +8124,10 @@ fi
           eval "$wx_cv_use_protocol_file"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROTOCOL_FILE = yes; then
-              result=no
-            else
+            if test $wxUSE_PROTOCOL_FILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROTOCOL_FILE
@@ -8169,10 +8169,10 @@ fi
           eval "$wx_cv_use_threads"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_THREADS = yes; then
-              result=no
-            else
+            if test $wxUSE_THREADS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_THREADS
@@ -8214,10 +8214,10 @@ fi
           eval "$wx_cv_use_iniconf"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_INICONF = yes; then
-              result=no
-            else
+            if test $wxUSE_INICONF = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_INICONF
@@ -8258,10 +8258,10 @@ fi
           eval "$wx_cv_use_regkey"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_REGKEY = yes; then
-              result=no
-            else
+            if test $wxUSE_REGKEY = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_REGKEY
@@ -8306,10 +8306,10 @@ fi
           eval "$wx_cv_use_docview"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
-              result=no
-            else
+            if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DOC_VIEW_ARCHITECTURE
@@ -8350,10 +8350,10 @@ fi
           eval "$wx_cv_use_help"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_HELP = yes; then
-              result=no
-            else
+            if test $wxUSE_HELP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_HELP
@@ -8394,10 +8394,10 @@ fi
           eval "$wx_cv_use_mshtmlhelp"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MS_HTML_HELP = yes; then
-              result=no
-            else
+            if test $wxUSE_MS_HTML_HELP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MS_HTML_HELP
@@ -8438,10 +8438,10 @@ fi
           eval "$wx_cv_use_html"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_HTML = yes; then
-              result=no
-            else
+            if test $wxUSE_HTML = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_HTML
@@ -8482,10 +8482,10 @@ fi
           eval "$wx_cv_use_htmlhelp"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_WXHTML_HELP = yes; then
-              result=no
-            else
+            if test $wxUSE_WXHTML_HELP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_WXHTML_HELP
@@ -8526,10 +8526,10 @@ fi
           eval "$wx_cv_use_xrc"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_XRC = yes; then
-              result=no
-            else
+            if test $wxUSE_XRC = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_XRC
@@ -8570,10 +8570,10 @@ fi
           eval "$wx_cv_use_aui"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_AUI = yes; then
-              result=no
-            else
+            if test $wxUSE_AUI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_AUI
@@ -8614,10 +8614,10 @@ fi
           eval "$wx_cv_use_propgrid"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROPGRID = yes; then
-              result=no
-            else
+            if test $wxUSE_PROPGRID = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROPGRID
@@ -8658,10 +8658,10 @@ fi
           eval "$wx_cv_use_stc"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STC = yes; then
-              result=no
-            else
+            if test $wxUSE_STC = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STC
@@ -8702,10 +8702,10 @@ fi
           eval "$wx_cv_use_constraints"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CONSTRAINTS = yes; then
-              result=no
-            else
+            if test $wxUSE_CONSTRAINTS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CONSTRAINTS
@@ -8746,10 +8746,10 @@ fi
           eval "$wx_cv_use_loggui"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LOGGUI = yes; then
-              result=no
-            else
+            if test $wxUSE_LOGGUI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LOGGUI
@@ -8790,10 +8790,10 @@ fi
           eval "$wx_cv_use_logwin"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LOGWINDOW = yes; then
-              result=no
-            else
+            if test $wxUSE_LOGWINDOW = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LOGWINDOW
@@ -8834,10 +8834,10 @@ fi
           eval "$wx_cv_use_logdialog"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LOGDIALOG = yes; then
-              result=no
-            else
+            if test $wxUSE_LOGDIALOG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LOGDIALOG
@@ -8878,10 +8878,10 @@ fi
           eval "$wx_cv_use_mdi"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MDI = yes; then
-              result=no
-            else
+            if test $wxUSE_MDI = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MDI
@@ -8922,10 +8922,10 @@ fi
           eval "$wx_cv_use_mdidoc"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MDI_ARCHITECTURE = yes; then
-              result=no
-            else
+            if test $wxUSE_MDI_ARCHITECTURE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MDI_ARCHITECTURE
@@ -8966,10 +8966,10 @@ fi
           eval "$wx_cv_use_mediactrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MEDIACTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_MEDIACTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MEDIACTRL
@@ -9010,10 +9010,10 @@ fi
           eval "$wx_cv_use_gstreamer8"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GSTREAMER8 = yes; then
-              result=no
-            else
+            if test $wxUSE_GSTREAMER8 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GSTREAMER8
@@ -9054,10 +9054,10 @@ fi
           eval "$wx_cv_use_webkit"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_WEBKIT = yes; then
-              result=no
-            else
+            if test $wxUSE_WEBKIT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_WEBKIT
@@ -9098,10 +9098,10 @@ fi
           eval "$wx_cv_use_richtext"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_RICHTEXT = yes; then
-              result=no
-            else
+            if test $wxUSE_RICHTEXT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_RICHTEXT
@@ -9142,10 +9142,10 @@ fi
           eval "$wx_cv_use_graphics_ctx"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GRAPHICS_CONTEXT = yes; then
-              result=no
-            else
+            if test $wxUSE_GRAPHICS_CONTEXT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GRAPHICS_CONTEXT
@@ -9186,10 +9186,10 @@ fi
           eval "$wx_cv_use_postscript"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_POSTSCRIPT = yes; then
-              result=no
-            else
+            if test $wxUSE_POSTSCRIPT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_POSTSCRIPT
@@ -9230,10 +9230,10 @@ fi
           eval "$wx_cv_use_printarch"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
-              result=no
-            else
+            if test $wxUSE_PRINTING_ARCHITECTURE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PRINTING_ARCHITECTURE
@@ -9274,10 +9274,10 @@ fi
           eval "$wx_cv_use_svg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SVG = yes; then
-              result=no
-            else
+            if test $wxUSE_SVG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SVG
@@ -9320,10 +9320,10 @@ fi
           eval "$wx_cv_use_clipboard"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CLIPBOARD = yes; then
-              result=no
-            else
+            if test $wxUSE_CLIPBOARD = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CLIPBOARD
@@ -9364,10 +9364,10 @@ fi
           eval "$wx_cv_use_dnd"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DRAG_AND_DROP = yes; then
-              result=no
-            else
+            if test $wxUSE_DRAG_AND_DROP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DRAG_AND_DROP
@@ -9408,10 +9408,10 @@ fi
           eval "$wx_cv_use_metafile"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_METAFILE = yes; then
-              result=no
-            else
+            if test $wxUSE_METAFILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_METAFILE
@@ -9455,10 +9455,10 @@ fi
           eval "$wx_cv_use_controls"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CONTROLS = yes; then
-              result=no
-            else
+            if test $wxUSE_CONTROLS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CONTROLS
@@ -9557,10 +9557,10 @@ fi
           eval "$wx_cv_use_accel"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ACCEL = yes; then
-              result=no
-            else
+            if test $wxUSE_ACCEL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ACCEL
@@ -9601,10 +9601,10 @@ fi
           eval "$wx_cv_use_animatectrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ANIMATIONCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_ANIMATIONCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ANIMATIONCTRL
@@ -9645,10 +9645,10 @@ fi
           eval "$wx_cv_use_bmpbutton"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_BMPBUTTON = yes; then
-              result=no
-            else
+            if test $wxUSE_BMPBUTTON = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_BMPBUTTON
@@ -9689,10 +9689,10 @@ fi
           eval "$wx_cv_use_bmpcombobox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_BITMAPCOMBOBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_BITMAPCOMBOBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_BITMAPCOMBOBOX
@@ -9733,10 +9733,10 @@ fi
           eval "$wx_cv_use_button"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_BUTTON = yes; then
-              result=no
-            else
+            if test $wxUSE_BUTTON = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_BUTTON
@@ -9777,10 +9777,10 @@ fi
           eval "$wx_cv_use_calendar"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CALCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_CALCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CALCTRL
@@ -9821,10 +9821,10 @@ fi
           eval "$wx_cv_use_caret"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CARET = yes; then
-              result=no
-            else
+            if test $wxUSE_CARET = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CARET
@@ -9865,10 +9865,10 @@ fi
           eval "$wx_cv_use_checkbox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CHECKBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_CHECKBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CHECKBOX
@@ -9909,10 +9909,10 @@ fi
           eval "$wx_cv_use_checklst"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CHECKLST = yes; then
-              result=no
-            else
+            if test $wxUSE_CHECKLST = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CHECKLST
@@ -9953,10 +9953,10 @@ fi
           eval "$wx_cv_use_choice"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CHOICE = yes; then
-              result=no
-            else
+            if test $wxUSE_CHOICE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CHOICE
@@ -9997,10 +9997,10 @@ fi
           eval "$wx_cv_use_choicebook"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CHOICEBOOK = yes; then
-              result=no
-            else
+            if test $wxUSE_CHOICEBOOK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CHOICEBOOK
           eval "$wx_cv_use_collpane"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COLLPANE = yes; then
-              result=no
-            else
+            if test $wxUSE_COLLPANE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COLLPANE
           eval "$wx_cv_use_colourpicker"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COLOURPICKERCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_COLOURPICKERCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COLOURPICKERCTRL
           eval "$wx_cv_use_combobox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COMBOBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_COMBOBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COMBOBOX
           eval "$wx_cv_use_comboctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COMBOCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_COMBOCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COMBOCTRL
           eval "$wx_cv_use_dataviewctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DATAVIEWCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_DATAVIEWCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DATAVIEWCTRL
           eval "$wx_cv_use_datepick"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DATEPICKCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_DATEPICKCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DATEPICKCTRL
           eval "$wx_cv_use_detect_sm"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DETECT_SM = yes; then
-              result=no
-            else
+            if test $wxUSE_DETECT_SM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DETECT_SM
           eval "$wx_cv_use_dirpicker"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DIRPICKERCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_DIRPICKERCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DIRPICKERCTRL
           eval "$wx_cv_use_display"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DISPLAY = yes; then
-              result=no
-            else
+            if test $wxUSE_DISPLAY = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DISPLAY
           eval "$wx_cv_use_editablebox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_EDITABLELISTBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_EDITABLELISTBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_EDITABLELISTBOX
           eval "$wx_cv_use_filectrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FILECTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_FILECTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FILECTRL
           eval "$wx_cv_use_filepicker"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FILEPICKERCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_FILEPICKERCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FILEPICKERCTRL
           eval "$wx_cv_use_fontpicker"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FONTPICKERCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_FONTPICKERCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FONTPICKERCTRL
           eval "$wx_cv_use_gauge"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GAUGE = yes; then
-              result=no
-            else
+            if test $wxUSE_GAUGE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GAUGE
           eval "$wx_cv_use_grid"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GRID = yes; then
-              result=no
-            else
+            if test $wxUSE_GRID = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GRID
           eval "$wx_cv_use_headerctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_HEADERCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_HEADERCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_HEADERCTRL
           eval "$wx_cv_use_hyperlink"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_HYPERLINKCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_HYPERLINKCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_HYPERLINKCTRL
           eval "$wx_cv_use_imaglist"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_IMAGLIST = yes; then
-              result=no
-            else
+            if test $wxUSE_IMAGLIST = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_IMAGLIST
           eval "$wx_cv_use_listbook"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LISTBOOK = yes; then
-              result=no
-            else
+            if test $wxUSE_LISTBOOK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LISTBOOK
           eval "$wx_cv_use_listbox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LISTBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_LISTBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LISTBOX
           eval "$wx_cv_use_listctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_LISTCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_LISTCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_LISTCTRL
           eval "$wx_cv_use_notebook"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NOTEBOOK = yes; then
-              result=no
-            else
+            if test $wxUSE_NOTEBOOK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NOTEBOOK
           eval "$wx_cv_use_notifmsg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
-              result=no
-            else
+            if test $wxUSE_NOTIFICATION_MESSAGE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NOTIFICATION_MESSAGE
           eval "$wx_cv_use_odcombobox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ODCOMBOBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_ODCOMBOBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ODCOMBOBOX
           eval "$wx_cv_use_popupwin"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_POPUPWIN = yes; then
-              result=no
-            else
+            if test $wxUSE_POPUPWIN = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_POPUPWIN
           eval "$wx_cv_use_radiobox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_RADIOBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_RADIOBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_RADIOBOX
           eval "$wx_cv_use_radiobtn"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_RADIOBTN = yes; then
-              result=no
-            else
+            if test $wxUSE_RADIOBTN = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_RADIOBTN
           eval "$wx_cv_use_rearrangectrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_REARRANGECTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_REARRANGECTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_REARRANGECTRL
           eval "$wx_cv_use_sash"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SASH = yes; then
-              result=no
-            else
+            if test $wxUSE_SASH = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SASH
           eval "$wx_cv_use_scrollbar"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SCROLLBAR = yes; then
-              result=no
-            else
+            if test $wxUSE_SCROLLBAR = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SCROLLBAR
           eval "$wx_cv_use_searchctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SEARCHCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_SEARCHCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SEARCHCTRL
           eval "$wx_cv_use_slider"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SLIDER = yes; then
-              result=no
-            else
+            if test $wxUSE_SLIDER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SLIDER
           eval "$wx_cv_use_spinbtn"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SPINBTN = yes; then
-              result=no
-            else
+            if test $wxUSE_SPINBTN = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SPINBTN
           eval "$wx_cv_use_spinctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SPINCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_SPINCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SPINCTRL
           eval "$wx_cv_use_splitter"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SPLITTER = yes; then
-              result=no
-            else
+            if test $wxUSE_SPLITTER = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SPLITTER
           eval "$wx_cv_use_statbmp"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STATBMP = yes; then
-              result=no
-            else
+            if test $wxUSE_STATBMP = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STATBMP
           eval "$wx_cv_use_statbox"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STATBOX = yes; then
-              result=no
-            else
+            if test $wxUSE_STATBOX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STATBOX
           eval "$wx_cv_use_statline"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STATLINE = yes; then
-              result=no
-            else
+            if test $wxUSE_STATLINE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STATLINE
           eval "$wx_cv_use_stattext"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STATTEXT = yes; then
-              result=no
-            else
+            if test $wxUSE_STATTEXT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STATTEXT
           eval "$wx_cv_use_statusbar"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STATUSBAR = yes; then
-              result=no
-            else
+            if test $wxUSE_STATUSBAR = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STATUSBAR
           eval "$wx_cv_use_taskbaricon"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TASKBARICON = yes; then
-              result=no
-            else
+            if test $wxUSE_TASKBARICON = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TASKBARICON
           eval "$wx_cv_use_tbarnative"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TOOLBAR_NATIVE = yes; then
-              result=no
-            else
+            if test $wxUSE_TOOLBAR_NATIVE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TOOLBAR_NATIVE
           eval "$wx_cv_use_textctrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TEXTCTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_TEXTCTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TEXTCTRL
           eval "$wx_cv_use_tipwindow"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TIPWINDOW = yes; then
-              result=no
-            else
+            if test $wxUSE_TIPWINDOW = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TIPWINDOW
           eval "$wx_cv_use_togglebtn"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TOGGLEBTN = yes; then
-              result=no
-            else
+            if test $wxUSE_TOGGLEBTN = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TOGGLEBTN
           eval "$wx_cv_use_toolbar"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TOOLBAR = yes; then
-              result=no
-            else
+            if test $wxUSE_TOOLBAR = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TOOLBAR
           eval "$wx_cv_use_toolbook"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TOOLBOOK = yes; then
-              result=no
-            else
+            if test $wxUSE_TOOLBOOK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TOOLBOOK
           eval "$wx_cv_use_treebook"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TREEBOOK = yes; then
-              result=no
-            else
+            if test $wxUSE_TREEBOOK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TREEBOOK
           eval "$wx_cv_use_treectrl"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TREECTRL = yes; then
-              result=no
-            else
+            if test $wxUSE_TREECTRL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TREECTRL
           eval "$wx_cv_use_commondlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COMMONDLGS = yes; then
-              result=no
-            else
+            if test $wxUSE_COMMONDLGS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COMMONDLGS
           eval "$wx_cv_use_aboutdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ABOUTDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_ABOUTDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ABOUTDLG
           eval "$wx_cv_use_choicedlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_CHOICEDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_CHOICEDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_CHOICEDLG
           eval "$wx_cv_use_coldlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_COLOURDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_COLOURDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_COLOURDLG
           eval "$wx_cv_use_filedlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FILEDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_FILEDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FILEDLG
           eval "$wx_cv_use_finddlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FINDREPLDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_FINDREPLDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FINDREPLDLG
           eval "$wx_cv_use_fontdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_FONTDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_FONTDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_FONTDLG
           eval "$wx_cv_use_dirdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DIRDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_DIRDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DIRDLG
           eval "$wx_cv_use_msgdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MSGDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_MSGDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MSGDLG
           eval "$wx_cv_use_numberdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_NUMBERDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_NUMBERDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_NUMBERDLG
           eval "$wx_cv_use_splash"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SPLASH = yes; then
-              result=no
-            else
+            if test $wxUSE_SPLASH = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SPLASH
           eval "$wx_cv_use_textdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TEXTDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_TEXTDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TEXTDLG
           eval "$wx_cv_use_tipdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_STARTUP_TIPS = yes; then
-              result=no
-            else
+            if test $wxUSE_STARTUP_TIPS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_STARTUP_TIPS
           eval "$wx_cv_use_progressdlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PROGRESSDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_PROGRESSDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PROGRESSDLG
           eval "$wx_cv_use_wizarddlg"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_WIZARDDLG = yes; then
-              result=no
-            else
+            if test $wxUSE_WIZARDDLG = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_WIZARDDLG
           eval "$wx_cv_use_menus"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MENUS = yes; then
-              result=no
-            else
+            if test $wxUSE_MENUS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MENUS
           eval "$wx_cv_use_miniframe"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MINIFRAME = yes; then
-              result=no
-            else
+            if test $wxUSE_MINIFRAME = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MINIFRAME
           eval "$wx_cv_use_tooltips"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TOOLTIPS = yes; then
-              result=no
-            else
+            if test $wxUSE_TOOLTIPS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TOOLTIPS
           eval "$wx_cv_use_splines"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_SPLINES = yes; then
-              result=no
-            else
+            if test $wxUSE_SPLINES = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_SPLINES
           eval "$wx_cv_use_mousewheel"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_MOUSEWHEEL = yes; then
-              result=no
-            else
+            if test $wxUSE_MOUSEWHEEL = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_MOUSEWHEEL
           eval "$wx_cv_use_validators"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_VALIDATORS = yes; then
-              result=no
-            else
+            if test $wxUSE_VALIDATORS = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_VALIDATORS
           eval "$wx_cv_use_busyinfo"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_BUSYINFO = yes; then
-              result=no
-            else
+            if test $wxUSE_BUSYINFO = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_BUSYINFO
           eval "$wx_cv_use_joystick"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_JOYSTICK = yes; then
-              result=no
-            else
+            if test $wxUSE_JOYSTICK = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_JOYSTICK
           eval "$wx_cv_use_metafile"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_METAFILE = yes; then
-              result=no
-            else
+            if test $wxUSE_METAFILE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_METAFILE
           eval "$wx_cv_use_dragimage"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DRAGIMAGE = yes; then
-              result=no
-            else
+            if test $wxUSE_DRAGIMAGE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DRAGIMAGE
           eval "$wx_cv_use_accessibility"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ACCESSIBILITY = yes; then
-              result=no
-            else
+            if test $wxUSE_ACCESSIBILITY = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ACCESSIBILITY
           eval "$wx_cv_use_palette"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PALETTE = yes; then
-              result=no
-            else
+            if test $wxUSE_PALETTE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PALETTE
           eval "$wx_cv_use_image"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_IMAGE = yes; then
-              result=no
-            else
+            if test $wxUSE_IMAGE = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_IMAGE
           eval "$wx_cv_use_gif"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_GIF = yes; then
-              result=no
-            else
+            if test $wxUSE_GIF = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_GIF
           eval "$wx_cv_use_pcx"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PCX = yes; then
-              result=no
-            else
+            if test $wxUSE_PCX = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PCX
           eval "$wx_cv_use_tga"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_TGA = yes; then
-              result=no
-            else
+            if test $wxUSE_TGA = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_TGA
           eval "$wx_cv_use_iff"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_IFF = yes; then
-              result=no
-            else
+            if test $wxUSE_IFF = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_IFF
           eval "$wx_cv_use_pnm"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_PNM = yes; then
-              result=no
-            else
+            if test $wxUSE_PNM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_PNM
           eval "$wx_cv_use_xpm"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_XPM = yes; then
-              result=no
-            else
+            if test $wxUSE_XPM = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_XPM
           eval "$wx_cv_use_ico_cur"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_ICO_CUR = yes; then
-              result=no
-            else
+            if test $wxUSE_ICO_CUR = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_ICO_CUR
           eval "$wx_cv_use_dccache"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DC_CACHEING = yes; then
-              result=no
-            else
+            if test $wxUSE_DC_CACHEING = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DC_CACHEING
           eval "$wx_cv_use_ps_in_msw"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
-              result=no
-            else
+            if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
           eval "$wx_cv_use_ownerdrawn"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_OWNER_DRAWN = yes; then
-              result=no
-            else
+            if test $wxUSE_OWNER_DRAWN = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_OWNER_DRAWN
           eval "$wx_cv_use_uxtheme"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_UXTHEME = yes; then
-              result=no
-            else
+            if test $wxUSE_UXTHEME = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_UXTHEME
           eval "$wx_cv_use_wxdib"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_DIB = yes; then
-              result=no
-            else
+            if test $wxUSE_DIB = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_DIB
           eval "$wx_cv_use_autoidman"
 
           if test x"$enablestring" = xdisable; then
-            if test $wxUSE_AUTOID_MANAGEMENT = yes; then
-              result=no
-            else
+            if test $wxUSE_AUTOID_MANAGEMENT = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$wxUSE_AUTOID_MANAGEMENT