mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00

config.sub had a rule that os=sunos* implies vendor=sun unless the vendor has already been set for some other reason, but no such rule for os=solaris*, and that meant `./config.sub sparc-solaris2` was inconsistent with what you’d get from config.guess on that system. Add the missing rule. Unlike the previous patch, this changes config.sub output for some systems still actually in use today, but hardly anything looks at the vendor field unless the OS field is something super generic like “bsd” or “sysv”, so I think we can get away with it. This patch also adds tests for the mapping of ‘sunos5’ to ‘solaris2’ and ‘solaris1’ to ‘sunos4’, which is logically unrelated *except* that some of those test cases will fail in the absence of the above change. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Description
No description provided
Languages
Perl
77.6%
Shell
18.9%
Makefile
3.5%