|
From: | Paul Eggert |
Subject: | Re: Conditional AC_CHECK_HEADER |
Date: | Sun, 5 Feb 2023 21:58:23 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 2023-02-04 05:42, Florian Weimer wrote:
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.
The restriction is documented here: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Common-Shell-Constructs.html (look under AS_IF) and here: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Prerequisite-Macros.html Admittedly the doc could be clearer. It's widely understood to be a misfeature, but it's gonna be hard to fix.
[Prev in Thread] | Current Thread | [Next in Thread] |