Skip to content

Commit 9c9c6d0

Browse files
author
duke
committedMar 29, 2023
Automatic merge of jdk:master into master
2 parents 7e2bfda + ff368d5 commit 9c9c6d0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎make/autoconf/jvm-features.m4

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -247,8 +247,11 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
247247
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
248248
[
249249
JVM_FEATURES_CHECK_AVAILABILITY(dtrace, [
250-
AC_MSG_CHECKING([for dtrace tool])
251-
if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
250+
AC_MSG_CHECKING([for dtrace tool and platform support])
251+
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
252+
AC_MSG_RESULT([no, $OPENJDK_TARGET_CPU_ARCH])
253+
AVAILABLE=false
254+
elif test "x$DTRACE" != "x" && test -x "$DTRACE"; then
252255
AC_MSG_RESULT([$DTRACE])
253256
else
254257
AC_MSG_RESULT([no])

0 commit comments

Comments
 (0)
Failed to load comments.