Received: from eggs.gnu.org ([208.118.235.92]:40035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA5Sb-00082B-Vc for qemu-devel@nongnu.org; Tue, 20 Mar 2012 16:15:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA5SX-0004Yk-4w for qemu-devel@nongnu.org; Tue, 20 Mar 2012 16:15:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA5SW-0004Xo-SO for qemu-devel@nongnu.org; Tue, 20 Mar 2012 16:15:09 -0400 From: Eduardo Habkost Date: Tue, 20 Mar 2012 17:15:04 -0300 Message-Id: <1332274504-10437-4-git-send-email-ehabkost@redhat.com> In-Reply-To: <1332274504-10437-1-git-send-email-ehabkost@redhat.com> References: <1332274504-10437-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] configure: add --confsuffix option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori 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 --- 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