Received: by 10.213.65.16 with SMTP id m16csp40637imf; Sun, 11 Mar 2018 14:02:43 -0700 (PDT) X-Google-Smtp-Source: AG47ELvWmGUy8NzsHfHEP6HwvBLeBOEv8n5TqKXzET/hjZzDXsWXS7NpRterw2eYCzYwN9ASJ6b7 X-Received: by 10.99.95.135 with SMTP id t129mr2217203pgb.268.1520802163111; Sun, 11 Mar 2018 14:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520802163; cv=none; d=google.com; s=arc-20160816; b=GIXwsHTa4bqtP4yKr3k9yzRqwlZWdDG/m0A/6ptBUqNJuQbuGbi21HkpHVmnc3+yq/ APZx2lBbh2LnPIfaKnT+bvGex+vcxxggqR2xYUBNYA9AIzET0yaX2hjDvkNPh2cKBnQn R4v8Go6ursxVv/VXYYB3nrMIjfMqNkSuIWL09Ck46GT+S/iowp6k/ZYrWac97RHcUJoL xgg7OISeJOdhY07hruU8/qW8NhQqbUai4y12gzgxX0tr6E3WhMyKYqFFNrGJRAxJC0bB bf/etu3nBT7dCof0RUoJsd1PfoNl9IDyuPAaB7mJRSdkpXAaWU57madpCakCLEPyqixN 5oMg== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=9BoYgRl6YjHglCa4rz5DuxhS9pdKT9VjNTSdaPGOKfk=; b=hF62XIbtTUzHZ8mSlgyR/PZCVvKA5VHk/Z6PoJm9G/qCucNByMY2ceOsPjO5619mD0 qoB9tmiy4NYduq/V6q0ULLo79S5iYkRj6m8rJouQvLqhVR9fWC+SF+0SqgcEnfb5vCJ8 jJ89DQo+GiTEQ5FbeEUE//yMm7On85FKwDnU97AleE9XzeJQdCLb862l6B6Y7dGhRaWo 5tap1VFxJwnRarngQdINZo/m48BvezeEKSr53skt/HoE+oVmlatVJhLXjRNpvZSvUQC+ Vdfb9svC/deOTeRYy8rKeyOM6kiW01B6zXiHJVbBYOrD1zrMMAraqcvYua0vXLkOpfIl ctfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vDRi6+Bu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8-v6si2320544plk.332.2018.03.11.14.02.28; Sun, 11 Mar 2018 14:02:43 -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=pass header.i=@gmail.com header.s=20161025 header.b=vDRi6+Bu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932373AbeCKVAy (ORCPT + 99 others); Sun, 11 Mar 2018 17:00:54 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:35813 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932232AbeCKVAw (ORCPT ); Sun, 11 Mar 2018 17:00:52 -0400 Received: by mail-io0-f174.google.com with SMTP id k21so5164743ioc.2; Sun, 11 Mar 2018 14:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9BoYgRl6YjHglCa4rz5DuxhS9pdKT9VjNTSdaPGOKfk=; b=vDRi6+Bukdx9UsjOs9jWIX3zwnNnUNmVyRSXgU4ZVE0/HNkxcq81qWAh7LldTQp84w t4L4xO3jssJt0pVqnqYFkzTD0mhmdF00pMwUS3FIzHzAvdXBJohmU6xL2H2MQ6XH1zyi 4oS7b+W2kkzYibbiPeZCDEYXPjvvGiAxAmFOStxqR9NNrj1rK29/FxsMlqyC25DqSeuw q4RLCdqAksNk3sSI7RISUbGjyAAheynPhRbPafJ6w9DPFH17H24O+FIXPLnYTKtzgUPS YPh73RTa1Mt4g67thwBbI4Kpry/ToJGTNWpKbcPc8v2kGVchPMfMm0my/SDS6YzUt9C0 QuFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9BoYgRl6YjHglCa4rz5DuxhS9pdKT9VjNTSdaPGOKfk=; b=EXPO7eRVQaz97yiBH5H6DD2zc6mY6SntK9k4cjRNPpF5bgz7AVhi3+eIB47OncOWug SS1VjYcn1Iy3GnPV+lNd3rWcpY/D1WTy7c3tkn7e9eKMzNl5TRNEcQ5xy/ifqNzChLcD Vs1gubJa/G1icptiDl3jtJksGH1S6XL31PUY1yhFH8uB+wakc4eR/7Cla7DaQn1jSqVE H2/0Ul0zopIxXFTJJ0TGrQ/SX50PMSeg9ZmTU088hRLe4ICep6o0pEHAqMLAfv3NL1y6 XkEXJ5M6+JcaCUj5+8xsppfhXTIfjTBbu2v62w+X760doTjovyL+raigjxrMPh1ldqH8 PlGA== X-Gm-Message-State: AElRT7E35dJYrhN3iO2lza+XH1/ErLBDPEBA68k/dA61j7GhJXJTizHO lcNrq33I7s6cY0YDfqAj/0iw/dvkqJBBsW3uHQ== X-Received: by 10.107.173.12 with SMTP id w12mr6009421ioe.282.1520802051748; Sun, 11 Mar 2018 14:00:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.147.197 with HTTP; Sun, 11 Mar 2018 14:00:51 -0700 (PDT) In-Reply-To: <09cf5537-b2d7-5bf5-0c0b-d0b765e1e75b@infradead.org> References: <09cf5537-b2d7-5bf5-0c0b-d0b765e1e75b@infradead.org> From: =?UTF-8?Q?Bj=C3=B8rn_Forsman?= Date: Sun, 11 Mar 2018 22:00:51 +0100 Message-ID: Subject: Re: [PATCH] kbuild: check for pkg-config on make menu/n/g/xconfig To: Randy Dunlap Cc: linux-kbuild , Masahiro Yamada , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11 March 2018 at 21:12, Randy Dunlap wrote: > +pkgcfg=3D`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. Best regards, Bj=C3=B8rn Forsman