From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJnct-0000BF-Hp for qemu-devel@nongnu.org; Thu, 04 Oct 2012 11:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJnWe-0008Gi-Rs for qemu-devel@nongnu.org; Thu, 04 Oct 2012 11:39:59 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:59851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJnWe-0008GH-N1 for qemu-devel@nongnu.org; Thu, 04 Oct 2012 11:39:48 -0400 Received: by mail-ob0-f173.google.com with SMTP id wc18so568826obb.4 for ; Thu, 04 Oct 2012 08:39:48 -0700 (PDT) Sender: fluxion Date: Thu, 4 Oct 2012 10:39:39 -0500 From: Michael Roth Message-ID: <20121004153939.GE16157@illuin> References: <1349300158-19113-1-git-send-email-lcapitulino@redhat.com> <1349300158-19113-2-git-send-email-lcapitulino@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349300158-19113-2-git-send-email-lcapitulino@redhat.com> Subject: Re: [Qemu-devel] [PATCH 1/2] configure: add --localstatedir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: pbonzini@redhat.com, qemu-devel@nongnu.org On Wed, Oct 03, 2012 at 06:35:57PM -0300, Luiz Capitulino wrote: > Next commit wants to use it. > > Signed-off-by: Luiz Capitulino Reviewed-by: Michael Roth > --- > configure | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 8f99b7b..dab07d6 100755 > --- a/configure > +++ b/configure > @@ -184,6 +184,7 @@ libdir="\${prefix}/lib" > libexecdir="\${prefix}/libexec" > includedir="\${prefix}/include" > sysconfdir="\${prefix}/etc" > +local_statedir="\${prefix}/var" > confsuffix="/qemu" > slirp="yes" > fmod_lib="" > @@ -552,6 +553,7 @@ EOF > qemu_docdir="\${prefix}" > bindir="\${prefix}" > sysconfdir="\${prefix}" > + local_statedir="\${prefix}" > confsuffix="" > libs_qga="-lws2_32 -lwinmm -lpowrprof $libs_qga" > fi > @@ -628,7 +630,9 @@ for opt do > ;; > --sysconfdir=*) sysconfdir="$optarg" > ;; > - --sbindir=*|--sharedstatedir=*|--localstatedir=*|\ > + --localstatedir=*) local_statedir="$optarg" > + ;; > + --sbindir=*|--sharedstatedir=*|\ > --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\ > --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*) > # These switches are silently ignored, for compatibility with > @@ -1022,6 +1026,7 @@ 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$confsuffix" > +echo " --localstatedir=PATH install local state in PATH" > 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)" > @@ -3086,6 +3091,7 @@ echo "library directory `eval echo $libdir`" > echo "libexec directory `eval echo $libexecdir`" > echo "include directory `eval echo $includedir`" > echo "config directory `eval echo $sysconfdir`" > +echo "local state directory `eval echo $local_statedir`" > if test "$mingw32" = "no" ; then > echo "Manual directory `eval echo $mandir`" > echo "ELF interp prefix $interp_prefix" > @@ -3194,6 +3200,7 @@ echo "sysconfdir=$sysconfdir" >> $config_host_mak > echo "qemu_confdir=$qemu_confdir" >> $config_host_mak > echo "qemu_datadir=$qemu_datadir" >> $config_host_mak > echo "qemu_docdir=$qemu_docdir" >> $config_host_mak > +echo "qemu_localstatedir=$local_statedir" >> $config_host_mak > echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak > > echo "ARCH=$ARCH" >> $config_host_mak > -- > 1.7.12.315.g682ce8b >