changeset 20344 | 541549e79ba8 |
parent 17657 | 6172c55f2c78 |
parent 17593 | de6741d8a142 |
child 20345 | 4dbbe18ad78f |
17658:f2e1cf522714 | 20344:541549e79ba8 |
---|---|
597 LIBOBJS |
597 LIBOBJS |
598 CCACHE |
598 CCACHE |
599 USE_PRECOMPILED_HEADER |
599 USE_PRECOMPILED_HEADER |
600 SJAVAC_SERVER_DIR |
600 SJAVAC_SERVER_DIR |
601 ENABLE_SJAVAC |
601 ENABLE_SJAVAC |
602 SJAVAC_SERVER_CORES |
|
603 SJAVAC_SERVER_JAVA |
602 SJAVAC_SERVER_JAVA |
604 JOBS |
603 JOBS |
605 MEMORY_SIZE |
604 MEMORY_SIZE |
606 NUM_CORES |
605 NUM_CORES |
607 ENABLE_INTREE_EC |
606 ENABLE_INTREE_EC |
680 LIBRARY_PREFIX |
679 LIBRARY_PREFIX |
681 STATIC_LIBRARY |
680 STATIC_LIBRARY |
682 SHARED_LIBRARY |
681 SHARED_LIBRARY |
683 OBJ_SUFFIX |
682 OBJ_SUFFIX |
684 COMPILER_NAME |
683 COMPILER_NAME |
684 JTREGEXE |
|
685 JT_HOME |
|
685 LIPO |
686 LIPO |
686 ac_ct_OBJDUMP |
687 ac_ct_OBJDUMP |
687 OBJDUMP |
688 OBJDUMP |
688 ac_ct_OBJCOPY |
689 ac_ct_OBJCOPY |
689 OBJCOPY |
690 OBJCOPY |
1003 with_import_hotspot |
1004 with_import_hotspot |
1004 with_msvcr_dll |
1005 with_msvcr_dll |
1005 with_dxsdk |
1006 with_dxsdk |
1006 with_dxsdk_lib |
1007 with_dxsdk_lib |
1007 with_dxsdk_include |
1008 with_dxsdk_include |
1009 with_jtreg |
|
1008 with_extra_cflags |
1010 with_extra_cflags |
1009 with_extra_cxxflags |
1011 with_extra_cxxflags |
1010 with_extra_ldflags |
1012 with_extra_ldflags |
1011 enable_debug_symbols |
1013 enable_debug_symbols |
1012 enable_zip_debug_info |
1014 enable_zip_debug_info |
1023 with_stdc__lib |
1025 with_stdc__lib |
1024 with_num_cores |
1026 with_num_cores |
1025 with_memory_size |
1027 with_memory_size |
1026 with_jobs |
1028 with_jobs |
1027 with_sjavac_server_java |
1029 with_sjavac_server_java |
1028 with_sjavac_server_cores |
|
1029 enable_sjavac |
1030 enable_sjavac |
1030 enable_precompiled_headers |
1031 enable_precompiled_headers |
1031 enable_ccache |
1032 enable_ccache |
1032 with_ccache_dir |
1033 with_ccache_dir |
1033 ' |
1034 ' |
1762 --with-dxsdk the DirectX SDK (Windows only) [probed] |
1763 --with-dxsdk the DirectX SDK (Windows only) [probed] |
1763 --with-dxsdk-lib the DirectX SDK lib directory (Windows only) |
1764 --with-dxsdk-lib the DirectX SDK lib directory (Windows only) |
1764 [probed] |
1765 [probed] |
1765 --with-dxsdk-include the DirectX SDK include directory (Windows only) |
1766 --with-dxsdk-include the DirectX SDK include directory (Windows only) |
1766 [probed] |
1767 [probed] |
1768 --with-jtreg Regression Test Harness [probed] |
|
1767 --with-extra-cflags extra flags to be used when compiling jdk c-files |
1769 --with-extra-cflags extra flags to be used when compiling jdk c-files |
1768 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files |
1770 --with-extra-cxxflags extra flags to be used when compiling jdk c++-files |
1769 --with-extra-ldflags extra flags to be used when linking jdk |
1771 --with-extra-ldflags extra flags to be used when linking jdk |
1770 --with-x use the X Window System |
1772 --with-x use the X Window System |
1771 --with-cups specify prefix directory for the cups package |
1773 --with-cups specify prefix directory for the cups package |
1794 --with-jobs number of parallel jobs to let make run [calculated |
1796 --with-jobs number of parallel jobs to let make run [calculated |
1795 based on cores and memory] |
1797 based on cores and memory] |
1796 --with-sjavac-server-java |
1798 --with-sjavac-server-java |
1797 use this java binary for running the sjavac |
1799 use this java binary for running the sjavac |
1798 background server [Boot JDK java] |
1800 background server [Boot JDK java] |
1799 --with-sjavac-server-cores |
|
1800 use at most this number of concurrent threads on the |
|
1801 sjavac server [probed] |
|
1802 --with-ccache-dir where to store ccache files [~/.ccache] |
1801 --with-ccache-dir where to store ccache files [~/.ccache] |
1803 |
1802 |
1804 Some influential environment variables: |
1803 Some influential environment variables: |
1805 PKG_CONFIG path to pkg-config utility |
1804 PKG_CONFIG path to pkg-config utility |
1806 CC C compiler command |
1805 CC C compiler command |
3075 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
3074 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
3076 # or visit www.oracle.com if you need additional information or have any |
3075 # or visit www.oracle.com if you need additional information or have any |
3077 # questions. |
3076 # questions. |
3078 # |
3077 # |
3079 |
3078 |
3079 # Test if $1 is a valid argument to $3 (often is $JAVA passed as $3) |
|
3080 # If so, then append $1 to $2\ |
|
3081 # Also set JVM_ARG_OK to true/false depending on outcome. |
|
3080 |
3082 |
3081 |
3083 |
3082 # This will make sure the given variable points to a full and proper |
3084 # This will make sure the given variable points to a full and proper |
3083 # path. This means: |
3085 # path. This means: |
3084 # 1) There will be no spaces in the path. On posix platforms, |
3086 # 1) There will be no spaces in the path. On posix platforms, |
3723 # Check that the c and c++ compilers support an argument |
3725 # Check that the c and c++ compilers support an argument |
3724 |
3726 |
3725 |
3727 |
3726 |
3728 |
3727 |
3729 |
3730 # Setup the JTREG paths |
|
3731 |
|
3732 |
|
3728 # |
3733 # |
3729 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3734 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
3730 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3735 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3731 # |
3736 # |
3732 # This code is free software; you can redistribute it and/or modify it |
3737 # This code is free software; you can redistribute it and/or modify it |
3773 # definitions. It is replaced with custom functionality when building |
3778 # definitions. It is replaced with custom functionality when building |
3774 # custom sources. |
3779 # custom sources. |
3775 #CUSTOM_AUTOCONF_INCLUDE |
3780 #CUSTOM_AUTOCONF_INCLUDE |
3776 |
3781 |
3777 # Do not change or remove the following line, it is needed for consistency checks: |
3782 # Do not change or remove the following line, it is needed for consistency checks: |
3778 DATE_WHEN_GENERATED=1369764185 |
3783 DATE_WHEN_GENERATED=1369723814 |
3779 |
3784 |
3780 ############################################################################### |
3785 ############################################################################### |
3781 # |
3786 # |
3782 # Initialization / Boot-strapping |
3787 # Initialization / Boot-strapping |
3783 # |
3788 # |
7387 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
7392 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
7388 |
7393 |
7389 else |
7394 else |
7390 # We're on a posix platform. Hooray! :) |
7395 # We're on a posix platform. Hooray! :) |
7391 path="$SRC_ROOT" |
7396 path="$SRC_ROOT" |
7392 |
|
7393 if test ! -f "$path" && test ! -d "$path"; then |
|
7394 as_fn_error $? "The path of SRC_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
7395 fi |
|
7396 |
|
7397 has_space=`$ECHO "$path" | $GREP " "` |
7397 has_space=`$ECHO "$path" | $GREP " "` |
7398 if test "x$has_space" != x; then |
7398 if test "x$has_space" != x; then |
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of SRC_ROOT, which resolves as \"$path\", is invalid." >&5 |
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of SRC_ROOT, which resolves as \"$path\", is invalid." >&5 |
7400 $as_echo "$as_me: The path of SRC_ROOT, which resolves as \"$path\", is invalid." >&6;} |
7400 $as_echo "$as_me: The path of SRC_ROOT, which resolves as \"$path\", is invalid." >&6;} |
7401 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
7401 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
7402 fi |
7402 fi |
7403 |
|
7404 # Use eval to expand a potential ~ |
|
7405 eval path="$path" |
|
7406 if test ! -f "$path" && test ! -d "$path"; then |
|
7407 as_fn_error $? "The path of SRC_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
7408 fi |
|
7409 |
|
7410 SRC_ROOT="`cd "$path"; $THEPWDCMD`" |
|
7403 fi |
7411 fi |
7404 |
7412 |
7405 |
7413 |
7406 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
7414 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
7407 |
7415 |
7506 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
7514 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
7507 |
7515 |
7508 else |
7516 else |
7509 # We're on a posix platform. Hooray! :) |
7517 # We're on a posix platform. Hooray! :) |
7510 path="$CURDIR" |
7518 path="$CURDIR" |
7511 |
|
7512 if test ! -f "$path" && test ! -d "$path"; then |
|
7513 as_fn_error $? "The path of CURDIR, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
7514 fi |
|
7515 |
|
7516 has_space=`$ECHO "$path" | $GREP " "` |
7519 has_space=`$ECHO "$path" | $GREP " "` |
7517 if test "x$has_space" != x; then |
7520 if test "x$has_space" != x; then |
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CURDIR, which resolves as \"$path\", is invalid." >&5 |
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of CURDIR, which resolves as \"$path\", is invalid." >&5 |
7519 $as_echo "$as_me: The path of CURDIR, which resolves as \"$path\", is invalid." >&6;} |
7522 $as_echo "$as_me: The path of CURDIR, which resolves as \"$path\", is invalid." >&6;} |
7520 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
7523 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
7521 fi |
7524 fi |
7525 |
|
7526 # Use eval to expand a potential ~ |
|
7527 eval path="$path" |
|
7528 if test ! -f "$path" && test ! -d "$path"; then |
|
7529 as_fn_error $? "The path of CURDIR, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
7530 fi |
|
7531 |
|
7532 CURDIR="`cd "$path"; $THEPWDCMD`" |
|
7522 fi |
7533 fi |
7523 |
7534 |
7524 |
7535 |
7525 if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then |
7536 if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then |
7526 # Add extra search paths on solaris for utilities like ar and as etc... |
7537 # Add extra search paths on solaris for utilities like ar and as etc... |
8102 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
8113 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
8103 |
8114 |
8104 else |
8115 else |
8105 # We're on a posix platform. Hooray! :) |
8116 # We're on a posix platform. Hooray! :) |
8106 path="$OUTPUT_ROOT" |
8117 path="$OUTPUT_ROOT" |
8107 |
|
8108 if test ! -f "$path" && test ! -d "$path"; then |
|
8109 as_fn_error $? "The path of OUTPUT_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
8110 fi |
|
8111 |
|
8112 has_space=`$ECHO "$path" | $GREP " "` |
8118 has_space=`$ECHO "$path" | $GREP " "` |
8113 if test "x$has_space" != x; then |
8119 if test "x$has_space" != x; then |
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of OUTPUT_ROOT, which resolves as \"$path\", is invalid." >&5 |
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of OUTPUT_ROOT, which resolves as \"$path\", is invalid." >&5 |
8115 $as_echo "$as_me: The path of OUTPUT_ROOT, which resolves as \"$path\", is invalid." >&6;} |
8121 $as_echo "$as_me: The path of OUTPUT_ROOT, which resolves as \"$path\", is invalid." >&6;} |
8116 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
8122 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
8117 fi |
8123 fi |
8124 |
|
8125 # Use eval to expand a potential ~ |
|
8126 eval path="$path" |
|
8127 if test ! -f "$path" && test ! -d "$path"; then |
|
8128 as_fn_error $? "The path of OUTPUT_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
8129 fi |
|
8130 |
|
8131 OUTPUT_ROOT="`cd "$path"; $THEPWDCMD`" |
|
8118 fi |
8132 fi |
8119 |
8133 |
8120 |
8134 |
8121 SPEC=$OUTPUT_ROOT/spec.gmk |
8135 SPEC=$OUTPUT_ROOT/spec.gmk |
8122 |
8136 |
11159 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11173 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11160 |
11174 |
11161 else |
11175 else |
11162 # We're on a posix platform. Hooray! :) |
11176 # We're on a posix platform. Hooray! :) |
11163 path="$BOOT_JDK" |
11177 path="$BOOT_JDK" |
11164 |
|
11165 if test ! -f "$path" && test ! -d "$path"; then |
|
11166 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11167 fi |
|
11168 |
|
11169 has_space=`$ECHO "$path" | $GREP " "` |
11178 has_space=`$ECHO "$path" | $GREP " "` |
11170 if test "x$has_space" != x; then |
11179 if test "x$has_space" != x; then |
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11172 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11181 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11173 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11182 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11174 fi |
11183 fi |
11184 |
|
11185 # Use eval to expand a potential ~ |
|
11186 eval path="$path" |
|
11187 if test ! -f "$path" && test ! -d "$path"; then |
|
11188 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11189 fi |
|
11190 |
|
11191 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
11175 fi |
11192 fi |
11176 |
11193 |
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11178 $as_echo_n "checking for Boot JDK... " >&6; } |
11195 $as_echo_n "checking for Boot JDK... " >&6; } |
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11488 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11505 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11489 |
11506 |
11490 else |
11507 else |
11491 # We're on a posix platform. Hooray! :) |
11508 # We're on a posix platform. Hooray! :) |
11492 path="$BOOT_JDK" |
11509 path="$BOOT_JDK" |
11493 |
|
11494 if test ! -f "$path" && test ! -d "$path"; then |
|
11495 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11496 fi |
|
11497 |
|
11498 has_space=`$ECHO "$path" | $GREP " "` |
11510 has_space=`$ECHO "$path" | $GREP " "` |
11499 if test "x$has_space" != x; then |
11511 if test "x$has_space" != x; then |
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11501 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11513 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11502 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11514 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11503 fi |
11515 fi |
11516 |
|
11517 # Use eval to expand a potential ~ |
|
11518 eval path="$path" |
|
11519 if test ! -f "$path" && test ! -d "$path"; then |
|
11520 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11521 fi |
|
11522 |
|
11523 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
11504 fi |
11524 fi |
11505 |
11525 |
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11507 $as_echo_n "checking for Boot JDK... " >&6; } |
11527 $as_echo_n "checking for Boot JDK... " >&6; } |
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11631 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11651 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11632 |
11652 |
11633 else |
11653 else |
11634 # We're on a posix platform. Hooray! :) |
11654 # We're on a posix platform. Hooray! :) |
11635 path="$JAVA_HOME_PROCESSED" |
11655 path="$JAVA_HOME_PROCESSED" |
11636 |
|
11637 if test ! -f "$path" && test ! -d "$path"; then |
|
11638 as_fn_error $? "The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11639 fi |
|
11640 |
|
11641 has_space=`$ECHO "$path" | $GREP " "` |
11656 has_space=`$ECHO "$path" | $GREP " "` |
11642 if test "x$has_space" != x; then |
11657 if test "x$has_space" != x; then |
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is invalid." >&5 |
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is invalid." >&5 |
11644 $as_echo "$as_me: The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is invalid." >&6;} |
11659 $as_echo "$as_me: The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is invalid." >&6;} |
11645 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11660 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11646 fi |
11661 fi |
11662 |
|
11663 # Use eval to expand a potential ~ |
|
11664 eval path="$path" |
|
11665 if test ! -f "$path" && test ! -d "$path"; then |
|
11666 as_fn_error $? "The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11667 fi |
|
11668 |
|
11669 JAVA_HOME_PROCESSED="`cd "$path"; $THEPWDCMD`" |
|
11647 fi |
11670 fi |
11648 |
11671 |
11649 if test ! -d "$JAVA_HOME_PROCESSED"; then |
11672 if test ! -d "$JAVA_HOME_PROCESSED"; then |
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: Your JAVA_HOME points to a non-existing directory!" >&5 |
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: Your JAVA_HOME points to a non-existing directory!" >&5 |
11651 $as_echo "$as_me: Your JAVA_HOME points to a non-existing directory!" >&6;} |
11674 $as_echo "$as_me: Your JAVA_HOME points to a non-existing directory!" >&6;} |
11800 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11823 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11801 |
11824 |
11802 else |
11825 else |
11803 # We're on a posix platform. Hooray! :) |
11826 # We're on a posix platform. Hooray! :) |
11804 path="$BOOT_JDK" |
11827 path="$BOOT_JDK" |
11805 |
|
11806 if test ! -f "$path" && test ! -d "$path"; then |
|
11807 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11808 fi |
|
11809 |
|
11810 has_space=`$ECHO "$path" | $GREP " "` |
11828 has_space=`$ECHO "$path" | $GREP " "` |
11811 if test "x$has_space" != x; then |
11829 if test "x$has_space" != x; then |
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11813 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11831 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11814 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11832 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
11815 fi |
11833 fi |
11834 |
|
11835 # Use eval to expand a potential ~ |
|
11836 eval path="$path" |
|
11837 if test ! -f "$path" && test ! -d "$path"; then |
|
11838 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11839 fi |
|
11840 |
|
11841 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
11816 fi |
11842 fi |
11817 |
11843 |
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
11819 $as_echo_n "checking for Boot JDK... " >&6; } |
11845 $as_echo_n "checking for Boot JDK... " >&6; } |
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
11985 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12011 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
11986 |
12012 |
11987 else |
12013 else |
11988 # We're on a posix platform. Hooray! :) |
12014 # We're on a posix platform. Hooray! :) |
11989 path="$BOOT_JDK" |
12015 path="$BOOT_JDK" |
11990 |
|
11991 if test ! -f "$path" && test ! -d "$path"; then |
|
11992 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
11993 fi |
|
11994 |
|
11995 has_space=`$ECHO "$path" | $GREP " "` |
12016 has_space=`$ECHO "$path" | $GREP " "` |
11996 if test "x$has_space" != x; then |
12017 if test "x$has_space" != x; then |
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
11998 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12019 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
11999 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12020 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12000 fi |
12021 fi |
12022 |
|
12023 # Use eval to expand a potential ~ |
|
12024 eval path="$path" |
|
12025 if test ! -f "$path" && test ! -d "$path"; then |
|
12026 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12027 fi |
|
12028 |
|
12029 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
12001 fi |
12030 fi |
12002 |
12031 |
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12004 $as_echo_n "checking for Boot JDK... " >&6; } |
12033 $as_echo_n "checking for Boot JDK... " >&6; } |
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12310 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12339 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12311 |
12340 |
12312 else |
12341 else |
12313 # We're on a posix platform. Hooray! :) |
12342 # We're on a posix platform. Hooray! :) |
12314 path="$BOOT_JDK" |
12343 path="$BOOT_JDK" |
12315 |
|
12316 if test ! -f "$path" && test ! -d "$path"; then |
|
12317 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12318 fi |
|
12319 |
|
12320 has_space=`$ECHO "$path" | $GREP " "` |
12344 has_space=`$ECHO "$path" | $GREP " "` |
12321 if test "x$has_space" != x; then |
12345 if test "x$has_space" != x; then |
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12323 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12347 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12324 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12348 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12325 fi |
12349 fi |
12350 |
|
12351 # Use eval to expand a potential ~ |
|
12352 eval path="$path" |
|
12353 if test ! -f "$path" && test ! -d "$path"; then |
|
12354 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12355 fi |
|
12356 |
|
12357 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
12326 fi |
12358 fi |
12327 |
12359 |
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12329 $as_echo_n "checking for Boot JDK... " >&6; } |
12361 $as_echo_n "checking for Boot JDK... " >&6; } |
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12522 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12554 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12523 |
12555 |
12524 else |
12556 else |
12525 # We're on a posix platform. Hooray! :) |
12557 # We're on a posix platform. Hooray! :) |
12526 path="$BOOT_JDK" |
12558 path="$BOOT_JDK" |
12527 |
|
12528 if test ! -f "$path" && test ! -d "$path"; then |
|
12529 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12530 fi |
|
12531 |
|
12532 has_space=`$ECHO "$path" | $GREP " "` |
12559 has_space=`$ECHO "$path" | $GREP " "` |
12533 if test "x$has_space" != x; then |
12560 if test "x$has_space" != x; then |
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12535 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12562 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12536 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12563 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12537 fi |
12564 fi |
12565 |
|
12566 # Use eval to expand a potential ~ |
|
12567 eval path="$path" |
|
12568 if test ! -f "$path" && test ! -d "$path"; then |
|
12569 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12570 fi |
|
12571 |
|
12572 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
12538 fi |
12573 fi |
12539 |
12574 |
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12541 $as_echo_n "checking for Boot JDK... " >&6; } |
12576 $as_echo_n "checking for Boot JDK... " >&6; } |
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12699 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12734 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12700 |
12735 |
12701 else |
12736 else |
12702 # We're on a posix platform. Hooray! :) |
12737 # We're on a posix platform. Hooray! :) |
12703 path="$BOOT_JDK" |
12738 path="$BOOT_JDK" |
12704 |
|
12705 if test ! -f "$path" && test ! -d "$path"; then |
|
12706 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12707 fi |
|
12708 |
|
12709 has_space=`$ECHO "$path" | $GREP " "` |
12739 has_space=`$ECHO "$path" | $GREP " "` |
12710 if test "x$has_space" != x; then |
12740 if test "x$has_space" != x; then |
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12712 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12742 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12713 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12743 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12714 fi |
12744 fi |
12745 |
|
12746 # Use eval to expand a potential ~ |
|
12747 eval path="$path" |
|
12748 if test ! -f "$path" && test ! -d "$path"; then |
|
12749 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12750 fi |
|
12751 |
|
12752 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
12715 fi |
12753 fi |
12716 |
12754 |
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12718 $as_echo_n "checking for Boot JDK... " >&6; } |
12756 $as_echo_n "checking for Boot JDK... " >&6; } |
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12904 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12942 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
12905 |
12943 |
12906 else |
12944 else |
12907 # We're on a posix platform. Hooray! :) |
12945 # We're on a posix platform. Hooray! :) |
12908 path="$BOOT_JDK" |
12946 path="$BOOT_JDK" |
12909 |
|
12910 if test ! -f "$path" && test ! -d "$path"; then |
|
12911 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12912 fi |
|
12913 |
|
12914 has_space=`$ECHO "$path" | $GREP " "` |
12947 has_space=`$ECHO "$path" | $GREP " "` |
12915 if test "x$has_space" != x; then |
12948 if test "x$has_space" != x; then |
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
12917 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12950 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
12918 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12951 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
12919 fi |
12952 fi |
12953 |
|
12954 # Use eval to expand a potential ~ |
|
12955 eval path="$path" |
|
12956 if test ! -f "$path" && test ! -d "$path"; then |
|
12957 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
12958 fi |
|
12959 |
|
12960 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
12920 fi |
12961 fi |
12921 |
12962 |
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
12923 $as_echo_n "checking for Boot JDK... " >&6; } |
12964 $as_echo_n "checking for Boot JDK... " >&6; } |
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13081 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13122 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13082 |
13123 |
13083 else |
13124 else |
13084 # We're on a posix platform. Hooray! :) |
13125 # We're on a posix platform. Hooray! :) |
13085 path="$BOOT_JDK" |
13126 path="$BOOT_JDK" |
13086 |
|
13087 if test ! -f "$path" && test ! -d "$path"; then |
|
13088 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13089 fi |
|
13090 |
|
13091 has_space=`$ECHO "$path" | $GREP " "` |
13127 has_space=`$ECHO "$path" | $GREP " "` |
13092 if test "x$has_space" != x; then |
13128 if test "x$has_space" != x; then |
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13094 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13130 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13095 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13131 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13096 fi |
13132 fi |
13133 |
|
13134 # Use eval to expand a potential ~ |
|
13135 eval path="$path" |
|
13136 if test ! -f "$path" && test ! -d "$path"; then |
|
13137 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13138 fi |
|
13139 |
|
13140 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
13097 fi |
13141 fi |
13098 |
13142 |
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13100 $as_echo_n "checking for Boot JDK... " >&6; } |
13144 $as_echo_n "checking for Boot JDK... " >&6; } |
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13286 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13330 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13287 |
13331 |
13288 else |
13332 else |
13289 # We're on a posix platform. Hooray! :) |
13333 # We're on a posix platform. Hooray! :) |
13290 path="$BOOT_JDK" |
13334 path="$BOOT_JDK" |
13291 |
|
13292 if test ! -f "$path" && test ! -d "$path"; then |
|
13293 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13294 fi |
|
13295 |
|
13296 has_space=`$ECHO "$path" | $GREP " "` |
13335 has_space=`$ECHO "$path" | $GREP " "` |
13297 if test "x$has_space" != x; then |
13336 if test "x$has_space" != x; then |
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13299 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13338 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13300 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13339 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13301 fi |
13340 fi |
13341 |
|
13342 # Use eval to expand a potential ~ |
|
13343 eval path="$path" |
|
13344 if test ! -f "$path" && test ! -d "$path"; then |
|
13345 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13346 fi |
|
13347 |
|
13348 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
13302 fi |
13349 fi |
13303 |
13350 |
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13305 $as_echo_n "checking for Boot JDK... " >&6; } |
13352 $as_echo_n "checking for Boot JDK... " >&6; } |
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13463 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13510 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13464 |
13511 |
13465 else |
13512 else |
13466 # We're on a posix platform. Hooray! :) |
13513 # We're on a posix platform. Hooray! :) |
13467 path="$BOOT_JDK" |
13514 path="$BOOT_JDK" |
13468 |
|
13469 if test ! -f "$path" && test ! -d "$path"; then |
|
13470 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13471 fi |
|
13472 |
|
13473 has_space=`$ECHO "$path" | $GREP " "` |
13515 has_space=`$ECHO "$path" | $GREP " "` |
13474 if test "x$has_space" != x; then |
13516 if test "x$has_space" != x; then |
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13476 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13518 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13477 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13519 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13478 fi |
13520 fi |
13521 |
|
13522 # Use eval to expand a potential ~ |
|
13523 eval path="$path" |
|
13524 if test ! -f "$path" && test ! -d "$path"; then |
|
13525 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13526 fi |
|
13527 |
|
13528 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
13479 fi |
13529 fi |
13480 |
13530 |
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13482 $as_echo_n "checking for Boot JDK... " >&6; } |
13532 $as_echo_n "checking for Boot JDK... " >&6; } |
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13668 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13718 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13669 |
13719 |
13670 else |
13720 else |
13671 # We're on a posix platform. Hooray! :) |
13721 # We're on a posix platform. Hooray! :) |
13672 path="$BOOT_JDK" |
13722 path="$BOOT_JDK" |
13673 |
|
13674 if test ! -f "$path" && test ! -d "$path"; then |
|
13675 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13676 fi |
|
13677 |
|
13678 has_space=`$ECHO "$path" | $GREP " "` |
13723 has_space=`$ECHO "$path" | $GREP " "` |
13679 if test "x$has_space" != x; then |
13724 if test "x$has_space" != x; then |
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13681 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13726 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13682 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13727 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13683 fi |
13728 fi |
13729 |
|
13730 # Use eval to expand a potential ~ |
|
13731 eval path="$path" |
|
13732 if test ! -f "$path" && test ! -d "$path"; then |
|
13733 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13734 fi |
|
13735 |
|
13736 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
13684 fi |
13737 fi |
13685 |
13738 |
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13687 $as_echo_n "checking for Boot JDK... " >&6; } |
13740 $as_echo_n "checking for Boot JDK... " >&6; } |
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13845 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13898 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
13846 |
13899 |
13847 else |
13900 else |
13848 # We're on a posix platform. Hooray! :) |
13901 # We're on a posix platform. Hooray! :) |
13849 path="$BOOT_JDK" |
13902 path="$BOOT_JDK" |
13850 |
|
13851 if test ! -f "$path" && test ! -d "$path"; then |
|
13852 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13853 fi |
|
13854 |
|
13855 has_space=`$ECHO "$path" | $GREP " "` |
13903 has_space=`$ECHO "$path" | $GREP " "` |
13856 if test "x$has_space" != x; then |
13904 if test "x$has_space" != x; then |
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
13858 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13906 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
13859 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13907 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
13860 fi |
13908 fi |
13909 |
|
13910 # Use eval to expand a potential ~ |
|
13911 eval path="$path" |
|
13912 if test ! -f "$path" && test ! -d "$path"; then |
|
13913 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
13914 fi |
|
13915 |
|
13916 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
13861 fi |
13917 fi |
13862 |
13918 |
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
13864 $as_echo_n "checking for Boot JDK... " >&6; } |
13920 $as_echo_n "checking for Boot JDK... " >&6; } |
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14037 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14093 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14038 |
14094 |
14039 else |
14095 else |
14040 # We're on a posix platform. Hooray! :) |
14096 # We're on a posix platform. Hooray! :) |
14041 path="$BOOT_JDK" |
14097 path="$BOOT_JDK" |
14042 |
|
14043 if test ! -f "$path" && test ! -d "$path"; then |
|
14044 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14045 fi |
|
14046 |
|
14047 has_space=`$ECHO "$path" | $GREP " "` |
14098 has_space=`$ECHO "$path" | $GREP " "` |
14048 if test "x$has_space" != x; then |
14099 if test "x$has_space" != x; then |
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14050 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14101 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14051 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14102 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14052 fi |
14103 fi |
14104 |
|
14105 # Use eval to expand a potential ~ |
|
14106 eval path="$path" |
|
14107 if test ! -f "$path" && test ! -d "$path"; then |
|
14108 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14109 fi |
|
14110 |
|
14111 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14053 fi |
14112 fi |
14054 |
14113 |
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14056 $as_echo_n "checking for Boot JDK... " >&6; } |
14115 $as_echo_n "checking for Boot JDK... " >&6; } |
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14212 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14271 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14213 |
14272 |
14214 else |
14273 else |
14215 # We're on a posix platform. Hooray! :) |
14274 # We're on a posix platform. Hooray! :) |
14216 path="$BOOT_JDK" |
14275 path="$BOOT_JDK" |
14217 |
|
14218 if test ! -f "$path" && test ! -d "$path"; then |
|
14219 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14220 fi |
|
14221 |
|
14222 has_space=`$ECHO "$path" | $GREP " "` |
14276 has_space=`$ECHO "$path" | $GREP " "` |
14223 if test "x$has_space" != x; then |
14277 if test "x$has_space" != x; then |
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14225 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14279 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14226 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14280 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14227 fi |
14281 fi |
14282 |
|
14283 # Use eval to expand a potential ~ |
|
14284 eval path="$path" |
|
14285 if test ! -f "$path" && test ! -d "$path"; then |
|
14286 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14287 fi |
|
14288 |
|
14289 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14228 fi |
14290 fi |
14229 |
14291 |
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14231 $as_echo_n "checking for Boot JDK... " >&6; } |
14293 $as_echo_n "checking for Boot JDK... " >&6; } |
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14405 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14467 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14406 |
14468 |
14407 else |
14469 else |
14408 # We're on a posix platform. Hooray! :) |
14470 # We're on a posix platform. Hooray! :) |
14409 path="$BOOT_JDK" |
14471 path="$BOOT_JDK" |
14410 |
|
14411 if test ! -f "$path" && test ! -d "$path"; then |
|
14412 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14413 fi |
|
14414 |
|
14415 has_space=`$ECHO "$path" | $GREP " "` |
14472 has_space=`$ECHO "$path" | $GREP " "` |
14416 if test "x$has_space" != x; then |
14473 if test "x$has_space" != x; then |
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14418 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14475 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14419 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14476 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14420 fi |
14477 fi |
14478 |
|
14479 # Use eval to expand a potential ~ |
|
14480 eval path="$path" |
|
14481 if test ! -f "$path" && test ! -d "$path"; then |
|
14482 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14483 fi |
|
14484 |
|
14485 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14421 fi |
14486 fi |
14422 |
14487 |
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14424 $as_echo_n "checking for Boot JDK... " >&6; } |
14489 $as_echo_n "checking for Boot JDK... " >&6; } |
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14580 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14645 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14581 |
14646 |
14582 else |
14647 else |
14583 # We're on a posix platform. Hooray! :) |
14648 # We're on a posix platform. Hooray! :) |
14584 path="$BOOT_JDK" |
14649 path="$BOOT_JDK" |
14585 |
|
14586 if test ! -f "$path" && test ! -d "$path"; then |
|
14587 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14588 fi |
|
14589 |
|
14590 has_space=`$ECHO "$path" | $GREP " "` |
14650 has_space=`$ECHO "$path" | $GREP " "` |
14591 if test "x$has_space" != x; then |
14651 if test "x$has_space" != x; then |
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14593 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14653 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14594 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14654 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14595 fi |
14655 fi |
14656 |
|
14657 # Use eval to expand a potential ~ |
|
14658 eval path="$path" |
|
14659 if test ! -f "$path" && test ! -d "$path"; then |
|
14660 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14661 fi |
|
14662 |
|
14663 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14596 fi |
14664 fi |
14597 |
14665 |
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14599 $as_echo_n "checking for Boot JDK... " >&6; } |
14667 $as_echo_n "checking for Boot JDK... " >&6; } |
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14772 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14840 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14773 |
14841 |
14774 else |
14842 else |
14775 # We're on a posix platform. Hooray! :) |
14843 # We're on a posix platform. Hooray! :) |
14776 path="$BOOT_JDK" |
14844 path="$BOOT_JDK" |
14777 |
|
14778 if test ! -f "$path" && test ! -d "$path"; then |
|
14779 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14780 fi |
|
14781 |
|
14782 has_space=`$ECHO "$path" | $GREP " "` |
14845 has_space=`$ECHO "$path" | $GREP " "` |
14783 if test "x$has_space" != x; then |
14846 if test "x$has_space" != x; then |
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14785 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14848 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14786 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14849 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14787 fi |
14850 fi |
14851 |
|
14852 # Use eval to expand a potential ~ |
|
14853 eval path="$path" |
|
14854 if test ! -f "$path" && test ! -d "$path"; then |
|
14855 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14856 fi |
|
14857 |
|
14858 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14788 fi |
14859 fi |
14789 |
14860 |
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14791 $as_echo_n "checking for Boot JDK... " >&6; } |
14862 $as_echo_n "checking for Boot JDK... " >&6; } |
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
14947 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15018 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
14948 |
15019 |
14949 else |
15020 else |
14950 # We're on a posix platform. Hooray! :) |
15021 # We're on a posix platform. Hooray! :) |
14951 path="$BOOT_JDK" |
15022 path="$BOOT_JDK" |
14952 |
|
14953 if test ! -f "$path" && test ! -d "$path"; then |
|
14954 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
14955 fi |
|
14956 |
|
14957 has_space=`$ECHO "$path" | $GREP " "` |
15023 has_space=`$ECHO "$path" | $GREP " "` |
14958 if test "x$has_space" != x; then |
15024 if test "x$has_space" != x; then |
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
14960 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15026 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
14961 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15027 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
14962 fi |
15028 fi |
15029 |
|
15030 # Use eval to expand a potential ~ |
|
15031 eval path="$path" |
|
15032 if test ! -f "$path" && test ! -d "$path"; then |
|
15033 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15034 fi |
|
15035 |
|
15036 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
14963 fi |
15037 fi |
14964 |
15038 |
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
14966 $as_echo_n "checking for Boot JDK... " >&6; } |
15040 $as_echo_n "checking for Boot JDK... " >&6; } |
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15140 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15214 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15141 |
15215 |
15142 else |
15216 else |
15143 # We're on a posix platform. Hooray! :) |
15217 # We're on a posix platform. Hooray! :) |
15144 path="$BOOT_JDK" |
15218 path="$BOOT_JDK" |
15145 |
|
15146 if test ! -f "$path" && test ! -d "$path"; then |
|
15147 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15148 fi |
|
15149 |
|
15150 has_space=`$ECHO "$path" | $GREP " "` |
15219 has_space=`$ECHO "$path" | $GREP " "` |
15151 if test "x$has_space" != x; then |
15220 if test "x$has_space" != x; then |
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15153 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15222 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15154 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15223 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15155 fi |
15224 fi |
15225 |
|
15226 # Use eval to expand a potential ~ |
|
15227 eval path="$path" |
|
15228 if test ! -f "$path" && test ! -d "$path"; then |
|
15229 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15230 fi |
|
15231 |
|
15232 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
15156 fi |
15233 fi |
15157 |
15234 |
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15159 $as_echo_n "checking for Boot JDK... " >&6; } |
15236 $as_echo_n "checking for Boot JDK... " >&6; } |
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15315 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15392 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15316 |
15393 |
15317 else |
15394 else |
15318 # We're on a posix platform. Hooray! :) |
15395 # We're on a posix platform. Hooray! :) |
15319 path="$BOOT_JDK" |
15396 path="$BOOT_JDK" |
15320 |
|
15321 if test ! -f "$path" && test ! -d "$path"; then |
|
15322 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15323 fi |
|
15324 |
|
15325 has_space=`$ECHO "$path" | $GREP " "` |
15397 has_space=`$ECHO "$path" | $GREP " "` |
15326 if test "x$has_space" != x; then |
15398 if test "x$has_space" != x; then |
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15328 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15400 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15329 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15401 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15330 fi |
15402 fi |
15403 |
|
15404 # Use eval to expand a potential ~ |
|
15405 eval path="$path" |
|
15406 if test ! -f "$path" && test ! -d "$path"; then |
|
15407 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15408 fi |
|
15409 |
|
15410 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
15331 fi |
15411 fi |
15332 |
15412 |
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15334 $as_echo_n "checking for Boot JDK... " >&6; } |
15414 $as_echo_n "checking for Boot JDK... " >&6; } |
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15489 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15569 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
15490 |
15570 |
15491 else |
15571 else |
15492 # We're on a posix platform. Hooray! :) |
15572 # We're on a posix platform. Hooray! :) |
15493 path="$BOOT_JDK" |
15573 path="$BOOT_JDK" |
15494 |
|
15495 if test ! -f "$path" && test ! -d "$path"; then |
|
15496 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15497 fi |
|
15498 |
|
15499 has_space=`$ECHO "$path" | $GREP " "` |
15574 has_space=`$ECHO "$path" | $GREP " "` |
15500 if test "x$has_space" != x; then |
15575 if test "x$has_space" != x; then |
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&5 |
15502 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15577 $as_echo "$as_me: The path of BOOT_JDK, which resolves as \"$path\", is invalid." >&6;} |
15503 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15578 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
15504 fi |
15579 fi |
15580 |
|
15581 # Use eval to expand a potential ~ |
|
15582 eval path="$path" |
|
15583 if test ! -f "$path" && test ! -d "$path"; then |
|
15584 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
15585 fi |
|
15586 |
|
15587 BOOT_JDK="`cd "$path"; $THEPWDCMD`" |
|
15505 fi |
15588 fi |
15506 |
15589 |
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boot JDK" >&5 |
15508 $as_echo_n "checking for Boot JDK... " >&6; } |
15591 $as_echo_n "checking for Boot JDK... " >&6; } |
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 |
15703 STACK_SIZE=1536 |
15786 STACK_SIZE=1536 |
15704 fi |
15787 fi |
15705 |
15788 |
15706 # Minimum amount of heap memory. |
15789 # Minimum amount of heap memory. |
15707 |
15790 |
15708 # Test if -Xms64M is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15791 $ECHO "Check if jvm arg is ok: -Xms64M" >&5 |
15709 # If so, then append -Xms64M to boot_jdk_jvmargs |
15792 $ECHO "Command: $JAVA -Xms64M -version" >&5 |
15710 FOUND_WARN=`$JAVA -Xms64M -version 2>&1 | grep -i warn` |
15793 OUTPUT=`$JAVA -Xms64M -version 2>&1` |
15711 FOUND_VERSION=`$JAVA -Xms64M -version 2>&1 | grep " version \""` |
15794 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
15795 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15712 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15796 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15713 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xms64M" |
15797 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xms64M" |
15798 JVM_ARG_OK=true |
|
15799 else |
|
15800 $ECHO "Arg failed:" >&5 |
|
15801 $ECHO "$OUTPUT" >&5 |
|
15802 JVM_ARG_OK=false |
|
15714 fi |
15803 fi |
15715 |
15804 |
15716 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then |
15805 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then |
15717 # Why does macosx need more heap? Its the huge JDK batch. |
15806 # Why does macosx need more heap? Its the huge JDK batch. |
15718 |
15807 |
15719 # Test if -Xmx1600M is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15808 $ECHO "Check if jvm arg is ok: -Xmx1600M" >&5 |
15720 # If so, then append -Xmx1600M to boot_jdk_jvmargs |
15809 $ECHO "Command: $JAVA -Xmx1600M -version" >&5 |
15721 FOUND_WARN=`$JAVA -Xmx1600M -version 2>&1 | grep -i warn` |
15810 OUTPUT=`$JAVA -Xmx1600M -version 2>&1` |
15722 FOUND_VERSION=`$JAVA -Xmx1600M -version 2>&1 | grep " version \""` |
15811 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
15812 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15723 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15813 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15724 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xmx1600M" |
15814 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xmx1600M" |
15725 fi |
15815 JVM_ARG_OK=true |
15726 |
|
15727 else |
15816 else |
15728 |
15817 $ECHO "Arg failed:" >&5 |
15729 # Test if -Xmx1100M is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15818 $ECHO "$OUTPUT" >&5 |
15730 # If so, then append -Xmx1100M to boot_jdk_jvmargs |
15819 JVM_ARG_OK=false |
15731 FOUND_WARN=`$JAVA -Xmx1100M -version 2>&1 | grep -i warn` |
15820 fi |
15732 FOUND_VERSION=`$JAVA -Xmx1100M -version 2>&1 | grep " version \""` |
15821 |
15822 else |
|
15823 |
|
15824 $ECHO "Check if jvm arg is ok: -Xmx1100M" >&5 |
|
15825 $ECHO "Command: $JAVA -Xmx1100M -version" >&5 |
|
15826 OUTPUT=`$JAVA -Xmx1100M -version 2>&1` |
|
15827 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
15828 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15733 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15829 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15734 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xmx1100M" |
15830 boot_jdk_jvmargs="$boot_jdk_jvmargs -Xmx1100M" |
15831 JVM_ARG_OK=true |
|
15832 else |
|
15833 $ECHO "Arg failed:" >&5 |
|
15834 $ECHO "$OUTPUT" >&5 |
|
15835 JVM_ARG_OK=false |
|
15735 fi |
15836 fi |
15736 |
15837 |
15737 fi |
15838 fi |
15738 # When is adding -client something that speeds up the JVM? |
15839 # When is adding -client something that speeds up the JVM? |
15739 # ADD_JVM_ARG_IF_OK([-client],boot_jdk_jvmargs,[$JAVA]) |
15840 # ADD_JVM_ARG_IF_OK([-client],boot_jdk_jvmargs,[$JAVA]) |
15740 |
15841 |
15741 # Test if -XX:PermSize=32m is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15842 $ECHO "Check if jvm arg is ok: -XX:PermSize=32m" >&5 |
15742 # If so, then append -XX:PermSize=32m to boot_jdk_jvmargs |
15843 $ECHO "Command: $JAVA -XX:PermSize=32m -version" >&5 |
15743 FOUND_WARN=`$JAVA -XX:PermSize=32m -version 2>&1 | grep -i warn` |
15844 OUTPUT=`$JAVA -XX:PermSize=32m -version 2>&1` |
15744 FOUND_VERSION=`$JAVA -XX:PermSize=32m -version 2>&1 | grep " version \""` |
15845 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
15846 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15745 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15847 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15746 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:PermSize=32m" |
15848 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:PermSize=32m" |
15747 fi |
15849 JVM_ARG_OK=true |
15748 |
15850 else |
15749 |
15851 $ECHO "Arg failed:" >&5 |
15750 # Test if -XX:MaxPermSize=160m is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15852 $ECHO "$OUTPUT" >&5 |
15751 # If so, then append -XX:MaxPermSize=160m to boot_jdk_jvmargs |
15853 JVM_ARG_OK=false |
15752 FOUND_WARN=`$JAVA -XX:MaxPermSize=160m -version 2>&1 | grep -i warn` |
15854 fi |
15753 FOUND_VERSION=`$JAVA -XX:MaxPermSize=160m -version 2>&1 | grep " version \""` |
15855 |
15856 |
|
15857 $ECHO "Check if jvm arg is ok: -XX:MaxPermSize=160m" >&5 |
|
15858 $ECHO "Command: $JAVA -XX:MaxPermSize=160m -version" >&5 |
|
15859 OUTPUT=`$JAVA -XX:MaxPermSize=160m -version 2>&1` |
|
15860 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
15861 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15754 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15862 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15755 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:MaxPermSize=160m" |
15863 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:MaxPermSize=160m" |
15756 fi |
15864 JVM_ARG_OK=true |
15757 |
15865 else |
15758 |
15866 $ECHO "Arg failed:" >&5 |
15759 # Test if -XX:ThreadStackSize=$STACK_SIZE is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15867 $ECHO "$OUTPUT" >&5 |
15760 # If so, then append -XX:ThreadStackSize=$STACK_SIZE to boot_jdk_jvmargs |
15868 JVM_ARG_OK=false |
15761 FOUND_WARN=`$JAVA -XX:ThreadStackSize=$STACK_SIZE -version 2>&1 | grep -i warn` |
15869 fi |
15762 FOUND_VERSION=`$JAVA -XX:ThreadStackSize=$STACK_SIZE -version 2>&1 | grep " version \""` |
15870 |
15871 |
|
15872 $ECHO "Check if jvm arg is ok: -XX:ThreadStackSize=$STACK_SIZE" >&5 |
|
15873 $ECHO "Command: $JAVA -XX:ThreadStackSize=$STACK_SIZE -version" >&5 |
|
15874 OUTPUT=`$JAVA -XX:ThreadStackSize=$STACK_SIZE -version 2>&1` |
|
15875 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
15876 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15763 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15877 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15764 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:ThreadStackSize=$STACK_SIZE" |
15878 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:ThreadStackSize=$STACK_SIZE" |
15879 JVM_ARG_OK=true |
|
15880 else |
|
15881 $ECHO "Arg failed:" >&5 |
|
15882 $ECHO "$OUTPUT" >&5 |
|
15883 JVM_ARG_OK=false |
|
15765 fi |
15884 fi |
15766 |
15885 |
15767 # Disable special log output when a debug build is used as Boot JDK... |
15886 # Disable special log output when a debug build is used as Boot JDK... |
15768 |
15887 |
15769 # Test if -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
15888 $ECHO "Check if jvm arg is ok: -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput" >&5 |
15770 # If so, then append -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput to boot_jdk_jvmargs |
15889 $ECHO "Command: $JAVA -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput -version" >&5 |
15771 FOUND_WARN=`$JAVA -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput -version 2>&1 | grep -i warn` |
15890 OUTPUT=`$JAVA -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput -version 2>&1` |
15772 FOUND_VERSION=`$JAVA -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput -version 2>&1 | grep " version \""` |
15891 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
15892 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
15773 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15893 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
15774 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput" |
15894 boot_jdk_jvmargs="$boot_jdk_jvmargs -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput" |
15895 JVM_ARG_OK=true |
|
15896 else |
|
15897 $ECHO "Arg failed:" >&5 |
|
15898 $ECHO "$OUTPUT" >&5 |
|
15899 JVM_ARG_OK=false |
|
15775 fi |
15900 fi |
15776 |
15901 |
15777 fi |
15902 fi |
15778 |
15903 |
15779 BOOT_JDK_JVMARGS=$boot_jdk_jvmargs |
15904 BOOT_JDK_JVMARGS=$boot_jdk_jvmargs |
16129 |
16254 |
16130 |
16255 |
16131 |
16256 |
16132 |
16257 |
16133 # Locate the actual tools |
16258 # Locate the actual tools |
16259 |
|
16260 |
|
16261 # Check whether --with-jtreg was given. |
|
16262 if test "${with_jtreg+set}" = set; then : |
|
16263 withval=$with_jtreg; |
|
16264 fi |
|
16265 |
|
16266 |
|
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JTReg Regression Test Harness" >&5 |
|
16268 $as_echo_n "checking for JTReg Regression Test Harness... " >&6; } |
|
16269 |
|
16270 if test "x$with_jtreg" != x; then |
|
16271 JT_HOME="$with_jtreg" |
|
16272 |
|
16273 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
|
16274 |
|
16275 # Input might be given as Windows format, start by converting to |
|
16276 # unix format. |
|
16277 path="$JT_HOME" |
|
16278 new_path=`$CYGPATH -u "$path"` |
|
16279 |
|
16280 # Cygwin tries to hide some aspects of the Windows file system, such that binaries are |
|
16281 # named .exe but called without that suffix. Therefore, "foo" and "foo.exe" are considered |
|
16282 # the same file, most of the time (as in "test -f"). But not when running cygpath -s, then |
|
16283 # "foo.exe" is OK but "foo" is an error. |
|
16284 # |
|
16285 # This test is therefore slightly more accurate than "test -f" to check for file precense. |
|
16286 # It is also a way to make sure we got the proper file name for the real test later on. |
|
16287 test_shortpath=`$CYGPATH -s -m "$new_path" 2> /dev/null` |
|
16288 if test "x$test_shortpath" = x; then |
|
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5 |
|
16290 $as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;} |
|
16291 as_fn_error $? "Cannot locate the the path of JT_HOME" "$LINENO" 5 |
|
16292 fi |
|
16293 |
|
16294 # Call helper function which possibly converts this using DOS-style short mode. |
|
16295 # If so, the updated path is stored in $new_path. |
|
16296 |
|
16297 input_path="$new_path" |
|
16298 # Check if we need to convert this using DOS-style short mode. If the path |
|
16299 # contains just simple characters, use it. Otherwise (spaces, weird characters), |
|
16300 # take no chances and rewrite it. |
|
16301 # Note: m4 eats our [], so we need to use [ and ] instead. |
|
16302 has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-._/a-zA-Z0-9]` |
|
16303 if test "x$has_forbidden_chars" != x; then |
|
16304 # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \) |
|
16305 shortmode_path=`$CYGPATH -s -m -a "$input_path"` |
|
16306 path_after_shortmode=`$CYGPATH -u "$shortmode_path"` |
|
16307 if test "x$path_after_shortmode" != "x$input_to_shortpath"; then |
|
16308 # Going to short mode and back again did indeed matter. Since short mode is |
|
16309 # case insensitive, let's make it lowercase to improve readability. |
|
16310 shortmode_path=`$ECHO "$shortmode_path" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
|
16311 # Now convert it back to Unix-stile (cygpath) |
|
16312 input_path=`$CYGPATH -u "$shortmode_path"` |
|
16313 new_path="$input_path" |
|
16314 fi |
|
16315 fi |
|
16316 |
|
16317 test_cygdrive_prefix=`$ECHO $input_path | $GREP ^/cygdrive/` |
|
16318 if test "x$test_cygdrive_prefix" = x; then |
|
16319 # As a simple fix, exclude /usr/bin since it's not a real path. |
|
16320 if test "x`$ECHO $new_path | $GREP ^/usr/bin/`" = x; then |
|
16321 # The path is in a Cygwin special directory (e.g. /home). We need this converted to |
|
16322 # a path prefixed by /cygdrive for fixpath to work. |
|
16323 new_path="$CYGWIN_ROOT_PATH$input_path" |
|
16324 fi |
|
16325 fi |
|
16326 |
|
16327 |
|
16328 if test "x$path" != "x$new_path"; then |
|
16329 JT_HOME="$new_path" |
|
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5 |
|
16331 $as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;} |
|
16332 fi |
|
16333 |
|
16334 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then |
|
16335 |
|
16336 path="$JT_HOME" |
|
16337 has_colon=`$ECHO $path | $GREP ^.:` |
|
16338 new_path="$path" |
|
16339 if test "x$has_colon" = x; then |
|
16340 # Not in mixed or Windows style, start by that. |
|
16341 new_path=`cmd //c echo $path` |
|
16342 fi |
|
16343 |
|
16344 |
|
16345 input_path="$new_path" |
|
16346 # Check if we need to convert this using DOS-style short mode. If the path |
|
16347 # contains just simple characters, use it. Otherwise (spaces, weird characters), |
|
16348 # take no chances and rewrite it. |
|
16349 # Note: m4 eats our [], so we need to use [ and ] instead. |
|
16350 has_forbidden_chars=`$ECHO "$input_path" | $GREP [^-_/:a-zA-Z0-9]` |
|
16351 if test "x$has_forbidden_chars" != x; then |
|
16352 # Now convert it to mixed DOS-style, short mode (no spaces, and / instead of \) |
|
16353 new_path=`cmd /c "for %A in (\"$input_path\") do @echo %~sA"|$TR \\\\\\\\ / | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
|
16354 fi |
|
16355 |
|
16356 |
|
16357 windows_path="$new_path" |
|
16358 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then |
|
16359 unix_path=`$CYGPATH -u "$windows_path"` |
|
16360 new_path="$unix_path" |
|
16361 elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then |
|
16362 unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'` |
|
16363 new_path="$unix_path" |
|
16364 fi |
|
16365 |
|
16366 if test "x$path" != "x$new_path"; then |
|
16367 JT_HOME="$new_path" |
|
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting JT_HOME to \"$new_path\"" >&5 |
|
16369 $as_echo "$as_me: Rewriting JT_HOME to \"$new_path\"" >&6;} |
|
16370 fi |
|
16371 |
|
16372 # Save the first 10 bytes of this path to the storage, so fixpath can work. |
|
16373 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
|
16374 |
|
16375 else |
|
16376 # We're on a posix platform. Hooray! :) |
|
16377 path="$JT_HOME" |
|
16378 has_space=`$ECHO "$path" | $GREP " "` |
|
16379 if test "x$has_space" != x; then |
|
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of JT_HOME, which resolves as \"$path\", is invalid." >&5 |
|
16381 $as_echo "$as_me: The path of JT_HOME, which resolves as \"$path\", is invalid." >&6;} |
|
16382 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
|
16383 fi |
|
16384 |
|
16385 # Use eval to expand a potential ~ |
|
16386 eval path="$path" |
|
16387 if test ! -f "$path" && test ! -d "$path"; then |
|
16388 as_fn_error $? "The path of JT_HOME, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
16389 fi |
|
16390 |
|
16391 JT_HOME="`cd "$path"; $THEPWDCMD`" |
|
16392 fi |
|
16393 |
|
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JT_HOME" >&5 |
|
16395 $as_echo "$JT_HOME" >&6; } |
|
16396 |
|
16397 # jtreg win32 script works for everybody |
|
16398 JTREGEXE="$JT_HOME/win32/bin/jtreg" |
|
16399 if test ! -f "$JTREGEXE"; then |
|
16400 as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5 |
|
16401 fi |
|
16402 else |
|
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
16404 $as_echo "no" >&6; } |
|
16405 fi |
|
16406 |
|
16407 |
|
16408 |
|
16409 |
|
16134 |
16410 |
16135 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then |
16411 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then |
16136 |
16412 |
16137 # Store path to cygwin link.exe to help excluding it when searching for |
16413 # Store path to cygwin link.exe to help excluding it when searching for |
16138 # VS linker. This must be done before changing the PATH when looking for VS. |
16414 # VS linker. This must be done before changing the PATH when looking for VS. |
17086 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17362 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17087 |
17363 |
17088 else |
17364 else |
17089 # We're on a posix platform. Hooray! :) |
17365 # We're on a posix platform. Hooray! :) |
17090 path="$MSVCR_DLL" |
17366 path="$MSVCR_DLL" |
17091 |
|
17092 if test ! -f "$path" && test ! -d "$path"; then |
|
17093 as_fn_error $? "The path of MSVCR_DLL, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17094 fi |
|
17095 |
|
17096 has_space=`$ECHO "$path" | $GREP " "` |
17367 has_space=`$ECHO "$path" | $GREP " "` |
17097 if test "x$has_space" != x; then |
17368 if test "x$has_space" != x; then |
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of MSVCR_DLL, which resolves as \"$path\", is invalid." >&5 |
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of MSVCR_DLL, which resolves as \"$path\", is invalid." >&5 |
17099 $as_echo "$as_me: The path of MSVCR_DLL, which resolves as \"$path\", is invalid." >&6;} |
17370 $as_echo "$as_me: The path of MSVCR_DLL, which resolves as \"$path\", is invalid." >&6;} |
17100 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17371 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17101 fi |
17372 fi |
17373 |
|
17374 # Use eval to expand a potential ~ |
|
17375 eval path="$path" |
|
17376 if test ! -f "$path" && test ! -d "$path"; then |
|
17377 as_fn_error $? "The path of MSVCR_DLL, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17378 fi |
|
17379 |
|
17380 MSVCR_DLL="`cd "$path"; $THEPWDCMD`" |
|
17102 fi |
17381 fi |
17103 |
17382 |
17104 |
17383 |
17105 |
17384 |
17106 |
17385 |
17240 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17519 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17241 |
17520 |
17242 else |
17521 else |
17243 # We're on a posix platform. Hooray! :) |
17522 # We're on a posix platform. Hooray! :) |
17244 path="$dxsdk_path" |
17523 path="$dxsdk_path" |
17245 |
|
17246 if test ! -f "$path" && test ! -d "$path"; then |
|
17247 as_fn_error $? "The path of dxsdk_path, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17248 fi |
|
17249 |
|
17250 has_space=`$ECHO "$path" | $GREP " "` |
17524 has_space=`$ECHO "$path" | $GREP " "` |
17251 if test "x$has_space" != x; then |
17525 if test "x$has_space" != x; then |
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of dxsdk_path, which resolves as \"$path\", is invalid." >&5 |
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of dxsdk_path, which resolves as \"$path\", is invalid." >&5 |
17253 $as_echo "$as_me: The path of dxsdk_path, which resolves as \"$path\", is invalid." >&6;} |
17527 $as_echo "$as_me: The path of dxsdk_path, which resolves as \"$path\", is invalid." >&6;} |
17254 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17528 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17255 fi |
17529 fi |
17530 |
|
17531 # Use eval to expand a potential ~ |
|
17532 eval path="$path" |
|
17533 if test ! -f "$path" && test ! -d "$path"; then |
|
17534 as_fn_error $? "The path of dxsdk_path, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17535 fi |
|
17536 |
|
17537 dxsdk_path="`cd "$path"; $THEPWDCMD`" |
|
17256 fi |
17538 fi |
17257 |
17539 |
17258 |
17540 |
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX SDK lib dir" >&5 |
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX SDK lib dir" >&5 |
17260 $as_echo_n "checking for DirectX SDK lib dir... " >&6; } |
17542 $as_echo_n "checking for DirectX SDK lib dir... " >&6; } |
17375 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17657 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17376 |
17658 |
17377 else |
17659 else |
17378 # We're on a posix platform. Hooray! :) |
17660 # We're on a posix platform. Hooray! :) |
17379 path="$DXSDK_LIB_PATH" |
17661 path="$DXSDK_LIB_PATH" |
17380 |
|
17381 if test ! -f "$path" && test ! -d "$path"; then |
|
17382 as_fn_error $? "The path of DXSDK_LIB_PATH, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17383 fi |
|
17384 |
|
17385 has_space=`$ECHO "$path" | $GREP " "` |
17662 has_space=`$ECHO "$path" | $GREP " "` |
17386 if test "x$has_space" != x; then |
17663 if test "x$has_space" != x; then |
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of DXSDK_LIB_PATH, which resolves as \"$path\", is invalid." >&5 |
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of DXSDK_LIB_PATH, which resolves as \"$path\", is invalid." >&5 |
17388 $as_echo "$as_me: The path of DXSDK_LIB_PATH, which resolves as \"$path\", is invalid." >&6;} |
17665 $as_echo "$as_me: The path of DXSDK_LIB_PATH, which resolves as \"$path\", is invalid." >&6;} |
17389 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17666 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17390 fi |
17667 fi |
17668 |
|
17669 # Use eval to expand a potential ~ |
|
17670 eval path="$path" |
|
17671 if test ! -f "$path" && test ! -d "$path"; then |
|
17672 as_fn_error $? "The path of DXSDK_LIB_PATH, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17673 fi |
|
17674 |
|
17675 DXSDK_LIB_PATH="`cd "$path"; $THEPWDCMD`" |
|
17391 fi |
17676 fi |
17392 |
17677 |
17393 |
17678 |
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX SDK include dir" >&5 |
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX SDK include dir" >&5 |
17395 $as_echo_n "checking for DirectX SDK include dir... " >&6; } |
17680 $as_echo_n "checking for DirectX SDK include dir... " >&6; } |
17508 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17793 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
17509 |
17794 |
17510 else |
17795 else |
17511 # We're on a posix platform. Hooray! :) |
17796 # We're on a posix platform. Hooray! :) |
17512 path="$DXSDK_INCLUDE_PATH" |
17797 path="$DXSDK_INCLUDE_PATH" |
17513 |
|
17514 if test ! -f "$path" && test ! -d "$path"; then |
|
17515 as_fn_error $? "The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17516 fi |
|
17517 |
|
17518 has_space=`$ECHO "$path" | $GREP " "` |
17798 has_space=`$ECHO "$path" | $GREP " "` |
17519 if test "x$has_space" != x; then |
17799 if test "x$has_space" != x; then |
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is invalid." >&5 |
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is invalid." >&5 |
17521 $as_echo "$as_me: The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is invalid." >&6;} |
17801 $as_echo "$as_me: The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is invalid." >&6;} |
17522 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17802 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
17523 fi |
17803 fi |
17804 |
|
17805 # Use eval to expand a potential ~ |
|
17806 eval path="$path" |
|
17807 if test ! -f "$path" && test ! -d "$path"; then |
|
17808 as_fn_error $? "The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
17809 fi |
|
17810 |
|
17811 DXSDK_INCLUDE_PATH="`cd "$path"; $THEPWDCMD`" |
|
17524 fi |
17812 fi |
17525 |
17813 |
17526 |
17814 |
17527 |
17815 |
17528 |
17816 |
28197 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;} |
28485 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;} |
28198 fi |
28486 fi |
28199 |
28487 |
28200 fi |
28488 fi |
28201 |
28489 |
28490 |
|
28491 |
|
28202 # Restore old path without tools dir |
28492 # Restore old path without tools dir |
28203 PATH="$OLD_PATH" |
28493 PATH="$OLD_PATH" |
28204 |
28494 |
28205 |
28495 |
28206 # FIXME: Currently we must test this after paths but before flags. Fix! |
28496 # FIXME: Currently we must test this after paths but before flags. Fix! |
30826 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
31116 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
30827 |
31117 |
30828 else |
31118 else |
30829 # We're on a posix platform. Hooray! :) |
31119 # We're on a posix platform. Hooray! :) |
30830 path="$with_freetype" |
31120 path="$with_freetype" |
30831 |
|
30832 if test ! -f "$path" && test ! -d "$path"; then |
|
30833 as_fn_error $? "The path of with_freetype, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
30834 fi |
|
30835 |
|
30836 has_space=`$ECHO "$path" | $GREP " "` |
31121 has_space=`$ECHO "$path" | $GREP " "` |
30837 if test "x$has_space" != x; then |
31122 if test "x$has_space" != x; then |
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of with_freetype, which resolves as \"$path\", is invalid." >&5 |
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of with_freetype, which resolves as \"$path\", is invalid." >&5 |
30839 $as_echo "$as_me: The path of with_freetype, which resolves as \"$path\", is invalid." >&6;} |
31124 $as_echo "$as_me: The path of with_freetype, which resolves as \"$path\", is invalid." >&6;} |
30840 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
31125 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
30841 fi |
31126 fi |
31127 |
|
31128 # Use eval to expand a potential ~ |
|
31129 eval path="$path" |
|
31130 if test ! -f "$path" && test ! -d "$path"; then |
|
31131 as_fn_error $? "The path of with_freetype, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
31132 fi |
|
31133 |
|
31134 with_freetype="`cd "$path"; $THEPWDCMD`" |
|
30842 fi |
31135 fi |
30843 |
31136 |
30844 FREETYPE2_LIBS="-L$with_freetype/lib -lfreetype" |
31137 FREETYPE2_LIBS="-L$with_freetype/lib -lfreetype" |
30845 FREETYPE2_LIB_PATH="$with_freetype/lib" |
31138 FREETYPE2_LIB_PATH="$with_freetype/lib" |
30846 if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$OPENJDK_TARGET_CPU" = xx86_64 && test -d "$with_freetype/lib/amd64"; then |
31139 if test "x$OPENJDK_TARGET_OS" = xsolaris && test "x$OPENJDK_TARGET_CPU" = xx86_64 && test -d "$with_freetype/lib/amd64"; then |
31125 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
31418 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") |
31126 |
31419 |
31127 else |
31420 else |
31128 # We're on a posix platform. Hooray! :) |
31421 # We're on a posix platform. Hooray! :) |
31129 path="$FREETYPELOCATION" |
31422 path="$FREETYPELOCATION" |
31130 |
|
31131 if test ! -f "$path" && test ! -d "$path"; then |
|
31132 as_fn_error $? "The path of FREETYPELOCATION, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
31133 fi |
|
31134 |
|
31135 has_space=`$ECHO "$path" | $GREP " "` |
31423 has_space=`$ECHO "$path" | $GREP " "` |
31136 if test "x$has_space" != x; then |
31424 if test "x$has_space" != x; then |
31137 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FREETYPELOCATION, which resolves as \"$path\", is invalid." >&5 |
31425 { $as_echo "$as_me:${as_lineno-$LINENO}: The path of FREETYPELOCATION, which resolves as \"$path\", is invalid." >&5 |
31138 $as_echo "$as_me: The path of FREETYPELOCATION, which resolves as \"$path\", is invalid." >&6;} |
31426 $as_echo "$as_me: The path of FREETYPELOCATION, which resolves as \"$path\", is invalid." >&6;} |
31139 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
31427 as_fn_error $? "Spaces are not allowed in this path." "$LINENO" 5 |
31140 fi |
31428 fi |
31429 |
|
31430 # Use eval to expand a potential ~ |
|
31431 eval path="$path" |
|
31432 if test ! -f "$path" && test ! -d "$path"; then |
|
31433 as_fn_error $? "The path of FREETYPELOCATION, which resolves as \"$path\", is not found." "$LINENO" 5 |
|
31434 fi |
|
31435 |
|
31436 FREETYPELOCATION="`cd "$path"; $THEPWDCMD`" |
|
31141 fi |
31437 fi |
31142 |
31438 |
31143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype in some standard windows locations" >&5 |
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freetype in some standard windows locations" >&5 |
31144 $as_echo_n "checking for freetype in some standard windows locations... " >&6; } |
31440 $as_echo_n "checking for freetype in some standard windows locations... " >&6; } |
31145 if test -s "$FREETYPELOCATION/include/ft2build.h" && test -d "$FREETYPELOCATION/include/freetype2/freetype"; then |
31441 if test -s "$FREETYPELOCATION/include/ft2build.h" && test -d "$FREETYPELOCATION/include/freetype2/freetype"; then |
32662 fi |
32958 fi |
32663 else |
32959 else |
32664 SJAVAC_SERVER_JAVA="" |
32960 SJAVAC_SERVER_JAVA="" |
32665 # Hotspot specific options. |
32961 # Hotspot specific options. |
32666 |
32962 |
32667 # Test if -verbosegc is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
32963 $ECHO "Check if jvm arg is ok: -verbosegc" >&5 |
32668 # If so, then append -verbosegc to SJAVAC_SERVER_JAVA |
32964 $ECHO "Command: $JAVA -verbosegc -version" >&5 |
32669 FOUND_WARN=`$JAVA -verbosegc -version 2>&1 | grep -i warn` |
32965 OUTPUT=`$JAVA -verbosegc -version 2>&1` |
32670 FOUND_VERSION=`$JAVA -verbosegc -version 2>&1 | grep " version \""` |
32966 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
32967 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32671 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32968 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32672 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -verbosegc" |
32969 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -verbosegc" |
32970 JVM_ARG_OK=true |
|
32971 else |
|
32972 $ECHO "Arg failed:" >&5 |
|
32973 $ECHO "$OUTPUT" >&5 |
|
32974 JVM_ARG_OK=false |
|
32673 fi |
32975 fi |
32674 |
32976 |
32675 # JRockit specific options. |
32977 # JRockit specific options. |
32676 |
32978 |
32677 # Test if -Xverbose:gc is a valid argument to $JAVA (often is $JAVA passed as $JAVA) |
32979 $ECHO "Check if jvm arg is ok: -Xverbose:gc" >&5 |
32678 # If so, then append -Xverbose:gc to SJAVAC_SERVER_JAVA |
32980 $ECHO "Command: $JAVA -Xverbose:gc -version" >&5 |
32679 FOUND_WARN=`$JAVA -Xverbose:gc -version 2>&1 | grep -i warn` |
32981 OUTPUT=`$JAVA -Xverbose:gc -version 2>&1` |
32680 FOUND_VERSION=`$JAVA -Xverbose:gc -version 2>&1 | grep " version \""` |
32982 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
32983 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32681 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32984 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32682 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xverbose:gc" |
32985 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xverbose:gc" |
32986 JVM_ARG_OK=true |
|
32987 else |
|
32988 $ECHO "Arg failed:" >&5 |
|
32989 $ECHO "$OUTPUT" >&5 |
|
32990 JVM_ARG_OK=false |
|
32683 fi |
32991 fi |
32684 |
32992 |
32685 SJAVAC_SERVER_JAVA="$JAVA $SJAVAC_SERVER_JAVA" |
32993 SJAVAC_SERVER_JAVA="$JAVA $SJAVAC_SERVER_JAVA" |
32686 fi |
32994 fi |
32687 |
32995 |
32688 |
32996 |
32689 |
32997 if test "$MEMORY_SIZE" -gt "2500"; then |
32690 # Check whether --with-sjavac-server-cores was given. |
32998 |
32691 if test "${with_sjavac_server_cores+set}" = set; then : |
32999 $ECHO "Check if jvm arg is ok: -d64" >&5 |
32692 withval=$with_sjavac_server_cores; |
33000 $ECHO "Command: $SJAVAC_SERVER_JAVA -d64 -version" >&5 |
32693 fi |
33001 OUTPUT=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1` |
32694 |
33002 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
32695 if test "x$with_sjavac_server_cores" != x; then |
33003 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
32696 SJAVAC_SERVER_CORES="$with_sjavac_server_cores" |
|
32697 else |
|
32698 if test "$NUM_CORES" -gt 16; then |
|
32699 # We set this arbitrary limit because we want to limit the heap |
|
32700 # size of the javac server. |
|
32701 # In the future we will make the javac compilers in the server |
|
32702 # share more and more state, thus enabling us to use more and |
|
32703 # more concurrent threads in the server. |
|
32704 SJAVAC_SERVER_CORES="16" |
|
32705 else |
|
32706 SJAVAC_SERVER_CORES="$NUM_CORES" |
|
32707 fi |
|
32708 |
|
32709 if test "$MEMORY_SIZE" -gt "17000"; then |
|
32710 MAX_HEAP_MEM=10000 |
|
32711 |
|
32712 # Test if -d64 is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
|
32713 # If so, then append -d64 to SJAVAC_SERVER_JAVA |
|
32714 FOUND_WARN=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep -i warn` |
|
32715 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep " version \""` |
|
32716 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33004 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32717 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -d64" |
33005 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -d64" |
32718 fi |
33006 JVM_ARG_OK=true |
32719 |
33007 else |
32720 |
33008 $ECHO "Arg failed:" >&5 |
32721 # Test if -Xms10G -Xmx10G is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33009 $ECHO "$OUTPUT" >&5 |
32722 # If so, then append -Xms10G -Xmx10G to SJAVAC_SERVER_JAVA |
33010 JVM_ARG_OK=false |
32723 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms10G -Xmx10G -version 2>&1 | grep -i warn` |
33011 fi |
32724 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms10G -Xmx10G -version 2>&1 | grep " version \""` |
33012 |
33013 if test "$JVM_ARG_OK" = true; then |
|
33014 JVM_64BIT=true |
|
33015 JVM_ARG_OK=false |
|
33016 fi |
|
33017 fi |
|
33018 |
|
33019 if test "$JVM_64BIT" = true; then |
|
33020 if test "$MEMORY_SIZE" -gt "17000"; then |
|
33021 |
|
33022 $ECHO "Check if jvm arg is ok: -Xms10G -Xmx10G" >&5 |
|
33023 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms10G -Xmx10G -version" >&5 |
|
33024 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms10G -Xmx10G -version 2>&1` |
|
33025 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
33026 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32725 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33027 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32726 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms10G -Xmx10G" |
33028 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms10G -Xmx10G" |
32727 fi |
33029 JVM_ARG_OK=true |
32728 |
33030 else |
32729 elif test "$MEMORY_SIZE" -gt "10000"; then |
33031 $ECHO "Arg failed:" >&5 |
32730 MAX_HEAP_MEM=6000 |
33032 $ECHO "$OUTPUT" >&5 |
32731 |
33033 JVM_ARG_OK=false |
32732 # Test if -d64 is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33034 fi |
32733 # If so, then append -d64 to SJAVAC_SERVER_JAVA |
33035 |
32734 FOUND_WARN=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep -i warn` |
33036 fi |
32735 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep " version \""` |
33037 if test "$MEMORY_SIZE" -gt "10000" && test "$JVM_ARG_OK" = false; then |
32736 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33038 |
32737 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -d64" |
33039 $ECHO "Check if jvm arg is ok: -Xms6G -Xmx6G" >&5 |
32738 fi |
33040 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms6G -Xmx6G -version" >&5 |
32739 |
33041 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms6G -Xmx6G -version 2>&1` |
32740 |
33042 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
32741 # Test if -Xms6G -Xmx6G is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33043 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
32742 # If so, then append -Xms6G -Xmx6G to SJAVAC_SERVER_JAVA |
|
32743 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms6G -Xmx6G -version 2>&1 | grep -i warn` |
|
32744 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms6G -Xmx6G -version 2>&1 | grep " version \""` |
|
32745 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33044 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32746 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms6G -Xmx6G" |
33045 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms6G -Xmx6G" |
32747 fi |
33046 JVM_ARG_OK=true |
32748 |
33047 else |
32749 elif test "$MEMORY_SIZE" -gt "5000"; then |
33048 $ECHO "Arg failed:" >&5 |
32750 MAX_HEAP_MEM=3000 |
33049 $ECHO "$OUTPUT" >&5 |
32751 |
33050 JVM_ARG_OK=false |
32752 # Test if -d64 is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33051 fi |
32753 # If so, then append -d64 to SJAVAC_SERVER_JAVA |
33052 |
32754 FOUND_WARN=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep -i warn` |
33053 fi |
32755 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -d64 -version 2>&1 | grep " version \""` |
33054 if test "$MEMORY_SIZE" -gt "5000" && test "$JVM_ARG_OK" = false; then |
32756 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33055 |
32757 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -d64" |
33056 $ECHO "Check if jvm arg is ok: -Xms1G -Xmx3G" >&5 |
32758 fi |
33057 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms1G -Xmx3G -version" >&5 |
32759 |
33058 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx3G -version 2>&1` |
32760 |
33059 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
32761 # Test if -Xms1G -Xmx3G is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33060 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
32762 # If so, then append -Xms1G -Xmx3G to SJAVAC_SERVER_JAVA |
|
32763 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx3G -version 2>&1 | grep -i warn` |
|
32764 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx3G -version 2>&1 | grep " version \""` |
|
32765 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33061 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32766 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms1G -Xmx3G" |
33062 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms1G -Xmx3G" |
32767 fi |
33063 JVM_ARG_OK=true |
32768 |
33064 else |
32769 elif test "$MEMORY_SIZE" -gt "3800"; then |
33065 $ECHO "Arg failed:" >&5 |
32770 MAX_HEAP_MEM=2500 |
33066 $ECHO "$OUTPUT" >&5 |
32771 |
33067 JVM_ARG_OK=false |
32772 # Test if -Xms1G -Xmx2500M is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33068 fi |
32773 # If so, then append -Xms1G -Xmx2500M to SJAVAC_SERVER_JAVA |
33069 |
32774 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M -version 2>&1 | grep -i warn` |
33070 fi |
32775 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M -version 2>&1 | grep " version \""` |
33071 if test "$MEMORY_SIZE" -gt "3800" && test "$JVM_ARG_OK" = false; then |
33072 |
|
33073 $ECHO "Check if jvm arg is ok: -Xms1G -Xmx2500M" >&5 |
|
33074 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M -version" >&5 |
|
33075 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M -version 2>&1` |
|
33076 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
33077 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32776 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33078 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32777 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M" |
33079 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms1G -Xmx2500M" |
32778 fi |
33080 JVM_ARG_OK=true |
32779 |
33081 else |
32780 elif test "$MEMORY_SIZE" -gt "1900"; then |
33082 $ECHO "Arg failed:" >&5 |
32781 MAX_HEAP_MEM=1200 |
33083 $ECHO "$OUTPUT" >&5 |
32782 |
33084 JVM_ARG_OK=false |
32783 # Test if -Xms700M -Xmx1400M is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33085 fi |
32784 # If so, then append -Xms700M -Xmx1400M to SJAVAC_SERVER_JAVA |
33086 |
32785 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms700M -Xmx1400M -version 2>&1 | grep -i warn` |
33087 fi |
32786 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms700M -Xmx1400M -version 2>&1 | grep " version \""` |
33088 fi |
33089 if test "$MEMORY_SIZE" -gt "2500" && test "$JVM_ARG_OK" = false; then |
|
33090 |
|
33091 $ECHO "Check if jvm arg is ok: -Xms1000M -Xmx1500M" >&5 |
|
33092 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms1000M -Xmx1500M -version" >&5 |
|
33093 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms1000M -Xmx1500M -version 2>&1` |
|
33094 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
33095 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32787 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33096 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32788 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms700M -Xmx1400M" |
33097 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms1000M -Xmx1500M" |
32789 fi |
33098 JVM_ARG_OK=true |
32790 |
33099 else |
32791 elif test "$MEMORY_SIZE" -gt "1000"; then |
33100 $ECHO "Arg failed:" >&5 |
32792 MAX_HEAP_MEM=900 |
33101 $ECHO "$OUTPUT" >&5 |
32793 |
33102 JVM_ARG_OK=false |
32794 # Test if -Xms400M -Xmx1100M is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33103 fi |
32795 # If so, then append -Xms400M -Xmx1100M to SJAVAC_SERVER_JAVA |
33104 |
32796 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M -version 2>&1 | grep -i warn` |
33105 fi |
32797 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M -version 2>&1 | grep " version \""` |
33106 if test "$MEMORY_SIZE" -gt "1000" && test "$JVM_ARG_OK" = false; then |
33107 |
|
33108 $ECHO "Check if jvm arg is ok: -Xms400M -Xmx1100M" >&5 |
|
33109 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M -version" >&5 |
|
33110 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M -version 2>&1` |
|
33111 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
33112 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32798 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33113 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32799 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M" |
33114 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms400M -Xmx1100M" |
32800 fi |
33115 JVM_ARG_OK=true |
32801 |
|
32802 else |
33116 else |
32803 MAX_HEAP_MEM=512 |
33117 $ECHO "Arg failed:" >&5 |
32804 |
33118 $ECHO "$OUTPUT" >&5 |
32805 # Test if -Xms256M -Xmx512M is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33119 JVM_ARG_OK=false |
32806 # If so, then append -Xms256M -Xmx512M to SJAVAC_SERVER_JAVA |
33120 fi |
32807 FOUND_WARN=`$SJAVAC_SERVER_JAVA -Xms256M -Xmx512M -version 2>&1 | grep -i warn` |
33121 |
32808 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -Xms256M -Xmx512M -version 2>&1 | grep " version \""` |
33122 fi |
33123 if test "$JVM_ARG_OK" = false; then |
|
33124 |
|
33125 $ECHO "Check if jvm arg is ok: -Xms256M -Xmx512M" >&5 |
|
33126 $ECHO "Command: $SJAVAC_SERVER_JAVA -Xms256M -Xmx512M -version" >&5 |
|
33127 OUTPUT=`$SJAVAC_SERVER_JAVA -Xms256M -Xmx512M -version 2>&1` |
|
33128 FOUND_WARN=`$ECHO "$OUTPUT" | grep -i warn` |
|
33129 FOUND_VERSION=`$ECHO $OUTPUT | grep " version \""` |
|
32809 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
33130 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
32810 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms256M -Xmx512M" |
33131 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -Xms256M -Xmx512M" |
32811 fi |
33132 JVM_ARG_OK=true |
32812 |
33133 else |
32813 fi |
33134 $ECHO "Arg failed:" >&5 |
32814 |
33135 $ECHO "$OUTPUT" >&5 |
32815 |
33136 JVM_ARG_OK=false |
32816 # Test if -XX:PermSize=32m is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
33137 fi |
32817 # If so, then append -XX:PermSize=32m to SJAVAC_SERVER_JAVA |
33138 |
32818 FOUND_WARN=`$SJAVAC_SERVER_JAVA -XX:PermSize=32m -version 2>&1 | grep -i warn` |
33139 fi |
32819 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -XX:PermSize=32m -version 2>&1 | grep " version \""` |
|
32820 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
|
32821 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -XX:PermSize=32m" |
|
32822 fi |
|
32823 |
|
32824 |
|
32825 # Test if -XX:MaxPermSize=160m is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
|
32826 # If so, then append -XX:MaxPermSize=160m to SJAVAC_SERVER_JAVA |
|
32827 FOUND_WARN=`$SJAVAC_SERVER_JAVA -XX:MaxPermSize=160m -version 2>&1 | grep -i warn` |
|
32828 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -XX:MaxPermSize=160m -version 2>&1 | grep " version \""` |
|
32829 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
|
32830 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -XX:MaxPermSize=160m" |
|
32831 fi |
|
32832 |
|
32833 |
|
32834 # Test if -XX:ThreadStackSize=$STACK_SIZE is a valid argument to $SJAVAC_SERVER_JAVA (often is $JAVA passed as $SJAVAC_SERVER_JAVA) |
|
32835 # If so, then append -XX:ThreadStackSize=$STACK_SIZE to SJAVAC_SERVER_JAVA |
|
32836 FOUND_WARN=`$SJAVAC_SERVER_JAVA -XX:ThreadStackSize=$STACK_SIZE -version 2>&1 | grep -i warn` |
|
32837 FOUND_VERSION=`$SJAVAC_SERVER_JAVA -XX:ThreadStackSize=$STACK_SIZE -version 2>&1 | grep " version \""` |
|
32838 if test "x$FOUND_VERSION" != x && test "x$FOUND_WARN" = x; then |
|
32839 SJAVAC_SERVER_JAVA="$SJAVAC_SERVER_JAVA -XX:ThreadStackSize=$STACK_SIZE" |
|
32840 fi |
|
32841 |
|
32842 |
|
32843 MAX_COMPILERS_IN_HEAP=`expr $MAX_HEAP_MEM / 501` |
|
32844 if test "$SJAVAC_SERVER_CORES" -gt "$MAX_COMPILERS_IN_HEAP"; then |
|
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if number of server cores must be reduced" >&5 |
|
32846 $as_echo_n "checking if number of server cores must be reduced... " >&6; } |
|
32847 SJAVAC_SERVER_CORES="$MAX_COMPILERS_IN_HEAP" |
|
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, to $SJAVAC_SERVER_CORES with max heap size $MAX_HEAP_MEM MB" >&5 |
|
32849 $as_echo "yes, to $SJAVAC_SERVER_CORES with max heap size $MAX_HEAP_MEM MB" >&6; } |
|
32850 fi |
|
32851 fi |
|
32852 |
|
32853 |
33140 |
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use sjavac" >&5 |
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use sjavac" >&5 |
32855 $as_echo_n "checking whether to use sjavac... " >&6; } |
33142 $as_echo_n "checking whether to use sjavac... " >&6; } |
32856 # Check whether --enable-sjavac was given. |
33143 # Check whether --enable-sjavac was given. |
32857 if test "${enable_sjavac+set}" = set; then : |
33144 if test "${enable_sjavac+set}" = set; then : |