~ruther/guix-local

ref: 1875cd2a5d5e3bed61ac8be8da407274b1040887 guix-local/gnu/packages/patches/openjdk-14-builtins.patch -rw-r--r-- 521 bytes
1875cd2a — Ricardo Wurmus gnu: r-arules: Update to 1.7-1. 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
--- jdk14-bc54620a3848/make/autoconf/basics.m4	2020-02-07 04:40:54.000000000 +1030
+++ jdk14-bc54620a3848-new/make/autoconf/basics.m4	2020-04-24 10:59:33.056098506 +0930
@@ -583,7 +583,7 @@
   BASIC_SETUP_TOOL($1, [AC_PATH_PROGS($1, $2, , $3)])
   if test "x[$]$1" = x; then
     AC_MSG_NOTICE([Required tool $2 not found in PATH, checking built-in])
-    if help $2 > /dev/null 2>&1; then
+    if command -v $2 > /dev/null 2>&1; then
       AC_MSG_NOTICE([Found $2 as shell built-in. Using it])
       $1="$2"
     else