summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini2020-11-20 10:34:10 +0100
committerPaolo Bonzini2021-01-02 21:03:37 +0100
commit975ff037f5af70347f6e3e2a01753ee013554ae7 (patch)
treee8adda4ec22b89802bb0fe12ec5d5af054457e61 /configure
parentconfigure: remove useless code to check for Xen PCI passthrough (diff)
downloadqemu-975ff037f5af70347f6e3e2a01753ee013554ae7.tar.gz
qemu-975ff037f5af70347f6e3e2a01753ee013554ae7.tar.xz
qemu-975ff037f5af70347f6e3e2a01753ee013554ae7.zip
configure: remove variable bogus_os
The condition can be tested also from $targetos, clean up. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 4345776cfd..c5460e83c0 100755
--- a/configure
+++ b/configure
@@ -466,7 +466,6 @@ gettext="auto"
fuse="auto"
fuse_lseek="auto"
-bogus_os="no"
malloc_trim="auto"
# parse CC options second
@@ -619,7 +618,6 @@ else
# might be going to just print the --help text, or it might
# be the result of a missing compiler.
targetos='bogus'
- bogus_os='yes'
fi
# Some host OSes need non-standard checks for which CPU to use.
@@ -2014,7 +2012,7 @@ if test -z "$werror" ; then
fi
fi
-if test "$bogus_os" = "yes"; then
+if test "$targetos" = "bogus"; then
# Now that we know that we're not printing the help and that
# the compiler works (so the results of the check_defines we used
# to identify the OS are reliable), if we didn't recognize the