< prev index next >

common/autoconf/generated-configure.sh

Print this page




 996 CUSTOM_MAKE_DIR
 997 target_alias
 998 host_alias
 999 build_alias
1000 LIBS
1001 ECHO_T
1002 ECHO_N
1003 ECHO_C
1004 DEFS
1005 mandir
1006 localedir
1007 libdir
1008 psdir
1009 pdfdir
1010 dvidir
1011 htmldir
1012 infodir
1013 docdir
1014 oldincludedir
1015 includedir
1016 runstatedir
1017 localstatedir
1018 sharedstatedir
1019 sysconfdir
1020 datadir
1021 datarootdir
1022 libexecdir
1023 sbindir
1024 bindir
1025 program_transform_name
1026 prefix
1027 exec_prefix
1028 PACKAGE_URL
1029 PACKAGE_BUGREPORT
1030 PACKAGE_STRING
1031 PACKAGE_VERSION
1032 PACKAGE_TARNAME
1033 PACKAGE_NAME
1034 PATH_SEPARATOR
1035 SHELL'
1036 ac_subst_files=''


1239 site=
1240 srcdir=
1241 verbose=
1242 x_includes=NONE
1243 x_libraries=NONE
1244 
1245 # Installation directory options.
1246 # These are left unexpanded so users can "make install exec_prefix=/foo"
1247 # and all the variables that are supposed to be based on exec_prefix
1248 # by default will actually change.
1249 # Use braces instead of parens because sh, perl, etc. also accept them.
1250 # (The list follows the same order as the GNU Coding Standards.)
1251 bindir='${exec_prefix}/bin'
1252 sbindir='${exec_prefix}/sbin'
1253 libexecdir='${exec_prefix}/libexec'
1254 datarootdir='${prefix}/share'
1255 datadir='${datarootdir}'
1256 sysconfdir='${prefix}/etc'
1257 sharedstatedir='${prefix}/com'
1258 localstatedir='${prefix}/var'
1259 runstatedir='${localstatedir}/run'
1260 includedir='${prefix}/include'
1261 oldincludedir='/usr/include'
1262 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1263 infodir='${datarootdir}/info'
1264 htmldir='${docdir}'
1265 dvidir='${docdir}'
1266 pdfdir='${docdir}'
1267 psdir='${docdir}'
1268 libdir='${exec_prefix}/lib'
1269 localedir='${datarootdir}/locale'
1270 mandir='${datarootdir}/man'
1271 
1272 ac_prev=
1273 ac_dashdash=
1274 for ac_option
1275 do
1276   # If the previous option needs an argument, assign it.
1277   if test -n "$ac_prev"; then
1278     eval $ac_prev=\$ac_option
1279     ac_prev=


1492   | --program-transform=* | --program-transfor=* \
1493   | --program-transfo=* | --program-transf=* \
1494   | --program-trans=* | --program-tran=* \
1495   | --progr-tra=* | --program-tr=* | --program-t=*)
1496     program_transform_name=$ac_optarg ;;
1497 
1498   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1499     ac_prev=pdfdir ;;
1500   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1501     pdfdir=$ac_optarg ;;
1502 
1503   -psdir | --psdir | --psdi | --psd | --ps)
1504     ac_prev=psdir ;;
1505   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1506     psdir=$ac_optarg ;;
1507 
1508   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1509   | -silent | --silent | --silen | --sile | --sil)
1510     silent=yes ;;
1511 
1512   -runstatedir | --runstatedir | --runstatedi | --runstated \
1513   | --runstate | --runstat | --runsta | --runst | --runs \
1514   | --run | --ru | --r)
1515     ac_prev=runstatedir ;;
1516   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1517   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1518   | --run=* | --ru=* | --r=*)
1519     runstatedir=$ac_optarg ;;
1520 
1521   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1522     ac_prev=sbindir ;;
1523   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1524   | --sbi=* | --sb=*)
1525     sbindir=$ac_optarg ;;
1526 
1527   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1528   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1529   | --sharedst | --shareds | --shared | --share | --shar \
1530   | --sha | --sh)
1531     ac_prev=sharedstatedir ;;
1532   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1533   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1534   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1535   | --sha=* | --sh=*)
1536     sharedstatedir=$ac_optarg ;;
1537 
1538   -site | --site | --sit)
1539     ac_prev=site ;;
1540   -site=* | --site=* | --sit=*)


1638   esac
1639 done
1640 
1641 if test -n "$ac_prev"; then
1642   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1643   as_fn_error $? "missing argument to $ac_option"
1644 fi
1645 
1646 if test -n "$ac_unrecognized_opts"; then
1647   case $enable_option_checking in
1648     no) ;;
1649     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1650     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1651   esac
1652 fi
1653 
1654 # Check all directory arguments for consistency.
1655 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1656                 datadir sysconfdir sharedstatedir localstatedir includedir \
1657                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1658                 libdir localedir mandir runstatedir
1659 do
1660   eval ac_val=\$$ac_var
1661   # Remove trailing slashes.
1662   case $ac_val in
1663     */ )
1664       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1665       eval $ac_var=\$ac_val;;
1666   esac
1667   # Be sure to have absolute directory names.
1668   case $ac_val in
1669     [\\/$]* | ?:[\\/]* )  continue;;
1670     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1671   esac
1672   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1673 done
1674 
1675 # There might be people who depend on the old broken behavior: `$host'
1676 # used to hold the argument of --host etc.
1677 # FIXME: To remove some day.
1678 build=$build_alias


1791 Installation directories:
1792   --prefix=PREFIX         install architecture-independent files in PREFIX
1793                           [$ac_default_prefix]
1794   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1795                           [PREFIX]
1796 
1797 By default, \`make install' will install all the files in
1798 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1799 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1800 for instance \`--prefix=\$HOME'.
1801 
1802 For better control, use the options below.
1803 
1804 Fine tuning of the installation directories:
1805   --bindir=DIR            user executables [EPREFIX/bin]
1806   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1807   --libexecdir=DIR        program executables [EPREFIX/libexec]
1808   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1809   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1810   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1811   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1812   --libdir=DIR            object code libraries [EPREFIX/lib]
1813   --includedir=DIR        C header files [PREFIX/include]
1814   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1815   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1816   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1817   --infodir=DIR           info documentation [DATAROOTDIR/info]
1818   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1819   --mandir=DIR            man documentation [DATAROOTDIR/man]
1820   --docdir=DIR            documentation root [DATAROOTDIR/doc/openjdk]
1821   --htmldir=DIR           html documentation [DOCDIR]
1822   --dvidir=DIR            dvi documentation [DOCDIR]
1823   --pdfdir=DIR            pdf documentation [DOCDIR]
1824   --psdir=DIR             ps documentation [DOCDIR]
1825 _ACEOF
1826 
1827   cat <<\_ACEOF
1828 
1829 X features:
1830   --x-includes=DIR    X include files are in DIR
1831   --x-libraries=DIR   X library files are in DIR


4377 
4378 
4379 
4380 
4381 
4382 
4383 
4384 
4385 
4386 
4387 
4388 
4389 
4390 
4391 # This line needs to be here, verbatim, after all includes and the dummy hook
4392 # definitions. It is replaced with custom functionality when building
4393 # custom sources.
4394 #CUSTOM_AUTOCONF_INCLUDE
4395 
4396 # Do not change or remove the following line, it is needed for consistency checks:
4397 DATE_WHEN_GENERATED=1621590864
4398 
4399 ###############################################################################
4400 #
4401 # Initialization / Boot-strapping
4402 #
4403 # The bootstrapping process needs to solve the "chicken or the egg" problem,
4404 # thus it jumps back and forth, each time gaining something needed later on.
4405 #
4406 ###############################################################################
4407 
4408 # If we are requested to print additional help, do that and then exit.
4409 # This must be the very first call.
4410 
4411   if test "x$CONFIGURE_PRINT_TOOLCHAIN_LIST" != x; then
4412     $PRINTF "The following toolchains are available as arguments to --with-toolchain-type.\n"
4413     $PRINTF "Which are valid to use depends on the build platform.\n"
4414     for toolchain in $VALID_TOOLCHAINS_all; do
4415       # Use indirect variable referencing
4416       toolchain_var_name=TOOLCHAIN_DESCRIPTION_$toolchain
4417       TOOLCHAIN_DESCRIPTION=${!toolchain_var_name}


26877 $as_echo "$SDKPATH" >&6; }
26878     else
26879       { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none, will use system headers and frameworks)" >&5
26880 $as_echo "(none, will use system headers and frameworks)" >&6; }
26881     fi
26882 
26883 
26884     # Perform a basic sanity test
26885     if test ! -f "$SDKPATH/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h"; then
26886       as_fn_error $? "Unable to find required framework headers, provide a valid path to Xcode 4 using --with-xcode-path" "$LINENO" 5
26887     fi
26888 
26889     # if SDKPATH is non-empty then we need to add -isysroot and -iframework for gcc and g++
26890     if test -n "$SDKPATH"; then
26891       # We need -isysroot <path> and -iframework<path>/System/Library/Frameworks
26892       CFLAGS_JDK="${CFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26893       CXXFLAGS_JDK="${CXXFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26894       LDFLAGS_JDK="${LDFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26895     fi
26896 
26897     # These always need to be set, or we can't find the frameworks embedded in JavaVM.framework
26898     # setting this here means it doesn't have to be peppered throughout the forest
26899     CFLAGS_JDK="$CFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""
26900     CXXFLAGS_JDK="$CXXFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""
26901     LDFLAGS_JDK="$LDFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""


26902   fi
26903 
26904   # For solaris we really need solaris tools, and not the GNU equivalent.
26905   # The build tools on Solaris reside in /usr/ccs (C Compilation System),
26906   # so add that to path before starting to probe.
26907   # FIXME: This was originally only done for AS,NM,GNM,STRIP,MCS,OBJCOPY,OBJDUMP.
26908   if test "x$OPENJDK_BUILD_OS" = xsolaris; then
26909     PATH="/usr/ccs/bin:$PATH"
26910   fi
26911 
26912   # Finally add TOOLCHAIN_PATH at the beginning, to allow --with-tools-dir to
26913   # override all other locations.
26914   if test "x$TOOLCHAIN_PATH" != x; then
26915     PATH=$TOOLCHAIN_PATH:$PATH
26916   fi
26917 
26918 
26919   #
26920   # Setup the compilers (CC and CXX)
26921   #


38696 
38697   # Restore the flags to the user specified values.
38698   # This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
38699   CFLAGS="$ORG_CFLAGS"
38700   CXXFLAGS="$ORG_CXXFLAGS"
38701   OBJCFLAGS="$ORG_OBJCFLAGS"
38702 
38703 
38704 # Finally do some processing after the detection phase
38705 
38706   if test "x$COMPILE_TYPE" = "xcross"; then
38707     # Now we need to find a C/C++ compiler that can build executables for the
38708     # build platform. We can't use the AC_PROG_CC macro, since it can only be
38709     # used once. Also, we need to do this without adding a tools dir to the
38710     # path, otherwise we might pick up cross-compilers which don't use standard
38711     # naming.
38712 
38713     # FIXME: we should list the discovered compilers as an exclude pattern!
38714     # If we do that, we can do this detection before POST_DETECTION, and still
38715     # find the build compilers in the tools dir, if needed.























































































































































































































































































































































































38716 
38717 
38718   # Publish this variable in the help.
38719 
38720 
38721   if test "x$BUILD_CC" = x; then
38722     # The variable is not set by user, try to locate tool using the code snippet
38723     for ac_prog in cl cc gcc
38724 do
38725   # Extract the first word of "$ac_prog", so it can be a program name with args.
38726 set dummy $ac_prog; ac_word=$2
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38728 $as_echo_n "checking for $ac_word... " >&6; }
38729 if ${ac_cv_path_BUILD_CC+:} false; then :
38730   $as_echo_n "(cached) " >&6
38731 else
38732   case $BUILD_CC in
38733   [\\/]* | ?:[\\/]*)
38734   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
38735   ;;


38883         fi
38884       else
38885         # Otherwise we believe it is a complete path. Use it as it is.
38886         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CC=$tool_specified" >&5
38887 $as_echo "$as_me: Will use user supplied tool BUILD_CC=$tool_specified" >&6;}
38888         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CC" >&5
38889 $as_echo_n "checking for BUILD_CC... " >&6; }
38890         if test ! -x "$tool_specified"; then
38891           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
38892 $as_echo "not found" >&6; }
38893           as_fn_error $? "User supplied tool BUILD_CC=$tool_specified does not exist or is not executable" "$LINENO" 5
38894         fi
38895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
38896 $as_echo "$tool_specified" >&6; }
38897       fi
38898     fi
38899   fi
38900 
38901 
38902 








































































































































































































38903   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
38904 
38905   # First separate the path from the arguments. This will split at the first
38906   # space.
38907   complete="$BUILD_CC"
38908   path="${complete%% *}"
38909   tmp="$complete EOL"
38910   arguments="${tmp#* }"
38911 
38912   # Input might be given as Windows format, start by converting to
38913   # unix format.
38914   new_path=`$CYGPATH -u "$path"`
38915 
38916   # Now try to locate executable using which
38917   new_path=`$WHICH "$new_path" 2> /dev/null`
38918   # bat and cmd files are not always considered executable in cygwin causing which
38919   # to not find them
38920   if test "x$new_path" = x \
38921       && test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
38922       && test "x`$LS \"$path\" 2>/dev/null`" != x; then


39163       if test "x$has_space" != x; then
39164         { $as_echo "$as_me:${as_lineno-$LINENO}: This might be caused by spaces in the path, which is not allowed." >&5
39165 $as_echo "$as_me: This might be caused by spaces in the path, which is not allowed." >&6;}
39166       fi
39167       as_fn_error $? "Cannot locate the the path of BUILD_CC" "$LINENO" 5
39168     fi
39169   fi
39170 
39171   # Now join together the path and the arguments once again
39172   if test "x$arguments" != xEOL; then
39173     new_complete="$new_path ${arguments% *}"
39174   else
39175     new_complete="$new_path"
39176   fi
39177 
39178   if test "x$complete" != "x$new_complete"; then
39179     BUILD_CC="$new_complete"
39180     { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CC to \"$new_complete\"" >&5
39181 $as_echo "$as_me: Rewriting BUILD_CC to \"$new_complete\"" >&6;}
39182   fi
39183 
39184 
39185 
39186   # Publish this variable in the help.
39187 
39188 
39189   if test "x$BUILD_CXX" = x; then
39190     # The variable is not set by user, try to locate tool using the code snippet
39191     for ac_prog in cl CC g++
39192 do
39193   # Extract the first word of "$ac_prog", so it can be a program name with args.
39194 set dummy $ac_prog; ac_word=$2
39195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39196 $as_echo_n "checking for $ac_word... " >&6; }
39197 if ${ac_cv_path_BUILD_CXX+:} false; then :
39198   $as_echo_n "(cached) " >&6
39199 else
39200   case $BUILD_CXX in
39201   [\\/]* | ?:[\\/]*)
39202   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39203   ;;
39204   *)
39205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39206 for as_dir in $PATH
39207 do
39208   IFS=$as_save_IFS
39209   test -z "$as_dir" && as_dir=.
39210     for ac_exec_ext in '' $ac_executable_extensions; do
39211   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39212     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39214     break 2
39215   fi
39216 done
39217   done
39218 IFS=$as_save_IFS
39219 
39220   ;;
39221 esac
39222 fi
39223 BUILD_CXX=$ac_cv_path_BUILD_CXX
39224 if test -n "$BUILD_CXX"; then
39225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39226 $as_echo "$BUILD_CXX" >&6; }
39227 else
39228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39229 $as_echo "no" >&6; }
39230 fi
39231 
39232 
39233   test -n "$BUILD_CXX" && break
39234 done
39235 
39236   else
39237     # The variable is set, but is it from the command line or the environment?
39238 
39239     # Try to remove the string !BUILD_CXX! from our list.
39240     try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!BUILD_CXX!/}
39241     if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
39242       # If it failed, the variable was not from the command line. Ignore it,
39243       # but warn the user (except for BASH, which is always set by the calling BASH).
39244       if test "xBUILD_CXX" != xBASH; then
39245         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&5
39246 $as_echo "$as_me: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&2;}
39247       fi
39248       # Try to locate tool using the code snippet
39249       for ac_prog in cl CC g++
39250 do
39251   # Extract the first word of "$ac_prog", so it can be a program name with args.
39252 set dummy $ac_prog; ac_word=$2
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39254 $as_echo_n "checking for $ac_word... " >&6; }
39255 if ${ac_cv_path_BUILD_CXX+:} false; then :
39256   $as_echo_n "(cached) " >&6
39257 else
39258   case $BUILD_CXX in
39259   [\\/]* | ?:[\\/]*)
39260   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39261   ;;
39262   *)
39263   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39264 for as_dir in $PATH
39265 do
39266   IFS=$as_save_IFS
39267   test -z "$as_dir" && as_dir=.
39268     for ac_exec_ext in '' $ac_executable_extensions; do
39269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39270     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39272     break 2
39273   fi
39274 done
39275   done
39276 IFS=$as_save_IFS
39277 
39278   ;;
39279 esac
39280 fi
39281 BUILD_CXX=$ac_cv_path_BUILD_CXX
39282 if test -n "$BUILD_CXX"; then
39283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39284 $as_echo "$BUILD_CXX" >&6; }
39285 else
39286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39287 $as_echo "no" >&6; }
39288 fi
39289 
39290 
39291   test -n "$BUILD_CXX" && break
39292 done
39293 
39294     else
39295       # If it succeeded, then it was overridden by the user. We will use it
39296       # for the tool.
39297 
39298       # First remove it from the list of overridden variables, so we can test
39299       # for unknown variables in the end.
39300       CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
39301 
39302       # Check if the provided tool contains a complete path.
39303       tool_specified="$BUILD_CXX"
39304       tool_basename="${tool_specified##*/}"
39305       if test "x$tool_basename" = "x$tool_specified"; then
39306         # A command without a complete path is provided, search $PATH.
39307         { $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool BUILD_CXX=$tool_basename" >&5
39308 $as_echo "$as_me: Will search for user supplied tool BUILD_CXX=$tool_basename" >&6;}
39309         # Extract the first word of "$tool_basename", so it can be a program name with args.
39310 set dummy $tool_basename; ac_word=$2
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39312 $as_echo_n "checking for $ac_word... " >&6; }
39313 if ${ac_cv_path_BUILD_CXX+:} false; then :
39314   $as_echo_n "(cached) " >&6
39315 else
39316   case $BUILD_CXX in
39317   [\\/]* | ?:[\\/]*)
39318   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39319   ;;
39320   *)
39321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39322 for as_dir in $PATH
39323 do
39324   IFS=$as_save_IFS
39325   test -z "$as_dir" && as_dir=.
39326     for ac_exec_ext in '' $ac_executable_extensions; do
39327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39328     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39330     break 2
39331   fi
39332 done
39333   done
39334 IFS=$as_save_IFS
39335 
39336   ;;
39337 esac
39338 fi
39339 BUILD_CXX=$ac_cv_path_BUILD_CXX
39340 if test -n "$BUILD_CXX"; then
39341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39342 $as_echo "$BUILD_CXX" >&6; }
39343 else
39344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39345 $as_echo "no" >&6; }
39346 fi
39347 
39348 
39349         if test "x$BUILD_CXX" = x; then
39350           as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
39351         fi
39352       else
39353         # Otherwise we believe it is a complete path. Use it as it is.
39354         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CXX=$tool_specified" >&5
39355 $as_echo "$as_me: Will use user supplied tool BUILD_CXX=$tool_specified" >&6;}
39356         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CXX" >&5
39357 $as_echo_n "checking for BUILD_CXX... " >&6; }
39358         if test ! -x "$tool_specified"; then
39359           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39360 $as_echo "not found" >&6; }
39361           as_fn_error $? "User supplied tool BUILD_CXX=$tool_specified does not exist or is not executable" "$LINENO" 5
39362         fi
39363         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
39364 $as_echo "$tool_specified" >&6; }
39365       fi
39366     fi
39367   fi
39368 
39369 
39370 
39371   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
39372 
39373   # First separate the path from the arguments. This will split at the first
39374   # space.
39375   complete="$BUILD_CXX"
39376   path="${complete%% *}"
39377   tmp="$complete EOL"
39378   arguments="${tmp#* }"
39379 
39380   # Input might be given as Windows format, start by converting to
39381   # unix format.
39382   new_path=`$CYGPATH -u "$path"`
39383 
39384   # Now try to locate executable using which
39385   new_path=`$WHICH "$new_path" 2> /dev/null`
39386   # bat and cmd files are not always considered executable in cygwin causing which
39387   # to not find them
39388   if test "x$new_path" = x \




 996 CUSTOM_MAKE_DIR
 997 target_alias
 998 host_alias
 999 build_alias
1000 LIBS
1001 ECHO_T
1002 ECHO_N
1003 ECHO_C
1004 DEFS
1005 mandir
1006 localedir
1007 libdir
1008 psdir
1009 pdfdir
1010 dvidir
1011 htmldir
1012 infodir
1013 docdir
1014 oldincludedir
1015 includedir

1016 localstatedir
1017 sharedstatedir
1018 sysconfdir
1019 datadir
1020 datarootdir
1021 libexecdir
1022 sbindir
1023 bindir
1024 program_transform_name
1025 prefix
1026 exec_prefix
1027 PACKAGE_URL
1028 PACKAGE_BUGREPORT
1029 PACKAGE_STRING
1030 PACKAGE_VERSION
1031 PACKAGE_TARNAME
1032 PACKAGE_NAME
1033 PATH_SEPARATOR
1034 SHELL'
1035 ac_subst_files=''


1238 site=
1239 srcdir=
1240 verbose=
1241 x_includes=NONE
1242 x_libraries=NONE
1243 
1244 # Installation directory options.
1245 # These are left unexpanded so users can "make install exec_prefix=/foo"
1246 # and all the variables that are supposed to be based on exec_prefix
1247 # by default will actually change.
1248 # Use braces instead of parens because sh, perl, etc. also accept them.
1249 # (The list follows the same order as the GNU Coding Standards.)
1250 bindir='${exec_prefix}/bin'
1251 sbindir='${exec_prefix}/sbin'
1252 libexecdir='${exec_prefix}/libexec'
1253 datarootdir='${prefix}/share'
1254 datadir='${datarootdir}'
1255 sysconfdir='${prefix}/etc'
1256 sharedstatedir='${prefix}/com'
1257 localstatedir='${prefix}/var'

1258 includedir='${prefix}/include'
1259 oldincludedir='/usr/include'
1260 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1261 infodir='${datarootdir}/info'
1262 htmldir='${docdir}'
1263 dvidir='${docdir}'
1264 pdfdir='${docdir}'
1265 psdir='${docdir}'
1266 libdir='${exec_prefix}/lib'
1267 localedir='${datarootdir}/locale'
1268 mandir='${datarootdir}/man'
1269 
1270 ac_prev=
1271 ac_dashdash=
1272 for ac_option
1273 do
1274   # If the previous option needs an argument, assign it.
1275   if test -n "$ac_prev"; then
1276     eval $ac_prev=\$ac_option
1277     ac_prev=


1490   | --program-transform=* | --program-transfor=* \
1491   | --program-transfo=* | --program-transf=* \
1492   | --program-trans=* | --program-tran=* \
1493   | --progr-tra=* | --program-tr=* | --program-t=*)
1494     program_transform_name=$ac_optarg ;;
1495 
1496   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1497     ac_prev=pdfdir ;;
1498   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1499     pdfdir=$ac_optarg ;;
1500 
1501   -psdir | --psdir | --psdi | --psd | --ps)
1502     ac_prev=psdir ;;
1503   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1504     psdir=$ac_optarg ;;
1505 
1506   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1507   | -silent | --silent | --silen | --sile | --sil)
1508     silent=yes ;;
1509 









1510   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1511     ac_prev=sbindir ;;
1512   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1513   | --sbi=* | --sb=*)
1514     sbindir=$ac_optarg ;;
1515 
1516   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1517   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1518   | --sharedst | --shareds | --shared | --share | --shar \
1519   | --sha | --sh)
1520     ac_prev=sharedstatedir ;;
1521   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1522   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1523   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1524   | --sha=* | --sh=*)
1525     sharedstatedir=$ac_optarg ;;
1526 
1527   -site | --site | --sit)
1528     ac_prev=site ;;
1529   -site=* | --site=* | --sit=*)


1627   esac
1628 done
1629 
1630 if test -n "$ac_prev"; then
1631   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1632   as_fn_error $? "missing argument to $ac_option"
1633 fi
1634 
1635 if test -n "$ac_unrecognized_opts"; then
1636   case $enable_option_checking in
1637     no) ;;
1638     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1639     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1640   esac
1641 fi
1642 
1643 # Check all directory arguments for consistency.
1644 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1645                 datadir sysconfdir sharedstatedir localstatedir includedir \
1646                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1647                 libdir localedir mandir
1648 do
1649   eval ac_val=\$$ac_var
1650   # Remove trailing slashes.
1651   case $ac_val in
1652     */ )
1653       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1654       eval $ac_var=\$ac_val;;
1655   esac
1656   # Be sure to have absolute directory names.
1657   case $ac_val in
1658     [\\/$]* | ?:[\\/]* )  continue;;
1659     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1660   esac
1661   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1662 done
1663 
1664 # There might be people who depend on the old broken behavior: `$host'
1665 # used to hold the argument of --host etc.
1666 # FIXME: To remove some day.
1667 build=$build_alias


1780 Installation directories:
1781   --prefix=PREFIX         install architecture-independent files in PREFIX
1782                           [$ac_default_prefix]
1783   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1784                           [PREFIX]
1785 
1786 By default, \`make install' will install all the files in
1787 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1788 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1789 for instance \`--prefix=\$HOME'.
1790 
1791 For better control, use the options below.
1792 
1793 Fine tuning of the installation directories:
1794   --bindir=DIR            user executables [EPREFIX/bin]
1795   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1796   --libexecdir=DIR        program executables [EPREFIX/libexec]
1797   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1798   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1799   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]

1800   --libdir=DIR            object code libraries [EPREFIX/lib]
1801   --includedir=DIR        C header files [PREFIX/include]
1802   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1803   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1804   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1805   --infodir=DIR           info documentation [DATAROOTDIR/info]
1806   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1807   --mandir=DIR            man documentation [DATAROOTDIR/man]
1808   --docdir=DIR            documentation root [DATAROOTDIR/doc/openjdk]
1809   --htmldir=DIR           html documentation [DOCDIR]
1810   --dvidir=DIR            dvi documentation [DOCDIR]
1811   --pdfdir=DIR            pdf documentation [DOCDIR]
1812   --psdir=DIR             ps documentation [DOCDIR]
1813 _ACEOF
1814 
1815   cat <<\_ACEOF
1816 
1817 X features:
1818   --x-includes=DIR    X include files are in DIR
1819   --x-libraries=DIR   X library files are in DIR


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


26865 $as_echo "$SDKPATH" >&6; }
26866     else
26867       { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none, will use system headers and frameworks)" >&5
26868 $as_echo "(none, will use system headers and frameworks)" >&6; }
26869     fi
26870 
26871 
26872     # Perform a basic sanity test
26873     if test ! -f "$SDKPATH/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h"; then
26874       as_fn_error $? "Unable to find required framework headers, provide a valid path to Xcode 4 using --with-xcode-path" "$LINENO" 5
26875     fi
26876 
26877     # if SDKPATH is non-empty then we need to add -isysroot and -iframework for gcc and g++
26878     if test -n "$SDKPATH"; then
26879       # We need -isysroot <path> and -iframework<path>/System/Library/Frameworks
26880       CFLAGS_JDK="${CFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26881       CXXFLAGS_JDK="${CXXFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26882       LDFLAGS_JDK="${LDFLAGS_JDK} -isysroot \"$SDKPATH\" -iframework\"$SDKPATH/System/Library/Frameworks\""
26883     fi
26884 
26885     if test -d "$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks" ; then
26886       # These always need to be set on macOS 10.X, or we can't find the frameworks embedded in JavaVM.framework
26887       # set this here so it doesn't have to be peppered throughout the forest
26888       CFLAGS_JDK="$CFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""
26889       CXXFLAGS_JDK="$CXXFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""
26890       LDFLAGS_JDK="$LDFLAGS_JDK -F\"$SDKPATH/System/Library/Frameworks/JavaVM.framework/Frameworks\""
26891     fi
26892   fi
26893 
26894   # For solaris we really need solaris tools, and not the GNU equivalent.
26895   # The build tools on Solaris reside in /usr/ccs (C Compilation System),
26896   # so add that to path before starting to probe.
26897   # FIXME: This was originally only done for AS,NM,GNM,STRIP,MCS,OBJCOPY,OBJDUMP.
26898   if test "x$OPENJDK_BUILD_OS" = xsolaris; then
26899     PATH="/usr/ccs/bin:$PATH"
26900   fi
26901 
26902   # Finally add TOOLCHAIN_PATH at the beginning, to allow --with-tools-dir to
26903   # override all other locations.
26904   if test "x$TOOLCHAIN_PATH" != x; then
26905     PATH=$TOOLCHAIN_PATH:$PATH
26906   fi
26907 
26908 
26909   #
26910   # Setup the compilers (CC and CXX)
26911   #


38686 
38687   # Restore the flags to the user specified values.
38688   # This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
38689   CFLAGS="$ORG_CFLAGS"
38690   CXXFLAGS="$ORG_CXXFLAGS"
38691   OBJCFLAGS="$ORG_OBJCFLAGS"
38692 
38693 
38694 # Finally do some processing after the detection phase
38695 
38696   if test "x$COMPILE_TYPE" = "xcross"; then
38697     # Now we need to find a C/C++ compiler that can build executables for the
38698     # build platform. We can't use the AC_PROG_CC macro, since it can only be
38699     # used once. Also, we need to do this without adding a tools dir to the
38700     # path, otherwise we might pick up cross-compilers which don't use standard
38701     # naming.
38702 
38703     # FIXME: we should list the discovered compilers as an exclude pattern!
38704     # If we do that, we can do this detection before POST_DETECTION, and still
38705     # find the build compilers in the tools dir, if needed.
38706     if test "x$OPENJDK_BUILD_OS" = xmacosx; then
38707 
38708 
38709   # Publish this variable in the help.
38710 
38711 
38712   if test "x$BUILD_CC" = x; then
38713     # The variable is not set by user, try to locate tool using the code snippet
38714     for ac_prog in clang cl cc gcc
38715 do
38716   # Extract the first word of "$ac_prog", so it can be a program name with args.
38717 set dummy $ac_prog; ac_word=$2
38718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38719 $as_echo_n "checking for $ac_word... " >&6; }
38720 if ${ac_cv_path_BUILD_CC+:} false; then :
38721   $as_echo_n "(cached) " >&6
38722 else
38723   case $BUILD_CC in
38724   [\\/]* | ?:[\\/]*)
38725   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
38726   ;;
38727   *)
38728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38729 for as_dir in $PATH
38730 do
38731   IFS=$as_save_IFS
38732   test -z "$as_dir" && as_dir=.
38733     for ac_exec_ext in '' $ac_executable_extensions; do
38734   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38735     ac_cv_path_BUILD_CC="$as_dir/$ac_word$ac_exec_ext"
38736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38737     break 2
38738   fi
38739 done
38740   done
38741 IFS=$as_save_IFS
38742 
38743   ;;
38744 esac
38745 fi
38746 BUILD_CC=$ac_cv_path_BUILD_CC
38747 if test -n "$BUILD_CC"; then
38748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
38749 $as_echo "$BUILD_CC" >&6; }
38750 else
38751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38752 $as_echo "no" >&6; }
38753 fi
38754 
38755 
38756   test -n "$BUILD_CC" && break
38757 done
38758 
38759   else
38760     # The variable is set, but is it from the command line or the environment?
38761 
38762     # Try to remove the string !BUILD_CC! from our list.
38763     try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!BUILD_CC!/}
38764     if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
38765       # If it failed, the variable was not from the command line. Ignore it,
38766       # but warn the user (except for BASH, which is always set by the calling BASH).
38767       if test "xBUILD_CC" != xBASH; then
38768         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of BUILD_CC from the environment. Use command line variables instead." >&5
38769 $as_echo "$as_me: WARNING: Ignoring value of BUILD_CC from the environment. Use command line variables instead." >&2;}
38770       fi
38771       # Try to locate tool using the code snippet
38772       for ac_prog in clang cl cc gcc
38773 do
38774   # Extract the first word of "$ac_prog", so it can be a program name with args.
38775 set dummy $ac_prog; ac_word=$2
38776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38777 $as_echo_n "checking for $ac_word... " >&6; }
38778 if ${ac_cv_path_BUILD_CC+:} false; then :
38779   $as_echo_n "(cached) " >&6
38780 else
38781   case $BUILD_CC in
38782   [\\/]* | ?:[\\/]*)
38783   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
38784   ;;
38785   *)
38786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38787 for as_dir in $PATH
38788 do
38789   IFS=$as_save_IFS
38790   test -z "$as_dir" && as_dir=.
38791     for ac_exec_ext in '' $ac_executable_extensions; do
38792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38793     ac_cv_path_BUILD_CC="$as_dir/$ac_word$ac_exec_ext"
38794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38795     break 2
38796   fi
38797 done
38798   done
38799 IFS=$as_save_IFS
38800 
38801   ;;
38802 esac
38803 fi
38804 BUILD_CC=$ac_cv_path_BUILD_CC
38805 if test -n "$BUILD_CC"; then
38806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
38807 $as_echo "$BUILD_CC" >&6; }
38808 else
38809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38810 $as_echo "no" >&6; }
38811 fi
38812 
38813 
38814   test -n "$BUILD_CC" && break
38815 done
38816 
38817     else
38818       # If it succeeded, then it was overridden by the user. We will use it
38819       # for the tool.
38820 
38821       # First remove it from the list of overridden variables, so we can test
38822       # for unknown variables in the end.
38823       CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
38824 
38825       # Check if the provided tool contains a complete path.
38826       tool_specified="$BUILD_CC"
38827       tool_basename="${tool_specified##*/}"
38828       if test "x$tool_basename" = "x$tool_specified"; then
38829         # A command without a complete path is provided, search $PATH.
38830         { $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool BUILD_CC=$tool_basename" >&5
38831 $as_echo "$as_me: Will search for user supplied tool BUILD_CC=$tool_basename" >&6;}
38832         # Extract the first word of "$tool_basename", so it can be a program name with args.
38833 set dummy $tool_basename; ac_word=$2
38834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38835 $as_echo_n "checking for $ac_word... " >&6; }
38836 if ${ac_cv_path_BUILD_CC+:} false; then :
38837   $as_echo_n "(cached) " >&6
38838 else
38839   case $BUILD_CC in
38840   [\\/]* | ?:[\\/]*)
38841   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
38842   ;;
38843   *)
38844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38845 for as_dir in $PATH
38846 do
38847   IFS=$as_save_IFS
38848   test -z "$as_dir" && as_dir=.
38849     for ac_exec_ext in '' $ac_executable_extensions; do
38850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38851     ac_cv_path_BUILD_CC="$as_dir/$ac_word$ac_exec_ext"
38852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38853     break 2
38854   fi
38855 done
38856   done
38857 IFS=$as_save_IFS
38858 
38859   ;;
38860 esac
38861 fi
38862 BUILD_CC=$ac_cv_path_BUILD_CC
38863 if test -n "$BUILD_CC"; then
38864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
38865 $as_echo "$BUILD_CC" >&6; }
38866 else
38867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38868 $as_echo "no" >&6; }
38869 fi
38870 
38871 
38872         if test "x$BUILD_CC" = x; then
38873           as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
38874         fi
38875       else
38876         # Otherwise we believe it is a complete path. Use it as it is.
38877         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CC=$tool_specified" >&5
38878 $as_echo "$as_me: Will use user supplied tool BUILD_CC=$tool_specified" >&6;}
38879         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CC" >&5
38880 $as_echo_n "checking for BUILD_CC... " >&6; }
38881         if test ! -x "$tool_specified"; then
38882           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
38883 $as_echo "not found" >&6; }
38884           as_fn_error $? "User supplied tool BUILD_CC=$tool_specified does not exist or is not executable" "$LINENO" 5
38885         fi
38886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
38887 $as_echo "$tool_specified" >&6; }
38888       fi
38889     fi
38890   fi
38891 
38892 
38893 
38894 
38895   # Publish this variable in the help.
38896 
38897 
38898   if test "x$BUILD_CXX" = x; then
38899     # The variable is not set by user, try to locate tool using the code snippet
38900     for ac_prog in clang++ cl CC g++
38901 do
38902   # Extract the first word of "$ac_prog", so it can be a program name with args.
38903 set dummy $ac_prog; ac_word=$2
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38905 $as_echo_n "checking for $ac_word... " >&6; }
38906 if ${ac_cv_path_BUILD_CXX+:} false; then :
38907   $as_echo_n "(cached) " >&6
38908 else
38909   case $BUILD_CXX in
38910   [\\/]* | ?:[\\/]*)
38911   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
38912   ;;
38913   *)
38914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38915 for as_dir in $PATH
38916 do
38917   IFS=$as_save_IFS
38918   test -z "$as_dir" && as_dir=.
38919     for ac_exec_ext in '' $ac_executable_extensions; do
38920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38921     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
38922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38923     break 2
38924   fi
38925 done
38926   done
38927 IFS=$as_save_IFS
38928 
38929   ;;
38930 esac
38931 fi
38932 BUILD_CXX=$ac_cv_path_BUILD_CXX
38933 if test -n "$BUILD_CXX"; then
38934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
38935 $as_echo "$BUILD_CXX" >&6; }
38936 else
38937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38938 $as_echo "no" >&6; }
38939 fi
38940 
38941 
38942   test -n "$BUILD_CXX" && break
38943 done
38944 
38945   else
38946     # The variable is set, but is it from the command line or the environment?
38947 
38948     # Try to remove the string !BUILD_CXX! from our list.
38949     try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!BUILD_CXX!/}
38950     if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
38951       # If it failed, the variable was not from the command line. Ignore it,
38952       # but warn the user (except for BASH, which is always set by the calling BASH).
38953       if test "xBUILD_CXX" != xBASH; then
38954         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&5
38955 $as_echo "$as_me: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&2;}
38956       fi
38957       # Try to locate tool using the code snippet
38958       for ac_prog in clang++ cl CC g++
38959 do
38960   # Extract the first word of "$ac_prog", so it can be a program name with args.
38961 set dummy $ac_prog; ac_word=$2
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38963 $as_echo_n "checking for $ac_word... " >&6; }
38964 if ${ac_cv_path_BUILD_CXX+:} false; then :
38965   $as_echo_n "(cached) " >&6
38966 else
38967   case $BUILD_CXX in
38968   [\\/]* | ?:[\\/]*)
38969   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
38970   ;;
38971   *)
38972   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38973 for as_dir in $PATH
38974 do
38975   IFS=$as_save_IFS
38976   test -z "$as_dir" && as_dir=.
38977     for ac_exec_ext in '' $ac_executable_extensions; do
38978   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38979     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
38980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38981     break 2
38982   fi
38983 done
38984   done
38985 IFS=$as_save_IFS
38986 
38987   ;;
38988 esac
38989 fi
38990 BUILD_CXX=$ac_cv_path_BUILD_CXX
38991 if test -n "$BUILD_CXX"; then
38992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
38993 $as_echo "$BUILD_CXX" >&6; }
38994 else
38995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38996 $as_echo "no" >&6; }
38997 fi
38998 
38999 
39000   test -n "$BUILD_CXX" && break
39001 done
39002 
39003     else
39004       # If it succeeded, then it was overridden by the user. We will use it
39005       # for the tool.
39006 
39007       # First remove it from the list of overridden variables, so we can test
39008       # for unknown variables in the end.
39009       CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
39010 
39011       # Check if the provided tool contains a complete path.
39012       tool_specified="$BUILD_CXX"
39013       tool_basename="${tool_specified##*/}"
39014       if test "x$tool_basename" = "x$tool_specified"; then
39015         # A command without a complete path is provided, search $PATH.
39016         { $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool BUILD_CXX=$tool_basename" >&5
39017 $as_echo "$as_me: Will search for user supplied tool BUILD_CXX=$tool_basename" >&6;}
39018         # Extract the first word of "$tool_basename", so it can be a program name with args.
39019 set dummy $tool_basename; ac_word=$2
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39021 $as_echo_n "checking for $ac_word... " >&6; }
39022 if ${ac_cv_path_BUILD_CXX+:} false; then :
39023   $as_echo_n "(cached) " >&6
39024 else
39025   case $BUILD_CXX in
39026   [\\/]* | ?:[\\/]*)
39027   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39028   ;;
39029   *)
39030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39031 for as_dir in $PATH
39032 do
39033   IFS=$as_save_IFS
39034   test -z "$as_dir" && as_dir=.
39035     for ac_exec_ext in '' $ac_executable_extensions; do
39036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39037     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39039     break 2
39040   fi
39041 done
39042   done
39043 IFS=$as_save_IFS
39044 
39045   ;;
39046 esac
39047 fi
39048 BUILD_CXX=$ac_cv_path_BUILD_CXX
39049 if test -n "$BUILD_CXX"; then
39050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39051 $as_echo "$BUILD_CXX" >&6; }
39052 else
39053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39054 $as_echo "no" >&6; }
39055 fi
39056 
39057 
39058         if test "x$BUILD_CXX" = x; then
39059           as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
39060         fi
39061       else
39062         # Otherwise we believe it is a complete path. Use it as it is.
39063         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CXX=$tool_specified" >&5
39064 $as_echo "$as_me: Will use user supplied tool BUILD_CXX=$tool_specified" >&6;}
39065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CXX" >&5
39066 $as_echo_n "checking for BUILD_CXX... " >&6; }
39067         if test ! -x "$tool_specified"; then
39068           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39069 $as_echo "not found" >&6; }
39070           as_fn_error $? "User supplied tool BUILD_CXX=$tool_specified does not exist or is not executable" "$LINENO" 5
39071         fi
39072         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
39073 $as_echo "$tool_specified" >&6; }
39074       fi
39075     fi
39076   fi
39077 
39078 
39079     else
39080 
39081 
39082 
39083   # Publish this variable in the help.
39084 
39085 
39086   if test "x$BUILD_CC" = x; then
39087     # The variable is not set by user, try to locate tool using the code snippet
39088     for ac_prog in cl cc gcc
39089 do
39090   # Extract the first word of "$ac_prog", so it can be a program name with args.
39091 set dummy $ac_prog; ac_word=$2
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39093 $as_echo_n "checking for $ac_word... " >&6; }
39094 if ${ac_cv_path_BUILD_CC+:} false; then :
39095   $as_echo_n "(cached) " >&6
39096 else
39097   case $BUILD_CC in
39098   [\\/]* | ?:[\\/]*)
39099   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
39100   ;;


39248         fi
39249       else
39250         # Otherwise we believe it is a complete path. Use it as it is.
39251         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CC=$tool_specified" >&5
39252 $as_echo "$as_me: Will use user supplied tool BUILD_CC=$tool_specified" >&6;}
39253         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CC" >&5
39254 $as_echo_n "checking for BUILD_CC... " >&6; }
39255         if test ! -x "$tool_specified"; then
39256           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39257 $as_echo "not found" >&6; }
39258           as_fn_error $? "User supplied tool BUILD_CC=$tool_specified does not exist or is not executable" "$LINENO" 5
39259         fi
39260         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
39261 $as_echo "$tool_specified" >&6; }
39262       fi
39263     fi
39264   fi
39265 
39266 
39267 
39268   if test "x$BUILD_CC" = x; then
39269     as_fn_error $? "Could not find required tool for BUILD_CC" "$LINENO" 5
39270   fi
39271 
39272 
39273 
39274 
39275 
39276   # Publish this variable in the help.
39277 
39278 
39279   if test "x$BUILD_CXX" = x; then
39280     # The variable is not set by user, try to locate tool using the code snippet
39281     for ac_prog in cl CC g++
39282 do
39283   # Extract the first word of "$ac_prog", so it can be a program name with args.
39284 set dummy $ac_prog; ac_word=$2
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39286 $as_echo_n "checking for $ac_word... " >&6; }
39287 if ${ac_cv_path_BUILD_CXX+:} false; then :
39288   $as_echo_n "(cached) " >&6
39289 else
39290   case $BUILD_CXX in
39291   [\\/]* | ?:[\\/]*)
39292   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39293   ;;
39294   *)
39295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39296 for as_dir in $PATH
39297 do
39298   IFS=$as_save_IFS
39299   test -z "$as_dir" && as_dir=.
39300     for ac_exec_ext in '' $ac_executable_extensions; do
39301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39302     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39304     break 2
39305   fi
39306 done
39307   done
39308 IFS=$as_save_IFS
39309 
39310   ;;
39311 esac
39312 fi
39313 BUILD_CXX=$ac_cv_path_BUILD_CXX
39314 if test -n "$BUILD_CXX"; then
39315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39316 $as_echo "$BUILD_CXX" >&6; }
39317 else
39318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39319 $as_echo "no" >&6; }
39320 fi
39321 
39322 
39323   test -n "$BUILD_CXX" && break
39324 done
39325 
39326   else
39327     # The variable is set, but is it from the command line or the environment?
39328 
39329     # Try to remove the string !BUILD_CXX! from our list.
39330     try_remove_var=${CONFIGURE_OVERRIDDEN_VARIABLES//!BUILD_CXX!/}
39331     if test "x$try_remove_var" = "x$CONFIGURE_OVERRIDDEN_VARIABLES"; then
39332       # If it failed, the variable was not from the command line. Ignore it,
39333       # but warn the user (except for BASH, which is always set by the calling BASH).
39334       if test "xBUILD_CXX" != xBASH; then
39335         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&5
39336 $as_echo "$as_me: WARNING: Ignoring value of BUILD_CXX from the environment. Use command line variables instead." >&2;}
39337       fi
39338       # Try to locate tool using the code snippet
39339       for ac_prog in cl CC g++
39340 do
39341   # Extract the first word of "$ac_prog", so it can be a program name with args.
39342 set dummy $ac_prog; ac_word=$2
39343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39344 $as_echo_n "checking for $ac_word... " >&6; }
39345 if ${ac_cv_path_BUILD_CXX+:} false; then :
39346   $as_echo_n "(cached) " >&6
39347 else
39348   case $BUILD_CXX in
39349   [\\/]* | ?:[\\/]*)
39350   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39351   ;;
39352   *)
39353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39354 for as_dir in $PATH
39355 do
39356   IFS=$as_save_IFS
39357   test -z "$as_dir" && as_dir=.
39358     for ac_exec_ext in '' $ac_executable_extensions; do
39359   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39360     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39362     break 2
39363   fi
39364 done
39365   done
39366 IFS=$as_save_IFS
39367 
39368   ;;
39369 esac
39370 fi
39371 BUILD_CXX=$ac_cv_path_BUILD_CXX
39372 if test -n "$BUILD_CXX"; then
39373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39374 $as_echo "$BUILD_CXX" >&6; }
39375 else
39376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39377 $as_echo "no" >&6; }
39378 fi
39379 
39380 
39381   test -n "$BUILD_CXX" && break
39382 done
39383 
39384     else
39385       # If it succeeded, then it was overridden by the user. We will use it
39386       # for the tool.
39387 
39388       # First remove it from the list of overridden variables, so we can test
39389       # for unknown variables in the end.
39390       CONFIGURE_OVERRIDDEN_VARIABLES="$try_remove_var"
39391 
39392       # Check if the provided tool contains a complete path.
39393       tool_specified="$BUILD_CXX"
39394       tool_basename="${tool_specified##*/}"
39395       if test "x$tool_basename" = "x$tool_specified"; then
39396         # A command without a complete path is provided, search $PATH.
39397         { $as_echo "$as_me:${as_lineno-$LINENO}: Will search for user supplied tool BUILD_CXX=$tool_basename" >&5
39398 $as_echo "$as_me: Will search for user supplied tool BUILD_CXX=$tool_basename" >&6;}
39399         # Extract the first word of "$tool_basename", so it can be a program name with args.
39400 set dummy $tool_basename; ac_word=$2
39401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39402 $as_echo_n "checking for $ac_word... " >&6; }
39403 if ${ac_cv_path_BUILD_CXX+:} false; then :
39404   $as_echo_n "(cached) " >&6
39405 else
39406   case $BUILD_CXX in
39407   [\\/]* | ?:[\\/]*)
39408   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
39409   ;;
39410   *)
39411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39412 for as_dir in $PATH
39413 do
39414   IFS=$as_save_IFS
39415   test -z "$as_dir" && as_dir=.
39416     for ac_exec_ext in '' $ac_executable_extensions; do
39417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39418     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
39419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39420     break 2
39421   fi
39422 done
39423   done
39424 IFS=$as_save_IFS
39425 
39426   ;;
39427 esac
39428 fi
39429 BUILD_CXX=$ac_cv_path_BUILD_CXX
39430 if test -n "$BUILD_CXX"; then
39431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CXX" >&5
39432 $as_echo "$BUILD_CXX" >&6; }
39433 else
39434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39435 $as_echo "no" >&6; }
39436 fi
39437 
39438 
39439         if test "x$BUILD_CXX" = x; then
39440           as_fn_error $? "User supplied tool $tool_basename could not be found" "$LINENO" 5
39441         fi
39442       else
39443         # Otherwise we believe it is a complete path. Use it as it is.
39444         { $as_echo "$as_me:${as_lineno-$LINENO}: Will use user supplied tool BUILD_CXX=$tool_specified" >&5
39445 $as_echo "$as_me: Will use user supplied tool BUILD_CXX=$tool_specified" >&6;}
39446         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BUILD_CXX" >&5
39447 $as_echo_n "checking for BUILD_CXX... " >&6; }
39448         if test ! -x "$tool_specified"; then
39449           { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39450 $as_echo "not found" >&6; }
39451           as_fn_error $? "User supplied tool BUILD_CXX=$tool_specified does not exist or is not executable" "$LINENO" 5
39452         fi
39453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tool_specified" >&5
39454 $as_echo "$tool_specified" >&6; }
39455       fi
39456     fi
39457   fi
39458 
39459 
39460 
39461   if test "x$BUILD_CXX" = x; then
39462     as_fn_error $? "Could not find required tool for BUILD_CXX" "$LINENO" 5
39463   fi
39464 
39465 
39466     fi
39467 
39468   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
39469 
39470   # First separate the path from the arguments. This will split at the first
39471   # space.
39472   complete="$BUILD_CC"
39473   path="${complete%% *}"
39474   tmp="$complete EOL"
39475   arguments="${tmp#* }"
39476 
39477   # Input might be given as Windows format, start by converting to
39478   # unix format.
39479   new_path=`$CYGPATH -u "$path"`
39480 
39481   # Now try to locate executable using which
39482   new_path=`$WHICH "$new_path" 2> /dev/null`
39483   # bat and cmd files are not always considered executable in cygwin causing which
39484   # to not find them
39485   if test "x$new_path" = x \
39486       && test "x`$ECHO \"$path\" | $GREP -i -e \"\\.bat$\" -e \"\\.cmd$\"`" != x \
39487       && test "x`$LS \"$path\" 2>/dev/null`" != x; then


39728       if test "x$has_space" != x; then
39729         { $as_echo "$as_me:${as_lineno-$LINENO}: This might be caused by spaces in the path, which is not allowed." >&5
39730 $as_echo "$as_me: This might be caused by spaces in the path, which is not allowed." >&6;}
39731       fi
39732       as_fn_error $? "Cannot locate the the path of BUILD_CC" "$LINENO" 5
39733     fi
39734   fi
39735 
39736   # Now join together the path and the arguments once again
39737   if test "x$arguments" != xEOL; then
39738     new_complete="$new_path ${arguments% *}"
39739   else
39740     new_complete="$new_path"
39741   fi
39742 
39743   if test "x$complete" != "x$new_complete"; then
39744     BUILD_CC="$new_complete"
39745     { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CC to \"$new_complete\"" >&5
39746 $as_echo "$as_me: Rewriting BUILD_CC to \"$new_complete\"" >&6;}
39747   fi


























































































































































































39748 
39749 
39750   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
39751 
39752   # First separate the path from the arguments. This will split at the first
39753   # space.
39754   complete="$BUILD_CXX"
39755   path="${complete%% *}"
39756   tmp="$complete EOL"
39757   arguments="${tmp#* }"
39758 
39759   # Input might be given as Windows format, start by converting to
39760   # unix format.
39761   new_path=`$CYGPATH -u "$path"`
39762 
39763   # Now try to locate executable using which
39764   new_path=`$WHICH "$new_path" 2> /dev/null`
39765   # bat and cmd files are not always considered executable in cygwin causing which
39766   # to not find them
39767   if test "x$new_path" = x \


< prev index next >