]> git.ipfire.org Git - thirdparty/asterisk.git/commit
detect ARM Linux EABI OSARCH as linux-gnu instead of linux-gnueabi
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 26 Oct 2009 23:13:28 +0000 (23:13 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Mon, 26 Oct 2009 23:13:28 +0000 (23:13 +0000)
commit4a76a516306728b806ee584d517e704f68e73a09
tree9db5559215dca177ae0507c67cd44f1961bf9aeb
parent7c19321b0d945db383cf46ff5876b087e5a24d2b
detect ARM Linux EABI OSARCH as linux-gnu instead of linux-gnueabi

* Set OSARCH to linux-gnu even if host_os is linux-gnueabi
* When checking if we are Linux, check OSARCH rather than host_os

The newer ARM ABI ("EABI") shows the OS name 'linux-gnueabi' rather than
'linux-gnu' . This patch sets OSARCH to be 'linux-gnu' even in such a case.

OSARCH is tested for the value of 'linux-gnu' in one or two places in the
tree. This patch also fixes the check libcap to check for $OSARCH rather
than $host_os .

See also: http://wiki.debian.org/ArmEabiPort

Merged revisions 225957 via svnmerge from
http://svn.digium.com/svn/asterisk/branches/1.4

Merged revisions 226018 via svnmerge from
http://svn.digium.com/svn/asterisk/trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@226019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configure
configure.ac