Ensure that configure-script testing for compiler attributes actually works.
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 16 Jun 2009 01:28:08 +0000 (01:28 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 16 Jun 2009 01:28:08 +0000 (01:28 +0000)
commit4af5dd813c040d30bcb0666a09300997a5d7f46d
tree2c9124bcb82fc0757682e7432e03331a6b08b3a2
parentdcc651d99b132231a82b0337e9d2170fea76032d
Ensure that configure-script testing for compiler attributes actually works.

The configure script tests for compiler attributes didn't actually enable
enough warnings or provide a proper test harness to determine whether the
compiler supports the attribute in question or not; this caused gcc 4.1 to
report that it supports 'weakref', but it doesn't actually support it in the
way that is needed for our optional API mechanism. The new configure script
test will properly distinguish between full support and partial support
for this attribute, among others.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
autoconf/ast_gcc_attribute.m4
configure