qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options
Date: Mon, 28 Nov 2011 16:37:10 -0600	[thread overview]
Message-ID: <4ED40D16.9070706@redhat.com> (raw)
In-Reply-To: <1322136691-23057-1-git-send-email-jcmvbkbc@gmail.com>

On 11/24/2011 06:11 AM, Max Filippov wrote:
> --*dir) option pattern precede --{en,dis}able-usb-redir) patterns in the
> option analysis switch, making the latter options have no effect.
>
> There were some --*dir that are supported by Autoconf and not by QEMU configure.
> The aim was to let QEMU packagers use the rpm (or similar) macro that overrides
> directories for their distribution.
>
> Replace --*dir with exact option names.
>
> Signed-off-by: Max Filippov<jcmvbkbc@gmail.com>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
> v2 ->  v3 changes: add --htmldir
> v3 ->  v4 changes: collapse cases, include rationale into the configure
> ---
>   configure |   10 ++++++++--
>   1 files changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index f033438..60c3740 100755
> --- a/configure
> +++ b/configure
> @@ -569,6 +569,14 @@ for opt do
>     ;;
>     --sysconfdir=*) sysconfdir="$optarg"
>     ;;
> +  --sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
> +  --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
> +  --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
> +    # These switches are silently ignored, for compatibility with
> +    # autoconf-generated configure scripts. This allows QEMU's
> +    # configure to be used by RPM and similar macros that set
> +    # lots of directory switches by default.
> +  ;;
>     --disable-sdl) sdl="no"
>     ;;
>     --enable-sdl) sdl="yes"
> @@ -759,8 +767,6 @@ for opt do
>     ;;
>     --enable-opengl) opengl="yes"
>     ;;
> -  --*dir)
> -  ;;
>     --disable-rbd) rbd="no"
>     ;;
>     --enable-rbd) rbd="yes"

      parent reply	other threads:[~2011-11-28 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 12:11 [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options Max Filippov
2011-11-24 12:27 ` Paolo Bonzini
2011-11-28 22:37 ` Anthony Liguori [this message]

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=4ED40D16.9070706@redhat.com \
    --to=anthony@codemonkey.ws \
    --cc=jcmvbkbc@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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).