< prev index next >

make/autoconf/platform.m4

Print this page




 187     *cygwin*)
 188       VAR_OS=windows
 189       VAR_OS_ENV=windows.cygwin
 190       ;;
 191     *wsl*)
 192       VAR_OS=windows
 193       VAR_OS_ENV=windows.wsl
 194       ;;
 195     *mingw*)
 196       VAR_OS=windows
 197       VAR_OS_ENV=windows.msys
 198       ;;
 199     *aix*)
 200       VAR_OS=aix
 201       VAR_OS_TYPE=unix
 202       ;;
 203     *)
 204       AC_MSG_ERROR([unsupported operating system $1])
 205       ;;
 206   esac












 207 ])
 208 
 209 # Expects $host_os $host_cpu $build_os and $build_cpu
 210 # and $with_target_bits to have been setup!
 211 #
 212 # Translate the standard triplet(quadruplet) definition
 213 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU,
 214 # OPENJDK_BUILD_OS, etc.
 215 AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
 216 [
 217   # Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
 218   # (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
 219   # Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
 220   # but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
 221   OPENJDK_TARGET_AUTOCONF_NAME="$host"
 222   OPENJDK_BUILD_AUTOCONF_NAME="$build"
 223   AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
 224   AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
 225 
 226   # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
 227   PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
 228   PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
 229   # ..and setup our own variables. (Do this explicitly to facilitate searching)
 230   OPENJDK_BUILD_OS="$VAR_OS"
 231   if test "x$VAR_OS_TYPE" != x; then
 232     OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
 233   else
 234     OPENJDK_BUILD_OS_TYPE="$VAR_OS"
 235   fi
 236   if test "x$VAR_OS_ENV" != x; then
 237     OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
 238   else
 239     OPENJDK_BUILD_OS_ENV="$VAR_OS"
 240   fi
 241   OPENJDK_BUILD_CPU="$VAR_CPU"
 242   OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
 243   OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
 244   OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"

 245   AC_SUBST(OPENJDK_BUILD_OS)
 246   AC_SUBST(OPENJDK_BUILD_OS_TYPE)
 247   AC_SUBST(OPENJDK_BUILD_OS_ENV)
 248   AC_SUBST(OPENJDK_BUILD_CPU)
 249   AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
 250   AC_SUBST(OPENJDK_BUILD_CPU_BITS)
 251   AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)

 252 
 253   AC_MSG_CHECKING([openjdk-build os-cpu])
 254   AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
 255 





 256   # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
 257   PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
 258   PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
 259   # ... and setup our own variables. (Do this explicitly to facilitate searching)
 260   OPENJDK_TARGET_OS="$VAR_OS"
 261   if test "x$VAR_OS_TYPE" != x; then
 262     OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
 263   else
 264     OPENJDK_TARGET_OS_TYPE="$VAR_OS"
 265   fi
 266   if test "x$VAR_OS_ENV" != x; then
 267     OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
 268   else
 269     OPENJDK_TARGET_OS_ENV="$VAR_OS"
 270   fi
 271   OPENJDK_TARGET_CPU="$VAR_CPU"
 272   OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
 273   OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
 274   OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
 275   OPENJDK_TARGET_OS_UPPERCASE=`$ECHO $OPENJDK_TARGET_OS | $TR 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`

 276 
 277   AC_SUBST(OPENJDK_TARGET_OS)
 278   AC_SUBST(OPENJDK_TARGET_OS_TYPE)
 279   AC_SUBST(OPENJDK_TARGET_OS_ENV)
 280   AC_SUBST(OPENJDK_TARGET_OS_UPPERCASE)
 281   AC_SUBST(OPENJDK_TARGET_CPU)
 282   AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
 283   AC_SUBST(OPENJDK_TARGET_CPU_BITS)
 284   AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)

 285 
 286   AC_MSG_CHECKING([openjdk-target os-cpu])
 287   AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])





 288 ])
 289 
 290 # Check if a reduced build (32-bit on 64-bit platforms) is requested, and modify behaviour
 291 # accordingly. Must be done after setting up build and target system, but before
 292 # doing anything else with these values.
 293 AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
 294 [
 295   AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
 296        [build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
 297 
 298   # We have three types of compiles:
 299   # native  == normal compilation, target system == build system
 300   # cross   == traditional cross compilation, target system != build system; special toolchain needed
 301   # reduced == using native compilers, but with special flags (e.g. -m32) to produce 32-bit builds on 64-bit machines
 302   #
 303   if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
 304     # We're doing a proper cross-compilation
 305     COMPILE_TYPE="cross"
 306   else
 307     COMPILE_TYPE="native"


 402   OPENJDK_$1_CPU_JLI="$OPENJDK_$1_CPU"
 403   if test "x$OPENJDK_$1_CPU" = xx86; then
 404     OPENJDK_$1_CPU_JLI="i386"
 405   elif test "x$OPENJDK_$1_OS" != xmacosx && test "x$OPENJDK_$1_CPU" = xx86_64; then
 406     # On all platforms except macosx, we replace x86_64 with amd64.
 407     OPENJDK_$1_CPU_JLI="amd64"
 408   fi
 409 
 410   # The new version string in JDK 9 also defined new naming of OS and ARCH for bundles
 411   # Macosx is osx and x86_64 is x64
 412   if test "x$OPENJDK_$1_OS" = xmacosx; then
 413     OPENJDK_$1_OS_BUNDLE="osx"
 414   else
 415     OPENJDK_$1_OS_BUNDLE="$OPENJDK_TARGET_OS"
 416   fi
 417   if test "x$OPENJDK_$1_CPU" = xx86_64; then
 418     OPENJDK_$1_CPU_BUNDLE="x64"
 419   else
 420     OPENJDK_$1_CPU_BUNDLE="$OPENJDK_$1_CPU"
 421   fi
 422   OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}"






 423   AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
 424 
 425   if test "x$COMPILE_TYPE" = "xcross"; then
 426     # FIXME: ... or should this include reduced builds..?
 427     DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_$1_CPU_LEGACY"
 428   else
 429     DEFINE_CROSS_COMPILE_ARCH=""
 430   fi
 431   AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
 432 
 433   # Convert openjdk platform names to hotspot names
 434 
 435   HOTSPOT_$1_OS=${OPENJDK_$1_OS}
 436   if test "x$OPENJDK_$1_OS" = xmacosx; then
 437     HOTSPOT_$1_OS=bsd
 438   fi
 439   AC_SUBST(HOTSPOT_$1_OS)
 440 
 441   HOTSPOT_$1_OS_TYPE=${OPENJDK_$1_OS_TYPE}
 442   if test "x$OPENJDK_$1_OS_TYPE" = xunix; then


 472   elif test "x$OPENJDK_$1_CPU" = xaarch64; then
 473     HOTSPOT_$1_CPU_DEFINE=AARCH64
 474   elif test "x$OPENJDK_$1_CPU" = xppc64; then
 475     HOTSPOT_$1_CPU_DEFINE=PPC64
 476   elif test "x$OPENJDK_$1_CPU" = xppc64le; then
 477     HOTSPOT_$1_CPU_DEFINE=PPC64
 478 
 479   # The cpu defines below are for zero, we don't support them directly.
 480   elif test "x$OPENJDK_$1_CPU" = xsparc; then
 481     HOTSPOT_$1_CPU_DEFINE=SPARC
 482   elif test "x$OPENJDK_$1_CPU" = xppc; then
 483     HOTSPOT_$1_CPU_DEFINE=PPC32
 484   elif test "x$OPENJDK_$1_CPU" = xs390; then
 485     HOTSPOT_$1_CPU_DEFINE=S390
 486   elif test "x$OPENJDK_$1_CPU" = xs390x; then
 487     HOTSPOT_$1_CPU_DEFINE=S390
 488   elif test "x$OPENJDK_$1_CPU" != x; then
 489     HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
 490   fi
 491   AC_SUBST(HOTSPOT_$1_CPU_DEFINE)







 492 
 493   # For historical reasons, the OS include directories have odd names.
 494   OPENJDK_$1_OS_INCLUDE_SUBDIR="$OPENJDK_TARGET_OS"
 495   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
 496     OPENJDK_$1_OS_INCLUDE_SUBDIR="win32"
 497   elif test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
 498     OPENJDK_$1_OS_INCLUDE_SUBDIR="darwin"
 499   fi
 500   AC_SUBST(OPENJDK_$1_OS_INCLUDE_SUBDIR)
 501 ])
 502 
 503 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
 504 [
 505   if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
 506     RELEASE_FILE_OS_NAME=SunOS
 507   fi
 508   if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
 509     RELEASE_FILE_OS_NAME=Linux
 510   fi
 511   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then




 187     *cygwin*)
 188       VAR_OS=windows
 189       VAR_OS_ENV=windows.cygwin
 190       ;;
 191     *wsl*)
 192       VAR_OS=windows
 193       VAR_OS_ENV=windows.wsl
 194       ;;
 195     *mingw*)
 196       VAR_OS=windows
 197       VAR_OS_ENV=windows.msys
 198       ;;
 199     *aix*)
 200       VAR_OS=aix
 201       VAR_OS_TYPE=unix
 202       ;;
 203     *)
 204       AC_MSG_ERROR([unsupported operating system $1])
 205       ;;
 206   esac
 207 
 208   case "$1" in
 209     *linux*-musl)
 210       VAR_LIBC=musl
 211       ;;
 212     *linux*-gnu)
 213       VAR_LIBC=gnu
 214       ;;
 215     *)
 216       VAR_LIBC=default
 217       ;;
 218   esac
 219 ])
 220 
 221 # Expects $host_os $host_cpu $build_os and $build_cpu
 222 # and $with_target_bits to have been setup!
 223 #
 224 # Translate the standard triplet(quadruplet) definition
 225 # of the target/build system into OPENJDK_TARGET_OS, OPENJDK_TARGET_CPU,
 226 # OPENJDK_BUILD_OS, etc.
 227 AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
 228 [
 229   # Copy the autoconf trip/quadruplet verbatim to OPENJDK_TARGET_AUTOCONF_NAME
 230   # (from the autoconf "host") and OPENJDK_BUILD_AUTOCONF_NAME
 231   # Note that we might later on rewrite e.g. OPENJDK_TARGET_CPU due to reduced build,
 232   # but this will not change the value of OPENJDK_TARGET_AUTOCONF_NAME.
 233   OPENJDK_TARGET_AUTOCONF_NAME="$host"
 234   OPENJDK_BUILD_AUTOCONF_NAME="$build"
 235   AC_SUBST(OPENJDK_TARGET_AUTOCONF_NAME)
 236   AC_SUBST(OPENJDK_BUILD_AUTOCONF_NAME)
 237 
 238   # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
 239   PLATFORM_EXTRACT_VARS_FROM_OS($build_os)
 240   PLATFORM_EXTRACT_VARS_FROM_CPU($build_cpu)
 241   # ..and setup our own variables. (Do this explicitly to facilitate searching)
 242   OPENJDK_BUILD_OS="$VAR_OS"
 243   if test "x$VAR_OS_TYPE" != x; then
 244     OPENJDK_BUILD_OS_TYPE="$VAR_OS_TYPE"
 245   else
 246     OPENJDK_BUILD_OS_TYPE="$VAR_OS"
 247   fi
 248   if test "x$VAR_OS_ENV" != x; then
 249     OPENJDK_BUILD_OS_ENV="$VAR_OS_ENV"
 250   else
 251     OPENJDK_BUILD_OS_ENV="$VAR_OS"
 252   fi
 253   OPENJDK_BUILD_CPU="$VAR_CPU"
 254   OPENJDK_BUILD_CPU_ARCH="$VAR_CPU_ARCH"
 255   OPENJDK_BUILD_CPU_BITS="$VAR_CPU_BITS"
 256   OPENJDK_BUILD_CPU_ENDIAN="$VAR_CPU_ENDIAN"
 257   OPENJDK_BUILD_LIBC="$VAR_LIBC"
 258   AC_SUBST(OPENJDK_BUILD_OS)
 259   AC_SUBST(OPENJDK_BUILD_OS_TYPE)
 260   AC_SUBST(OPENJDK_BUILD_OS_ENV)
 261   AC_SUBST(OPENJDK_BUILD_CPU)
 262   AC_SUBST(OPENJDK_BUILD_CPU_ARCH)
 263   AC_SUBST(OPENJDK_BUILD_CPU_BITS)
 264   AC_SUBST(OPENJDK_BUILD_CPU_ENDIAN)
 265   AC_SUBST(OPENJDK_BUILD_LIBC)
 266 
 267   AC_MSG_CHECKING([openjdk-build os-cpu])
 268   AC_MSG_RESULT([$OPENJDK_BUILD_OS-$OPENJDK_BUILD_CPU])
 269 
 270   if test "x$OPENJDK_BUILD_OS" = "xlinux"; then
 271     AC_MSG_CHECKING([openjdk-build C library])
 272     AC_MSG_RESULT([$OPENJDK_BUILD_LIBC])
 273   fi
 274 
 275   # Convert the autoconf OS/CPU value to our own data, into the VAR_OS/CPU variables.
 276   PLATFORM_EXTRACT_VARS_FROM_OS($host_os)
 277   PLATFORM_EXTRACT_VARS_FROM_CPU($host_cpu)
 278   # ... and setup our own variables. (Do this explicitly to facilitate searching)
 279   OPENJDK_TARGET_OS="$VAR_OS"
 280   if test "x$VAR_OS_TYPE" != x; then
 281     OPENJDK_TARGET_OS_TYPE="$VAR_OS_TYPE"
 282   else
 283     OPENJDK_TARGET_OS_TYPE="$VAR_OS"
 284   fi
 285   if test "x$VAR_OS_ENV" != x; then
 286     OPENJDK_TARGET_OS_ENV="$VAR_OS_ENV"
 287   else
 288     OPENJDK_TARGET_OS_ENV="$VAR_OS"
 289   fi
 290   OPENJDK_TARGET_CPU="$VAR_CPU"
 291   OPENJDK_TARGET_CPU_ARCH="$VAR_CPU_ARCH"
 292   OPENJDK_TARGET_CPU_BITS="$VAR_CPU_BITS"
 293   OPENJDK_TARGET_CPU_ENDIAN="$VAR_CPU_ENDIAN"
 294   OPENJDK_TARGET_OS_UPPERCASE=`$ECHO $OPENJDK_TARGET_OS | $TR 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 295   OPENJDK_TARGET_LIBC="$VAR_LIBC"
 296 
 297   AC_SUBST(OPENJDK_TARGET_OS)
 298   AC_SUBST(OPENJDK_TARGET_OS_TYPE)
 299   AC_SUBST(OPENJDK_TARGET_OS_ENV)
 300   AC_SUBST(OPENJDK_TARGET_OS_UPPERCASE)
 301   AC_SUBST(OPENJDK_TARGET_CPU)
 302   AC_SUBST(OPENJDK_TARGET_CPU_ARCH)
 303   AC_SUBST(OPENJDK_TARGET_CPU_BITS)
 304   AC_SUBST(OPENJDK_TARGET_CPU_ENDIAN)
 305   AC_SUBST(OPENJDK_TARGET_LIBC)
 306 
 307   AC_MSG_CHECKING([openjdk-target os-cpu])
 308   AC_MSG_RESULT([$OPENJDK_TARGET_OS-$OPENJDK_TARGET_CPU])
 309 
 310   if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
 311     AC_MSG_CHECKING([openjdk-target C library])
 312     AC_MSG_RESULT([$OPENJDK_TARGET_LIBC])
 313   fi
 314 ])
 315 
 316 # Check if a reduced build (32-bit on 64-bit platforms) is requested, and modify behaviour
 317 # accordingly. Must be done after setting up build and target system, but before
 318 # doing anything else with these values.
 319 AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
 320 [
 321   AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
 322        [build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
 323 
 324   # We have three types of compiles:
 325   # native  == normal compilation, target system == build system
 326   # cross   == traditional cross compilation, target system != build system; special toolchain needed
 327   # reduced == using native compilers, but with special flags (e.g. -m32) to produce 32-bit builds on 64-bit machines
 328   #
 329   if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
 330     # We're doing a proper cross-compilation
 331     COMPILE_TYPE="cross"
 332   else
 333     COMPILE_TYPE="native"


 428   OPENJDK_$1_CPU_JLI="$OPENJDK_$1_CPU"
 429   if test "x$OPENJDK_$1_CPU" = xx86; then
 430     OPENJDK_$1_CPU_JLI="i386"
 431   elif test "x$OPENJDK_$1_OS" != xmacosx && test "x$OPENJDK_$1_CPU" = xx86_64; then
 432     # On all platforms except macosx, we replace x86_64 with amd64.
 433     OPENJDK_$1_CPU_JLI="amd64"
 434   fi
 435 
 436   # The new version string in JDK 9 also defined new naming of OS and ARCH for bundles
 437   # Macosx is osx and x86_64 is x64
 438   if test "x$OPENJDK_$1_OS" = xmacosx; then
 439     OPENJDK_$1_OS_BUNDLE="osx"
 440   else
 441     OPENJDK_$1_OS_BUNDLE="$OPENJDK_TARGET_OS"
 442   fi
 443   if test "x$OPENJDK_$1_CPU" = xx86_64; then
 444     OPENJDK_$1_CPU_BUNDLE="x64"
 445   else
 446     OPENJDK_$1_CPU_BUNDLE="$OPENJDK_$1_CPU"
 447   fi
 448 
 449   OPENJDK_$1_LIBC_BUNDLE=""
 450   if test "x$OPENJDK_$1_LIBC" = "xmusl"; then  
 451     OPENJDK_$1_LIBC_BUNDLE="-$OPENJDK_$1_LIBC"
 452   fi
 453 
 454   OPENJDK_$1_BUNDLE_PLATFORM="${OPENJDK_$1_OS_BUNDLE}-${OPENJDK_$1_CPU_BUNDLE}${OPENJDK_$1_LIBC_BUNDLE}"
 455   AC_SUBST(OPENJDK_$1_BUNDLE_PLATFORM)
 456 
 457   if test "x$COMPILE_TYPE" = "xcross"; then
 458     # FIXME: ... or should this include reduced builds..?
 459     DEFINE_CROSS_COMPILE_ARCH="CROSS_COMPILE_ARCH:=$OPENJDK_$1_CPU_LEGACY"
 460   else
 461     DEFINE_CROSS_COMPILE_ARCH=""
 462   fi
 463   AC_SUBST(DEFINE_CROSS_COMPILE_ARCH)
 464 
 465   # Convert openjdk platform names to hotspot names
 466 
 467   HOTSPOT_$1_OS=${OPENJDK_$1_OS}
 468   if test "x$OPENJDK_$1_OS" = xmacosx; then
 469     HOTSPOT_$1_OS=bsd
 470   fi
 471   AC_SUBST(HOTSPOT_$1_OS)
 472 
 473   HOTSPOT_$1_OS_TYPE=${OPENJDK_$1_OS_TYPE}
 474   if test "x$OPENJDK_$1_OS_TYPE" = xunix; then


 504   elif test "x$OPENJDK_$1_CPU" = xaarch64; then
 505     HOTSPOT_$1_CPU_DEFINE=AARCH64
 506   elif test "x$OPENJDK_$1_CPU" = xppc64; then
 507     HOTSPOT_$1_CPU_DEFINE=PPC64
 508   elif test "x$OPENJDK_$1_CPU" = xppc64le; then
 509     HOTSPOT_$1_CPU_DEFINE=PPC64
 510 
 511   # The cpu defines below are for zero, we don't support them directly.
 512   elif test "x$OPENJDK_$1_CPU" = xsparc; then
 513     HOTSPOT_$1_CPU_DEFINE=SPARC
 514   elif test "x$OPENJDK_$1_CPU" = xppc; then
 515     HOTSPOT_$1_CPU_DEFINE=PPC32
 516   elif test "x$OPENJDK_$1_CPU" = xs390; then
 517     HOTSPOT_$1_CPU_DEFINE=S390
 518   elif test "x$OPENJDK_$1_CPU" = xs390x; then
 519     HOTSPOT_$1_CPU_DEFINE=S390
 520   elif test "x$OPENJDK_$1_CPU" != x; then
 521     HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
 522   fi
 523   AC_SUBST(HOTSPOT_$1_CPU_DEFINE)
 524 
 525   if test "x$OPENJDK_$1_LIBC" = "xmusl"; then
 526     HOTSPOT_$1_LIBC=$OPENJDK_$1_LIBC
 527   else
 528     HOTSPOT_$1_LIBC=""
 529   fi
 530   AC_SUBST(HOTSPOT_$1_LIBC)
 531 
 532   # For historical reasons, the OS include directories have odd names.
 533   OPENJDK_$1_OS_INCLUDE_SUBDIR="$OPENJDK_TARGET_OS"
 534   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
 535     OPENJDK_$1_OS_INCLUDE_SUBDIR="win32"
 536   elif test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
 537     OPENJDK_$1_OS_INCLUDE_SUBDIR="darwin"
 538   fi
 539   AC_SUBST(OPENJDK_$1_OS_INCLUDE_SUBDIR)
 540 ])
 541 
 542 AC_DEFUN([PLATFORM_SET_RELEASE_FILE_OS_VALUES],
 543 [
 544   if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
 545     RELEASE_FILE_OS_NAME=SunOS
 546   fi
 547   if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
 548     RELEASE_FILE_OS_NAME=Linux
 549   fi
 550   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then


< prev index next >