qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] configure: add missing --disable-modules option


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH] configure: add missing --disable-modules option
Date: Mon, 2 Nov 2015 14:06:23 +0000

According to ./configure all options should have both --enable-foo and
--disable-foo:

  # Always add --enable-foo and --disable-foo command line args.
  # Distributions want to ensure that several features are compiled in, and it
  # is impossible without a --enable-foo that exits if a feature is not found.

Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index 7a1d08d..75b4fa5 100755
--- a/configure
+++ b/configure
@@ -787,6 +787,9 @@ for opt do
   --enable-modules)
       modules="yes"
   ;;
+  --disable-modules)
+      modules="no"
+  ;;
   --cpu=*)
   ;;
   --target-list=*) target_list="$optarg"
-- 
2.4.3




reply via email to

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