diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 16:32:36 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-16 16:32:36 +0000 |
commit | d2292f0eca49f9ec9297bab8aa9c551557213662 (patch) | |
tree | 0a9e072b735507f3f3e340e4c16046aa4140ea9e /configure.ac | |
parent | 39c737328cd621c6e3a502dbf24e810c6d38b77d (diff) |
Fix problems with new compiler attribute checking in configure script.
The last changes to ast_gcc_attribute.m4 caused some problems checking for
various attributes, because the scope of the symbol the attribute is applied
to can be important; this patch allows the scope to be specified for the check.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@200985 f38db490-d61c-443f-a65b-d21fe96a405b
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..de7892fc1 100644 --- a/configure.ac +++ b/configure.ac @@ -515,7 +515,7 @@ AST_GCC_ATTRIBUTE(deprecated) AST_GCC_ATTRIBUTE(sentinel) AST_GCC_ATTRIBUTE(warn_unused_result) AST_GCC_ATTRIBUTE(weakref, [weakref("foo")]) -AST_GCC_ATTRIBUTE(weak_import) +AST_GCC_ATTRIBUTE(weak_import, , "") AC_MSG_CHECKING(for -ffunction-sections support) saved_CFLAGS="${CFLAGS}" |