461 HOTSPOT_$1_CPU_DEFINE=AARCH64 462 elif test "x$OPENJDK_$1_CPU" = xppc64; then 463 HOTSPOT_$1_CPU_DEFINE=PPC64 464 elif test "x$OPENJDK_$1_CPU" = xppc64le; then 465 HOTSPOT_$1_CPU_DEFINE=PPC64 466 467 # The cpu defines below are for zero, we don't support them directly. 468 elif test "x$OPENJDK_$1_CPU" = xsparc; then 469 HOTSPOT_$1_CPU_DEFINE=SPARC 470 elif test "x$OPENJDK_$1_CPU" = xppc; then 471 HOTSPOT_$1_CPU_DEFINE=PPC32 472 elif test "x$OPENJDK_$1_CPU" = xs390; then 473 HOTSPOT_$1_CPU_DEFINE=S390 474 elif test "x$OPENJDK_$1_CPU" = xs390x; then 475 HOTSPOT_$1_CPU_DEFINE=S390 476 elif test "x$OPENJDK_$1_CPU" != x; then 477 HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z) 478 fi 479 AC_SUBST(HOTSPOT_$1_CPU_DEFINE) 480 481 ]) 482 483 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES], 484 [ 485 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then 486 RELEASE_FILE_OS_NAME=SunOS 487 fi 488 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then 489 RELEASE_FILE_OS_NAME=Linux 490 fi 491 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then 492 RELEASE_FILE_OS_NAME=Windows 493 fi 494 if test "x$OPENJDK_TARGET_OS" = xmacosx; then 495 RELEASE_FILE_OS_NAME="Darwin" 496 fi 497 if test "x$OPENJDK_TARGET_OS" = "xaix"; then 498 RELEASE_FILE_OS_NAME="AIX" 499 fi 500 RELEASE_FILE_OS_ARCH=${OPENJDK_TARGET_CPU} | 461 HOTSPOT_$1_CPU_DEFINE=AARCH64 462 elif test "x$OPENJDK_$1_CPU" = xppc64; then 463 HOTSPOT_$1_CPU_DEFINE=PPC64 464 elif test "x$OPENJDK_$1_CPU" = xppc64le; then 465 HOTSPOT_$1_CPU_DEFINE=PPC64 466 467 # The cpu defines below are for zero, we don't support them directly. 468 elif test "x$OPENJDK_$1_CPU" = xsparc; then 469 HOTSPOT_$1_CPU_DEFINE=SPARC 470 elif test "x$OPENJDK_$1_CPU" = xppc; then 471 HOTSPOT_$1_CPU_DEFINE=PPC32 472 elif test "x$OPENJDK_$1_CPU" = xs390; then 473 HOTSPOT_$1_CPU_DEFINE=S390 474 elif test "x$OPENJDK_$1_CPU" = xs390x; then 475 HOTSPOT_$1_CPU_DEFINE=S390 476 elif test "x$OPENJDK_$1_CPU" != x; then 477 HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z) 478 fi 479 AC_SUBST(HOTSPOT_$1_CPU_DEFINE) 480 481 # For historical reasons, the OS include directories have odd names. 482 OPENJDK_$1_OS_INCLUDE_SUBDIR="$OPENJDK_TARGET_OS" 483 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then 484 OPENJDK_$1_OS_INCLUDE_SUBDIR="win32" 485 elif test "x$OPENJDK_TARGET_OS" = "xmacosx"; then 486 OPENJDK_$1_OS_INCLUDE_SUBDIR="darwin" 487 fi 488 AC_SUBST(OPENJDK_$1_OS_INCLUDE_SUBDIR) 489 ]) 490 491 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES], 492 [ 493 if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then 494 RELEASE_FILE_OS_NAME=SunOS 495 fi 496 if test "x$OPENJDK_TARGET_OS" = "xlinux"; then 497 RELEASE_FILE_OS_NAME=Linux 498 fi 499 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then 500 RELEASE_FILE_OS_NAME=Windows 501 fi 502 if test "x$OPENJDK_TARGET_OS" = xmacosx; then 503 RELEASE_FILE_OS_NAME="Darwin" 504 fi 505 if test "x$OPENJDK_TARGET_OS" = "xaix"; then 506 RELEASE_FILE_OS_NAME="AIX" 507 fi 508 RELEASE_FILE_OS_ARCH=${OPENJDK_TARGET_CPU} |