equal
deleted
inserted
replaced
259 USE_PRECOMPILED_HEADER=0 |
259 USE_PRECOMPILED_HEADER=0 |
260 fi |
260 fi |
261 |
261 |
262 if test "x$ENABLE_PRECOMPH" = xyes; then |
262 if test "x$ENABLE_PRECOMPH" = xyes; then |
263 # Check that the compiler actually supports precomp headers. |
263 # Check that the compiler actually supports precomp headers. |
264 if test "x$GCC" = xyes; then |
264 if test "x$TOOLCHAIN_TYPE" = xgcc; then |
265 AC_MSG_CHECKING([that precompiled headers work]) |
265 AC_MSG_CHECKING([that precompiled headers work]) |
266 echo "int alfa();" > conftest.h |
266 echo "int alfa();" > conftest.h |
267 $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD |
267 $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD |
268 if test ! -f conftest.hpp.gch; then |
268 if test ! -f conftest.hpp.gch; then |
269 USE_PRECOMPILED_HEADER=0 |
269 USE_PRECOMPILED_HEADER=0 |