On Mon, Jul 16, 2012 at 12:14:01PM +0200, Stefano Lattarini wrote: > Here are the errors that I'm getting: > > autoconf.texi:8018: Misplaced }
I think that this is correct (and my guess is that the other are in fact consequences and similar other issues). Indeed, there is a @macro: @macro ovar{varname} @r{[}@var{\varname\}@r{]}@c @end macro Called like: @defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @ AC_MSG_FAILURE}) The trouble comes from the @c, indeed, the macro expansion leads to @defmac AC_F77_DUMMY_MAIN (@r{[}@var{action-if-found}@r{]}@c, @dvar{action-if-not-found, @ AC_MSG_FAILURE}) which means that the end of the line is ignored. > Also, where is > that "conftest.c" coming from? It comes from # 1 "conftest.c" and the new feature of recognizing those kind of line specifications to match with what m4 produces. You can use @hashchar{} instead of #, maybe. Or, to be backward compatible @asis{# 1 "conftest.c"} -- Pat