]> git.saurik.com Git - wxWidgets.git/commitdiff
set WXWIN_COMPATIBILITY_2_2 to 1 by default
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Feb 2002 22:59:27 +0000 (22:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Feb 2002 22:59:27 +0000 (22:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index cfcceeceb19cc0d3b95d7f5f2daef3f4954acbaf..2f80d4b0ae59b0eaddc200cfcf34a342f280eeb1 100755 (executable)
--- a/configure
+++ b/configure
@@ -140,7 +140,7 @@ ac_help="$ac_help
 ac_help="$ac_help
   --enable-compat20       enable wxWindows 2.0 compatibility"
 ac_help="$ac_help
-  --enable-compat22       enable wxWindows 2.2 compatibility"
+  --disable-compat22      disable wxWindows 2.2 compatibility"
 ac_help="$ac_help
   --enable-intl           use internationalization system"
 ac_help="$ac_help
@@ -17939,7 +17939,7 @@ EOF
     WXWIN_COMPATIBILITY_2_2="yes"
 fi
 
-if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
+if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
     cat >> confdefs.h <<\EOF
 #define WXWIN_COMPATIBILITY_2_2 1
 EOF
index c024e45f0da93bd3a3fdfa1cf5406f1e441c42b9..eebefc69e607316460751dad61cee45e098f264a 100644 (file)
@@ -767,7 +767,7 @@ WX_ARG_ENABLE(permissive,    [  --enable-permissive     compile code disregardin
 WX_ARG_ENABLE(no_deps,       [  --enable-no_deps        create code without dependency information], wxUSE_NO_DEPS)
 
 WX_ARG_ENABLE(compat20,      [  --enable-compat20       enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
-WX_ARG_ENABLE(compat22,      [  --enable-compat22       enable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
+WX_ARG_ENABLE(compat22,      [  --disable-compat22      disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
 
 dnl ---------------------------------------------------------------------------
 dnl (small) optional non GUI classes
@@ -3417,7 +3417,7 @@ if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
     WXWIN_COMPATIBILITY_2_2="yes"
 fi
 
-if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
+if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
     AC_DEFINE(WXWIN_COMPATIBILITY_2_2)
 fi