< prev index next >

common/autoconf/generated-configure.sh

Print this page




 667 LCMS_CFLAGS
 668 USE_EXTERNAL_LIBGIF
 669 USE_EXTERNAL_LIBJPEG
 670 ALSA_LIBS
 671 ALSA_CFLAGS
 672 FREETYPE_BUNDLE_LIB_PATH
 673 FREETYPE_LIBS
 674 FREETYPE_CFLAGS
 675 CUPS_CFLAGS
 676 X_EXTRA_LIBS
 677 X_LIBS
 678 X_PRE_LIBS
 679 X_CFLAGS
 680 XMKMF
 681 FIXPATH
 682 GCOV_ENABLED
 683 ZIP_DEBUGINFO_FILES
 684 ENABLE_DEBUG_SYMBOLS
 685 CFLAGS_WARNINGS_ARE_ERRORS
 686 DISABLE_WARNING_PREFIX

 687 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 688 ZERO_ARCHFLAG
 689 LDFLAGS_TESTEXE_SUFFIX
 690 LDFLAGS_TESTLIB_SUFFIX
 691 LDFLAGS_TESTEXE
 692 LDFLAGS_TESTLIB
 693 LDFLAGS_CXX_JDK
 694 LDFLAGS_JDKEXE_SUFFIX
 695 LDFLAGS_JDKLIB_SUFFIX
 696 LDFLAGS_JDKEXE
 697 LDFLAGS_JDKLIB
 698 CXXFLAGS_TESTEXE
 699 CXXFLAGS_TESTLIB
 700 CFLAGS_TESTEXE
 701 CFLAGS_TESTLIB
 702 CXXFLAGS_JDKEXE
 703 CXXFLAGS_JDKLIB
 704 CFLAGS_JDKEXE
 705 CFLAGS_JDKLIB
 706 MACOSX_VERSION_MIN


 710 CXX_O_FLAG_NONE
 711 CXX_O_FLAG_DEBUG
 712 CXX_O_FLAG_NORM
 713 CXX_O_FLAG_HI
 714 CXX_O_FLAG_HIGHEST
 715 C_O_FLAG_NONE
 716 C_O_FLAG_DEBUG
 717 C_O_FLAG_NORM
 718 C_O_FLAG_HI
 719 C_O_FLAG_HIGHEST
 720 CXXFLAGS_DEBUG_OPTIONS
 721 CFLAGS_DEBUG_OPTIONS
 722 CXXFLAGS_DEBUG_SYMBOLS
 723 CFLAGS_DEBUG_SYMBOLS
 724 CXX_FLAG_DEPS
 725 C_FLAG_DEPS
 726 SET_SHARED_LIBRARY_MAPFILE
 727 SET_SHARED_LIBRARY_NAME
 728 SET_SHARED_LIBRARY_ORIGIN
 729 SET_EXECUTABLE_ORIGIN
 730 SHARED_LIBRARY_FLAGS
 731 CXX_FLAG_REORDER
 732 C_FLAG_REORDER
 733 SYSROOT_LDFLAGS
 734 SYSROOT_CFLAGS
 735 RC_FLAGS
 736 AR_OUT_OPTION
 737 LD_OUT_OPTION
 738 EXE_OUT_OPTION
 739 CC_OUT_OPTION
 740 POST_MCS_CMD
 741 POST_STRIP_CMD
 742 ARFLAGS
 743 COMPILER_TARGET_BITS_FLAG
 744 JT_HOME
 745 JTREGEXE
 746 USING_BROKEN_SUSE_LD
 747 PACKAGE_PATH
 748 LDEXECXX
 749 LDEXE
 750 USE_CLANG


1074 with_build_number
1075 with_copyright_year
1076 with_boot_jdk
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 with_toolchain_type
1089 with_toolchain_version
1090 with_jtreg
1091 with_extra_cflags
1092 with_extra_cxxflags
1093 with_extra_ldflags

1094 enable_debug_symbols
1095 enable_zip_debug_info
1096 enable_native_coverage
1097 with_x
1098 with_cups
1099 with_cups_include
1100 with_freetype
1101 with_freetype_include
1102 with_freetype_lib
1103 with_freetype_src
1104 enable_freetype_bundling
1105 with_alsa
1106 with_alsa_include
1107 with_alsa_lib
1108 with_libjpeg
1109 with_giflib
1110 with_lcms
1111 with_libpng
1112 with_zlib
1113 with_stdc__lib


1842    esac
1843   cat <<\_ACEOF
1844 
1845 Optional Features:
1846   --disable-option-checking  ignore unrecognized --enable/--with options
1847   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1848   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1849   --enable-openjdk-only   suppress building custom source even if present
1850                           [disabled]
1851   --enable-debug          set the debug level to fastdebug (shorthand for
1852                           --with-debug-level=fastdebug) [disabled]
1853   --disable-headful       disable building headful support (graphical UI
1854                           support) [enabled]
1855   --enable-hotspot-test-in-build
1856                           run the Queens test after Hotspot build [disabled]
1857   --enable-unlimited-crypto
1858                           Enable unlimited crypto policy [disabled]
1859   --enable-rmiconnector-iiop
1860                           enable the JMX RMIConnector iiop transport
1861                           [disabled]



1862   --disable-debug-symbols disable generation of debug symbols [enabled]
1863   --disable-zip-debug-info
1864                           disable zipping of debug-info files [enabled]
1865   --enable-native-coverage
1866                           enable native compilation with code coverage
1867                           data[disabled]
1868   --disable-freetype-bundling
1869                           disable bundling of the freetype library with the
1870                           build result [enabled on Windows or when using
1871                           --with-freetype, disabled otherwise]
1872   --enable-sjavac         use sjavac to do fast incremental compiles
1873                           [disabled]
1874   --disable-precompiled-headers
1875                           disable using precompiled headers when compiling C++
1876                           [enabled]
1877   --enable-ccache         enable using ccache to speed up recompilations
1878                           [disabled]
1879 
1880 Optional Packages:
1881   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]


4348 
4349 
4350 
4351 
4352 
4353 
4354 
4355 
4356 
4357 
4358 
4359 
4360 
4361 
4362 # This line needs to be here, verbatim, after all includes and the dummy hook
4363 # definitions. It is replaced with custom functionality when building
4364 # custom sources.
4365 #CUSTOM_AUTOCONF_INCLUDE
4366 
4367 # Do not change or remove the following line, it is needed for consistency checks:
4368 DATE_WHEN_GENERATED=1429260097
4369 
4370 ###############################################################################
4371 #
4372 # Initialization / Boot-strapping
4373 #
4374 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4375 # thus it jumps back and forth, each time gaining something needed later on.
4376 #
4377 ###############################################################################
4378 
4379 # If we are requested to print additional help, do that and then exit.
4380 # This must be the very first call.
4381 
4382   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4383     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4384     $PRINTF "Which are valid to use depends on the build platform.\n"
4385     for toolchain in $VALID_TOOLCHAINS_all; do
4386       # Use indirect variable referencing
4387       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4388       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


42249     SET_SHARED_LIBRARY_NAME=''
42250     SET_SHARED_LIBRARY_MAPFILE=''
42251   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
42252     PICFLAG=""
42253     C_FLAG_REORDER=''
42254     CXX_FLAG_REORDER=''
42255     SHARED_LIBRARY_FLAGS="-LD"
42256     SET_EXECUTABLE_ORIGIN=''
42257     SET_SHARED_LIBRARY_ORIGIN=''
42258     SET_SHARED_LIBRARY_NAME=''
42259     SET_SHARED_LIBRARY_MAPFILE=''
42260   fi
42261 
42262 
42263 
42264 
42265 
42266 
42267 
42268 
42269 
42270   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
42271     CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
42272     CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
42273     CFLAGS_JDKLIB_EXTRA='-xstrconst'
42274   fi
42275   # The (cross) compiler is now configured, we can now test capabilities
42276   # of the target platform.
42277 
42278 
42279 
42280   ###############################################################################
42281   #
42282   # Setup the opt flags for different compilers
42283   # and different operating systems.
42284   #
42285 
42286   # FIXME: this was indirectly the old default, but just inherited.
42287   # if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
42288   #   C_FLAG_DEPS="-MMD -MF"
42289   # fi


42957 else
42958   supports=no
42959 fi
42960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42961   ac_ext=cpp
42962 ac_cpp='$CXXCPP $CPPFLAGS'
42963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966 
42967   CXXFLAGS="$saved_cxxflags"
42968 
42969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5
42970 $as_echo "$supports" >&6; }
42971   if test "x$supports" = "xyes" ; then
42972     COMPILER_SUPPORTS_TARGET_BITS_FLAG=true
42973   else
42974     COMPILER_SUPPORTS_TARGET_BITS_FLAG=false
42975   fi
42976 

























42977 
42978 
42979   case "${TOOLCHAIN_TYPE}" in
42980     microsoft)
42981       DISABLE_WARNING_PREFIX="-wd"
42982       CFLAGS_WARNINGS_ARE_ERRORS="-WX"
42983       ;;
42984     solstudio)
42985       DISABLE_WARNING_PREFIX="-erroff="
42986       CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
42987       ;;
42988     gcc)
42989       # Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error
42990 
42991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"-Wno-this-is-a-warning-that-do-not-exist\"" >&5
42992 $as_echo_n "checking if compiler supports \"-Wno-this-is-a-warning-that-do-not-exist\"... " >&6; }
42993   supports=yes
42994 
42995   saved_cflags="$CFLAGS"
42996   CFLAGS="$CFLAGS -Wno-this-is-a-warning-that-do-not-exist"




 667 LCMS_CFLAGS
 668 USE_EXTERNAL_LIBGIF
 669 USE_EXTERNAL_LIBJPEG
 670 ALSA_LIBS
 671 ALSA_CFLAGS
 672 FREETYPE_BUNDLE_LIB_PATH
 673 FREETYPE_LIBS
 674 FREETYPE_CFLAGS
 675 CUPS_CFLAGS
 676 X_EXTRA_LIBS
 677 X_LIBS
 678 X_PRE_LIBS
 679 X_CFLAGS
 680 XMKMF
 681 FIXPATH
 682 GCOV_ENABLED
 683 ZIP_DEBUGINFO_FILES
 684 ENABLE_DEBUG_SYMBOLS
 685 CFLAGS_WARNINGS_ARE_ERRORS
 686 DISABLE_WARNING_PREFIX
 687 WARNINGS_AS_ERRORS
 688 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 689 ZERO_ARCHFLAG
 690 LDFLAGS_TESTEXE_SUFFIX
 691 LDFLAGS_TESTLIB_SUFFIX
 692 LDFLAGS_TESTEXE
 693 LDFLAGS_TESTLIB
 694 LDFLAGS_CXX_JDK
 695 LDFLAGS_JDKEXE_SUFFIX
 696 LDFLAGS_JDKLIB_SUFFIX
 697 LDFLAGS_JDKEXE
 698 LDFLAGS_JDKLIB
 699 CXXFLAGS_TESTEXE
 700 CXXFLAGS_TESTLIB
 701 CFLAGS_TESTEXE
 702 CFLAGS_TESTLIB
 703 CXXFLAGS_JDKEXE
 704 CXXFLAGS_JDKLIB
 705 CFLAGS_JDKEXE
 706 CFLAGS_JDKLIB
 707 MACOSX_VERSION_MIN


 711 CXX_O_FLAG_NONE
 712 CXX_O_FLAG_DEBUG
 713 CXX_O_FLAG_NORM
 714 CXX_O_FLAG_HI
 715 CXX_O_FLAG_HIGHEST
 716 C_O_FLAG_NONE
 717 C_O_FLAG_DEBUG
 718 C_O_FLAG_NORM
 719 C_O_FLAG_HI
 720 C_O_FLAG_HIGHEST
 721 CXXFLAGS_DEBUG_OPTIONS
 722 CFLAGS_DEBUG_OPTIONS
 723 CXXFLAGS_DEBUG_SYMBOLS
 724 CFLAGS_DEBUG_SYMBOLS
 725 CXX_FLAG_DEPS
 726 C_FLAG_DEPS
 727 SET_SHARED_LIBRARY_MAPFILE
 728 SET_SHARED_LIBRARY_NAME
 729 SET_SHARED_LIBRARY_ORIGIN
 730 SET_EXECUTABLE_ORIGIN

 731 CXX_FLAG_REORDER
 732 C_FLAG_REORDER
 733 SYSROOT_LDFLAGS
 734 SYSROOT_CFLAGS
 735 RC_FLAGS
 736 AR_OUT_OPTION
 737 LD_OUT_OPTION
 738 EXE_OUT_OPTION
 739 CC_OUT_OPTION
 740 POST_MCS_CMD
 741 POST_STRIP_CMD
 742 ARFLAGS
 743 COMPILER_TARGET_BITS_FLAG
 744 JT_HOME
 745 JTREGEXE
 746 USING_BROKEN_SUSE_LD
 747 PACKAGE_PATH
 748 LDEXECXX
 749 LDEXE
 750 USE_CLANG


1074 with_build_number
1075 with_copyright_year
1076 with_boot_jdk
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 with_toolchain_type
1089 with_toolchain_version
1090 with_jtreg
1091 with_extra_cflags
1092 with_extra_cxxflags
1093 with_extra_ldflags
1094 enable_warnings_as_errors
1095 enable_debug_symbols
1096 enable_zip_debug_info
1097 enable_native_coverage
1098 with_x
1099 with_cups
1100 with_cups_include
1101 with_freetype
1102 with_freetype_include
1103 with_freetype_lib
1104 with_freetype_src
1105 enable_freetype_bundling
1106 with_alsa
1107 with_alsa_include
1108 with_alsa_lib
1109 with_libjpeg
1110 with_giflib
1111 with_lcms
1112 with_libpng
1113 with_zlib
1114 with_stdc__lib


1843    esac
1844   cat <<\_ACEOF
1845 
1846 Optional Features:
1847   --disable-option-checking  ignore unrecognized --enable/--with options
1848   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1849   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1850   --enable-openjdk-only   suppress building custom source even if present
1851                           [disabled]
1852   --enable-debug          set the debug level to fastdebug (shorthand for
1853                           --with-debug-level=fastdebug) [disabled]
1854   --disable-headful       disable building headful support (graphical UI
1855                           support) [enabled]
1856   --enable-hotspot-test-in-build
1857                           run the Queens test after Hotspot build [disabled]
1858   --enable-unlimited-crypto
1859                           Enable unlimited crypto policy [disabled]
1860   --enable-rmiconnector-iiop
1861                           enable the JMX RMIConnector iiop transport
1862                           [disabled]
1863   --disable-warnings-as-errors
1864                           do not consider native warnings to be an error
1865                           [enabled]
1866   --disable-debug-symbols disable generation of debug symbols [enabled]
1867   --disable-zip-debug-info
1868                           disable zipping of debug-info files [enabled]
1869   --enable-native-coverage
1870                           enable native compilation with code coverage
1871                           data[disabled]
1872   --disable-freetype-bundling
1873                           disable bundling of the freetype library with the
1874                           build result [enabled on Windows or when using
1875                           --with-freetype, disabled otherwise]
1876   --enable-sjavac         use sjavac to do fast incremental compiles
1877                           [disabled]
1878   --disable-precompiled-headers
1879                           disable using precompiled headers when compiling C++
1880                           [enabled]
1881   --enable-ccache         enable using ccache to speed up recompilations
1882                           [disabled]
1883 
1884 Optional Packages:
1885   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]


4352 
4353 
4354 
4355 
4356 
4357 
4358 
4359 
4360 
4361 
4362 
4363 
4364 
4365 
4366 # This line needs to be here, verbatim, after all includes and the dummy hook
4367 # definitions. It is replaced with custom functionality when building
4368 # custom sources.
4369 #CUSTOM_AUTOCONF_INCLUDE
4370 
4371 # Do not change or remove the following line, it is needed for consistency checks:
4372 DATE_WHEN_GENERATED=1429267013
4373 
4374 ###############################################################################
4375 #
4376 # Initialization / Boot-strapping
4377 #
4378 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4379 # thus it jumps back and forth, each time gaining something needed later on.
4380 #
4381 ###############################################################################
4382 
4383 # If we are requested to print additional help, do that and then exit.
4384 # This must be the very first call.
4385 
4386   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4387     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4388     $PRINTF "Which are valid to use depends on the build platform.\n"
4389     for toolchain in $VALID_TOOLCHAINS_all; do
4390       # Use indirect variable referencing
4391       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4392       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


42253     SET_SHARED_LIBRARY_NAME=''
42254     SET_SHARED_LIBRARY_MAPFILE=''
42255   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
42256     PICFLAG=""
42257     C_FLAG_REORDER=''
42258     CXX_FLAG_REORDER=''
42259     SHARED_LIBRARY_FLAGS="-LD"
42260     SET_EXECUTABLE_ORIGIN=''
42261     SET_SHARED_LIBRARY_ORIGIN=''
42262     SET_SHARED_LIBRARY_NAME=''
42263     SET_SHARED_LIBRARY_MAPFILE=''
42264   fi
42265 
42266 
42267 
42268 
42269 
42270 
42271 
42272 

42273   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
42274     CFLAGS_JDK="${CFLAGS_JDK} -D__solaris__"
42275     CXXFLAGS_JDK="${CXXFLAGS_JDK} -D__solaris__"
42276     CFLAGS_JDKLIB_EXTRA='-xstrconst'
42277   fi
42278   # The (cross) compiler is now configured, we can now test capabilities
42279   # of the target platform.
42280 
42281 
42282 
42283   ###############################################################################
42284   #
42285   # Setup the opt flags for different compilers
42286   # and different operating systems.
42287   #
42288 
42289   # FIXME: this was indirectly the old default, but just inherited.
42290   # if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
42291   #   C_FLAG_DEPS="-MMD -MF"
42292   # fi


42960 else
42961   supports=no
42962 fi
42963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42964   ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969 
42970   CXXFLAGS="$saved_cxxflags"
42971 
42972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports" >&5
42973 $as_echo "$supports" >&6; }
42974   if test "x$supports" = "xyes" ; then
42975     COMPILER_SUPPORTS_TARGET_BITS_FLAG=true
42976   else
42977     COMPILER_SUPPORTS_TARGET_BITS_FLAG=false
42978   fi
42979 
42980 
42981 
42982   # Check whether --enable-warnings-as-errors was given.
42983 if test "${enable_warnings_as_errors+set}" = set; then :
42984   enableval=$enable_warnings_as_errors;
42985 fi
42986 
42987 
42988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if native warnings are errors" >&5
42989 $as_echo_n "checking if native warnings are errors... " >&6; }
42990   if test "x$enable_warnings_as_errors" = "xyes"; then
42991     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (explicitely set)" >&5
42992 $as_echo "yes (explicitely set)" >&6; }
42993     WARNINGS_AS_ERRORS=true
42994   elif test "x$enable_warnings_as_errors" = "xno"; then
42995     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42996 $as_echo "no" >&6; }
42997     WARNINGS_AS_ERRORS=false
42998   elif test "x$enable_warnings_as_errors" = "x"; then
42999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
43000 $as_echo "yes (default)" >&6; }
43001     WARNINGS_AS_ERRORS=true
43002   else
43003     as_fn_error $? "--enable-warnings-as-errors accepts no argument" "$LINENO" 5
43004   fi
43005 
43006 
43007   case "${TOOLCHAIN_TYPE}" in
43008     microsoft)
43009       DISABLE_WARNING_PREFIX="-wd"
43010       CFLAGS_WARNINGS_ARE_ERRORS="-WX"
43011       ;;
43012     solstudio)
43013       DISABLE_WARNING_PREFIX="-erroff="
43014       CFLAGS_WARNINGS_ARE_ERRORS="-errtags -errwarn=%all"
43015       ;;
43016     gcc)
43017       # Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error
43018 
43019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports \"-Wno-this-is-a-warning-that-do-not-exist\"" >&5
43020 $as_echo_n "checking if compiler supports \"-Wno-this-is-a-warning-that-do-not-exist\"... " >&6; }
43021   supports=yes
43022 
43023   saved_cflags="$CFLAGS"
43024   CFLAGS="$CFLAGS -Wno-this-is-a-warning-that-do-not-exist"


< prev index next >