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 @@ # User has supplied a make, test it. - if test ! -f "$MAKE"; then - AC_MSG_ERROR([The specified make (by MAKE=$MAKE) is not found.]) -+ if test -a `dirname "$MAKE"` = "." -a ! -f "$MAKE"; then ++ if test `dirname "$MAKE"` = "." && ! test -f "$MAKE"; then + AC_PATH_PROGS(CHECK_MAKE, $MAKE) + else + CHECK_MAKE="${MAKE}" |