X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=autoconf%2Fast_gcc_attribute.m4;h=4ade81404a4bf3f3f845599fed69748897924541;hp=bceaa28a312d61897199b5844e69f49b3f999fe0;hb=f897f36721d1fa3a09403c67c1a6f21f0f014213;hpb=bbeb753e5ed21f6a21242a24092b0d71d9d6c75c diff --git a/autoconf/ast_gcc_attribute.m4 b/autoconf/ast_gcc_attribute.m4 index bceaa28..4ade814 100644 --- 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)