|
From: | Russ Allbery |
Subject: | Re: Conditional AC_CHECK_HEADER |
Date: | Sat, 04 Feb 2023 09:26:48 -0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Florian Weimer <fweimer@redhat.com> 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@eyrie.org) <https://www.eyrie.org/~eagle/>
[Prev in Thread] | Current Thread | [Next in Thread] |