Received: by 10.213.65.68 with SMTP id h4csp191220imn; Mon, 12 Mar 2018 10:45:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELtIKzpcrUY/biEKHuzLEBTNKZjePnTQLc5gLjSFRcoun5F67AbUko7bAWEtEgc4/iwutGqC X-Received: by 2002:a17:902:aa91:: with SMTP id d17-v6mr3896363plr.145.1520876756748; Mon, 12 Mar 2018 10:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520876756; cv=none; d=google.com; s=arc-20160816; b=cfCPGE9nCZ+rBciTkNznqgrGNBorVfBV+dACcV4T/P9uex42Ge+YyoWaCIafFpymjR Z3c9diFvdliKfw+RWdsCgeN0KO2E5E5i1gWiqDF1dxdfPloZp37Ogkm5izKFeDQH/9mm wiYUA/B7eM6KUzxXVee344jmHJLyvuvWOXmFtWntt7TzPXcyfHj8nP6otDr5heAjsL3A kJBjmgCNRt4WuzjjWaK5vi7lDkb7Hz5my6L0Oi6+r01wyGa3hINi9osrrEl/f0Qd99bl Th5N50EzzrSrXHlOzO12jvMCOCFZLvjMuGTRYXWZGNaVp6Z5dZ+WOE3DXotH0HW4lLfq UICA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=syVnZTtv2r+oLwhyXDmKB24bGUOjRpUDNnan9coc0J0=; b=Yvo6BAZuhOP9ROe7vlTuC7A2gOkOtLu0Q1yfb/QG0IEfqzsYd/i0/vo/CE2AXyxrI3 GsKmDeetiOn7fZz8jTkw9PikhXGBL090LjZvssMjQ+x6485TDVVORQdwl/gGHtf6Jdjr QvYz9DGMyKad6sGP7BfFrYZbwGVSDuDxzak1+/AIjCTqBZYeyJcUrZmPWKqmQF3zg6Ri 6C/8TMkEz1ToMqqv8H3VuMMHaQzDTxVvfCpbZV50M5AZ0TckSBMMJQouTvEmzbRwDhJg 1EqIr0+xjo+g9N0b4evMZ5OR7+sZgGbY3K4wDFUFkbSiM5nMX7rIQpyGFIqJXgfhHDMx q0Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=1VBhW7UV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b81si6158610pfj.22.2018.03.12.10.45.42; Mon, 12 Mar 2018 10:45:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=1VBhW7UV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932676AbeCLRov (ORCPT + 99 others); Mon, 12 Mar 2018 13:44:51 -0400 Received: from merlin.infradead.org ([205.233.59.134]:44934 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932231AbeCLRot (ORCPT ); Mon, 12 Mar 2018 13:44:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=syVnZTtv2r+oLwhyXDmKB24bGUOjRpUDNnan9coc0J0=; b=1VBhW7UV8J/H1Z0jgpQRZz8Mw5 N3TA4EjXJ9K/ntvvZvWHvouYzPMW1C2MmtulFhKDD5J4YAsZ40vX+9EkRf0hVbJ8OFcdEAa8cR3MX Qz+c/mkdETUZtl21c0tWSJoYFLc+chjPkAYOz1jUJSim6RE8pWd0UTcNIVL7Il4k1SItL+/Y2kUOR bbCCUericAXBLLFbbp0bb7jTVJUAdjTmvtP3cEiiQlHENlSAfwFo4wFv9DTvuuXTKApt3YqtrleXr rL1Nbm7Zv/MEcI8/WGW+avK43eY6WFCiVcObbHluOPl0fpJbD/JBm8jaABxfvkbMpxlzJONRK7i9I T3dS/F8g==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1evRV9-0005XQ-P8; Mon, 12 Mar 2018 17:44:48 +0000 Subject: Re: [PATCH] kbuild: check for pkg-config on make menu/n/g/xconfig To: =?UTF-8?Q?Bj=c3=b8rn_Forsman?= Cc: linux-kbuild , Masahiro Yamada , LKML References: <09cf5537-b2d7-5bf5-0c0b-d0b765e1e75b@infradead.org> From: Randy Dunlap Message-ID: Date: Mon, 12 Mar 2018 10:44:44 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/2018 02:00 PM, Bjørn Forsman wrote: > On 11 March 2018 at 21:12, Randy Dunlap wrote: >> +pkgcfg=`which pkg-config >/dev/null 2>&1` > > Please use "command -v" instead of "which". command -v is in POSIX, so > the shell will have it for sure (builtin). which is not a builtin, it > is an external command that may or may not be installed on the system. Will do. Thanks. Just waiting to see if there are any other comments... -- ~Randy