< prev index next >

common/autoconf/generated-configure.sh

Print this page
rev 2693 : 8184338: switch minimum supported gcc version to 4.8


4993 
4994 # All valid toolchains, regardless of platform (used by help.m4)
4995 VALID_TOOLCHAINS_all="gcc clang solstudio xlc microsoft"
4996 
4997 # These toolchains are valid on different platforms
4998 VALID_TOOLCHAINS_linux="gcc clang"
4999 VALID_TOOLCHAINS_solaris="solstudio"
5000 VALID_TOOLCHAINS_macosx="gcc clang"
5001 VALID_TOOLCHAINS_aix="xlc"
5002 VALID_TOOLCHAINS_windows="microsoft"
5003 
5004 # Toolchain descriptions
5005 TOOLCHAIN_DESCRIPTION_clang="clang/LLVM"
5006 TOOLCHAIN_DESCRIPTION_gcc="GNU Compiler Collection"
5007 TOOLCHAIN_DESCRIPTION_microsoft="Microsoft Visual Studio"
5008 TOOLCHAIN_DESCRIPTION_solstudio="Oracle Solaris Studio"
5009 TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++"
5010 
5011 # Minimum supported versions, empty means unspecified
5012 TOOLCHAIN_MINIMUM_VERSION_clang="3.2"
5013 TOOLCHAIN_MINIMUM_VERSION_gcc="4.3"
5014 TOOLCHAIN_MINIMUM_VERSION_microsoft="16.00.30319.01" # VS2010
5015 TOOLCHAIN_MINIMUM_VERSION_solstudio="5.13"
5016 TOOLCHAIN_MINIMUM_VERSION_xlc=""
5017 
5018 # Prepare the system so that TOOLCHAIN_CHECK_COMPILER_VERSION can be called.
5019 # Must have CC_VERSION_NUMBER and CXX_VERSION_NUMBER.
5020 # $1 - optional variable prefix for compiler and version variables (BUILD_)
5021 # $2 - optional variable prefix for comparable variable (OPENJDK_BUILD_)
5022 
5023 
5024 # Check if the configured compiler (C and C++) is of a specific version or
5025 # newer. TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS must have been called before.
5026 #
5027 # Arguments:
5028 #   VERSION:   The version string to check against the found version
5029 #   IF_AT_LEAST:   block to run if the compiler is at least this version (>=)
5030 #   IF_OLDER_THAN:   block to run if the compiler is older than this version (<)
5031 #   PREFIX:   Optional variable prefix for compiler to compare version for (OPENJDK_BUILD_)
5032 
5033 


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




4993 
4994 # All valid toolchains, regardless of platform (used by help.m4)
4995 VALID_TOOLCHAINS_all="gcc clang solstudio xlc microsoft"
4996 
4997 # These toolchains are valid on different platforms
4998 VALID_TOOLCHAINS_linux="gcc clang"
4999 VALID_TOOLCHAINS_solaris="solstudio"
5000 VALID_TOOLCHAINS_macosx="gcc clang"
5001 VALID_TOOLCHAINS_aix="xlc"
5002 VALID_TOOLCHAINS_windows="microsoft"
5003 
5004 # Toolchain descriptions
5005 TOOLCHAIN_DESCRIPTION_clang="clang/LLVM"
5006 TOOLCHAIN_DESCRIPTION_gcc="GNU Compiler Collection"
5007 TOOLCHAIN_DESCRIPTION_microsoft="Microsoft Visual Studio"
5008 TOOLCHAIN_DESCRIPTION_solstudio="Oracle Solaris Studio"
5009 TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++"
5010 
5011 # Minimum supported versions, empty means unspecified
5012 TOOLCHAIN_MINIMUM_VERSION_clang="3.2"
5013 TOOLCHAIN_MINIMUM_VERSION_gcc="4.8"
5014 TOOLCHAIN_MINIMUM_VERSION_microsoft="16.00.30319.01" # VS2010
5015 TOOLCHAIN_MINIMUM_VERSION_solstudio="5.13"
5016 TOOLCHAIN_MINIMUM_VERSION_xlc=""
5017 
5018 # Prepare the system so that TOOLCHAIN_CHECK_COMPILER_VERSION can be called.
5019 # Must have CC_VERSION_NUMBER and CXX_VERSION_NUMBER.
5020 # $1 - optional variable prefix for compiler and version variables (BUILD_)
5021 # $2 - optional variable prefix for comparable variable (OPENJDK_BUILD_)
5022 
5023 
5024 # Check if the configured compiler (C and C++) is of a specific version or
5025 # newer. TOOLCHAIN_PREPARE_FOR_VERSION_COMPARISONS must have been called before.
5026 #
5027 # Arguments:
5028 #   VERSION:   The version string to check against the found version
5029 #   IF_AT_LEAST:   block to run if the compiler is at least this version (>=)
5030 #   IF_OLDER_THAN:   block to run if the compiler is older than this version (<)
5031 #   PREFIX:   Optional variable prefix for compiler to compare version for (OPENJDK_BUILD_)
5032 
5033 


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


< prev index next >