From patchwork Wed Nov 23 17:26:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 5303 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D25AB23E0F for ; Wed, 23 Nov 2011 17:26:50 +0000 (UTC) Received: from mail-gy0-f180.google.com (mail-gy0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 8E6DFA183C2 for ; Wed, 23 Nov 2011 17:26:50 +0000 (UTC) Received: by ghbg18 with SMTP id g18so2164502ghb.11 for ; Wed, 23 Nov 2011 09:26:50 -0800 (PST) Received: by 10.152.111.170 with SMTP id ij10mr12173189lab.5.1322069209478; Wed, 23 Nov 2011 09:26:49 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs251383lal; Wed, 23 Nov 2011 09:26:49 -0800 (PST) Received: by 10.213.15.4 with SMTP id i4mr2046121eba.95.1322069207405; Wed, 23 Nov 2011 09:26:47 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id 64si4196383eew.176.2011.11.23.09.26.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Nov 2011 09:26:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1RTGaq-0000Tt-Qd; Wed, 23 Nov 2011 17:26:44 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-trivial@nongnu.org Subject: [PATCH 1/2] configure: Include #define name in check_define compiler error Date: Wed, 23 Nov 2011 17:26:43 +0000 Message-Id: <1322069204-1824-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1322069204-1824-1-git-send-email-peter.maydell@linaro.org> References: <1322069204-1824-1-git-send-email-peter.maydell@linaro.org> Include the name of the #define being tested for in the compiler error produced when a check_define test is run and fails. This appears only in the config.log, but it does make it a little easier to debug problems by inspecting config.log. Signed-off-by: Peter Maydell --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index f033438..5a35b6d 100755 --- a/configure +++ b/configure @@ -249,7 +249,7 @@ source_path=`cd "$source_path"; pwd` check_define() { cat > $TMPC <