* [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options
@ 2011-11-24 12:11 Max Filippov
2011-11-24 12:27 ` Paolo Bonzini
2011-11-28 22:37 ` Anthony Liguori
0 siblings, 2 replies; 3+ messages in thread
From: Max Filippov @ 2011-11-24 12:11 UTC (permalink / raw)
To: qemu-devel; +Cc: Max Filippov, peter.maydell, pbonzini
--*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>
---
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"
--
1.7.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options
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
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2011-11-24 12:27 UTC (permalink / raw)
To: qemu-devel
On 11/24/2011 01:11 PM, 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>
> ---
> 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"
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options
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
1 sibling, 0 replies; 3+ messages in thread
From: Anthony Liguori @ 2011-11-28 22:37 UTC (permalink / raw)
To: Max Filippov; +Cc: peter.maydell, qemu-devel, pbonzini
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"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-28 22:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).