From e06468e89b96c9885430e39ef98f0d8f22e7c157 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Tue, 12 Aug 2003 21:42:18 +0000 Subject: [PATCH] precompiled headers check accounts for Apple compiler now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- aclocal.m4 | 13 ++++++++++--- configure | 4 +++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index fedb14b8b3..e7d0b3fb59 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1653,9 +1653,16 @@ AC_DEFUN(AC_BAKEFILE_PRECOMP_HEADERS, AC_MSG_CHECKING([if the compiler supports precompiled headers]) AC_TRY_COMPILE([], [ - #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) || \ - (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4) - #error "no pch support" + #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) + #error "no pch support" + #endif + #if (__GNUC__ < 3) + #error "no pch support" + #endif + #if (__GNUC__ == 3) && \ + ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \ + ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) + #error "no pch support" #endif ], [ diff --git a/configure b/configure index 3bce909f2d..e3a162a23a 100755 --- a/configure +++ b/configure @@ -19289,7 +19289,7 @@ fi if test "$wxUSE_EXPAT" != "no"; then - wxUSE_XML=1 + wxUSE_XML=yes cat >>confdefs.h <<\_ACEOF #define wxUSE_EXPAT 1 _ACEOF @@ -34880,6 +34880,8 @@ fi + + # Check whether --enable-precomp-headers or --disable-precomp-headers was given. if test "${enable_precomp_headers+set}" = set; then enableval="$enable_precomp_headers" -- 2.45.2