From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 11/14] introduce more --xyzdir options
Date: Wed, 26 May 2010 16:08:26 +0200 [thread overview]
Message-ID: <1274882909-9800-12-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1274882909-9800-1-git-send-email-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 4dc75c2..2e59f9b 100755
--- a/configure
+++ b/configure
@@ -68,6 +68,10 @@ cpu=""
prefix=""
interp_prefix="/usr/gnemul/qemu-%M"
static="no"
+mandir=""
+datadir=""
+docdir=""
+bindir=""
sysconfdir=""
sparc_cpu=""
cross_prefix=""
@@ -501,6 +505,14 @@ for opt do
static="yes"
LDFLAGS="-static $LDFLAGS"
;;
+ --mandir=*) mandir="$optarg"
+ ;;
+ --bindir=*) bindir="$optarg"
+ ;;
+ --datadir=*) datadir="$optarg"
+ ;;
+ --docdir=*) docdir="$optarg"
+ ;;
--sysconfdir=*) sysconfdir="$optarg"
;;
--disable-sdl) sdl="no"
@@ -755,7 +767,11 @@ echo " --extra-ldflags=LDFLAGS append extra linker flags LDFLAGS"
echo " --make=MAKE use specified make [$make]"
echo " --install=INSTALL use specified install [$install]"
echo " --static enable static build [$static]"
-echo " --sysconfdir=PATH install config in PATH"
+echo " --mandir=PATH install man pages in PATH"
+echo " --datadir=PATH install firmware in PATH"
+echo " --docdir=PATH install documentation in PATH"
+echo " --bindir=PATH install binaries in PATH"
+echo " --sysconfdir=PATH install config in PATH/qemu"
echo " --enable-debug-tcg enable TCG debugging"
echo " --disable-debug-tcg disable TCG debugging (default)"
echo " --enable-debug enable common debug build options"
@@ -1985,10 +2001,10 @@ else
confsuffix="/qemu"
fi
-mandir="\${prefix}$mansuffix"
-datadir="\${prefix}$datasuffix"
-docdir="\${prefix}$docsuffix"
-bindir="\${prefix}$binsuffix"
+: ${mandir:="\${prefix}$mansuffix"}
+: ${datadir:="\${prefix}$datasuffix"}
+: ${docdir:="\${prefix}$docsuffix"}
+: ${bindir:="\${prefix}$binsuffix"}
: ${sysconfdir:="\${prefix}$sysconfsuffix"}
confdir=$sysconfdir$confsuffix
--
1.6.6.1
next prev parent reply other threads:[~2010-05-26 14:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 14:08 [Qemu-devel] [PATCH 00/14] configure --xyzdir options cleanup Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 01/14] bail out early on invalid -cpu option Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 02/14] avoid using expr in configure Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 03/14] dyngen is long time gone Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 04/14] delete duplicate create_config case stanza Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 05/14] introduce sysconfsuffix Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 06/14] introduce confdir and confsuffix Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 07/14] rename CONFIG_QEMU_PREFIX Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 08/14] unify handling of xyzdir variables Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 09/14] move all directory entries in config-host.mak close Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 10/14] expand ${prefix} in create_config Paolo Bonzini
2010-05-26 14:08 ` Paolo Bonzini [this message]
2010-05-26 14:08 ` [Qemu-devel] [PATCH 12/14] ignore unknown --xyzdir options Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 13/14] move directory defaults earlier Paolo Bonzini
2010-05-26 14:08 ` [Qemu-devel] [PATCH 14/14] move computation of tools and roms outside of config-host.mak generation Paolo Bonzini
2010-05-26 18:08 ` [Qemu-devel] [PATCH 00/14] configure --xyzdir options cleanup Richard Henderson
2010-06-09 22:15 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1274882909-9800-12-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).