Re: Conditional AC_CHECK_HEADER

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

 



* Russ Allbery:

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

Thank you, this is helpful.

Florian





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux