Explicitly test for 'static weakref' support.

Since we use 'static' weakref symbols, and not all GCC versions support them,
test for that combination explicitly.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2009-06-16 21:02:05 +00:00
parent ab73c3aabe
commit 5b2939916f
2 changed files with 4 additions and 4 deletions

View File

@@ -514,7 +514,7 @@ AST_GCC_ATTRIBUTE(always_inline)
AST_GCC_ATTRIBUTE(deprecated)
AST_GCC_ATTRIBUTE(sentinel)
AST_GCC_ATTRIBUTE(warn_unused_result)
AST_GCC_ATTRIBUTE(weakref, [weakref("foo")])
AST_GCC_ATTRIBUTE(weakref, [weakref("foo")], static)
AST_GCC_ATTRIBUTE(weak_import)
AC_MSG_CHECKING(for -ffunction-sections support)