Re: bad file descriptor / bad substitution

Paul Eggert <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 1/1/21 3:56 PM, Thien-Thi Nguyen wrote:
> Is this a simple case of user error (‘AC_CHECK_DECLS’
> should be m4-quoted)

Yes. That AC_CHECK_DECLS expands into a string that contains this line:

   # freestanding implementations, so test against a dummy

and the comma is treated as an argument separator for AC_CHECK_HEADER. 
Quoting fixes the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.