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 dummyand the comma is treated as an argument separator for AC_CHECK_HEADER. Quoting fixes the bug.