< prev index next >

common/autoconf/generated-configure.sh

Print this page




 976 HOTSPOT_BUILD_OS_TYPE
 977 HOTSPOT_BUILD_OS
 978 OPENJDK_BUILD_BUNDLE_PLATFORM
 979 OPENJDK_BUILD_OS_EXPORT_DIR
 980 OPENJDK_BUILD_CPU_OSARCH
 981 OPENJDK_BUILD_CPU_ISADIR
 982 OPENJDK_BUILD_CPU_LEGACY_LIB
 983 OPENJDK_BUILD_CPU_LEGACY
 984 HOTSPOT_TARGET_CPU_DEFINE
 985 HOTSPOT_TARGET_CPU_ARCH
 986 HOTSPOT_TARGET_CPU
 987 HOTSPOT_TARGET_OS_TYPE
 988 HOTSPOT_TARGET_OS
 989 DEFINE_CROSS_COMPILE_ARCH
 990 OPENJDK_TARGET_BUNDLE_PLATFORM
 991 OPENJDK_TARGET_OS_EXPORT_DIR
 992 OPENJDK_TARGET_CPU_OSARCH
 993 OPENJDK_TARGET_CPU_ISADIR
 994 OPENJDK_TARGET_CPU_LEGACY_LIB
 995 OPENJDK_TARGET_CPU_LEGACY
 996 REQUIRED_OS_VERSION
 997 REQUIRED_OS_ARCH
 998 REQUIRED_OS_NAME
 999 COMPILE_TYPE
1000 OPENJDK_TARGET_CPU_ENDIAN
1001 OPENJDK_TARGET_CPU_BITS
1002 OPENJDK_TARGET_CPU_ARCH
1003 OPENJDK_TARGET_CPU
1004 OPENJDK_TARGET_OS_ENV
1005 OPENJDK_TARGET_OS_TYPE
1006 OPENJDK_TARGET_OS
1007 OPENJDK_BUILD_CPU_ENDIAN
1008 OPENJDK_BUILD_CPU_BITS
1009 OPENJDK_BUILD_CPU_ARCH
1010 OPENJDK_BUILD_CPU
1011 OPENJDK_BUILD_OS_ENV
1012 OPENJDK_BUILD_OS_TYPE
1013 OPENJDK_BUILD_OS
1014 OPENJDK_BUILD_AUTOCONF_NAME
1015 OPENJDK_TARGET_AUTOCONF_NAME
1016 target_os
1017 target_vendor
1018 target_cpu


5157 
5158 
5159 
5160 
5161 
5162 
5163 
5164 
5165 
5166 
5167 
5168 
5169 
5170 
5171 # This line needs to be here, verbatim, after all includes and the dummy hook
5172 # definitions. It is replaced with custom functionality when building
5173 # custom sources.
5174 #CUSTOM_AUTOCONF_INCLUDE
5175 
5176 # Do not change or remove the following line, it is needed for consistency checks:
5177 DATE_WHEN_GENERATED=1490856742
5178 
5179 ###############################################################################
5180 #
5181 # Initialization / Boot-strapping
5182 #
5183 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5184 # thus it jumps back and forth, each time gaining something needed later on.
5185 #
5186 ###############################################################################
5187 
5188 # If we are requested to print additional help, do that and then exit.
5189 # This must be the very first call.
5190 
5191   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5192 
5193     # Print available toolchains
5194     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5195     $PRINTF "Which are valid to use depends on the build platform.\n"
5196     for toolchain in $VALID_TOOLCHAINS_all; do
5197       # Use indirect variable referencing


16005       else
16006         as_fn_error $? "Reduced build (--with-target-bits=32) is only supported on x86_64 and sparcv9" "$LINENO" 5
16007       fi
16008     elif test "x$with_target_bits" = x64 && test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
16009       as_fn_error $? "It is not possible to use --with-target-bits=64 on a 32 bit system. Use proper cross-compilation instead." "$LINENO" 5
16010     elif test "x$with_target_bits" = "x$OPENJDK_TARGET_CPU_BITS"; then
16011       { $as_echo "$as_me:${as_lineno-$LINENO}: --with-target-bits are set to build platform address size; argument has no meaning" >&5
16012 $as_echo "$as_me: --with-target-bits are set to build platform address size; argument has no meaning" >&6;}
16013     else
16014       as_fn_error $? "--with-target-bits can only be 32 or 64, you specified $with_target_bits!" "$LINENO" 5
16015     fi
16016   fi
16017 
16018 
16019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking compilation type" >&5
16020 $as_echo_n "checking compilation type... " >&6; }
16021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPILE_TYPE" >&5
16022 $as_echo "$COMPILE_TYPE" >&6; }
16023 
16024 
16025   if test "x$OPENJDK_TARGET_OS" = "xsolaris"; then
16026     REQUIRED_OS_NAME=SunOS
16027     REQUIRED_OS_VERSION=5.10
16028   fi
16029   if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
16030     REQUIRED_OS_NAME=Linux
16031     REQUIRED_OS_VERSION=2.6
16032   fi
16033   if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
16034     REQUIRED_OS_NAME=Windows
16035     if test "x$OPENJDK_TARGET_CPU_BITS" = "x64"; then
16036       REQUIRED_OS_VERSION=5.2
16037     else
16038       REQUIRED_OS_VERSION=5.1
16039     fi
16040   fi
16041   if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
16042     REQUIRED_OS_NAME="Mac OS X"
16043     REQUIRED_OS_VERSION=11.2
16044   fi
16045   if test "x$OPENJDK_TARGET_OS" = "xaix"; then
16046     REQUIRED_OS_NAME=AIX
16047     REQUIRED_OS_VERSION=7.1
16048   fi
16049   REQUIRED_OS_ARCH=${OPENJDK_TARGET_CPU}
16050 





16051 
16052 
16053 
16054 
16055 
16056 
16057   # Also store the legacy naming of the cpu.
16058   # Ie i586 and amd64 instead of x86 and x86_64
16059   OPENJDK_TARGET_CPU_LEGACY="$OPENJDK_TARGET_CPU"
16060   if test "x$OPENJDK_TARGET_CPU" = xx86; then
16061     OPENJDK_TARGET_CPU_LEGACY="i586"
16062   elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
16063     # On all platforms except MacOSX replace x86_64 with amd64.
16064     OPENJDK_TARGET_CPU_LEGACY="amd64"
16065   fi
16066 
16067 
16068   # And the second legacy naming of the cpu.
16069   # Ie i386 and amd64 instead of x86 and x86_64.
16070   OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU"




 976 HOTSPOT_BUILD_OS_TYPE
 977 HOTSPOT_BUILD_OS
 978 OPENJDK_BUILD_BUNDLE_PLATFORM
 979 OPENJDK_BUILD_OS_EXPORT_DIR
 980 OPENJDK_BUILD_CPU_OSARCH
 981 OPENJDK_BUILD_CPU_ISADIR
 982 OPENJDK_BUILD_CPU_LEGACY_LIB
 983 OPENJDK_BUILD_CPU_LEGACY
 984 HOTSPOT_TARGET_CPU_DEFINE
 985 HOTSPOT_TARGET_CPU_ARCH
 986 HOTSPOT_TARGET_CPU
 987 HOTSPOT_TARGET_OS_TYPE
 988 HOTSPOT_TARGET_OS
 989 DEFINE_CROSS_COMPILE_ARCH
 990 OPENJDK_TARGET_BUNDLE_PLATFORM
 991 OPENJDK_TARGET_OS_EXPORT_DIR
 992 OPENJDK_TARGET_CPU_OSARCH
 993 OPENJDK_TARGET_CPU_ISADIR
 994 OPENJDK_TARGET_CPU_LEGACY_LIB
 995 OPENJDK_TARGET_CPU_LEGACY
 996 OPENJDK_MODULE_TARGET_OS_ARCH
 997 OPENJDK_MODULE_TARGET_OS_NAME

 998 COMPILE_TYPE
 999 OPENJDK_TARGET_CPU_ENDIAN
1000 OPENJDK_TARGET_CPU_BITS
1001 OPENJDK_TARGET_CPU_ARCH
1002 OPENJDK_TARGET_CPU
1003 OPENJDK_TARGET_OS_ENV
1004 OPENJDK_TARGET_OS_TYPE
1005 OPENJDK_TARGET_OS
1006 OPENJDK_BUILD_CPU_ENDIAN
1007 OPENJDK_BUILD_CPU_BITS
1008 OPENJDK_BUILD_CPU_ARCH
1009 OPENJDK_BUILD_CPU
1010 OPENJDK_BUILD_OS_ENV
1011 OPENJDK_BUILD_OS_TYPE
1012 OPENJDK_BUILD_OS
1013 OPENJDK_BUILD_AUTOCONF_NAME
1014 OPENJDK_TARGET_AUTOCONF_NAME
1015 target_os
1016 target_vendor
1017 target_cpu


5156 
5157 
5158 
5159 
5160 
5161 
5162 
5163 
5164 
5165 
5166 
5167 
5168 
5169 
5170 # This line needs to be here, verbatim, after all includes and the dummy hook
5171 # definitions. It is replaced with custom functionality when building
5172 # custom sources.
5173 #CUSTOM_AUTOCONF_INCLUDE
5174 
5175 # Do not change or remove the following line, it is needed for consistency checks:
5176 DATE_WHEN_GENERATED=1491256793
5177 
5178 ###############################################################################
5179 #
5180 # Initialization / Boot-strapping
5181 #
5182 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5183 # thus it jumps back and forth, each time gaining something needed later on.
5184 #
5185 ###############################################################################
5186 
5187 # If we are requested to print additional help, do that and then exit.
5188 # This must be the very first call.
5189 
5190   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5191 
5192     # Print available toolchains
5193     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5194     $PRINTF "Which are valid to use depends on the build platform.\n"
5195     for toolchain in $VALID_TOOLCHAINS_all; do
5196       # Use indirect variable referencing


16004       else
16005         as_fn_error $? "Reduced build (--with-target-bits=32) is only supported on x86_64 and sparcv9" "$LINENO" 5
16006       fi
16007     elif test "x$with_target_bits" = x64 && test "x$OPENJDK_TARGET_CPU_BITS" = x32; then
16008       as_fn_error $? "It is not possible to use --with-target-bits=64 on a 32 bit system. Use proper cross-compilation instead." "$LINENO" 5
16009     elif test "x$with_target_bits" = "x$OPENJDK_TARGET_CPU_BITS"; then
16010       { $as_echo "$as_me:${as_lineno-$LINENO}: --with-target-bits are set to build platform address size; argument has no meaning" >&5
16011 $as_echo "$as_me: --with-target-bits are set to build platform address size; argument has no meaning" >&6;}
16012     else
16013       as_fn_error $? "--with-target-bits can only be 32 or 64, you specified $with_target_bits!" "$LINENO" 5
16014     fi
16015   fi
16016 
16017 
16018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking compilation type" >&5
16019 $as_echo_n "checking compilation type... " >&6; }
16020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPILE_TYPE" >&5
16021 $as_echo "$COMPILE_TYPE" >&6; }
16022 
16023 
16024   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
16025     OPENJDK_MODULE_TARGET_OS_NAME="macos"










16026   else
16027     OPENJDK_MODULE_TARGET_OS_NAME="$OPENJDK_TARGET_OS"

16028   fi









16029 
16030   if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
16031     OPENJDK_MODULE_TARGET_OS_ARCH="amd64"
16032   else
16033     OPENJDK_MODULE_TARGET_OS_ARCH="$OPENJDK_TARGET_CPU"
16034   fi
16035 
16036 
16037 
16038 
16039 
16040 
16041   # Also store the legacy naming of the cpu.
16042   # Ie i586 and amd64 instead of x86 and x86_64
16043   OPENJDK_TARGET_CPU_LEGACY="$OPENJDK_TARGET_CPU"
16044   if test "x$OPENJDK_TARGET_CPU" = xx86; then
16045     OPENJDK_TARGET_CPU_LEGACY="i586"
16046   elif test "x$OPENJDK_TARGET_OS" != xmacosx && test "x$OPENJDK_TARGET_CPU" = xx86_64; then
16047     # On all platforms except MacOSX replace x86_64 with amd64.
16048     OPENJDK_TARGET_CPU_LEGACY="amd64"
16049   fi
16050 
16051 
16052   # And the second legacy naming of the cpu.
16053   # Ie i386 and amd64 instead of x86 and x86_64.
16054   OPENJDK_TARGET_CPU_LEGACY_LIB="$OPENJDK_TARGET_CPU"


< prev index next >