From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV9pC-0003NM-9R for qemu-devel@nongnu.org; Mon, 28 Nov 2011 17:37:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RV9p9-0004kN-LK for qemu-devel@nongnu.org; Mon, 28 Nov 2011 17:37:22 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:64822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RV9p9-0004Y7-Hh for qemu-devel@nongnu.org; Mon, 28 Nov 2011 17:37:19 -0500 Received: by mail-iy0-f173.google.com with SMTP id k32so10875872iak.4 for ; Mon, 28 Nov 2011 14:37:14 -0800 (PST) Message-ID: <4ED40D16.9070706@redhat.com> Date: Mon, 28 Nov 2011 16:37:10 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1322136691-23057-1-git-send-email-jcmvbkbc@gmail.com> In-Reply-To: <1322136691-23057-1-git-send-email-jcmvbkbc@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4] configure: avoid screening of --{en, dis}able-usb-redir options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, pbonzini@redhat.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 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"