634 USE_PRECOMPILED_HEADER
635 BUILD_ICECC
636 ICECC
637 ICECC_WRAPPER
638 ICECC_CREATE_ENV
639 ICECC_CMD
640 ENABLE_JAVAC_SERVER
641 ENABLE_SJAVAC
642 SJAVAC_SERVER_JAVA_FLAGS
643 SJAVAC_SERVER_JAVA
644 JAVA_TOOL_FLAGS_SMALL
645 JAVA_FLAGS_SMALL
646 JAVA_FLAGS_JAVAC
647 JAVA_FLAGS_BIG
648 JAVA_FLAGS
649 TEST_JOBS
650 JOBS
651 MEMORY_SIZE
652 NUM_CORES
653 ENABLE_INTREE_EC
654 JVM_VARIANT_CORE
655 JVM_VARIANT_ZEROSHARK
656 JVM_VARIANT_ZERO
657 JVM_VARIANT_HOTSPOT
658 JVM_VARIANT_MINIMAL1
659 JVM_VARIANT_CLIENT
660 JVM_VARIANT_SERVER
661 JVM_VARIANTS_COMMA
662 TEST_IN_BUILD
663 HOTSPOT_MAKE_ARGS
664 MACOSX_UNIVERSAL
665 DEBUG_CLASSFILES
666 FASTDEBUG
667 VARIANT
668 USE_NEW_HOTSPOT_BUILD
669 LIBZIP_CAN_USE_MMAP
670 LIBDL
671 LIBM
672 USE_EXTERNAL_LCMS
673 LCMS_LIBS
674 LCMS_CFLAGS
675 USE_EXTERNAL_LIBZ
676 USE_EXTERNAL_LIBPNG
677 PNG_LIBS
678 PNG_CFLAGS
679 USE_EXTERNAL_LIBGIF
680 USE_EXTERNAL_LIBJPEG
681 LLVM_LIBS
682 LLVM_LDFLAGS
683 LLVM_CFLAGS
684 LLVM_CONFIG
685 LIBFFI_LIBS
686 LIBFFI_CFLAGS
687 ALSA_LIBS
688 ALSA_CFLAGS
1206 with_cups_include
1207 with_freetype
1208 with_freetype_include
1209 with_freetype_lib
1210 with_freetype_src
1211 enable_freetype_bundling
1212 with_alsa
1213 with_alsa_include
1214 with_alsa_lib
1215 with_libffi
1216 with_libffi_include
1217 with_libffi_lib
1218 with_libjpeg
1219 with_giflib
1220 with_libpng
1221 with_zlib
1222 with_lcms
1223 with_dxsdk
1224 with_dxsdk_lib
1225 with_dxsdk_include
1226 enable_new_hotspot_build
1227 enable_hotspot_test_in_build
1228 with_num_cores
1229 with_memory_size
1230 with_jobs
1231 with_test_jobs
1232 with_boot_jdk_jvmargs
1233 with_sjavac_server_java
1234 enable_sjavac
1235 enable_javac_server
1236 enable_icecc
1237 enable_precompiled_headers
1238 enable_ccache
1239 with_ccache_dir
1240 '
1241 ac_precious_vars='build_alias
1242 host_alias
1243 target_alias
1244 BASENAME
1245 BASH
1246 CAT
1247 CHMOD
1978 --disable-keep-packaged-modules
1979 Do not keep packaged modules in jdk image [enable]
1980 --enable-static-build enable static library build [disabled]
1981 --disable-warnings-as-errors
1982 do not consider native warnings to be an error
1983 [enabled]
1984 --enable-debug-symbols Deprecated. Option is kept for backwards
1985 compatibility and is ignored
1986 --enable-zip-debug-info Deprecated. Option is kept for backwards
1987 compatibility and is ignored
1988 --enable-native-coverage
1989 enable native compilation with code coverage
1990 data[disabled]
1991 --enable-dtrace[=yes/no/auto]
1992 enable dtrace. Default is auto, where dtrace is
1993 enabled if all dependencies are present.
1994 --disable-freetype-bundling
1995 disable bundling of the freetype library with the
1996 build result [enabled on Windows or when using
1997 --with-freetype, disabled otherwise]
1998 --disable-new-hotspot-build
1999 disable the new hotspot build system (use the old)
2000 [enabled]
2001 --enable-hotspot-test-in-build
2002 run the Queens test after Hotspot build [disabled]
2003 --enable-sjavac use sjavac to do fast incremental compiles
2004 [disabled]
2005 --disable-javac-server disable javac server [enabled]
2006 --enable-icecc enable distribted compilation of native code using
2007 icecc/icecream [disabled]
2008 --disable-precompiled-headers
2009 disable using precompiled headers when compiling C++
2010 [enabled]
2011 --enable-ccache enable using ccache to speed up recompilations
2012 [disabled]
2013
2014 Optional Packages:
2015 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2016 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2017 --with-target-bits build 32-bit or 64-bit binaries (for platforms that
2018 support it), e.g. --with-target-bits=32 [guessed]
2019 --with-custom-make-dir Deprecated. Option is kept for backwards
2020 compatibility and is ignored
2021 --with-jdk-variant JDK variant to build (normal) [normal]
2022 --with-debug-level set the debug level (release, fastdebug, slowdebug,
4275 # zeroshark: C++ based interpreter, and a llvm-based compiler
4276 # custom: baseline JVM with no default features
4277 #
4278
4279
4280 ###############################################################################
4281 # Check if dtrace should be enabled and has all prerequisites present.
4282 #
4283
4284
4285 ###############################################################################
4286 # Set up all JVM features for each JVM variant.
4287 #
4288
4289
4290 ###############################################################################
4291 # Validate JVM features once all setup is complete, including custom setup.
4292 #
4293
4294
4295 ###############################################################################
4296 # Support for old hotspot build. Remove once new hotspot build has proven
4297 # to work satisfactory.
4298 #
4299
4300
4301 #
4302 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4303 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4304 #
4305 # This code is free software; you can redistribute it and/or modify it
4306 # under the terms of the GNU General Public License version 2 only, as
4307 # published by the Free Software Foundation. Oracle designates this
4308 # particular file as subject to the "Classpath" exception as provided
4309 # by Oracle in the LICENSE file that accompanied this code.
4310 #
4311 # This code is distributed in the hope that it will be useful, but WITHOUT
4312 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4313 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4314 # version 2 for more details (a copy is included in the LICENSE file that
4315 # accompanied this code).
4316 #
4317 # You should have received a copy of the GNU General Public License version
4318 # 2 along with this work; if not, write to the Free Software Foundation,
4319 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4320 #
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053 # This line needs to be here, verbatim, after all includes and the dummy hook
5054 # definitions. It is replaced with custom functionality when building
5055 # custom sources.
5056 #CUSTOM_AUTOCONF_INCLUDE
5057
5058 # Do not change or remove the following line, it is needed for consistency checks:
5059 DATE_WHEN_GENERATED=1461064700
5060
5061 ###############################################################################
5062 #
5063 # Initialization / Boot-strapping
5064 #
5065 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5066 # thus it jumps back and forth, each time gaining something needed later on.
5067 #
5068 ###############################################################################
5069
5070 # If we are requested to print additional help, do that and then exit.
5071 # This must be the very first call.
5072
5073 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5074
5075 # Print available toolchains
5076 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5077 $PRINTF "Which are valid to use depends on the build platform.\n"
5078 for toolchain in $VALID_TOOLCHAINS_all; do
5079 # Use indirect variable referencing
16984 OUTPUT_ROOT="`cd "$dir"; $THEPWDCMD -L`/$base"
16985 fi
16986 fi
16987 fi
16988
16989
16990 CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
16991 $MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
16992
16993 SPEC=$OUTPUT_ROOT/spec.gmk
16994
16995 CONF_NAME=$CONF_NAME
16996
16997 OUTPUT_ROOT=$OUTPUT_ROOT
16998
16999
17000
17001 # The spec.gmk file contains all variables for the make system.
17002 ac_config_files="$ac_config_files $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in"
17003
17004 # The hotspot-spec.gmk file contains legacy variables for the hotspot make system.
17005 ac_config_files="$ac_config_files $OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in"
17006
17007 # The bootcycle-spec.gmk file contains support for boot cycle builds.
17008 ac_config_files="$ac_config_files $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in"
17009
17010 # The buildjdk-spec.gmk file contains support for building a buildjdk when cross compiling.
17011 ac_config_files="$ac_config_files $OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in"
17012
17013 # The compare.sh is used to compare the build output to other builds.
17014 ac_config_files="$ac_config_files $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in"
17015
17016 # The generated Makefile knows where the spec.gmk is and where the source is.
17017 # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
17018 # which will look for generated configurations
17019 ac_config_files="$ac_config_files $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in"
17020
17021
17022
17023 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY.
17024
17025 for ac_prog in apt-get yum port pkgutil pkgadd
17026 do
63715
63716
63717
63718
63719
63720
63721
63722
63723
63724
63725
63726
63727
63728 ###############################################################################
63729 #
63730 # We need to do some final tweaking, when everything else is done.
63731 #
63732 ###############################################################################
63733
63734
63735 # Check whether --enable-new-hotspot-build was given.
63736 if test "${enable_new_hotspot_build+set}" = set; then :
63737 enableval=$enable_new_hotspot_build;
63738 fi
63739
63740
63741 if test "x$enable_new_hotspot_build" = "x" || test "x$enable_new_hotspot_build" = "xyes"; then
63742 USE_NEW_HOTSPOT_BUILD=true
63743 else
63744 USE_NEW_HOTSPOT_BUILD=false
63745 fi
63746
63747
63748 case $HOTSPOT_DEBUG_LEVEL in
63749 product )
63750 VARIANT="OPT"
63751 FASTDEBUG="false"
63752 DEBUG_CLASSFILES="false"
63753 ;;
63754 fastdebug )
63755 VARIANT="DBG"
63756 FASTDEBUG="true"
63757 DEBUG_CLASSFILES="true"
63758 ;;
63759 debug )
63760 VARIANT="DBG"
63761 FASTDEBUG="false"
63762 DEBUG_CLASSFILES="true"
63763 ;;
63764 optimized )
63765 VARIANT="OPT"
63766 FASTDEBUG="false"
63767 DEBUG_CLASSFILES="false"
63768 ;;
63769 esac
63770
63771
63772
63773
63774 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
63775 MACOSX_UNIVERSAL="true"
63776 fi
63777
63778
63779
63780 # Make sure JVM_VARIANTS_COMMA use minimal1 for backwards compatibility
63781 JVM_VARIANTS_COMMA=`$ECHO ,$JVM_VARIANTS_OPT, | $SED -e 's/,minimal,/,minimal1,/'`
63782
63783 JVM_VARIANT_SERVER=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,server,/!s/.*/false/g' -e '/,server,/s/.*/true/g'`
63784 JVM_VARIANT_CLIENT=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,client,/!s/.*/false/g' -e '/,client,/s/.*/true/g'`
63785 JVM_VARIANT_MINIMAL1=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,minimal1\?,/!s/.*/false/g' -e '/,minimal1\?,/s/.*/true/g'`
63786 JVM_VARIANT_CORE=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,core,/!s/.*/false/g' -e '/,core,/s/.*/true/g'`
63787 JVM_VARIANT_ZERO=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,zero,/!s/.*/false/g' -e '/,zero,/s/.*/true/g'`
63788 JVM_VARIANT_ZEROSHARK=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,zeroshark,/!s/.*/false/g' -e '/,zeroshark,/s/.*/true/g'`
63789 JVM_VARIANT_CUSTOM=`$ECHO "$JVM_VARIANTS_COMMA" | $SED -e '/,custom,/!s/.*/false/g' -e '/,custom,/s/.*/true/g'`
63790
63791 #####
63792 # Generate the legacy makefile targets for hotspot.
63793 HOTSPOT_TARGET=""
63794
63795 if test "x$JVM_VARIANT_SERVER" = xtrue; then
63796 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL} "
63797 fi
63798
63799 if test "x$JVM_VARIANT_CLIENT" = xtrue; then
63800 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}1 "
63801 fi
63802
63803 if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
63804 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}minimal1 "
63805 fi
63806
63807 if test "x$JVM_VARIANT_ZERO" = xtrue; then
63808 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}zero "
63809 fi
63810
63811 if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
63812 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}shark "
63813 fi
63814
63815 if test "x$JVM_VARIANT_CORE" = xtrue; then
63816 HOTSPOT_TARGET="$HOTSPOT_TARGET${HOTSPOT_DEBUG_LEVEL}core "
63817 fi
63818
63819 HOTSPOT_TARGET="$HOTSPOT_TARGET docs export_$HOTSPOT_DEBUG_LEVEL"
63820
63821 # On Macosx universal binaries are produced, but they only contain
63822 # 64 bit intel. This invalidates control of which jvms are built
63823 # from configure, but only server is valid anyway. Fix this
63824 # when hotspot makefiles are rewritten.
63825 if test "x$MACOSX_UNIVERSAL" = xtrue; then
63826 HOTSPOT_TARGET=universal_${HOTSPOT_DEBUG_LEVEL}
63827 fi
63828
63829 HOTSPOT_MAKE_ARGS="$HOTSPOT_TARGET"
63830
63831
63832 # Control wether Hotspot runs Queens test after build.
63833 # Check whether --enable-hotspot-test-in-build was given.
63834 if test "${enable_hotspot_test_in_build+set}" = set; then :
63835 enableval=$enable_hotspot_test_in_build;
63836 else
63837 enable_hotspot_test_in_build=no
63838 fi
63839
63840 if test "x$enable_hotspot_test_in_build" = "xyes"; then
63841 TEST_IN_BUILD=true
63842 else
63843 TEST_IN_BUILD=false
63844 fi
63845
63846
63847 if test "x$USE_NEW_HOTSPOT_BUILD" = xfalse; then
63848 if test "x$JVM_VARIANT_CLIENT" = xtrue; then
63849 if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
63850 as_fn_error $? "You cannot build a client JVM for a 64-bit machine." "$LINENO" 5
63851 fi
63852 fi
63853 if test "x$JVM_VARIANT_MINIMAL1" = xtrue; then
63854 if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
63855 as_fn_error $? "You cannot build a minimal JVM for a 64-bit machine." "$LINENO" 5
63856 fi
63857 fi
63858 if test "x$JVM_VARIANT_CUSTOM" = xtrue; then
63859 as_fn_error $? "You cannot build a custom JVM using the old hotspot build system." "$LINENO" 5
63860 fi
63861 fi
63862
63863
63864
63865
63866
63867
63868
63869
63870
63871
63872
63873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if elliptic curve crypto implementation is present" >&5
63874 $as_echo_n "checking if elliptic curve crypto implementation is present... " >&6; }
63875
63876 if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then
63877 ENABLE_INTREE_EC=yes
63878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
63879 $as_echo "yes" >&6; }
63880 else
63881 ENABLE_INTREE_EC=no
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63883 $as_echo "no" >&6; }
63884 fi
63885
63886
63887
63888
63889 ###############################################################################
63890 #
63891 # Configure parts of the build that only affect the build performance,
63892 # not the result.
66266 exec 5>>config.log
66267 {
66268 echo
66269 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66270 ## Running $as_me. ##
66271 _ASBOX
66272 $as_echo "$ac_log"
66273 } >&5
66274
66275 _ACEOF
66276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66277 _ACEOF
66278
66279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66280
66281 # Handling of arguments.
66282 for ac_config_target in $ac_config_targets
66283 do
66284 case $ac_config_target in
66285 "$OUTPUT_ROOT/spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in" ;;
66286 "$OUTPUT_ROOT/hotspot-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in" ;;
66287 "$OUTPUT_ROOT/bootcycle-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in" ;;
66288 "$OUTPUT_ROOT/buildjdk-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in" ;;
66289 "$OUTPUT_ROOT/compare.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in" ;;
66290 "$OUTPUT_ROOT/Makefile") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in" ;;
66291
66292 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66293 esac
66294 done
66295
66296
66297 # If the user did not use the arguments to specify the items to instantiate,
66298 # then the envvar interface is used. Set only those that are not.
66299 # We use the long form for the default assignment because of an extremely
66300 # bizarre bug on SunOS 4.1.3.
66301 if $ac_need_defaults; then
66302 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66303 fi
66304
66305 # Have a temporary directory for convenience. Make it in the build tree
66306 # simply because there is no reason against having it here, and in addition,
|
634 USE_PRECOMPILED_HEADER
635 BUILD_ICECC
636 ICECC
637 ICECC_WRAPPER
638 ICECC_CREATE_ENV
639 ICECC_CMD
640 ENABLE_JAVAC_SERVER
641 ENABLE_SJAVAC
642 SJAVAC_SERVER_JAVA_FLAGS
643 SJAVAC_SERVER_JAVA
644 JAVA_TOOL_FLAGS_SMALL
645 JAVA_FLAGS_SMALL
646 JAVA_FLAGS_JAVAC
647 JAVA_FLAGS_BIG
648 JAVA_FLAGS
649 TEST_JOBS
650 JOBS
651 MEMORY_SIZE
652 NUM_CORES
653 ENABLE_INTREE_EC
654 LIBZIP_CAN_USE_MMAP
655 LIBDL
656 LIBM
657 USE_EXTERNAL_LCMS
658 LCMS_LIBS
659 LCMS_CFLAGS
660 USE_EXTERNAL_LIBZ
661 USE_EXTERNAL_LIBPNG
662 PNG_LIBS
663 PNG_CFLAGS
664 USE_EXTERNAL_LIBGIF
665 USE_EXTERNAL_LIBJPEG
666 LLVM_LIBS
667 LLVM_LDFLAGS
668 LLVM_CFLAGS
669 LLVM_CONFIG
670 LIBFFI_LIBS
671 LIBFFI_CFLAGS
672 ALSA_LIBS
673 ALSA_CFLAGS
1191 with_cups_include
1192 with_freetype
1193 with_freetype_include
1194 with_freetype_lib
1195 with_freetype_src
1196 enable_freetype_bundling
1197 with_alsa
1198 with_alsa_include
1199 with_alsa_lib
1200 with_libffi
1201 with_libffi_include
1202 with_libffi_lib
1203 with_libjpeg
1204 with_giflib
1205 with_libpng
1206 with_zlib
1207 with_lcms
1208 with_dxsdk
1209 with_dxsdk_lib
1210 with_dxsdk_include
1211 with_num_cores
1212 with_memory_size
1213 with_jobs
1214 with_test_jobs
1215 with_boot_jdk_jvmargs
1216 with_sjavac_server_java
1217 enable_sjavac
1218 enable_javac_server
1219 enable_icecc
1220 enable_precompiled_headers
1221 enable_ccache
1222 with_ccache_dir
1223 '
1224 ac_precious_vars='build_alias
1225 host_alias
1226 target_alias
1227 BASENAME
1228 BASH
1229 CAT
1230 CHMOD
1961 --disable-keep-packaged-modules
1962 Do not keep packaged modules in jdk image [enable]
1963 --enable-static-build enable static library build [disabled]
1964 --disable-warnings-as-errors
1965 do not consider native warnings to be an error
1966 [enabled]
1967 --enable-debug-symbols Deprecated. Option is kept for backwards
1968 compatibility and is ignored
1969 --enable-zip-debug-info Deprecated. Option is kept for backwards
1970 compatibility and is ignored
1971 --enable-native-coverage
1972 enable native compilation with code coverage
1973 data[disabled]
1974 --enable-dtrace[=yes/no/auto]
1975 enable dtrace. Default is auto, where dtrace is
1976 enabled if all dependencies are present.
1977 --disable-freetype-bundling
1978 disable bundling of the freetype library with the
1979 build result [enabled on Windows or when using
1980 --with-freetype, disabled otherwise]
1981 --enable-sjavac use sjavac to do fast incremental compiles
1982 [disabled]
1983 --disable-javac-server disable javac server [enabled]
1984 --enable-icecc enable distribted compilation of native code using
1985 icecc/icecream [disabled]
1986 --disable-precompiled-headers
1987 disable using precompiled headers when compiling C++
1988 [enabled]
1989 --enable-ccache enable using ccache to speed up recompilations
1990 [disabled]
1991
1992 Optional Packages:
1993 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1994 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1995 --with-target-bits build 32-bit or 64-bit binaries (for platforms that
1996 support it), e.g. --with-target-bits=32 [guessed]
1997 --with-custom-make-dir Deprecated. Option is kept for backwards
1998 compatibility and is ignored
1999 --with-jdk-variant JDK variant to build (normal) [normal]
2000 --with-debug-level set the debug level (release, fastdebug, slowdebug,
4253 # zeroshark: C++ based interpreter, and a llvm-based compiler
4254 # custom: baseline JVM with no default features
4255 #
4256
4257
4258 ###############################################################################
4259 # Check if dtrace should be enabled and has all prerequisites present.
4260 #
4261
4262
4263 ###############################################################################
4264 # Set up all JVM features for each JVM variant.
4265 #
4266
4267
4268 ###############################################################################
4269 # Validate JVM features once all setup is complete, including custom setup.
4270 #
4271
4272
4273 #
4274 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
4275 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4276 #
4277 # This code is free software; you can redistribute it and/or modify it
4278 # under the terms of the GNU General Public License version 2 only, as
4279 # published by the Free Software Foundation. Oracle designates this
4280 # particular file as subject to the "Classpath" exception as provided
4281 # by Oracle in the LICENSE file that accompanied this code.
4282 #
4283 # This code is distributed in the hope that it will be useful, but WITHOUT
4284 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4285 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4286 # version 2 for more details (a copy is included in the LICENSE file that
4287 # accompanied this code).
4288 #
4289 # You should have received a copy of the GNU General Public License version
4290 # 2 along with this work; if not, write to the Free Software Foundation,
4291 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4292 #
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025 # This line needs to be here, verbatim, after all includes and the dummy hook
5026 # definitions. It is replaced with custom functionality when building
5027 # custom sources.
5028 #CUSTOM_AUTOCONF_INCLUDE
5029
5030 # Do not change or remove the following line, it is needed for consistency checks:
5031 DATE_WHEN_GENERATED=1461157070
5032
5033 ###############################################################################
5034 #
5035 # Initialization / Boot-strapping
5036 #
5037 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5038 # thus it jumps back and forth, each time gaining something needed later on.
5039 #
5040 ###############################################################################
5041
5042 # If we are requested to print additional help, do that and then exit.
5043 # This must be the very first call.
5044
5045 if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5046
5047 # Print available toolchains
5048 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5049 $PRINTF "Which are valid to use depends on the build platform.\n"
5050 for toolchain in $VALID_TOOLCHAINS_all; do
5051 # Use indirect variable referencing
16956 OUTPUT_ROOT="`cd "$dir"; $THEPWDCMD -L`/$base"
16957 fi
16958 fi
16959 fi
16960
16961
16962 CONFIGURESUPPORT_OUTPUTDIR="$OUTPUT_ROOT/configure-support"
16963 $MKDIR -p "$CONFIGURESUPPORT_OUTPUTDIR"
16964
16965 SPEC=$OUTPUT_ROOT/spec.gmk
16966
16967 CONF_NAME=$CONF_NAME
16968
16969 OUTPUT_ROOT=$OUTPUT_ROOT
16970
16971
16972
16973 # The spec.gmk file contains all variables for the make system.
16974 ac_config_files="$ac_config_files $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in"
16975
16976 # The bootcycle-spec.gmk file contains support for boot cycle builds.
16977 ac_config_files="$ac_config_files $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in"
16978
16979 # The buildjdk-spec.gmk file contains support for building a buildjdk when cross compiling.
16980 ac_config_files="$ac_config_files $OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in"
16981
16982 # The compare.sh is used to compare the build output to other builds.
16983 ac_config_files="$ac_config_files $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in"
16984
16985 # The generated Makefile knows where the spec.gmk is and where the source is.
16986 # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
16987 # which will look for generated configurations
16988 ac_config_files="$ac_config_files $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in"
16989
16990
16991
16992 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY.
16993
16994 for ac_prog in apt-get yum port pkgutil pkgadd
16995 do
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693
63694
63695
63696
63697 ###############################################################################
63698 #
63699 # We need to do some final tweaking, when everything else is done.
63700 #
63701 ###############################################################################
63702
63703
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if elliptic curve crypto implementation is present" >&5
63705 $as_echo_n "checking if elliptic curve crypto implementation is present... " >&6; }
63706
63707 if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then
63708 ENABLE_INTREE_EC=yes
63709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
63710 $as_echo "yes" >&6; }
63711 else
63712 ENABLE_INTREE_EC=no
63713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
63714 $as_echo "no" >&6; }
63715 fi
63716
63717
63718
63719
63720 ###############################################################################
63721 #
63722 # Configure parts of the build that only affect the build performance,
63723 # not the result.
66097 exec 5>>config.log
66098 {
66099 echo
66100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66101 ## Running $as_me. ##
66102 _ASBOX
66103 $as_echo "$ac_log"
66104 } >&5
66105
66106 _ACEOF
66107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66108 _ACEOF
66109
66110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66111
66112 # Handling of arguments.
66113 for ac_config_target in $ac_config_targets
66114 do
66115 case $ac_config_target in
66116 "$OUTPUT_ROOT/spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in" ;;
66117 "$OUTPUT_ROOT/bootcycle-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in" ;;
66118 "$OUTPUT_ROOT/buildjdk-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/buildjdk-spec.gmk:$AUTOCONF_DIR/buildjdk-spec.gmk.in" ;;
66119 "$OUTPUT_ROOT/compare.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in" ;;
66120 "$OUTPUT_ROOT/Makefile") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in" ;;
66121
66122 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66123 esac
66124 done
66125
66126
66127 # If the user did not use the arguments to specify the items to instantiate,
66128 # then the envvar interface is used. Set only those that are not.
66129 # We use the long form for the default assignment because of an extremely
66130 # bizarre bug on SunOS 4.1.3.
66131 if $ac_need_defaults; then
66132 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66133 fi
66134
66135 # Have a temporary directory for convenience. Make it in the build tree
66136 # simply because there is no reason against having it here, and in addition,
|