* config.sub (maybe_os): Remove second and duplicate *-xenix case

as only the first will match. Found by Shellcheck.
	* testsuite/config-sub.data: Add test case.
This commit is contained in:
Ben Elliston
2018-01-13 20:12:27 +11:00
parent a9f681360d
commit 8503c24298
3 changed files with 7 additions and 3 deletions

3
config.sub vendored
View File

@ -1531,9 +1531,6 @@ case $os in
-es1800*)
os=-ose
;;
-xenix)
os=-xenix
;;
-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
os=-mint
;;