Re: meson uses stale pg_config_paths.h left over from make

2023-08-24 Thread David Rowley
On Thu, 24 Aug 2023 at 18:25, Andres Freund wrote: > > On 2023-08-24 08:18:14 +0200, Peter Eisentraut wrote: > > Surely meson should not be required to detect that? > > I think we should try to detect included files, due to the nasty and hard to > debug issues that creates. I've spent quite a bit

Re: meson uses stale pg_config_paths.h left over from make

2023-08-24 Thread Andres Freund
Hi, On 2023-08-24 08:18:14 +0200, Peter Eisentraut wrote: > On 23.08.23 14:52, David Rowley wrote: > > Generally when there are files left over the meson build script will > > detect this and ask you to run make maintainer-clean. That's useful > > on Linux, but on Windows you're just left to

Re: meson uses stale pg_config_paths.h left over from make

2023-08-24 Thread Peter Eisentraut
On 23.08.23 14:52, David Rowley wrote: Generally when there are files left over the meson build script will detect this and ask you to run make maintainer-clean. That's useful on Linux, but on Windows you're just left to manually remove the conflicting files which are listed. Unfortunately,

Re: meson uses stale pg_config_paths.h left over from make

2023-08-23 Thread David Rowley
On Thu, 24 Aug 2023 at 00:52, David Rowley wrote: > Are there any objections to the attached being applied? Pushed. David

meson uses stale pg_config_paths.h left over from make

2023-08-23 Thread David Rowley
I've been having some problems running the regression tests using meson on Windows. This seems to be down to initdb being compiled with a version of pg_config_paths.h left over from the msvc build which had been used on that source tree previously. Generally when there are files left over the