< prev index next >

make/autoconf/generated-configure.sh

Print this page




1079 CONFIGURE_COMMAND_LINE
1080 target_alias
1081 host_alias
1082 build_alias
1083 LIBS
1084 ECHO_T
1085 ECHO_N
1086 ECHO_C
1087 DEFS
1088 mandir
1089 localedir
1090 libdir
1091 psdir
1092 pdfdir
1093 dvidir
1094 htmldir
1095 infodir
1096 docdir
1097 oldincludedir
1098 includedir

1099 localstatedir
1100 sharedstatedir
1101 sysconfdir
1102 datadir
1103 datarootdir
1104 libexecdir
1105 sbindir
1106 bindir
1107 program_transform_name
1108 prefix
1109 exec_prefix
1110 PACKAGE_URL
1111 PACKAGE_BUGREPORT
1112 PACKAGE_STRING
1113 PACKAGE_VERSION
1114 PACKAGE_TARNAME
1115 PACKAGE_NAME
1116 PATH_SEPARATOR
1117 SHELL'
1118 ac_subst_files=''


1368 site=
1369 srcdir=
1370 verbose=
1371 x_includes=NONE
1372 x_libraries=NONE
1373 
1374 # Installation directory options.
1375 # These are left unexpanded so users can "make install exec_prefix=/foo"
1376 # and all the variables that are supposed to be based on exec_prefix
1377 # by default will actually change.
1378 # Use braces instead of parens because sh, perl, etc. also accept them.
1379 # (The list follows the same order as the GNU Coding Standards.)
1380 bindir='${exec_prefix}/bin'
1381 sbindir='${exec_prefix}/sbin'
1382 libexecdir='${exec_prefix}/libexec'
1383 datarootdir='${prefix}/share'
1384 datadir='${datarootdir}'
1385 sysconfdir='${prefix}/etc'
1386 sharedstatedir='${prefix}/com'
1387 localstatedir='${prefix}/var'

1388 includedir='${prefix}/include'
1389 oldincludedir='/usr/include'
1390 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1391 infodir='${datarootdir}/info'
1392 htmldir='${docdir}'
1393 dvidir='${docdir}'
1394 pdfdir='${docdir}'
1395 psdir='${docdir}'
1396 libdir='${exec_prefix}/lib'
1397 localedir='${datarootdir}/locale'
1398 mandir='${datarootdir}/man'
1399 
1400 ac_prev=
1401 ac_dashdash=
1402 for ac_option
1403 do
1404   # If the previous option needs an argument, assign it.
1405   if test -n "$ac_prev"; then
1406     eval $ac_prev=\$ac_option
1407     ac_prev=


1620   | --program-transform=* | --program-transfor=* \
1621   | --program-transfo=* | --program-transf=* \
1622   | --program-trans=* | --program-tran=* \
1623   | --progr-tra=* | --program-tr=* | --program-t=*)
1624     program_transform_name=$ac_optarg ;;
1625 
1626   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1627     ac_prev=pdfdir ;;
1628   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1629     pdfdir=$ac_optarg ;;
1630 
1631   -psdir | --psdir | --psdi | --psd | --ps)
1632     ac_prev=psdir ;;
1633   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1634     psdir=$ac_optarg ;;
1635 
1636   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1637   | -silent | --silent | --silen | --sile | --sil)
1638     silent=yes ;;
1639 









1640   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1641     ac_prev=sbindir ;;
1642   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1643   | --sbi=* | --sb=*)
1644     sbindir=$ac_optarg ;;
1645 
1646   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1647   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1648   | --sharedst | --shareds | --shared | --share | --shar \
1649   | --sha | --sh)
1650     ac_prev=sharedstatedir ;;
1651   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1652   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1653   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1654   | --sha=* | --sh=*)
1655     sharedstatedir=$ac_optarg ;;
1656 
1657   -site | --site | --sit)
1658     ac_prev=site ;;
1659   -site=* | --site=* | --sit=*)


1757   esac
1758 done
1759 
1760 if test -n "$ac_prev"; then
1761   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1762   as_fn_error $? "missing argument to $ac_option"
1763 fi
1764 
1765 if test -n "$ac_unrecognized_opts"; then
1766   case $enable_option_checking in
1767     no) ;;
1768     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1769     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1770   esac
1771 fi
1772 
1773 # Check all directory arguments for consistency.
1774 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1775                 datadir sysconfdir sharedstatedir localstatedir includedir \
1776                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1777                 libdir localedir mandir
1778 do
1779   eval ac_val=\$$ac_var
1780   # Remove trailing slashes.
1781   case $ac_val in
1782     */ )
1783       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1784       eval $ac_var=\$ac_val;;
1785   esac
1786   # Be sure to have absolute directory names.
1787   case $ac_val in
1788     [\\/$]* | ?:[\\/]* )  continue;;
1789     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1790   esac
1791   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1792 done
1793 
1794 # There might be people who depend on the old broken behavior: `$host'
1795 # used to hold the argument of --host etc.
1796 # FIXME: To remove some day.
1797 build=$build_alias


1910 Installation directories:
1911   --prefix=PREFIX         install architecture-independent files in PREFIX
1912                           [$ac_default_prefix]
1913   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1914                           [PREFIX]
1915 
1916 By default, \`make install' will install all the files in
1917 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1918 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1919 for instance \`--prefix=\$HOME'.
1920 
1921 For better control, use the options below.
1922 
1923 Fine tuning of the installation directories:
1924   --bindir=DIR            user executables [EPREFIX/bin]
1925   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1926   --libexecdir=DIR        program executables [EPREFIX/libexec]
1927   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1928   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1929   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]

1930   --libdir=DIR            object code libraries [EPREFIX/lib]
1931   --includedir=DIR        C header files [PREFIX/include]
1932   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1933   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1934   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1935   --infodir=DIR           info documentation [DATAROOTDIR/info]
1936   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1937   --mandir=DIR            man documentation [DATAROOTDIR/man]
1938   --docdir=DIR            documentation root [DATAROOTDIR/doc/openjdk]
1939   --htmldir=DIR           html documentation [DOCDIR]
1940   --dvidir=DIR            dvi documentation [DOCDIR]
1941   --pdfdir=DIR            pdf documentation [DOCDIR]
1942   --psdir=DIR             ps documentation [DOCDIR]
1943 _ACEOF
1944 
1945   cat <<\_ACEOF
1946 
1947 X features:
1948   --x-includes=DIR    X include files are in DIR
1949   --x-libraries=DIR   X library files are in DIR


5159 
5160 
5161 
5162 
5163 
5164 
5165 
5166 
5167 
5168 
5169 
5170 
5171 
5172 
5173 # This line needs to be here, verbatim, after all includes and the dummy hook
5174 # definitions. It is replaced with custom functionality when building
5175 # custom sources.
5176 #CUSTOM_AUTOCONF_INCLUDE
5177 
5178 # Do not change or remove the following line, it is needed for consistency checks:
5179 DATE_WHEN_GENERATED=1513805283
5180 
5181 ###############################################################################
5182 #
5183 # Initialization / Boot-strapping
5184 #
5185 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5186 # thus it jumps back and forth, each time gaining something needed later on.
5187 #
5188 ###############################################################################
5189 
5190 # If we are requested to print additional help, do that and then exit.
5191 # This must be the very first call.
5192 
5193   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5194 
5195     # Print available toolchains
5196     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5197     $PRINTF "Which are valid to use depends on the build platform.\n"
5198     for toolchain in $VALID_TOOLCHAINS_all; do
5199       # Use indirect variable referencing


15703     *solaris*)
15704       VAR_OS=solaris
15705       VAR_OS_TYPE=unix
15706       ;;
15707     *darwin*)
15708       VAR_OS=macosx
15709       VAR_OS_TYPE=unix
15710       ;;
15711     *bsd*)
15712       VAR_OS=bsd
15713       VAR_OS_TYPE=unix
15714       ;;
15715     *cygwin*)
15716       VAR_OS=windows
15717       VAR_OS_ENV=windows.cygwin
15718       ;;
15719     *mingw*)
15720       VAR_OS=windows
15721       VAR_OS_ENV=windows.msys
15722       ;;




15723     *aix*)
15724       VAR_OS=aix
15725       VAR_OS_TYPE=unix
15726       ;;
15727     *)
15728       as_fn_error $? "unsupported operating system $build_os" "$LINENO" 5
15729       ;;
15730   esac
15731 
15732 
15733   # First argument is the cpu name from the trip/quad
15734   case "$build_cpu" in
15735     x86_64)
15736       VAR_CPU=x86_64
15737       VAR_CPU_ARCH=x86
15738       VAR_CPU_BITS=64
15739       VAR_CPU_ENDIAN=little
15740       ;;
15741     i?86)
15742       VAR_CPU=x86


15890     *solaris*)
15891       VAR_OS=solaris
15892       VAR_OS_TYPE=unix
15893       ;;
15894     *darwin*)
15895       VAR_OS=macosx
15896       VAR_OS_TYPE=unix
15897       ;;
15898     *bsd*)
15899       VAR_OS=bsd
15900       VAR_OS_TYPE=unix
15901       ;;
15902     *cygwin*)
15903       VAR_OS=windows
15904       VAR_OS_ENV=windows.cygwin
15905       ;;
15906     *mingw*)
15907       VAR_OS=windows
15908       VAR_OS_ENV=windows.msys
15909       ;;




15910     *aix*)
15911       VAR_OS=aix
15912       VAR_OS_TYPE=unix
15913       ;;
15914     *)
15915       as_fn_error $? "unsupported operating system $host_os" "$LINENO" 5
15916       ;;
15917   esac
15918 
15919 
15920   # First argument is the cpu name from the trip/quad
15921   case "$host_cpu" in
15922     x86_64)
15923       VAR_CPU=x86_64
15924       VAR_CPU_ARCH=x86
15925       VAR_CPU_BITS=64
15926       VAR_CPU_ENDIAN=little
15927       ;;
15928     i?86)
15929       VAR_CPU=x86


16542     WINDOWS_ENV_VENDOR='msys'
16543     WINDOWS_ENV_VERSION="$MSYS_VERSION"
16544 
16545     { $as_echo "$as_me:${as_lineno-$LINENO}: checking msys root directory as unix-style path" >&5
16546 $as_echo_n "checking msys root directory as unix-style path... " >&6; }
16547     # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away
16548     MSYS_ROOT_PATH=`cd / ; cmd /c cd | $GREP ".*"`
16549 
16550   windows_path="$MSYS_ROOT_PATH"
16551   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
16552     unix_path=`$CYGPATH -u "$windows_path"`
16553     MSYS_ROOT_PATH="$unix_path"
16554   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
16555     unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
16556     MSYS_ROOT_PATH="$unix_path"
16557   fi
16558 
16559     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSYS_ROOT_PATH" >&5
16560 $as_echo "$MSYS_ROOT_PATH" >&6; }
16561     WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH"











16562   else
16563     as_fn_error $? "Unknown Windows environment. Neither cygwin nor msys was detected." "$LINENO" 5
16564   fi
16565 
16566   # Test if windows or unix (cygwin/msys) find is first in path.
16567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what kind of 'find' is first on the PATH" >&5
16568 $as_echo_n "checking what kind of 'find' is first on the PATH... " >&6; }
16569   FIND_BINARY_OUTPUT=`find --version 2>&1`
16570   if test "x`echo $FIND_BINARY_OUTPUT | $GREP GNU`" != x; then
16571     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unix style" >&5
16572 $as_echo "unix style" >&6; }
16573   elif test "x`echo $FIND_BINARY_OUTPUT | $GREP FIND`" != x; then
16574     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Windows" >&5
16575 $as_echo "Windows" >&6; }
16576     { $as_echo "$as_me:${as_lineno-$LINENO}: Your path contains Windows tools (C:\Windows\system32) before your unix (cygwin or msys) tools." >&5
16577 $as_echo "$as_me: Your path contains Windows tools (C:\Windows\system32) before your unix (cygwin or msys) tools." >&6;}
16578     { $as_echo "$as_me:${as_lineno-$LINENO}: This will not work. Please correct and make sure /usr/bin (or similar) is first in path." >&5
16579 $as_echo "$as_me: This will not work. Please correct and make sure /usr/bin (or similar) is first in path." >&6;}
16580     as_fn_error $? "Cannot continue" "$LINENO" 5
16581   else
16582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
16583 $as_echo "unknown" >&6; }


17922 
17923   if test "x$MAKE_CANDIDATE" != x; then
17924     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
17925 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
17926     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
17927     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
17928     if test "x$IS_GNU_MAKE" = x; then
17929       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
17930 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
17931     else
17932       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
17933       if test "x$IS_MODERN_MAKE" = x; then
17934         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
17935 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
17936       else
17937         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
17938           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
17939             MAKE_EXPECTED_ENV='cygwin'
17940           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
17941             MAKE_EXPECTED_ENV='msys'


17942           else
17943             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
17944           fi
17945           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
17946           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
17947         else
17948           # Not relevant for non-Windows
17949           IS_MAKE_CORRECT_ENV=true
17950         fi
17951         if test "x$IS_MAKE_CORRECT_ENV" = x; then
17952           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
17953 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
17954         else
17955           FOUND_MAKE=$MAKE_CANDIDATE
17956 
17957   # Only process if variable expands to non-empty
17958 
17959   if test "x$FOUND_MAKE" != x; then
17960     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
17961 


18306 
18307   if test "x$MAKE_CANDIDATE" != x; then
18308     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
18309 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
18310     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
18311     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
18312     if test "x$IS_GNU_MAKE" = x; then
18313       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
18314 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
18315     else
18316       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
18317       if test "x$IS_MODERN_MAKE" = x; then
18318         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
18319 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
18320       else
18321         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
18322           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18323             MAKE_EXPECTED_ENV='cygwin'
18324           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
18325             MAKE_EXPECTED_ENV='msys'


18326           else
18327             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
18328           fi
18329           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
18330           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
18331         else
18332           # Not relevant for non-Windows
18333           IS_MAKE_CORRECT_ENV=true
18334         fi
18335         if test "x$IS_MAKE_CORRECT_ENV" = x; then
18336           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
18337 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
18338         else
18339           FOUND_MAKE=$MAKE_CANDIDATE
18340 
18341   # Only process if variable expands to non-empty
18342 
18343   if test "x$FOUND_MAKE" != x; then
18344     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18345 


18695 
18696   if test "x$MAKE_CANDIDATE" != x; then
18697     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
18698 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
18699     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
18700     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
18701     if test "x$IS_GNU_MAKE" = x; then
18702       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
18703 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
18704     else
18705       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
18706       if test "x$IS_MODERN_MAKE" = x; then
18707         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
18708 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
18709       else
18710         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
18711           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18712             MAKE_EXPECTED_ENV='cygwin'
18713           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
18714             MAKE_EXPECTED_ENV='msys'


18715           else
18716             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
18717           fi
18718           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
18719           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
18720         else
18721           # Not relevant for non-Windows
18722           IS_MAKE_CORRECT_ENV=true
18723         fi
18724         if test "x$IS_MAKE_CORRECT_ENV" = x; then
18725           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
18726 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
18727         else
18728           FOUND_MAKE=$MAKE_CANDIDATE
18729 
18730   # Only process if variable expands to non-empty
18731 
18732   if test "x$FOUND_MAKE" != x; then
18733     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18734 


19078 
19079   if test "x$MAKE_CANDIDATE" != x; then
19080     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19081 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19082     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19083     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19084     if test "x$IS_GNU_MAKE" = x; then
19085       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19086 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19087     else
19088       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19089       if test "x$IS_MODERN_MAKE" = x; then
19090         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19091 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19092       else
19093         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19094           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19095             MAKE_EXPECTED_ENV='cygwin'
19096           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19097             MAKE_EXPECTED_ENV='msys'


19098           else
19099             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19100           fi
19101           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19102           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19103         else
19104           # Not relevant for non-Windows
19105           IS_MAKE_CORRECT_ENV=true
19106         fi
19107         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19108           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19109 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19110         else
19111           FOUND_MAKE=$MAKE_CANDIDATE
19112 
19113   # Only process if variable expands to non-empty
19114 
19115   if test "x$FOUND_MAKE" != x; then
19116     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19117 


19484 
19485   if test "x$MAKE_CANDIDATE" != x; then
19486     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19487 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19488     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19489     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19490     if test "x$IS_GNU_MAKE" = x; then
19491       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19492 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19493     else
19494       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19495       if test "x$IS_MODERN_MAKE" = x; then
19496         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19497 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19498       else
19499         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19500           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19501             MAKE_EXPECTED_ENV='cygwin'
19502           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19503             MAKE_EXPECTED_ENV='msys'


19504           else
19505             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19506           fi
19507           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19508           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19509         else
19510           # Not relevant for non-Windows
19511           IS_MAKE_CORRECT_ENV=true
19512         fi
19513         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19514           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19515 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19516         else
19517           FOUND_MAKE=$MAKE_CANDIDATE
19518 
19519   # Only process if variable expands to non-empty
19520 
19521   if test "x$FOUND_MAKE" != x; then
19522     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19523 


19868 
19869   if test "x$MAKE_CANDIDATE" != x; then
19870     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19871 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19872     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19873     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19874     if test "x$IS_GNU_MAKE" = x; then
19875       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19876 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19877     else
19878       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19879       if test "x$IS_MODERN_MAKE" = x; then
19880         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19881 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19882       else
19883         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19884           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19885             MAKE_EXPECTED_ENV='cygwin'
19886           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19887             MAKE_EXPECTED_ENV='msys'


19888           else
19889             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19890           fi
19891           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19892           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19893         else
19894           # Not relevant for non-Windows
19895           IS_MAKE_CORRECT_ENV=true
19896         fi
19897         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19898           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19899 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19900         else
19901           FOUND_MAKE=$MAKE_CANDIDATE
19902 
19903   # Only process if variable expands to non-empty
19904 
19905   if test "x$FOUND_MAKE" != x; then
19906     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19907 


20257 
20258   if test "x$MAKE_CANDIDATE" != x; then
20259     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
20260 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
20261     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
20262     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
20263     if test "x$IS_GNU_MAKE" = x; then
20264       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
20265 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
20266     else
20267       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
20268       if test "x$IS_MODERN_MAKE" = x; then
20269         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
20270 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
20271       else
20272         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
20273           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20274             MAKE_EXPECTED_ENV='cygwin'
20275           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
20276             MAKE_EXPECTED_ENV='msys'


20277           else
20278             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
20279           fi
20280           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
20281           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
20282         else
20283           # Not relevant for non-Windows
20284           IS_MAKE_CORRECT_ENV=true
20285         fi
20286         if test "x$IS_MAKE_CORRECT_ENV" = x; then
20287           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
20288 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
20289         else
20290           FOUND_MAKE=$MAKE_CANDIDATE
20291 
20292   # Only process if variable expands to non-empty
20293 
20294   if test "x$FOUND_MAKE" != x; then
20295     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20296 


20640 
20641   if test "x$MAKE_CANDIDATE" != x; then
20642     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
20643 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
20644     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
20645     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
20646     if test "x$IS_GNU_MAKE" = x; then
20647       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
20648 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
20649     else
20650       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
20651       if test "x$IS_MODERN_MAKE" = x; then
20652         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
20653 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
20654       else
20655         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
20656           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20657             MAKE_EXPECTED_ENV='cygwin'
20658           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
20659             MAKE_EXPECTED_ENV='msys'


20660           else
20661             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
20662           fi
20663           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
20664           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
20665         else
20666           # Not relevant for non-Windows
20667           IS_MAKE_CORRECT_ENV=true
20668         fi
20669         if test "x$IS_MAKE_CORRECT_ENV" = x; then
20670           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
20671 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
20672         else
20673           FOUND_MAKE=$MAKE_CANDIDATE
20674 
20675   # Only process if variable expands to non-empty
20676 
20677   if test "x$FOUND_MAKE" != x; then
20678     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20679 


21071 
21072   if test "x$MAKE_CANDIDATE" != x; then
21073     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
21074 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
21075     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
21076     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
21077     if test "x$IS_GNU_MAKE" = x; then
21078       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
21079 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
21080     else
21081       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
21082       if test "x$IS_MODERN_MAKE" = x; then
21083         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
21084 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
21085       else
21086         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
21087           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
21088             MAKE_EXPECTED_ENV='cygwin'
21089           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
21090             MAKE_EXPECTED_ENV='msys'


21091           else
21092             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
21093           fi
21094           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
21095           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
21096         else
21097           # Not relevant for non-Windows
21098           IS_MAKE_CORRECT_ENV=true
21099         fi
21100         if test "x$IS_MAKE_CORRECT_ENV" = x; then
21101           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
21102 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
21103         else
21104           FOUND_MAKE=$MAKE_CANDIDATE
21105 
21106   # Only process if variable expands to non-empty
21107 
21108   if test "x$FOUND_MAKE" != x; then
21109     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
21110 




1079 CONFIGURE_COMMAND_LINE
1080 target_alias
1081 host_alias
1082 build_alias
1083 LIBS
1084 ECHO_T
1085 ECHO_N
1086 ECHO_C
1087 DEFS
1088 mandir
1089 localedir
1090 libdir
1091 psdir
1092 pdfdir
1093 dvidir
1094 htmldir
1095 infodir
1096 docdir
1097 oldincludedir
1098 includedir
1099 runstatedir
1100 localstatedir
1101 sharedstatedir
1102 sysconfdir
1103 datadir
1104 datarootdir
1105 libexecdir
1106 sbindir
1107 bindir
1108 program_transform_name
1109 prefix
1110 exec_prefix
1111 PACKAGE_URL
1112 PACKAGE_BUGREPORT
1113 PACKAGE_STRING
1114 PACKAGE_VERSION
1115 PACKAGE_TARNAME
1116 PACKAGE_NAME
1117 PATH_SEPARATOR
1118 SHELL'
1119 ac_subst_files=''


1369 site=
1370 srcdir=
1371 verbose=
1372 x_includes=NONE
1373 x_libraries=NONE
1374 
1375 # Installation directory options.
1376 # These are left unexpanded so users can "make install exec_prefix=/foo"
1377 # and all the variables that are supposed to be based on exec_prefix
1378 # by default will actually change.
1379 # Use braces instead of parens because sh, perl, etc. also accept them.
1380 # (The list follows the same order as the GNU Coding Standards.)
1381 bindir='${exec_prefix}/bin'
1382 sbindir='${exec_prefix}/sbin'
1383 libexecdir='${exec_prefix}/libexec'
1384 datarootdir='${prefix}/share'
1385 datadir='${datarootdir}'
1386 sysconfdir='${prefix}/etc'
1387 sharedstatedir='${prefix}/com'
1388 localstatedir='${prefix}/var'
1389 runstatedir='${localstatedir}/run'
1390 includedir='${prefix}/include'
1391 oldincludedir='/usr/include'
1392 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1393 infodir='${datarootdir}/info'
1394 htmldir='${docdir}'
1395 dvidir='${docdir}'
1396 pdfdir='${docdir}'
1397 psdir='${docdir}'
1398 libdir='${exec_prefix}/lib'
1399 localedir='${datarootdir}/locale'
1400 mandir='${datarootdir}/man'
1401 
1402 ac_prev=
1403 ac_dashdash=
1404 for ac_option
1405 do
1406   # If the previous option needs an argument, assign it.
1407   if test -n "$ac_prev"; then
1408     eval $ac_prev=\$ac_option
1409     ac_prev=


1622   | --program-transform=* | --program-transfor=* \
1623   | --program-transfo=* | --program-transf=* \
1624   | --program-trans=* | --program-tran=* \
1625   | --progr-tra=* | --program-tr=* | --program-t=*)
1626     program_transform_name=$ac_optarg ;;
1627 
1628   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1629     ac_prev=pdfdir ;;
1630   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1631     pdfdir=$ac_optarg ;;
1632 
1633   -psdir | --psdir | --psdi | --psd | --ps)
1634     ac_prev=psdir ;;
1635   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1636     psdir=$ac_optarg ;;
1637 
1638   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1639   | -silent | --silent | --silen | --sile | --sil)
1640     silent=yes ;;
1641 
1642   -runstatedir | --runstatedir | --runstatedi | --runstated \
1643   | --runstate | --runstat | --runsta | --runst | --runs \
1644   | --run | --ru | --r)
1645     ac_prev=runstatedir ;;
1646   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1647   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1648   | --run=* | --ru=* | --r=*)
1649     runstatedir=$ac_optarg ;;
1650 
1651   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1652     ac_prev=sbindir ;;
1653   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1654   | --sbi=* | --sb=*)
1655     sbindir=$ac_optarg ;;
1656 
1657   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1658   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1659   | --sharedst | --shareds | --shared | --share | --shar \
1660   | --sha | --sh)
1661     ac_prev=sharedstatedir ;;
1662   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1663   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1664   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1665   | --sha=* | --sh=*)
1666     sharedstatedir=$ac_optarg ;;
1667 
1668   -site | --site | --sit)
1669     ac_prev=site ;;
1670   -site=* | --site=* | --sit=*)


1768   esac
1769 done
1770 
1771 if test -n "$ac_prev"; then
1772   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1773   as_fn_error $? "missing argument to $ac_option"
1774 fi
1775 
1776 if test -n "$ac_unrecognized_opts"; then
1777   case $enable_option_checking in
1778     no) ;;
1779     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1780     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1781   esac
1782 fi
1783 
1784 # Check all directory arguments for consistency.
1785 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1786                 datadir sysconfdir sharedstatedir localstatedir includedir \
1787                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1788                 libdir localedir mandir runstatedir
1789 do
1790   eval ac_val=\$$ac_var
1791   # Remove trailing slashes.
1792   case $ac_val in
1793     */ )
1794       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1795       eval $ac_var=\$ac_val;;
1796   esac
1797   # Be sure to have absolute directory names.
1798   case $ac_val in
1799     [\\/$]* | ?:[\\/]* )  continue;;
1800     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1801   esac
1802   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1803 done
1804 
1805 # There might be people who depend on the old broken behavior: `$host'
1806 # used to hold the argument of --host etc.
1807 # FIXME: To remove some day.
1808 build=$build_alias


1921 Installation directories:
1922   --prefix=PREFIX         install architecture-independent files in PREFIX
1923                           [$ac_default_prefix]
1924   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1925                           [PREFIX]
1926 
1927 By default, \`make install' will install all the files in
1928 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1929 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1930 for instance \`--prefix=\$HOME'.
1931 
1932 For better control, use the options below.
1933 
1934 Fine tuning of the installation directories:
1935   --bindir=DIR            user executables [EPREFIX/bin]
1936   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1937   --libexecdir=DIR        program executables [EPREFIX/libexec]
1938   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1939   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1940   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1941   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1942   --libdir=DIR            object code libraries [EPREFIX/lib]
1943   --includedir=DIR        C header files [PREFIX/include]
1944   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1945   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1946   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1947   --infodir=DIR           info documentation [DATAROOTDIR/info]
1948   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1949   --mandir=DIR            man documentation [DATAROOTDIR/man]
1950   --docdir=DIR            documentation root [DATAROOTDIR/doc/openjdk]
1951   --htmldir=DIR           html documentation [DOCDIR]
1952   --dvidir=DIR            dvi documentation [DOCDIR]
1953   --pdfdir=DIR            pdf documentation [DOCDIR]
1954   --psdir=DIR             ps documentation [DOCDIR]
1955 _ACEOF
1956 
1957   cat <<\_ACEOF
1958 
1959 X features:
1960   --x-includes=DIR    X include files are in DIR
1961   --x-libraries=DIR   X library files are in DIR


5171 
5172 
5173 
5174 
5175 
5176 
5177 
5178 
5179 
5180 
5181 
5182 
5183 
5184 
5185 # This line needs to be here, verbatim, after all includes and the dummy hook
5186 # definitions. It is replaced with custom functionality when building
5187 # custom sources.
5188 #CUSTOM_AUTOCONF_INCLUDE
5189 
5190 # Do not change or remove the following line, it is needed for consistency checks:
5191 DATE_WHEN_GENERATED=1516716346
5192 
5193 ###############################################################################
5194 #
5195 # Initialization / Boot-strapping
5196 #
5197 # The bootstrapping process needs to solve the "chicken or the egg" problem,
5198 # thus it jumps back and forth, each time gaining something needed later on.
5199 #
5200 ###############################################################################
5201 
5202 # If we are requested to print additional help, do that and then exit.
5203 # This must be the very first call.
5204 
5205   if test "x$CONFIGURE_PRINT_ADDITIONAL_HELP" != x; then
5206 
5207     # Print available toolchains
5208     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
5209     $PRINTF "Which are valid to use depends on the build platform.\n"
5210     for toolchain in $VALID_TOOLCHAINS_all; do
5211       # Use indirect variable referencing


15715     *solaris*)
15716       VAR_OS=solaris
15717       VAR_OS_TYPE=unix
15718       ;;
15719     *darwin*)
15720       VAR_OS=macosx
15721       VAR_OS_TYPE=unix
15722       ;;
15723     *bsd*)
15724       VAR_OS=bsd
15725       VAR_OS_TYPE=unix
15726       ;;
15727     *cygwin*)
15728       VAR_OS=windows
15729       VAR_OS_ENV=windows.cygwin
15730       ;;
15731     *mingw*)
15732       VAR_OS=windows
15733       VAR_OS_ENV=windows.msys
15734       ;;
15735     *wsl*)
15736       VAR_OS=windows
15737       VAR_OS_ENV=windows.wsl
15738       ;;
15739     *aix*)
15740       VAR_OS=aix
15741       VAR_OS_TYPE=unix
15742       ;;
15743     *)
15744       as_fn_error $? "unsupported operating system $build_os" "$LINENO" 5
15745       ;;
15746   esac
15747 
15748 
15749   # First argument is the cpu name from the trip/quad
15750   case "$build_cpu" in
15751     x86_64)
15752       VAR_CPU=x86_64
15753       VAR_CPU_ARCH=x86
15754       VAR_CPU_BITS=64
15755       VAR_CPU_ENDIAN=little
15756       ;;
15757     i?86)
15758       VAR_CPU=x86


15906     *solaris*)
15907       VAR_OS=solaris
15908       VAR_OS_TYPE=unix
15909       ;;
15910     *darwin*)
15911       VAR_OS=macosx
15912       VAR_OS_TYPE=unix
15913       ;;
15914     *bsd*)
15915       VAR_OS=bsd
15916       VAR_OS_TYPE=unix
15917       ;;
15918     *cygwin*)
15919       VAR_OS=windows
15920       VAR_OS_ENV=windows.cygwin
15921       ;;
15922     *mingw*)
15923       VAR_OS=windows
15924       VAR_OS_ENV=windows.msys
15925       ;;
15926     *wsl*)
15927       VAR_OS=windows
15928       VAR_OS_ENV=windows.wsl
15929       ;;
15930     *aix*)
15931       VAR_OS=aix
15932       VAR_OS_TYPE=unix
15933       ;;
15934     *)
15935       as_fn_error $? "unsupported operating system $host_os" "$LINENO" 5
15936       ;;
15937   esac
15938 
15939 
15940   # First argument is the cpu name from the trip/quad
15941   case "$host_cpu" in
15942     x86_64)
15943       VAR_CPU=x86_64
15944       VAR_CPU_ARCH=x86
15945       VAR_CPU_BITS=64
15946       VAR_CPU_ENDIAN=little
15947       ;;
15948     i?86)
15949       VAR_CPU=x86


16562     WINDOWS_ENV_VENDOR='msys'
16563     WINDOWS_ENV_VERSION="$MSYS_VERSION"
16564 
16565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking msys root directory as unix-style path" >&5
16566 $as_echo_n "checking msys root directory as unix-style path... " >&6; }
16567     # The cmd output ends with Windows line endings (CR/LF), the grep command will strip that away
16568     MSYS_ROOT_PATH=`cd / ; cmd /c cd | $GREP ".*"`
16569 
16570   windows_path="$MSYS_ROOT_PATH"
16571   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
16572     unix_path=`$CYGPATH -u "$windows_path"`
16573     MSYS_ROOT_PATH="$unix_path"
16574   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
16575     unix_path=`$ECHO "$windows_path" | $SED -e 's,^\\(.\\):,/\\1,g' -e 's,\\\\,/,g'`
16576     MSYS_ROOT_PATH="$unix_path"
16577   fi
16578 
16579     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSYS_ROOT_PATH" >&5
16580 $as_echo "$MSYS_ROOT_PATH" >&6; }
16581     WINDOWS_ENV_ROOT_PATH="$MSYS_ROOT_PATH"
16582   elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
16583     { $as_echo "$as_me:${as_lineno-$LINENO}: checking wsl kernel" >&5
16584 $as_echo_n "checking wsl kernel... " >&6; }
16585     WSL_KERNEL_VERSION=`$UNAME -r`
16586     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WSL_KERNEL_VERSION" >&5
16587 $as_echo "$WSL_KERNEL_VERSION" >&6; }
16588 
16589     WINDOWS_ENV_VENDOR='wsl'
16590     WINDOWS_ENV_VERSION="$WSL_KERNEL_VERSION"
16591 
16592     WINDOWS_ENV_ROOT_PATH="/mnt/c"
16593   else
16594     as_fn_error $? "Unknown Windows environment: $OPENJDK_BUILD_OS_ENV " "$LINENO" 5
16595   fi
16596 
16597   # Test if windows or unix (cygwin/msys) find is first in path.
16598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking what kind of 'find' is first on the PATH" >&5
16599 $as_echo_n "checking what kind of 'find' is first on the PATH... " >&6; }
16600   FIND_BINARY_OUTPUT=`find --version 2>&1`
16601   if test "x`echo $FIND_BINARY_OUTPUT | $GREP GNU`" != x; then
16602     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unix style" >&5
16603 $as_echo "unix style" >&6; }
16604   elif test "x`echo $FIND_BINARY_OUTPUT | $GREP FIND`" != x; then
16605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Windows" >&5
16606 $as_echo "Windows" >&6; }
16607     { $as_echo "$as_me:${as_lineno-$LINENO}: Your path contains Windows tools (C:\Windows\system32) before your unix (cygwin or msys) tools." >&5
16608 $as_echo "$as_me: Your path contains Windows tools (C:\Windows\system32) before your unix (cygwin or msys) tools." >&6;}
16609     { $as_echo "$as_me:${as_lineno-$LINENO}: This will not work. Please correct and make sure /usr/bin (or similar) is first in path." >&5
16610 $as_echo "$as_me: This will not work. Please correct and make sure /usr/bin (or similar) is first in path." >&6;}
16611     as_fn_error $? "Cannot continue" "$LINENO" 5
16612   else
16613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
16614 $as_echo "unknown" >&6; }


17953 
17954   if test "x$MAKE_CANDIDATE" != x; then
17955     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
17956 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
17957     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
17958     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
17959     if test "x$IS_GNU_MAKE" = x; then
17960       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
17961 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
17962     else
17963       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
17964       if test "x$IS_MODERN_MAKE" = x; then
17965         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
17966 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
17967       else
17968         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
17969           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
17970             MAKE_EXPECTED_ENV='cygwin'
17971           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
17972             MAKE_EXPECTED_ENV='msys'
17973           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
17974             MAKE_EXPECTED_ENV='.'
17975           else
17976             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
17977           fi
17978           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
17979           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
17980         else
17981           # Not relevant for non-Windows
17982           IS_MAKE_CORRECT_ENV=true
17983         fi
17984         if test "x$IS_MAKE_CORRECT_ENV" = x; then
17985           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
17986 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
17987         else
17988           FOUND_MAKE=$MAKE_CANDIDATE
17989 
17990   # Only process if variable expands to non-empty
17991 
17992   if test "x$FOUND_MAKE" != x; then
17993     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
17994 


18339 
18340   if test "x$MAKE_CANDIDATE" != x; then
18341     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
18342 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
18343     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
18344     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
18345     if test "x$IS_GNU_MAKE" = x; then
18346       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
18347 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
18348     else
18349       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
18350       if test "x$IS_MODERN_MAKE" = x; then
18351         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
18352 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
18353       else
18354         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
18355           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18356             MAKE_EXPECTED_ENV='cygwin'
18357           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
18358             MAKE_EXPECTED_ENV='msys'
18359           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
18360             MAKE_EXPECTED_ENV='.'
18361           else
18362             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
18363           fi
18364           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
18365           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
18366         else
18367           # Not relevant for non-Windows
18368           IS_MAKE_CORRECT_ENV=true
18369         fi
18370         if test "x$IS_MAKE_CORRECT_ENV" = x; then
18371           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
18372 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
18373         else
18374           FOUND_MAKE=$MAKE_CANDIDATE
18375 
18376   # Only process if variable expands to non-empty
18377 
18378   if test "x$FOUND_MAKE" != x; then
18379     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18380 


18730 
18731   if test "x$MAKE_CANDIDATE" != x; then
18732     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
18733 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
18734     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
18735     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
18736     if test "x$IS_GNU_MAKE" = x; then
18737       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
18738 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
18739     else
18740       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
18741       if test "x$IS_MODERN_MAKE" = x; then
18742         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
18743 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
18744       else
18745         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
18746           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18747             MAKE_EXPECTED_ENV='cygwin'
18748           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
18749             MAKE_EXPECTED_ENV='msys'
18750           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
18751             MAKE_EXPECTED_ENV='.'
18752           else
18753             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
18754           fi
18755           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
18756           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
18757         else
18758           # Not relevant for non-Windows
18759           IS_MAKE_CORRECT_ENV=true
18760         fi
18761         if test "x$IS_MAKE_CORRECT_ENV" = x; then
18762           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
18763 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
18764         else
18765           FOUND_MAKE=$MAKE_CANDIDATE
18766 
18767   # Only process if variable expands to non-empty
18768 
18769   if test "x$FOUND_MAKE" != x; then
18770     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
18771 


19115 
19116   if test "x$MAKE_CANDIDATE" != x; then
19117     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19118 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19119     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19120     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19121     if test "x$IS_GNU_MAKE" = x; then
19122       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19123 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19124     else
19125       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19126       if test "x$IS_MODERN_MAKE" = x; then
19127         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19128 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19129       else
19130         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19131           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19132             MAKE_EXPECTED_ENV='cygwin'
19133           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19134             MAKE_EXPECTED_ENV='msys'
19135           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
19136             MAKE_EXPECTED_ENV='.'
19137           else
19138             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19139           fi
19140           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19141           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19142         else
19143           # Not relevant for non-Windows
19144           IS_MAKE_CORRECT_ENV=true
19145         fi
19146         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19147           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19148 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19149         else
19150           FOUND_MAKE=$MAKE_CANDIDATE
19151 
19152   # Only process if variable expands to non-empty
19153 
19154   if test "x$FOUND_MAKE" != x; then
19155     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19156 


19523 
19524   if test "x$MAKE_CANDIDATE" != x; then
19525     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19526 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19527     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19528     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19529     if test "x$IS_GNU_MAKE" = x; then
19530       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19531 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19532     else
19533       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19534       if test "x$IS_MODERN_MAKE" = x; then
19535         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19536 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19537       else
19538         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19539           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19540             MAKE_EXPECTED_ENV='cygwin'
19541           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19542             MAKE_EXPECTED_ENV='msys'
19543           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
19544             MAKE_EXPECTED_ENV='.'
19545           else
19546             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19547           fi
19548           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19549           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19550         else
19551           # Not relevant for non-Windows
19552           IS_MAKE_CORRECT_ENV=true
19553         fi
19554         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19555           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19556 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19557         else
19558           FOUND_MAKE=$MAKE_CANDIDATE
19559 
19560   # Only process if variable expands to non-empty
19561 
19562   if test "x$FOUND_MAKE" != x; then
19563     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19564 


19909 
19910   if test "x$MAKE_CANDIDATE" != x; then
19911     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
19912 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
19913     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
19914     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
19915     if test "x$IS_GNU_MAKE" = x; then
19916       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
19917 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
19918     else
19919       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
19920       if test "x$IS_MODERN_MAKE" = x; then
19921         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
19922 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
19923       else
19924         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
19925           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19926             MAKE_EXPECTED_ENV='cygwin'
19927           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
19928             MAKE_EXPECTED_ENV='msys'
19929           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
19930             MAKE_EXPECTED_ENV='.'
19931           else
19932             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
19933           fi
19934           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
19935           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
19936         else
19937           # Not relevant for non-Windows
19938           IS_MAKE_CORRECT_ENV=true
19939         fi
19940         if test "x$IS_MAKE_CORRECT_ENV" = x; then
19941           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
19942 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
19943         else
19944           FOUND_MAKE=$MAKE_CANDIDATE
19945 
19946   # Only process if variable expands to non-empty
19947 
19948   if test "x$FOUND_MAKE" != x; then
19949     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
19950 


20300 
20301   if test "x$MAKE_CANDIDATE" != x; then
20302     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
20303 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
20304     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
20305     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
20306     if test "x$IS_GNU_MAKE" = x; then
20307       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
20308 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
20309     else
20310       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
20311       if test "x$IS_MODERN_MAKE" = x; then
20312         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
20313 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
20314       else
20315         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
20316           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20317             MAKE_EXPECTED_ENV='cygwin'
20318           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
20319             MAKE_EXPECTED_ENV='msys'
20320           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
20321             MAKE_EXPECTED_ENV='.'
20322           else
20323             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
20324           fi
20325           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
20326           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
20327         else
20328           # Not relevant for non-Windows
20329           IS_MAKE_CORRECT_ENV=true
20330         fi
20331         if test "x$IS_MAKE_CORRECT_ENV" = x; then
20332           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
20333 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
20334         else
20335           FOUND_MAKE=$MAKE_CANDIDATE
20336 
20337   # Only process if variable expands to non-empty
20338 
20339   if test "x$FOUND_MAKE" != x; then
20340     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20341 


20685 
20686   if test "x$MAKE_CANDIDATE" != x; then
20687     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
20688 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
20689     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
20690     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
20691     if test "x$IS_GNU_MAKE" = x; then
20692       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
20693 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
20694     else
20695       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
20696       if test "x$IS_MODERN_MAKE" = x; then
20697         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
20698 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
20699       else
20700         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
20701           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20702             MAKE_EXPECTED_ENV='cygwin'
20703           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
20704             MAKE_EXPECTED_ENV='msys'
20705           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
20706             MAKE_EXPECTED_ENV='.'
20707           else
20708             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
20709           fi
20710           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
20711           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
20712         else
20713           # Not relevant for non-Windows
20714           IS_MAKE_CORRECT_ENV=true
20715         fi
20716         if test "x$IS_MAKE_CORRECT_ENV" = x; then
20717           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
20718 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
20719         else
20720           FOUND_MAKE=$MAKE_CANDIDATE
20721 
20722   # Only process if variable expands to non-empty
20723 
20724   if test "x$FOUND_MAKE" != x; then
20725     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
20726 


21118 
21119   if test "x$MAKE_CANDIDATE" != x; then
21120     { $as_echo "$as_me:${as_lineno-$LINENO}: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&5
21121 $as_echo "$as_me: Testing potential make at $MAKE_CANDIDATE, found using $DESCRIPTION" >&6;}
21122     MAKE_VERSION_STRING=`$MAKE_CANDIDATE --version | $HEAD -n 1`
21123     IS_GNU_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP 'GNU Make'`
21124     if test "x$IS_GNU_MAKE" = x; then
21125       { $as_echo "$as_me:${as_lineno-$LINENO}: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&5
21126 $as_echo "$as_me: Found potential make at $MAKE_CANDIDATE, however, this is not GNU Make. Ignoring." >&6;}
21127     else
21128       IS_MODERN_MAKE=`$ECHO $MAKE_VERSION_STRING | $GREP $MAKE_VERSION_EXPR`
21129       if test "x$IS_MODERN_MAKE" = x; then
21130         { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&5
21131 $as_echo "$as_me: Found GNU make at $MAKE_CANDIDATE, however this is not version $MAKE_REQUIRED_VERSION or later. (it is: $MAKE_VERSION_STRING). Ignoring." >&6;}
21132       else
21133         if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
21134           if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
21135             MAKE_EXPECTED_ENV='cygwin'
21136           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.msys"; then
21137             MAKE_EXPECTED_ENV='msys'
21138           elif test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.wsl"; then
21139             MAKE_EXPECTED_ENV='.'
21140           else
21141             as_fn_error $? "Unknown Windows environment" "$LINENO" 5
21142           fi
21143           MAKE_BUILT_FOR=`$MAKE_CANDIDATE --version | $GREP -i 'built for'`
21144           IS_MAKE_CORRECT_ENV=`$ECHO $MAKE_BUILT_FOR | $GREP $MAKE_EXPECTED_ENV`
21145         else
21146           # Not relevant for non-Windows
21147           IS_MAKE_CORRECT_ENV=true
21148         fi
21149         if test "x$IS_MAKE_CORRECT_ENV" = x; then
21150           { $as_echo "$as_me:${as_lineno-$LINENO}: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&5
21151 $as_echo "$as_me: Found GNU make version $MAKE_VERSION_STRING at $MAKE_CANDIDATE, but it is not for $MAKE_EXPECTED_ENV (it says: $MAKE_BUILT_FOR). Ignoring." >&6;}
21152         else
21153           FOUND_MAKE=$MAKE_CANDIDATE
21154 
21155   # Only process if variable expands to non-empty
21156 
21157   if test "x$FOUND_MAKE" != x; then
21158     if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
21159 


< prev index next >