changeset 57473:2baee52c6a1c

8235960: Zero should not trigger the deprecation warning for ports Reviewed-by: mikael
author glaubitz
date Tue, 17 Dec 2019 16:53:44 +0100
parents bafc170a1d9d
children 9b9c45d18a9c
files make/autoconf/platform.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/platform.m4	Tue Dec 17 16:29:30 2019 +0100
+++ b/make/autoconf/platform.m4	Tue Dec 17 16:53:44 2019 +0100
@@ -566,7 +566,7 @@
   AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
        [Suppress the error when configuring for a deprecated port @<:@no@:>@])])
 
-  if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc; then
+  if test "x$OPENJDK_TARGET_OS" = xsolaris || (test "x$OPENJDK_TARGET_CPU_ARCH" = xsparc && test "x$with_jvm_variants" != xzero); then
     if test "x$enable_deprecated_ports" = "xyes"; then
       AC_MSG_WARN([The Solaris and SPARC ports are deprecated and may be removed in a future release.])
     else