728 SET_SHARED_LIBRARY_ORIGIN
729 SET_EXECUTABLE_ORIGIN
730 SHARED_LIBRARY_FLAGS
731 CXX_FLAG_REORDER
732 C_FLAG_REORDER
733 SYSROOT_LDFLAGS
734 SYSROOT_CFLAGS
735 RC_FLAGS
736 AR_OUT_OPTION
737 LD_OUT_OPTION
738 EXE_OUT_OPTION
739 CC_OUT_OPTION
740 POST_MCS_CMD
741 POST_STRIP_CMD
742 ARFLAGS
743 COMPILER_TARGET_BITS_FLAG
744 JT_HOME
745 JTREGEXE
746 USING_BROKEN_SUSE_LD
747 PACKAGE_PATH
748 LDEXECXX
749 LDEXE
750 USE_CLANG
751 HOTSPOT_LD
752 HOTSPOT_CXX
753 HOTSPOT_RC
754 HOTSPOT_MT
755 BUILD_LD
756 BUILD_CXX
757 BUILD_CC
758 ac_ct_OBJDUMP
759 OBJDUMP
760 ac_ct_OBJCOPY
761 OBJCOPY
762 ac_ct_NM
763 ac_ct_STRIP
764 MCS
765 GNM
766 NM
767 STRIP
768 MSBUILD
769 DUMPBIN
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362 # This line needs to be here, verbatim, after all includes and the dummy hook
4363 # definitions. It is replaced with custom functionality when building
4364 # custom sources.
4365 #CUSTOM_AUTOCONF_INCLUDE
4366
4367 # Do not change or remove the following line, it is needed for consistency checks:
4368 DATE_WHEN_GENERATED=1428904416
4369
4370 ###############################################################################
4371 #
4372 # Initialization / Boot-strapping
4373 #
4374 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4375 # thus it jumps back and forth, each time gaining something needed later on.
4376 #
4377 ###############################################################################
4378
4379 # If we are requested to print additional help, do that and then exit.
4380 # This must be the very first call.
4381
4382 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4383 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4384 $PRINTF "Which are valid to use depends on the build platform.\n"
4385 for toolchain in $VALID_TOOLCHAINS_all; do
4386 # Use indirect variable referencing
4387 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4388 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
40819 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
40820 windows_path=`$CYGPATH -m "$unix_path"`
40821 HOTSPOT_RC="$windows_path"
40822 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
40823 windows_path=`cmd //c echo $unix_path`
40824 HOTSPOT_RC="$windows_path"
40825 fi
40826
40827
40828
40829 else
40830 HOTSPOT_CXX="$CXX"
40831 HOTSPOT_LD="$LD"
40832 fi
40833
40834
40835
40836 if test "x$TOOLCHAIN_TYPE" = xclang; then
40837 USE_CLANG=true
40838 fi
40839
40840
40841 # LDEXE is the linker to use, when creating executables. Not really used.
40842 # FIXME: These should just be removed!
40843 LDEXE="$LD"
40844 LDEXECXX="$LDCXX"
40845
40846
40847
40848
40849
40850
40851 # The package path is used only on macosx?
40852 # FIXME: clean this up, and/or move it elsewhere.
40853 PACKAGE_PATH=/opt/local
40854
40855
40856 # Check for extra potential brokenness.
40857 if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
40858 # On Windows, double-check that we got the right compiler.
40859 CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
40860 COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
40861 if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
40862 if test "x$COMPILER_CPU_TEST" != "x80x86" -a "x$COMPILER_CPU_TEST" != "xx86"; then
40863 as_fn_error $? "Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for \"$COMPILER_CPU_TEST\"; expected \"80x86\" or \"x86\"." "$LINENO" 5
40864 fi
40865 elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
|
728 SET_SHARED_LIBRARY_ORIGIN
729 SET_EXECUTABLE_ORIGIN
730 SHARED_LIBRARY_FLAGS
731 CXX_FLAG_REORDER
732 C_FLAG_REORDER
733 SYSROOT_LDFLAGS
734 SYSROOT_CFLAGS
735 RC_FLAGS
736 AR_OUT_OPTION
737 LD_OUT_OPTION
738 EXE_OUT_OPTION
739 CC_OUT_OPTION
740 POST_MCS_CMD
741 POST_STRIP_CMD
742 ARFLAGS
743 COMPILER_TARGET_BITS_FLAG
744 JT_HOME
745 JTREGEXE
746 USING_BROKEN_SUSE_LD
747 PACKAGE_PATH
748 USE_CLANG
749 HOTSPOT_LD
750 HOTSPOT_CXX
751 HOTSPOT_RC
752 HOTSPOT_MT
753 BUILD_LD
754 BUILD_CXX
755 BUILD_CC
756 ac_ct_OBJDUMP
757 OBJDUMP
758 ac_ct_OBJCOPY
759 OBJCOPY
760 ac_ct_NM
761 ac_ct_STRIP
762 MCS
763 GNM
764 NM
765 STRIP
766 MSBUILD
767 DUMPBIN
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360 # This line needs to be here, verbatim, after all includes and the dummy hook
4361 # definitions. It is replaced with custom functionality when building
4362 # custom sources.
4363 #CUSTOM_AUTOCONF_INCLUDE
4364
4365 # Do not change or remove the following line, it is needed for consistency checks:
4366 DATE_WHEN_GENERATED=1429004472
4367
4368 ###############################################################################
4369 #
4370 # Initialization / Boot-strapping
4371 #
4372 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4373 # thus it jumps back and forth, each time gaining something needed later on.
4374 #
4375 ###############################################################################
4376
4377 # If we are requested to print additional help, do that and then exit.
4378 # This must be the very first call.
4379
4380 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4381 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4382 $PRINTF "Which are valid to use depends on the build platform.\n"
4383 for toolchain in $VALID_TOOLCHAINS_all; do
4384 # Use indirect variable referencing
4385 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4386 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
40817 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
40818 windows_path=`$CYGPATH -m "$unix_path"`
40819 HOTSPOT_RC="$windows_path"
40820 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
40821 windows_path=`cmd //c echo $unix_path`
40822 HOTSPOT_RC="$windows_path"
40823 fi
40824
40825
40826
40827 else
40828 HOTSPOT_CXX="$CXX"
40829 HOTSPOT_LD="$LD"
40830 fi
40831
40832
40833
40834 if test "x$TOOLCHAIN_TYPE" = xclang; then
40835 USE_CLANG=true
40836 fi
40837
40838
40839
40840
40841
40842 # The package path is used only on macosx?
40843 # FIXME: clean this up, and/or move it elsewhere.
40844 PACKAGE_PATH=/opt/local
40845
40846
40847 # Check for extra potential brokenness.
40848 if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
40849 # On Windows, double-check that we got the right compiler.
40850 CC_VERSION_OUTPUT=`$CC 2>&1 | $HEAD -n 1 | $TR -d '\r'`
40851 COMPILER_CPU_TEST=`$ECHO $CC_VERSION_OUTPUT | $SED -n "s/^.* \(.*\)$/\1/p"`
40852 if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
40853 if test "x$COMPILER_CPU_TEST" != "x80x86" -a "x$COMPILER_CPU_TEST" != "xx86"; then
40854 as_fn_error $? "Target CPU mismatch. We are building for $OPENJDK_TARGET_CPU but CL is for \"$COMPILER_CPU_TEST\"; expected \"80x86\" or \"x86\"." "$LINENO" 5
40855 fi
40856 elif test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
|