File 0475-erts-Do-not-check-for-ic-in-configure-if-not-present.patch of Package erlang
From 2bff84156f4ee4d76c58450a4b3879f3aa2e45fe Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Thu, 29 Aug 2019 11:05:31 +0200 Subject: [PATCH 2/2] erts: Do not check for ic in configure if not present Since ic was removed from the repo we only want to check for the java for ic if it is in the repo. --- erts/configure.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/erts/configure.in b/erts/configure.in index 1be53c24f2..716dc7bd27 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -3266,7 +3266,11 @@ AS_HELP_STRING([--without-javac], [don't use any Java compiler])) dnl dnl Then there are a number of apps which needs a java compiler... dnl -need_java="jinterface ic/java_src" +need_java="jinterface" + +if test -d $ERL_TOP/lib/ic; then + need_java="$need_java ic/java_src" +fi # Remove all SKIP files from previous runs for a in $need_java ; do -- 2.16.4