summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost2012-04-18 21:55:50 +0200
committerAnthony Liguori2012-04-24 16:50:31 +0200
commit023d3d67c7dc6e7f492de5b2336194c500d1779d (patch)
tree92af410d5f199fc23b698491336552e91c1ce7bc
parentconfigure: change meaning of --datadir to Autoconf convention (diff)
downloadqemu-023d3d67c7dc6e7f492de5b2336194c500d1779d.tar.gz
qemu-023d3d67c7dc6e7f492de5b2336194c500d1779d.tar.xz
qemu-023d3d67c7dc6e7f492de5b2336194c500d1779d.zip
configure: add --with-confsuffix option
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 <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index df439c92bd..2dffab8d93 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"