671 LIBFFI_LIBS
672 LIBFFI_CFLAGS
673 ALSA_LIBS
674 ALSA_CFLAGS
675 FREETYPE_BUNDLE_LIB_PATH
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 CUPS_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 MSVCP_DLL
685 MSVCR_DLL
686 LIBCXX
687 STATIC_CXX_SETTING
688 FIXPATH_DETACH_FLAG
689 FIXPATH
690 GCOV_ENABLED
691 ZIP_DEBUGINFO_FILES
692 ENABLE_DEBUG_SYMBOLS
693 CFLAGS_WARNINGS_ARE_ERRORS
694 DISABLE_WARNING_PREFIX
695 HOTSPOT_SET_WARNINGS_AS_ERRORS
696 WARNINGS_AS_ERRORS
697 COMPILER_SUPPORTS_TARGET_BITS_FLAG
698 ZERO_ARCHFLAG
699 LDFLAGS_TESTEXE
700 LDFLAGS_TESTLIB
701 LDFLAGS_CXX_JDK
702 JDKEXE_LIBS
703 JDKLIB_LIBS
704 LDFLAGS_JDKEXE
705 LDFLAGS_JDKLIB
706 CXXFLAGS_TESTEXE
707 CXXFLAGS_TESTLIB
708 CFLAGS_TESTEXE
709 CFLAGS_TESTLIB
710 CXXFLAGS_JDKEXE
711 CXXFLAGS_JDKLIB
712 CFLAGS_JDKEXE
1077 with_add_source_root
1078 with_override_source_root
1079 with_adds_and_overrides
1080 with_override_langtools
1081 with_override_corba
1082 with_override_jaxp
1083 with_override_jaxws
1084 with_override_hotspot
1085 with_override_nashorn
1086 with_override_jdk
1087 with_import_hotspot
1088 enable_static_build
1089 with_toolchain_type
1090 with_extra_cflags
1091 with_extra_cxxflags
1092 with_extra_ldflags
1093 with_toolchain_version
1094 with_build_devkit
1095 with_jtreg
1096 enable_warnings_as_errors
1097 enable_debug_symbols
1098 enable_zip_debug_info
1099 enable_native_coverage
1100 with_stdc__lib
1101 with_msvcr_dll
1102 with_msvcp_dll
1103 with_x
1104 with_cups
1105 with_cups_include
1106 with_freetype
1107 with_freetype_include
1108 with_freetype_lib
1109 with_freetype_src
1110 enable_freetype_bundling
1111 with_alsa
1112 with_alsa_include
1113 with_alsa_lib
1114 with_libffi
1115 with_libffi_include
1116 with_libffi_lib
1857 cat <<\_ACEOF
1858
1859 Optional Features:
1860 --disable-option-checking ignore unrecognized --enable/--with options
1861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1863 --enable-openjdk-only suppress building custom source even if present
1864 [disabled]
1865 --enable-debug set the debug level to fastdebug (shorthand for
1866 --with-debug-level=fastdebug) [disabled]
1867 --disable-headful disable building headful support (graphical UI
1868 support) [enabled]
1869 --enable-hotspot-test-in-build
1870 run the Queens test after Hotspot build [disabled]
1871 --enable-unlimited-crypto
1872 Enable unlimited crypto policy [disabled]
1873 --enable-static-build enable static library build [disabled]
1874 --disable-warnings-as-errors
1875 do not consider native warnings to be an error
1876 [enabled]
1877 --disable-debug-symbols disable generation of debug symbols [enabled]
1878 --disable-zip-debug-info
1879 disable zipping of debug-info files [enabled]
1880 --enable-native-coverage
1881 enable native compilation with code coverage
1882 data[disabled]
1883 --disable-freetype-bundling
1884 disable bundling of the freetype library with the
1885 build result [enabled on Windows or when using
1886 --with-freetype, disabled otherwise]
1887 --enable-sjavac use sjavac to do fast incremental compiles
1888 [disabled]
1889 --disable-javac-server disable javac server [enabled]
1890 --enable-icecc enable distribted compilation of native code using
1891 icecc/icecream [disabled]
1892 --disable-precompiled-headers
1893 disable using precompiled headers when compiling C++
1894 [enabled]
1895 --enable-ccache enable using ccache to speed up recompilations
1896 [disabled]
1897
1898 Optional Packages:
1899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1951 --with-override-hotspot Deprecated. Option is kept for backwards
1952 compatibility and is ignored
1953 --with-override-nashorn Deprecated. Option is kept for backwards
1954 compatibility and is ignored
1955 --with-override-jdk Deprecated. Option is kept for backwards
1956 compatibility and is ignored
1957 --with-import-hotspot import hotspot binaries from this jdk image or
1958 hotspot build dist dir instead of building from
1959 source
1960 --with-toolchain-type the toolchain type (or family) to use, use '--help'
1961 to show possible values [platform dependent]
1962 --with-extra-cflags extra flags to be used when compiling jdk c-files
1963 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
1964 --with-extra-ldflags extra flags to be used when linking jdk
1965 --with-toolchain-version
1966 the version of the toolchain to look for, use
1967 '--help' to show possible values [platform
1968 dependent]
1969 --with-build-devkit Devkit to use for the build platform toolchain
1970 --with-jtreg Regression Test Harness [probed]
1971 --with-stdc++lib=<static>,<dynamic>,<default>
1972 force linking of the C++ runtime on Linux to either
1973 static or dynamic, default is static with dynamic as
1974 fallback
1975 --with-msvcr-dll path to microsoft C runtime dll (msvcr*.dll)
1976 (Windows only) [probed]
1977 --with-msvcp-dll path to microsoft C++ runtime dll (msvcp*.dll)
1978 (Windows only) [probed]
1979 --with-x use the X Window System
1980 --with-cups specify prefix directory for the cups package
1981 (expecting the headers under PATH/include)
1982 --with-cups-include specify directory for the cups include files
1983 --with-freetype specify prefix directory for the freetype package
1984 (expecting the libraries under PATH/lib and the
1985 headers under PATH/include)
1986 --with-freetype-include specify directory for the freetype include files
1987 --with-freetype-lib specify directory for the freetype library
1988 --with-freetype-src specify directory with freetype sources to
1989 automatically build the library (experimental,
1990 Windows-only)
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637 # This line needs to be here, verbatim, after all includes and the dummy hook
4638 # definitions. It is replaced with custom functionality when building
4639 # custom sources.
4640 #CUSTOM_AUTOCONF_INCLUDE
4641
4642 # Do not change or remove the following line, it is needed for consistency checks:
4643 DATE_WHEN_GENERATED=1448463381
4644
4645 ###############################################################################
4646 #
4647 # Initialization / Boot-strapping
4648 #
4649 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4650 # thus it jumps back and forth, each time gaining something needed later on.
4651 #
4652 ###############################################################################
4653
4654 # If we are requested to print additional help, do that and then exit.
4655 # This must be the very first call.
4656
4657 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4658 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4659 $PRINTF "Which are valid to use depends on the build platform.\n"
4660 for toolchain in $VALID_TOOLCHAINS_all; do
4661 # Use indirect variable referencing
4662 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4663 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
46988
46989 if test "x$BUILD_CC_CAN_DISABLE_WARNINGS" = "xtrue"; then
46990 BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
46991 else
46992 BUILD_CC_DISABLE_WARNING_PREFIX=
46993 fi
46994 CC="$CC_OLD"
46995 ;;
46996 clang)
46997 DISABLE_WARNING_PREFIX="-Wno-"
46998 CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
46999 ;;
47000 esac
47001
47002
47003
47004
47005 # Setup debug symbols (need objcopy from the toolchain for that)
47006
47007 #
47008 # ENABLE_DEBUG_SYMBOLS
47009 # This must be done after the toolchain is setup, since we're looking at objcopy.
47010 #
47011 # Check whether --enable-debug-symbols was given.
47012 if test "${enable_debug_symbols+set}" = set; then :
47013 enableval=$enable_debug_symbols;
47014 fi
47015
47016
47017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should generate debug symbols" >&5
47018 $as_echo_n "checking if we should generate debug symbols... " >&6; }
47019
47020 if test "x$enable_debug_symbols" = "xyes" && test "x$OBJCOPY" = x; then
47021 # explicit enabling of enable-debug-symbols and can't find objcopy
47022 # this is an error
47023 as_fn_error $? "Unable to find objcopy, cannot enable debug-symbols" "$LINENO" 5
47024 fi
47025
47026 if test "x$enable_debug_symbols" = "xyes"; then
47027 ENABLE_DEBUG_SYMBOLS=true
47028 elif test "x$enable_debug_symbols" = "xno"; then
47029 ENABLE_DEBUG_SYMBOLS=false
47030 else
47031 # Default is on if objcopy is found
47032 if test "x$OBJCOPY" != x; then
47033 ENABLE_DEBUG_SYMBOLS=true
47034 # MacOS X and Windows don't use objcopy but default is on for those OSes
47035 elif test "x$OPENJDK_TARGET_OS" = xmacosx || test "x$OPENJDK_TARGET_OS" = xwindows; then
47036 ENABLE_DEBUG_SYMBOLS=true
47037 else
47038 ENABLE_DEBUG_SYMBOLS=false
47039 fi
47040 fi
47041
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_DEBUG_SYMBOLS" >&5
47043 $as_echo "$ENABLE_DEBUG_SYMBOLS" >&6; }
47044
47045 #
47046 # ZIP_DEBUGINFO_FILES
47047 #
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should zip debug-info files" >&5
47049 $as_echo_n "checking if we should zip debug-info files... " >&6; }
47050 # Check whether --enable-zip-debug-info was given.
47051 if test "${enable_zip_debug_info+set}" = set; then :
47052 enableval=$enable_zip_debug_info; enable_zip_debug_info="${enableval}"
47053 else
47054 enable_zip_debug_info="yes"
47055 fi
47056
47057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_zip_debug_info}" >&5
47058 $as_echo "${enable_zip_debug_info}" >&6; }
47059
47060 if test "x${enable_zip_debug_info}" = "xno"; then
47061 ZIP_DEBUGINFO_FILES=false
47062 else
47063 ZIP_DEBUGINFO_FILES=true
47064 fi
47065
47066
47067
47068
47069
47070 # Check whether --enable-native-coverage was given.
47071 if test "${enable_native_coverage+set}" = set; then :
47072 enableval=$enable_native_coverage;
47073 fi
47074
47075 GCOV_ENABLED="false"
47076 if test "x$enable_native_coverage" = "xyes"; then
47077 if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
47078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if native coverage is enabled" >&5
47079 $as_echo_n "checking if native coverage is enabled... " >&6; }
47080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47081 $as_echo "yes" >&6; }
47082 GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
47083 GCOV_LDFLAGS="-fprofile-arcs"
47084 LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $GCOV_CFLAGS"
|
671 LIBFFI_LIBS
672 LIBFFI_CFLAGS
673 ALSA_LIBS
674 ALSA_CFLAGS
675 FREETYPE_BUNDLE_LIB_PATH
676 FREETYPE_LIBS
677 FREETYPE_CFLAGS
678 CUPS_CFLAGS
679 X_EXTRA_LIBS
680 X_LIBS
681 X_PRE_LIBS
682 X_CFLAGS
683 XMKMF
684 MSVCP_DLL
685 MSVCR_DLL
686 LIBCXX
687 STATIC_CXX_SETTING
688 FIXPATH_DETACH_FLAG
689 FIXPATH
690 GCOV_ENABLED
691 JAVA_DEBUG_SYMBOLS
692 ZIP_DEBUGINFO_FILES
693 ENABLE_DEBUG_SYMBOLS
694 STRIP_POLICY
695 DEBUG_BINARIES
696 NATIVE_DEBUG_SYMBOLS
697 CFLAGS_WARNINGS_ARE_ERRORS
698 DISABLE_WARNING_PREFIX
699 HOTSPOT_SET_WARNINGS_AS_ERRORS
700 WARNINGS_AS_ERRORS
701 COMPILER_SUPPORTS_TARGET_BITS_FLAG
702 ZERO_ARCHFLAG
703 LDFLAGS_TESTEXE
704 LDFLAGS_TESTLIB
705 LDFLAGS_CXX_JDK
706 JDKEXE_LIBS
707 JDKLIB_LIBS
708 LDFLAGS_JDKEXE
709 LDFLAGS_JDKLIB
710 CXXFLAGS_TESTEXE
711 CXXFLAGS_TESTLIB
712 CFLAGS_TESTEXE
713 CFLAGS_TESTLIB
714 CXXFLAGS_JDKEXE
715 CXXFLAGS_JDKLIB
716 CFLAGS_JDKEXE
1081 with_add_source_root
1082 with_override_source_root
1083 with_adds_and_overrides
1084 with_override_langtools
1085 with_override_corba
1086 with_override_jaxp
1087 with_override_jaxws
1088 with_override_hotspot
1089 with_override_nashorn
1090 with_override_jdk
1091 with_import_hotspot
1092 enable_static_build
1093 with_toolchain_type
1094 with_extra_cflags
1095 with_extra_cxxflags
1096 with_extra_ldflags
1097 with_toolchain_version
1098 with_build_devkit
1099 with_jtreg
1100 enable_warnings_as_errors
1101 with_native_debug_symbols
1102 enable_java_debug_symbols
1103 enable_debug_symbols
1104 enable_zip_debug_info
1105 enable_native_coverage
1106 with_stdc__lib
1107 with_msvcr_dll
1108 with_msvcp_dll
1109 with_x
1110 with_cups
1111 with_cups_include
1112 with_freetype
1113 with_freetype_include
1114 with_freetype_lib
1115 with_freetype_src
1116 enable_freetype_bundling
1117 with_alsa
1118 with_alsa_include
1119 with_alsa_lib
1120 with_libffi
1121 with_libffi_include
1122 with_libffi_lib
1863 cat <<\_ACEOF
1864
1865 Optional Features:
1866 --disable-option-checking ignore unrecognized --enable/--with options
1867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1869 --enable-openjdk-only suppress building custom source even if present
1870 [disabled]
1871 --enable-debug set the debug level to fastdebug (shorthand for
1872 --with-debug-level=fastdebug) [disabled]
1873 --disable-headful disable building headful support (graphical UI
1874 support) [enabled]
1875 --enable-hotspot-test-in-build
1876 run the Queens test after Hotspot build [disabled]
1877 --enable-unlimited-crypto
1878 Enable unlimited crypto policy [disabled]
1879 --enable-static-build enable static library build [disabled]
1880 --disable-warnings-as-errors
1881 do not consider native warnings to be an error
1882 [enabled]
1883 --enable-java-debug-symbols
1884 enable generating debug symbols in java class files
1885 [disabled]
1886 --enable-debug-symbols Deprecated. Option is kept for backwards
1887 compatibility and is ignored
1888 --enable-zip-debug-info Deprecated. Option is kept for backwards
1889 compatibility and is ignored
1890 --enable-native-coverage
1891 enable native compilation with code coverage
1892 data[disabled]
1893 --disable-freetype-bundling
1894 disable bundling of the freetype library with the
1895 build result [enabled on Windows or when using
1896 --with-freetype, disabled otherwise]
1897 --enable-sjavac use sjavac to do fast incremental compiles
1898 [disabled]
1899 --disable-javac-server disable javac server [enabled]
1900 --enable-icecc enable distribted compilation of native code using
1901 icecc/icecream [disabled]
1902 --disable-precompiled-headers
1903 disable using precompiled headers when compiling C++
1904 [enabled]
1905 --enable-ccache enable using ccache to speed up recompilations
1906 [disabled]
1907
1908 Optional Packages:
1909 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1961 --with-override-hotspot Deprecated. Option is kept for backwards
1962 compatibility and is ignored
1963 --with-override-nashorn Deprecated. Option is kept for backwards
1964 compatibility and is ignored
1965 --with-override-jdk Deprecated. Option is kept for backwards
1966 compatibility and is ignored
1967 --with-import-hotspot import hotspot binaries from this jdk image or
1968 hotspot build dist dir instead of building from
1969 source
1970 --with-toolchain-type the toolchain type (or family) to use, use '--help'
1971 to show possible values [platform dependent]
1972 --with-extra-cflags extra flags to be used when compiling jdk c-files
1973 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files
1974 --with-extra-ldflags extra flags to be used when linking jdk
1975 --with-toolchain-version
1976 the version of the toolchain to look for, use
1977 '--help' to show possible values [platform
1978 dependent]
1979 --with-build-devkit Devkit to use for the build platform toolchain
1980 --with-jtreg Regression Test Harness [probed]
1981 --with-native-debug-symbols
1982 set the native debug symbol configuration (none,
1983 internal, external, zipped) [zipped]
1984 --with-stdc++lib=<static>,<dynamic>,<default>
1985 force linking of the C++ runtime on Linux to either
1986 static or dynamic, default is static with dynamic as
1987 fallback
1988 --with-msvcr-dll path to microsoft C runtime dll (msvcr*.dll)
1989 (Windows only) [probed]
1990 --with-msvcp-dll path to microsoft C++ runtime dll (msvcp*.dll)
1991 (Windows only) [probed]
1992 --with-x use the X Window System
1993 --with-cups specify prefix directory for the cups package
1994 (expecting the headers under PATH/include)
1995 --with-cups-include specify directory for the cups include files
1996 --with-freetype specify prefix directory for the freetype package
1997 (expecting the libraries under PATH/lib and the
1998 headers under PATH/include)
1999 --with-freetype-include specify directory for the freetype include files
2000 --with-freetype-lib specify directory for the freetype library
2001 --with-freetype-src specify directory with freetype sources to
2002 automatically build the library (experimental,
2003 Windows-only)
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650 # This line needs to be here, verbatim, after all includes and the dummy hook
4651 # definitions. It is replaced with custom functionality when building
4652 # custom sources.
4653 #CUSTOM_AUTOCONF_INCLUDE
4654
4655 # Do not change or remove the following line, it is needed for consistency checks:
4656 DATE_WHEN_GENERATED=1448546432
4657
4658 ###############################################################################
4659 #
4660 # Initialization / Boot-strapping
4661 #
4662 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4663 # thus it jumps back and forth, each time gaining something needed later on.
4664 #
4665 ###############################################################################
4666
4667 # If we are requested to print additional help, do that and then exit.
4668 # This must be the very first call.
4669
4670 if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4671 $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4672 $PRINTF "Which are valid to use depends on the build platform.\n"
4673 for toolchain in $VALID_TOOLCHAINS_all; do
4674 # Use indirect variable referencing
4675 toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4676 TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}
47001
47002 if test "x$BUILD_CC_CAN_DISABLE_WARNINGS" = "xtrue"; then
47003 BUILD_CC_DISABLE_WARNING_PREFIX="-Wno-"
47004 else
47005 BUILD_CC_DISABLE_WARNING_PREFIX=
47006 fi
47007 CC="$CC_OLD"
47008 ;;
47009 clang)
47010 DISABLE_WARNING_PREFIX="-Wno-"
47011 CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
47012 ;;
47013 esac
47014
47015
47016
47017
47018 # Setup debug symbols (need objcopy from the toolchain for that)
47019
47020 #
47021 # NATIVE_DEBUG_SYMBOLS
47022 #
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what type of native debug symbols to use" >&5
47024 $as_echo_n "checking what type of native debug symbols to use... " >&6; }
47025
47026 # Check whether --with-native-debug-symbols was given.
47027 if test "${with_native_debug_symbols+set}" = set; then :
47028 withval=$with_native_debug_symbols;
47029 else
47030 with_native_debug_symbols="zipped"
47031 fi
47032
47033 NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
47034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NATIVE_DEBUG_SYMBOLS" >&5
47035 $as_echo "$NATIVE_DEBUG_SYMBOLS" >&6; }
47036
47037 if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
47038
47039 if test "x$OBJCOPY" = x; then
47040 # explicit enabling of enable-debug-symbols and can't find objcopy
47041 # this is an error
47042 as_fn_error $? "Unable to find objcopy, cannot enable debug-symbols" "$LINENO" 5
47043 fi
47044
47045 ENABLE_DEBUG_SYMBOLS=true
47046 ZIP_DEBUGINFO_FILES=true
47047 DEBUG_BINARIES=true
47048 STRIP_POLICY=min_strip
47049 elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
47050 ENABLE_DEBUG_SYMBOLS=false
47051 ZIP_DEBUGINFO_FILES=false
47052 DEBUG_BINARIES=false
47053 STRIP_POLICY=min_strip
47054 elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then
47055 ENABLE_DEBUG_SYMBOLS=false # -g option only
47056 ZIP_DEBUGINFO_FILES=false
47057 DEBUG_BINARIES=true
47058 STRIP_POLICY=no_strip
47059 STRIP=""
47060 elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then
47061
47062 if test "x$OBJCOPY" = x; then
47063 # explicit enabling of enable-debug-symbols and can't find objcopy
47064 # this is an error
47065 as_fn_error $? "Unable to find objcopy, cannot enable debug-symbols" "$LINENO" 5
47066 fi
47067
47068 ENABLE_DEBUG_SYMBOLS=true
47069 ZIP_DEBUGINFO_FILES=false
47070 DEBUG_BINARIES=true
47071 STRIP_POLICY=min_strip
47072 else
47073 as_fn_error $? "Allowed native debug symbols are: none, internal, external, zipped" "$LINENO" 5
47074 fi
47075
47076 #
47077 # JAVA_DEBUG_SYMBOLS
47078 #
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should generate debug symbols in class files" >&5
47080 $as_echo_n "checking if we should generate debug symbols in class files... " >&6; }
47081 # Check whether --enable-java-debug-symbols was given.
47082 if test "${enable_java_debug_symbols+set}" = set; then :
47083 enableval=$enable_java_debug_symbols; enable_java_debug_symbols="${enableval}"
47084 else
47085 enable_java_debug_symbols="no"
47086 fi
47087
47088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_java_debug_symbols}" >&5
47089 $as_echo "${enable_java_debug_symbols}" >&6; }
47090
47091 if test "x${enable_java_debug_symbols}" = "xyes"; then
47092 JAVA_DEBUG_SYMBOLS=true
47093 JAVAC_FLAGS="$JAVAC_FLAGS -g"
47094 else
47095 JAVA_DEBUG_SYMBOLS=false
47096 fi
47097
47098 # --enable-debug-symbols is deprecated.
47099 # Please use --with-debug-symbols=[internal,external,zipped] .
47100
47101 # Check whether --enable-debug-symbols was given.
47102 if test "${enable_debug_symbols+set}" = set; then :
47103 enableval=$enable_debug_symbols;
47104 fi
47105
47106 if test "x$enable_debug_symbols" != x; then
47107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&5
47108 $as_echo "$as_me: WARNING: Option --enable-debug-symbols is deprecated and will be ignored." >&2;}
47109 fi
47110
47111
47112 # --enable-zip-debug-info is deprecated.
47113 # Please use --with-debug-symbols=zipped .
47114
47115 # Check whether --enable-zip-debug-info was given.
47116 if test "${enable_zip_debug_info+set}" = set; then :
47117 enableval=$enable_zip_debug_info;
47118 fi
47119
47120 if test "x$enable_zip_debug_info" != x; then
47121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Option --enable-zip-debug-info is deprecated and will be ignored." >&5
47122 $as_echo "$as_me: WARNING: Option --enable-zip-debug-info is deprecated and will be ignored." >&2;}
47123 fi
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134 # Check whether --enable-native-coverage was given.
47135 if test "${enable_native_coverage+set}" = set; then :
47136 enableval=$enable_native_coverage;
47137 fi
47138
47139 GCOV_ENABLED="false"
47140 if test "x$enable_native_coverage" = "xyes"; then
47141 if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if native coverage is enabled" >&5
47143 $as_echo_n "checking if native coverage is enabled... " >&6; }
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
47145 $as_echo "yes" >&6; }
47146 GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline"
47147 GCOV_LDFLAGS="-fprofile-arcs"
47148 LEGACY_EXTRA_CFLAGS="$LEGACY_EXTRA_CFLAGS $GCOV_CFLAGS"
|