854 EXTRA_CXXFLAGS
855 EXTRA_CFLAGS
856 EXE_SUFFIX
857 OBJ_SUFFIX
858 STATIC_LIBRARY
859 SHARED_LIBRARY
860 STATIC_LIBRARY_SUFFIX
861 SHARED_LIBRARY_SUFFIX
862 LIBRARY_PREFIX
863 TOOLCHAIN_TYPE
864 STATIC_BUILD
865 IMPORT_MODULES_MAKE
866 IMPORT_MODULES_SRC
867 IMPORT_MODULES_MAN
868 IMPORT_MODULES_LEGAL
869 IMPORT_MODULES_CONF
870 IMPORT_MODULES_LIBS
871 IMPORT_MODULES_CMDS
872 IMPORT_MODULES_CLASSES
873 BUILD_OUTPUT
874 NASHORN_TOPDIR
875 HOTSPOT_TOPDIR
876 JAXWS_TOPDIR
877 JAXP_TOPDIR
878 CORBA_TOPDIR
879 LANGTOOLS_TOPDIR
880 EXTERNAL_BUILDJDK
881 BUILD_JDK
882 CREATE_BUILDJDK
883 JLINK
884 JMOD
885 JAVAC_FLAGS
886 BOOT_JDK_MODULAR
887 BOOT_JDK_SOURCETARGET
888 JARSIGNER
889 JAR
890 JAVAH
891 JAVAC
892 JAVA
893 BOOT_JDK
894 JAVA_CHECK
895 JAVAC_CHECK
896 VERSION_IS_GA
897 VERSION_SHORT
898 VERSION_STRING
899 VERSION_NUMBER_FOUR_POSITIONS
1145 enable_headless_only
1146 enable_full_docs
1147 with_cacerts_file
1148 enable_unlimited_crypto
1149 with_copyright_year
1150 enable_keep_packaged_modules
1151 with_milestone
1152 with_update_version
1153 with_user_release_suffix
1154 with_build_number
1155 with_version_string
1156 with_version_pre
1157 with_version_opt
1158 with_version_build
1159 with_version_major
1160 with_version_minor
1161 with_version_security
1162 with_version_patch
1163 with_boot_jdk
1164 with_build_jdk
1165 with_add_source_root
1166 with_override_source_root
1167 with_adds_and_overrides
1168 with_override_langtools
1169 with_override_corba
1170 with_override_jaxp
1171 with_override_jaxws
1172 with_override_hotspot
1173 with_override_nashorn
1174 with_override_jdk
1175 with_import_hotspot
1176 with_import_modules
1177 enable_static_build
1178 with_toolchain_type
1179 with_extra_cflags
1180 with_extra_cxxflags
1181 with_extra_ldflags
1182 with_toolchain_version
1183 with_build_devkit
1184 with_jtreg
1185 with_jib
1186 with_abi_profile
1187 with_macosx_version_max
1188 enable_warnings_as_errors
1189 with_native_debug_symbols
1190 enable_debug_symbols
1191 enable_zip_debug_info
1192 enable_native_coverage
1193 enable_dtrace
1194 enable_aot
1195 enable_cds
2076 --with-build-number Deprecated. Option is kept for backwards
2077 compatibility and is ignored
2078 --with-version-string Set version string [calculated]
2079 --with-version-pre Set the base part of the version 'PRE' field
2080 (pre-release identifier) ['internal']
2081 --with-version-opt Set version 'OPT' field (build metadata)
2082 [<timestamp>.<user>.<dirname>]
2083 --with-version-build Set version 'BUILD' field (build number) [not
2084 specified]
2085 --with-version-major Set version 'MAJOR' field (first number) [current
2086 source value]
2087 --with-version-minor Set version 'MINOR' field (second number) [current
2088 source value]
2089 --with-version-security Set version 'SECURITY' field (third number) [current
2090 source value]
2091 --with-version-patch Set version 'PATCH' field (fourth number) [not
2092 specified]
2093 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed]
2094 --with-build-jdk path to JDK of same version as is being built[the
2095 newly built JDK]
2096 --with-add-source-root Deprecated. Option is kept for backwards
2097 compatibility and is ignored
2098 --with-override-source-root
2099 Deprecated. Option is kept for backwards
2100 compatibility and is ignored
2101 --with-adds-and-overrides
2102 Deprecated. Option is kept for backwards
2103 compatibility and is ignored
2104 --with-override-langtools
2105 Deprecated. Option is kept for backwards
2106 compatibility and is ignored
2107 --with-override-corba Deprecated. Option is kept for backwards
2108 compatibility and is ignored
2109 --with-override-jaxp Deprecated. Option is kept for backwards
2110 compatibility and is ignored
2111 --with-override-jaxws Deprecated. Option is kept for backwards
2112 compatibility and is ignored
2113 --with-override-hotspot Deprecated. Option is kept for backwards
2114 compatibility and is ignored
2115 --with-override-nashorn Deprecated. Option is kept for backwards
2116 compatibility and is ignored
2117 --with-override-jdk Deprecated. Option is kept for backwards
2118 compatibility and is ignored
2119 --with-import_hotspot Deprecated. Option is kept for backwards
2120 compatibility and is ignored
2121 --with-import-modules import a set of prebuilt modules either as a zip
2122 file or an exploded directory
2123 --with-toolchain-type the toolchain type (or family) to use, use '--help'
2124 to show possible values [platform dependent]
2125 --with-extra-cflags extra flags to be used when compiling jdk c-files
2126 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
2127 --with-extra-ldflags extra flags to be used when linking jdk
2128 --with-toolchain-version
2129 the version of the toolchain to look for, use
2130 '--help' to show possible values [platform
2131 dependent]
2132 --with-build-devkit Devkit to use for the build platform toolchain
2133 --with-jtreg Regression Test Harness [probed]
2134 --with-jib Jib dependency management tool [not used]
2135 --with-abi-profile specify ABI profile for ARM builds
2136 (arm-vfp-sflt,arm-vfp-hflt,arm-sflt,
2137 armv5-vfp-sflt,armv6-vfp-hflt,arm64,aarch64)
2138 [toolchain dependent]
2139 --with-macosx-version-max
2140 error on use of newer functionality. [macosx]
4873
4874
4875
4876
4877
4878
4879 #%%% Build and target systems %%%
4880
4881
4882
4883
4884 # Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS.
4885 # Add -mX to various FLAGS variables.
4886
4887
4888
4889
4890
4891
4892 #
4893 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4894 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4895 #
4896 # This code is free software; you can redistribute it and/or modify it
4897 # under the terms of the GNU General Public License version 2 only, as
4898 # published by the Free Software Foundation. Oracle designates this
4899 # particular file as subject to the "Classpath" exception as provided
4900 # by Oracle in the LICENSE file that accompanied this code.
4901 #
4902 # This code is distributed in the hope that it will be useful, but WITHOUT
4903 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4904 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4905 # version 2 for more details (a copy is included in the LICENSE file that
4906 # accompanied this code).
4907 #
4908 # You should have received a copy of the GNU General Public License version
4909 # 2 along with this work; if not, write to the Free Software Foundation,
4910 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4911 #
4912 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4913 # or visit www.oracle.com if you need additional information or have any
4914 # questions.
4915 #
4916
4917
4918
4919
4920
4921
4922
4923 ################################################################################
4924 # Define a mechanism for importing extra prebuilt modules
4925 #
4926
4927
4928
4929 #
4930 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
4931 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4932 #
4933 # This code is free software; you can redistribute it and/or modify it
4934 # under the terms of the GNU General Public License version 2 only, as
4935 # published by the Free Software Foundation. Oracle designates this
4936 # particular file as subject to the "Classpath" exception as provided
4937 # by Oracle in the LICENSE file that accompanied this code.
4938 #
4939 # This code is distributed in the hope that it will be useful, but WITHOUT
4940 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4941 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4942 # version 2 for more details (a copy is included in the LICENSE file that
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159 # This line needs to be here, verbatim, after all includes and the dummy hook
5160 # definitions. It is replaced with custom functionality when building
5161 # custom sources.
5162 #CUSTOM_AUTOCONF_INCLUDE
5163
5164 # Do not change or remove the following line, it is needed for consistency checks:
5165 DATE_WHEN_GENERATED=1505235832
5166
5167 ###############################################################################
5168 #
5169 # Initialization / Boot-strapping
5170 #
5171 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5172 # thus it jumps back and forth, each time gaining something needed later on.
5173 #
5174 ###############################################################################
5175
5176 # If we are requested to print additional help, do that and then exit.
5177 # This must be the very first call.
5178
5179 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5180
5181 # Print available toolchains
5182 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5183 $PRINTF "Which are valid to use depends on the build platform.\n"
5184 for toolchain in $VALID_TOOLCHAINS_all; do
5185 # Use indirect variable referencing
31752 if test "x$BUILD_JDK_FOUND" != "xyes"; then
31753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Build JDK" >&5
31754 $as_echo_n "checking for Build JDK... " >&6; }
31755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31756 $as_echo "no" >&6; }
31757 as_fn_error $? "Could not find a suitable Build JDK" "$LINENO" 5
31758 fi
31759
31760
31761
31762
31763
31764
31765 ###############################################################################
31766 #
31767 # Configure the sources to use. We can add or override individual directories.
31768 #
31769 ###############################################################################
31770
31771
31772 # Where are the sources.
31773 LANGTOOLS_TOPDIR="$SRC_ROOT/langtools"
31774 CORBA_TOPDIR="$SRC_ROOT/corba"
31775 JAXP_TOPDIR="$SRC_ROOT/jaxp"
31776 JAXWS_TOPDIR="$SRC_ROOT/jaxws"
31777 HOTSPOT_TOPDIR="$SRC_ROOT/hotspot"
31778 NASHORN_TOPDIR="$SRC_ROOT/nashorn"
31779 JDK_TOPDIR="$SRC_ROOT/jdk"
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789 # This feature is no longer supported.
31790
31791
31792
31793 # Check whether --with-add-source-root was given.
31794 if test "${with_add_source_root+set}" = set; then :
31795 withval=$with_add_source_root; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-add-source-root is deprecated and will be ignored." >&5
31796 $as_echo "$as_me: WARNING: Option --with-add-source-root is deprecated and will be ignored." >&2;}
31797 fi
31798
31799
31800
31801
31802 # Check whether --with-override-source-root was given.
31803 if test "${with_override_source_root+set}" = set; then :
31804 withval=$with_override_source_root; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-source-root is deprecated and will be ignored." >&5
31805 $as_echo "$as_me: WARNING: Option --with-override-source-root is deprecated and will be ignored." >&2;}
31806 fi
31807
31808
31809
31810
31811 # Check whether --with-adds-and-overrides was given.
31812 if test "${with_adds_and_overrides+set}" = set; then :
31813 withval=$with_adds_and_overrides; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-adds-and-overrides is deprecated and will be ignored." >&5
31814 $as_echo "$as_me: WARNING: Option --with-adds-and-overrides is deprecated and will be ignored." >&2;}
31815 fi
31816
31817
31818
31819
31820 # Check whether --with-override-langtools was given.
31821 if test "${with_override_langtools+set}" = set; then :
31822 withval=$with_override_langtools; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-langtools is deprecated and will be ignored." >&5
31823 $as_echo "$as_me: WARNING: Option --with-override-langtools is deprecated and will be ignored." >&2;}
31824 fi
31825
31826
31827
31828
31829 # Check whether --with-override-corba was given.
31830 if test "${with_override_corba+set}" = set; then :
31831 withval=$with_override_corba; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-corba is deprecated and will be ignored." >&5
31832 $as_echo "$as_me: WARNING: Option --with-override-corba is deprecated and will be ignored." >&2;}
31833 fi
31834
31835
31836
31837
31838 # Check whether --with-override-jaxp was given.
31839 if test "${with_override_jaxp+set}" = set; then :
31840 withval=$with_override_jaxp; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-jaxp is deprecated and will be ignored." >&5
31841 $as_echo "$as_me: WARNING: Option --with-override-jaxp is deprecated and will be ignored." >&2;}
31842 fi
31843
31844
31845
31846
31847 # Check whether --with-override-jaxws was given.
31848 if test "${with_override_jaxws+set}" = set; then :
31849 withval=$with_override_jaxws; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-jaxws is deprecated and will be ignored." >&5
31850 $as_echo "$as_me: WARNING: Option --with-override-jaxws is deprecated and will be ignored." >&2;}
31851 fi
31852
31853
31854
31855
31856 # Check whether --with-override-hotspot was given.
31857 if test "${with_override_hotspot+set}" = set; then :
31858 withval=$with_override_hotspot; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-hotspot is deprecated and will be ignored." >&5
31859 $as_echo "$as_me: WARNING: Option --with-override-hotspot is deprecated and will be ignored." >&2;}
31860 fi
31861
31862
31863
31864
31865 # Check whether --with-override-nashorn was given.
31866 if test "${with_override_nashorn+set}" = set; then :
31867 withval=$with_override_nashorn; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-nashorn is deprecated and will be ignored." >&5
31868 $as_echo "$as_me: WARNING: Option --with-override-nashorn is deprecated and will be ignored." >&2;}
31869 fi
31870
31871
31872
31873
31874 # Check whether --with-override-jdk was given.
31875 if test "${with_override_jdk+set}" = set; then :
31876 withval=$with_override_jdk; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-override-jdk is deprecated and will be ignored." >&5
31877 $as_echo "$as_me: WARNING: Option --with-override-jdk is deprecated and will be ignored." >&2;}
31878 fi
31879
31880
31881
31882
31883 BUILD_OUTPUT="$OUTPUT_ROOT"
31884
31885 JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
31886
31887
31888
31889 # Check whether --with-import_hotspot was given.
31890 if test "${with_import_hotspot+set}" = set; then :
31891 withval=$with_import_hotspot; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --with-import_hotspot is deprecated and will be ignored." >&5
31892 $as_echo "$as_me: WARNING: Option --with-import_hotspot is deprecated and will be ignored." >&2;}
31893 fi
31894
31895
31896
31897
31898
31899
31900 # Check whether --with-import-modules was given.
31901 if test "${with_import_modules+set}" = set; then :
31902 withval=$with_import_modules;
31903 fi
31904
31905
31906 if test "x$with_import_modules" != x \
31907 && test "x$with_import_modules" != "xno"; then
31908 if test -d "$with_import_modules"; then
31909 IMPORT_MODULES_TOPDIR="$with_import_modules"
31910
31911 # Only process if variable expands to non-empty
31912
31913 if test "x$IMPORT_MODULES_TOPDIR" != x; then
31914 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
31915
|
854 EXTRA_CXXFLAGS
855 EXTRA_CFLAGS
856 EXE_SUFFIX
857 OBJ_SUFFIX
858 STATIC_LIBRARY
859 SHARED_LIBRARY
860 STATIC_LIBRARY_SUFFIX
861 SHARED_LIBRARY_SUFFIX
862 LIBRARY_PREFIX
863 TOOLCHAIN_TYPE
864 STATIC_BUILD
865 IMPORT_MODULES_MAKE
866 IMPORT_MODULES_SRC
867 IMPORT_MODULES_MAN
868 IMPORT_MODULES_LEGAL
869 IMPORT_MODULES_CONF
870 IMPORT_MODULES_LIBS
871 IMPORT_MODULES_CMDS
872 IMPORT_MODULES_CLASSES
873 BUILD_OUTPUT
874 EXTERNAL_BUILDJDK
875 BUILD_JDK
876 CREATE_BUILDJDK
877 JLINK
878 JMOD
879 JAVAC_FLAGS
880 BOOT_JDK_MODULAR
881 BOOT_JDK_SOURCETARGET
882 JARSIGNER
883 JAR
884 JAVAH
885 JAVAC
886 JAVA
887 BOOT_JDK
888 JAVA_CHECK
889 JAVAC_CHECK
890 VERSION_IS_GA
891 VERSION_SHORT
892 VERSION_STRING
893 VERSION_NUMBER_FOUR_POSITIONS
1139 enable_headless_only
1140 enable_full_docs
1141 with_cacerts_file
1142 enable_unlimited_crypto
1143 with_copyright_year
1144 enable_keep_packaged_modules
1145 with_milestone
1146 with_update_version
1147 with_user_release_suffix
1148 with_build_number
1149 with_version_string
1150 with_version_pre
1151 with_version_opt
1152 with_version_build
1153 with_version_major
1154 with_version_minor
1155 with_version_security
1156 with_version_patch
1157 with_boot_jdk
1158 with_build_jdk
1159 with_import_modules
1160 enable_static_build
1161 with_toolchain_type
1162 with_extra_cflags
1163 with_extra_cxxflags
1164 with_extra_ldflags
1165 with_toolchain_version
1166 with_build_devkit
1167 with_jtreg
1168 with_jib
1169 with_abi_profile
1170 with_macosx_version_max
1171 enable_warnings_as_errors
1172 with_native_debug_symbols
1173 enable_debug_symbols
1174 enable_zip_debug_info
1175 enable_native_coverage
1176 enable_dtrace
1177 enable_aot
1178 enable_cds
2059 --with-build-number Deprecated. Option is kept for backwards
2060 compatibility and is ignored
2061 --with-version-string Set version string [calculated]
2062 --with-version-pre Set the base part of the version 'PRE' field
2063 (pre-release identifier) ['internal']
2064 --with-version-opt Set version 'OPT' field (build metadata)
2065 [<timestamp>.<user>.<dirname>]
2066 --with-version-build Set version 'BUILD' field (build number) [not
2067 specified]
2068 --with-version-major Set version 'MAJOR' field (first number) [current
2069 source value]
2070 --with-version-minor Set version 'MINOR' field (second number) [current
2071 source value]
2072 --with-version-security Set version 'SECURITY' field (third number) [current
2073 source value]
2074 --with-version-patch Set version 'PATCH' field (fourth number) [not
2075 specified]
2076 --with-boot-jdk path to Boot JDK (used to bootstrap build) [probed]
2077 --with-build-jdk path to JDK of same version as is being built[the
2078 newly built JDK]
2079 --with-import-modules import a set of prebuilt modules either as a zip
2080 file or an exploded directory
2081 --with-toolchain-type the toolchain type (or family) to use, use '--help'
2082 to show possible values [platform dependent]
2083 --with-extra-cflags extra flags to be used when compiling jdk c-files
2084 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
2085 --with-extra-ldflags extra flags to be used when linking jdk
2086 --with-toolchain-version
2087 the version of the toolchain to look for, use
2088 '--help' to show possible values [platform
2089 dependent]
2090 --with-build-devkit Devkit to use for the build platform toolchain
2091 --with-jtreg Regression Test Harness [probed]
2092 --with-jib Jib dependency management tool [not used]
2093 --with-abi-profile specify ABI profile for ARM builds
2094 (arm-vfp-sflt,arm-vfp-hflt,arm-sflt,
2095 armv5-vfp-sflt,armv6-vfp-hflt,arm64,aarch64)
2096 [toolchain dependent]
2097 --with-macosx-version-max
2098 error on use of newer functionality. [macosx]
4831
4832
4833
4834
4835
4836
4837 #%%% Build and target systems %%%
4838
4839
4840
4841
4842 # Support macro for PLATFORM_SETUP_OPENJDK_TARGET_BITS.
4843 # Add -mX to various FLAGS variables.
4844
4845
4846
4847
4848
4849
4850 #
4851 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
4852 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4853 #
4854 # This code is free software; you can redistribute it and/or modify it
4855 # under the terms of the GNU General Public License version 2 only, as
4856 # published by the Free Software Foundation. Oracle designates this
4857 # particular file as subject to the "Classpath" exception as provided
4858 # by Oracle in the LICENSE file that accompanied this code.
4859 #
4860 # This code is distributed in the hope that it will be useful, but WITHOUT
4861 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4862 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4863 # version 2 for more details (a copy is included in the LICENSE file that
4864 # accompanied this code).
4865 #
4866 # You should have received a copy of the GNU General Public License version
4867 # 2 along with this work; if not, write to the Free Software Foundation,
4868 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4869 #
4870 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4871 # or visit www.oracle.com if you need additional information or have any
4872 # questions.
4873 #
4874
4875
4876
4877 ################################################################################
4878 # Define a mechanism for importing extra prebuilt modules
4879 #
4880
4881
4882
4883 #
4884 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
4885 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4886 #
4887 # This code is free software; you can redistribute it and/or modify it
4888 # under the terms of the GNU General Public License version 2 only, as
4889 # published by the Free Software Foundation. Oracle designates this
4890 # particular file as subject to the "Classpath" exception as provided
4891 # by Oracle in the LICENSE file that accompanied this code.
4892 #
4893 # This code is distributed in the hope that it will be useful, but WITHOUT
4894 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4895 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4896 # version 2 for more details (a copy is included in the LICENSE file that
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113 # This line needs to be here, verbatim, after all includes and the dummy hook
5114 # definitions. It is replaced with custom functionality when building
5115 # custom sources.
5116 #CUSTOM_AUTOCONF_INCLUDE
5117
5118 # Do not change or remove the following line, it is needed for consistency checks:
5119 DATE_WHEN_GENERATED=1506027115
5120
5121 ###############################################################################
5122 #
5123 # Initialization / Boot-strapping
5124 #
5125 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5126 # thus it jumps back and forth, each time gaining something needed later on.
5127 #
5128 ###############################################################################
5129
5130 # If we are requested to print additional help, do that and then exit.
5131 # This must be the very first call.
5132
5133 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5134
5135 # Print available toolchains
5136 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5137 $PRINTF "Which are valid to use depends on the build platform.\n"
5138 for toolchain in $VALID_TOOLCHAINS_all; do
5139 # Use indirect variable referencing
31706 if test "x$BUILD_JDK_FOUND" != "xyes"; then
31707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Build JDK" >&5
31708 $as_echo_n "checking for Build JDK... " >&6; }
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31710 $as_echo "no" >&6; }
31711 as_fn_error $? "Could not find a suitable Build JDK" "$LINENO" 5
31712 fi
31713
31714
31715
31716
31717
31718
31719 ###############################################################################
31720 #
31721 # Configure the sources to use. We can add or override individual directories.
31722 #
31723 ###############################################################################
31724
31725
31726 BUILD_OUTPUT="$OUTPUT_ROOT"
31727
31728 JDK_OUTPUTDIR="$OUTPUT_ROOT/jdk"
31729
31730 # Where are the sources.
31731
31732
31733
31734
31735 # Check whether --with-import-modules was given.
31736 if test "${with_import_modules+set}" = set; then :
31737 withval=$with_import_modules;
31738 fi
31739
31740
31741 if test "x$with_import_modules" != x \
31742 && test "x$with_import_modules" != "xno"; then
31743 if test -d "$with_import_modules"; then
31744 IMPORT_MODULES_TOPDIR="$with_import_modules"
31745
31746 # Only process if variable expands to non-empty
31747
31748 if test "x$IMPORT_MODULES_TOPDIR" != x; then
31749 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
31750
|