qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3] configure: avoid screening of --{en, dis}able-us


From: Max Filippov
Subject: [Qemu-devel] [PATCH v3] configure: avoid screening of --{en, dis}able-usb-redir options
Date: Thu, 24 Nov 2011 15:53:45 +0400

--*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 <address@hidden>
---
v2 -> v3 changes: add --htmldir
---
 configure |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f033438..3a23795 100755
--- a/configure
+++ b/configure
@@ -569,6 +569,30 @@ for opt do
   ;;
   --sysconfdir=*) sysconfdir="$optarg"
   ;;
+  --sbindir=*)
+  ;;
+  --libexecdir=*)
+  ;;
+  --sharedstatedir=*)
+  ;;
+  --localstatedir=*)
+  ;;
+  --oldincludedir=*)
+  ;;
+  --datarootdir=*)
+  ;;
+  --infodir=*)
+  ;;
+  --localedir=*)
+  ;;
+  --htmldir=*)
+  ;;
+  --dvidir=*)
+  ;;
+  --pdfdir=*)
+  ;;
+  --psdir=*)
+  ;;
   --disable-sdl) sdl="no"
   ;;
   --enable-sdl) sdl="yes"
@@ -759,8 +783,6 @@ for opt do
   ;;
   --enable-opengl) opengl="yes"
   ;;
-  --*dir)
-  ;;
   --disable-rbd) rbd="no"
   ;;
   --enable-rbd) rbd="yes"
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]