common/autoconf/build-performance.m4

changeset 2206
7ba4e17574e0
parent 2204
0e87966d7ff1
child 2215
7a73b8b4ac8a
     1.1 --- a/common/autoconf/build-performance.m4	Wed Mar 21 09:19:00 2018 -0700
     1.2 +++ b/common/autoconf/build-performance.m4	Thu Apr 05 07:59:52 2018 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  #
     1.5 -# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     1.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8  #
     1.9  # This code is free software; you can redistribute it and/or modify it
    1.10 @@ -261,7 +261,7 @@
    1.11  
    1.12    if test "x$ENABLE_PRECOMPH" = xyes; then
    1.13      # Check that the compiler actually supports precomp headers.
    1.14 -    if test "x$GCC" = xyes; then
    1.15 +    if test "x$TOOLCHAIN_TYPE" = xgcc; then
    1.16        AC_MSG_CHECKING([that precompiled headers work])
    1.17        echo "int alfa();" > conftest.h
    1.18        $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD

mercurial