9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # All valid JVM variants
27 VALID_JVM_VARIANTS="server client minimal core zero custom"
28
29 ################################################################################
30 # Check if the specified JVM variant should be built. To be used in shell if
31 # constructs, like this:
32 # if HOTSPOT_CHECK_JVM_VARIANT(server); then
33 #
34 # Only valid to use after HOTSPOT_SETUP_JVM_VARIANTS has setup variants.
35
36 # Definition kept in one line to allow inlining in if statements.
37 # Additional [] needed to keep m4 from mangling shell constructs.
38 AC_DEFUN([HOTSPOT_CHECK_JVM_VARIANT],
39 [ [ [[ " $JVM_VARIANTS " =~ " $1 " ]] ] ])
40
41 ################################################################################
42 # Check which variants of the JVM that we want to build. Available variants are:
43 # server: normal interpreter, and a tiered C1/C2 compiler
44 # client: normal interpreter, and C1 (no C2 compiler)
45 # minimal: reduced form of client with optional features stripped out
46 # core: normal interpreter only, no compiler
47 # zero: C++ based interpreter only, no compiler
48 # custom: baseline JVM with no default features
|
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # All valid JVM variants
27 VALID_JVM_VARIANTS="server client minimal core zero custom"
28
29 # Valhalla temporarily disabled
30 VALHALLA_TEMP=false
31
32 ################################################################################
33 # Check if the specified JVM variant should be built. To be used in shell if
34 # constructs, like this:
35 # if HOTSPOT_CHECK_JVM_VARIANT(server); then
36 #
37 # Only valid to use after HOTSPOT_SETUP_JVM_VARIANTS has setup variants.
38
39 # Definition kept in one line to allow inlining in if statements.
40 # Additional [] needed to keep m4 from mangling shell constructs.
41 AC_DEFUN([HOTSPOT_CHECK_JVM_VARIANT],
42 [ [ [[ " $JVM_VARIANTS " =~ " $1 " ]] ] ])
43
44 ################################################################################
45 # Check which variants of the JVM that we want to build. Available variants are:
46 # server: normal interpreter, and a tiered C1/C2 compiler
47 # client: normal interpreter, and C1 (no C2 compiler)
48 # minimal: reduced form of client with optional features stripped out
49 # core: normal interpreter only, no compiler
50 # zero: C++ based interpreter only, no compiler
51 # custom: baseline JVM with no default features
|