common/autoconf/build-performance.m4
changeset 22721 63761da45392
parent 22476 5adfe6618462
child 23428 3c8a05bf4656
equal deleted inserted replaced
22720:06c273a55d76 22721:63761da45392
   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