[asterisk-commits] kpfleming: trunk r201137 - in /trunk: configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 16 16:02:09 CDT 2009


Author: kpfleming
Date: Tue Jun 16 16:02:05 2009
New Revision: 201137

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=201137
Log:
Explicitly test for 'static weakref' support.

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


Modified:
    trunk/configure
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/configure.ac?view=diff&rev=201137&r1=201136&r2=201137
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Jun 16 16:02:05 2009
@@ -514,7 +514,7 @@
 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)




More information about the asterisk-commits mailing list