qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: pbonzini@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] configure: add --localstatedir
Date: Thu, 4 Oct 2012 10:39:39 -0500	[thread overview]
Message-ID: <20121004153939.GE16157@illuin> (raw)
In-Reply-To: <1349300158-19113-2-git-send-email-lcapitulino@redhat.com>

On Wed, Oct 03, 2012 at 06:35:57PM -0300, Luiz Capitulino wrote:
> Next commit wants to use it.
> 
> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>

> ---
>  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
> 

  reply	other threads:[~2012-10-04 15:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 21:35 [Qemu-devel] [PATCH v2 0/2] qemu-ga: change default state dir to /var/run Luiz Capitulino
2012-10-03 21:35 ` [Qemu-devel] [PATCH 1/2] configure: add --localstatedir Luiz Capitulino
2012-10-04 15:39   ` Michael Roth [this message]
2012-10-03 21:35 ` [Qemu-devel] [PATCH 2/2] qemu-ga: use state dir from CONFIG_QEMU_LOCALSTATEDIR Luiz Capitulino
2012-10-04 15:47   ` Michael Roth
2012-10-04 15:50     ` Luiz Capitulino
2012-10-04 17:37       ` Michael Roth
2012-10-04 17:48         ` Luiz Capitulino
2012-10-04 18:01           ` Michael Roth
2012-10-04  7:07 ` [Qemu-devel] [PATCH v2 0/2] qemu-ga: change default state dir to /var/run Paolo Bonzini

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=20121004153939.GE16157@illuin \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=lcapitulino@redhat.com \
    --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).