|
From: | Paul Eggert |
Subject: | Re: AC_PACKAGE_VERSION visibility slightly changed in autoconf-2.69c. Bug or feature? |
Date: | Wed, 21 Oct 2020 19:25:34 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/21/20 6:15 AM, Zack Weinberg wrote:
We*could* add a special case in AC_INIT where, if any of the third, fourth, or fifth arguments contain the literal strings `AC_PACKAGE_NAME` or `AC_PACKAGE_VERSION`, those are replaced with the values of the first and second argument, respectively. This would keep the GHC code working as-is. I'm not sure whether that's a good idea; cc:ing Paul and Eric for their thoughts.
I'm not following all the details here, but my kneejerk reaction is that we should avoid hacks like that. If AC_INIT is that poorly designed, the best approach might be to come up with a new macro that is better, and suggest that people use that instead AC_INIT; if so, perhaps the hack you suggest is the best we can do for the now-obsolescent AC_INIT.
[Prev in Thread] | Current Thread | [Next in Thread] |