Re: gnulib-tool.py: Don't default to 'build-aux' for --auxdir.

2024-04-02 Thread Collin Funk
On 4/2/24 5:22 AM, Bruno Haible wrote: > Not exactly. What this code did: > > if y in self.table: > if y == "auxdir": > if self.table['auxdir']: > return self.table['auxdir'] > return "build-aux" > return self.tabl

Re: gnulib-tool.py: Don't default to 'build-aux' for --auxdir.

2024-04-02 Thread Bruno Haible
Hi Collin, > lines 7251-7274 in gnulib-tool.sh: > > # Analyze configure.ac. > guessed_auxdir="." > guessed_libtool=false > ... > /AC_CONFIG_AUX_DIR/ { > s,^.*AC_CONFIG_AUX_DIR([[ ]*\([^]"$`\\)]*\).*$,guessed_auxdir="\1",p > } > ... > if test -z "$auxdir

gnulib-tool.py: Don't default to 'build-aux' for --auxdir.

2024-04-01 Thread Collin Funk
if self.config['auxdir'] == '': self.config.setAuxDir(self.cache['auxdir']) # Guess autoconf version. This seems correct to me since all tests still pass and in freedink: env GNULIB_TOOL_IMPL=sh+py gnulib-tool ./bootstrap works correctly. [1] https://docs.python.