Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp399171imm; Fri, 31 Aug 2018 03:34:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdakUWQfxwRR4wnIBArUsV9OP4sGYB1UdHX6CSuOQOqNn9DT3PMpiR9M5tcNkt9RDKBaRyPE X-Received: by 2002:a17:902:b115:: with SMTP id q21-v6mr14938695plr.333.1535711688842; Fri, 31 Aug 2018 03:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535711688; cv=none; d=google.com; s=arc-20160816; b=aNOtoB2nw3P1bpTunGoI+eyZukQpxvjn7FKDY8kcfN7pJ6G691H6wfIL+ixjFn85G3 HWq/h869c9A0tVR0wZE7FulQEqaejMiAJBbYw3jW1ExARsMwVj+CW96B8QOaJHpIoZi0 klPTJWAJVtSY4c4aiYoWWz2EcLFcM42pfb0eNRwvrJVnyNovQhq+7zgWh029llD5kgZP AQfG4dyASxr6rRrG6UG3VtOoDJSFB+OZiYR1G62rNWlnxwmx9RQAGoV/Vsl0lUqpmgyp HowMzWE8vhoWzInv6hehQJMoHJVyOXPRwB+LOERsy/2ho9YdnVBxcyWtp4o8sdvkVC+a A+uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=4H9//JakVN1CEDoh/cpbOw2+yWtxywD09Pd+SyXjzs0=; b=gb/41fe841JWpqYRMVmTBGjnQ+J1+p7zhWvxJYotVK06V2NtHieESOnPuH3qpLpbhO +5wUbBR4bRlVWxssmLFkKYXtGQq4e1zT7OyD3dFImTp1V6C9zrykvls9QKwtvTx48q2V m3CWYerwik/nkgO460HSDfn0JEXB9Xtng0O5zHS04WYyhF25j+Wk00oCU7dIHIzs43Uv RFpMd2wGp6vrEP44hM2iYxVrV8UrRIOIaMStFvt0jbtD0vHlVdN2KeYO6rhfI69U8uBU fkt8iufQQBD1TG4F+qu+AVyHACl1hhXydfypsMPx/RfJtDCqVybrPIZFFtRKDvsgZH5l h+aA== ARC-Authentication-Results: i=1; mx.google.com; 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 z7-v6si2214258pgf.173.2018.08.31.03.34.34; Fri, 31 Aug 2018 03:34:48 -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; 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 S1727990AbeHaOc6 (ORCPT + 99 others); Fri, 31 Aug 2018 10:32:58 -0400 Received: from smtp2.it.da.ut.ee ([193.40.5.67]:49299 "EHLO smtp2.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727363AbeHaOc6 (ORCPT ); Fri, 31 Aug 2018 10:32:58 -0400 Received: from math.ut.ee (unknown [IPv6:2001:bb8:2002:2400:5054:ff:fe3b:8db9]) by smtp2.it.da.ut.ee (Postfix) with ESMTP id 17DA290028; Fri, 31 Aug 2018 13:26:07 +0300 (EEST) Received: by math.ut.ee (Postfix, from userid 1014) id 0252A220A62; Fri, 31 Aug 2018 13:26:05 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by math.ut.ee (Postfix) with ESMTP id 0B1842204AF; Fri, 31 Aug 2018 13:26:05 +0300 (EEST) Date: Fri, 31 Aug 2018 13:26:04 +0300 (EEST) From: Meelis Roos To: Masahiro Yamada cc: linux-kbuild@vger.kernel.org, Randy Dunlap , linux-kernel@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH] kconfig: do not require pkg-config on make {menu,n}config In-Reply-To: <1535708095-15847-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: References: <1535708095-15847-1-git-send-email-yamada.masahiro@socionext.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Meelis Roos reported a {menu,n}config regression: > > "I have libncurses devel package installed in the default system > location (as do 99%+ on actual developers probably) and in this > case, pkg-config is useless. pkg-config is needed only when > libraries and headers are installed in non-default locations but > it is bad to require installation of pkg-config on all the machines > where make menuconfig would be possibly run." > > For {menu,n}config, do not use pkg-config if it is not installed. > For {g,x}config, keep checking pkg-config since we really rely on it > for finding the installation paths of the required packages. > > Fixes: 4ab3b80159d4 ("kconfig: check for pkg-config on make {menu,n,g,x}config") > Reported-by: Meelis Roos > Signed-off-by: Masahiro Yamada Tested-by: Meelis Roos -- Meelis Roos (mroos@linux.ee)