common/autoconf/generated-configure.sh

changeset 718
e7c09a983c3c
parent 717
e247ee3924d5
child 723
ea6f3bf82903
child 724
33b6df33a2b7
child 820
7dea0ce25bdc
equal deleted inserted replaced
717:e247ee3924d5 718:e7c09a983c3c
679 LIBRARY_PREFIX 679 LIBRARY_PREFIX
680 STATIC_LIBRARY 680 STATIC_LIBRARY
681 SHARED_LIBRARY 681 SHARED_LIBRARY
682 OBJ_SUFFIX 682 OBJ_SUFFIX
683 COMPILER_NAME 683 COMPILER_NAME
684 JTREGEXE
685 JT_HOME
684 LIPO 686 LIPO
685 ac_ct_OBJDUMP 687 ac_ct_OBJDUMP
686 OBJDUMP 688 OBJDUMP
687 ac_ct_OBJCOPY 689 ac_ct_OBJCOPY
688 OBJCOPY 690 OBJCOPY
1002 with_import_hotspot 1004 with_import_hotspot
1003 with_msvcr_dll 1005 with_msvcr_dll
1004 with_dxsdk 1006 with_dxsdk
1005 with_dxsdk_lib 1007 with_dxsdk_lib
1006 with_dxsdk_include 1008 with_dxsdk_include
1009 with_jtreg
1007 with_extra_cflags 1010 with_extra_cflags
1008 with_extra_cxxflags 1011 with_extra_cxxflags
1009 with_extra_ldflags 1012 with_extra_ldflags
1010 enable_debug_symbols 1013 enable_debug_symbols
1011 enable_zip_debug_info 1014 enable_zip_debug_info
1760 --with-dxsdk the DirectX SDK (Windows only) [probed] 1763 --with-dxsdk the DirectX SDK (Windows only) [probed]
1761 --with-dxsdk-lib the DirectX SDK lib directory (Windows only) 1764 --with-dxsdk-lib the DirectX SDK lib directory (Windows only)
1762 [probed] 1765 [probed]
1763 --with-dxsdk-include the DirectX SDK include directory (Windows only) 1766 --with-dxsdk-include the DirectX SDK include directory (Windows only)
1764 [probed] 1767 [probed]
1768 --with-jtreg Regression Test Harness [probed]
1765 --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
1766 --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
1767 --with-extra-ldflags extra flags to be used when linking jdk 1771 --with-extra-ldflags extra flags to be used when linking jdk
1768 --with-x use the X Window System 1772 --with-x use the X Window System
1769 --with-cups specify prefix directory for the cups package 1773 --with-cups specify prefix directory for the cups package
3721 # Check that the c and c++ compilers support an argument 3725 # Check that the c and c++ compilers support an argument
3722 3726
3723 3727
3724 3728
3725 3729
3730 # Setup the JTREG paths
3731
3732
3726 # 3733 #
3727 # 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.
3728 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3735 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3729 # 3736 #
3730 # 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
3771 # definitions. It is replaced with custom functionality when building 3778 # definitions. It is replaced with custom functionality when building
3772 # custom sources. 3779 # custom sources.
3773 #CUSTOM_AUTOCONF_INCLUDE 3780 #CUSTOM_AUTOCONF_INCLUDE
3774 3781
3775 # 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:
3776 DATE_WHEN_GENERATED=1369236348 3783 DATE_WHEN_GENERATED=1369723814
3777 3784
3778 ############################################################################### 3785 ###############################################################################
3779 # 3786 #
3780 # Initialization / Boot-strapping 3787 # Initialization / Boot-strapping
3781 # 3788 #
7385 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 7392 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
7386 7393
7387 else 7394 else
7388 # We're on a posix platform. Hooray! :) 7395 # We're on a posix platform. Hooray! :)
7389 path="$SRC_ROOT" 7396 path="$SRC_ROOT"
7390
7391 if test ! -f "$path" && test ! -d "$path"; then
7392 as_fn_error $? "The path of SRC_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5
7393 fi
7394
7395 has_space=`$ECHO "$path" | $GREP " "` 7397 has_space=`$ECHO "$path" | $GREP " "`
7396 if test "x$has_space" != x; then 7398 if test "x$has_space" != x; then
7397 { $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
7398 $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;}
7399 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
7400 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`"
7401 fi 7411 fi
7402 7412
7403 7413
7404 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then 7414 if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
7405 7415
7504 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 7514 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
7505 7515
7506 else 7516 else
7507 # We're on a posix platform. Hooray! :) 7517 # We're on a posix platform. Hooray! :)
7508 path="$CURDIR" 7518 path="$CURDIR"
7509
7510 if test ! -f "$path" && test ! -d "$path"; then
7511 as_fn_error $? "The path of CURDIR, which resolves as \"$path\", is not found." "$LINENO" 5
7512 fi
7513
7514 has_space=`$ECHO "$path" | $GREP " "` 7519 has_space=`$ECHO "$path" | $GREP " "`
7515 if test "x$has_space" != x; then 7520 if test "x$has_space" != x; then
7516 { $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
7517 $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;}
7518 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
7519 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`"
7520 fi 7533 fi
7521 7534
7522 7535
7523 if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then 7536 if test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
7524 # 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...
8100 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 8113 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
8101 8114
8102 else 8115 else
8103 # We're on a posix platform. Hooray! :) 8116 # We're on a posix platform. Hooray! :)
8104 path="$OUTPUT_ROOT" 8117 path="$OUTPUT_ROOT"
8105
8106 if test ! -f "$path" && test ! -d "$path"; then
8107 as_fn_error $? "The path of OUTPUT_ROOT, which resolves as \"$path\", is not found." "$LINENO" 5
8108 fi
8109
8110 has_space=`$ECHO "$path" | $GREP " "` 8118 has_space=`$ECHO "$path" | $GREP " "`
8111 if test "x$has_space" != x; then 8119 if test "x$has_space" != x; then
8112 { $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
8113 $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;}
8114 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
8115 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`"
8116 fi 8132 fi
8117 8133
8118 8134
8119 SPEC=$OUTPUT_ROOT/spec.gmk 8135 SPEC=$OUTPUT_ROOT/spec.gmk
8120 8136
11157 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 11173 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
11158 11174
11159 else 11175 else
11160 # We're on a posix platform. Hooray! :) 11176 # We're on a posix platform. Hooray! :)
11161 path="$BOOT_JDK" 11177 path="$BOOT_JDK"
11162
11163 if test ! -f "$path" && test ! -d "$path"; then
11164 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
11165 fi
11166
11167 has_space=`$ECHO "$path" | $GREP " "` 11178 has_space=`$ECHO "$path" | $GREP " "`
11168 if test "x$has_space" != x; then 11179 if test "x$has_space" != x; then
11169 { $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
11170 $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;}
11171 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
11172 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`"
11173 fi 11192 fi
11174 11193
11175 { $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
11176 $as_echo_n "checking for Boot JDK... " >&6; } 11195 $as_echo_n "checking for Boot JDK... " >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
11486 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 11505 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
11487 11506
11488 else 11507 else
11489 # We're on a posix platform. Hooray! :) 11508 # We're on a posix platform. Hooray! :)
11490 path="$BOOT_JDK" 11509 path="$BOOT_JDK"
11491
11492 if test ! -f "$path" && test ! -d "$path"; then
11493 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
11494 fi
11495
11496 has_space=`$ECHO "$path" | $GREP " "` 11510 has_space=`$ECHO "$path" | $GREP " "`
11497 if test "x$has_space" != x; then 11511 if test "x$has_space" != x; then
11498 { $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
11499 $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;}
11500 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
11501 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`"
11502 fi 11524 fi
11503 11525
11504 { $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
11505 $as_echo_n "checking for Boot JDK... " >&6; } 11527 $as_echo_n "checking for Boot JDK... " >&6; }
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
11629 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 11651 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
11630 11652
11631 else 11653 else
11632 # We're on a posix platform. Hooray! :) 11654 # We're on a posix platform. Hooray! :)
11633 path="$JAVA_HOME_PROCESSED" 11655 path="$JAVA_HOME_PROCESSED"
11634
11635 if test ! -f "$path" && test ! -d "$path"; then
11636 as_fn_error $? "The path of JAVA_HOME_PROCESSED, which resolves as \"$path\", is not found." "$LINENO" 5
11637 fi
11638
11639 has_space=`$ECHO "$path" | $GREP " "` 11656 has_space=`$ECHO "$path" | $GREP " "`
11640 if test "x$has_space" != x; then 11657 if test "x$has_space" != x; then
11641 { $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
11642 $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;}
11643 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
11644 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`"
11645 fi 11670 fi
11646 11671
11647 if test ! -d "$JAVA_HOME_PROCESSED"; then 11672 if test ! -d "$JAVA_HOME_PROCESSED"; then
11648 { $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
11649 $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;}
11798 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 11823 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
11799 11824
11800 else 11825 else
11801 # We're on a posix platform. Hooray! :) 11826 # We're on a posix platform. Hooray! :)
11802 path="$BOOT_JDK" 11827 path="$BOOT_JDK"
11803
11804 if test ! -f "$path" && test ! -d "$path"; then
11805 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
11806 fi
11807
11808 has_space=`$ECHO "$path" | $GREP " "` 11828 has_space=`$ECHO "$path" | $GREP " "`
11809 if test "x$has_space" != x; then 11829 if test "x$has_space" != x; then
11810 { $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
11811 $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;}
11812 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
11813 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`"
11814 fi 11842 fi
11815 11843
11816 { $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
11817 $as_echo_n "checking for Boot JDK... " >&6; } 11845 $as_echo_n "checking for Boot JDK... " >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
11983 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 12011 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
11984 12012
11985 else 12013 else
11986 # We're on a posix platform. Hooray! :) 12014 # We're on a posix platform. Hooray! :)
11987 path="$BOOT_JDK" 12015 path="$BOOT_JDK"
11988
11989 if test ! -f "$path" && test ! -d "$path"; then
11990 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
11991 fi
11992
11993 has_space=`$ECHO "$path" | $GREP " "` 12016 has_space=`$ECHO "$path" | $GREP " "`
11994 if test "x$has_space" != x; then 12017 if test "x$has_space" != x; then
11995 { $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
11996 $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;}
11997 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
11998 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`"
11999 fi 12030 fi
12000 12031
12001 { $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
12002 $as_echo_n "checking for Boot JDK... " >&6; } 12033 $as_echo_n "checking for Boot JDK... " >&6; }
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
12308 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 12339 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
12309 12340
12310 else 12341 else
12311 # We're on a posix platform. Hooray! :) 12342 # We're on a posix platform. Hooray! :)
12312 path="$BOOT_JDK" 12343 path="$BOOT_JDK"
12313
12314 if test ! -f "$path" && test ! -d "$path"; then
12315 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
12316 fi
12317
12318 has_space=`$ECHO "$path" | $GREP " "` 12344 has_space=`$ECHO "$path" | $GREP " "`
12319 if test "x$has_space" != x; then 12345 if test "x$has_space" != x; then
12320 { $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
12321 $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;}
12322 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
12323 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`"
12324 fi 12358 fi
12325 12359
12326 { $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
12327 $as_echo_n "checking for Boot JDK... " >&6; } 12361 $as_echo_n "checking for Boot JDK... " >&6; }
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
12520 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 12554 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
12521 12555
12522 else 12556 else
12523 # We're on a posix platform. Hooray! :) 12557 # We're on a posix platform. Hooray! :)
12524 path="$BOOT_JDK" 12558 path="$BOOT_JDK"
12525
12526 if test ! -f "$path" && test ! -d "$path"; then
12527 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
12528 fi
12529
12530 has_space=`$ECHO "$path" | $GREP " "` 12559 has_space=`$ECHO "$path" | $GREP " "`
12531 if test "x$has_space" != x; then 12560 if test "x$has_space" != x; then
12532 { $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
12533 $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;}
12534 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
12535 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`"
12536 fi 12573 fi
12537 12574
12538 { $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
12539 $as_echo_n "checking for Boot JDK... " >&6; } 12576 $as_echo_n "checking for Boot JDK... " >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
12697 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 12734 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
12698 12735
12699 else 12736 else
12700 # We're on a posix platform. Hooray! :) 12737 # We're on a posix platform. Hooray! :)
12701 path="$BOOT_JDK" 12738 path="$BOOT_JDK"
12702
12703 if test ! -f "$path" && test ! -d "$path"; then
12704 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
12705 fi
12706
12707 has_space=`$ECHO "$path" | $GREP " "` 12739 has_space=`$ECHO "$path" | $GREP " "`
12708 if test "x$has_space" != x; then 12740 if test "x$has_space" != x; then
12709 { $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
12710 $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;}
12711 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
12712 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`"
12713 fi 12753 fi
12714 12754
12715 { $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
12716 $as_echo_n "checking for Boot JDK... " >&6; } 12756 $as_echo_n "checking for Boot JDK... " >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
12902 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 12942 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
12903 12943
12904 else 12944 else
12905 # We're on a posix platform. Hooray! :) 12945 # We're on a posix platform. Hooray! :)
12906 path="$BOOT_JDK" 12946 path="$BOOT_JDK"
12907
12908 if test ! -f "$path" && test ! -d "$path"; then
12909 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
12910 fi
12911
12912 has_space=`$ECHO "$path" | $GREP " "` 12947 has_space=`$ECHO "$path" | $GREP " "`
12913 if test "x$has_space" != x; then 12948 if test "x$has_space" != x; then
12914 { $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
12915 $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;}
12916 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
12917 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`"
12918 fi 12961 fi
12919 12962
12920 { $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
12921 $as_echo_n "checking for Boot JDK... " >&6; } 12964 $as_echo_n "checking for Boot JDK... " >&6; }
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
13079 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 13122 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
13080 13123
13081 else 13124 else
13082 # We're on a posix platform. Hooray! :) 13125 # We're on a posix platform. Hooray! :)
13083 path="$BOOT_JDK" 13126 path="$BOOT_JDK"
13084
13085 if test ! -f "$path" && test ! -d "$path"; then
13086 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
13087 fi
13088
13089 has_space=`$ECHO "$path" | $GREP " "` 13127 has_space=`$ECHO "$path" | $GREP " "`
13090 if test "x$has_space" != x; then 13128 if test "x$has_space" != x; then
13091 { $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
13092 $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;}
13093 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
13094 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`"
13095 fi 13141 fi
13096 13142
13097 { $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
13098 $as_echo_n "checking for Boot JDK... " >&6; } 13144 $as_echo_n "checking for Boot JDK... " >&6; }
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
13284 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 13330 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
13285 13331
13286 else 13332 else
13287 # We're on a posix platform. Hooray! :) 13333 # We're on a posix platform. Hooray! :)
13288 path="$BOOT_JDK" 13334 path="$BOOT_JDK"
13289
13290 if test ! -f "$path" && test ! -d "$path"; then
13291 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
13292 fi
13293
13294 has_space=`$ECHO "$path" | $GREP " "` 13335 has_space=`$ECHO "$path" | $GREP " "`
13295 if test "x$has_space" != x; then 13336 if test "x$has_space" != x; then
13296 { $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
13297 $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;}
13298 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
13299 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`"
13300 fi 13349 fi
13301 13350
13302 { $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
13303 $as_echo_n "checking for Boot JDK... " >&6; } 13352 $as_echo_n "checking for Boot JDK... " >&6; }
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
13461 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 13510 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
13462 13511
13463 else 13512 else
13464 # We're on a posix platform. Hooray! :) 13513 # We're on a posix platform. Hooray! :)
13465 path="$BOOT_JDK" 13514 path="$BOOT_JDK"
13466
13467 if test ! -f "$path" && test ! -d "$path"; then
13468 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
13469 fi
13470
13471 has_space=`$ECHO "$path" | $GREP " "` 13515 has_space=`$ECHO "$path" | $GREP " "`
13472 if test "x$has_space" != x; then 13516 if test "x$has_space" != x; then
13473 { $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
13474 $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;}
13475 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
13476 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`"
13477 fi 13529 fi
13478 13530
13479 { $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
13480 $as_echo_n "checking for Boot JDK... " >&6; } 13532 $as_echo_n "checking for Boot JDK... " >&6; }
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
13666 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 13718 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
13667 13719
13668 else 13720 else
13669 # We're on a posix platform. Hooray! :) 13721 # We're on a posix platform. Hooray! :)
13670 path="$BOOT_JDK" 13722 path="$BOOT_JDK"
13671
13672 if test ! -f "$path" && test ! -d "$path"; then
13673 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
13674 fi
13675
13676 has_space=`$ECHO "$path" | $GREP " "` 13723 has_space=`$ECHO "$path" | $GREP " "`
13677 if test "x$has_space" != x; then 13724 if test "x$has_space" != x; then
13678 { $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
13679 $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;}
13680 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
13681 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`"
13682 fi 13737 fi
13683 13738
13684 { $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
13685 $as_echo_n "checking for Boot JDK... " >&6; } 13740 $as_echo_n "checking for Boot JDK... " >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
13843 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 13898 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
13844 13899
13845 else 13900 else
13846 # We're on a posix platform. Hooray! :) 13901 # We're on a posix platform. Hooray! :)
13847 path="$BOOT_JDK" 13902 path="$BOOT_JDK"
13848
13849 if test ! -f "$path" && test ! -d "$path"; then
13850 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
13851 fi
13852
13853 has_space=`$ECHO "$path" | $GREP " "` 13903 has_space=`$ECHO "$path" | $GREP " "`
13854 if test "x$has_space" != x; then 13904 if test "x$has_space" != x; then
13855 { $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
13856 $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;}
13857 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
13858 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`"
13859 fi 13917 fi
13860 13918
13861 { $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
13862 $as_echo_n "checking for Boot JDK... " >&6; } 13920 $as_echo_n "checking for Boot JDK... " >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14035 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 14093 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14036 14094
14037 else 14095 else
14038 # We're on a posix platform. Hooray! :) 14096 # We're on a posix platform. Hooray! :)
14039 path="$BOOT_JDK" 14097 path="$BOOT_JDK"
14040
14041 if test ! -f "$path" && test ! -d "$path"; then
14042 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14043 fi
14044
14045 has_space=`$ECHO "$path" | $GREP " "` 14098 has_space=`$ECHO "$path" | $GREP " "`
14046 if test "x$has_space" != x; then 14099 if test "x$has_space" != x; then
14047 { $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
14048 $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;}
14049 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
14050 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`"
14051 fi 14112 fi
14052 14113
14053 { $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
14054 $as_echo_n "checking for Boot JDK... " >&6; } 14115 $as_echo_n "checking for Boot JDK... " >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14210 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 14271 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14211 14272
14212 else 14273 else
14213 # We're on a posix platform. Hooray! :) 14274 # We're on a posix platform. Hooray! :)
14214 path="$BOOT_JDK" 14275 path="$BOOT_JDK"
14215
14216 if test ! -f "$path" && test ! -d "$path"; then
14217 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14218 fi
14219
14220 has_space=`$ECHO "$path" | $GREP " "` 14276 has_space=`$ECHO "$path" | $GREP " "`
14221 if test "x$has_space" != x; then 14277 if test "x$has_space" != x; then
14222 { $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
14223 $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;}
14224 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
14225 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`"
14226 fi 14290 fi
14227 14291
14228 { $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
14229 $as_echo_n "checking for Boot JDK... " >&6; } 14293 $as_echo_n "checking for Boot JDK... " >&6; }
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14403 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 14467 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14404 14468
14405 else 14469 else
14406 # We're on a posix platform. Hooray! :) 14470 # We're on a posix platform. Hooray! :)
14407 path="$BOOT_JDK" 14471 path="$BOOT_JDK"
14408
14409 if test ! -f "$path" && test ! -d "$path"; then
14410 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14411 fi
14412
14413 has_space=`$ECHO "$path" | $GREP " "` 14472 has_space=`$ECHO "$path" | $GREP " "`
14414 if test "x$has_space" != x; then 14473 if test "x$has_space" != x; then
14415 { $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
14416 $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;}
14417 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
14418 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`"
14419 fi 14486 fi
14420 14487
14421 { $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
14422 $as_echo_n "checking for Boot JDK... " >&6; } 14489 $as_echo_n "checking for Boot JDK... " >&6; }
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14578 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 14645 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14579 14646
14580 else 14647 else
14581 # We're on a posix platform. Hooray! :) 14648 # We're on a posix platform. Hooray! :)
14582 path="$BOOT_JDK" 14649 path="$BOOT_JDK"
14583
14584 if test ! -f "$path" && test ! -d "$path"; then
14585 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14586 fi
14587
14588 has_space=`$ECHO "$path" | $GREP " "` 14650 has_space=`$ECHO "$path" | $GREP " "`
14589 if test "x$has_space" != x; then 14651 if test "x$has_space" != x; then
14590 { $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
14591 $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;}
14592 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
14593 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`"
14594 fi 14664 fi
14595 14665
14596 { $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
14597 $as_echo_n "checking for Boot JDK... " >&6; } 14667 $as_echo_n "checking for Boot JDK... " >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14770 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 14840 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14771 14841
14772 else 14842 else
14773 # We're on a posix platform. Hooray! :) 14843 # We're on a posix platform. Hooray! :)
14774 path="$BOOT_JDK" 14844 path="$BOOT_JDK"
14775
14776 if test ! -f "$path" && test ! -d "$path"; then
14777 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14778 fi
14779
14780 has_space=`$ECHO "$path" | $GREP " "` 14845 has_space=`$ECHO "$path" | $GREP " "`
14781 if test "x$has_space" != x; then 14846 if test "x$has_space" != x; then
14782 { $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
14783 $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;}
14784 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
14785 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`"
14786 fi 14859 fi
14787 14860
14788 { $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
14789 $as_echo_n "checking for Boot JDK... " >&6; } 14862 $as_echo_n "checking for Boot JDK... " >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
14945 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 15018 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
14946 15019
14947 else 15020 else
14948 # We're on a posix platform. Hooray! :) 15021 # We're on a posix platform. Hooray! :)
14949 path="$BOOT_JDK" 15022 path="$BOOT_JDK"
14950
14951 if test ! -f "$path" && test ! -d "$path"; then
14952 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
14953 fi
14954
14955 has_space=`$ECHO "$path" | $GREP " "` 15023 has_space=`$ECHO "$path" | $GREP " "`
14956 if test "x$has_space" != x; then 15024 if test "x$has_space" != x; then
14957 { $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
14958 $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;}
14959 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
14960 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`"
14961 fi 15037 fi
14962 15038
14963 { $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
14964 $as_echo_n "checking for Boot JDK... " >&6; } 15040 $as_echo_n "checking for Boot JDK... " >&6; }
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
15138 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 15214 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
15139 15215
15140 else 15216 else
15141 # We're on a posix platform. Hooray! :) 15217 # We're on a posix platform. Hooray! :)
15142 path="$BOOT_JDK" 15218 path="$BOOT_JDK"
15143
15144 if test ! -f "$path" && test ! -d "$path"; then
15145 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
15146 fi
15147
15148 has_space=`$ECHO "$path" | $GREP " "` 15219 has_space=`$ECHO "$path" | $GREP " "`
15149 if test "x$has_space" != x; then 15220 if test "x$has_space" != x; then
15150 { $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
15151 $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;}
15152 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
15153 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`"
15154 fi 15233 fi
15155 15234
15156 { $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
15157 $as_echo_n "checking for Boot JDK... " >&6; } 15236 $as_echo_n "checking for Boot JDK... " >&6; }
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
15313 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 15392 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
15314 15393
15315 else 15394 else
15316 # We're on a posix platform. Hooray! :) 15395 # We're on a posix platform. Hooray! :)
15317 path="$BOOT_JDK" 15396 path="$BOOT_JDK"
15318
15319 if test ! -f "$path" && test ! -d "$path"; then
15320 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
15321 fi
15322
15323 has_space=`$ECHO "$path" | $GREP " "` 15397 has_space=`$ECHO "$path" | $GREP " "`
15324 if test "x$has_space" != x; then 15398 if test "x$has_space" != x; then
15325 { $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
15326 $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;}
15327 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
15328 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`"
15329 fi 15411 fi
15330 15412
15331 { $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
15332 $as_echo_n "checking for Boot JDK... " >&6; } 15414 $as_echo_n "checking for Boot JDK... " >&6; }
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
15487 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 15569 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
15488 15570
15489 else 15571 else
15490 # We're on a posix platform. Hooray! :) 15572 # We're on a posix platform. Hooray! :)
15491 path="$BOOT_JDK" 15573 path="$BOOT_JDK"
15492
15493 if test ! -f "$path" && test ! -d "$path"; then
15494 as_fn_error $? "The path of BOOT_JDK, which resolves as \"$path\", is not found." "$LINENO" 5
15495 fi
15496
15497 has_space=`$ECHO "$path" | $GREP " "` 15574 has_space=`$ECHO "$path" | $GREP " "`
15498 if test "x$has_space" != x; then 15575 if test "x$has_space" != x; then
15499 { $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
15500 $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;}
15501 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
15502 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`"
15503 fi 15588 fi
15504 15589
15505 { $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
15506 $as_echo_n "checking for Boot JDK... " >&6; } 15591 $as_echo_n "checking for Boot JDK... " >&6; }
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5 15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK" >&5
16169 16254
16170 16255
16171 16256
16172 16257
16173 # 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
16174 16410
16175 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then 16411 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
16176 16412
16177 # 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
16178 # 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.
17126 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 17362 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
17127 17363
17128 else 17364 else
17129 # We're on a posix platform. Hooray! :) 17365 # We're on a posix platform. Hooray! :)
17130 path="$MSVCR_DLL" 17366 path="$MSVCR_DLL"
17131
17132 if test ! -f "$path" && test ! -d "$path"; then
17133 as_fn_error $? "The path of MSVCR_DLL, which resolves as \"$path\", is not found." "$LINENO" 5
17134 fi
17135
17136 has_space=`$ECHO "$path" | $GREP " "` 17367 has_space=`$ECHO "$path" | $GREP " "`
17137 if test "x$has_space" != x; then 17368 if test "x$has_space" != x; then
17138 { $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
17139 $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;}
17140 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
17141 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`"
17142 fi 17381 fi
17143 17382
17144 17383
17145 17384
17146 17385
17280 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 17519 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
17281 17520
17282 else 17521 else
17283 # We're on a posix platform. Hooray! :) 17522 # We're on a posix platform. Hooray! :)
17284 path="$dxsdk_path" 17523 path="$dxsdk_path"
17285
17286 if test ! -f "$path" && test ! -d "$path"; then
17287 as_fn_error $? "The path of dxsdk_path, which resolves as \"$path\", is not found." "$LINENO" 5
17288 fi
17289
17290 has_space=`$ECHO "$path" | $GREP " "` 17524 has_space=`$ECHO "$path" | $GREP " "`
17291 if test "x$has_space" != x; then 17525 if test "x$has_space" != x; then
17292 { $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
17293 $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;}
17294 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
17295 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`"
17296 fi 17538 fi
17297 17539
17298 17540
17299 { $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
17300 $as_echo_n "checking for DirectX SDK lib dir... " >&6; } 17542 $as_echo_n "checking for DirectX SDK lib dir... " >&6; }
17415 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 17657 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
17416 17658
17417 else 17659 else
17418 # We're on a posix platform. Hooray! :) 17660 # We're on a posix platform. Hooray! :)
17419 path="$DXSDK_LIB_PATH" 17661 path="$DXSDK_LIB_PATH"
17420
17421 if test ! -f "$path" && test ! -d "$path"; then
17422 as_fn_error $? "The path of DXSDK_LIB_PATH, which resolves as \"$path\", is not found." "$LINENO" 5
17423 fi
17424
17425 has_space=`$ECHO "$path" | $GREP " "` 17662 has_space=`$ECHO "$path" | $GREP " "`
17426 if test "x$has_space" != x; then 17663 if test "x$has_space" != x; then
17427 { $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
17428 $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;}
17429 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
17430 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`"
17431 fi 17676 fi
17432 17677
17433 17678
17434 { $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
17435 $as_echo_n "checking for DirectX SDK include dir... " >&6; } 17680 $as_echo_n "checking for DirectX SDK include dir... " >&6; }
17548 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 17793 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
17549 17794
17550 else 17795 else
17551 # We're on a posix platform. Hooray! :) 17796 # We're on a posix platform. Hooray! :)
17552 path="$DXSDK_INCLUDE_PATH" 17797 path="$DXSDK_INCLUDE_PATH"
17553
17554 if test ! -f "$path" && test ! -d "$path"; then
17555 as_fn_error $? "The path of DXSDK_INCLUDE_PATH, which resolves as \"$path\", is not found." "$LINENO" 5
17556 fi
17557
17558 has_space=`$ECHO "$path" | $GREP " "` 17798 has_space=`$ECHO "$path" | $GREP " "`
17559 if test "x$has_space" != x; then 17799 if test "x$has_space" != x; then
17560 { $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
17561 $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;}
17562 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
17563 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`"
17564 fi 17812 fi
17565 17813
17566 17814
17567 17815
17568 17816
28237 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;} 28485 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;}
28238 fi 28486 fi
28239 28487
28240 fi 28488 fi
28241 28489
28490
28491
28242 # Restore old path without tools dir 28492 # Restore old path without tools dir
28243 PATH="$OLD_PATH" 28493 PATH="$OLD_PATH"
28244 28494
28245 28495
28246 # 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!
30866 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 31116 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
30867 31117
30868 else 31118 else
30869 # We're on a posix platform. Hooray! :) 31119 # We're on a posix platform. Hooray! :)
30870 path="$with_freetype" 31120 path="$with_freetype"
30871
30872 if test ! -f "$path" && test ! -d "$path"; then
30873 as_fn_error $? "The path of with_freetype, which resolves as \"$path\", is not found." "$LINENO" 5
30874 fi
30875
30876 has_space=`$ECHO "$path" | $GREP " "` 31121 has_space=`$ECHO "$path" | $GREP " "`
30877 if test "x$has_space" != x; then 31122 if test "x$has_space" != x; then
30878 { $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
30879 $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;}
30880 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
30881 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`"
30882 fi 31135 fi
30883 31136
30884 FREETYPE2_LIBS="-L$with_freetype/lib -lfreetype" 31137 FREETYPE2_LIBS="-L$with_freetype/lib -lfreetype"
30885 FREETYPE2_LIB_PATH="$with_freetype/lib" 31138 FREETYPE2_LIB_PATH="$with_freetype/lib"
30886 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
31165 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}") 31418 all_fixpath_prefixes=("${all_fixpath_prefixes[@]}" "${new_path:0:10}")
31166 31419
31167 else 31420 else
31168 # We're on a posix platform. Hooray! :) 31421 # We're on a posix platform. Hooray! :)
31169 path="$FREETYPELOCATION" 31422 path="$FREETYPELOCATION"
31170
31171 if test ! -f "$path" && test ! -d "$path"; then
31172 as_fn_error $? "The path of FREETYPELOCATION, which resolves as \"$path\", is not found." "$LINENO" 5
31173 fi
31174
31175 has_space=`$ECHO "$path" | $GREP " "` 31423 has_space=`$ECHO "$path" | $GREP " "`
31176 if test "x$has_space" != x; then 31424 if test "x$has_space" != x; then
31177 { $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
31178 $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;}
31179 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
31180 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`"
31181 fi 31437 fi
31182 31438
31183 { $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
31184 $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; }
31185 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

mercurial