[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad file descriptor / bad substitution
From: |
Paul Eggert |
Subject: |
Re: bad file descriptor / bad substitution |
Date: |
Fri, 1 Jan 2021 17:46:29 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
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.