X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/345b8952b4b65ada70f06c2cd834571bc76025c9..d77ea20c7528b96fae506a7dc8ad68d4a04489b2:/configure diff --git a/configure b/configure index 3bce909f2d..c29078fe4b 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" @@ -34904,9 +34906,16 @@ int main () { - #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 ; @@ -35445,10 +35454,13 @@ else powerpc-*-darwin* ) CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS" ;; - *) - ;; esac fi +case "${host}" in + powerpc-*-darwin* ) + CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX" + ;; +esac SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"