8304867: Explicitly disable dtrace for ppc builds
Reviewed-by: erikj, shade, lucy
This commit is contained in:
parent
96fa2751e8
commit
ff368d504e
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -247,8 +247,11 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
|
|||||||
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
|
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
|
||||||
[
|
[
|
||||||
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
|
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
|
||||||
AC_MSG_CHECKING([for dtrace tool])
|
AC_MSG_CHECKING([for dtrace tool and platform support])
|
||||||
if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
|
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
|
||||||
|
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
|
||||||
|
AVAILABLE=false
|
||||||
|
elif test "x$DTRACE" != "x" && test -x "$DTRACE"; then
|
||||||
AC_MSG_RESULT([$DTRACE])
|
AC_MSG_RESULT([$DTRACE])
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
|
Loading…
Reference in New Issue
Block a user