From: Patrick Steinhardt Date: Thu, 3 Apr 2025 05:05:59 +0000 (+0200) Subject: meson: stop requiring Perl when tests are enabled X-Git-Tag: v2.50.0-rc0~102^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=267143f28659fb6868dd73e44bf06e3e26976666;p=thirdparty%2Fgit.git meson: stop requiring Perl when tests are enabled The Perl interpreter used to be a strict dependency for running our test suite. This requirement is explicit in the Meson build system, where we require Perl to be present unless tests have been disabled. With the preceding commits we have loosened this restriction so that it is now possible to run tests when Perl is unavailable. Loosen the above requirement accordingly. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- diff --git a/meson.build b/meson.build index efe2871c9d..d6e27b236f 100644 --- a/meson.build +++ b/meson.build @@ -772,7 +772,7 @@ endif # features. It is optional if you want to neither execute tests nor use any of # these optional features. perl_required = get_option('perl') -if get_option('tests') or get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') +if get_option('gitweb').enabled() or 'netrc' in get_option('credential_helpers') perl_required = true endif