From patchwork Thu Nov 24 11:40:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 127479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 576AB1007D7 for ; Thu, 24 Nov 2011 22:41:42 +1100 (EST) Received: from localhost ([::1]:38738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTXgF-0004Qu-FM for incoming@patchwork.ozlabs.org; Thu, 24 Nov 2011 06:41:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTXg9-0004Qo-SG for qemu-devel@nongnu.org; Thu, 24 Nov 2011 06:41:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTXg9-0001ZH-5I for qemu-devel@nongnu.org; Thu, 24 Nov 2011 06:41:21 -0500 Received: from [195.131.132.186] (port=44642 helo=shelob.oktetlabs.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTXg8-0001YR-MA for qemu-devel@nongnu.org; Thu, 24 Nov 2011 06:41:21 -0500 Received: by shelob.oktetlabs.ru (Postfix, from userid 122) id A9A987F527; Thu, 24 Nov 2011 15:41:13 +0400 (MSK) Received: from marish.oktetlabs.ru (marish.oktetlabs.ru [192.168.38.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPS id CF1557F4B2; Thu, 24 Nov 2011 15:41:01 +0400 (MSK) X-DKIM: Sendmail DKIM Filter v2.8.2 shelob.oktetlabs.ru CF1557F4B2 Authentication-Results: shelob.oktetlabs.ru/CF1557F4B2; dkim=none (no signature) header.i=unknown; dkim-adsp=none Received: from jcmvbkbc by marish.oktetlabs.ru with local (Exim 4.72) (envelope-from ) id 1RTXfq-0005IP-Br; Thu, 24 Nov 2011 15:41:02 +0400 From: Max Filippov To: qemu-devel@nongnu.org Date: Thu, 24 Nov 2011 15:40:56 +0400 Message-Id: <1322134856-20331-1-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.7.2.5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.131.132.186 Cc: Max Filippov , peter.maydell@linaro.org, pbonzini@redhat.com Subject: [Qemu-devel] [PATCH v2] configure: avoid screening of --{en, dis}able-usb-redir options X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org --*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 --- configure | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f033438..3154307 100755 --- a/configure +++ b/configure @@ -569,6 +569,28 @@ for opt do ;; --sysconfdir=*) sysconfdir="$optarg" ;; + --sbindir=*) + ;; + --libexecdir=*) + ;; + --sharedstatedir=*) + ;; + --localstatedir=*) + ;; + --oldincludedir=*) + ;; + --datarootdir=*) + ;; + --infodir=*) + ;; + --localedir=*) + ;; + --dvidir=*) + ;; + --pdfdir=*) + ;; + --psdir=*) + ;; --disable-sdl) sdl="no" ;; --enable-sdl) sdl="yes" @@ -759,8 +781,6 @@ for opt do ;; --enable-opengl) opengl="yes" ;; - --*dir) - ;; --disable-rbd) rbd="no" ;; --enable-rbd) rbd="yes"