1 # |
1 # |
2 # Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2020, 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 |
444 if test "x$enable_jfr" = "xno" -o "x$enable_jfr" = "xauto"; then |
444 if test "x$enable_jfr" = "xno" -o "x$enable_jfr" = "xauto"; then |
445 ENABLE_JFR=false |
445 ENABLE_JFR=false |
446 elif test "x$enable_jfr" = "xyes" ; then |
446 elif test "x$enable_jfr" = "xyes" ; then |
447 if test "x$JVM_VARIANT_MINIMAL1" = "xtrue" -o "x$JVM_VARIANT_ZERO" = "xtrue"; then |
447 if test "x$JVM_VARIANT_MINIMAL1" = "xtrue" -o "x$JVM_VARIANT_ZERO" = "xtrue"; then |
448 AC_MSG_ERROR([cannot enable JFR on minimal1 VM or zero build]) |
448 AC_MSG_ERROR([cannot enable JFR on minimal1 VM or zero build]) |
|
449 elif test "x$OPENJDK_TARGET_OS" = xaix; then |
|
450 AC_MSG_ERROR([AIX does not support JFR]) |
449 else |
451 else |
450 ENABLE_JFR=true |
452 ENABLE_JFR=true |
451 fi |
453 fi |
452 else |
454 else |
453 AC_MSG_ERROR([--enable-jfr must either be set to yes or no]) |
455 AC_MSG_ERROR([--enable-jfr must either be set to yes or no]) |