From: Basil L. Contovounesios Date: Tue, 14 Oct 2025 06:50:13 +0000 (+0200) Subject: doc: fix AC_LANG_PROGRAM signature X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9fea549bdc2faa4b165ab62f0ada92afe4a4e7a;p=thirdparty%2Fautoconf.git doc: fix AC_LANG_PROGRAM signature * doc/autoconf.texi (Generating Sources): Mark AC_LANG_PROGRAM arguments as optional to match its definition and common usage. Copyright-paperwork-exempt: yes --- diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 7b680540b..93611008a 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -9436,7 +9436,7 @@ When the test language is Fortran, Erlang, or Go, the @code{AC_DEFINE} definitions are not automatically translated into constants in the source code by this macro. -@defmac AC_LANG_PROGRAM (@var{prologue}, @var{body}) +@defmac AC_LANG_PROGRAM (@ovar{prologue}, @ovar{body}) @acindex{LANG_PROGRAM} Expands into a source file which consists of the @var{prologue}, and then @var{body} as body of the main function (e.g., @code{main} in