]> git.proxmox.com Git - mirror_qemu.git/commitdiff
configure: add missing --disable-modules option
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 2 Nov 2015 14:06:23 +0000 (14:06 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 6 Nov 2015 11:07:14 +0000 (11:07 +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 <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1446473183-24250-1-git-send-email-stefanha@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
configure

index 42e57c0b9b56f52640654aa5909d7d3da3d2f91d..60cbd84fffbb3a2b1e840ca487c787e50b09ddeb 100755 (executable)
--- a/configure
+++ b/configure
@@ -791,6 +791,9 @@ for opt do
   --enable-modules)
       modules="yes"
   ;;
+  --disable-modules)
+      modules="no"
+  ;;
   --cpu=*)
   ;;
   --target-list=*) target_list="$optarg"