< prev index next >

common/autoconf/generated-configure.sh

Print this page




1135 PACKAGE_BUGREPORT
1136 PACKAGE_STRING
1137 PACKAGE_VERSION
1138 PACKAGE_TARNAME
1139 PACKAGE_NAME
1140 PATH_SEPARATOR
1141 SHELL'
1142 ac_subst_files=''
1143 ac_user_opts='
1144 enable_option_checking
1145 with_target_bits
1146 enable_openjdk_only
1147 with_custom_make_dir
1148 with_jdk_variant
1149 enable_debug
1150 with_debug_level
1151 with_jvm_variants
1152 with_devkit
1153 with_sys_root
1154 with_sysroot

1155 with_tools_dir
1156 with_toolchain_path
1157 with_extra_path
1158 with_sdk_name
1159 with_conf_name
1160 with_output_sync
1161 with_default_make_target
1162 enable_headful
1163 with_cacerts_file
1164 enable_unlimited_crypto
1165 with_copyright_year
1166 enable_keep_packaged_modules
1167 with_milestone
1168 with_update_version
1169 with_user_release_suffix
1170 with_build_number
1171 with_version_string
1172 with_version_pre
1173 with_version_opt
1174 with_version_build


2032                           [enabled]
2033   --enable-ccache         enable using ccache to speed up recompilations
2034                           [disabled]
2035 
2036 Optional Packages:
2037   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2038   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2039   --with-target-bits      build 32-bit or 64-bit binaries (for platforms that
2040                           support it), e.g. --with-target-bits=32 [guessed]
2041   --with-custom-make-dir  Deprecated. Option is kept for backwards
2042                           compatibility and is ignored
2043   --with-jdk-variant      JDK variant to build (normal) [normal]
2044   --with-debug-level      set the debug level (release, fastdebug, slowdebug,
2045                           optimized) [release]
2046   --with-jvm-variants     JVM variants (separated by commas) to build
2047                           (server,client,minimal,core,zero,zeroshark,custom)
2048                           [server]
2049   --with-devkit           use this devkit for compilers, tools and resources
2050   --with-sys-root         alias for --with-sysroot for backwards compatability
2051   --with-sysroot          use this directory as sysroot

2052   --with-tools-dir        alias for --with-toolchain-path for backwards
2053                           compatibility
2054   --with-toolchain-path   prepend these directories when searching for
2055                           toolchain binaries (compilers etc)
2056   --with-extra-path       prepend these directories to the default path
2057   --with-sdk-name         use the platform SDK of the given name. [macosx]
2058   --with-conf-name        use this as the name of the configuration [generated
2059                           from important configuration options]
2060   --with-output-sync      set make output sync type if supported by make.
2061                           [recurse]
2062   --with-default-make-target
2063                           set the default make target [exploded-image]
2064   --with-cacerts-file     specify alternative cacerts file
2065   --with-copyright-year   Set copyright year value for build [current year]
2066   --with-milestone        Deprecated. Option is kept for backwards
2067                           compatibility and is ignored
2068   --with-update-version   Deprecated. Option is kept for backwards
2069                           compatibility and is ignored
2070   --with-user-release-suffix
2071                           Deprecated. Option is kept for backwards


5091 
5092 
5093 
5094 
5095 
5096 
5097 
5098 
5099 
5100 
5101 
5102 
5103 
5104 
5105 # This line needs to be here, verbatim, after all includes and the dummy hook
5106 # definitions. It is replaced with custom functionality when building
5107 # custom sources.
5108 #CUSTOM_AUTOCONF_INCLUDE
5109 
5110 # Do not change or remove the following line, it is needed for consistency checks:
5111 DATE_WHEN_GENERATED=1471531493
5112 
5113 ###############################################################################
5114 #
5115 # Initialization / Boot-strapping
5116 #
5117 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5118 # thus it jumps back and forth, each time gaining something needed later on.
5119 #
5120 ###############################################################################
5121 
5122 # If we are requested to print additional help, do that and then exit.
5123 # This must be the very first call.
5124 
5125   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5126 
5127     # Print available toolchains
5128     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5129     $PRINTF "Which are valid to use depends on the build platform.\n"
5130     for toolchain in $VALID_TOOLCHAINS_all; do
5131       # Use indirect variable referencing


17066 
17067   # You can force the sysroot if the sysroot encoded into the compiler tools
17068   # is not correct.
17069 
17070 # Check whether --with-sys-root was given.
17071 if test "${with_sys_root+set}" = set; then :
17072   withval=$with_sys_root; SYSROOT=$with_sys_root
17073 
17074 fi
17075 
17076 
17077 
17078 # Check whether --with-sysroot was given.
17079 if test "${with_sysroot+set}" = set; then :
17080   withval=$with_sysroot; SYSROOT=$with_sysroot
17081 
17082 fi
17083 
17084 
17085 








17086 # Check whether --with-tools-dir was given.
17087 if test "${with_tools_dir+set}" = set; then :
17088   withval=$with_tools_dir;
17089   if test "x$with_tools_dir" != x; then
17090     if test "x$TOOLCHAIN_PATH" = x; then
17091       TOOLCHAIN_PATH="$with_tools_dir"
17092     else
17093       TOOLCHAIN_PATH="$with_tools_dir:$TOOLCHAIN_PATH"
17094     fi
17095   fi
17096 
17097 
17098 fi
17099 
17100 
17101 
17102 # Check whether --with-toolchain-path was given.
17103 if test "${with_toolchain_path+set}" = set; then :
17104   withval=$with_toolchain_path;
17105   if test "x$with_toolchain_path" != x; then


47293   fi
47294 
47295   if  [[  "[$]BUILD_CC_VERSION_NUMBER" =~ [0-9]{6} ]] ; then
47296     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $BUILD_CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47297 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $BUILD_CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47298   fi
47299 
47300   OPENJDK_BUILD_COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", $1, $2, $3) }' <<< "$BUILD_CC_VERSION_NUMBER"`
47301 
47302   else
47303     # If we are not cross compiling, use the normal target compilers for
47304     # building the build platform executables.
47305     BUILD_CC="$CC"
47306     BUILD_CXX="$CXX"
47307     BUILD_LD="$LD"
47308     BUILD_LDCXX="$LDCXX"
47309     BUILD_NM="$NM"
47310     BUILD_AS="$AS"
47311     BUILD_OBJCOPY="$OBJCOPY"
47312     BUILD_STRIP="$STRIP"














































47313     BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
47314     BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"

47315     BUILD_AR="$AR"
47316 
47317 
47318   if test "x$CC_VERSION_NUMBER" != "x$CXX_VERSION_NUMBER"; then
47319     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C and C++ compiler have different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&5
47320 $as_echo "$as_me: WARNING: C and C++ compiler have different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&2;}
47321     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This typically indicates a broken setup, and is not supported" >&5
47322 $as_echo "$as_me: WARNING: This typically indicates a broken setup, and is not supported" >&2;}
47323   fi
47324 
47325   # We only check CC_VERSION_NUMBER since we assume CXX_VERSION_NUMBER is equal.
47326   if  [[ "[$]CC_VERSION_NUMBER" =~ (.*\.){3} ]] ; then
47327     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47328 $as_echo "$as_me: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47329   fi
47330 
47331   if  [[  "[$]CC_VERSION_NUMBER" =~ [0-9]{6} ]] ; then
47332     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47333 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47334   fi




1135 PACKAGE_BUGREPORT
1136 PACKAGE_STRING
1137 PACKAGE_VERSION
1138 PACKAGE_TARNAME
1139 PACKAGE_NAME
1140 PATH_SEPARATOR
1141 SHELL'
1142 ac_subst_files=''
1143 ac_user_opts='
1144 enable_option_checking
1145 with_target_bits
1146 enable_openjdk_only
1147 with_custom_make_dir
1148 with_jdk_variant
1149 enable_debug
1150 with_debug_level
1151 with_jvm_variants
1152 with_devkit
1153 with_sys_root
1154 with_sysroot
1155 with_build_sysroot
1156 with_tools_dir
1157 with_toolchain_path
1158 with_extra_path
1159 with_sdk_name
1160 with_conf_name
1161 with_output_sync
1162 with_default_make_target
1163 enable_headful
1164 with_cacerts_file
1165 enable_unlimited_crypto
1166 with_copyright_year
1167 enable_keep_packaged_modules
1168 with_milestone
1169 with_update_version
1170 with_user_release_suffix
1171 with_build_number
1172 with_version_string
1173 with_version_pre
1174 with_version_opt
1175 with_version_build


2033                           [enabled]
2034   --enable-ccache         enable using ccache to speed up recompilations
2035                           [disabled]
2036 
2037 Optional Packages:
2038   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2039   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2040   --with-target-bits      build 32-bit or 64-bit binaries (for platforms that
2041                           support it), e.g. --with-target-bits=32 [guessed]
2042   --with-custom-make-dir  Deprecated. Option is kept for backwards
2043                           compatibility and is ignored
2044   --with-jdk-variant      JDK variant to build (normal) [normal]
2045   --with-debug-level      set the debug level (release, fastdebug, slowdebug,
2046                           optimized) [release]
2047   --with-jvm-variants     JVM variants (separated by commas) to build
2048                           (server,client,minimal,core,zero,zeroshark,custom)
2049                           [server]
2050   --with-devkit           use this devkit for compilers, tools and resources
2051   --with-sys-root         alias for --with-sysroot for backwards compatability
2052   --with-sysroot          use this directory as sysroot
2053   --with-build-sysroot    use this directory as build_sysroot
2054   --with-tools-dir        alias for --with-toolchain-path for backwards
2055                           compatibility
2056   --with-toolchain-path   prepend these directories when searching for
2057                           toolchain binaries (compilers etc)
2058   --with-extra-path       prepend these directories to the default path
2059   --with-sdk-name         use the platform SDK of the given name. [macosx]
2060   --with-conf-name        use this as the name of the configuration [generated
2061                           from important configuration options]
2062   --with-output-sync      set make output sync type if supported by make.
2063                           [recurse]
2064   --with-default-make-target
2065                           set the default make target [exploded-image]
2066   --with-cacerts-file     specify alternative cacerts file
2067   --with-copyright-year   Set copyright year value for build [current year]
2068   --with-milestone        Deprecated. Option is kept for backwards
2069                           compatibility and is ignored
2070   --with-update-version   Deprecated. Option is kept for backwards
2071                           compatibility and is ignored
2072   --with-user-release-suffix
2073                           Deprecated. Option is kept for backwards


5093 
5094 
5095 
5096 
5097 
5098 
5099 
5100 
5101 
5102 
5103 
5104 
5105 
5106 
5107 # This line needs to be here, verbatim, after all includes and the dummy hook
5108 # definitions. It is replaced with custom functionality when building
5109 # custom sources.
5110 #CUSTOM_AUTOCONF_INCLUDE
5111 
5112 # Do not change or remove the following line, it is needed for consistency checks:
5113 DATE_WHEN_GENERATED=1473766817
5114 
5115 ###############################################################################
5116 #
5117 # Initialization / Boot-strapping
5118 #
5119 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5120 # thus it jumps back and forth, each time gaining something needed later on.
5121 #
5122 ###############################################################################
5123 
5124 # If we are requested to print additional help, do that and then exit.
5125 # This must be the very first call.
5126 
5127   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5128 
5129     # Print available toolchains
5130     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5131     $PRINTF "Which are valid to use depends on the build platform.\n"
5132     for toolchain in $VALID_TOOLCHAINS_all; do
5133       # Use indirect variable referencing


17068 
17069   # You can force the sysroot if the sysroot encoded into the compiler tools
17070   # is not correct.
17071 
17072 # Check whether --with-sys-root was given.
17073 if test "${with_sys_root+set}" = set; then :
17074   withval=$with_sys_root; SYSROOT=$with_sys_root
17075 
17076 fi
17077 
17078 
17079 
17080 # Check whether --with-sysroot was given.
17081 if test "${with_sysroot+set}" = set; then :
17082   withval=$with_sysroot; SYSROOT=$with_sysroot
17083 
17084 fi
17085 
17086 
17087 
17088 # Check whether --with-build_sysroot was given.
17089 if test "${with_build_sysroot+set}" = set; then :
17090   withval=$with_build_sysroot; BUILD_SYSROOT=$with_build_sysroot
17091 
17092 fi
17093 
17094 
17095 
17096 # Check whether --with-tools-dir was given.
17097 if test "${with_tools_dir+set}" = set; then :
17098   withval=$with_tools_dir;
17099   if test "x$with_tools_dir" != x; then
17100     if test "x$TOOLCHAIN_PATH" = x; then
17101       TOOLCHAIN_PATH="$with_tools_dir"
17102     else
17103       TOOLCHAIN_PATH="$with_tools_dir:$TOOLCHAIN_PATH"
17104     fi
17105   fi
17106 
17107 
17108 fi
17109 
17110 
17111 
17112 # Check whether --with-toolchain-path was given.
17113 if test "${with_toolchain_path+set}" = set; then :
17114   withval=$with_toolchain_path;
17115   if test "x$with_toolchain_path" != x; then


47303   fi
47304 
47305   if  [[  "[$]BUILD_CC_VERSION_NUMBER" =~ [0-9]{6} ]] ; then
47306     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $BUILD_CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47307 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $BUILD_CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47308   fi
47309 
47310   OPENJDK_BUILD_COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", $1, $2, $3) }' <<< "$BUILD_CC_VERSION_NUMBER"`
47311 
47312   else
47313     # If we are not cross compiling, use the normal target compilers for
47314     # building the build platform executables.
47315     BUILD_CC="$CC"
47316     BUILD_CXX="$CXX"
47317     BUILD_LD="$LD"
47318     BUILD_LDCXX="$LDCXX"
47319     BUILD_NM="$NM"
47320     BUILD_AS="$AS"
47321     BUILD_OBJCOPY="$OBJCOPY"
47322     BUILD_STRIP="$STRIP"
47323     if test "x$BUILD_SYSROOT" != "x"; then
47324 
47325   if test "x$BUILD_SYSROOT" != "x"; then
47326     if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
47327       if test "x$OPENJDK_TARGET_OS" = xsolaris; then
47328         # Solaris Studio does not have a concept of sysroot. Instead we must
47329         # make sure the default include and lib dirs are appended to each
47330         # compile and link command line. Must also add -I-xbuiltin to enable
47331         # inlining of system functions and intrinsics.
47332         BUILD_SYSROOT_CFLAGS="-I-xbuiltin -I$BUILD_SYSROOT/usr/include"
47333         BUILD_SYSROOT_LDFLAGS="-L$BUILD_SYSROOT/usr/lib$OPENJDK_TARGET_CPU_ISADIR \
47334             -L$BUILD_SYSROOT/lib$OPENJDK_TARGET_CPU_ISADIR \
47335             -L$BUILD_SYSROOT/usr/ccs/lib$OPENJDK_TARGET_CPU_ISADIR"
47336       fi
47337     elif test "x$TOOLCHAIN_TYPE" = xgcc; then
47338       BUILD_SYSROOT_CFLAGS="--sysroot=$BUILD_SYSROOT"
47339       BUILD_SYSROOT_LDFLAGS="--sysroot=$BUILD_SYSROOT"
47340     elif test "x$TOOLCHAIN_TYPE" = xclang; then
47341       BUILD_SYSROOT_CFLAGS="-isysroot $BUILD_SYSROOT"
47342       BUILD_SYSROOT_LDFLAGS="-isysroot $BUILD_SYSROOT"
47343     fi
47344     # Propagate the sysroot args to hotspot
47345     BUILD_LEGACY_EXTRA_CFLAGS="$BUILD_LEGACY_EXTRA_CFLAGS $BUILD_SYSROOT_CFLAGS"
47346     BUILD_LEGACY_EXTRA_CXXFLAGS="$BUILD_LEGACY_EXTRA_CXXFLAGS $BUILD_SYSROOT_CFLAGS"
47347     BUILD_LEGACY_EXTRA_LDFLAGS="$BUILD_LEGACY_EXTRA_LDFLAGS $BUILD_SYSROOT_LDFLAGS"
47348     # The global CFLAGS and LDFLAGS variables need these for configure to function
47349     BUILD_CFLAGS="$BUILD_CFLAGS $BUILD_SYSROOT_CFLAGS"
47350     BUILD_CPPFLAGS="$BUILD_CPPFLAGS $BUILD_EXTRA_CFLAGS $BUILD_SYSROOT_CFLAGS"
47351     BUILD_CXXFLAGS="$BUILD_CXXFLAGS $BUILD_SYSROOT_CFLAGS"
47352     BUILD_LDFLAGS="$BUILD_LDFLAGS $BUILD_SYSROOT_LDFLAGS"
47353   fi
47354 
47355   if test "x$OPENJDK_BUILD_OS" = xmacosx; then
47356     # We also need -iframework<path>/System/Library/Frameworks
47357     BUILD_SYSROOT_CFLAGS="$BUILD_SYSROOT_CFLAGS -iframework $BUILD_SYSROOT/System/Library/Frameworks"
47358     BUILD_SYSROOT_LDFLAGS="$BUILD_SYSROOT_LDFLAGS -iframework $BUILD_SYSROOT/System/Library/Frameworks"
47359     # These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
47360     # set this here so it doesn't have to be peppered throughout the forest
47361     BUILD_SYSROOT_CFLAGS="$BUILD_SYSROOT_CFLAGS -F $BUILD_SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
47362     BUILD_SYSROOT_LDFLAGS="$BUILD_SYSROOT_LDFLAGS -F $BUILD_SYSROOT/System/Library/Frameworks/JavaVM.framework/Frameworks"
47363   fi
47364 
47365 
47366 
47367 
47368     else
47369       BUILD_SYSROOT_CFLAGS="$SYSROOT_CFLAGS"
47370       BUILD_SYSROOT_LDFLAGS="$SYSROOT_LDFLAGS"
47371     fi
47372     BUILD_AR="$AR"
47373 
47374 
47375   if test "x$CC_VERSION_NUMBER" != "x$CXX_VERSION_NUMBER"; then
47376     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C and C++ compiler have different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&5
47377 $as_echo "$as_me: WARNING: C and C++ compiler have different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&2;}
47378     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This typically indicates a broken setup, and is not supported" >&5
47379 $as_echo "$as_me: WARNING: This typically indicates a broken setup, and is not supported" >&2;}
47380   fi
47381 
47382   # We only check CC_VERSION_NUMBER since we assume CXX_VERSION_NUMBER is equal.
47383   if  [[ "[$]CC_VERSION_NUMBER" =~ (.*\.){3} ]] ; then
47384     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47385 $as_echo "$as_me: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47386   fi
47387 
47388   if  [[  "[$]CC_VERSION_NUMBER" =~ [0-9]{6} ]] ; then
47389     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION_NUMBER. Comparisons might be wrong." >&5
47390 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION_NUMBER. Comparisons might be wrong." >&2;}
47391   fi


< prev index next >