On 2025/03/18 23:27:58 Yasuhito FUTATSUKI wrote: > Hello, > > On 2025/03/19 3:21, Michael Osipov wrote: > > On 2025/03/18 16:41:07 Nathan Hartman wrote: > >> On Tue, Mar 18, 2025 at 10:09 AM Michael Osipov <micha...@apache.org> > >> wrote: > >> > >>> Folks, > >>> > >>> the configure script for 1.14.5 gives me: > >>> --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS] > >>> The Subversion Berkeley DB based filesystem > >>> library > >>> requires Berkeley DB $db_version or > >>> $db_alt_version. > >>> If you specify `--without-berkeley-db', that > >>> library > >>> will not be built. If you omit the argument of > >>> this > >>> option completely, the configure script will use > >>> Berkeley DB used by APR-UTIL. > >>> > >>> $db_alt_version is defined with "5.x", but not rendered. $db_version is > >>> set dynamically with a case and is valid as well. > >>> > >>> Maybe someone wants to check why they are not interpolated for help > >>> output. > >>> > >>> Michael > >>> > >> > >> Hi Michael, > >> > >> Did this same invocation work as expected with an earlier SVN release? If > >> so, which release was that? That will help immensely... > > > > I dare to say that it has never worked. Tried 1.10.x and 1.11.x, both have > > the same issue. > > As far as I saw subversion-1.6.0.tar.bz2, it uses autoconf 2.63 and > help string was expanded to "cat <<\_ACEOF ..." so the shell variables > cannot be replaced.
2.72 isn't any better here and https://stackoverflow.com/a/27466219/696632 doesn't work either. Docs say (https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Pretty-Help-Strings.html): > Macro expansion is performed on the first argument. However, the second > argument of AS_HELP_STRING is treated as a whitespace separated list of > text to be reformatted, and is not subject to macro expansion. Since it > is not expanded, it should not be double quoted. See Autoconf Language, > for a more detailed explanation. So it has never worked. I tried to play around a bit with my humble knowledge, but was not successful. My assumption is that the help string is built during autoconf time while the variables are only available at configuration time. M