From patchwork Wed Apr 18 19:55:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 153576 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EEBC4B6EEB for ; Thu, 19 Apr 2012 05:56:19 +1000 (EST) Received: from localhost ([::1]:51998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKazB-0001V9-Lb for incoming@patchwork.ozlabs.org; Wed, 18 Apr 2012 15:56:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKayj-00015K-C2 for qemu-devel@nongnu.org; Wed, 18 Apr 2012 15:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKayf-0003r7-5b for qemu-devel@nongnu.org; Wed, 18 Apr 2012 15:55:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKaye-0003qO-T1 for qemu-devel@nongnu.org; Wed, 18 Apr 2012 15:55:45 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3IJtggT030569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Apr 2012 15:55:42 -0400 Received: from blackpad.lan.raisama.net (ovpn-116-19.ams2.redhat.com [10.36.116.19]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3IJtf3L030286; Wed, 18 Apr 2012 15:55:42 -0400 Received: by blackpad.lan.raisama.net (Postfix, from userid 500) id 821ED202D02; Wed, 18 Apr 2012 16:55:52 -0300 (BRT) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Wed, 18 Apr 2012 16:55:50 -0300 Message-Id: <1334778950-18660-15-git-send-email-ehabkost@redhat.com> In-Reply-To: <1334778950-18660-1-git-send-email-ehabkost@redhat.com> References: <1334778950-18660-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: Paolo Bonzini , Anthony Liguori Subject: [Qemu-devel] [PATCH 14/14] configure: add --with-confsuffix option X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This will allow the user to make Qemu use a different subdirectory name inside $datadir and $sysconfdir, instead of "/qemu". Signed-off-by: Eduardo Habkost --- configure | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 4c0bb2f..6c12557 100755 --- a/configure +++ b/configure @@ -591,6 +591,8 @@ for opt do ;; --datadir=*) datadir="$optarg" ;; + --with-confsuffix=*) confsuffix="$optarg" + ;; --docdir=*) qemu_docdir="$optarg" ;; --sysconfdir=*) sysconfdir="$optarg" @@ -1007,10 +1009,11 @@ echo " --python=PYTHON use specified python [$python]" echo " --smbd=SMBD use specified smbd [$smbd]" echo " --static enable static build [$static]" echo " --mandir=PATH install man pages in PATH" -echo " --datadir=PATH install firmware in PATH/qemu" -echo " --docdir=PATH install documentation in PATH" +echo " --datadir=PATH install firmware in PATH$confsuffix" +echo " --docdir=PATH install documentation in PATH$confsuffix" echo " --bindir=PATH install binaries in PATH" -echo " --sysconfdir=PATH install config in PATH/qemu" +echo " --sysconfdir=PATH install config in PATH$confsuffix" +echo " --with-confsuffix=SUFFIX suffix for Qemu data inside datadir and sysconfdir [$confsuffix]" echo " --enable-debug-tcg enable TCG debugging" echo " --disable-debug-tcg disable TCG debugging (default)" echo " --enable-debug enable common debug build options"