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
;
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'`"