Skip to content

Commit 975ff03

Browse files
committed
configure: remove variable bogus_os
The condition can be tested also from $targetos, clean up. Reviewed-by: Marc-André Lureau <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 21c7843 commit 975ff03

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

configure

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ gettext="auto"
466466
fuse="auto"
467467
fuse_lseek="auto"
468468

469-
bogus_os="no"
470469
malloc_trim="auto"
471470

472471
# parse CC options second
@@ -619,7 +618,6 @@ else
619618
# might be going to just print the --help text, or it might
620619
# be the result of a missing compiler.
621620
targetos='bogus'
622-
bogus_os='yes'
623621
fi
624622

625623
# Some host OSes need non-standard checks for which CPU to use.
@@ -2014,7 +2012,7 @@ if test -z "$werror" ; then
20142012
fi
20152013
fi
20162014

2017-
if test "$bogus_os" = "yes"; then
2015+
if test "$targetos" = "bogus"; then
20182016
# Now that we know that we're not printing the help and that
20192017
# the compiler works (so the results of the check_defines we used
20202018
# to identify the OS are reliable), if we didn't recognize the

0 commit comments

Comments
 (0)