bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool.py: Locate configure.ac correctly when --dir is given.


From: Bruno Haible
Subject: Re: gnulib-tool.py: Locate configure.ac correctly when --dir is given.
Date: Sun, 07 Apr 2024 13:16:22 +0200

Hi Collin,

> When running ./autogen.sh in gettext gnulib-tool.py fails on the first
> invocation. :(
> 
> The command is something like this:
> 
>     $GNULIB_TOOL --dir=gettext-runtime ...
> 
> We get the following error message:
> ...
> FileNotFoundError: [Errno 2] No such file or directory: 
> 'gettext-runtime/gettext-runtime/configure.ac'
> ...
> In main we have joinpath(destdir, 'configure.ac') which is then passed
> to GLConfig.setAutoconfFile which has
> os.path.join(self.table['destdir'], configure_ac).

And in particular, main.py tests whether the file actually exists; therefore
GLConfig *must* just accept the string as it is, without making modifications
to it.

Thanks for the patch; applied.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]