autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional AC_CHECK_HEADER


From: Florian Weimer
Subject: Re: Conditional AC_CHECK_HEADER
Date: Mon, 06 Feb 2023 07:04:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

* Russ Allbery:

> 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.

Thank you, this is helpful.

Florian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]