configure: triplet: accept i486 CPU (and more), more vendors and OSes
authorSergei Trofimovich <slyfox@community.haskell.org>
Tue, 1 Mar 2011 06:41:08 +0000 (06:41 +0000)
committerSergei Trofimovich <slyfox@community.haskell.org>
Tue, 1 Mar 2011 06:41:08 +0000 (06:41 +0000)
commitc00ea87f79231fba729fd4e7de1279261044ce5f
treec63defeb79ea1cedce711c8d79c104875212c4f6
parent4b7d8ae0cdf92b0d8789676a4be89b41a4582472
configure: triplet: accept i486 CPU (and more), more vendors and OSes

Gentoo has interesting ports:

  - freebsd with following triplet:
        ./configure --build=i686-gentoo-freebsd8 --host=i686-gentoo-freebsd8 --host=i686-gentoo-freebsd8
    should be recognized as 'i386-unknown-freebsd'
  - 'pc' vendor along with non-'i386' is very common:
        ./configure --build=i486-pc-linux-gnu --i486-pc-linux-gnu --host=i486-pc-linux-gnu
        ./configure --build=i686-pc-linux-gnu --i686-pc-linux-gnu --host=i686-pc-linux-gnu
    should be recognized as 'i386-unknown-linux'

Patch adds:

  - 'pc' vendor                 (maps to 'unknown')
  - 'gentoo' vendor             (maps to 'unknown')
  - 'i486', 'i586', 'i686' CPUs (maps to 'i386')
  - 'freebsd8' OS               (maps to 'freebsd')
aclocal.m4