From: Collin Funk Date: Thu, 30 Jan 2025 23:34:52 +0000 (-0800) Subject: automake: avoid precedence error when using Perl 5.41+. X-Git-Tag: v1.17.90~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5403ee7a035872a21135c2ee4871a6c284c91dd;p=thirdparty%2Fautomake.git automake: avoid precedence error when using Perl 5.41+. Reported by Igor Todorovski in . * bin/automake.in (transform): Parentheses the '!' operators so Perl 5.41.8 doesn't warn about "possible precedence problem". --- diff --git a/bin/automake.in b/bin/automake.in index 5d3e7c766..a3b74f485 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -6871,7 +6871,7 @@ sub transform ($\%) { my $neg = ($1 eq '!') ? 1 : 0; my $val = transform_token ($token, %$transform, $2); - return (!!$val == $neg) ? '##%' : ''; + return ((!!$val) == $neg) ? '##%' : ''; } else {