improve configure's target arch matching
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 18:12:40 +0000 (13:12 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 18:12:40 +0000 (13:12 -0500)
commit0b8f0c57c0ff78fc1af9c8f5831eb1c1fdd7d970
tree3b6c4582fc2f0f79028598f694677d79e9b4b349
parent3d7f5c363e27426a3977bc6fa0436e92653eccf1
improve configure's target arch matching

most notably, it was failing to match sh4-*, etc., but in general the
explicit matching of hyphens for some archs was problematic because it
failed to accept simply the musl-style arch name (without a gcc-style
tuple) as an input. the original motivation of matching hyphens was to
prevent incorrectly identifying a 64-bit arch as the corresponding
32-bit arch (e.g. mips* matching mips64) but this is easily fixed by
simply checking (and for now, rejecting as unsupported) the relevant
64-bit archs.
configure