[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot available: autoconf-2.72c
From: |
Zack Weinberg |
Subject: |
Re: new snapshot available: autoconf-2.72c |
Date: |
Tue, 28 Mar 2023 12:30:05 -0400 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-237-g62623e8e3f-fm-20230327.001-g62623e8e |
Please don't top-post on this mailing list.
On Tue, Mar 28, 2023, at 12:12 PM, Frederic Berat wrote:
> Regarding EGREP, although I agree in principle this can be solved by
> using AS_CASE, I'd argue that the component actually required
> AC_PROG_EGREP. In principle, that should be enough, and requesting the
> user to know that internally there may be some need for
> "_AC_PROG_EGREP_TRADITIONAL" that it can't require for, which implies
> that using AS_CASE is mandatory, seems excessive.
In general, *any* construct of the form
case "$var" in
foo) AC_CHECK_THING ;;
esac
at top level of configure.ac (not within the expansion of any other
macro) is incorrect and needs to be rewritten using AS_CASE. Same for
if statements. See
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Prerequisite-Macros.html
for why.
In this specific case, I suspect there _is_ a bug in Autoconf, but more
along the lines of "nobody should still be using $EGREP_TRADITIONAL in 2023"
than "some macro isn't AC_REQUIREing all of its dependencies."
zw
- Re: new snapshot available: autoconf-2.72c, (continued)
- Re: new snapshot available: autoconf-2.72c, Václav Haisman, 2023/03/27
- Re: new snapshot available: autoconf-2.72c, Richard Purdie, 2023/03/28
- Re: new snapshot available: autoconf-2.72c, Frederic Berat, 2023/03/28
- Re: new snapshot available: autoconf-2.72c, Richard Purdie, 2023/03/28
- Re: new snapshot available: autoconf-2.72c, Jim Meyering, 2023/03/28
- Re: new snapshot available: autoconf-2.72c, Richard Purdie, 2023/03/28
- Re: new snapshot available: autoconf-2.72c, Paul Eggert, 2023/03/31
- Re: [platform-testers] new snapshot available: autoconf-2.72c, Sam James, 2023/03/31
- Re: new snapshot available: autoconf-2.72c, Frederic Berat, 2023/03/29
- Re: new snapshot available: autoconf-2.72c, Zack Weinberg, 2023/03/29
- Re: [platform-testers] new snapshot available: autoconf-2.72c, Bruno Haible, 2023/03/28