From 9bf567d224f42c7b37fee5bb94f193a4c0675b65 Mon Sep 17 00:00:00 2001 From: Fred Hornsey Date: Tue, 30 Apr 2024 15:04:53 -0500 Subject: [PATCH] Move Setting java Feature --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 58c5cebdf87..cdc21d40925 100755 --- a/configure +++ b/configure @@ -452,7 +452,6 @@ my @mpcopts; push(@mpcopts, @{$opts{'mpcopts'}}) if exists($opts{'mpcopts'}); my @features; push(@features, @{$opts{'features'}}) if exists($opts{'features'}); -push(@features, 'java=1') if $opts{'java'}; $opts{'host'} = perlOS_to_host() unless $opts{'host'}; @@ -1807,6 +1806,8 @@ sub has_feature { } if ($opts{'java'}) { + push(@features, 'java=1'); + my $feat = 'java_pre_jpms'; unless (has_feature($feat)) { my $javac = File::Spec->catfile($opts{'java'}, 'bin', 'javac');