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
This commit is contained in:
parent
4fd0fc66a7
commit
e06468e89b
13
aclocal.m4
vendored
13
aclocal.m4
vendored
@ -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
|
||||
],
|
||||
[
|
||||
|
4
configure
vendored
4
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user