]> git.ipfire.org Git - thirdparty/git.git/commitdiff
meson: report detected runtime executable paths
authorPatrick Steinhardt <ps@pks.im>
Fri, 25 Apr 2025 14:11:28 +0000 (16:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Apr 2025 16:54:39 +0000 (09:54 -0700)
Git needs to know about a couple of executable paths to pick at runtime.
This includes the system shell, but may also optionally include the Perl
and Python interpreters. Meson detects the location of these paths
automatically via `find_program()`, which does a lookup via the `PATH`
environment variable. As such, it may not be immediately obvious to the
developer which paths have been autodetected.

Improve this by exposing runtime executable paths at setup time.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
meson.build

index c47cb79af0815a9bdd5acb0ae036c41dff2647fa..a180c66ee69f4c4347b68c4169cb2c5d0e358f34 100644 (file)
@@ -2080,3 +2080,9 @@ summary({
   'sha256': sha256_backend,
   'zlib': zlib_backend,
 }, section: 'Backends')
+
+summary({
+  'perl': target_perl,
+  'python': target_python,
+  'shell': target_shell,
+}, section: 'Runtime executable paths')