Received: from eggs.gnu.org ([208.118.235.92]:59464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFV0M-0008Si-Jy for qemu-devel@nongnu.org; Wed, 04 Apr 2012 14:32:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFV0C-0001lF-N9 for qemu-devel@nongnu.org; Wed, 04 Apr 2012 14:32:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFV0C-0001hA-Ex for qemu-devel@nongnu.org; Wed, 04 Apr 2012 14:32:16 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q34IWDxJ003053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 4 Apr 2012 14:32:13 -0400 From: Eduardo Habkost Date: Wed, 4 Apr 2012 15:32:25 -0300 Message-Id: <1333564345-13011-15-git-send-email-ehabkost@redhat.com> In-Reply-To: <1333564345-13011-1-git-send-email-ehabkost@redhat.com> References: <1333564345-13011-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 14/14] configure: add --with-confsuffix option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini 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 521d233..961c10e 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" -- 1.7.3.2