[svn-commits] file: trunk r115283 - in /trunk: ./ acinclude.m4 configure
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat May 3 21:11:01 CDT 2008
Author: file
Date: Sat May 3 21:11:01 2008
New Revision: 115283
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115283
Log:
Merged revisions 115282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r115282 | file | 2008-05-03 23:09:44 -0300 (Sat, 03 May 2008) | 2 lines
Expand the test function for GCC attributes so that more complex attributes are properly recognized.
........
Modified:
trunk/ (props changed)
trunk/acinclude.m4
trunk/configure
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/acinclude.m4
URL: http://svn.digium.com/view/asterisk/trunk/acinclude.m4?view=diff&rev=115283&r1=115282&r2=115283
==============================================================================
--- trunk/acinclude.m4 (original)
+++ trunk/acinclude.m4 Sat May 3 21:11:01 2008
@@ -10,7 +10,7 @@
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Werror"
AC_COMPILE_IFELSE(
- AC_LANG_PROGRAM([static int __attribute__(($1)) test(void) {}],
+ AC_LANG_PROGRAM([static void __attribute__(($1)) *test(void *muffin, ...) {}],
[]),
AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED([HAVE_ATTRIBUTE_$1], 1, [Define to 1 if your GCC C compiler supports the '$1' attribute.]),
More information about the svn-commits
mailing list