set WXWIN_COMPATIBILITY_2_2 to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -140,7 +140,7 @@ ac_help="$ac_help
|
|||||||
ac_help="$ac_help
|
ac_help="$ac_help
|
||||||
--enable-compat20 enable wxWindows 2.0 compatibility"
|
--enable-compat20 enable wxWindows 2.0 compatibility"
|
||||||
ac_help="$ac_help
|
ac_help="$ac_help
|
||||||
--enable-compat22 enable wxWindows 2.2 compatibility"
|
--disable-compat22 disable wxWindows 2.2 compatibility"
|
||||||
ac_help="$ac_help
|
ac_help="$ac_help
|
||||||
--enable-intl use internationalization system"
|
--enable-intl use internationalization system"
|
||||||
ac_help="$ac_help
|
ac_help="$ac_help
|
||||||
@@ -17939,7 +17939,7 @@ EOF
|
|||||||
WXWIN_COMPATIBILITY_2_2="yes"
|
WXWIN_COMPATIBILITY_2_2="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
|
if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
|
||||||
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
||||||
#define WXWIN_COMPATIBILITY_2_2 1
|
#define WXWIN_COMPATIBILITY_2_2 1
|
||||||
EOF
|
EOF
|
||||||
|
@@ -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(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(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 ---------------------------------------------------------------------------
|
||||||
dnl (small) optional non GUI classes
|
dnl (small) optional non GUI classes
|
||||||
@@ -3417,7 +3417,7 @@ if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
|
|||||||
WXWIN_COMPATIBILITY_2_2="yes"
|
WXWIN_COMPATIBILITY_2_2="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
|
if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
|
||||||
AC_DEFINE(WXWIN_COMPATIBILITY_2_2)
|
AC_DEFINE(WXWIN_COMPATIBILITY_2_2)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user