Florian Weimer <fweimer@xxxxxxxxxx> writes: > I want to submit this upstream. Is there are some explanation somewhere > why it's not permitted to invoke AC_CHECK_HEADER under shell conditional > statement? I couldn't find it in the manual. It's documented under AS_IF: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Common-Shell-Constructs.html#index-AS_005fIF-1 The principle that one should always use an AS_* construct if one exists rather than regular shell constructs could probably be documented more aggressively. -- Russ Allbery (eagle@xxxxxxxxx) <https://www.eyrie.org/~eagle/>