From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Anthony Liguori <anthony@codemonkey.ws>
Subject: [Qemu-devel] [PATCH 3/3] configure: add --confsuffix option
Date: Tue, 20 Mar 2012 17:15:04 -0300 [thread overview]
Message-ID: <1332274504-10437-4-git-send-email-ehabkost@redhat.com> (raw)
In-Reply-To: <1332274504-10437-1-git-send-email-ehabkost@redhat.com>
This way we can choose a configuration file path different from
${sysconfdir}/PACKAGE.
This also changes the configure output to show the full configuration
dir path (including $confsuffix), instead of just $sysconfdir.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
configure | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 8b4e3c1..1170466 100755
--- a/configure
+++ b/configure
@@ -595,6 +595,8 @@ for opt do
;;
--sysconfdir=*) sysconfdir="$optarg"
;;
+ --confsuffix=*) confsuffix="$optarg"
+ ;;
--sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
--oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
--htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
@@ -1010,7 +1012,8 @@ 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 " --sysconfdir=PATH install config in PATH$confsuffix"
+echo " --confsuffix=SUFFIX install config in \${sysconfdir}SUFFIX [$confsuffix]"
echo " --enable-debug-tcg enable TCG debugging"
echo " --disable-debug-tcg disable TCG debugging (default)"
echo " --enable-debug enable common debug build options"
@@ -2869,7 +2872,7 @@ echo "BIOS directory `eval echo $datadir`"
echo "binary directory `eval echo $bindir`"
echo "library directory `eval echo $libdir`"
echo "include directory `eval echo $includedir`"
-echo "config directory `eval echo $sysconfdir`"
+echo "config directory `eval echo $confdir`"
if test "$mingw32" = "no" ; then
echo "Manual directory `eval echo $mandir`"
echo "ELF interp prefix $interp_prefix"
--
1.7.3.2
next prev parent reply other threads:[~2012-03-20 20:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-20 20:15 [Qemu-devel] [PATCH 0/3] add ./configure --confsuffix option (v2) Eduardo Habkost
2012-03-20 20:15 ` [Qemu-devel] [PATCH 1/3] Makefile: use $(confdir) instead of hardcoding $(sysconfdir)/qemu Eduardo Habkost
2012-03-21 12:40 ` Paolo Bonzini
2012-03-20 20:15 ` [Qemu-devel] [PATCH 2/3] qemu-options.hx: refer to confdir instead of sysconfdir on docs Eduardo Habkost
2012-03-21 12:43 ` Paolo Bonzini
2012-03-21 13:27 ` Eduardo Habkost
2012-03-20 20:15 ` Eduardo Habkost [this message]
2012-03-21 12:39 ` [Qemu-devel] [PATCH 3/3] configure: add --confsuffix option Paolo Bonzini
2012-03-21 14:42 ` Eduardo Habkost
2012-03-21 22:23 ` Paolo Bonzini
2012-03-22 12:54 ` Eduardo Habkost
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=1332274504-10437-4-git-send-email-ehabkost@redhat.com \
--to=ehabkost@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=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).