From patchwork Mon Dec 14 15:57:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1416072 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CvmYK4f61z9sS8 for ; Tue, 15 Dec 2020 03:09:25 +1100 (AEDT) Received: from localhost ([::1]:41780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqPb-0005PO-Jy for incoming@patchwork.ozlabs.org; Mon, 14 Dec 2020 11:09:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koqEe-0007wn-5n; Mon, 14 Dec 2020 10:58:04 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:36871) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koqES-0001QK-AR; Mon, 14 Dec 2020 10:58:03 -0500 Received: from localhost.localdomain ([82.252.135.218]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M593i-1knkIm2LBM-001Cx9; Mon, 14 Dec 2020 16:57:44 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 09/19] configure: Test if $make actually exists Date: Mon, 14 Dec 2020 16:57:23 +0100 Message-Id: <20201214155733.207430-10-laurent@vivier.eu> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201214155733.207430-1-laurent@vivier.eu> References: <20201214155733.207430-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:JHnV3P/bmthpjWCnE+kpU7A3yNBH+T/PRHkqdYdsnGgqhgkksYP 2czI1wOXl5VseAFpXx7dR86WT4DmruN1g3Ry+2rJswU4xhUKS234L6VjpaHfLG/5pdpEZAh 0ZF5SrUohD+zkWJREQAkbhbWXj/+cmfPAfXCQ/dQmZEk80mRBIjw81khcZgSUhg1aWgXUIE pJMzzThQ/Z16Nujro/9DQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:lKh6vAvFT9Y=:lc3Tb3KSlidjlIiOQGLKVZ UAT+ebALPX5wM7f6OEBFyXpwSQpTCARGD9V1If+n5Acp0rCjS7pd1yUmw7fRLv2TzFtHIp/Th tt5xX9/Jzc4Gk/j9m/lfi0kS2zXDLD6SnXCJuA99ayE/jdqC6b9Aq4FgMQLIzUOJ0p6uGu+Dj BbLDooHwW4YUuNpc852kbheZ1n0XywMtSrnPMqbqu+rcYa3UsrM7yXTMTshQKayPrbhh5DkHt fxhGA2EMxQIQz2Ql6kqpKh4OIhIv0FgbX/nBiFP0b3FIl2EcKsa83tWX8KKbfqfuqxCY47IvB 2eP05oKwHOU08Ep9pvKuBkno1qkHB0wsxiDwtoSvXpTM3jzrlHiNUP9fdyWIcqr/uozf8uRIA 4wt/5no1jRbiA4faXc2eFbQlx024/HQuVeOlVez8Nm21pprBgdezqpLqzeOM919cZga8sMZX8 TpPp8Gk5Xw== Received-SPF: none client-ip=217.72.192.75; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , qemu-trivial@nongnu.org, Michael Tokarev , Laurent Vivier , Roman Bolshakov Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Roman Bolshakov configure doesn't detect if $make is installed on the build host. This is also helpful for hosts where an alias for make is used, i.e. configure would fail if gmake is not present on macOS. Reviewed-by: Daniel P. Berrangé Signed-off-by: Roman Bolshakov Reviewed-by: Thomas Huth Message-Id: <20200825202755.50626-5-r.bolshakov@yadro.com> Signed-off-by: Laurent Vivier --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 3f823ed16374..c20ed86ff35b 100755 --- a/configure +++ b/configure @@ -1875,6 +1875,10 @@ if test -z "$python" then error_exit "Python not found. Use --python=/path/to/python" fi +if ! has "$make" +then + error_exit "GNU make ($make) not found" +fi # Note that if the Python conditional here evaluates True we will exit # with status 1 which is a shell 'false' value.