< prev index next >

make/autoconf/generated-configure.sh

Print this page




 687 ALSA_LIBS
 688 ALSA_CFLAGS
 689 FREETYPE_LICENSE
 690 FREETYPE_BUNDLE_LIB_PATH
 691 FREETYPE_LIBS
 692 FREETYPE_CFLAGS
 693 CUPS_CFLAGS
 694 X_EXTRA_LIBS
 695 X_LIBS
 696 X_PRE_LIBS
 697 X_CFLAGS
 698 XMKMF
 699 MSVCP_DLL
 700 MSVCR_DLL
 701 LIBCXX
 702 FIXPATH_DETACH_FLAG
 703 FIXPATH
 704 BUILD_GTEST
 705 ENABLE_CDS
 706 ENABLE_AOT

 707 GCOV_ENABLED
 708 ZIP_EXTERNAL_DEBUG_SYMBOLS
 709 COPY_DEBUG_SYMBOLS
 710 COMPILE_WITH_DEBUG_SYMBOLS
 711 CFLAGS_WARNINGS_ARE_ERRORS
 712 BUILD_CC_DISABLE_WARNING_PREFIX
 713 DISABLE_WARNING_PREFIX
 714 WARNINGS_AS_ERRORS
 715 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 716 LDFLAGS_TESTEXE
 717 LDFLAGS_TESTLIB
 718 CXXFLAGS_TESTEXE
 719 CXXFLAGS_TESTLIB
 720 CFLAGS_TESTEXE
 721 CFLAGS_TESTLIB
 722 OPENJDK_BUILD_JVM_LIBS
 723 OPENJDK_BUILD_JVM_ASFLAGS
 724 OPENJDK_BUILD_JVM_LDFLAGS
 725 OPENJDK_BUILD_JVM_CFLAGS
 726 OPENJDK_BUILD_LDFLAGS_NO_EXEC_STACK


 941 UNZIP
 942 TAR_SUPPORTS_TRANSFORM
 943 TAR_INCLUDE_PARAM
 944 TAR_CREATE_EXTRA_PARAM
 945 TAR_TYPE
 946 FIND_DELETE
 947 OUTPUT_SYNC
 948 OUTPUT_SYNC_SUPPORTED
 949 CHECK_TOOLSDIR_MAKE
 950 CHECK_TOOLSDIR_GMAKE
 951 CHECK_MAKE
 952 CHECK_GMAKE
 953 MAKE
 954 PKGHANDLER
 955 CONFIGURESUPPORT_OUTPUTDIR
 956 OUTPUTDIR
 957 CONF_NAME
 958 SPEC
 959 SDKROOT
 960 XCODEBUILD

 961 JVM_VARIANT_MAIN
 962 VALID_JVM_VARIANTS
 963 JVM_VARIANTS
 964 DEBUG_LEVEL
 965 HOTSPOT_DEBUG_LEVEL
 966 JDK_VARIANT
 967 USERNAME
 968 TOPDIR
 969 PATH_SEP
 970 HOTSPOT_BUILD_CPU_DEFINE
 971 HOTSPOT_BUILD_CPU_ARCH
 972 HOTSPOT_BUILD_CPU
 973 HOTSPOT_BUILD_OS_TYPE
 974 HOTSPOT_BUILD_OS
 975 OPENJDK_BUILD_BUNDLE_PLATFORM
 976 OPENJDK_BUILD_OS_EXPORT_DIR
 977 OPENJDK_BUILD_CPU_OSARCH
 978 OPENJDK_BUILD_CPU_ISADIR
 979 OPENJDK_BUILD_CPU_LEGACY_LIB
 980 OPENJDK_BUILD_CPU_LEGACY


1154 with_version_patch
1155 with_boot_jdk
1156 with_build_jdk
1157 with_import_modules
1158 enable_static_build
1159 with_toolchain_type
1160 with_extra_cflags
1161 with_extra_cxxflags
1162 with_extra_ldflags
1163 with_toolchain_version
1164 with_build_devkit
1165 with_jtreg
1166 with_jib
1167 with_abi_profile
1168 with_macosx_version_max
1169 enable_warnings_as_errors
1170 with_native_debug_symbols
1171 enable_debug_symbols
1172 enable_zip_debug_info
1173 enable_native_coverage

1174 enable_dtrace
1175 enable_aot
1176 enable_cds
1177 enable_hotspot_gtest
1178 with_stdc__lib
1179 with_msvcr_dll
1180 with_msvcp_dll
1181 with_x
1182 with_cups
1183 with_cups_include
1184 with_freetype
1185 with_freetype_include
1186 with_freetype_lib
1187 with_freetype_src
1188 enable_freetype_bundling
1189 with_freetype_license
1190 with_alsa
1191 with_alsa_include
1192 with_alsa_lib
1193 with_libffi


1959   --enable-debug          set the debug level to fastdebug (shorthand for
1960                           --with-debug-level=fastdebug) [disabled]
1961   --enable-headless-only  only build headless (no GUI) support [disabled]
1962   --enable-full-docs      build complete documentation [enabled if all tools
1963                           found]
1964   --disable-unlimited-crypto
1965                           Disable unlimited crypto policy [enabled]
1966   --disable-keep-packaged-modules
1967                           Do not keep packaged modules in jdk image [enable]
1968   --enable-static-build   enable static library build [disabled]
1969   --disable-warnings-as-errors
1970                           do not consider native warnings to be an error
1971                           [enabled]
1972   --enable-debug-symbols  Deprecated. Option is kept for backwards
1973                           compatibility and is ignored
1974   --enable-zip-debug-info Deprecated. Option is kept for backwards
1975                           compatibility and is ignored
1976   --enable-native-coverage
1977                           enable native compilation with code coverage
1978                           data[disabled]

1979   --enable-dtrace[=yes/no/auto]
1980                           enable dtrace. Default is auto, where dtrace is
1981                           enabled if all dependencies are present.
1982   --enable-aot[=yes/no/auto]
1983                           enable ahead of time compilation feature. Default is
1984                           auto, where aot is enabled if all dependencies are
1985                           present.
1986   --enable-cds[=yes/no]   enable class data sharing feature in non-minimal VM.
1987                           Default is yes.
1988   --disable-hotspot-gtest Disables building of the Hotspot unit tests
1989   --disable-freetype-bundling
1990                           disable bundling of the freetype library with the
1991                           build result [enabled on Windows or when using
1992                           --with-freetype, disabled otherwise]
1993   --enable-libffi-bundling
1994                           enable bundling of libffi.so to make the built JDK
1995                           runnable on more systems
1996   --enable-jtreg-failure-handler
1997                           forces build of the jtreg failure handler to be
1998                           enabled, missing dependencies become fatal errors.


4386 # Should we build only OpenJDK even if closed sources are present?
4387 #
4388 
4389 
4390 
4391 
4392 ###############################################################################
4393 #
4394 # Enable or disable the elliptic curve crypto implementation
4395 #
4396 
4397 
4398 
4399 
4400 ################################################################################
4401 #
4402 # Gcov coverage data for hotspot
4403 #
4404 
4405 






4406 ################################################################################
4407 #
4408 # Static build support.  When enabled will generate static
4409 # libraries instead of shared libraries for all JDK libs.
4410 #
4411 
4412 
4413 ################################################################################
4414 #
4415 # jlink options.
4416 # We always keep packaged modules in JDK image.
4417 #
4418 
4419 
4420 ################################################################################
4421 #
4422 # Check if building of the jtreg failure handler should be enabled.
4423 #
4424 
4425 


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


17256 
17257   if test "x$DEVKIT_TOOLCHAIN_PATH" != x; then
17258     if test "x$TOOLCHAIN_PATH" = x; then
17259       TOOLCHAIN_PATH="$DEVKIT_TOOLCHAIN_PATH"
17260     else
17261       TOOLCHAIN_PATH="$DEVKIT_TOOLCHAIN_PATH:$TOOLCHAIN_PATH"
17262     fi
17263   fi
17264 
17265 
17266         # If DEVKIT_SYSROOT is set, use that, otherwise try a couple of known
17267         # places for backwards compatiblity.
17268         if test "x$DEVKIT_SYSROOT" != x; then
17269           SYSROOT="$DEVKIT_SYSROOT"
17270         elif test -d "$DEVKIT_ROOT/$host_alias/libc"; then
17271           SYSROOT="$DEVKIT_ROOT/$host_alias/libc"
17272         elif test -d "$DEVKIT_ROOT/$host/sys-root"; then
17273           SYSROOT="$DEVKIT_ROOT/$host/sys-root"
17274         fi
17275 








17276 
17277 fi
17278 
17279 
17280   # You can force the sysroot if the sysroot encoded into the compiler tools
17281   # is not correct.
17282 
17283 # Check whether --with-sys-root was given.
17284 if test "${with_sys_root+set}" = set; then :
17285   withval=$with_sys_root; SYSROOT=$with_sys_root
17286 
17287 fi
17288 
17289 
17290 
17291 # Check whether --with-sysroot was given.
17292 if test "${with_sysroot+set}" = set; then :
17293   withval=$with_sysroot; SYSROOT=$with_sysroot
17294 
17295 fi


54147       GCOV_LDFLAGS="-fprofile-arcs"
54148       JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS"
54149       JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS"
54150       CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
54151       CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
54152       CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
54153       CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
54154       LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
54155       LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
54156       GCOV_ENABLED="true"
54157     else
54158       as_fn_error $? "--enable-native-coverage only works with toolchain type gcc" "$LINENO" 5
54159     fi
54160   elif test "x$enable_native_coverage" = "xno"; then
54161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if native coverage is enabled" >&5
54162 $as_echo_n "checking if native coverage is enabled... " >&6; }
54163     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54164 $as_echo "no" >&6; }
54165   elif test "x$enable_native_coverage" != "x"; then
54166     as_fn_error $? "--enable-native-coverage can only be assigned \"yes\" or \"no\"" "$LINENO" 5











































54167   fi
54168 
54169 
54170 
54171 
54172 # Need toolchain to setup dtrace
54173 
54174   # Test for dtrace dependencies
54175   # Check whether --enable-dtrace was given.
54176 if test "${enable_dtrace+set}" = set; then :
54177   enableval=$enable_dtrace;
54178 fi
54179 
54180 
54181   DTRACE_DEP_MISSING=false
54182 
54183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dtrace tool" >&5
54184 $as_echo_n "checking for dtrace tool... " >&6; }
54185   if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
54186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5




 687 ALSA_LIBS
 688 ALSA_CFLAGS
 689 FREETYPE_LICENSE
 690 FREETYPE_BUNDLE_LIB_PATH
 691 FREETYPE_LIBS
 692 FREETYPE_CFLAGS
 693 CUPS_CFLAGS
 694 X_EXTRA_LIBS
 695 X_LIBS
 696 X_PRE_LIBS
 697 X_CFLAGS
 698 XMKMF
 699 MSVCP_DLL
 700 MSVCR_DLL
 701 LIBCXX
 702 FIXPATH_DETACH_FLAG
 703 FIXPATH
 704 BUILD_GTEST
 705 ENABLE_CDS
 706 ENABLE_AOT
 707 ASAN_ENABLED
 708 GCOV_ENABLED
 709 ZIP_EXTERNAL_DEBUG_SYMBOLS
 710 COPY_DEBUG_SYMBOLS
 711 COMPILE_WITH_DEBUG_SYMBOLS
 712 CFLAGS_WARNINGS_ARE_ERRORS
 713 BUILD_CC_DISABLE_WARNING_PREFIX
 714 DISABLE_WARNING_PREFIX
 715 WARNINGS_AS_ERRORS
 716 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 717 LDFLAGS_TESTEXE
 718 LDFLAGS_TESTLIB
 719 CXXFLAGS_TESTEXE
 720 CXXFLAGS_TESTLIB
 721 CFLAGS_TESTEXE
 722 CFLAGS_TESTLIB
 723 OPENJDK_BUILD_JVM_LIBS
 724 OPENJDK_BUILD_JVM_ASFLAGS
 725 OPENJDK_BUILD_JVM_LDFLAGS
 726 OPENJDK_BUILD_JVM_CFLAGS
 727 OPENJDK_BUILD_LDFLAGS_NO_EXEC_STACK


 942 UNZIP
 943 TAR_SUPPORTS_TRANSFORM
 944 TAR_INCLUDE_PARAM
 945 TAR_CREATE_EXTRA_PARAM
 946 TAR_TYPE
 947 FIND_DELETE
 948 OUTPUT_SYNC
 949 OUTPUT_SYNC_SUPPORTED
 950 CHECK_TOOLSDIR_MAKE
 951 CHECK_TOOLSDIR_GMAKE
 952 CHECK_MAKE
 953 CHECK_GMAKE
 954 MAKE
 955 PKGHANDLER
 956 CONFIGURESUPPORT_OUTPUTDIR
 957 OUTPUTDIR
 958 CONF_NAME
 959 SPEC
 960 SDKROOT
 961 XCODEBUILD
 962 DEVKIT_LIB_DIR
 963 JVM_VARIANT_MAIN
 964 VALID_JVM_VARIANTS
 965 JVM_VARIANTS
 966 DEBUG_LEVEL
 967 HOTSPOT_DEBUG_LEVEL
 968 JDK_VARIANT
 969 USERNAME
 970 TOPDIR
 971 PATH_SEP
 972 HOTSPOT_BUILD_CPU_DEFINE
 973 HOTSPOT_BUILD_CPU_ARCH
 974 HOTSPOT_BUILD_CPU
 975 HOTSPOT_BUILD_OS_TYPE
 976 HOTSPOT_BUILD_OS
 977 OPENJDK_BUILD_BUNDLE_PLATFORM
 978 OPENJDK_BUILD_OS_EXPORT_DIR
 979 OPENJDK_BUILD_CPU_OSARCH
 980 OPENJDK_BUILD_CPU_ISADIR
 981 OPENJDK_BUILD_CPU_LEGACY_LIB
 982 OPENJDK_BUILD_CPU_LEGACY


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_asan
1177 enable_dtrace
1178 enable_aot
1179 enable_cds
1180 enable_hotspot_gtest
1181 with_stdc__lib
1182 with_msvcr_dll
1183 with_msvcp_dll
1184 with_x
1185 with_cups
1186 with_cups_include
1187 with_freetype
1188 with_freetype_include
1189 with_freetype_lib
1190 with_freetype_src
1191 enable_freetype_bundling
1192 with_freetype_license
1193 with_alsa
1194 with_alsa_include
1195 with_alsa_lib
1196 with_libffi


1962   --enable-debug          set the debug level to fastdebug (shorthand for
1963                           --with-debug-level=fastdebug) [disabled]
1964   --enable-headless-only  only build headless (no GUI) support [disabled]
1965   --enable-full-docs      build complete documentation [enabled if all tools
1966                           found]
1967   --disable-unlimited-crypto
1968                           Disable unlimited crypto policy [enabled]
1969   --disable-keep-packaged-modules
1970                           Do not keep packaged modules in jdk image [enable]
1971   --enable-static-build   enable static library build [disabled]
1972   --disable-warnings-as-errors
1973                           do not consider native warnings to be an error
1974                           [enabled]
1975   --enable-debug-symbols  Deprecated. Option is kept for backwards
1976                           compatibility and is ignored
1977   --enable-zip-debug-info Deprecated. Option is kept for backwards
1978                           compatibility and is ignored
1979   --enable-native-coverage
1980                           enable native compilation with code coverage
1981                           data[disabled]
1982   --enable-asan           enable AddressSanitizer if possible [disabled]
1983   --enable-dtrace[=yes/no/auto]
1984                           enable dtrace. Default is auto, where dtrace is
1985                           enabled if all dependencies are present.
1986   --enable-aot[=yes/no/auto]
1987                           enable ahead of time compilation feature. Default is
1988                           auto, where aot is enabled if all dependencies are
1989                           present.
1990   --enable-cds[=yes/no]   enable class data sharing feature in non-minimal VM.
1991                           Default is yes.
1992   --disable-hotspot-gtest Disables building of the Hotspot unit tests
1993   --disable-freetype-bundling
1994                           disable bundling of the freetype library with the
1995                           build result [enabled on Windows or when using
1996                           --with-freetype, disabled otherwise]
1997   --enable-libffi-bundling
1998                           enable bundling of libffi.so to make the built JDK
1999                           runnable on more systems
2000   --enable-jtreg-failure-handler
2001                           forces build of the jtreg failure handler to be
2002                           enabled, missing dependencies become fatal errors.


4390 # Should we build only OpenJDK even if closed sources are present?
4391 #
4392 
4393 
4394 
4395 
4396 ###############################################################################
4397 #
4398 # Enable or disable the elliptic curve crypto implementation
4399 #
4400 
4401 
4402 
4403 
4404 ################################################################################
4405 #
4406 # Gcov coverage data for hotspot
4407 #
4408 
4409 
4410 ###############################################################################
4411 #
4412 # AddressSanitizer
4413 #
4414 
4415 
4416 ################################################################################
4417 #
4418 # Static build support.  When enabled will generate static
4419 # libraries instead of shared libraries for all JDK libs.
4420 #
4421 
4422 
4423 ################################################################################
4424 #
4425 # jlink options.
4426 # We always keep packaged modules in JDK image.
4427 #
4428 
4429 
4430 ################################################################################
4431 #
4432 # Check if building of the jtreg failure handler should be enabled.
4433 #
4434 
4435 


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


17266 
17267   if test "x$DEVKIT_TOOLCHAIN_PATH" != x; then
17268     if test "x$TOOLCHAIN_PATH" = x; then
17269       TOOLCHAIN_PATH="$DEVKIT_TOOLCHAIN_PATH"
17270     else
17271       TOOLCHAIN_PATH="$DEVKIT_TOOLCHAIN_PATH:$TOOLCHAIN_PATH"
17272     fi
17273   fi
17274 
17275 
17276         # If DEVKIT_SYSROOT is set, use that, otherwise try a couple of known
17277         # places for backwards compatiblity.
17278         if test "x$DEVKIT_SYSROOT" != x; then
17279           SYSROOT="$DEVKIT_SYSROOT"
17280         elif test -d "$DEVKIT_ROOT/$host_alias/libc"; then
17281           SYSROOT="$DEVKIT_ROOT/$host_alias/libc"
17282         elif test -d "$DEVKIT_ROOT/$host/sys-root"; then
17283           SYSROOT="$DEVKIT_ROOT/$host/sys-root"
17284         fi
17285 
17286         if test "x$DEVKIT_ROOT" != x; then
17287           DEVKIT_LIB_DIR="$DEVKIT_ROOT/lib"
17288           if test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
17289             DEVKIT_LIB_DIR="$DEVKIT_ROOT/lib64"
17290           fi
17291 
17292         fi
17293 
17294 
17295 fi
17296 
17297 
17298   # You can force the sysroot if the sysroot encoded into the compiler tools
17299   # is not correct.
17300 
17301 # Check whether --with-sys-root was given.
17302 if test "${with_sys_root+set}" = set; then :
17303   withval=$with_sys_root; SYSROOT=$with_sys_root
17304 
17305 fi
17306 
17307 
17308 
17309 # Check whether --with-sysroot was given.
17310 if test "${with_sysroot+set}" = set; then :
17311   withval=$with_sysroot; SYSROOT=$with_sysroot
17312 
17313 fi


54165       GCOV_LDFLAGS="-fprofile-arcs"
54166       JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS"
54167       JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS"
54168       CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS"
54169       CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS"
54170       CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS"
54171       CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
54172       LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
54173       LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
54174       GCOV_ENABLED="true"
54175     else
54176       as_fn_error $? "--enable-native-coverage only works with toolchain type gcc" "$LINENO" 5
54177     fi
54178   elif test "x$enable_native_coverage" = "xno"; then
54179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if native coverage is enabled" >&5
54180 $as_echo_n "checking if native coverage is enabled... " >&6; }
54181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54182 $as_echo "no" >&6; }
54183   elif test "x$enable_native_coverage" != "x"; then
54184     as_fn_error $? "--enable-native-coverage can only be assigned \"yes\" or \"no\"" "$LINENO" 5
54185   fi
54186 
54187 
54188 
54189 
54190 # AddressSanitizer
54191 
54192   # Check whether --enable-asan was given.
54193 if test "${enable_asan+set}" = set; then :
54194   enableval=$enable_asan;
54195 fi
54196 
54197   ASAN_ENABLED="no"
54198   if test "x$enable_asan" = "xyes"; then
54199     case $TOOLCHAIN_TYPE in
54200       gcc | clang)
54201         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if asan is enabled" >&5
54202 $as_echo_n "checking if asan is enabled... " >&6; }
54203         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
54204 $as_echo "yes" >&6; }
54205         ASAN_CFLAGS="-fsanitize=address -fno-omit-frame-pointer"
54206         ASAN_LDFLAGS="-fsanitize=address"
54207         JVM_CFLAGS="$JVM_CFLAGS $ASAN_CFLAGS"
54208         JVM_LDFLAGS="$JVM_LDFLAGS $ASAN_LDFLAGS"
54209         CFLAGS_JDKLIB="$CFLAGS_JDKLIB $ASAN_CFLAGS"
54210         CFLAGS_JDKEXE="$CFLAGS_JDKEXE $ASAN_CFLAGS"
54211         CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $ASAN_CFLAGS"
54212         CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
54213         LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
54214         LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
54215         ASAN_ENABLED="yes"
54216         ;;
54217       *)
54218         as_fn_error $? "--enable-asan only works with toolchain type gcc or clang" "$LINENO" 5
54219         ;;
54220     esac
54221   elif test "x$enable_asan" = "xno"; then
54222     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if asan is enabled" >&5
54223 $as_echo_n "checking if asan is enabled... " >&6; }
54224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54225 $as_echo "no" >&6; }
54226   elif test "x$enable_asan" != "x"; then
54227     as_fn_error $? "--enable-asan can only be assigned \"yes\" or \"no\"" "$LINENO" 5
54228   fi
54229 
54230 
54231 
54232 
54233 # Need toolchain to setup dtrace
54234 
54235   # Test for dtrace dependencies
54236   # Check whether --enable-dtrace was given.
54237 if test "${enable_dtrace+set}" = set; then :
54238   enableval=$enable_dtrace;
54239 fi
54240 
54241 
54242   DTRACE_DEP_MISSING=false
54243 
54244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dtrace tool" >&5
54245 $as_echo_n "checking for dtrace tool... " >&6; }
54246   if test "x$DTRACE" != "x" && test -x "$DTRACE"; then
54247     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5


< prev index next >