[asterisk-commits] file: branch 1.4 r115282 - in /branches/1.4: acinclude.m4 configure

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat May 3 21:09:45 CDT 2008


Author: file
Date: Sat May  3 21:09:44 2008
New Revision: 115282

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115282
Log:
Expand the test function for GCC attributes so that more complex attributes are properly recognized.

Modified:
    branches/1.4/acinclude.m4
    branches/1.4/configure

Modified: branches/1.4/acinclude.m4
URL: http://svn.digium.com/view/asterisk/branches/1.4/acinclude.m4?view=diff&rev=115282&r1=115281&r2=115282
==============================================================================
--- branches/1.4/acinclude.m4 (original)
+++ branches/1.4/acinclude.m4 Sat May  3 21:09:44 2008
@@ -6,7 +6,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 asterisk-commits mailing list