Avoid unnecessary "touch meson.build" in vpath builds
authorAndres Freund <andres@anarazel.de>
Thu, 25 Apr 2024 14:51:33 +0000 (07:51 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 25 Apr 2024 14:51:33 +0000 (07:51 -0700)
commit6d4bc96eb77bca6277880f218cd7a2f9e44bddc0
treef43e1f22e34795d149815247ee56be77cf81032c
parentbb7f195ff78851e5fcee7230108a16d70be13579
Avoid unnecessary "touch meson.build" in vpath builds

In e6927270cd1 I added a 'touch meson.build' to configure.ac, to ensure
conflicts between in-tree configure based builds and meson builds are
automatically detected. Unfortunately I omitted spaces around the condition
restricting this to in-tree builds, leading to touch meson.build to also be
executed in vpath builds. While the only consequence of this buglet is an
unnecessary empty file in build directories, it seems worth backpatching.

Reported-by: Christoph Berg <myon@debian.org>
Discussion: https://postgr.es/m/20240417230002.mb2gv3hyetyn67gk@awork3.anarazel.de
Backpatch: 16-, where the meson based build was added
configure
configure.ac