# endif
#endif /* !defined(wxUSE_DYNAMIC_LOADER) */
+#ifndef wxUSE_INTL
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_INTL must be defined."
+# else
+# define wxUSE_INTL 0
+# endif
+#endif /* !defined(wxUSE_INTL) */
+
#ifndef wxUSE_LOG
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_LOG must be defined."
# endif
#endif /* wxUSE_VARIANT */
-#ifndef wxUSE_WEAKREF
+#ifndef wxUSE_XLOCALE
# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_WEAKREF must be defined."
+# error "wxUSE_XLOCALE must be defined."
# else
-# define wxUSE_WEAKREF 0
+# define wxUSE_XLOCALE 0
# endif
-#endif /* wxUSE_WEAKREF */
+#endif /* !defined(wxUSE_XLOCALE) */
/*
Section 1b: all these tests are for GUI only.
#endif /* !defined(wxUSE_HTML) */
#ifndef wxUSE_LIBMSPACK
-# ifndef __UNIX__
+# if !defined(__UNIX__) || defined(__WXPALMOS__)
/* set to 0 on platforms that don't have libmspack */
# define wxUSE_LIBMSPACK 0
# else
# include "wx/x11/chkconf.h"
#endif
-#ifdef __UNIX__
+/*
+ __UNIX__ is also defined under Cygwin but we shouldn't perform these checks
+ there if we're building wxMSW.
+ */
+#if defined(__UNIX__) && !defined(__WXMSW__)
# include "wx/unix/chkconf.h"
#endif