summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Hajnoczi2015-11-02 15:06:23 +0100
committerPeter Maydell2015-11-06 12:07:14 +0100
commit3aa88b31290c7cbbbae344efdece659194b95c70 (patch)
tree22fba2bf4c458bf54bbfa20347a7856883e8e145 /configure
parentMerge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff)
downloadqemu-3aa88b31290c7cbbbae344efdece659194b95c70.tar.gz
qemu-3aa88b31290c7cbbbae344efdece659194b95c70.tar.xz
qemu-3aa88b31290c7cbbbae344efdece659194b95c70.zip
configure: add missing --disable-modules option
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 42e57c0b9b..60cbd84fff 100755
--- 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"