diff --git a/common/autoconf/build-performance.m4 b/common/autoconf/build-performance.m4 index 8f03538301..502209cb56 100644 --- a/common/autoconf/build-performance.m4 +++ b/common/autoconf/build-performance.m4 @@ -212,7 +212,7 @@ AC_DEFUN([BPERF_SETUP_CCACHE_USAGE], # Only use ccache if it is 3.1.4 or later, which supports # precompiled headers. AC_MSG_CHECKING([if ccache supports precompiled headers]) - HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.@<:@456789@:>@) 2> /dev/null` + HAS_GOOD_CCACHE="yes" if test "x$HAS_GOOD_CCACHE" = x; then AC_MSG_RESULT([no, disabling ccache]) CCACHE= diff --git a/common/autoconf/generated-configure.sh b/common/autoconf/generated-configure.sh index 0dadac60b1..7927508abf 100644 --- a/common/autoconf/generated-configure.sh +++ b/common/autoconf/generated-configure.sh @@ -52500,7 +52500,7 @@ $as_echo "$as_me: WARNING: --with-ccache-dir has no meaning when ccache is not e # precompiled headers. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ccache supports precompiled headers" >&5 $as_echo_n "checking if ccache supports precompiled headers... " >&6; } - HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.[456789]) 2> /dev/null` + HAS_GOOD_CCACHE="yes" if test "x$HAS_GOOD_CCACHE" = x; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabling ccache" >&5 $as_echo "no, disabling ccache" >&6; }