Fix crashes on other platforms caused by interference from Darwin weak symbol support.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 19 Dec 2011 21:43:19 +0000 (21:43 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 19 Dec 2011 21:43:19 +0000 (21:43 +0000)
commit38e4643cb4beadc0bd61b2ac560da32101cff8a5
tree833d87372da2e0c9d2da86b0426299d5cb201cc6
parenteb37d38b7dbd97989d25510f4271554550dc817c
Fix crashes on other platforms caused by interference from Darwin weak symbol support.

Support weak symbols on a platform specific basis.  The Mac OS X (Darwin)
support must be isolated from the other platforms because it has caused
other platforms to crash.  Several other platforms including Linux have
GCC versions that define the weak attribute.  However, this attribute is
only setup for use in the code by Darwin.

(closes issue ASTERISK-18728)
Reported by: Ben Klang

Review: https://reviewboard.asterisk.org/r/1617/
........

Merged revisions 348647 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 348648 from http://svn.asterisk.org/svn/asterisk/branches/10

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