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 | 2 |
1 files changed, 1 insertions, 1 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 index 6454237..5192d1a 100644 --- 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 | |||
@@ -6,7 +6,7 @@ | |||
6 | # User has supplied a make, test it. | 6 | # User has supplied a make, test it. |
7 | - if test ! -f "$MAKE"; then | 7 | - if test ! -f "$MAKE"; then |
8 | - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) | 8 | - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) |
9 | + if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then | 9 | + if test `dirname "$MAKE"` = "." && ! test -f "$MAKE"; then |
10 | + AC_PATH_PROGS(CHECK_MAKE, $MAKE) | 10 | + AC_PATH_PROGS(CHECK_MAKE, $MAKE) |
11 | + else | 11 | + else |
12 | + CHECK_MAKE="${MAKE}" | 12 | + CHECK_MAKE="${MAKE}" |