These patches fix the GCC configuration to support Solaris 11 (which
identifies itself as SunOS 5.10.1, hence e.g. i386-pc-solaris2.10.1
target triplet). The configuration was inconsistent about whether it
checked for solaris2.1[0-9]* or simply solaris2.1[0-9].
The first patch is for csl-sol210-3_4-branch; applied there after
bootstrap on i386-pc-solaris2.10.1. The second is for mainline and
4.0 branch. Bootstrapped on i386-pc-solaris2.10.1 (mainline and both
branches; the formerly observed libstdc++ build problem has
disappeared); OK to commit?