equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
349 fi |
349 fi |
350 |
350 |
351 # Only enable ZGC on supported platforms |
351 # Only enable ZGC on supported platforms |
352 AC_MSG_CHECKING([if zgc can be built]) |
352 AC_MSG_CHECKING([if zgc can be built]) |
353 if (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \ |
353 if (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64") || \ |
354 (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"); then |
354 (test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64") || |
|
355 (test "x$OPENJDK_TARGET_OS" = "xmacosx" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"); then |
355 AC_MSG_RESULT([yes]) |
356 AC_MSG_RESULT([yes]) |
356 else |
357 else |
357 DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc" |
358 DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc" |
358 AC_MSG_RESULT([no, platform not supported]) |
359 AC_MSG_RESULT([no, platform not supported]) |
359 fi |
360 fi |