1.1 --- a/common/autoconf/build-performance.m4 Wed Nov 14 10:13:28 2012 -0800 1.2 +++ b/common/autoconf/build-performance.m4 Wed Nov 14 10:16:45 2012 -0800 1.3 @@ -204,7 +204,7 @@ 1.4 # 1.5 AC_ARG_ENABLE([precompiled-headers], [AS_HELP_STRING([--disable-precompiled-headers], 1.6 [disable using precompiled headers when compiling C++ @<:@enabled@:>@])], 1.7 - [ENABLE_PRECOMPH=${enable_precompiled-headers}], [ENABLE_PRECOMPH=yes]) 1.8 + [ENABLE_PRECOMPH=${enable_precompiled_headers}], [ENABLE_PRECOMPH=yes]) 1.9 1.10 USE_PRECOMPILED_HEADER=1 1.11 if test "x$ENABLE_PRECOMPH" = xno; then 1.12 @@ -214,17 +214,16 @@ 1.13 if test "x$ENABLE_PRECOMPH" = xyes; then 1.14 # Check that the compiler actually supports precomp headers. 1.15 if test "x$GCC" = xyes; then 1.16 - AC_MSG_CHECKING([that precompiled headers work]) 1.17 + AC_MSG_CHECKING([that precompiled headers work]) 1.18 echo "int alfa();" > conftest.h 1.19 - $CXX -x c++-header conftest.h -o conftest.hpp.gch 1.20 + $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD 1.21 if test ! -f conftest.hpp.gch; then 1.22 - echo Precompiled header is not working! 1.23 USE_PRECOMPILED_HEADER=0 1.24 AC_MSG_RESULT([no]) 1.25 else 1.26 AC_MSG_RESULT([yes]) 1.27 fi 1.28 - rm -f conftest.h 1.29 + rm -f conftest.h conftest.hpp.gch 1.30 fi 1.31 fi 1.32