[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #110431] AC_INIT should accept shell variable expansion in its argum
From: |
Zack Weinberg |
Subject: |
[sr #110431] AC_INIT should accept shell variable expansion in its arguments |
Date: |
Sat, 23 Jan 2021 15:02:34 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux aarch64; rv:84.0) Gecko/20100101 Firefox/84.0 |
URL:
<https://savannah.gnu.org/support/?110431>
Summary: AC_INIT should accept shell variable expansion in
its arguments
Project: Autoconf
Submitted by: zackw
Submitted on: Sat 23 Jan 2021 08:02:32 PM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Details:
Currently, none of the arguments to AC_INIT can be computed when you run
'configure'. If you use two-argument AM_INIT_AUTOMAKE, on the other hand, you
_can_ pass shell variables as the arguments. The Automake manual calls this
out as a reason to continue using two-argument AM_INIT_AUTOMAKE:
> differently from what happens for AC_INIT invocations, this AM_INIT_AUTOMAKE
invocation supports shell variables’ expansions in the PACKAGE and VERSION
arguments (which otherwise defaults, respectively, to the PACKAGE_TARNAME and
PACKAGE_VERSION defined via the AC_INIT invocation; see The AC_INIT macro in
The Autoconf Manual); and this can still be useful in some selected
situations. Our hope is that future Autoconf versions will improve their
support for package versions defined dynamically at configure runtime; when
(and if) this happens, support for the two-args AM_INIT_AUTOMAKE invocation
will likely be removed from Automake.
So we should find a way to support shell variable expansion in the arguments
to AC_INIT.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?110431>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sr #110431] AC_INIT should accept shell variable expansion in its arguments,
Zack Weinberg <=