]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
doc: fix AC_LANG_PROGRAM signature
authorBasil L. Contovounesios <basil@contovou.net>
Tue, 14 Oct 2025 06:50:13 +0000 (08:50 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Oct 2025 18:13:43 +0000 (11:13 -0700)
* doc/autoconf.texi (Generating Sources): Mark AC_LANG_PROGRAM
arguments as optional to match its definition and common usage.

Copyright-paperwork-exempt: yes

doc/autoconf.texi

index 7b680540b57fdf5e11354e26caa1ba8f3bf725ac..93611008a81aa88f667b5f6d21b545d3c0e07a92 100644 (file)
@@ -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