4269 # particular file as subject to the "Classpath" exception as provided
4270 # by Oracle in the LICENSE file that accompanied this code.
4271 #
4272 # This code is distributed in the hope that it will be useful, but WITHOUT
4273 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4274 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4275 # version 2 for more details (a copy is included in the LICENSE file that
4276 # accompanied this code).
4277 #
4278 # You should have received a copy of the GNU General Public License version
4279 # 2 along with this work; if not, write to the Free Software Foundation,
4280 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4281 #
4282 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4283 # or visit www.oracle.com if you need additional information or have any
4284 # questions.
4285 #
4286
4287 # All valid JVM features, regardless of platform
4288 VALID_JVM_FEATURES="compiler1 compiler2 zero shark minimal dtrace jvmti jvmci \
4289 graal fprof vm-structs jni-check services management all-gcs nmt cds \
4290 static-build link-time-opt aot"
4291
4292 # All valid JVM variants
4293 VALID_JVM_VARIANTS="server client minimal core zero zeroshark custom"
4294
4295 ###############################################################################
4296 # Check if the specified JVM variant should be built. To be used in shell if
4297 # constructs, like this:
4298 # if HOTSPOT_CHECK_JVM_VARIANT(server); then
4299 #
4300 # Only valid to use after HOTSPOT_SETUP_JVM_VARIANTS has setup variants.
4301
4302 # Definition kept in one line to allow inlining in if statements.
4303 # Additional [] needed to keep m4 from mangling shell constructs.
4304
4305
4306 ###############################################################################
4307 # Check if the specified JVM features are explicitly enabled. To be used in
4308 # shell if constructs, like this:
4309 # if HOTSPOT_CHECK_JVM_FEATURE(jvmti); then
4310 #
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164 # This line needs to be here, verbatim, after all includes and the dummy hook
5165 # definitions. It is replaced with custom functionality when building
5166 # custom sources.
5167 #CUSTOM_AUTOCONF_INCLUDE
5168
5169 # Do not change or remove the following line, it is needed for consistency checks:
5170 DATE_WHEN_GENERATED=1483978216
5171
5172 ###############################################################################
5173 #
5174 # Initialization / Boot-strapping
5175 #
5176 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5177 # thus it jumps back and forth, each time gaining something needed later on.
5178 #
5179 ###############################################################################
5180
5181 # If we are requested to print additional help, do that and then exit.
5182 # This must be the very first call.
5183
5184 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5185
5186 # Print available toolchains
5187 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5188 $PRINTF "Which are valid to use depends on the build platform.\n"
5189 for toolchain in $VALID_TOOLCHAINS_all; do
5190 # Use indirect variable referencing
|
4269 # particular file as subject to the "Classpath" exception as provided
4270 # by Oracle in the LICENSE file that accompanied this code.
4271 #
4272 # This code is distributed in the hope that it will be useful, but WITHOUT
4273 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4274 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4275 # version 2 for more details (a copy is included in the LICENSE file that
4276 # accompanied this code).
4277 #
4278 # You should have received a copy of the GNU General Public License version
4279 # 2 along with this work; if not, write to the Free Software Foundation,
4280 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4281 #
4282 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4283 # or visit www.oracle.com if you need additional information or have any
4284 # questions.
4285 #
4286
4287 # All valid JVM features, regardless of platform
4288 VALID_JVM_FEATURES="compiler1 compiler2 zero shark minimal dtrace jvmti jvmci \
4289 graal fprof vm-structs jni-check services management all-gcs nmt cds \
4290 static-build link-time-opt aot"
4291
4292 # All valid JVM variants
4293 VALID_JVM_VARIANTS="server client minimal core zero zeroshark custom"
4294
4295 ###############################################################################
4296 # Check if the specified JVM variant should be built. To be used in shell if
4297 # constructs, like this:
4298 # if HOTSPOT_CHECK_JVM_VARIANT(server); then
4299 #
4300 # Only valid to use after HOTSPOT_SETUP_JVM_VARIANTS has setup variants.
4301
4302 # Definition kept in one line to allow inlining in if statements.
4303 # Additional [] needed to keep m4 from mangling shell constructs.
4304
4305
4306 ###############################################################################
4307 # Check if the specified JVM features are explicitly enabled. To be used in
4308 # shell if constructs, like this:
4309 # if HOTSPOT_CHECK_JVM_FEATURE(jvmti); then
4310 #
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164 # This line needs to be here, verbatim, after all includes and the dummy hook
5165 # definitions. It is replaced with custom functionality when building
5166 # custom sources.
5167 #CUSTOM_AUTOCONF_INCLUDE
5168
5169 # Do not change or remove the following line, it is needed for consistency checks:
5170 DATE_WHEN_GENERATED=1484148747
5171
5172 ###############################################################################
5173 #
5174 # Initialization / Boot-strapping
5175 #
5176 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5177 # thus it jumps back and forth, each time gaining something needed later on.
5178 #
5179 ###############################################################################
5180
5181 # If we are requested to print additional help, do that and then exit.
5182 # This must be the very first call.
5183
5184 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5185
5186 # Print available toolchains
5187 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5188 $PRINTF "Which are valid to use depends on the build platform.\n"
5189 for toolchain in $VALID_TOOLCHAINS_all; do
5190 # Use indirect variable referencing
|