Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8, let alone 2.9, so remove all the __MWERKS__ tests to simplify things. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
13
configure.in
13
configure.in
@@ -4204,19 +4204,11 @@ if test "$ac_cv_func_vsnprintf" = "yes"; then
|
||||
AC_CACHE_CHECK([for vsnprintf declaration], wx_cv_func_vsnprintf_decl,
|
||||
[
|
||||
dnl our troubles are not over: HP-UX 11 prototypes vsnprintf() as
|
||||
dnl taking "char *" and not "const char *" while Metrowerks does
|
||||
dnl provide a correct vsnprintf declaration but in C++ mode it's
|
||||
dnl always in std namespace and so we have to bring it in scope
|
||||
dnl taking "char *" and not "const char *" so test for this too
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#ifdef __MSL__
|
||||
#if __MSL__ >= 0x6000
|
||||
namespace std {}
|
||||
using namespace std;
|
||||
#endif
|
||||
#endif
|
||||
],
|
||||
[
|
||||
char *buf;
|
||||
@@ -7876,8 +7868,7 @@ dnl add -I options we use during library compilation
|
||||
dnl
|
||||
dnl note that the order is somewhat important: wxWidgets headers should
|
||||
dnl come first and the one with setup.h should be before $(top_srcdir)/include
|
||||
dnl in case the latter contains setup.h used by non-autoconf makefiles (e.g.
|
||||
dnl CodeWarrior):
|
||||
dnl in case the latter contains setup.h used by non-autoconf makefiles
|
||||
CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
|
||||
-I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
|
||||
-I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
|
||||
|
Reference in New Issue
Block a user