1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
#
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.
3
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
#
5
5
# This code is free software; you can redistribute it and/or modify it
@@ -247,8 +247,11 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
247
247
AC_DEFUN_ONCE ( [ JVM_FEATURES_CHECK_DTRACE] ,
248
248
[
249
249
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
252
255
AC_MSG_RESULT ( [ $DTRACE] )
253
256
else
254
257
AC_MSG_RESULT ( [ no] )
0 commit comments