summaryrefslogtreecommitdiff
blob: c846dbae8625b5c90b742269a34a1141343f1318 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- openjdk/common/autoconf/generated-configure.sh.orig	2016-04-01 04:32:19.000000000 +0100
+++ openjdk/common/autoconf/generated-configure.sh	2016-04-10 20:04:53.472885447 +0100
@@ -35764,7 +35764,7 @@
     # 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=`($CCACHE --version | head -n 1 | grep -E "3\.(1\.[456789]|[2-9])") 2> /dev/null`
     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; }