diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch new file mode 100644 index 0000000..a8a9c1d --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/dont-expect-fqpn-for-make.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- common/autoconf/basics.m4.orig 2015-08-17 19:05:13.122672019 +0200 | ||
2 | +++ common/autoconf/basics.m4 2015-08-17 19:13:01.482673782 +0200 | ||
3 | @@ -549,10 +549,12 @@ | ||
4 | # We need to find a recent version of GNU make. Especially on Solaris, this can be tricky. | ||
5 | if test "x$MAKE" != x; then | ||
6 | # User has supplied a make, test it. | ||
7 | - if test ! -f "$MAKE"; then | ||
8 | - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) | ||
9 | + if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then | ||
10 | + AC_PATH_PROGS(CHECK_MAKE, $MAKE) | ||
11 | + else | ||
12 | + CHECK_MAKE="${MAKE}" | ||
13 | fi | ||
14 | - BASIC_CHECK_MAKE_VERSION("$MAKE", [user supplied MAKE=$MAKE]) | ||
15 | + BASIC_CHECK_MAKE_VERSION("$CHECK_MAKE", [user supplied MAKE=$MAKE]) | ||
16 | if test "x$FOUND_MAKE" = x; then | ||
17 | AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer.]) | ||
18 | fi | ||