common/autoconf/generated-configure.sh

Print this page




4933 
4934 
4935 
4936 
4937 
4938 
4939 
4940 
4941 
4942 
4943 
4944 
4945 
4946 
4947 # This line needs to be here, verbatim, after all includes and the dummy hook
4948 # definitions. It is replaced with custom functionality when building
4949 # custom sources.
4950 #CUSTOM_AUTOCONF_INCLUDE
4951 
4952 # Do not change or remove the following line, it is needed for consistency checks:
4953 DATE_WHEN_GENERATED=1458558778
4954 
4955 ###############################################################################
4956 #
4957 # Initialization / Boot-strapping
4958 #
4959 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4960 # thus it jumps back and forth, each time gaining something needed later on.
4961 #
4962 ###############################################################################
4963 
4964 # If we are requested to print additional help, do that and then exit.
4965 # This must be the very first call.
4966 
4967   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
4968 
4969     # Print available toolchains
4970     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4971     $PRINTF "Which are valid to use depends on the build platform.\n"
4972     for toolchain in $VALID_TOOLCHAINS_all; do
4973       # Use indirect variable referencing


61690   ac_cv_lib_z_compress=yes
61691 else
61692   ac_cv_lib_z_compress=no
61693 fi
61694 rm -f core conftest.err conftest.$ac_objext \
61695     conftest$ac_exeext conftest.$ac_ext
61696 LIBS=$ac_check_lib_save_LIBS
61697 fi
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
61699 $as_echo "$ac_cv_lib_z_compress" >&6; }
61700 if test "x$ac_cv_lib_z_compress" = xyes; then :
61701    ZLIB_FOUND=yes
61702 else
61703    ZLIB_FOUND=no
61704 fi
61705 
61706 
61707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which zlib to use" >&5
61708 $as_echo_n "checking for which zlib to use... " >&6; }
61709 
61710   DEFAULT_ZLIB=bundled
61711   if test "x$OPENJDK_TARGET_OS" = xmacosx; then
61712     # On macosx default is system...on others default is bundled
61713     DEFAULT_ZLIB=system



61714   fi
61715 
61716   if test "x${ZLIB_FOUND}" != "xyes"; then
61717     # If we don't find any system...set default to bundled
61718     DEFAULT_ZLIB=bundled
61719   fi
61720 
61721   # If user didn't specify, use DEFAULT_ZLIB
61722   if test "x${with_zlib}" = "x"; then
61723     with_zlib=${DEFAULT_ZLIB}
61724   fi
61725 
61726   if test "x${with_zlib}" = "xbundled"; then
61727     USE_EXTERNAL_LIBZ=false
61728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: bundled" >&5
61729 $as_echo "bundled" >&6; }
61730   elif test "x${with_zlib}" = "xsystem"; then
61731     if test "x${ZLIB_FOUND}" = "xyes"; then
61732       USE_EXTERNAL_LIBZ=true
61733       { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5




4933 
4934 
4935 
4936 
4937 
4938 
4939 
4940 
4941 
4942 
4943 
4944 
4945 
4946 
4947 # This line needs to be here, verbatim, after all includes and the dummy hook
4948 # definitions. It is replaced with custom functionality when building
4949 # custom sources.
4950 #CUSTOM_AUTOCONF_INCLUDE
4951 
4952 # Do not change or remove the following line, it is needed for consistency checks:
4953 DATE_WHEN_GENERATED=1458755892
4954 
4955 ###############################################################################
4956 #
4957 # Initialization / Boot-strapping
4958 #
4959 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4960 # thus it jumps back and forth, each time gaining something needed later on.
4961 #
4962 ###############################################################################
4963 
4964 # If we are requested to print additional help, do that and then exit.
4965 # This must be the very first call.
4966 
4967   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
4968 
4969     # Print available toolchains
4970     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4971     $PRINTF "Which are valid to use depends on the build platform.\n"
4972     for toolchain in $VALID_TOOLCHAINS_all; do
4973       # Use indirect variable referencing


61690   ac_cv_lib_z_compress=yes
61691 else
61692   ac_cv_lib_z_compress=no
61693 fi
61694 rm -f core conftest.err conftest.$ac_objext \
61695     conftest$ac_exeext conftest.$ac_ext
61696 LIBS=$ac_check_lib_save_LIBS
61697 fi
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
61699 $as_echo "$ac_cv_lib_z_compress" >&6; }
61700 if test "x$ac_cv_lib_z_compress" = xyes; then :
61701    ZLIB_FOUND=yes
61702 else
61703    ZLIB_FOUND=no
61704 fi
61705 
61706 
61707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which zlib to use" >&5
61708 $as_echo_n "checking for which zlib to use... " >&6; }
61709 



61710   DEFAULT_ZLIB=system
61711   if test "x$OPENJDK_TARGET_OS" = xwindows; then
61712     # On windows default is bundled...on others default is system
61713     DEFAULT_ZLIB=bundled
61714   fi
61715 
61716   if test "x${ZLIB_FOUND}" != "xyes"; then
61717     # If we don't find any system...set default to bundled
61718     DEFAULT_ZLIB=bundled
61719   fi
61720 
61721   # If user didn't specify, use DEFAULT_ZLIB
61722   if test "x${with_zlib}" = "x"; then
61723     with_zlib=${DEFAULT_ZLIB}
61724   fi
61725 
61726   if test "x${with_zlib}" = "xbundled"; then
61727     USE_EXTERNAL_LIBZ=false
61728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: bundled" >&5
61729 $as_echo "bundled" >&6; }
61730   elif test "x${with_zlib}" = "xsystem"; then
61731     if test "x${ZLIB_FOUND}" = "xyes"; then
61732       USE_EXTERNAL_LIBZ=true
61733       { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5