projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
weakref attribute detection broken with gcc 4.6 and higher
[asterisk/asterisk.git]
/
autoconf
/
ast_gcc_attribute.m4
diff --git
a/autoconf/ast_gcc_attribute.m4
b/autoconf/ast_gcc_attribute.m4
index
bceaa28
..
4ade814
100644
(file)
--- a/
autoconf/ast_gcc_attribute.m4
+++ b/
autoconf/ast_gcc_attribute.m4
@@
-20,7
+20,7
@@
AC_COMPILE_IFELSE(
)
else
AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([$3 void __attribute__(($2)) *test(void *muffin, ...) {return (void *) 0;}],
+ [AC_LANG_PROGRAM([$3 void __attribute__(($2)) *test(void *muffin, ...) ;],
[])],
AC_MSG_RESULT(yes)
m4_ifval([$4],$4=1)