From nobody Thu Apr 25 21:01:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1602788931; cv=none; d=zohomail.com; s=zohoarc; b=DZkEHVqrzzXB7UchmMrRcrXywep8XuddPi3u/RiosalBJ5l7BE3KdrSl+ofTnMIxgtOhxXCA8pcI4F0adBzunz8ZI39oupGncUjSpBJ0jAkGpv4yUP7bOL4kW+1PKWTbBE2wsvz0GL/fKNU8oD0xTzTJ4RV5JBj+Qc2mBVbl3Z4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602788931; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=PBGEOQNan7Kx35cpMtw3DSU6w+Dcs2+o43RLNpFGCmA=; b=aBbRsZhL4mXXmfdEO+iOYM+/pZF83veKFn5jR33cbDpdIdZ69vrItpqeiOsUKFRBtoQekHzRWIYNvUWacYDsuvx/EWQJ+bEjYghIypuAfCCBhEfKYJmonuZFTTLxW0JzoagUWnAcM3Bb0GoG71CVJj5URGwJI6ovCVzzhzh6ak8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1602788931756750.5487524798617; Thu, 15 Oct 2020 12:08:51 -0700 (PDT) Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT8cM-0003sS-Ee for importer@patchew.org; Thu, 15 Oct 2020 15:08:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT8bR-0003R7-On for qemu-devel@nongnu.org; Thu, 15 Oct 2020 15:07:53 -0400 Received: from mx2.suse.de ([195.135.220.15]:38386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT8bQ-0001w6-5i for qemu-devel@nongnu.org; Thu, 15 Oct 2020 15:07:53 -0400 Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EE35DACB5; Thu, 15 Oct 2020 19:07:50 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1602788871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PBGEOQNan7Kx35cpMtw3DSU6w+Dcs2+o43RLNpFGCmA=; b=CINA5H5TH98Qg//tut2XxcKoNM7L9KxaeFWJ/3C5albjAdowpSe+A63h//8eLofk0J7+8k 6wpxvM8mW/Um07EP7Dk+jSG1PFlOuWDlTq5kyQe81a2HnDCAS5VezxVtQstcmn/LKclS4f d2zGt+/69VJL7r7gKRcCLq3Ba8AE8DA= From: Bruce Rogers To: qemu-devel@nongnu.org Subject: [PATCH] configure: fix handling of --docdir parameter Date: Thu, 15 Oct 2020 13:07:42 -0600 Message-Id: <20201015190742.270629-1-brogers@suse.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=195.135.220.15; envelope-from=brogers@suse.com; helo=mx2.suse.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/12 01:21:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: marcandre.lureau@redhat.com, Bruce Rogers , pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Commit ca8c0909f01 changed qemu_docdir to be docdir, then later uses the qemu_docdir name in the final assignment. Unfortunately, one instance of qemu_docdir was missed: the one which comes from the --docdir parameter. This patch restores the proper handling of the --docdir parameter. Fixes: ca8c0909f01 ("configure: build docdir like other suffixed directories") Signed-off-by: Bruce Rogers Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f839c2a557..07acd01a25 100755 --- a/configure +++ b/configure @@ -971,7 +971,7 @@ for opt do ;; --with-suffix=3D*) qemu_suffix=3D"$optarg" ;; - --docdir=3D*) qemu_docdir=3D"$optarg" + --docdir=3D*) docdir=3D"$optarg" ;; --sysconfdir=3D*) sysconfdir=3D"$optarg" ;; --=20 2.28.0