diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-16 21:02:05 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-06-16 21:02:05 +0000 |
commit | 5b2939916fe602bb9dfd2ff6c5d40a594b3bd768 (patch) | |
tree | 50faeb17b22404e86c6409ee502abbf44d3715d0 /configure.ac | |
parent | ab73c3aabee4863cc65c52da704e49d4da91200d (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cfb53fd7f..a9379c3ac 100644 --- a/configure.ac +++ b/configure.ac @@ -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) |