./common/autoconf/generated-configure.sh

Print this page
rev 741 : [mq]: system-icu
   1 #! /bin/sh
   2 # Guess values for system-dependent variables and create Makefiles.
   3 # Generated by GNU Autoconf 2.67 for OpenJDK jdk8.
   4 #
   5 # Report bugs to <build-dev@openjdk.java.net>.
   6 #
   7 #
   8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  10 # Foundation, Inc.
  11 #
  12 #
  13 # This configure script is free software; the Free Software Foundation
  14 # gives unlimited permission to copy, distribute and modify it.
  15 ## -------------------- ##
  16 ## M4sh Initialization. ##
  17 ## -------------------- ##
  18 
  19 # Be more Bourne compatible
  20 DUALCASE=1; export DUALCASE # for MKS sh
  21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  22   emulate sh
  23   NULLCMD=:


  74 fi
  75 
  76 # The user is always right.
  77 if test "${PATH_SEPARATOR+set}" != set; then
  78   PATH_SEPARATOR=:
  79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  81       PATH_SEPARATOR=';'
  82   }
  83 fi
  84 
  85 
  86 # IFS
  87 # We need space, tab and new line, in precisely that order.  Quoting is
  88 # there to prevent editors from complaining about space-tab.
  89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  90 # splitting by setting IFS to empty value.)
  91 IFS=" ""        $as_nl"
  92 
  93 # Find who we are.  Look in the path if we contain no directory separator.

  94 case $0 in #((
  95   *[\\/]* ) as_myself=$0 ;;
  96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  97 for as_dir in $PATH
  98 do
  99   IFS=$as_save_IFS
 100   test -z "$as_dir" && as_dir=.
 101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 102   done
 103 IFS=$as_save_IFS
 104 
 105      ;;
 106 esac
 107 # We did not find ourselves, most probably we were run as `sh COMMAND'
 108 # in which case we are not to be found in the path.
 109 if test "x$as_myself" = x; then
 110   as_myself=$0
 111 fi
 112 if test ! -f "$as_myself"; then
 113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2


 199   CONFIG_SHELL=$as_shell as_have_required=yes
 200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 201   break 2
 202 fi
 203 fi
 204            done;;
 205        esac
 206   as_found=false
 207 done
 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 210   CONFIG_SHELL=$SHELL as_have_required=yes
 211 fi; }
 212 IFS=$as_save_IFS
 213 
 214 
 215       if test "x$CONFIG_SHELL" != x; then :
 216   # We cannot yet assume a decent shell, so we have to provide a
 217         # neutralization value for shells without unset; and this also
 218         # works around shells that cannot unset nonexistent variables.

 219         BASH_ENV=/dev/null
 220         ENV=/dev/null
 221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 222         export CONFIG_SHELL
 223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}






 224 fi
 225 
 226     if test x$as_have_required = xno; then :
 227   $as_echo "$0: This script requires a shell more modern than all"
 228   $as_echo "$0: the shells that I found on your system."
 229   if test x${ZSH_VERSION+set} = xset ; then
 230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 232   else
 233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
 234 $0: build-dev@openjdk.java.net about your system, including
 235 $0: any error possibly output before this message. Then
 236 $0: install a modern shell, or manually run the script
 237 $0: under such a shell if you do have one."
 238   fi
 239   exit 1
 240 fi
 241 fi
 242 fi
 243 SHELL=${CONFIG_SHELL-/bin/sh}


 610 LIBCXX
 611 LLVM_LIBS
 612 LLVM_LDFLAGS
 613 LLVM_CFLAGS
 614 LLVM_CONFIG
 615 LIBFFI_LIBS
 616 LIBFFI_CFLAGS
 617 STATIC_CXX_SETTING
 618 LIBDL
 619 LIBM
 620 LIBZIP_CAN_USE_MMAP
 621 USE_EXTERNAL_LIBZ
 622 USE_EXTERNAL_LIBGIF
 623 USE_EXTERNAL_LIBJPEG
 624 ALSA_LIBS
 625 ALSA_CFLAGS
 626 FREETYPE2_LIB_PATH
 627 USING_SYSTEM_FT_LIB
 628 FREETYPE2_LIBS
 629 FREETYPE2_CFLAGS



 630 CUPS_CFLAGS
 631 OPENWIN_HOME
 632 X_EXTRA_LIBS
 633 X_LIBS
 634 X_PRE_LIBS
 635 X_CFLAGS
 636 XMKMF
 637 CXXFLAGS_DEBUG_SYMBOLS
 638 CFLAGS_DEBUG_SYMBOLS
 639 ZIP_DEBUGINFO_FILES
 640 ENABLE_DEBUG_SYMBOLS
 641 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 642 ZERO_ARCHFLAG
 643 LDFLAGS_CXX_JDK
 644 LDFLAGS_JDKEXE_SUFFIX
 645 LDFLAGS_JDKLIB_SUFFIX
 646 LDFLAGS_JDKEXE
 647 LDFLAGS_JDKLIB
 648 CXXFLAGS_JDKEXE
 649 CXXFLAGS_JDKLIB


1000 with_override_corba
1001 with_override_jaxp
1002 with_override_jaxws
1003 with_override_hotspot
1004 with_override_jdk
1005 with_import_hotspot
1006 with_msvcr_dll
1007 with_dxsdk
1008 with_dxsdk_lib
1009 with_dxsdk_include
1010 with_jtreg
1011 with_extra_cflags
1012 with_extra_cxxflags
1013 with_extra_ldflags
1014 enable_debug_symbols
1015 enable_zip_debug_info
1016 enable_macosx_runtime_support
1017 with_x
1018 with_cups
1019 with_cups_include

1020 with_freetype
1021 with_alsa
1022 with_alsa_include
1023 with_alsa_lib
1024 with_giflib
1025 with_zlib
1026 with_stdc__lib
1027 with_num_cores
1028 with_memory_size
1029 with_jobs
1030 with_sjavac_server_java
1031 enable_sjavac
1032 enable_precompiled_headers
1033 enable_ccache
1034 with_ccache_dir
1035 '
1036       ac_precious_vars='build_alias
1037 host_alias
1038 target_alias
1039 PKG_CONFIG
1040 CC
1041 CFLAGS
1042 LDFLAGS
1043 LIBS
1044 CPPFLAGS
1045 CXX
1046 CXXFLAGS
1047 CCC
1048 OBJC
1049 OBJCFLAGS
1050 CPP
1051 CXXCPP
1052 XMKMF


1053 FREETYPE2_CFLAGS
1054 FREETYPE2_LIBS
1055 ALSA_CFLAGS
1056 ALSA_LIBS
1057 LIBFFI_CFLAGS
1058 LIBFFI_LIBS'
1059 
1060 
1061 # Initialize some variables set by options.
1062 ac_init_help=
1063 ac_init_version=false
1064 ac_unrecognized_opts=
1065 ac_unrecognized_sep=
1066 # The variables have the same names as the options, with
1067 # dashes changed to underlines.
1068 cache_file=/dev/null
1069 exec_prefix=NONE
1070 no_create=
1071 no_recursion=
1072 prefix=NONE


1443 
1444   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1445 Try \`$0 --help' for more information"
1446     ;;
1447 
1448   *=*)
1449     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1450     # Reject names that are not valid shell variable names.
1451     case $ac_envvar in #(
1452       '' | [0-9]* | *[!_$as_cr_alnum]* )
1453       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1454     esac
1455     eval $ac_envvar=\$ac_optarg
1456     export $ac_envvar ;;
1457 
1458   *)
1459     # FIXME: should be removed in autoconf 3.0.
1460     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1462       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1464     ;;
1465 
1466   esac
1467 done
1468 
1469 if test -n "$ac_prev"; then
1470   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1471   as_fn_error $? "missing argument to $ac_option"
1472 fi
1473 
1474 if test -n "$ac_unrecognized_opts"; then
1475   case $enable_option_checking in
1476     no) ;;
1477     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1478     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1479   esac
1480 fi
1481 
1482 # Check all directory arguments for consistency.
1483 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \


1758   --with-override-hotspot use this hotspot dir for the build
1759   --with-override-jdk     use this jdk dir for the build
1760   --with-import-hotspot   import hotspot binaries from this jdk image or
1761                           hotspot build dist dir instead of building from
1762                           source
1763   --with-msvcr-dll        copy this msvcr100.dll into the built JDK (Windows
1764                           only) [probed]
1765   --with-dxsdk            the DirectX SDK (Windows only) [probed]
1766   --with-dxsdk-lib        the DirectX SDK lib directory (Windows only)
1767                           [probed]
1768   --with-dxsdk-include    the DirectX SDK include directory (Windows only)
1769                           [probed]
1770   --with-jtreg            Regression Test Harness [probed]
1771   --with-extra-cflags     extra flags to be used when compiling jdk c-files
1772   --with-extra-cxxflags   extra flags to be used when compiling jdk c++-files
1773   --with-extra-ldflags    extra flags to be used when linking jdk
1774   --with-x                use the X Window System
1775   --with-cups             specify prefix directory for the cups package
1776                           (expecting the headers under PATH/include)
1777   --with-cups-include     specify directory for the cups include files


1778   --with-freetype         specify prefix directory for the freetype2 package
1779                           (expecting the libraries under PATH/lib and the
1780                           headers under PATH/include)
1781   --with-alsa             specify prefix directory for the alsa package
1782                           (expecting the libraries under PATH/lib and the
1783                           headers under PATH/include)
1784   --with-alsa-include     specify directory for the alsa include files
1785   --with-alsa-lib         specify directory for the alsa library
1786   --with-giflib           use giflib from build system or OpenJDK source
1787                           (system, bundled) [bundled]
1788   --with-zlib             use zlib from build system or OpenJDK source
1789                           (system, bundled) [bundled]
1790   --with-stdc++lib=<static>,<dynamic>,<default>
1791                           force linking of the C++ runtime on Linux to either
1792                           static or dynamic, default is static with dynamic as
1793                           fallback
1794   --with-num-cores        number of cores in the build system, e.g.
1795                           --with-num-cores=8 [probed]
1796   --with-memory-size      memory (in MB) available in the build system, e.g.
1797                           --with-memory-size=1024 [probed]


1801                           use this java binary for running the sjavac
1802                           background server [Boot JDK java]
1803   --with-ccache-dir       where to store ccache files [~/.ccache]
1804 
1805 Some influential environment variables:
1806   PKG_CONFIG  path to pkg-config utility
1807   CC          C compiler command
1808   CFLAGS      C compiler flags
1809   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1810               nonstandard directory <lib dir>
1811   LIBS        libraries to pass to the linker, e.g. -l<library>
1812   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1813               you have headers in a nonstandard directory <include dir>
1814   CXX         C++ compiler command
1815   CXXFLAGS    C++ compiler flags
1816   OBJC        Objective C compiler command
1817   OBJCFLAGS   Objective C compiler flags
1818   CPP         C preprocessor
1819   CXXCPP      C++ preprocessor
1820   XMKMF       Path to xmkmf, Makefile generator for X Window System



1821   FREETYPE2_CFLAGS
1822               C compiler flags for FREETYPE2, overriding pkg-config
1823   FREETYPE2_LIBS
1824               linker flags for FREETYPE2, overriding pkg-config
1825   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1826   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1827   LIBFFI_CFLAGS
1828               C compiler flags for LIBFFI, overriding pkg-config
1829   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1830 
1831 Use these variables to override the choices made by `configure' or to help
1832 it to find libraries and programs with nonstandard names/locations.
1833 
1834 Report bugs to <build-dev@openjdk.java.net>.
1835 OpenJDK home page: <http://openjdk.java.net>.
1836 _ACEOF
1837 ac_status=$?
1838 fi
1839 
1840 if test "$ac_init_help" = "recursive"; then


1879 
1880     cd "$ac_dir" || { ac_status=$?; continue; }
1881     # Check for guested configure.
1882     if test -f "$ac_srcdir/configure.gnu"; then
1883       echo &&
1884       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1885     elif test -f "$ac_srcdir/configure"; then
1886       echo &&
1887       $SHELL "$ac_srcdir/configure" --help=recursive
1888     else
1889       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1890     fi || ac_status=$?
1891     cd "$ac_pwd" || { ac_status=$?; break; }
1892   done
1893 fi
1894 
1895 test -n "$ac_init_help" && exit $ac_status
1896 if $ac_init_version; then
1897   cat <<\_ACEOF
1898 OpenJDK configure jdk8
1899 generated by GNU Autoconf 2.67
1900 
1901 Copyright (C) 2010 Free Software Foundation, Inc.
1902 This configure script is free software; the Free Software Foundation
1903 gives unlimited permission to copy, distribute and modify it.
1904 _ACEOF
1905   exit
1906 fi
1907 
1908 ## ------------------------ ##
1909 ## Autoconf initialization. ##
1910 ## ------------------------ ##
1911 
1912 # ac_fn_c_try_compile LINENO
1913 # --------------------------
1914 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1915 ac_fn_c_try_compile ()
1916 {
1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918   rm -f conftest.$ac_objext
1919   if { { ac_try="$ac_compile"


1925 $as_echo "$ac_try_echo"; } >&5
1926   (eval "$ac_compile") 2>conftest.err
1927   ac_status=$?
1928   if test -s conftest.err; then
1929     grep -v '^ *+' conftest.err >conftest.er1
1930     cat conftest.er1 >&5
1931     mv -f conftest.er1 conftest.err
1932   fi
1933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934   test $ac_status = 0; } && {
1935          test -z "$ac_c_werror_flag" ||
1936          test ! -s conftest.err
1937        } && test -s conftest.$ac_objext; then :
1938   ac_retval=0
1939 else
1940   $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1942 
1943         ac_retval=1
1944 fi
1945   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946   as_fn_set_status $ac_retval
1947 
1948 } # ac_fn_c_try_compile
1949 
1950 # ac_fn_cxx_try_compile LINENO
1951 # ----------------------------
1952 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_compile ()
1954 {
1955   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956   rm -f conftest.$ac_objext
1957   if { { ac_try="$ac_compile"
1958 case "(($ac_try" in
1959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960   *) ac_try_echo=$ac_try;;
1961 esac
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964   (eval "$ac_compile") 2>conftest.err
1965   ac_status=$?
1966   if test -s conftest.err; then
1967     grep -v '^ *+' conftest.err >conftest.er1
1968     cat conftest.er1 >&5
1969     mv -f conftest.er1 conftest.err
1970   fi
1971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972   test $ac_status = 0; } && {
1973          test -z "$ac_cxx_werror_flag" ||
1974          test ! -s conftest.err
1975        } && test -s conftest.$ac_objext; then :
1976   ac_retval=0
1977 else
1978   $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1980 
1981         ac_retval=1
1982 fi
1983   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984   as_fn_set_status $ac_retval
1985 
1986 } # ac_fn_cxx_try_compile
1987 
1988 # ac_fn_objc_try_compile LINENO
1989 # -----------------------------
1990 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1991 ac_fn_objc_try_compile ()
1992 {
1993   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994   rm -f conftest.$ac_objext
1995   if { { ac_try="$ac_compile"
1996 case "(($ac_try" in
1997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998   *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002   (eval "$ac_compile") 2>conftest.err
2003   ac_status=$?
2004   if test -s conftest.err; then
2005     grep -v '^ *+' conftest.err >conftest.er1
2006     cat conftest.er1 >&5
2007     mv -f conftest.er1 conftest.err
2008   fi
2009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010   test $ac_status = 0; } && {
2011          test -z "$ac_objc_werror_flag" ||
2012          test ! -s conftest.err
2013        } && test -s conftest.$ac_objext; then :
2014   ac_retval=0
2015 else
2016   $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2018 
2019         ac_retval=1
2020 fi
2021   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2022   as_fn_set_status $ac_retval
2023 
2024 } # ac_fn_objc_try_compile
2025 
2026 # ac_fn_c_try_cpp LINENO
2027 # ----------------------
2028 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2029 ac_fn_c_try_cpp ()
2030 {
2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032   if { { ac_try="$ac_cpp conftest.$ac_ext"
2033 case "(($ac_try" in
2034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035   *) ac_try_echo=$ac_try;;
2036 esac
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2040   ac_status=$?
2041   if test -s conftest.err; then
2042     grep -v '^ *+' conftest.err >conftest.er1
2043     cat conftest.er1 >&5
2044     mv -f conftest.er1 conftest.err
2045   fi
2046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047   test $ac_status = 0; } > conftest.i && {
2048          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2049          test ! -s conftest.err
2050        }; then :
2051   ac_retval=0
2052 else
2053   $as_echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2055 
2056     ac_retval=1
2057 fi
2058   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2059   as_fn_set_status $ac_retval
2060 
2061 } # ac_fn_c_try_cpp
2062 
2063 # ac_fn_cxx_try_cpp LINENO
2064 # ------------------------
2065 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2066 ac_fn_cxx_try_cpp ()
2067 {
2068   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2069   if { { ac_try="$ac_cpp conftest.$ac_ext"
2070 case "(($ac_try" in
2071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072   *) ac_try_echo=$ac_try;;
2073 esac
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2077   ac_status=$?
2078   if test -s conftest.err; then
2079     grep -v '^ *+' conftest.err >conftest.er1
2080     cat conftest.er1 >&5
2081     mv -f conftest.er1 conftest.err
2082   fi
2083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084   test $ac_status = 0; } > conftest.i && {
2085          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2086          test ! -s conftest.err
2087        }; then :
2088   ac_retval=0
2089 else
2090   $as_echo "$as_me: failed program was:" >&5
2091 sed 's/^/| /' conftest.$ac_ext >&5
2092 
2093     ac_retval=1
2094 fi
2095   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096   as_fn_set_status $ac_retval
2097 
2098 } # ac_fn_cxx_try_cpp
2099 
2100 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # ---------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_cxx_check_header_mongrel ()
2106 {
2107   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108   if eval "test \"\${$3+set}\"" = set; then :
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if eval "test \"\${$3+set}\"" = set; then :
2112   $as_echo_n "(cached) " >&6
2113 fi
2114 eval ac_res=\$$3
2115                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118   # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h.  */
2123 $4
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_cxx_try_compile "$LINENO"; then :
2127   ac_header_compiler=yes
2128 else
2129   ac_header_compiler=no
2130 fi
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext


2158     ;;
2159   no:yes:* )
2160     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2164     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2168     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 ( $as_echo "## ----------------------------------------- ##
2171 ## Report this to build-dev@openjdk.java.net ##
2172 ## ----------------------------------------- ##"
2173      ) | sed "s/^/$as_me: WARNING:     /" >&2
2174     ;;
2175 esac
2176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if eval "test \"\${$3+set}\"" = set; then :
2179   $as_echo_n "(cached) " >&6
2180 else
2181   eval "$3=\$ac_header_compiler"
2182 fi
2183 eval ac_res=\$$3
2184                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2186 fi
2187   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2188 
2189 } # ac_fn_cxx_check_header_mongrel
2190 
2191 # ac_fn_cxx_try_run LINENO
2192 # ------------------------
2193 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2194 # that executables *can* be run.
2195 ac_fn_cxx_try_run ()
2196 {
2197   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198   if { { ac_try="$ac_link"
2199 case "(($ac_try" in
2200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201   *) ac_try_echo=$ac_try;;
2202 esac
2203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2204 $as_echo "$ac_try_echo"; } >&5
2205   (eval "$ac_link") 2>&5
2206   ac_status=$?
2207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2208   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2209   { { case "(($ac_try" in
2210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211   *) ac_try_echo=$ac_try;;
2212 esac
2213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2214 $as_echo "$ac_try_echo"; } >&5
2215   (eval "$ac_try") 2>&5
2216   ac_status=$?
2217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2218   test $ac_status = 0; }; }; then :
2219   ac_retval=0
2220 else
2221   $as_echo "$as_me: program exited with status $ac_status" >&5
2222        $as_echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.$ac_ext >&5
2224 
2225        ac_retval=$ac_status
2226 fi
2227   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2228   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2229   as_fn_set_status $ac_retval
2230 
2231 } # ac_fn_cxx_try_run
2232 
2233 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2234 # ---------------------------------------------------------
2235 # Tests whether HEADER exists and can be compiled using the include files in
2236 # INCLUDES, setting the cache variable VAR accordingly.
2237 ac_fn_cxx_check_header_compile ()
2238 {
2239   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 $as_echo_n "checking for $2... " >&6; }
2242 if eval "test \"\${$3+set}\"" = set; then :
2243   $as_echo_n "(cached) " >&6
2244 else
2245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 /* end confdefs.h.  */
2247 $4
2248 #include <$2>
2249 _ACEOF
2250 if ac_fn_cxx_try_compile "$LINENO"; then :
2251   eval "$3=yes"
2252 else
2253   eval "$3=no"
2254 fi
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2256 fi
2257 eval ac_res=\$$3
2258                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2261 
2262 } # ac_fn_cxx_check_header_compile
2263 
2264 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
2265 # ----------------------------------------------
2266 # Tries to find the compile-time value of EXPR in a program that includes
2267 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2268 # computed
2269 ac_fn_cxx_compute_int ()
2270 {
2271   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272   if test "$cross_compiling" = yes; then
2273     # Depending upon the size, compute the lo and hi bounds.
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h.  */
2276 $4
2277 int
2278 main ()
2279 {
2280 static int test_array [1 - 2 * !(($2) >= 0)];


2417       fprintf (f, "%lu", i);
2418     }
2419   /* Do not output a trailing newline, as this causes \r\n confusion
2420      on some platforms.  */
2421   return ferror (f) || fclose (f) != 0;
2422 
2423   ;
2424   return 0;
2425 }
2426 _ACEOF
2427 if ac_fn_cxx_try_run "$LINENO"; then :
2428   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2429 else
2430   ac_retval=1
2431 fi
2432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2433   conftest.$ac_objext conftest.beam conftest.$ac_ext
2434 rm -f conftest.val
2435 
2436   fi
2437   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2438   as_fn_set_status $ac_retval
2439 
2440 } # ac_fn_cxx_compute_int
2441 
2442 # ac_fn_cxx_try_link LINENO
2443 # -------------------------
2444 # Try to link conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_cxx_try_link ()
2446 {
2447   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448   rm -f conftest.$ac_objext conftest$ac_exeext
2449   if { { ac_try="$ac_link"
2450 case "(($ac_try" in
2451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452   *) ac_try_echo=$ac_try;;
2453 esac
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456   (eval "$ac_link") 2>conftest.err
2457   ac_status=$?


2463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464   test $ac_status = 0; } && {
2465          test -z "$ac_cxx_werror_flag" ||
2466          test ! -s conftest.err
2467        } && test -s conftest$ac_exeext && {
2468          test "$cross_compiling" = yes ||
2469          $as_test_x conftest$ac_exeext
2470        }; then :
2471   ac_retval=0
2472 else
2473   $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2475 
2476         ac_retval=1
2477 fi
2478   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2479   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2480   # interfere with the next link command; also delete a directory that is
2481   # left behind by Apple's compiler.  We do this before executing the actions.
2482   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2483   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2484   as_fn_set_status $ac_retval
2485 
2486 } # ac_fn_cxx_try_link
2487 
2488 # ac_fn_cxx_check_func LINENO FUNC VAR
2489 # ------------------------------------
2490 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2491 ac_fn_cxx_check_func ()
2492 {
2493   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2495 $as_echo_n "checking for $2... " >&6; }
2496 if eval "test \"\${$3+set}\"" = set; then :
2497   $as_echo_n "(cached) " >&6
2498 else
2499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500 /* end confdefs.h.  */
2501 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2503 #define $2 innocuous_$2
2504 
2505 /* System header to define __stub macros and hopefully few prototypes,
2506     which can conflict with char $2 (); below.
2507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2508     <limits.h> exists even on freestanding compilers.  */
2509 
2510 #ifdef __STDC__
2511 # include <limits.h>
2512 #else
2513 # include <assert.h>
2514 #endif
2515 
2516 #undef $2


2531 
2532 int
2533 main ()
2534 {
2535 return $2 ();
2536   ;
2537   return 0;
2538 }
2539 _ACEOF
2540 if ac_fn_cxx_try_link "$LINENO"; then :
2541   eval "$3=yes"
2542 else
2543   eval "$3=no"
2544 fi
2545 rm -f core conftest.err conftest.$ac_objext \
2546     conftest$ac_exeext conftest.$ac_ext
2547 fi
2548 eval ac_res=\$$3
2549                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2550 $as_echo "$ac_res" >&6; }
2551   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2552 
2553 } # ac_fn_cxx_check_func
2554 
2555 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2556 # -------------------------------------------------------
2557 # Tests whether HEADER exists and can be compiled using the include files in
2558 # INCLUDES, setting the cache variable VAR accordingly.
2559 ac_fn_c_check_header_compile ()
2560 {
2561   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2563 $as_echo_n "checking for $2... " >&6; }
2564 if eval "test \"\${$3+set}\"" = set; then :
2565   $as_echo_n "(cached) " >&6
2566 else
2567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2568 /* end confdefs.h.  */
2569 $4
2570 #include <$2>
2571 _ACEOF
2572 if ac_fn_c_try_compile "$LINENO"; then :
2573   eval "$3=yes"
2574 else
2575   eval "$3=no"
2576 fi
2577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2578 fi
2579 eval ac_res=\$$3
2580                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 $as_echo "$ac_res" >&6; }
2582   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2583 
2584 } # ac_fn_c_check_header_compile
2585 cat >config.log <<_ACEOF
2586 This file contains any messages produced by compilers while
2587 running configure, to aid debugging if configure makes a mistake.
2588 
2589 It was created by OpenJDK $as_me jdk8, which was
2590 generated by GNU Autoconf 2.67.  Invocation command line was
2591 
2592   $ $0 $@
2593 
2594 _ACEOF
2595 exec 5>>config.log
2596 {
2597 cat <<_ASUNAME
2598 ## --------- ##
2599 ## Platform. ##
2600 ## --------- ##
2601 
2602 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2603 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2604 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2605 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2606 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2607 
2608 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2609 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2610 


2828     *)   ac_site_file1=./$CONFIG_SITE;;
2829   esac
2830 elif test "x$prefix" != xNONE; then
2831   ac_site_file1=$prefix/share/config.site
2832   ac_site_file2=$prefix/etc/config.site
2833 else
2834   ac_site_file1=$ac_default_prefix/share/config.site
2835   ac_site_file2=$ac_default_prefix/etc/config.site
2836 fi
2837 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2838 do
2839   test "x$ac_site_file" = xNONE && continue
2840   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2841     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2842 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2843     sed 's/^/| /' "$ac_site_file" >&5
2844     . "$ac_site_file" \
2845       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2847 as_fn_error $? "failed to load site script $ac_site_file
2848 See \`config.log' for more details" "$LINENO" 5 ; }
2849   fi
2850 done
2851 
2852 if test -r "$cache_file"; then
2853   # Some versions of bash will fail to source /dev/null (special files
2854   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2855   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2856     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2857 $as_echo "$as_me: loading cache $cache_file" >&6;}
2858     case $cache_file in
2859       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2860       *)                      . "./$cache_file";;
2861     esac
2862   fi
2863 else
2864   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2865 $as_echo "$as_me: creating cache $cache_file" >&6;}
2866   >$cache_file
2867 fi
2868 


3557 #
3558 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3559 # or visit www.oracle.com if you need additional information or have any
3560 # questions.
3561 #
3562 
3563 
3564 
3565 
3566 
3567 
3568 
3569 
3570 
3571 
3572 
3573 
3574 
3575 
3576 


3577 #
3578 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3579 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3580 #
3581 # This code is free software; you can redistribute it and/or modify it
3582 # under the terms of the GNU General Public License version 2 only, as
3583 # published by the Free Software Foundation.  Oracle designates this
3584 # particular file as subject to the "Classpath" exception as provided
3585 # by Oracle in the LICENSE file that accompanied this code.
3586 #
3587 # This code is distributed in the hope that it will be useful, but WITHOUT
3588 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3589 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3590 # version 2 for more details (a copy is included in the LICENSE file that
3591 # accompanied this code).
3592 #
3593 # You should have received a copy of the GNU General Public License version
3594 # 2 along with this work; if not, write to the Free Software Foundation,
3595 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3596 #


3803 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3805 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}
3806 
3807 
3808 
3809 # Start with tools that do not need have cross compilation support
3810 # and can be expected to be found in the default PATH. These tools are
3811 # used by configure. Nor are these tools expected to be found in the
3812 # devkit from the builddeps server either, since they are
3813 # needed to download the devkit.
3814 
3815 # First are all the simple required tools.
3816 
3817     for ac_prog in basename
3818 do
3819   # Extract the first word of "$ac_prog", so it can be a program name with args.
3820 set dummy $ac_prog; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if test "${ac_cv_path_BASENAME+set}" = set; then :
3824   $as_echo_n "(cached) " >&6
3825 else
3826   case $BASENAME in
3827   [\\/]* | ?:[\\/]*)
3828   ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path.
3829   ;;
3830   *)
3831   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 for as_dir in $PATH
3833 do
3834   IFS=$as_save_IFS
3835   test -z "$as_dir" && as_dir=.
3836     for ac_exec_ext in '' $ac_executable_extensions; do
3837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3838     ac_cv_path_BASENAME="$as_dir/$ac_word$ac_exec_ext"
3839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3840     break 2
3841   fi
3842 done
3843   done


3862 
3863     if test "x$BASENAME" = x; then
3864         if test "xbasename" = x; then
3865           PROG_NAME=basename
3866         else
3867           PROG_NAME=basename
3868         fi
3869         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
3870 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
3871         as_fn_error $? "Cannot continue" "$LINENO" 5
3872     fi
3873 
3874 
3875 
3876     for ac_prog in bash
3877 do
3878   # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy $ac_prog; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if test "${ac_cv_path_BASH+set}" = set; then :
3883   $as_echo_n "(cached) " >&6
3884 else
3885   case $BASH in
3886   [\\/]* | ?:[\\/]*)
3887   ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
3888   ;;
3889   *)
3890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3892 do
3893   IFS=$as_save_IFS
3894   test -z "$as_dir" && as_dir=.
3895     for ac_exec_ext in '' $ac_executable_extensions; do
3896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3897     ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
3898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899     break 2
3900   fi
3901 done
3902   done


3921 
3922     if test "x$BASH" = x; then
3923         if test "xbash" = x; then
3924           PROG_NAME=bash
3925         else
3926           PROG_NAME=bash
3927         fi
3928         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
3929 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
3930         as_fn_error $? "Cannot continue" "$LINENO" 5
3931     fi
3932 
3933 
3934 
3935     for ac_prog in cat
3936 do
3937   # Extract the first word of "$ac_prog", so it can be a program name with args.
3938 set dummy $ac_prog; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if test "${ac_cv_path_CAT+set}" = set; then :
3942   $as_echo_n "(cached) " >&6
3943 else
3944   case $CAT in
3945   [\\/]* | ?:[\\/]*)
3946   ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
3947   ;;
3948   *)
3949   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3951 do
3952   IFS=$as_save_IFS
3953   test -z "$as_dir" && as_dir=.
3954     for ac_exec_ext in '' $ac_executable_extensions; do
3955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956     ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
3957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958     break 2
3959   fi
3960 done
3961   done


3980 
3981     if test "x$CAT" = x; then
3982         if test "xcat" = x; then
3983           PROG_NAME=cat
3984         else
3985           PROG_NAME=cat
3986         fi
3987         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
3988 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
3989         as_fn_error $? "Cannot continue" "$LINENO" 5
3990     fi
3991 
3992 
3993 
3994     for ac_prog in chmod
3995 do
3996   # Extract the first word of "$ac_prog", so it can be a program name with args.
3997 set dummy $ac_prog; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if test "${ac_cv_path_CHMOD+set}" = set; then :
4001   $as_echo_n "(cached) " >&6
4002 else
4003   case $CHMOD in
4004   [\\/]* | ?:[\\/]*)
4005   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
4006   ;;
4007   *)
4008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4009 for as_dir in $PATH
4010 do
4011   IFS=$as_save_IFS
4012   test -z "$as_dir" && as_dir=.
4013     for ac_exec_ext in '' $ac_executable_extensions; do
4014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4015     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
4016     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017     break 2
4018   fi
4019 done
4020   done


4039 
4040     if test "x$CHMOD" = x; then
4041         if test "xchmod" = x; then
4042           PROG_NAME=chmod
4043         else
4044           PROG_NAME=chmod
4045         fi
4046         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4047 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4048         as_fn_error $? "Cannot continue" "$LINENO" 5
4049     fi
4050 
4051 
4052 
4053     for ac_prog in cmp
4054 do
4055   # Extract the first word of "$ac_prog", so it can be a program name with args.
4056 set dummy $ac_prog; ac_word=$2
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4059 if test "${ac_cv_path_CMP+set}" = set; then :
4060   $as_echo_n "(cached) " >&6
4061 else
4062   case $CMP in
4063   [\\/]* | ?:[\\/]*)
4064   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4065   ;;
4066   *)
4067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH
4069 do
4070   IFS=$as_save_IFS
4071   test -z "$as_dir" && as_dir=.
4072     for ac_exec_ext in '' $ac_executable_extensions; do
4073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076     break 2
4077   fi
4078 done
4079   done


4098 
4099     if test "x$CMP" = x; then
4100         if test "xcmp" = x; then
4101           PROG_NAME=cmp
4102         else
4103           PROG_NAME=cmp
4104         fi
4105         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4106 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4107         as_fn_error $? "Cannot continue" "$LINENO" 5
4108     fi
4109 
4110 
4111 
4112     for ac_prog in comm
4113 do
4114   # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy $ac_prog; ac_word=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_path_COMM+set}" = set; then :
4119   $as_echo_n "(cached) " >&6
4120 else
4121   case $COMM in
4122   [\\/]* | ?:[\\/]*)
4123   ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
4124   ;;
4125   *)
4126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH
4128 do
4129   IFS=$as_save_IFS
4130   test -z "$as_dir" && as_dir=.
4131     for ac_exec_ext in '' $ac_executable_extensions; do
4132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133     ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
4134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135     break 2
4136   fi
4137 done
4138   done


4157 
4158     if test "x$COMM" = x; then
4159         if test "xcomm" = x; then
4160           PROG_NAME=comm
4161         else
4162           PROG_NAME=comm
4163         fi
4164         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4165 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4166         as_fn_error $? "Cannot continue" "$LINENO" 5
4167     fi
4168 
4169 
4170 
4171     for ac_prog in cp
4172 do
4173   # Extract the first word of "$ac_prog", so it can be a program name with args.
4174 set dummy $ac_prog; ac_word=$2
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4176 $as_echo_n "checking for $ac_word... " >&6; }
4177 if test "${ac_cv_path_CP+set}" = set; then :
4178   $as_echo_n "(cached) " >&6
4179 else
4180   case $CP in
4181   [\\/]* | ?:[\\/]*)
4182   ac_cv_path_CP="$CP" # Let the user override the test with a path.
4183   ;;
4184   *)
4185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 for as_dir in $PATH
4187 do
4188   IFS=$as_save_IFS
4189   test -z "$as_dir" && as_dir=.
4190     for ac_exec_ext in '' $ac_executable_extensions; do
4191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4192     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194     break 2
4195   fi
4196 done
4197   done


4216 
4217     if test "x$CP" = x; then
4218         if test "xcp" = x; then
4219           PROG_NAME=cp
4220         else
4221           PROG_NAME=cp
4222         fi
4223         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4224 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4225         as_fn_error $? "Cannot continue" "$LINENO" 5
4226     fi
4227 
4228 
4229 
4230     for ac_prog in cpio
4231 do
4232   # Extract the first word of "$ac_prog", so it can be a program name with args.
4233 set dummy $ac_prog; ac_word=$2
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235 $as_echo_n "checking for $ac_word... " >&6; }
4236 if test "${ac_cv_path_CPIO+set}" = set; then :
4237   $as_echo_n "(cached) " >&6
4238 else
4239   case $CPIO in
4240   [\\/]* | ?:[\\/]*)
4241   ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
4242   ;;
4243   *)
4244   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4245 for as_dir in $PATH
4246 do
4247   IFS=$as_save_IFS
4248   test -z "$as_dir" && as_dir=.
4249     for ac_exec_ext in '' $ac_executable_extensions; do
4250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251     ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
4252     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4253     break 2
4254   fi
4255 done
4256   done


4275 
4276     if test "x$CPIO" = x; then
4277         if test "xcpio" = x; then
4278           PROG_NAME=cpio
4279         else
4280           PROG_NAME=cpio
4281         fi
4282         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4283 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4284         as_fn_error $? "Cannot continue" "$LINENO" 5
4285     fi
4286 
4287 
4288 
4289     for ac_prog in cut
4290 do
4291   # Extract the first word of "$ac_prog", so it can be a program name with args.
4292 set dummy $ac_prog; ac_word=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if test "${ac_cv_path_CUT+set}" = set; then :
4296   $as_echo_n "(cached) " >&6
4297 else
4298   case $CUT in
4299   [\\/]* | ?:[\\/]*)
4300   ac_cv_path_CUT="$CUT" # Let the user override the test with a path.
4301   ;;
4302   *)
4303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4304 for as_dir in $PATH
4305 do
4306   IFS=$as_save_IFS
4307   test -z "$as_dir" && as_dir=.
4308     for ac_exec_ext in '' $ac_executable_extensions; do
4309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4310     ac_cv_path_CUT="$as_dir/$ac_word$ac_exec_ext"
4311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4312     break 2
4313   fi
4314 done
4315   done


4334 
4335     if test "x$CUT" = x; then
4336         if test "xcut" = x; then
4337           PROG_NAME=cut
4338         else
4339           PROG_NAME=cut
4340         fi
4341         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4342 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4343         as_fn_error $? "Cannot continue" "$LINENO" 5
4344     fi
4345 
4346 
4347 
4348     for ac_prog in date
4349 do
4350   # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_path_DATE+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   case $DATE in
4358   [\\/]* | ?:[\\/]*)
4359   ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
4360   ;;
4361   *)
4362   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4364 do
4365   IFS=$as_save_IFS
4366   test -z "$as_dir" && as_dir=.
4367     for ac_exec_ext in '' $ac_executable_extensions; do
4368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
4370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371     break 2
4372   fi
4373 done
4374   done


4393 
4394     if test "x$DATE" = x; then
4395         if test "xdate" = x; then
4396           PROG_NAME=date
4397         else
4398           PROG_NAME=date
4399         fi
4400         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4401 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4402         as_fn_error $? "Cannot continue" "$LINENO" 5
4403     fi
4404 
4405 
4406 
4407     for ac_prog in gdiff diff
4408 do
4409   # Extract the first word of "$ac_prog", so it can be a program name with args.
4410 set dummy $ac_prog; ac_word=$2
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4412 $as_echo_n "checking for $ac_word... " >&6; }
4413 if test "${ac_cv_path_DIFF+set}" = set; then :
4414   $as_echo_n "(cached) " >&6
4415 else
4416   case $DIFF in
4417   [\\/]* | ?:[\\/]*)
4418   ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path.
4419   ;;
4420   *)
4421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH
4423 do
4424   IFS=$as_save_IFS
4425   test -z "$as_dir" && as_dir=.
4426     for ac_exec_ext in '' $ac_executable_extensions; do
4427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428     ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext"
4429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430     break 2
4431   fi
4432 done
4433   done


4452 
4453     if test "x$DIFF" = x; then
4454         if test "xgdiff diff" = x; then
4455           PROG_NAME=diff
4456         else
4457           PROG_NAME=gdiff diff
4458         fi
4459         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4460 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4461         as_fn_error $? "Cannot continue" "$LINENO" 5
4462     fi
4463 
4464 
4465 
4466     for ac_prog in dirname
4467 do
4468   # Extract the first word of "$ac_prog", so it can be a program name with args.
4469 set dummy $ac_prog; ac_word=$2
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4471 $as_echo_n "checking for $ac_word... " >&6; }
4472 if test "${ac_cv_path_DIRNAME+set}" = set; then :
4473   $as_echo_n "(cached) " >&6
4474 else
4475   case $DIRNAME in
4476   [\\/]* | ?:[\\/]*)
4477   ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4478   ;;
4479   *)
4480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH
4482 do
4483   IFS=$as_save_IFS
4484   test -z "$as_dir" && as_dir=.
4485     for ac_exec_ext in '' $ac_executable_extensions; do
4486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487     ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489     break 2
4490   fi
4491 done
4492   done


4511 
4512     if test "x$DIRNAME" = x; then
4513         if test "xdirname" = x; then
4514           PROG_NAME=dirname
4515         else
4516           PROG_NAME=dirname
4517         fi
4518         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4519 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4520         as_fn_error $? "Cannot continue" "$LINENO" 5
4521     fi
4522 
4523 
4524 
4525     for ac_prog in echo
4526 do
4527   # Extract the first word of "$ac_prog", so it can be a program name with args.
4528 set dummy $ac_prog; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if test "${ac_cv_path_ECHO+set}" = set; then :
4532   $as_echo_n "(cached) " >&6
4533 else
4534   case $ECHO in
4535   [\\/]* | ?:[\\/]*)
4536   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4537   ;;
4538   *)
4539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4541 do
4542   IFS=$as_save_IFS
4543   test -z "$as_dir" && as_dir=.
4544     for ac_exec_ext in '' $ac_executable_extensions; do
4545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4546     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548     break 2
4549   fi
4550 done
4551   done


4570 
4571     if test "x$ECHO" = x; then
4572         if test "xecho" = x; then
4573           PROG_NAME=echo
4574         else
4575           PROG_NAME=echo
4576         fi
4577         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4578 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4579         as_fn_error $? "Cannot continue" "$LINENO" 5
4580     fi
4581 
4582 
4583 
4584     for ac_prog in expr
4585 do
4586   # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if test "${ac_cv_path_EXPR+set}" = set; then :
4591   $as_echo_n "(cached) " >&6
4592 else
4593   case $EXPR in
4594   [\\/]* | ?:[\\/]*)
4595   ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
4596   ;;
4597   *)
4598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4600 do
4601   IFS=$as_save_IFS
4602   test -z "$as_dir" && as_dir=.
4603     for ac_exec_ext in '' $ac_executable_extensions; do
4604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4605     ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
4606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607     break 2
4608   fi
4609 done
4610   done


4629 
4630     if test "x$EXPR" = x; then
4631         if test "xexpr" = x; then
4632           PROG_NAME=expr
4633         else
4634           PROG_NAME=expr
4635         fi
4636         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4637 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4638         as_fn_error $? "Cannot continue" "$LINENO" 5
4639     fi
4640 
4641 
4642 
4643     for ac_prog in file
4644 do
4645   # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy $ac_prog; ac_word=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if test "${ac_cv_path_FILE+set}" = set; then :
4650   $as_echo_n "(cached) " >&6
4651 else
4652   case $FILE in
4653   [\\/]* | ?:[\\/]*)
4654   ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
4655   ;;
4656   *)
4657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 for as_dir in $PATH
4659 do
4660   IFS=$as_save_IFS
4661   test -z "$as_dir" && as_dir=.
4662     for ac_exec_ext in '' $ac_executable_extensions; do
4663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4664     ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
4665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666     break 2
4667   fi
4668 done
4669   done


4688 
4689     if test "x$FILE" = x; then
4690         if test "xfile" = x; then
4691           PROG_NAME=file
4692         else
4693           PROG_NAME=file
4694         fi
4695         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4696 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4697         as_fn_error $? "Cannot continue" "$LINENO" 5
4698     fi
4699 
4700 
4701 
4702     for ac_prog in find
4703 do
4704   # Extract the first word of "$ac_prog", so it can be a program name with args.
4705 set dummy $ac_prog; ac_word=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if test "${ac_cv_path_FIND+set}" = set; then :
4709   $as_echo_n "(cached) " >&6
4710 else
4711   case $FIND in
4712   [\\/]* | ?:[\\/]*)
4713   ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
4714   ;;
4715   *)
4716   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4718 do
4719   IFS=$as_save_IFS
4720   test -z "$as_dir" && as_dir=.
4721     for ac_exec_ext in '' $ac_executable_extensions; do
4722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723     ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
4724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725     break 2
4726   fi
4727 done
4728   done


4747 
4748     if test "x$FIND" = x; then
4749         if test "xfind" = x; then
4750           PROG_NAME=find
4751         else
4752           PROG_NAME=find
4753         fi
4754         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4755 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4756         as_fn_error $? "Cannot continue" "$LINENO" 5
4757     fi
4758 
4759 
4760 
4761     for ac_prog in head
4762 do
4763   # Extract the first word of "$ac_prog", so it can be a program name with args.
4764 set dummy $ac_prog; ac_word=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if test "${ac_cv_path_HEAD+set}" = set; then :
4768   $as_echo_n "(cached) " >&6
4769 else
4770   case $HEAD in
4771   [\\/]* | ?:[\\/]*)
4772   ac_cv_path_HEAD="$HEAD" # Let the user override the test with a path.
4773   ;;
4774   *)
4775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4776 for as_dir in $PATH
4777 do
4778   IFS=$as_save_IFS
4779   test -z "$as_dir" && as_dir=.
4780     for ac_exec_ext in '' $ac_executable_extensions; do
4781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782     ac_cv_path_HEAD="$as_dir/$ac_word$ac_exec_ext"
4783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784     break 2
4785   fi
4786 done
4787   done


4806 
4807     if test "x$HEAD" = x; then
4808         if test "xhead" = x; then
4809           PROG_NAME=head
4810         else
4811           PROG_NAME=head
4812         fi
4813         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4814 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4815         as_fn_error $? "Cannot continue" "$LINENO" 5
4816     fi
4817 
4818 
4819 
4820     for ac_prog in ln
4821 do
4822   # Extract the first word of "$ac_prog", so it can be a program name with args.
4823 set dummy $ac_prog; ac_word=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_path_LN+set}" = set; then :
4827   $as_echo_n "(cached) " >&6
4828 else
4829   case $LN in
4830   [\\/]* | ?:[\\/]*)
4831   ac_cv_path_LN="$LN" # Let the user override the test with a path.
4832   ;;
4833   *)
4834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4836 do
4837   IFS=$as_save_IFS
4838   test -z "$as_dir" && as_dir=.
4839     for ac_exec_ext in '' $ac_executable_extensions; do
4840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4841     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843     break 2
4844   fi
4845 done
4846   done


4865 
4866     if test "x$LN" = x; then
4867         if test "xln" = x; then
4868           PROG_NAME=ln
4869         else
4870           PROG_NAME=ln
4871         fi
4872         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4873 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4874         as_fn_error $? "Cannot continue" "$LINENO" 5
4875     fi
4876 
4877 
4878 
4879     for ac_prog in ls
4880 do
4881   # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy $ac_prog; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if test "${ac_cv_path_LS+set}" = set; then :
4886   $as_echo_n "(cached) " >&6
4887 else
4888   case $LS in
4889   [\\/]* | ?:[\\/]*)
4890   ac_cv_path_LS="$LS" # Let the user override the test with a path.
4891   ;;
4892   *)
4893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4895 do
4896   IFS=$as_save_IFS
4897   test -z "$as_dir" && as_dir=.
4898     for ac_exec_ext in '' $ac_executable_extensions; do
4899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4900     ac_cv_path_LS="$as_dir/$ac_word$ac_exec_ext"
4901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902     break 2
4903   fi
4904 done
4905   done


4924 
4925     if test "x$LS" = x; then
4926         if test "xls" = x; then
4927           PROG_NAME=ls
4928         else
4929           PROG_NAME=ls
4930         fi
4931         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4932 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4933         as_fn_error $? "Cannot continue" "$LINENO" 5
4934     fi
4935 
4936 
4937 
4938     for ac_prog in mkdir
4939 do
4940   # Extract the first word of "$ac_prog", so it can be a program name with args.
4941 set dummy $ac_prog; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if test "${ac_cv_path_MKDIR+set}" = set; then :
4945   $as_echo_n "(cached) " >&6
4946 else
4947   case $MKDIR in
4948   [\\/]* | ?:[\\/]*)
4949   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
4950   ;;
4951   *)
4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4954 do
4955   IFS=$as_save_IFS
4956   test -z "$as_dir" && as_dir=.
4957     for ac_exec_ext in '' $ac_executable_extensions; do
4958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4959     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961     break 2
4962   fi
4963 done
4964   done


4983 
4984     if test "x$MKDIR" = x; then
4985         if test "xmkdir" = x; then
4986           PROG_NAME=mkdir
4987         else
4988           PROG_NAME=mkdir
4989         fi
4990         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4991 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4992         as_fn_error $? "Cannot continue" "$LINENO" 5
4993     fi
4994 
4995 
4996 
4997     for ac_prog in mktemp
4998 do
4999   # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if test "${ac_cv_path_MKTEMP+set}" = set; then :
5004   $as_echo_n "(cached) " >&6
5005 else
5006   case $MKTEMP in
5007   [\\/]* | ?:[\\/]*)
5008   ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5009   ;;
5010   *)
5011   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 for as_dir in $PATH
5013 do
5014   IFS=$as_save_IFS
5015   test -z "$as_dir" && as_dir=.
5016     for ac_exec_ext in '' $ac_executable_extensions; do
5017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018     ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020     break 2
5021   fi
5022 done
5023   done


5042 
5043     if test "x$MKTEMP" = x; then
5044         if test "xmktemp" = x; then
5045           PROG_NAME=mktemp
5046         else
5047           PROG_NAME=mktemp
5048         fi
5049         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5050 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5051         as_fn_error $? "Cannot continue" "$LINENO" 5
5052     fi
5053 
5054 
5055 
5056     for ac_prog in mv
5057 do
5058   # Extract the first word of "$ac_prog", so it can be a program name with args.
5059 set dummy $ac_prog; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_path_MV+set}" = set; then :
5063   $as_echo_n "(cached) " >&6
5064 else
5065   case $MV in
5066   [\\/]* | ?:[\\/]*)
5067   ac_cv_path_MV="$MV" # Let the user override the test with a path.
5068   ;;
5069   *)
5070   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH
5072 do
5073   IFS=$as_save_IFS
5074   test -z "$as_dir" && as_dir=.
5075     for ac_exec_ext in '' $ac_executable_extensions; do
5076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079     break 2
5080   fi
5081 done
5082   done


5101 
5102     if test "x$MV" = x; then
5103         if test "xmv" = x; then
5104           PROG_NAME=mv
5105         else
5106           PROG_NAME=mv
5107         fi
5108         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5109 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5110         as_fn_error $? "Cannot continue" "$LINENO" 5
5111     fi
5112 
5113 
5114 
5115     for ac_prog in printf
5116 do
5117   # Extract the first word of "$ac_prog", so it can be a program name with args.
5118 set dummy $ac_prog; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if test "${ac_cv_path_PRINTF+set}" = set; then :
5122   $as_echo_n "(cached) " >&6
5123 else
5124   case $PRINTF in
5125   [\\/]* | ?:[\\/]*)
5126   ac_cv_path_PRINTF="$PRINTF" # Let the user override the test with a path.
5127   ;;
5128   *)
5129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5131 do
5132   IFS=$as_save_IFS
5133   test -z "$as_dir" && as_dir=.
5134     for ac_exec_ext in '' $ac_executable_extensions; do
5135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136     ac_cv_path_PRINTF="$as_dir/$ac_word$ac_exec_ext"
5137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138     break 2
5139   fi
5140 done
5141   done


5160 
5161     if test "x$PRINTF" = x; then
5162         if test "xprintf" = x; then
5163           PROG_NAME=printf
5164         else
5165           PROG_NAME=printf
5166         fi
5167         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5168 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5169         as_fn_error $? "Cannot continue" "$LINENO" 5
5170     fi
5171 
5172 
5173 
5174     for ac_prog in rm
5175 do
5176   # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if test "${ac_cv_path_RM+set}" = set; then :
5181   $as_echo_n "(cached) " >&6
5182 else
5183   case $RM in
5184   [\\/]* | ?:[\\/]*)
5185   ac_cv_path_RM="$RM" # Let the user override the test with a path.
5186   ;;
5187   *)
5188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5190 do
5191   IFS=$as_save_IFS
5192   test -z "$as_dir" && as_dir=.
5193     for ac_exec_ext in '' $ac_executable_extensions; do
5194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197     break 2
5198   fi
5199 done
5200   done


5219 
5220     if test "x$RM" = x; then
5221         if test "xrm" = x; then
5222           PROG_NAME=rm
5223         else
5224           PROG_NAME=rm
5225         fi
5226         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5227 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5228         as_fn_error $? "Cannot continue" "$LINENO" 5
5229     fi
5230 
5231 
5232 
5233     for ac_prog in sh
5234 do
5235   # Extract the first word of "$ac_prog", so it can be a program name with args.
5236 set dummy $ac_prog; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_path_SH+set}" = set; then :
5240   $as_echo_n "(cached) " >&6
5241 else
5242   case $SH in
5243   [\\/]* | ?:[\\/]*)
5244   ac_cv_path_SH="$SH" # Let the user override the test with a path.
5245   ;;
5246   *)
5247   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5249 do
5250   IFS=$as_save_IFS
5251   test -z "$as_dir" && as_dir=.
5252     for ac_exec_ext in '' $ac_executable_extensions; do
5253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254     ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256     break 2
5257   fi
5258 done
5259   done


5278 
5279     if test "x$SH" = x; then
5280         if test "xsh" = x; then
5281           PROG_NAME=sh
5282         else
5283           PROG_NAME=sh
5284         fi
5285         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5286 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5287         as_fn_error $? "Cannot continue" "$LINENO" 5
5288     fi
5289 
5290 
5291 
5292     for ac_prog in sort
5293 do
5294   # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 $as_echo_n "checking for $ac_word... " >&6; }
5298 if test "${ac_cv_path_SORT+set}" = set; then :
5299   $as_echo_n "(cached) " >&6
5300 else
5301   case $SORT in
5302   [\\/]* | ?:[\\/]*)
5303   ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
5304   ;;
5305   *)
5306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309   IFS=$as_save_IFS
5310   test -z "$as_dir" && as_dir=.
5311     for ac_exec_ext in '' $ac_executable_extensions; do
5312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313     ac_cv_path_SORT="$as_dir/$ac_word$ac_exec_ext"
5314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315     break 2
5316   fi
5317 done
5318   done


5337 
5338     if test "x$SORT" = x; then
5339         if test "xsort" = x; then
5340           PROG_NAME=sort
5341         else
5342           PROG_NAME=sort
5343         fi
5344         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5345 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5346         as_fn_error $? "Cannot continue" "$LINENO" 5
5347     fi
5348 
5349 
5350 
5351     for ac_prog in tail
5352 do
5353   # Extract the first word of "$ac_prog", so it can be a program name with args.
5354 set dummy $ac_prog; ac_word=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if test "${ac_cv_path_TAIL+set}" = set; then :
5358   $as_echo_n "(cached) " >&6
5359 else
5360   case $TAIL in
5361   [\\/]* | ?:[\\/]*)
5362   ac_cv_path_TAIL="$TAIL" # Let the user override the test with a path.
5363   ;;
5364   *)
5365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5367 do
5368   IFS=$as_save_IFS
5369   test -z "$as_dir" && as_dir=.
5370     for ac_exec_ext in '' $ac_executable_extensions; do
5371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372     ac_cv_path_TAIL="$as_dir/$ac_word$ac_exec_ext"
5373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374     break 2
5375   fi
5376 done
5377   done


5396 
5397     if test "x$TAIL" = x; then
5398         if test "xtail" = x; then
5399           PROG_NAME=tail
5400         else
5401           PROG_NAME=tail
5402         fi
5403         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5404 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5405         as_fn_error $? "Cannot continue" "$LINENO" 5
5406     fi
5407 
5408 
5409 
5410     for ac_prog in tar
5411 do
5412   # Extract the first word of "$ac_prog", so it can be a program name with args.
5413 set dummy $ac_prog; ac_word=$2
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415 $as_echo_n "checking for $ac_word... " >&6; }
5416 if test "${ac_cv_path_TAR+set}" = set; then :
5417   $as_echo_n "(cached) " >&6
5418 else
5419   case $TAR in
5420   [\\/]* | ?:[\\/]*)
5421   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5422   ;;
5423   *)
5424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5426 do
5427   IFS=$as_save_IFS
5428   test -z "$as_dir" && as_dir=.
5429     for ac_exec_ext in '' $ac_executable_extensions; do
5430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433     break 2
5434   fi
5435 done
5436   done


5455 
5456     if test "x$TAR" = x; then
5457         if test "xtar" = x; then
5458           PROG_NAME=tar
5459         else
5460           PROG_NAME=tar
5461         fi
5462         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5463 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5464         as_fn_error $? "Cannot continue" "$LINENO" 5
5465     fi
5466 
5467 
5468 
5469     for ac_prog in tee
5470 do
5471   # Extract the first word of "$ac_prog", so it can be a program name with args.
5472 set dummy $ac_prog; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if test "${ac_cv_path_TEE+set}" = set; then :
5476   $as_echo_n "(cached) " >&6
5477 else
5478   case $TEE in
5479   [\\/]* | ?:[\\/]*)
5480   ac_cv_path_TEE="$TEE" # Let the user override the test with a path.
5481   ;;
5482   *)
5483   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     for ac_exec_ext in '' $ac_executable_extensions; do
5489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490     ac_cv_path_TEE="$as_dir/$ac_word$ac_exec_ext"
5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492     break 2
5493   fi
5494 done
5495   done


5514 
5515     if test "x$TEE" = x; then
5516         if test "xtee" = x; then
5517           PROG_NAME=tee
5518         else
5519           PROG_NAME=tee
5520         fi
5521         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5522 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5523         as_fn_error $? "Cannot continue" "$LINENO" 5
5524     fi
5525 
5526 
5527 
5528     for ac_prog in touch
5529 do
5530   # Extract the first word of "$ac_prog", so it can be a program name with args.
5531 set dummy $ac_prog; ac_word=$2
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5533 $as_echo_n "checking for $ac_word... " >&6; }
5534 if test "${ac_cv_path_TOUCH+set}" = set; then :
5535   $as_echo_n "(cached) " >&6
5536 else
5537   case $TOUCH in
5538   [\\/]* | ?:[\\/]*)
5539   ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
5540   ;;
5541   *)
5542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543 for as_dir in $PATH
5544 do
5545   IFS=$as_save_IFS
5546   test -z "$as_dir" && as_dir=.
5547     for ac_exec_ext in '' $ac_executable_extensions; do
5548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5549     ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
5550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551     break 2
5552   fi
5553 done
5554   done


5573 
5574     if test "x$TOUCH" = x; then
5575         if test "xtouch" = x; then
5576           PROG_NAME=touch
5577         else
5578           PROG_NAME=touch
5579         fi
5580         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5581 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5582         as_fn_error $? "Cannot continue" "$LINENO" 5
5583     fi
5584 
5585 
5586 
5587     for ac_prog in tr
5588 do
5589   # Extract the first word of "$ac_prog", so it can be a program name with args.
5590 set dummy $ac_prog; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if test "${ac_cv_path_TR+set}" = set; then :
5594   $as_echo_n "(cached) " >&6
5595 else
5596   case $TR in
5597   [\\/]* | ?:[\\/]*)
5598   ac_cv_path_TR="$TR" # Let the user override the test with a path.
5599   ;;
5600   *)
5601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5603 do
5604   IFS=$as_save_IFS
5605   test -z "$as_dir" && as_dir=.
5606     for ac_exec_ext in '' $ac_executable_extensions; do
5607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5608     ac_cv_path_TR="$as_dir/$ac_word$ac_exec_ext"
5609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610     break 2
5611   fi
5612 done
5613   done


5632 
5633     if test "x$TR" = x; then
5634         if test "xtr" = x; then
5635           PROG_NAME=tr
5636         else
5637           PROG_NAME=tr
5638         fi
5639         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5640 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5641         as_fn_error $? "Cannot continue" "$LINENO" 5
5642     fi
5643 
5644 
5645 
5646     for ac_prog in uname
5647 do
5648   # Extract the first word of "$ac_prog", so it can be a program name with args.
5649 set dummy $ac_prog; ac_word=$2
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 $as_echo_n "checking for $ac_word... " >&6; }
5652 if test "${ac_cv_path_UNAME+set}" = set; then :
5653   $as_echo_n "(cached) " >&6
5654 else
5655   case $UNAME in
5656   [\\/]* | ?:[\\/]*)
5657   ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
5658   ;;
5659   *)
5660   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5662 do
5663   IFS=$as_save_IFS
5664   test -z "$as_dir" && as_dir=.
5665     for ac_exec_ext in '' $ac_executable_extensions; do
5666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5667     ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
5668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669     break 2
5670   fi
5671 done
5672   done


5691 
5692     if test "x$UNAME" = x; then
5693         if test "xuname" = x; then
5694           PROG_NAME=uname
5695         else
5696           PROG_NAME=uname
5697         fi
5698         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5699 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5700         as_fn_error $? "Cannot continue" "$LINENO" 5
5701     fi
5702 
5703 
5704 
5705     for ac_prog in uniq
5706 do
5707   # Extract the first word of "$ac_prog", so it can be a program name with args.
5708 set dummy $ac_prog; ac_word=$2
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5710 $as_echo_n "checking for $ac_word... " >&6; }
5711 if test "${ac_cv_path_UNIQ+set}" = set; then :
5712   $as_echo_n "(cached) " >&6
5713 else
5714   case $UNIQ in
5715   [\\/]* | ?:[\\/]*)
5716   ac_cv_path_UNIQ="$UNIQ" # Let the user override the test with a path.
5717   ;;
5718   *)
5719   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5721 do
5722   IFS=$as_save_IFS
5723   test -z "$as_dir" && as_dir=.
5724     for ac_exec_ext in '' $ac_executable_extensions; do
5725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726     ac_cv_path_UNIQ="$as_dir/$ac_word$ac_exec_ext"
5727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728     break 2
5729   fi
5730 done
5731   done


5750 
5751     if test "x$UNIQ" = x; then
5752         if test "xuniq" = x; then
5753           PROG_NAME=uniq
5754         else
5755           PROG_NAME=uniq
5756         fi
5757         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5758 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5759         as_fn_error $? "Cannot continue" "$LINENO" 5
5760     fi
5761 
5762 
5763 
5764     for ac_prog in wc
5765 do
5766   # Extract the first word of "$ac_prog", so it can be a program name with args.
5767 set dummy $ac_prog; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if test "${ac_cv_path_WC+set}" = set; then :
5771   $as_echo_n "(cached) " >&6
5772 else
5773   case $WC in
5774   [\\/]* | ?:[\\/]*)
5775   ac_cv_path_WC="$WC" # Let the user override the test with a path.
5776   ;;
5777   *)
5778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781   IFS=$as_save_IFS
5782   test -z "$as_dir" && as_dir=.
5783     for ac_exec_ext in '' $ac_executable_extensions; do
5784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785     ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
5786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787     break 2
5788   fi
5789 done
5790   done


5809 
5810     if test "x$WC" = x; then
5811         if test "xwc" = x; then
5812           PROG_NAME=wc
5813         else
5814           PROG_NAME=wc
5815         fi
5816         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5817 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5818         as_fn_error $? "Cannot continue" "$LINENO" 5
5819     fi
5820 
5821 
5822 
5823     for ac_prog in which
5824 do
5825   # Extract the first word of "$ac_prog", so it can be a program name with args.
5826 set dummy $ac_prog; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if test "${ac_cv_path_WHICH+set}" = set; then :
5830   $as_echo_n "(cached) " >&6
5831 else
5832   case $WHICH in
5833   [\\/]* | ?:[\\/]*)
5834   ac_cv_path_WHICH="$WHICH" # Let the user override the test with a path.
5835   ;;
5836   *)
5837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5839 do
5840   IFS=$as_save_IFS
5841   test -z "$as_dir" && as_dir=.
5842     for ac_exec_ext in '' $ac_executable_extensions; do
5843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5844     ac_cv_path_WHICH="$as_dir/$ac_word$ac_exec_ext"
5845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846     break 2
5847   fi
5848 done
5849   done


5868 
5869     if test "x$WHICH" = x; then
5870         if test "xwhich" = x; then
5871           PROG_NAME=which
5872         else
5873           PROG_NAME=which
5874         fi
5875         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5876 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5877         as_fn_error $? "Cannot continue" "$LINENO" 5
5878     fi
5879 
5880 
5881 
5882     for ac_prog in xargs
5883 do
5884   # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if test "${ac_cv_path_XARGS+set}" = set; then :
5889   $as_echo_n "(cached) " >&6
5890 else
5891   case $XARGS in
5892   [\\/]* | ?:[\\/]*)
5893   ac_cv_path_XARGS="$XARGS" # Let the user override the test with a path.
5894   ;;
5895   *)
5896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5898 do
5899   IFS=$as_save_IFS
5900   test -z "$as_dir" && as_dir=.
5901     for ac_exec_ext in '' $ac_executable_extensions; do
5902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903     ac_cv_path_XARGS="$as_dir/$ac_word$ac_exec_ext"
5904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905     break 2
5906   fi
5907 done
5908   done


5928     if test "x$XARGS" = x; then
5929         if test "xxargs" = x; then
5930           PROG_NAME=xargs
5931         else
5932           PROG_NAME=xargs
5933         fi
5934         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5935 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5936         as_fn_error $? "Cannot continue" "$LINENO" 5
5937     fi
5938 
5939 
5940 
5941 # Then required tools that require some special treatment.
5942 for ac_prog in gawk mawk nawk awk
5943 do
5944   # Extract the first word of "$ac_prog", so it can be a program name with args.
5945 set dummy $ac_prog; ac_word=$2
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5947 $as_echo_n "checking for $ac_word... " >&6; }
5948 if test "${ac_cv_prog_AWK+set}" = set; then :
5949   $as_echo_n "(cached) " >&6
5950 else
5951   if test -n "$AWK"; then
5952   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5953 else
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955 for as_dir in $PATH
5956 do
5957   IFS=$as_save_IFS
5958   test -z "$as_dir" && as_dir=.
5959     for ac_exec_ext in '' $ac_executable_extensions; do
5960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5961     ac_cv_prog_AWK="$ac_prog"
5962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5963     break 2
5964   fi
5965 done
5966   done
5967 IFS=$as_save_IFS
5968 


5978 fi
5979 
5980 
5981   test -n "$AWK" && break
5982 done
5983 
5984 
5985     if test "x$AWK" = x; then
5986         if test "x" = x; then
5987           PROG_NAME=awk
5988         else
5989           PROG_NAME=
5990         fi
5991         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5992 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5993         as_fn_error $? "Cannot continue" "$LINENO" 5
5994     fi
5995 
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5997 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5998 if test "${ac_cv_path_GREP+set}" = set; then :
5999   $as_echo_n "(cached) " >&6
6000 else
6001   if test -z "$GREP"; then
6002   ac_path_GREP_found=false
6003   # Loop through the user's path and test for each of PROGNAME-LIST
6004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6006 do
6007   IFS=$as_save_IFS
6008   test -z "$as_dir" && as_dir=.
6009     for ac_prog in grep ggrep; do
6010     for ac_exec_ext in '' $ac_executable_extensions; do
6011       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6012       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6013 # Check for GNU ac_path_GREP and select it if it is found.
6014   # Check for GNU $ac_path_GREP
6015 case `"$ac_path_GREP" --version 2>&1` in
6016 *GNU*)
6017   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6018 *)


6053 fi
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6055 $as_echo "$ac_cv_path_GREP" >&6; }
6056  GREP="$ac_cv_path_GREP"
6057 
6058 
6059 
6060     if test "x$GREP" = x; then
6061         if test "x" = x; then
6062           PROG_NAME=grep
6063         else
6064           PROG_NAME=
6065         fi
6066         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6067 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6068         as_fn_error $? "Cannot continue" "$LINENO" 5
6069     fi
6070 
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6072 $as_echo_n "checking for egrep... " >&6; }
6073 if test "${ac_cv_path_EGREP+set}" = set; then :
6074   $as_echo_n "(cached) " >&6
6075 else
6076   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6077    then ac_cv_path_EGREP="$GREP -E"
6078    else
6079      if test -z "$EGREP"; then
6080   ac_path_EGREP_found=false
6081   # Loop through the user's path and test for each of PROGNAME-LIST
6082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6084 do
6085   IFS=$as_save_IFS
6086   test -z "$as_dir" && as_dir=.
6087     for ac_prog in egrep; do
6088     for ac_exec_ext in '' $ac_executable_extensions; do
6089       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6090       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6091 # Check for GNU ac_path_EGREP and select it if it is found.
6092   # Check for GNU $ac_path_EGREP
6093 case `"$ac_path_EGREP" --version 2>&1` in


6132 fi
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6134 $as_echo "$ac_cv_path_EGREP" >&6; }
6135  EGREP="$ac_cv_path_EGREP"
6136 
6137 
6138 
6139     if test "x$EGREP" = x; then
6140         if test "x" = x; then
6141           PROG_NAME=egrep
6142         else
6143           PROG_NAME=
6144         fi
6145         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6146 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6147         as_fn_error $? "Cannot continue" "$LINENO" 5
6148     fi
6149 
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6151 $as_echo_n "checking for fgrep... " >&6; }
6152 if test "${ac_cv_path_FGREP+set}" = set; then :
6153   $as_echo_n "(cached) " >&6
6154 else
6155   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6156    then ac_cv_path_FGREP="$GREP -F"
6157    else
6158      if test -z "$FGREP"; then
6159   ac_path_FGREP_found=false
6160   # Loop through the user's path and test for each of PROGNAME-LIST
6161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6163 do
6164   IFS=$as_save_IFS
6165   test -z "$as_dir" && as_dir=.
6166     for ac_prog in fgrep; do
6167     for ac_exec_ext in '' $ac_executable_extensions; do
6168       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6169       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6170 # Check for GNU ac_path_FGREP and select it if it is found.
6171   # Check for GNU $ac_path_FGREP
6172 case `"$ac_path_FGREP" --version 2>&1` in


6211 fi
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6213 $as_echo "$ac_cv_path_FGREP" >&6; }
6214  FGREP="$ac_cv_path_FGREP"
6215 
6216 
6217 
6218     if test "x$FGREP" = x; then
6219         if test "x" = x; then
6220           PROG_NAME=fgrep
6221         else
6222           PROG_NAME=
6223         fi
6224         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6225 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6226         as_fn_error $? "Cannot continue" "$LINENO" 5
6227     fi
6228 
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6230 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6231 if test "${ac_cv_path_SED+set}" = set; then :
6232   $as_echo_n "(cached) " >&6
6233 else
6234             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6235      for ac_i in 1 2 3 4 5 6 7; do
6236        ac_script="$ac_script$as_nl$ac_script"
6237      done
6238      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6239      { ac_script=; unset ac_script;}
6240      if test -z "$SED"; then
6241   ac_path_SED_found=false
6242   # Loop through the user's path and test for each of PROGNAME-LIST
6243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6245 do
6246   IFS=$as_save_IFS
6247   test -z "$as_dir" && as_dir=.
6248     for ac_prog in sed gsed; do
6249     for ac_exec_ext in '' $ac_executable_extensions; do
6250       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6251       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue


6297 
6298 
6299     if test "x$SED" = x; then
6300         if test "x" = x; then
6301           PROG_NAME=sed
6302         else
6303           PROG_NAME=
6304         fi
6305         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6306 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6307         as_fn_error $? "Cannot continue" "$LINENO" 5
6308     fi
6309 
6310 
6311 for ac_prog in nawk gawk awk
6312 do
6313   # Extract the first word of "$ac_prog", so it can be a program name with args.
6314 set dummy $ac_prog; ac_word=$2
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6316 $as_echo_n "checking for $ac_word... " >&6; }
6317 if test "${ac_cv_path_NAWK+set}" = set; then :
6318   $as_echo_n "(cached) " >&6
6319 else
6320   case $NAWK in
6321   [\\/]* | ?:[\\/]*)
6322   ac_cv_path_NAWK="$NAWK" # Let the user override the test with a path.
6323   ;;
6324   *)
6325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH
6327 do
6328   IFS=$as_save_IFS
6329   test -z "$as_dir" && as_dir=.
6330     for ac_exec_ext in '' $ac_executable_extensions; do
6331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6332     ac_cv_path_NAWK="$as_dir/$ac_word$ac_exec_ext"
6333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6334     break 2
6335   fi
6336 done
6337   done


6361           PROG_NAME=
6362         fi
6363         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6364 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6365         as_fn_error $? "Cannot continue" "$LINENO" 5
6366     fi
6367 
6368 
6369 # Always force rm.
6370 RM="$RM -f"
6371 
6372 # pwd behaves differently on various platforms and some don't support the -L flag.
6373 # Always use the bash builtin pwd to get uniform behavior.
6374 THEPWDCMD=pwd
6375 
6376 # These are not required on all platforms
6377 # Extract the first word of "cygpath", so it can be a program name with args.
6378 set dummy cygpath; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if test "${ac_cv_path_CYGPATH+set}" = set; then :
6382   $as_echo_n "(cached) " >&6
6383 else
6384   case $CYGPATH in
6385   [\\/]* | ?:[\\/]*)
6386   ac_cv_path_CYGPATH="$CYGPATH" # Let the user override the test with a path.
6387   ;;
6388   *)
6389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6390 for as_dir in $PATH
6391 do
6392   IFS=$as_save_IFS
6393   test -z "$as_dir" && as_dir=.
6394     for ac_exec_ext in '' $ac_executable_extensions; do
6395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396     ac_cv_path_CYGPATH="$as_dir/$ac_word$ac_exec_ext"
6397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398     break 2
6399   fi
6400 done
6401   done
6402 IFS=$as_save_IFS
6403 
6404   ;;
6405 esac
6406 fi
6407 CYGPATH=$ac_cv_path_CYGPATH
6408 if test -n "$CYGPATH"; then
6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
6410 $as_echo "$CYGPATH" >&6; }
6411 else
6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6414 fi
6415 
6416 
6417 # Extract the first word of "readlink", so it can be a program name with args.
6418 set dummy readlink; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_path_READLINK+set}" = set; then :
6422   $as_echo_n "(cached) " >&6
6423 else
6424   case $READLINK in
6425   [\\/]* | ?:[\\/]*)
6426   ac_cv_path_READLINK="$READLINK" # Let the user override the test with a path.
6427   ;;
6428   *)
6429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6431 do
6432   IFS=$as_save_IFS
6433   test -z "$as_dir" && as_dir=.
6434     for ac_exec_ext in '' $ac_executable_extensions; do
6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436     ac_cv_path_READLINK="$as_dir/$ac_word$ac_exec_ext"
6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438     break 2
6439   fi
6440 done
6441   done
6442 IFS=$as_save_IFS
6443 
6444   ;;
6445 esac
6446 fi
6447 READLINK=$ac_cv_path_READLINK
6448 if test -n "$READLINK"; then
6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINK" >&5
6450 $as_echo "$READLINK" >&6; }
6451 else
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6454 fi
6455 
6456 
6457 # Extract the first word of "df", so it can be a program name with args.
6458 set dummy df; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_path_DF+set}" = set; then :
6462   $as_echo_n "(cached) " >&6
6463 else
6464   case $DF in
6465   [\\/]* | ?:[\\/]*)
6466   ac_cv_path_DF="$DF" # Let the user override the test with a path.
6467   ;;
6468   *)
6469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_path_DF="$as_dir/$ac_word$ac_exec_ext"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483 
6484   ;;
6485 esac
6486 fi
6487 DF=$ac_cv_path_DF
6488 if test -n "$DF"; then
6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DF" >&5
6490 $as_echo "$DF" >&6; }
6491 else
6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6493 $as_echo "no" >&6; }
6494 fi
6495 
6496 
6497 # Extract the first word of "SetFile", so it can be a program name with args.
6498 set dummy SetFile; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if test "${ac_cv_path_SETFILE+set}" = set; then :
6502   $as_echo_n "(cached) " >&6
6503 else
6504   case $SETFILE in
6505   [\\/]* | ?:[\\/]*)
6506   ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
6507   ;;
6508   *)
6509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 for as_dir in $PATH
6511 do
6512   IFS=$as_save_IFS
6513   test -z "$as_dir" && as_dir=.
6514     for ac_exec_ext in '' $ac_executable_extensions; do
6515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6516     ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
6517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6518     break 2
6519   fi
6520 done
6521   done


6527 SETFILE=$ac_cv_path_SETFILE
6528 if test -n "$SETFILE"; then
6529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
6530 $as_echo "$SETFILE" >&6; }
6531 else
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6534 fi
6535 
6536 
6537 
6538 
6539 # Now we can determine OpenJDK build and target platforms. This is required to
6540 # have early on.
6541 # Make sure we can run config.sub.
6542 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6543   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6544 
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6546 $as_echo_n "checking build system type... " >&6; }
6547 if test "${ac_cv_build+set}" = set; then :
6548   $as_echo_n "(cached) " >&6
6549 else
6550   ac_build_alias=$build_alias
6551 test "x$ac_build_alias" = x &&
6552   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6553 test "x$ac_build_alias" = x &&
6554   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6555 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6556   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6557 
6558 fi
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6560 $as_echo "$ac_cv_build" >&6; }
6561 case $ac_cv_build in
6562 *-*-*) ;;
6563 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
6564 esac
6565 build=$ac_cv_build
6566 ac_save_IFS=$IFS; IFS='-'
6567 set x $ac_cv_build
6568 shift
6569 build_cpu=$1
6570 build_vendor=$2
6571 shift; shift
6572 # Remember, the first character of IFS is used to create $*,
6573 # except with old shells:
6574 build_os=$*
6575 IFS=$ac_save_IFS
6576 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6577 
6578 
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6580 $as_echo_n "checking host system type... " >&6; }
6581 if test "${ac_cv_host+set}" = set; then :
6582   $as_echo_n "(cached) " >&6
6583 else
6584   if test "x$host_alias" = x; then
6585   ac_cv_host=$ac_cv_build
6586 else
6587   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6588     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6589 fi
6590 
6591 fi
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6593 $as_echo "$ac_cv_host" >&6; }
6594 case $ac_cv_host in
6595 *-*-*) ;;
6596 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
6597 esac
6598 host=$ac_cv_host
6599 ac_save_IFS=$IFS; IFS='-'
6600 set x $ac_cv_host
6601 shift
6602 host_cpu=$1
6603 host_vendor=$2
6604 shift; shift
6605 # Remember, the first character of IFS is used to create $*,
6606 # except with old shells:
6607 host_os=$*
6608 IFS=$ac_save_IFS
6609 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6610 
6611 
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6613 $as_echo_n "checking target system type... " >&6; }
6614 if test "${ac_cv_target+set}" = set; then :
6615   $as_echo_n "(cached) " >&6
6616 else
6617   if test "x$target_alias" = x; then
6618   ac_cv_target=$ac_cv_host
6619 else
6620   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6621     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6622 fi
6623 
6624 fi
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6626 $as_echo "$ac_cv_target" >&6; }
6627 case $ac_cv_target in
6628 *-*-*) ;;
6629 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
6630 esac
6631 target=$ac_cv_target
6632 ac_save_IFS=$IFS; IFS='-'
6633 set x $ac_cv_target
6634 shift
6635 target_cpu=$1
6636 target_vendor=$2
6637 shift; shift
6638 # Remember, the first character of IFS is used to create $*,
6639 # except with old shells:
6640 target_os=$*
6641 IFS=$ac_save_IFS
6642 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
6643 
6644 
6645 # The aliases save the names the user supplied, while $host etc.
6646 # will get canonicalized.
6647 test -n "$target_alias" &&
6648   test "$program_prefix$program_suffix$program_transform_name" = \
6649     NONENONEs,x,x, &&


8010 ac_config_files="$ac_config_files $OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in"
8011 
8012 # The generated Makefile knows where the spec.gmk is and where the source is.
8013 # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
8014 # which will look for generated configurations
8015 ac_config_files="$ac_config_files $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in"
8016 
8017 
8018 # Save the arguments given to us
8019 echo "$CONFIGURE_COMMAND_LINE" > $OUTPUT_ROOT/configure-arguments
8020 
8021 
8022 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY.
8023 
8024     for ac_prog in apt-get yum port pkgutil pkgadd
8025 do
8026   # Extract the first word of "$ac_prog", so it can be a program name with args.
8027 set dummy $ac_prog; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if test "${ac_cv_prog_PKGHANDLER+set}" = set; then :
8031   $as_echo_n "(cached) " >&6
8032 else
8033   if test -n "$PKGHANDLER"; then
8034   ac_cv_prog_PKGHANDLER="$PKGHANDLER" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8038 do
8039   IFS=$as_save_IFS
8040   test -z "$as_dir" && as_dir=.
8041     for ac_exec_ext in '' $ac_executable_extensions; do
8042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8043     ac_cv_prog_PKGHANDLER="$ac_prog"
8044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045     break 2
8046   fi
8047 done
8048   done
8049 IFS=$as_save_IFS
8050 


8375       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
8376 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
8377     fi
8378 
8379         fi
8380       fi
8381     fi
8382   fi
8383 
8384     if test "x$FOUND_MAKE" = x; then
8385       as_fn_error $? "The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer." "$LINENO" 5
8386     fi
8387   else
8388     # Try our hardest to locate a correct version of GNU make
8389     for ac_prog in gmake
8390 do
8391   # Extract the first word of "$ac_prog", so it can be a program name with args.
8392 set dummy $ac_prog; ac_word=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8394 $as_echo_n "checking for $ac_word... " >&6; }
8395 if test "${ac_cv_path_CHECK_GMAKE+set}" = set; then :
8396   $as_echo_n "(cached) " >&6
8397 else
8398   case $CHECK_GMAKE in
8399   [\\/]* | ?:[\\/]*)
8400   ac_cv_path_CHECK_GMAKE="$CHECK_GMAKE" # Let the user override the test with a path.
8401   ;;
8402   *)
8403   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404 for as_dir in $PATH
8405 do
8406   IFS=$as_save_IFS
8407   test -z "$as_dir" && as_dir=.
8408     for ac_exec_ext in '' $ac_executable_extensions; do
8409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8410     ac_cv_path_CHECK_GMAKE="$as_dir/$ac_word$ac_exec_ext"
8411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412     break 2
8413   fi
8414 done
8415   done


8729 
8730   if test "x$complete" != "x$new_complete"; then
8731       FOUND_MAKE="$new_complete"
8732       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
8733 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
8734     fi
8735 
8736         fi
8737       fi
8738     fi
8739   fi
8740 
8741 
8742     if test "x$FOUND_MAKE" = x; then
8743       for ac_prog in make
8744 do
8745   # Extract the first word of "$ac_prog", so it can be a program name with args.
8746 set dummy $ac_prog; ac_word=$2
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8748 $as_echo_n "checking for $ac_word... " >&6; }
8749 if test "${ac_cv_path_CHECK_MAKE+set}" = set; then :
8750   $as_echo_n "(cached) " >&6
8751 else
8752   case $CHECK_MAKE in
8753   [\\/]* | ?:[\\/]*)
8754   ac_cv_path_CHECK_MAKE="$CHECK_MAKE" # Let the user override the test with a path.
8755   ;;
8756   *)
8757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758 for as_dir in $PATH
8759 do
8760   IFS=$as_save_IFS
8761   test -z "$as_dir" && as_dir=.
8762     for ac_exec_ext in '' $ac_executable_extensions; do
8763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8764     ac_cv_path_CHECK_MAKE="$as_dir/$ac_word$ac_exec_ext"
8765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8766     break 2
8767   fi
8768 done
8769   done


9088     fi
9089 
9090         fi
9091       fi
9092     fi
9093   fi
9094 
9095     fi
9096 
9097     if test "x$FOUND_MAKE" = x; then
9098       if test "x$TOOLS_DIR" != x; then
9099         # We have a tools-dir, check that as well before giving up.
9100         OLD_PATH=$PATH
9101         PATH=$TOOLS_DIR:$PATH
9102         for ac_prog in gmake
9103 do
9104   # Extract the first word of "$ac_prog", so it can be a program name with args.
9105 set dummy $ac_prog; ac_word=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107 $as_echo_n "checking for $ac_word... " >&6; }
9108 if test "${ac_cv_path_CHECK_TOOLSDIR_GMAKE+set}" = set; then :
9109   $as_echo_n "(cached) " >&6
9110 else
9111   case $CHECK_TOOLSDIR_GMAKE in
9112   [\\/]* | ?:[\\/]*)
9113   ac_cv_path_CHECK_TOOLSDIR_GMAKE="$CHECK_TOOLSDIR_GMAKE" # Let the user override the test with a path.
9114   ;;
9115   *)
9116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 for as_dir in $PATH
9118 do
9119   IFS=$as_save_IFS
9120   test -z "$as_dir" && as_dir=.
9121     for ac_exec_ext in '' $ac_executable_extensions; do
9122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123     ac_cv_path_CHECK_TOOLSDIR_GMAKE="$as_dir/$ac_word$ac_exec_ext"
9124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9125     break 2
9126   fi
9127 done
9128   done


9441       fi
9442 
9443   if test "x$complete" != "x$new_complete"; then
9444       FOUND_MAKE="$new_complete"
9445       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
9446 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
9447     fi
9448 
9449         fi
9450       fi
9451     fi
9452   fi
9453 
9454         if test "x$FOUND_MAKE" = x; then
9455           for ac_prog in make
9456 do
9457   # Extract the first word of "$ac_prog", so it can be a program name with args.
9458 set dummy $ac_prog; ac_word=$2
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9460 $as_echo_n "checking for $ac_word... " >&6; }
9461 if test "${ac_cv_path_CHECK_TOOLSDIR_MAKE+set}" = set; then :
9462   $as_echo_n "(cached) " >&6
9463 else
9464   case $CHECK_TOOLSDIR_MAKE in
9465   [\\/]* | ?:[\\/]*)
9466   ac_cv_path_CHECK_TOOLSDIR_MAKE="$CHECK_TOOLSDIR_MAKE" # Let the user override the test with a path.
9467   ;;
9468   *)
9469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9470 for as_dir in $PATH
9471 do
9472   IFS=$as_save_IFS
9473   test -z "$as_dir" && as_dir=.
9474     for ac_exec_ext in '' $ac_executable_extensions; do
9475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9476     ac_cv_path_CHECK_TOOLSDIR_MAKE="$as_dir/$ac_word$ac_exec_ext"
9477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9478     break 2
9479   fi
9480 done
9481   done


9837         FIND_DELETE="-exec rm \{\} \+"
9838         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9839 $as_echo "no" >&6; }
9840     else
9841         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9842 $as_echo "yes" >&6; }
9843     fi
9844     rmdir $DELETEDIR
9845 
9846 
9847 
9848 # These tools might not be installed by default,
9849 # need hint on how to install them.
9850 
9851     for ac_prog in unzip
9852 do
9853   # Extract the first word of "$ac_prog", so it can be a program name with args.
9854 set dummy $ac_prog; ac_word=$2
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9856 $as_echo_n "checking for $ac_word... " >&6; }
9857 if test "${ac_cv_path_UNZIP+set}" = set; then :
9858   $as_echo_n "(cached) " >&6
9859 else
9860   case $UNZIP in
9861   [\\/]* | ?:[\\/]*)
9862   ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path.
9863   ;;
9864   *)
9865   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9866 for as_dir in $PATH
9867 do
9868   IFS=$as_save_IFS
9869   test -z "$as_dir" && as_dir=.
9870     for ac_exec_ext in '' $ac_executable_extensions; do
9871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9872     ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext"
9873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9874     break 2
9875   fi
9876 done
9877   done


9896 
9897     if test "x$UNZIP" = x; then
9898         if test "xunzip" = x; then
9899           PROG_NAME=unzip
9900         else
9901           PROG_NAME=unzip
9902         fi
9903         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
9904 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
9905         as_fn_error $? "Cannot continue" "$LINENO" 5
9906     fi
9907 
9908 
9909 
9910     for ac_prog in zip
9911 do
9912   # Extract the first word of "$ac_prog", so it can be a program name with args.
9913 set dummy $ac_prog; ac_word=$2
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9915 $as_echo_n "checking for $ac_word... " >&6; }
9916 if test "${ac_cv_path_ZIP+set}" = set; then :
9917   $as_echo_n "(cached) " >&6
9918 else
9919   case $ZIP in
9920   [\\/]* | ?:[\\/]*)
9921   ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
9922   ;;
9923   *)
9924   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9925 for as_dir in $PATH
9926 do
9927   IFS=$as_save_IFS
9928   test -z "$as_dir" && as_dir=.
9929     for ac_exec_ext in '' $ac_executable_extensions; do
9930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9931     ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
9932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9933     break 2
9934   fi
9935 done
9936   done


9955 
9956     if test "x$ZIP" = x; then
9957         if test "xzip" = x; then
9958           PROG_NAME=zip
9959         else
9960           PROG_NAME=zip
9961         fi
9962         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
9963 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
9964         as_fn_error $? "Cannot continue" "$LINENO" 5
9965     fi
9966 
9967 
9968 
9969 # Non-required basic tools
9970 
9971 # Extract the first word of "ldd", so it can be a program name with args.
9972 set dummy ldd; ac_word=$2
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9974 $as_echo_n "checking for $ac_word... " >&6; }
9975 if test "${ac_cv_path_LDD+set}" = set; then :
9976   $as_echo_n "(cached) " >&6
9977 else
9978   case $LDD in
9979   [\\/]* | ?:[\\/]*)
9980   ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9981   ;;
9982   *)
9983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9984 for as_dir in $PATH
9985 do
9986   IFS=$as_save_IFS
9987   test -z "$as_dir" && as_dir=.
9988     for ac_exec_ext in '' $ac_executable_extensions; do
9989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9990     ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
9991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9992     break 2
9993   fi
9994 done
9995   done


10001 LDD=$ac_cv_path_LDD
10002 if test -n "$LDD"; then
10003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
10004 $as_echo "$LDD" >&6; }
10005 else
10006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10007 $as_echo "no" >&6; }
10008 fi
10009 
10010 
10011 if test "x$LDD" = "x"; then
10012     # List shared lib dependencies is used for
10013     # debug output and checking for forbidden dependencies.
10014     # We can build without it.
10015     LDD="true"
10016 fi
10017 # Extract the first word of "otool", so it can be a program name with args.
10018 set dummy otool; ac_word=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 $as_echo_n "checking for $ac_word... " >&6; }
10021 if test "${ac_cv_path_OTOOL+set}" = set; then :
10022   $as_echo_n "(cached) " >&6
10023 else
10024   case $OTOOL in
10025   [\\/]* | ?:[\\/]*)
10026   ac_cv_path_OTOOL="$OTOOL" # Let the user override the test with a path.
10027   ;;
10028   *)
10029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10030 for as_dir in $PATH
10031 do
10032   IFS=$as_save_IFS
10033   test -z "$as_dir" && as_dir=.
10034     for ac_exec_ext in '' $ac_executable_extensions; do
10035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036     ac_cv_path_OTOOL="$as_dir/$ac_word$ac_exec_ext"
10037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10038     break 2
10039   fi
10040 done
10041   done


10046 fi
10047 OTOOL=$ac_cv_path_OTOOL
10048 if test -n "$OTOOL"; then
10049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10050 $as_echo "$OTOOL" >&6; }
10051 else
10052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10054 fi
10055 
10056 
10057 if test "x$OTOOL" = "x"; then
10058    OTOOL="true"
10059 fi
10060 for ac_prog in readelf greadelf
10061 do
10062   # Extract the first word of "$ac_prog", so it can be a program name with args.
10063 set dummy $ac_prog; ac_word=$2
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10065 $as_echo_n "checking for $ac_word... " >&6; }
10066 if test "${ac_cv_path_READELF+set}" = set; then :
10067   $as_echo_n "(cached) " >&6
10068 else
10069   case $READELF in
10070   [\\/]* | ?:[\\/]*)
10071   ac_cv_path_READELF="$READELF" # Let the user override the test with a path.
10072   ;;
10073   *)
10074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $PATH
10076 do
10077   IFS=$as_save_IFS
10078   test -z "$as_dir" && as_dir=.
10079     for ac_exec_ext in '' $ac_executable_extensions; do
10080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10081     ac_cv_path_READELF="$as_dir/$ac_word$ac_exec_ext"
10082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10083     break 2
10084   fi
10085 done
10086   done


10089   ;;
10090 esac
10091 fi
10092 READELF=$ac_cv_path_READELF
10093 if test -n "$READELF"; then
10094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
10095 $as_echo "$READELF" >&6; }
10096 else
10097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10098 $as_echo "no" >&6; }
10099 fi
10100 
10101 
10102   test -n "$READELF" && break
10103 done
10104 
10105 # Extract the first word of "hg", so it can be a program name with args.
10106 set dummy hg; ac_word=$2
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10108 $as_echo_n "checking for $ac_word... " >&6; }
10109 if test "${ac_cv_path_HG+set}" = set; then :
10110   $as_echo_n "(cached) " >&6
10111 else
10112   case $HG in
10113   [\\/]* | ?:[\\/]*)
10114   ac_cv_path_HG="$HG" # Let the user override the test with a path.
10115   ;;
10116   *)
10117   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10118 for as_dir in $PATH
10119 do
10120   IFS=$as_save_IFS
10121   test -z "$as_dir" && as_dir=.
10122     for ac_exec_ext in '' $ac_executable_extensions; do
10123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10124     ac_cv_path_HG="$as_dir/$ac_word$ac_exec_ext"
10125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10126     break 2
10127   fi
10128 done
10129   done
10130 IFS=$as_save_IFS
10131 
10132   ;;
10133 esac
10134 fi
10135 HG=$ac_cv_path_HG
10136 if test -n "$HG"; then
10137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HG" >&5
10138 $as_echo "$HG" >&6; }
10139 else
10140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10142 fi
10143 
10144 
10145 # Extract the first word of "stat", so it can be a program name with args.
10146 set dummy stat; ac_word=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 $as_echo_n "checking for $ac_word... " >&6; }
10149 if test "${ac_cv_path_STAT+set}" = set; then :
10150   $as_echo_n "(cached) " >&6
10151 else
10152   case $STAT in
10153   [\\/]* | ?:[\\/]*)
10154   ac_cv_path_STAT="$STAT" # Let the user override the test with a path.
10155   ;;
10156   *)
10157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $PATH
10159 do
10160   IFS=$as_save_IFS
10161   test -z "$as_dir" && as_dir=.
10162     for ac_exec_ext in '' $ac_executable_extensions; do
10163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10164     ac_cv_path_STAT="$as_dir/$ac_word$ac_exec_ext"
10165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10166     break 2
10167   fi
10168 done
10169   done
10170 IFS=$as_save_IFS
10171 
10172   ;;
10173 esac
10174 fi
10175 STAT=$ac_cv_path_STAT
10176 if test -n "$STAT"; then
10177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STAT" >&5
10178 $as_echo "$STAT" >&6; }
10179 else
10180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10182 fi
10183 
10184 
10185 # Extract the first word of "time", so it can be a program name with args.
10186 set dummy time; ac_word=$2
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10188 $as_echo_n "checking for $ac_word... " >&6; }
10189 if test "${ac_cv_path_TIME+set}" = set; then :
10190   $as_echo_n "(cached) " >&6
10191 else
10192   case $TIME in
10193   [\\/]* | ?:[\\/]*)
10194   ac_cv_path_TIME="$TIME" # Let the user override the test with a path.
10195   ;;
10196   *)
10197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10198 for as_dir in $PATH
10199 do
10200   IFS=$as_save_IFS
10201   test -z "$as_dir" && as_dir=.
10202     for ac_exec_ext in '' $ac_executable_extensions; do
10203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10204     ac_cv_path_TIME="$as_dir/$ac_word$ac_exec_ext"
10205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10206     break 2
10207   fi
10208 done
10209   done


10214 fi
10215 TIME=$ac_cv_path_TIME
10216 if test -n "$TIME"; then
10217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10218 $as_echo "$TIME" >&6; }
10219 else
10220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10221 $as_echo "no" >&6; }
10222 fi
10223 
10224 
10225 
10226 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
10227 
10228     for ac_prog in comm
10229 do
10230   # Extract the first word of "$ac_prog", so it can be a program name with args.
10231 set dummy $ac_prog; ac_word=$2
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10233 $as_echo_n "checking for $ac_word... " >&6; }
10234 if test "${ac_cv_path_COMM+set}" = set; then :
10235   $as_echo_n "(cached) " >&6
10236 else
10237   case $COMM in
10238   [\\/]* | ?:[\\/]*)
10239   ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
10240   ;;
10241   *)
10242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10243 for as_dir in $PATH
10244 do
10245   IFS=$as_save_IFS
10246   test -z "$as_dir" && as_dir=.
10247     for ac_exec_ext in '' $ac_executable_extensions; do
10248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10249     ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
10250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10251     break 2
10252   fi
10253 done
10254   done


10276           PROG_NAME=comm
10277         else
10278           PROG_NAME=comm
10279         fi
10280         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
10281 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
10282         as_fn_error $? "Cannot continue" "$LINENO" 5
10283     fi
10284 
10285 
10286 fi
10287 
10288 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
10289 
10290     for ac_prog in xattr
10291 do
10292   # Extract the first word of "$ac_prog", so it can be a program name with args.
10293 set dummy $ac_prog; ac_word=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 $as_echo_n "checking for $ac_word... " >&6; }
10296 if test "${ac_cv_path_XATTR+set}" = set; then :
10297   $as_echo_n "(cached) " >&6
10298 else
10299   case $XATTR in
10300   [\\/]* | ?:[\\/]*)
10301   ac_cv_path_XATTR="$XATTR" # Let the user override the test with a path.
10302   ;;
10303   *)
10304   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10305 for as_dir in $PATH
10306 do
10307   IFS=$as_save_IFS
10308   test -z "$as_dir" && as_dir=.
10309     for ac_exec_ext in '' $ac_executable_extensions; do
10310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10311     ac_cv_path_XATTR="$as_dir/$ac_word$ac_exec_ext"
10312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10313     break 2
10314   fi
10315 done
10316   done


10332   test -n "$XATTR" && break
10333 done
10334 
10335 
10336     if test "x$XATTR" = x; then
10337         if test "xxattr" = x; then
10338           PROG_NAME=xattr
10339         else
10340           PROG_NAME=xattr
10341         fi
10342         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
10343 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
10344         as_fn_error $? "Cannot continue" "$LINENO" 5
10345     fi
10346 
10347 
10348   # Extract the first word of "codesign", so it can be a program name with args.
10349 set dummy codesign; ac_word=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10351 $as_echo_n "checking for $ac_word... " >&6; }
10352 if test "${ac_cv_path_CODESIGN+set}" = set; then :
10353   $as_echo_n "(cached) " >&6
10354 else
10355   case $CODESIGN in
10356   [\\/]* | ?:[\\/]*)
10357   ac_cv_path_CODESIGN="$CODESIGN" # Let the user override the test with a path.
10358   ;;
10359   *)
10360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10361 for as_dir in $PATH
10362 do
10363   IFS=$as_save_IFS
10364   test -z "$as_dir" && as_dir=.
10365     for ac_exec_ext in '' $ac_executable_extensions; do
10366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10367     ac_cv_path_CODESIGN="$as_dir/$ac_word$ac_exec_ext"
10368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10369     break 2
10370   fi
10371 done
10372   done


10396     if test "x$CODESIGN" = x; then
10397       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 $as_echo "no" >&6; }
10399     else
10400       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10401 $as_echo "yes" >&6; }
10402     fi
10403   fi
10404 fi
10405 
10406 
10407 # Check if pkg-config is available.
10408 
10409 
10410 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10411         if test -n "$ac_tool_prefix"; then
10412   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10413 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10415 $as_echo_n "checking for $ac_word... " >&6; }
10416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10417   $as_echo_n "(cached) " >&6
10418 else
10419   case $PKG_CONFIG in
10420   [\\/]* | ?:[\\/]*)
10421   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10422   ;;
10423   *)
10424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10425 for as_dir in $PATH
10426 do
10427   IFS=$as_save_IFS
10428   test -z "$as_dir" && as_dir=.
10429     for ac_exec_ext in '' $ac_executable_extensions; do
10430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10431     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10433     break 2
10434   fi
10435 done
10436   done


10439   ;;
10440 esac
10441 fi
10442 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10443 if test -n "$PKG_CONFIG"; then
10444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10445 $as_echo "$PKG_CONFIG" >&6; }
10446 else
10447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10448 $as_echo "no" >&6; }
10449 fi
10450 
10451 
10452 fi
10453 if test -z "$ac_cv_path_PKG_CONFIG"; then
10454   ac_pt_PKG_CONFIG=$PKG_CONFIG
10455   # Extract the first word of "pkg-config", so it can be a program name with args.
10456 set dummy pkg-config; ac_word=$2
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 $as_echo_n "checking for $ac_word... " >&6; }
10459 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10460   $as_echo_n "(cached) " >&6
10461 else
10462   case $ac_pt_PKG_CONFIG in
10463   [\\/]* | ?:[\\/]*)
10464   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10465   ;;
10466   *)
10467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10468 for as_dir in $PATH
10469 do
10470   IFS=$as_save_IFS
10471   test -z "$as_dir" && as_dir=.
10472     for ac_exec_ext in '' $ac_executable_extensions; do
10473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10474     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10476     break 2
10477   fi
10478 done
10479   done


10612             echo Build stays the same $rewritten_build
10613         else
10614             echo Rewriting build for builddeps into $rewritten_build
10615         fi
10616         eval rewritten_target=\${REWRITE_${target_var}}
10617         if test "x$rewritten_target" = x; then
10618             rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
10619             echo Target stays the same $rewritten_target
10620         else
10621             echo Rewriting target for builddeps into $rewritten_target
10622         fi
10623         rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
10624         rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
10625     fi
10626     for ac_prog in 7z unzip
10627 do
10628   # Extract the first word of "$ac_prog", so it can be a program name with args.
10629 set dummy $ac_prog; ac_word=$2
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10631 $as_echo_n "checking for $ac_word... " >&6; }
10632 if test "${ac_cv_prog_BDEPS_UNZIP+set}" = set; then :
10633   $as_echo_n "(cached) " >&6
10634 else
10635   if test -n "$BDEPS_UNZIP"; then
10636   ac_cv_prog_BDEPS_UNZIP="$BDEPS_UNZIP" # Let the user override the test.
10637 else
10638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639 for as_dir in $PATH
10640 do
10641   IFS=$as_save_IFS
10642   test -z "$as_dir" && as_dir=.
10643     for ac_exec_ext in '' $ac_executable_extensions; do
10644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10645     ac_cv_prog_BDEPS_UNZIP="$ac_prog"
10646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10647     break 2
10648   fi
10649 done
10650   done
10651 IFS=$as_save_IFS
10652 


10658 $as_echo "$BDEPS_UNZIP" >&6; }
10659 else
10660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10661 $as_echo "no" >&6; }
10662 fi
10663 
10664 
10665   test -n "$BDEPS_UNZIP" && break
10666 done
10667 
10668     if test "x$BDEPS_UNZIP" = x7z; then
10669         BDEPS_UNZIP="7z x"
10670     fi
10671 
10672     for ac_prog in wget lftp ftp
10673 do
10674   # Extract the first word of "$ac_prog", so it can be a program name with args.
10675 set dummy $ac_prog; ac_word=$2
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10677 $as_echo_n "checking for $ac_word... " >&6; }
10678 if test "${ac_cv_prog_BDEPS_FTP+set}" = set; then :
10679   $as_echo_n "(cached) " >&6
10680 else
10681   if test -n "$BDEPS_FTP"; then
10682   ac_cv_prog_BDEPS_FTP="$BDEPS_FTP" # Let the user override the test.
10683 else
10684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10685 for as_dir in $PATH
10686 do
10687   IFS=$as_save_IFS
10688   test -z "$as_dir" && as_dir=.
10689     for ac_exec_ext in '' $ac_executable_extensions; do
10690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10691     ac_cv_prog_BDEPS_FTP="$ac_prog"
10692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10693     break 2
10694   fi
10695 done
10696   done
10697 IFS=$as_save_IFS
10698 


11954               BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $TR '\n\r' '  '`
11955               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK_VERSION" >&5
11956 $as_echo "$BOOT_JDK_VERSION" >&6; }
11957             fi # end check jdk version
11958           fi # end check rt.jar
11959         fi # end check javac
11960       fi # end check java
11961     fi # end check boot jdk found
11962   fi
11963 
11964 
11965 # Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
11966 
11967   if test "x$BOOT_JDK_FOUND" = xno; then
11968     # Now execute the test
11969 
11970     # Extract the first word of "javac", so it can be a program name with args.
11971 set dummy javac; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if test "${ac_cv_path_JAVAC_CHECK+set}" = set; then :
11975   $as_echo_n "(cached) " >&6
11976 else
11977   case $JAVAC_CHECK in
11978   [\\/]* | ?:[\\/]*)
11979   ac_cv_path_JAVAC_CHECK="$JAVAC_CHECK" # Let the user override the test with a path.
11980   ;;
11981   *)
11982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985   IFS=$as_save_IFS
11986   test -z "$as_dir" && as_dir=.
11987     for ac_exec_ext in '' $ac_executable_extensions; do
11988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11989     ac_cv_path_JAVAC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11991     break 2
11992   fi
11993 done
11994   done
11995 IFS=$as_save_IFS
11996 
11997   ;;
11998 esac
11999 fi
12000 JAVAC_CHECK=$ac_cv_path_JAVAC_CHECK
12001 if test -n "$JAVAC_CHECK"; then
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC_CHECK" >&5
12003 $as_echo "$JAVAC_CHECK" >&6; }
12004 else
12005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12007 fi
12008 
12009 
12010     # Extract the first word of "java", so it can be a program name with args.
12011 set dummy java; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if test "${ac_cv_path_JAVA_CHECK+set}" = set; then :
12015   $as_echo_n "(cached) " >&6
12016 else
12017   case $JAVA_CHECK in
12018   [\\/]* | ?:[\\/]*)
12019   ac_cv_path_JAVA_CHECK="$JAVA_CHECK" # Let the user override the test with a path.
12020   ;;
12021   *)
12022   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12023 for as_dir in $PATH
12024 do
12025   IFS=$as_save_IFS
12026   test -z "$as_dir" && as_dir=.
12027     for ac_exec_ext in '' $ac_executable_extensions; do
12028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12029     ac_cv_path_JAVA_CHECK="$as_dir/$ac_word$ac_exec_ext"
12030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12031     break 2
12032   fi
12033 done
12034   done


16323 
16324 
16325       # jtreg win32 script works for everybody
16326       JTREGEXE="$JT_HOME/win32/bin/jtreg"
16327 
16328       if test ! -f "$JTREGEXE"; then
16329         as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5
16330       fi
16331 
16332       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JTREGEXE" >&5
16333 $as_echo "$JTREGEXE" >&6; }
16334     else
16335       # try to find jtreg on path
16336 
16337     for ac_prog in jtreg
16338 do
16339   # Extract the first word of "$ac_prog", so it can be a program name with args.
16340 set dummy $ac_prog; ac_word=$2
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16342 $as_echo_n "checking for $ac_word... " >&6; }
16343 if test "${ac_cv_path_JTREGEXE+set}" = set; then :
16344   $as_echo_n "(cached) " >&6
16345 else
16346   case $JTREGEXE in
16347   [\\/]* | ?:[\\/]*)
16348   ac_cv_path_JTREGEXE="$JTREGEXE" # Let the user override the test with a path.
16349   ;;
16350   *)
16351   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16352 for as_dir in $PATH
16353 do
16354   IFS=$as_save_IFS
16355   test -z "$as_dir" && as_dir=.
16356     for ac_exec_ext in '' $ac_executable_extensions; do
16357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16358     ac_cv_path_JTREGEXE="$as_dir/$ac_word$ac_exec_ext"
16359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16360     break 2
16361   fi
16362 done
16363   done


16391         as_fn_error $? "Cannot continue" "$LINENO" 5
16392     fi
16393 
16394 
16395       JT_HOME="`$DIRNAME $JTREGEXE`"
16396     fi
16397   fi
16398 
16399 
16400 
16401 
16402 
16403 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
16404 
16405   # Store path to cygwin link.exe to help excluding it when searching for
16406   # VS linker. This must be done before changing the PATH when looking for VS.
16407   # Extract the first word of "link", so it can be a program name with args.
16408 set dummy link; ac_word=$2
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16410 $as_echo_n "checking for $ac_word... " >&6; }
16411 if test "${ac_cv_path_CYGWIN_LINK+set}" = set; then :
16412   $as_echo_n "(cached) " >&6
16413 else
16414   case $CYGWIN_LINK in
16415   [\\/]* | ?:[\\/]*)
16416   ac_cv_path_CYGWIN_LINK="$CYGWIN_LINK" # Let the user override the test with a path.
16417   ;;
16418   *)
16419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16420 for as_dir in $PATH
16421 do
16422   IFS=$as_save_IFS
16423   test -z "$as_dir" && as_dir=.
16424     for ac_exec_ext in '' $ac_executable_extensions; do
16425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16426     ac_cv_path_CYGWIN_LINK="$as_dir/$ac_word$ac_exec_ext"
16427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16428     break 2
16429   fi
16430 done
16431   done


17832 # For example the binary i686-sun-solaris2.10-gcc
17833 # will cross compile for i686-sun-solaris2.10
17834 # If neither of build and host is not set, then build=host and the
17835 # default compiler found in the path will be used.
17836 # Setting only --host, does not seem to be really supported.
17837 # Please set both --build and --host if you want to cross compile.
17838 
17839 if test "x$COMPILE_TYPE" = "xcross"; then
17840     # Now we to find a C/C++ compiler that can build executables for the build
17841     # platform. We can't use the AC_PROG_CC macro, since it can only be used
17842     # once. Also, we need to do this before adding a tools dir to the path,
17843     # otherwise we might pick up cross-compilers which don't use standard naming.
17844     # Otherwise, we'll set the BUILD_tools to the native tools, but that'll have
17845     # to wait until they are properly discovered.
17846     for ac_prog in cl cc gcc
17847 do
17848   # Extract the first word of "$ac_prog", so it can be a program name with args.
17849 set dummy $ac_prog; ac_word=$2
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17851 $as_echo_n "checking for $ac_word... " >&6; }
17852 if test "${ac_cv_path_BUILD_CC+set}" = set; then :
17853   $as_echo_n "(cached) " >&6
17854 else
17855   case $BUILD_CC in
17856   [\\/]* | ?:[\\/]*)
17857   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
17858   ;;
17859   *)
17860   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17861 for as_dir in $PATH
17862 do
17863   IFS=$as_save_IFS
17864   test -z "$as_dir" && as_dir=.
17865     for ac_exec_ext in '' $ac_executable_extensions; do
17866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17867     ac_cv_path_BUILD_CC="$as_dir/$ac_word$ac_exec_ext"
17868     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17869     break 2
17870   fi
17871 done
17872   done


18143 
18144       # Now join together the path and the arguments once again
18145       if test "x$arguments" != xEOL; then
18146         new_complete="$new_path ${arguments% *}"
18147       else
18148         new_complete="$new_path"
18149       fi
18150 
18151   if test "x$complete" != "x$new_complete"; then
18152       BUILD_CC="$new_complete"
18153       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CC to \"$new_complete\"" >&5
18154 $as_echo "$as_me: Rewriting BUILD_CC to \"$new_complete\"" >&6;}
18155     fi
18156 
18157     for ac_prog in cl CC g++
18158 do
18159   # Extract the first word of "$ac_prog", so it can be a program name with args.
18160 set dummy $ac_prog; ac_word=$2
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18162 $as_echo_n "checking for $ac_word... " >&6; }
18163 if test "${ac_cv_path_BUILD_CXX+set}" = set; then :
18164   $as_echo_n "(cached) " >&6
18165 else
18166   case $BUILD_CXX in
18167   [\\/]* | ?:[\\/]*)
18168   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
18169   ;;
18170   *)
18171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18172 for as_dir in $PATH
18173 do
18174   IFS=$as_save_IFS
18175   test -z "$as_dir" && as_dir=.
18176     for ac_exec_ext in '' $ac_executable_extensions; do
18177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18178     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
18179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18180     break 2
18181   fi
18182 done
18183   done


18452       fi
18453   fi
18454 
18455       # Now join together the path and the arguments once again
18456       if test "x$arguments" != xEOL; then
18457         new_complete="$new_path ${arguments% *}"
18458       else
18459         new_complete="$new_path"
18460       fi
18461 
18462   if test "x$complete" != "x$new_complete"; then
18463       BUILD_CXX="$new_complete"
18464       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CXX to \"$new_complete\"" >&5
18465 $as_echo "$as_me: Rewriting BUILD_CXX to \"$new_complete\"" >&6;}
18466     fi
18467 
18468     # Extract the first word of "ld", so it can be a program name with args.
18469 set dummy ld; ac_word=$2
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18471 $as_echo_n "checking for $ac_word... " >&6; }
18472 if test "${ac_cv_path_BUILD_LD+set}" = set; then :
18473   $as_echo_n "(cached) " >&6
18474 else
18475   case $BUILD_LD in
18476   [\\/]* | ?:[\\/]*)
18477   ac_cv_path_BUILD_LD="$BUILD_LD" # Let the user override the test with a path.
18478   ;;
18479   *)
18480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18481 for as_dir in $PATH
18482 do
18483   IFS=$as_save_IFS
18484   test -z "$as_dir" && as_dir=.
18485     for ac_exec_ext in '' $ac_executable_extensions; do
18486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18487     ac_cv_path_BUILD_LD="$as_dir/$ac_word$ac_exec_ext"
18488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18489     break 2
18490   fi
18491 done
18492   done


18968   COMPILER_CHECK_LIST="cc gcc"
18969 else
18970   COMPILER_CHECK_LIST="gcc cc"
18971 fi
18972 
18973 
18974   COMPILER_NAME=C
18975 
18976   CC=
18977   # If TOOLS_DIR is set, check for all compiler names in there first
18978   # before checking the rest of the PATH.
18979   if test -n "$TOOLS_DIR"; then
18980     PATH_save="$PATH"
18981     PATH="$TOOLS_DIR"
18982     for ac_prog in $COMPILER_CHECK_LIST
18983 do
18984   # Extract the first word of "$ac_prog", so it can be a program name with args.
18985 set dummy $ac_prog; ac_word=$2
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18987 $as_echo_n "checking for $ac_word... " >&6; }
18988 if test "${ac_cv_path_TOOLS_DIR_CC+set}" = set; then :
18989   $as_echo_n "(cached) " >&6
18990 else
18991   case $TOOLS_DIR_CC in
18992   [\\/]* | ?:[\\/]*)
18993   ac_cv_path_TOOLS_DIR_CC="$TOOLS_DIR_CC" # Let the user override the test with a path.
18994   ;;
18995   *)
18996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18997 for as_dir in $PATH
18998 do
18999   IFS=$as_save_IFS
19000   test -z "$as_dir" && as_dir=.
19001     for ac_exec_ext in '' $ac_executable_extensions; do
19002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19003     ac_cv_path_TOOLS_DIR_CC="$as_dir/$ac_word$ac_exec_ext"
19004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19005     break 2
19006   fi
19007 done
19008   done


19020 $as_echo "no" >&6; }
19021 fi
19022 
19023 
19024   test -n "$TOOLS_DIR_CC" && break
19025 done
19026 
19027     CC=$TOOLS_DIR_CC
19028     PATH="$PATH_save"
19029   fi
19030 
19031   # AC_PATH_PROGS can't be run multiple times with the same variable,
19032   # so create a new name for this run.
19033   if test "x$CC" = x; then
19034     for ac_prog in $COMPILER_CHECK_LIST
19035 do
19036   # Extract the first word of "$ac_prog", so it can be a program name with args.
19037 set dummy $ac_prog; ac_word=$2
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19039 $as_echo_n "checking for $ac_word... " >&6; }
19040 if test "${ac_cv_path_POTENTIAL_CC+set}" = set; then :
19041   $as_echo_n "(cached) " >&6
19042 else
19043   case $POTENTIAL_CC in
19044   [\\/]* | ?:[\\/]*)
19045   ac_cv_path_POTENTIAL_CC="$POTENTIAL_CC" # Let the user override the test with a path.
19046   ;;
19047   *)
19048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19049 for as_dir in $PATH
19050 do
19051   IFS=$as_save_IFS
19052   test -z "$as_dir" && as_dir=.
19053     for ac_exec_ext in '' $ac_executable_extensions; do
19054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19055     ac_cv_path_POTENTIAL_CC="$as_dir/$ac_word$ac_exec_ext"
19056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19057     break 2
19058   fi
19059 done
19060   done


19433   if test "x$COMPILER_BASENAME" = "xccache"; then
19434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, trying to find proper $COMPILER_NAME compiler" >&5
19435 $as_echo "yes, trying to find proper $COMPILER_NAME compiler" >&6; }
19436     # We /usr/lib/ccache in the path, so cc is a symlink to /usr/bin/ccache.
19437     # We want to control ccache invocation ourselves, so ignore this cc and try
19438     # searching again.
19439 
19440     # Remove the path to the fake ccache cc from the PATH
19441     RETRY_COMPILER_SAVED_PATH="$PATH"
19442     COMPILER_DIRNAME=`$DIRNAME $CC`
19443     PATH="`$ECHO $PATH | $SED -e "s,$COMPILER_DIRNAME,,g" -e "s,::,:,g" -e "s,^:,,g"`"
19444 
19445     # Try again looking for our compiler
19446     if test -n "$ac_tool_prefix"; then
19447   for ac_prog in $COMPILER_CHECK_LIST
19448   do
19449     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19452 $as_echo_n "checking for $ac_word... " >&6; }
19453 if test "${ac_cv_prog_PROPER_COMPILER_CC+set}" = set; then :
19454   $as_echo_n "(cached) " >&6
19455 else
19456   if test -n "$PROPER_COMPILER_CC"; then
19457   ac_cv_prog_PROPER_COMPILER_CC="$PROPER_COMPILER_CC" # Let the user override the test.
19458 else
19459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19460 for as_dir in $PATH
19461 do
19462   IFS=$as_save_IFS
19463   test -z "$as_dir" && as_dir=.
19464     for ac_exec_ext in '' $ac_executable_extensions; do
19465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19466     ac_cv_prog_PROPER_COMPILER_CC="$ac_tool_prefix$ac_prog"
19467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19468     break 2
19469   fi
19470 done
19471   done
19472 IFS=$as_save_IFS
19473 


19477 if test -n "$PROPER_COMPILER_CC"; then
19478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROPER_COMPILER_CC" >&5
19479 $as_echo "$PROPER_COMPILER_CC" >&6; }
19480 else
19481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19482 $as_echo "no" >&6; }
19483 fi
19484 
19485 
19486     test -n "$PROPER_COMPILER_CC" && break
19487   done
19488 fi
19489 if test -z "$PROPER_COMPILER_CC"; then
19490   ac_ct_PROPER_COMPILER_CC=$PROPER_COMPILER_CC
19491   for ac_prog in $COMPILER_CHECK_LIST
19492 do
19493   # Extract the first word of "$ac_prog", so it can be a program name with args.
19494 set dummy $ac_prog; ac_word=$2
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19496 $as_echo_n "checking for $ac_word... " >&6; }
19497 if test "${ac_cv_prog_ac_ct_PROPER_COMPILER_CC+set}" = set; then :
19498   $as_echo_n "(cached) " >&6
19499 else
19500   if test -n "$ac_ct_PROPER_COMPILER_CC"; then
19501   ac_cv_prog_ac_ct_PROPER_COMPILER_CC="$ac_ct_PROPER_COMPILER_CC" # Let the user override the test.
19502 else
19503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19504 for as_dir in $PATH
19505 do
19506   IFS=$as_save_IFS
19507   test -z "$as_dir" && as_dir=.
19508     for ac_exec_ext in '' $ac_executable_extensions; do
19509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19510     ac_cv_prog_ac_ct_PROPER_COMPILER_CC="$ac_prog"
19511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19512     break 2
19513   fi
19514 done
19515   done
19516 IFS=$as_save_IFS
19517 


19927   # This sets CC_VENDOR or CXX_VENDOR. (This comment is a grep marker)
19928   CC_VENDOR="$COMPILER_VENDOR"
19929 
19930   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&5
19931 $as_echo "$as_me: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&6;}
19932 
19933 
19934 # Now that we have resolved CC ourself, let autoconf have its go at it
19935 ac_ext=c
19936 ac_cpp='$CPP $CPPFLAGS'
19937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19940 if test -n "$ac_tool_prefix"; then
19941   for ac_prog in $CC
19942   do
19943     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19946 $as_echo_n "checking for $ac_word... " >&6; }
19947 if test "${ac_cv_prog_CC+set}" = set; then :
19948   $as_echo_n "(cached) " >&6
19949 else
19950   if test -n "$CC"; then
19951   ac_cv_prog_CC="$CC" # Let the user override the test.
19952 else
19953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19954 for as_dir in $PATH
19955 do
19956   IFS=$as_save_IFS
19957   test -z "$as_dir" && as_dir=.
19958     for ac_exec_ext in '' $ac_executable_extensions; do
19959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19960     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19962     break 2
19963   fi
19964 done
19965   done
19966 IFS=$as_save_IFS
19967 


19971 if test -n "$CC"; then
19972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19973 $as_echo "$CC" >&6; }
19974 else
19975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19976 $as_echo "no" >&6; }
19977 fi
19978 
19979 
19980     test -n "$CC" && break
19981   done
19982 fi
19983 if test -z "$CC"; then
19984   ac_ct_CC=$CC
19985   for ac_prog in $CC
19986 do
19987   # Extract the first word of "$ac_prog", so it can be a program name with args.
19988 set dummy $ac_prog; ac_word=$2
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19990 $as_echo_n "checking for $ac_word... " >&6; }
19991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
19992   $as_echo_n "(cached) " >&6
19993 else
19994   if test -n "$ac_ct_CC"; then
19995   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19996 else
19997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19998 for as_dir in $PATH
19999 do
20000   IFS=$as_save_IFS
20001   test -z "$as_dir" && as_dir=.
20002     for ac_exec_ext in '' $ac_executable_extensions; do
20003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20004     ac_cv_prog_ac_ct_CC="$ac_prog"
20005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20006     break 2
20007   fi
20008 done
20009   done
20010 IFS=$as_save_IFS
20011 


20024   test -n "$ac_ct_CC" && break
20025 done
20026 
20027   if test "x$ac_ct_CC" = x; then
20028     CC=""
20029   else
20030     case $cross_compiling:$ac_tool_warned in
20031 yes:)
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20034 ac_tool_warned=yes ;;
20035 esac
20036     CC=$ac_ct_CC
20037   fi
20038 fi
20039 
20040 
20041 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20043 as_fn_error $? "no acceptable C compiler found in \$PATH
20044 See \`config.log' for more details" "$LINENO" 5 ; }
20045 
20046 # Provide some information about the compiler.
20047 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
20048 set X $ac_compile
20049 ac_compiler=$2
20050 for ac_option in --version -v -V -qversion; do
20051   { { ac_try="$ac_compiler $ac_option >&5"
20052 case "(($ac_try" in
20053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054   *) ac_try_echo=$ac_try;;
20055 esac
20056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20057 $as_echo "$ac_try_echo"; } >&5
20058   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
20059   ac_status=$?
20060   if test -s conftest.err; then
20061     sed '10a\
20062 ... rest of stderr output deleted ...
20063          10q' conftest.err >conftest.er1
20064     cat conftest.er1 >&5


20139         # actually working.
20140         break;;
20141     * )
20142         break;;
20143   esac
20144 done
20145 test "$ac_cv_exeext" = no && ac_cv_exeext=
20146 
20147 else
20148   ac_file=''
20149 fi
20150 if test -z "$ac_file"; then :
20151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20152 $as_echo "no" >&6; }
20153 $as_echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20155 
20156 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20158 as_fn_error 77 "C compiler cannot create executables
20159 See \`config.log' for more details" "$LINENO" 5 ; }
20160 else
20161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20162 $as_echo "yes" >&6; }
20163 fi
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
20165 $as_echo_n "checking for C compiler default output file name... " >&6; }
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
20167 $as_echo "$ac_file" >&6; }
20168 ac_exeext=$ac_cv_exeext
20169 
20170 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
20171 ac_clean_files=$ac_clean_files_save
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
20173 $as_echo_n "checking for suffix of executables... " >&6; }
20174 if { { ac_try="$ac_link"
20175 case "(($ac_try" in
20176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177   *) ac_try_echo=$ac_try;;
20178 esac
20179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""


20182   ac_status=$?
20183   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20184   test $ac_status = 0; }; then :
20185   # If both `conftest.exe' and `conftest' are `present' (well, observable)
20186 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
20187 # work properly (i.e., refer to `conftest.exe'), while it won't with
20188 # `rm'.
20189 for ac_file in conftest.exe conftest conftest.*; do
20190   test -f "$ac_file" || continue
20191   case $ac_file in
20192     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
20193     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20194           break;;
20195     * ) break;;
20196   esac
20197 done
20198 else
20199   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20201 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
20202 See \`config.log' for more details" "$LINENO" 5 ; }
20203 fi
20204 rm -f conftest conftest$ac_cv_exeext
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
20206 $as_echo "$ac_cv_exeext" >&6; }
20207 
20208 rm -f conftest.$ac_ext
20209 EXEEXT=$ac_cv_exeext
20210 ac_exeext=$EXEEXT
20211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212 /* end confdefs.h.  */
20213 #include <stdio.h>
20214 int
20215 main ()
20216 {
20217 FILE *f = fopen ("conftest.out", "w");
20218  return ferror (f) || fclose (f) != 0;
20219 
20220   ;
20221   return 0;
20222 }


20241   if { ac_try='./conftest$ac_cv_exeext'
20242   { { case "(($ac_try" in
20243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20244   *) ac_try_echo=$ac_try;;
20245 esac
20246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20247 $as_echo "$ac_try_echo"; } >&5
20248   (eval "$ac_try") 2>&5
20249   ac_status=$?
20250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20251   test $ac_status = 0; }; }; then
20252     cross_compiling=no
20253   else
20254     if test "$cross_compiling" = maybe; then
20255         cross_compiling=yes
20256     else
20257         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259 as_fn_error $? "cannot run C compiled programs.
20260 If you meant to cross compile, use \`--host'.
20261 See \`config.log' for more details" "$LINENO" 5 ; }
20262     fi
20263   fi
20264 fi
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
20266 $as_echo "$cross_compiling" >&6; }
20267 
20268 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
20269 ac_clean_files=$ac_clean_files_save
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
20271 $as_echo_n "checking for suffix of object files... " >&6; }
20272 if test "${ac_cv_objext+set}" = set; then :
20273   $as_echo_n "(cached) " >&6
20274 else
20275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h.  */
20277 
20278 int
20279 main ()
20280 {
20281 
20282   ;
20283   return 0;
20284 }
20285 _ACEOF
20286 rm -f conftest.o conftest.obj
20287 if { { ac_try="$ac_compile"
20288 case "(($ac_try" in
20289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20290   *) ac_try_echo=$ac_try;;
20291 esac
20292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20293 $as_echo "$ac_try_echo"; } >&5
20294   (eval "$ac_compile") 2>&5
20295   ac_status=$?
20296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20297   test $ac_status = 0; }; then :
20298   for ac_file in conftest.o conftest.obj conftest.*; do
20299   test -f "$ac_file" || continue;
20300   case $ac_file in
20301     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
20302     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
20303        break;;
20304   esac
20305 done
20306 else
20307   $as_echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309 
20310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20312 as_fn_error $? "cannot compute suffix of object files: cannot compile
20313 See \`config.log' for more details" "$LINENO" 5 ; }
20314 fi
20315 rm -f conftest.$ac_cv_objext conftest.$ac_ext
20316 fi
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
20318 $as_echo "$ac_cv_objext" >&6; }
20319 OBJEXT=$ac_cv_objext
20320 ac_objext=$OBJEXT
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
20322 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
20323 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
20324   $as_echo_n "(cached) " >&6
20325 else
20326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h.  */
20328 
20329 int
20330 main ()
20331 {
20332 #ifndef __GNUC__
20333        choke me
20334 #endif
20335 
20336   ;
20337   return 0;
20338 }
20339 _ACEOF
20340 if ac_fn_c_try_compile "$LINENO"; then :
20341   ac_compiler_gnu=yes
20342 else
20343   ac_compiler_gnu=no
20344 fi
20345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20346 ac_cv_c_compiler_gnu=$ac_compiler_gnu
20347 
20348 fi
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
20350 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
20351 if test $ac_compiler_gnu = yes; then
20352   GCC=yes
20353 else
20354   GCC=
20355 fi
20356 ac_test_CFLAGS=${CFLAGS+set}
20357 ac_save_CFLAGS=$CFLAGS
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
20359 $as_echo_n "checking whether $CC accepts -g... " >&6; }
20360 if test "${ac_cv_prog_cc_g+set}" = set; then :
20361   $as_echo_n "(cached) " >&6
20362 else
20363   ac_save_c_werror_flag=$ac_c_werror_flag
20364    ac_c_werror_flag=yes
20365    ac_cv_prog_cc_g=no
20366    CFLAGS="-g"
20367    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h.  */
20369 
20370 int
20371 main ()
20372 {
20373 
20374   ;
20375   return 0;
20376 }
20377 _ACEOF
20378 if ac_fn_c_try_compile "$LINENO"; then :
20379   ac_cv_prog_cc_g=yes
20380 else


20418 fi
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
20420 $as_echo "$ac_cv_prog_cc_g" >&6; }
20421 if test "$ac_test_CFLAGS" = set; then
20422   CFLAGS=$ac_save_CFLAGS
20423 elif test $ac_cv_prog_cc_g = yes; then
20424   if test "$GCC" = yes; then
20425     CFLAGS="-g -O2"
20426   else
20427     CFLAGS="-g"
20428   fi
20429 else
20430   if test "$GCC" = yes; then
20431     CFLAGS="-O2"
20432   else
20433     CFLAGS=
20434   fi
20435 fi
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
20437 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20438 if test "${ac_cv_prog_cc_c89+set}" = set; then :
20439   $as_echo_n "(cached) " >&6
20440 else
20441   ac_cv_prog_cc_c89=no
20442 ac_save_CC=$CC
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h.  */
20445 #include <stdarg.h>
20446 #include <stdio.h>
20447 #include <sys/types.h>
20448 #include <sys/stat.h>
20449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
20450 struct buf { int x; };
20451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20452 static char *e (p, i)
20453      char **p;
20454      int i;
20455 {
20456   return p[i];
20457 }
20458 static char *f (char * (*g) (char **, int), char **p, ...)


20541   COMPILER_CHECK_LIST="CC g++"
20542 else
20543   COMPILER_CHECK_LIST="g++ CC"
20544 fi
20545 
20546 
20547   COMPILER_NAME=C++
20548 
20549   CXX=
20550   # If TOOLS_DIR is set, check for all compiler names in there first
20551   # before checking the rest of the PATH.
20552   if test -n "$TOOLS_DIR"; then
20553     PATH_save="$PATH"
20554     PATH="$TOOLS_DIR"
20555     for ac_prog in $COMPILER_CHECK_LIST
20556 do
20557   # Extract the first word of "$ac_prog", so it can be a program name with args.
20558 set dummy $ac_prog; ac_word=$2
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20560 $as_echo_n "checking for $ac_word... " >&6; }
20561 if test "${ac_cv_path_TOOLS_DIR_CXX+set}" = set; then :
20562   $as_echo_n "(cached) " >&6
20563 else
20564   case $TOOLS_DIR_CXX in
20565   [\\/]* | ?:[\\/]*)
20566   ac_cv_path_TOOLS_DIR_CXX="$TOOLS_DIR_CXX" # Let the user override the test with a path.
20567   ;;
20568   *)
20569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20570 for as_dir in $PATH
20571 do
20572   IFS=$as_save_IFS
20573   test -z "$as_dir" && as_dir=.
20574     for ac_exec_ext in '' $ac_executable_extensions; do
20575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20576     ac_cv_path_TOOLS_DIR_CXX="$as_dir/$ac_word$ac_exec_ext"
20577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20578     break 2
20579   fi
20580 done
20581   done


20593 $as_echo "no" >&6; }
20594 fi
20595 
20596 
20597   test -n "$TOOLS_DIR_CXX" && break
20598 done
20599 
20600     CXX=$TOOLS_DIR_CXX
20601     PATH="$PATH_save"
20602   fi
20603 
20604   # AC_PATH_PROGS can't be run multiple times with the same variable,
20605   # so create a new name for this run.
20606   if test "x$CXX" = x; then
20607     for ac_prog in $COMPILER_CHECK_LIST
20608 do
20609   # Extract the first word of "$ac_prog", so it can be a program name with args.
20610 set dummy $ac_prog; ac_word=$2
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20612 $as_echo_n "checking for $ac_word... " >&6; }
20613 if test "${ac_cv_path_POTENTIAL_CXX+set}" = set; then :
20614   $as_echo_n "(cached) " >&6
20615 else
20616   case $POTENTIAL_CXX in
20617   [\\/]* | ?:[\\/]*)
20618   ac_cv_path_POTENTIAL_CXX="$POTENTIAL_CXX" # Let the user override the test with a path.
20619   ;;
20620   *)
20621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20622 for as_dir in $PATH
20623 do
20624   IFS=$as_save_IFS
20625   test -z "$as_dir" && as_dir=.
20626     for ac_exec_ext in '' $ac_executable_extensions; do
20627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20628     ac_cv_path_POTENTIAL_CXX="$as_dir/$ac_word$ac_exec_ext"
20629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20630     break 2
20631   fi
20632 done
20633   done


21006   if test "x$COMPILER_BASENAME" = "xccache"; then
21007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, trying to find proper $COMPILER_NAME compiler" >&5
21008 $as_echo "yes, trying to find proper $COMPILER_NAME compiler" >&6; }
21009     # We /usr/lib/ccache in the path, so cc is a symlink to /usr/bin/ccache.
21010     # We want to control ccache invocation ourselves, so ignore this cc and try
21011     # searching again.
21012 
21013     # Remove the path to the fake ccache cc from the PATH
21014     RETRY_COMPILER_SAVED_PATH="$PATH"
21015     COMPILER_DIRNAME=`$DIRNAME $CXX`
21016     PATH="`$ECHO $PATH | $SED -e "s,$COMPILER_DIRNAME,,g" -e "s,::,:,g" -e "s,^:,,g"`"
21017 
21018     # Try again looking for our compiler
21019     if test -n "$ac_tool_prefix"; then
21020   for ac_prog in $COMPILER_CHECK_LIST
21021   do
21022     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21025 $as_echo_n "checking for $ac_word... " >&6; }
21026 if test "${ac_cv_prog_PROPER_COMPILER_CXX+set}" = set; then :
21027   $as_echo_n "(cached) " >&6
21028 else
21029   if test -n "$PROPER_COMPILER_CXX"; then
21030   ac_cv_prog_PROPER_COMPILER_CXX="$PROPER_COMPILER_CXX" # Let the user override the test.
21031 else
21032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21033 for as_dir in $PATH
21034 do
21035   IFS=$as_save_IFS
21036   test -z "$as_dir" && as_dir=.
21037     for ac_exec_ext in '' $ac_executable_extensions; do
21038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21039     ac_cv_prog_PROPER_COMPILER_CXX="$ac_tool_prefix$ac_prog"
21040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21041     break 2
21042   fi
21043 done
21044   done
21045 IFS=$as_save_IFS
21046 


21050 if test -n "$PROPER_COMPILER_CXX"; then
21051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROPER_COMPILER_CXX" >&5
21052 $as_echo "$PROPER_COMPILER_CXX" >&6; }
21053 else
21054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21055 $as_echo "no" >&6; }
21056 fi
21057 
21058 
21059     test -n "$PROPER_COMPILER_CXX" && break
21060   done
21061 fi
21062 if test -z "$PROPER_COMPILER_CXX"; then
21063   ac_ct_PROPER_COMPILER_CXX=$PROPER_COMPILER_CXX
21064   for ac_prog in $COMPILER_CHECK_LIST
21065 do
21066   # Extract the first word of "$ac_prog", so it can be a program name with args.
21067 set dummy $ac_prog; ac_word=$2
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21069 $as_echo_n "checking for $ac_word... " >&6; }
21070 if test "${ac_cv_prog_ac_ct_PROPER_COMPILER_CXX+set}" = set; then :
21071   $as_echo_n "(cached) " >&6
21072 else
21073   if test -n "$ac_ct_PROPER_COMPILER_CXX"; then
21074   ac_cv_prog_ac_ct_PROPER_COMPILER_CXX="$ac_ct_PROPER_COMPILER_CXX" # Let the user override the test.
21075 else
21076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21077 for as_dir in $PATH
21078 do
21079   IFS=$as_save_IFS
21080   test -z "$as_dir" && as_dir=.
21081     for ac_exec_ext in '' $ac_executable_extensions; do
21082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21083     ac_cv_prog_ac_ct_PROPER_COMPILER_CXX="$ac_prog"
21084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21085     break 2
21086   fi
21087 done
21088   done
21089 IFS=$as_save_IFS
21090 


21504 $as_echo "$as_me: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&6;}
21505 
21506 
21507 # Now that we have resolved CXX ourself, let autoconf have its go at it
21508 ac_ext=cpp
21509 ac_cpp='$CXXCPP $CPPFLAGS'
21510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21513 if test -z "$CXX"; then
21514   if test -n "$CCC"; then
21515     CXX=$CCC
21516   else
21517     if test -n "$ac_tool_prefix"; then
21518   for ac_prog in $CXX
21519   do
21520     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21523 $as_echo_n "checking for $ac_word... " >&6; }
21524 if test "${ac_cv_prog_CXX+set}" = set; then :
21525   $as_echo_n "(cached) " >&6
21526 else
21527   if test -n "$CXX"; then
21528   ac_cv_prog_CXX="$CXX" # Let the user override the test.
21529 else
21530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21531 for as_dir in $PATH
21532 do
21533   IFS=$as_save_IFS
21534   test -z "$as_dir" && as_dir=.
21535     for ac_exec_ext in '' $ac_executable_extensions; do
21536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21537     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
21538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21539     break 2
21540   fi
21541 done
21542   done
21543 IFS=$as_save_IFS
21544 


21548 if test -n "$CXX"; then
21549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
21550 $as_echo "$CXX" >&6; }
21551 else
21552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21553 $as_echo "no" >&6; }
21554 fi
21555 
21556 
21557     test -n "$CXX" && break
21558   done
21559 fi
21560 if test -z "$CXX"; then
21561   ac_ct_CXX=$CXX
21562   for ac_prog in $CXX
21563 do
21564   # Extract the first word of "$ac_prog", so it can be a program name with args.
21565 set dummy $ac_prog; ac_word=$2
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21567 $as_echo_n "checking for $ac_word... " >&6; }
21568 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
21569   $as_echo_n "(cached) " >&6
21570 else
21571   if test -n "$ac_ct_CXX"; then
21572   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
21573 else
21574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21575 for as_dir in $PATH
21576 do
21577   IFS=$as_save_IFS
21578   test -z "$as_dir" && as_dir=.
21579     for ac_exec_ext in '' $ac_executable_extensions; do
21580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21581     ac_cv_prog_ac_ct_CXX="$ac_prog"
21582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21583     break 2
21584   fi
21585 done
21586   done
21587 IFS=$as_save_IFS
21588 


21626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627   *) ac_try_echo=$ac_try;;
21628 esac
21629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21630 $as_echo "$ac_try_echo"; } >&5
21631   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21632   ac_status=$?
21633   if test -s conftest.err; then
21634     sed '10a\
21635 ... rest of stderr output deleted ...
21636          10q' conftest.err >conftest.er1
21637     cat conftest.er1 >&5
21638   fi
21639   rm -f conftest.er1 conftest.err
21640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21641   test $ac_status = 0; }
21642 done
21643 
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
21645 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
21646 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
21647   $as_echo_n "(cached) " >&6
21648 else
21649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21650 /* end confdefs.h.  */
21651 
21652 int
21653 main ()
21654 {
21655 #ifndef __GNUC__
21656        choke me
21657 #endif
21658 
21659   ;
21660   return 0;
21661 }
21662 _ACEOF
21663 if ac_fn_cxx_try_compile "$LINENO"; then :
21664   ac_compiler_gnu=yes
21665 else
21666   ac_compiler_gnu=no
21667 fi
21668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21669 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
21670 
21671 fi
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
21673 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
21674 if test $ac_compiler_gnu = yes; then
21675   GXX=yes
21676 else
21677   GXX=
21678 fi
21679 ac_test_CXXFLAGS=${CXXFLAGS+set}
21680 ac_save_CXXFLAGS=$CXXFLAGS
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
21682 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
21683 if test "${ac_cv_prog_cxx_g+set}" = set; then :
21684   $as_echo_n "(cached) " >&6
21685 else
21686   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21687    ac_cxx_werror_flag=yes
21688    ac_cv_prog_cxx_g=no
21689    CXXFLAGS="-g"
21690    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h.  */
21692 
21693 int
21694 main ()
21695 {
21696 
21697   ;
21698   return 0;
21699 }
21700 _ACEOF
21701 if ac_fn_cxx_try_compile "$LINENO"; then :
21702   ac_cv_prog_cxx_g=yes
21703 else


21761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21764 
21765 
21766 ### Locate other tools
21767 
21768 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
21769     ac_ext=m
21770 ac_cpp='$OBJCPP $CPPFLAGS'
21771 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21772 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21773 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
21774 if test -n "$ac_tool_prefix"; then
21775   for ac_prog in gcc objcc objc cc CC
21776   do
21777     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21778 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21780 $as_echo_n "checking for $ac_word... " >&6; }
21781 if test "${ac_cv_prog_OBJC+set}" = set; then :
21782   $as_echo_n "(cached) " >&6
21783 else
21784   if test -n "$OBJC"; then
21785   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21786 else
21787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21788 for as_dir in $PATH
21789 do
21790   IFS=$as_save_IFS
21791   test -z "$as_dir" && as_dir=.
21792     for ac_exec_ext in '' $ac_executable_extensions; do
21793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21794     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21796     break 2
21797   fi
21798 done
21799   done
21800 IFS=$as_save_IFS
21801 


21805 if test -n "$OBJC"; then
21806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21807 $as_echo "$OBJC" >&6; }
21808 else
21809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21810 $as_echo "no" >&6; }
21811 fi
21812 
21813 
21814     test -n "$OBJC" && break
21815   done
21816 fi
21817 if test -z "$OBJC"; then
21818   ac_ct_OBJC=$OBJC
21819   for ac_prog in gcc objcc objc cc CC
21820 do
21821   # Extract the first word of "$ac_prog", so it can be a program name with args.
21822 set dummy $ac_prog; ac_word=$2
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21824 $as_echo_n "checking for $ac_word... " >&6; }
21825 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
21826   $as_echo_n "(cached) " >&6
21827 else
21828   if test -n "$ac_ct_OBJC"; then
21829   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21830 else
21831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21832 for as_dir in $PATH
21833 do
21834   IFS=$as_save_IFS
21835   test -z "$as_dir" && as_dir=.
21836     for ac_exec_ext in '' $ac_executable_extensions; do
21837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21838     ac_cv_prog_ac_ct_OBJC="$ac_prog"
21839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21840     break 2
21841   fi
21842 done
21843   done
21844 IFS=$as_save_IFS
21845 


21881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21882   *) ac_try_echo=$ac_try;;
21883 esac
21884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21885 $as_echo "$ac_try_echo"; } >&5
21886   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21887   ac_status=$?
21888   if test -s conftest.err; then
21889     sed '10a\
21890 ... rest of stderr output deleted ...
21891          10q' conftest.err >conftest.er1
21892     cat conftest.er1 >&5
21893   fi
21894   rm -f conftest.er1 conftest.err
21895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21896   test $ac_status = 0; }
21897 done
21898 
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
21900 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
21901 if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
21902   $as_echo_n "(cached) " >&6
21903 else
21904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21905 /* end confdefs.h.  */
21906 
21907 int
21908 main ()
21909 {
21910 #ifndef __GNUC__
21911        choke me
21912 #endif
21913 
21914   ;
21915   return 0;
21916 }
21917 _ACEOF
21918 if ac_fn_objc_try_compile "$LINENO"; then :
21919   ac_compiler_gnu=yes
21920 else
21921   ac_compiler_gnu=no
21922 fi
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
21925 
21926 fi
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
21928 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
21929 if test $ac_compiler_gnu = yes; then
21930   GOBJC=yes
21931 else
21932   GOBJC=
21933 fi
21934 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
21935 ac_save_OBJCFLAGS=$OBJCFLAGS
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
21937 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
21938 if test "${ac_cv_prog_objc_g+set}" = set; then :
21939   $as_echo_n "(cached) " >&6
21940 else
21941   ac_save_objc_werror_flag=$ac_objc_werror_flag
21942    ac_objc_werror_flag=yes
21943    ac_cv_prog_objc_g=no
21944    OBJCFLAGS="-g"
21945    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21946 /* end confdefs.h.  */
21947 
21948 int
21949 main ()
21950 {
21951 
21952   ;
21953   return 0;
21954 }
21955 _ACEOF
21956 if ac_fn_objc_try_compile "$LINENO"; then :
21957   ac_cv_prog_objc_g=yes
21958 else


22294 OBJCFLAGS="$ORG_OBJCFLAGS"
22295 
22296 LD="$CC"
22297 LDEXE="$CC"
22298 LDCXX="$CXX"
22299 LDEXECXX="$CXX"
22300 
22301 # LDEXE is the linker to use, when creating executables.
22302 
22303 # Linking C++ libraries.
22304 
22305 # Linking C++ executables.
22306 
22307 
22308 if test "x$OPENJDK_TARGET_OS" != xwindows; then
22309     if test -n "$ac_tool_prefix"; then
22310   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
22311 set dummy ${ac_tool_prefix}ar; ac_word=$2
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22313 $as_echo_n "checking for $ac_word... " >&6; }
22314 if test "${ac_cv_prog_AR+set}" = set; then :
22315   $as_echo_n "(cached) " >&6
22316 else
22317   if test -n "$AR"; then
22318   ac_cv_prog_AR="$AR" # Let the user override the test.
22319 else
22320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22321 for as_dir in $PATH
22322 do
22323   IFS=$as_save_IFS
22324   test -z "$as_dir" && as_dir=.
22325     for ac_exec_ext in '' $ac_executable_extensions; do
22326   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22327     ac_cv_prog_AR="${ac_tool_prefix}ar"
22328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22329     break 2
22330   fi
22331 done
22332   done
22333 IFS=$as_save_IFS
22334 
22335 fi
22336 fi
22337 AR=$ac_cv_prog_AR
22338 if test -n "$AR"; then
22339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
22340 $as_echo "$AR" >&6; }
22341 else
22342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22343 $as_echo "no" >&6; }
22344 fi
22345 
22346 
22347 fi
22348 if test -z "$ac_cv_prog_AR"; then
22349   ac_ct_AR=$AR
22350   # Extract the first word of "ar", so it can be a program name with args.
22351 set dummy ar; ac_word=$2
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22353 $as_echo_n "checking for $ac_word... " >&6; }
22354 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
22355   $as_echo_n "(cached) " >&6
22356 else
22357   if test -n "$ac_ct_AR"; then
22358   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
22359 else
22360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22361 for as_dir in $PATH
22362 do
22363   IFS=$as_save_IFS
22364   test -z "$as_dir" && as_dir=.
22365     for ac_exec_ext in '' $ac_executable_extensions; do
22366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22367     ac_cv_prog_ac_ct_AR="ar"
22368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22369     break 2
22370   fi
22371 done
22372   done
22373 IFS=$as_save_IFS
22374 


22676 HOTSPOT_CXX="$CXX"
22677 HOTSPOT_LD="$LD"
22678 
22679 
22680 
22681 COMPILER_NAME=gcc
22682 COMPILER_TYPE=CC
22683 if test "x$OPENJDK_TARGET_OS" = xwindows; then :
22684 
22685     # For now, assume that we are always compiling using cl.exe.
22686     CC_OUT_OPTION=-Fo
22687     EXE_OUT_OPTION=-out:
22688     LD_OUT_OPTION=-out:
22689     AR_OUT_OPTION=-out:
22690     # On Windows, reject /usr/bin/link (as determined in CYGWIN_LINK), which is a cygwin
22691     # program for something completely different.
22692     # Extract the first word of "link", so it can be a program name with args.
22693 set dummy link; ac_word=$2
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22695 $as_echo_n "checking for $ac_word... " >&6; }
22696 if test "${ac_cv_prog_WINLD+set}" = set; then :
22697   $as_echo_n "(cached) " >&6
22698 else
22699   if test -n "$WINLD"; then
22700   ac_cv_prog_WINLD="$WINLD" # Let the user override the test.
22701 else
22702   ac_prog_rejected=no
22703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22704 for as_dir in $PATH
22705 do
22706   IFS=$as_save_IFS
22707   test -z "$as_dir" && as_dir=.
22708     for ac_exec_ext in '' $ac_executable_extensions; do
22709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22710     if test "$as_dir/$ac_word$ac_exec_ext" = "$CYGWIN_LINK"; then
22711        ac_prog_rejected=yes
22712        continue
22713      fi
22714     ac_cv_prog_WINLD="link"
22715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22716     break 2


23015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the found link.exe is actually the Visual Studio linker" >&5
23016 $as_echo_n "checking if the found link.exe is actually the Visual Studio linker... " >&6; }
23017     "$WINLD" --version > /dev/null
23018     if test $? -eq 0 ; then
23019       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23020 $as_echo "no" >&6; }
23021       as_fn_error $? "This is the Cygwin link tool. Please check your PATH and rerun configure." "$LINENO" 5
23022     else
23023       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23024 $as_echo "yes" >&6; }
23025     fi
23026     LD="$WINLD"
23027     LDEXE="$WINLD"
23028     LDCXX="$WINLD"
23029     LDEXECXX="$WINLD"
23030 
23031     # Extract the first word of "mt", so it can be a program name with args.
23032 set dummy mt; ac_word=$2
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23034 $as_echo_n "checking for $ac_word... " >&6; }
23035 if test "${ac_cv_prog_MT+set}" = set; then :
23036   $as_echo_n "(cached) " >&6
23037 else
23038   if test -n "$MT"; then
23039   ac_cv_prog_MT="$MT" # Let the user override the test.
23040 else
23041   ac_prog_rejected=no
23042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23043 for as_dir in $PATH
23044 do
23045   IFS=$as_save_IFS
23046   test -z "$as_dir" && as_dir=.
23047     for ac_exec_ext in '' $ac_executable_extensions; do
23048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23049     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/bin/mt"; then
23050        ac_prog_rejected=yes
23051        continue
23052      fi
23053     ac_cv_prog_MT="mt"
23054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23055     break 2


23336   fi
23337 
23338       # Now join together the path and the arguments once again
23339       if test "x$arguments" != xEOL; then
23340         new_complete="$new_path ${arguments% *}"
23341       else
23342         new_complete="$new_path"
23343       fi
23344 
23345   if test "x$complete" != "x$new_complete"; then
23346       MT="$new_complete"
23347       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting MT to \"$new_complete\"" >&5
23348 $as_echo "$as_me: Rewriting MT to \"$new_complete\"" >&6;}
23349     fi
23350 
23351     # The resource compiler
23352     # Extract the first word of "rc", so it can be a program name with args.
23353 set dummy rc; ac_word=$2
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23355 $as_echo_n "checking for $ac_word... " >&6; }
23356 if test "${ac_cv_prog_RC+set}" = set; then :
23357   $as_echo_n "(cached) " >&6
23358 else
23359   if test -n "$RC"; then
23360   ac_cv_prog_RC="$RC" # Let the user override the test.
23361 else
23362   ac_prog_rejected=no
23363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23364 for as_dir in $PATH
23365 do
23366   IFS=$as_save_IFS
23367   test -z "$as_dir" && as_dir=.
23368     for ac_exec_ext in '' $ac_executable_extensions; do
23369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23370     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/bin/rc"; then
23371        ac_prog_rejected=yes
23372        continue
23373      fi
23374     ac_cv_prog_RC="rc"
23375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23376     break 2


23727 fi
23728     JDK_UPDATE_VERSION_NOTNULL=$JDK_UPDATE_VERSION
23729     if test "x$JDK_UPDATE_VERSION" = x; then :
23730 
23731         JDK_UPDATE_VERSION_NOTNULL=0
23732 
23733 fi
23734     RC_FLAGS="$RC_FLAGS -d \"JDK_BUILD_ID=$FULL_VERSION\""
23735     RC_FLAGS="$RC_FLAGS -d \"JDK_COMPANY=$COMPANY_NAME\""
23736     RC_FLAGS="$RC_FLAGS -d \"JDK_COMPONENT=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME binary\""
23737     RC_FLAGS="$RC_FLAGS -d \"JDK_VER=$JDK_MINOR_VERSION.$JDK_MICRO_VERSION.$JDK_UPDATE_VERSION_NOTNULL.$COOKED_BUILD_NUMBER\""
23738     RC_FLAGS="$RC_FLAGS -d \"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\""
23739     RC_FLAGS="$RC_FLAGS -d \"JDK_NAME=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME $JDK_MINOR_VERSION $JDK_UPDATE_META_TAG\""
23740     RC_FLAGS="$RC_FLAGS -d \"JDK_FVER=$JDK_MINOR_VERSION,$JDK_MICRO_VERSION,$JDK_UPDATE_VERSION_NOTNULL,$COOKED_BUILD_NUMBER\""
23741 
23742     # lib.exe is used to create static libraries.
23743     # Extract the first word of "lib", so it can be a program name with args.
23744 set dummy lib; ac_word=$2
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23746 $as_echo_n "checking for $ac_word... " >&6; }
23747 if test "${ac_cv_prog_WINAR+set}" = set; then :
23748   $as_echo_n "(cached) " >&6
23749 else
23750   if test -n "$WINAR"; then
23751   ac_cv_prog_WINAR="$WINAR" # Let the user override the test.
23752 else
23753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23754 for as_dir in $PATH
23755 do
23756   IFS=$as_save_IFS
23757   test -z "$as_dir" && as_dir=.
23758     for ac_exec_ext in '' $ac_executable_extensions; do
23759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23760     ac_cv_prog_WINAR="lib"
23761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23762     break 2
23763   fi
23764 done
23765   done
23766 IFS=$as_save_IFS
23767 


24033       # Now join together the path and the arguments once again
24034       if test "x$arguments" != xEOL; then
24035         new_complete="$new_path ${arguments% *}"
24036       else
24037         new_complete="$new_path"
24038       fi
24039 
24040   if test "x$complete" != "x$new_complete"; then
24041       WINAR="$new_complete"
24042       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting WINAR to \"$new_complete\"" >&5
24043 $as_echo "$as_me: Rewriting WINAR to \"$new_complete\"" >&6;}
24044     fi
24045 
24046     AR="$WINAR"
24047     ARFLAGS="-nologo -NODEFAULTLIB:MSVCRT"
24048 
24049     # Extract the first word of "dumpbin", so it can be a program name with args.
24050 set dummy dumpbin; ac_word=$2
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24052 $as_echo_n "checking for $ac_word... " >&6; }
24053 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
24054   $as_echo_n "(cached) " >&6
24055 else
24056   if test -n "$DUMPBIN"; then
24057   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
24058 else
24059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24060 for as_dir in $PATH
24061 do
24062   IFS=$as_save_IFS
24063   test -z "$as_dir" && as_dir=.
24064     for ac_exec_ext in '' $ac_executable_extensions; do
24065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24066     ac_cv_prog_DUMPBIN="dumpbin"
24067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24068     break 2
24069   fi
24070 done
24071   done
24072 IFS=$as_save_IFS
24073 


24352 
24353     COMPILER_TYPE=CL
24354     CCXXFLAGS="$CCXXFLAGS -nologo"
24355 
24356 fi
24357 
24358 
24359 
24360 ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
24366 $as_echo_n "checking how to run the C preprocessor... " >&6; }
24367 # On Suns, sometimes $CPP names a directory.
24368 if test -n "$CPP" && test -d "$CPP"; then
24369   CPP=
24370 fi
24371 if test -z "$CPP"; then
24372   if test "${ac_cv_prog_CPP+set}" = set; then :
24373   $as_echo_n "(cached) " >&6
24374 else
24375       # Double quotes because CPP needs to be expanded
24376     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
24377     do
24378       ac_preproc_ok=false
24379 for ac_c_preproc_warn_flag in '' yes
24380 do
24381   # Use a header file that comes with gcc, so configuring glibc
24382   # with a fresh cross-compiler works.
24383   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24384   # <limits.h> exists even on freestanding compilers.
24385   # On the NeXT, cc -E runs the code through the compiler's parser,
24386   # not just through cpp. "Syntax error" is here to catch this case.
24387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h.  */
24389 #ifdef __STDC__
24390 # include <limits.h>
24391 #else
24392 # include <assert.h>


24468 _ACEOF
24469 if ac_fn_c_try_cpp "$LINENO"; then :
24470   # Broken: success on invalid input.
24471 continue
24472 else
24473   # Passes both tests.
24474 ac_preproc_ok=:
24475 break
24476 fi
24477 rm -f conftest.err conftest.i conftest.$ac_ext
24478 
24479 done
24480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
24481 rm -f conftest.i conftest.err conftest.$ac_ext
24482 if $ac_preproc_ok; then :
24483 
24484 else
24485   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24487 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
24488 See \`config.log' for more details" "$LINENO" 5 ; }
24489 fi
24490 
24491 ac_ext=cpp
24492 ac_cpp='$CXXCPP $CPPFLAGS'
24493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24496 
24497 
24498   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
24499 
24500   # First separate the path from the arguments. This will split at the first
24501   # space.
24502   complete="$CPP"
24503   path="${complete%% *}"
24504   tmp="$complete EOL"
24505   arguments="${tmp#* }"
24506 
24507   # Input might be given as Windows format, start by converting to
24508   # unix format.


24752         new_complete="$new_path ${arguments% *}"
24753       else
24754         new_complete="$new_path"
24755       fi
24756 
24757   if test "x$complete" != "x$new_complete"; then
24758       CPP="$new_complete"
24759       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting CPP to \"$new_complete\"" >&5
24760 $as_echo "$as_me: Rewriting CPP to \"$new_complete\"" >&6;}
24761     fi
24762 
24763 
24764 ac_ext=cpp
24765 ac_cpp='$CXXCPP $CPPFLAGS'
24766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
24770 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
24771 if test -z "$CXXCPP"; then
24772   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
24773   $as_echo_n "(cached) " >&6
24774 else
24775       # Double quotes because CXXCPP needs to be expanded
24776     for CXXCPP in "$CXX -E" "/lib/cpp"
24777     do
24778       ac_preproc_ok=false
24779 for ac_cxx_preproc_warn_flag in '' yes
24780 do
24781   # Use a header file that comes with gcc, so configuring glibc
24782   # with a fresh cross-compiler works.
24783   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24784   # <limits.h> exists even on freestanding compilers.
24785   # On the NeXT, cc -E runs the code through the compiler's parser,
24786   # not just through cpp. "Syntax error" is here to catch this case.
24787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24788 /* end confdefs.h.  */
24789 #ifdef __STDC__
24790 # include <limits.h>
24791 #else
24792 # include <assert.h>


24868 _ACEOF
24869 if ac_fn_cxx_try_cpp "$LINENO"; then :
24870   # Broken: success on invalid input.
24871 continue
24872 else
24873   # Passes both tests.
24874 ac_preproc_ok=:
24875 break
24876 fi
24877 rm -f conftest.err conftest.i conftest.$ac_ext
24878 
24879 done
24880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
24881 rm -f conftest.i conftest.err conftest.$ac_ext
24882 if $ac_preproc_ok; then :
24883 
24884 else
24885   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24887 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
24888 See \`config.log' for more details" "$LINENO" 5 ; }
24889 fi
24890 
24891 ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24896 
24897 
24898   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
24899 
24900   # First separate the path from the arguments. This will split at the first
24901   # space.
24902   complete="$CXXCPP"
24903   path="${complete%% *}"
24904   tmp="$complete EOL"
24905   arguments="${tmp#* }"
24906 
24907   # Input might be given as Windows format, start by converting to
24908   # unix format.


25170     BUILD_CXX="$CXX"
25171     BUILD_LD="$LD"
25172 fi
25173 
25174 # for solaris we really need solaris tools, and not gnu equivalent
25175 #   these seems to normally reside in /usr/ccs/bin so add that to path before
25176 #   starting to probe
25177 #
25178 #   NOTE: I add this /usr/ccs/bin after TOOLS but before OLD_PATH
25179 #         so that it can be overriden --with-tools-dir
25180 if test "x$OPENJDK_BUILD_OS" = xsolaris; then
25181     PATH="${TOOLS_DIR}:/usr/ccs/bin:${OLD_PATH}"
25182 fi
25183 
25184 # Find the right assembler.
25185 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
25186     # Extract the first word of "as", so it can be a program name with args.
25187 set dummy as; ac_word=$2
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25189 $as_echo_n "checking for $ac_word... " >&6; }
25190 if test "${ac_cv_path_AS+set}" = set; then :
25191   $as_echo_n "(cached) " >&6
25192 else
25193   case $AS in
25194   [\\/]* | ?:[\\/]*)
25195   ac_cv_path_AS="$AS" # Let the user override the test with a path.
25196   ;;
25197   *)
25198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25199 for as_dir in $PATH
25200 do
25201   IFS=$as_save_IFS
25202   test -z "$as_dir" && as_dir=.
25203     for ac_exec_ext in '' $ac_executable_extensions; do
25204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25205     ac_cv_path_AS="$as_dir/$ac_word$ac_exec_ext"
25206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25207     break 2
25208   fi
25209 done
25210   done


25482       else
25483         new_complete="$new_path"
25484       fi
25485 
25486   if test "x$complete" != "x$new_complete"; then
25487       AS="$new_complete"
25488       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting AS to \"$new_complete\"" >&5
25489 $as_echo "$as_me: Rewriting AS to \"$new_complete\"" >&6;}
25490     fi
25491 
25492 else
25493     AS="$CC -c"
25494 fi
25495 
25496 
25497 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
25498     # Extract the first word of "nm", so it can be a program name with args.
25499 set dummy nm; ac_word=$2
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25501 $as_echo_n "checking for $ac_word... " >&6; }
25502 if test "${ac_cv_path_NM+set}" = set; then :
25503   $as_echo_n "(cached) " >&6
25504 else
25505   case $NM in
25506   [\\/]* | ?:[\\/]*)
25507   ac_cv_path_NM="$NM" # Let the user override the test with a path.
25508   ;;
25509   *)
25510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25511 for as_dir in $PATH
25512 do
25513   IFS=$as_save_IFS
25514   test -z "$as_dir" && as_dir=.
25515     for ac_exec_ext in '' $ac_executable_extensions; do
25516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25517     ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
25518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25519     break 2
25520   fi
25521 done
25522   done


25788       fi
25789   fi
25790 
25791       # Now join together the path and the arguments once again
25792       if test "x$arguments" != xEOL; then
25793         new_complete="$new_path ${arguments% *}"
25794       else
25795         new_complete="$new_path"
25796       fi
25797 
25798   if test "x$complete" != "x$new_complete"; then
25799       NM="$new_complete"
25800       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting NM to \"$new_complete\"" >&5
25801 $as_echo "$as_me: Rewriting NM to \"$new_complete\"" >&6;}
25802     fi
25803 
25804     # Extract the first word of "gnm", so it can be a program name with args.
25805 set dummy gnm; ac_word=$2
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25807 $as_echo_n "checking for $ac_word... " >&6; }
25808 if test "${ac_cv_path_GNM+set}" = set; then :
25809   $as_echo_n "(cached) " >&6
25810 else
25811   case $GNM in
25812   [\\/]* | ?:[\\/]*)
25813   ac_cv_path_GNM="$GNM" # Let the user override the test with a path.
25814   ;;
25815   *)
25816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25817 for as_dir in $PATH
25818 do
25819   IFS=$as_save_IFS
25820   test -z "$as_dir" && as_dir=.
25821     for ac_exec_ext in '' $ac_executable_extensions; do
25822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25823     ac_cv_path_GNM="$as_dir/$ac_word$ac_exec_ext"
25824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25825     break 2
25826   fi
25827 done
25828   done


26094       fi
26095   fi
26096 
26097       # Now join together the path and the arguments once again
26098       if test "x$arguments" != xEOL; then
26099         new_complete="$new_path ${arguments% *}"
26100       else
26101         new_complete="$new_path"
26102       fi
26103 
26104   if test "x$complete" != "x$new_complete"; then
26105       GNM="$new_complete"
26106       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting GNM to \"$new_complete\"" >&5
26107 $as_echo "$as_me: Rewriting GNM to \"$new_complete\"" >&6;}
26108     fi
26109 
26110     # Extract the first word of "strip", so it can be a program name with args.
26111 set dummy strip; ac_word=$2
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26113 $as_echo_n "checking for $ac_word... " >&6; }
26114 if test "${ac_cv_path_STRIP+set}" = set; then :
26115   $as_echo_n "(cached) " >&6
26116 else
26117   case $STRIP in
26118   [\\/]* | ?:[\\/]*)
26119   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
26120   ;;
26121   *)
26122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26123 for as_dir in $PATH
26124 do
26125   IFS=$as_save_IFS
26126   test -z "$as_dir" && as_dir=.
26127     for ac_exec_ext in '' $ac_executable_extensions; do
26128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26129     ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
26130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26131     break 2
26132   fi
26133 done
26134   done


26400       fi
26401   fi
26402 
26403       # Now join together the path and the arguments once again
26404       if test "x$arguments" != xEOL; then
26405         new_complete="$new_path ${arguments% *}"
26406       else
26407         new_complete="$new_path"
26408       fi
26409 
26410   if test "x$complete" != "x$new_complete"; then
26411       STRIP="$new_complete"
26412       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STRIP to \"$new_complete\"" >&5
26413 $as_echo "$as_me: Rewriting STRIP to \"$new_complete\"" >&6;}
26414     fi
26415 
26416     # Extract the first word of "mcs", so it can be a program name with args.
26417 set dummy mcs; ac_word=$2
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26419 $as_echo_n "checking for $ac_word... " >&6; }
26420 if test "${ac_cv_path_MCS+set}" = set; then :
26421   $as_echo_n "(cached) " >&6
26422 else
26423   case $MCS in
26424   [\\/]* | ?:[\\/]*)
26425   ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
26426   ;;
26427   *)
26428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26429 for as_dir in $PATH
26430 do
26431   IFS=$as_save_IFS
26432   test -z "$as_dir" && as_dir=.
26433     for ac_exec_ext in '' $ac_executable_extensions; do
26434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26435     ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
26436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26437     break 2
26438   fi
26439 done
26440   done


26708 
26709       # Now join together the path and the arguments once again
26710       if test "x$arguments" != xEOL; then
26711         new_complete="$new_path ${arguments% *}"
26712       else
26713         new_complete="$new_path"
26714       fi
26715 
26716   if test "x$complete" != "x$new_complete"; then
26717       MCS="$new_complete"
26718       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting MCS to \"$new_complete\"" >&5
26719 $as_echo "$as_me: Rewriting MCS to \"$new_complete\"" >&6;}
26720     fi
26721 
26722 elif test "x$OPENJDK_TARGET_OS" != xwindows; then
26723     if test -n "$ac_tool_prefix"; then
26724   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
26725 set dummy ${ac_tool_prefix}nm; ac_word=$2
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26727 $as_echo_n "checking for $ac_word... " >&6; }
26728 if test "${ac_cv_prog_NM+set}" = set; then :
26729   $as_echo_n "(cached) " >&6
26730 else
26731   if test -n "$NM"; then
26732   ac_cv_prog_NM="$NM" # Let the user override the test.
26733 else
26734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26735 for as_dir in $PATH
26736 do
26737   IFS=$as_save_IFS
26738   test -z "$as_dir" && as_dir=.
26739     for ac_exec_ext in '' $ac_executable_extensions; do
26740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26741     ac_cv_prog_NM="${ac_tool_prefix}nm"
26742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26743     break 2
26744   fi
26745 done
26746   done
26747 IFS=$as_save_IFS
26748 
26749 fi
26750 fi
26751 NM=$ac_cv_prog_NM
26752 if test -n "$NM"; then
26753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
26754 $as_echo "$NM" >&6; }
26755 else
26756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26757 $as_echo "no" >&6; }
26758 fi
26759 
26760 
26761 fi
26762 if test -z "$ac_cv_prog_NM"; then
26763   ac_ct_NM=$NM
26764   # Extract the first word of "nm", so it can be a program name with args.
26765 set dummy nm; ac_word=$2
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26767 $as_echo_n "checking for $ac_word... " >&6; }
26768 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
26769   $as_echo_n "(cached) " >&6
26770 else
26771   if test -n "$ac_ct_NM"; then
26772   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
26773 else
26774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26775 for as_dir in $PATH
26776 do
26777   IFS=$as_save_IFS
26778   test -z "$as_dir" && as_dir=.
26779     for ac_exec_ext in '' $ac_executable_extensions; do
26780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26781     ac_cv_prog_ac_ct_NM="nm"
26782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26783     break 2
26784   fi
26785 done
26786   done
26787 IFS=$as_save_IFS
26788 


27068       # Now join together the path and the arguments once again
27069       if test "x$arguments" != xEOL; then
27070         new_complete="$new_path ${arguments% *}"
27071       else
27072         new_complete="$new_path"
27073       fi
27074 
27075   if test "x$complete" != "x$new_complete"; then
27076       NM="$new_complete"
27077       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting NM to \"$new_complete\"" >&5
27078 $as_echo "$as_me: Rewriting NM to \"$new_complete\"" >&6;}
27079     fi
27080 
27081     GNM="$NM"
27082 
27083     if test -n "$ac_tool_prefix"; then
27084   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
27085 set dummy ${ac_tool_prefix}strip; ac_word=$2
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27087 $as_echo_n "checking for $ac_word... " >&6; }
27088 if test "${ac_cv_prog_STRIP+set}" = set; then :
27089   $as_echo_n "(cached) " >&6
27090 else
27091   if test -n "$STRIP"; then
27092   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
27093 else
27094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27095 for as_dir in $PATH
27096 do
27097   IFS=$as_save_IFS
27098   test -z "$as_dir" && as_dir=.
27099     for ac_exec_ext in '' $ac_executable_extensions; do
27100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27101     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
27102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27103     break 2
27104   fi
27105 done
27106   done
27107 IFS=$as_save_IFS
27108 
27109 fi
27110 fi
27111 STRIP=$ac_cv_prog_STRIP
27112 if test -n "$STRIP"; then
27113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
27114 $as_echo "$STRIP" >&6; }
27115 else
27116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27117 $as_echo "no" >&6; }
27118 fi
27119 
27120 
27121 fi
27122 if test -z "$ac_cv_prog_STRIP"; then
27123   ac_ct_STRIP=$STRIP
27124   # Extract the first word of "strip", so it can be a program name with args.
27125 set dummy strip; ac_word=$2
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27127 $as_echo_n "checking for $ac_word... " >&6; }
27128 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
27129   $as_echo_n "(cached) " >&6
27130 else
27131   if test -n "$ac_ct_STRIP"; then
27132   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
27133 else
27134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27135 for as_dir in $PATH
27136 do
27137   IFS=$as_save_IFS
27138   test -z "$as_dir" && as_dir=.
27139     for ac_exec_ext in '' $ac_executable_extensions; do
27140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27141     ac_cv_prog_ac_ct_STRIP="strip"
27142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27143     break 2
27144   fi
27145 done
27146   done
27147 IFS=$as_save_IFS
27148 


27433       fi
27434 
27435   if test "x$complete" != "x$new_complete"; then
27436       STRIP="$new_complete"
27437       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STRIP to \"$new_complete\"" >&5
27438 $as_echo "$as_me: Rewriting STRIP to \"$new_complete\"" >&6;}
27439     fi
27440 
27441 fi
27442 
27443 # objcopy is used for moving debug symbols to separate files when
27444 # full debug symbols are enabled.
27445 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
27446     if test -n "$ac_tool_prefix"; then
27447   for ac_prog in gobjcopy objcopy
27448   do
27449     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27452 $as_echo_n "checking for $ac_word... " >&6; }
27453 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
27454   $as_echo_n "(cached) " >&6
27455 else
27456   if test -n "$OBJCOPY"; then
27457   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
27458 else
27459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27460 for as_dir in $PATH
27461 do
27462   IFS=$as_save_IFS
27463   test -z "$as_dir" && as_dir=.
27464     for ac_exec_ext in '' $ac_executable_extensions; do
27465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27466     ac_cv_prog_OBJCOPY="$ac_tool_prefix$ac_prog"
27467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27468     break 2
27469   fi
27470 done
27471   done
27472 IFS=$as_save_IFS
27473 


27477 if test -n "$OBJCOPY"; then
27478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
27479 $as_echo "$OBJCOPY" >&6; }
27480 else
27481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27482 $as_echo "no" >&6; }
27483 fi
27484 
27485 
27486     test -n "$OBJCOPY" && break
27487   done
27488 fi
27489 if test -z "$OBJCOPY"; then
27490   ac_ct_OBJCOPY=$OBJCOPY
27491   for ac_prog in gobjcopy objcopy
27492 do
27493   # Extract the first word of "$ac_prog", so it can be a program name with args.
27494 set dummy $ac_prog; ac_word=$2
27495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27496 $as_echo_n "checking for $ac_word... " >&6; }
27497 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
27498   $as_echo_n "(cached) " >&6
27499 else
27500   if test -n "$ac_ct_OBJCOPY"; then
27501   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
27502 else
27503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27504 for as_dir in $PATH
27505 do
27506   IFS=$as_save_IFS
27507   test -z "$as_dir" && as_dir=.
27508     for ac_exec_ext in '' $ac_executable_extensions; do
27509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27510     ac_cv_prog_ac_ct_OBJCOPY="$ac_prog"
27511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27512     break 2
27513   fi
27514 done
27515   done
27516 IFS=$as_save_IFS
27517 


27804       else
27805         new_complete="$new_path"
27806       fi
27807 
27808   if test "x$complete" != "x$new_complete"; then
27809       OBJCOPY="$new_complete"
27810       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting OBJCOPY to \"$new_complete\"" >&5
27811 $as_echo "$as_me: Rewriting OBJCOPY to \"$new_complete\"" >&6;}
27812     fi
27813 
27814     fi
27815 fi
27816 
27817 if test -n "$ac_tool_prefix"; then
27818   for ac_prog in gobjdump objdump
27819   do
27820     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27823 $as_echo_n "checking for $ac_word... " >&6; }
27824 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
27825   $as_echo_n "(cached) " >&6
27826 else
27827   if test -n "$OBJDUMP"; then
27828   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
27829 else
27830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27831 for as_dir in $PATH
27832 do
27833   IFS=$as_save_IFS
27834   test -z "$as_dir" && as_dir=.
27835     for ac_exec_ext in '' $ac_executable_extensions; do
27836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27837     ac_cv_prog_OBJDUMP="$ac_tool_prefix$ac_prog"
27838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27839     break 2
27840   fi
27841 done
27842   done
27843 IFS=$as_save_IFS
27844 


27848 if test -n "$OBJDUMP"; then
27849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
27850 $as_echo "$OBJDUMP" >&6; }
27851 else
27852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27853 $as_echo "no" >&6; }
27854 fi
27855 
27856 
27857     test -n "$OBJDUMP" && break
27858   done
27859 fi
27860 if test -z "$OBJDUMP"; then
27861   ac_ct_OBJDUMP=$OBJDUMP
27862   for ac_prog in gobjdump objdump
27863 do
27864   # Extract the first word of "$ac_prog", so it can be a program name with args.
27865 set dummy $ac_prog; ac_word=$2
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27867 $as_echo_n "checking for $ac_word... " >&6; }
27868 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
27869   $as_echo_n "(cached) " >&6
27870 else
27871   if test -n "$ac_ct_OBJDUMP"; then
27872   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
27873 else
27874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27875 for as_dir in $PATH
27876 do
27877   IFS=$as_save_IFS
27878   test -z "$as_dir" && as_dir=.
27879     for ac_exec_ext in '' $ac_executable_extensions; do
27880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27881     ac_cv_prog_ac_ct_OBJDUMP="$ac_prog"
27882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27883     break 2
27884   fi
27885 done
27886   done
27887 IFS=$as_save_IFS
27888 


28172       # Now join together the path and the arguments once again
28173       if test "x$arguments" != xEOL; then
28174         new_complete="$new_path ${arguments% *}"
28175       else
28176         new_complete="$new_path"
28177       fi
28178 
28179   if test "x$complete" != "x$new_complete"; then
28180       OBJDUMP="$new_complete"
28181       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting OBJDUMP to \"$new_complete\"" >&5
28182 $as_echo "$as_me: Rewriting OBJDUMP to \"$new_complete\"" >&6;}
28183     fi
28184 
28185 fi
28186 
28187 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
28188    # Extract the first word of "lipo", so it can be a program name with args.
28189 set dummy lipo; ac_word=$2
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28191 $as_echo_n "checking for $ac_word... " >&6; }
28192 if test "${ac_cv_path_LIPO+set}" = set; then :
28193   $as_echo_n "(cached) " >&6
28194 else
28195   case $LIPO in
28196   [\\/]* | ?:[\\/]*)
28197   ac_cv_path_LIPO="$LIPO" # Let the user override the test with a path.
28198   ;;
28199   *)
28200   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28201 for as_dir in $PATH
28202 do
28203   IFS=$as_save_IFS
28204   test -z "$as_dir" && as_dir=.
28205     for ac_exec_ext in '' $ac_executable_extensions; do
28206   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28207     ac_cv_path_LIPO="$as_dir/$ac_word$ac_exec_ext"
28208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28209     break 2
28210   fi
28211 done
28212   done


28489       LIPO="$new_complete"
28490       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting LIPO to \"$new_complete\"" >&5
28491 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;}
28492     fi
28493 
28494 fi
28495 
28496 
28497 
28498 # Restore old path without tools dir
28499 PATH="$OLD_PATH"
28500 
28501 
28502 # FIXME: Currently we must test this after paths but before flags. Fix!
28503 
28504 # And we can test some aspects on the target using configure macros.
28505 
28506 
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
28508 $as_echo_n "checking for ANSI C header files... " >&6; }
28509 if test "${ac_cv_header_stdc+set}" = set; then :
28510   $as_echo_n "(cached) " >&6
28511 else
28512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28513 /* end confdefs.h.  */
28514 #include <stdlib.h>
28515 #include <stdarg.h>
28516 #include <string.h>
28517 #include <float.h>
28518 
28519 int
28520 main ()
28521 {
28522 
28523   ;
28524   return 0;
28525 }
28526 _ACEOF
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528   ac_cv_header_stdc=yes
28529 else


28666   #   to prevent emitting warning...
28667   ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28668   ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28669   ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28670 
28671   CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
28672   CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
28673   LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
28674 
28675   CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
28676   CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
28677   LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
28678 
28679   fi
28680 fi
28681 
28682 # Make compilation sanity check
28683 for ac_header in stdio.h
28684 do :
28685   ac_fn_cxx_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
28686 if test "x$ac_cv_header_stdio_h" = x""yes; then :
28687   cat >>confdefs.h <<_ACEOF
28688 #define HAVE_STDIO_H 1
28689 _ACEOF
28690 
28691 else
28692 
28693   { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to compile stdio.h. This likely implies missing compile dependencies." >&5
28694 $as_echo "$as_me: Failed to compile stdio.h. This likely implies missing compile dependencies." >&6;}
28695   if test "x$COMPILE_TYPE" = xreduced; then
28696     { $as_echo "$as_me:${as_lineno-$LINENO}: You are doing a reduced build. Check that you have 32-bit libraries installed." >&5
28697 $as_echo "$as_me: You are doing a reduced build. Check that you have 32-bit libraries installed." >&6;}
28698   elif test "x$COMPILE_TYPE" = xcross; then
28699     { $as_echo "$as_me:${as_lineno-$LINENO}: You are doing a cross-compilation. Check that you have all target platform libraries installed." >&5
28700 $as_echo "$as_me: You are doing a cross-compilation. Check that you have all target platform libraries installed." >&6;}
28701   fi
28702   as_fn_error $? "Cannot continue." "$LINENO" 5
28703 
28704 fi
28705 
28706 done
28707 
28708 
28709 # The cast to long int works around a bug in the HP C Compiler
28710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28712 # This bug is HP SR number 8606223364.
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int *" >&5
28714 $as_echo_n "checking size of int *... " >&6; }
28715 if test "${ac_cv_sizeof_int_p+set}" = set; then :
28716   $as_echo_n "(cached) " >&6
28717 else
28718   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int *))" "ac_cv_sizeof_int_p"        "$ac_includes_default"; then :
28719 
28720 else
28721   if test "$ac_cv_type_int_p" = yes; then
28722      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28724 as_fn_error 77 "cannot compute sizeof (int *)
28725 See \`config.log' for more details" "$LINENO" 5 ; }
28726    else
28727      ac_cv_sizeof_int_p=0
28728    fi
28729 fi
28730 
28731 fi
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int_p" >&5
28733 $as_echo "$ac_cv_sizeof_int_p" >&6; }
28734 
28735 
28736 
28737 cat >>confdefs.h <<_ACEOF
28738 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
28739 _ACEOF
28740 
28741 
28742 
28743 if test "x$SIZEOF_INT_P" != "x$ac_cv_sizeof_int_p"; then
28744   # Workaround autoconf bug, see http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html
28745   SIZEOF_INT_P="$ac_cv_sizeof_int_p"


28752 else
28753     TESTED_TARGET_CPU_BITS=`expr 8 \* $SIZEOF_INT_P`
28754 
28755     if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
28756         as_fn_error $? "The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)" "$LINENO" 5
28757     fi
28758 fi
28759 
28760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target address size" >&5
28761 $as_echo_n "checking for target address size... " >&6; }
28762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENJDK_TARGET_CPU_BITS bits" >&5
28763 $as_echo "$OPENJDK_TARGET_CPU_BITS bits" >&6; }
28764 
28765 
28766 ###############################################################################
28767 #
28768 # Is the target little of big endian?
28769 #
28770  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
28771 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
28772 if test "${ac_cv_c_bigendian+set}" = set; then :
28773   $as_echo_n "(cached) " >&6
28774 else
28775   ac_cv_c_bigendian=unknown
28776     # See if we're dealing with a universal compiler.
28777     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28778 /* end confdefs.h.  */
28779 #ifndef __APPLE_CC__
28780                not a universal capable compiler
28781              #endif
28782              typedef int dummy;
28783 
28784 _ACEOF
28785 if ac_fn_cxx_try_compile "$LINENO"; then :
28786 
28787         # Check for potential -arch flags.  It is not universal unless
28788         # there are at least two -arch flags with different values.
28789         ac_arch=
28790         ac_prev=
28791         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
28792          if test -n "$ac_prev"; then


29928     fi
29929   fi
29930 fi
29931 
29932 # Now let autoconf do it's magic
29933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
29934 $as_echo_n "checking for X... " >&6; }
29935 
29936 
29937 # Check whether --with-x was given.
29938 if test "${with_x+set}" = set; then :
29939   withval=$with_x;
29940 fi
29941 
29942 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29943 if test "x$with_x" = xno; then
29944   # The user explicitly disabled X.
29945   have_x=disabled
29946 else
29947   case $x_includes,$x_libraries in #(
29948     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
29949     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
29950   $as_echo_n "(cached) " >&6
29951 else
29952   # One or both of the vars are not set, and there is no cached value.
29953 ac_x_includes=no ac_x_libraries=no
29954 rm -f -r conftest.dir
29955 if mkdir conftest.dir; then
29956   cd conftest.dir
29957   cat >Imakefile <<'_ACEOF'
29958 incroot:
29959         @echo incroot='${INCROOT}'
29960 usrlibdir:
29961         @echo usrlibdir='${USRLIBDIR}'
29962 libdir:
29963         @echo libdir='${LIBDIR}'
29964 _ACEOF
29965   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29966     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
29967     for ac_var in incroot usrlibdir libdir; do
29968       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29969     done


30206 /* Override any GCC internal prototype to avoid an error.
30207    Use char because int might match the return type of a GCC
30208    builtin and then its argument prototype would still apply.  */
30209 #ifdef __cplusplus
30210 extern "C"
30211 #endif
30212 char XOpenDisplay ();
30213 int
30214 main ()
30215 {
30216 return XOpenDisplay ();
30217   ;
30218   return 0;
30219 }
30220 _ACEOF
30221 if ac_fn_cxx_try_link "$LINENO"; then :
30222 
30223 else
30224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
30225 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
30226 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
30227   $as_echo_n "(cached) " >&6
30228 else
30229   ac_check_lib_save_LIBS=$LIBS
30230 LIBS="-ldnet  $LIBS"
30231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30232 /* end confdefs.h.  */
30233 
30234 /* Override any GCC internal prototype to avoid an error.
30235    Use char because int might match the return type of a GCC
30236    builtin and then its argument prototype would still apply.  */
30237 #ifdef __cplusplus
30238 extern "C"
30239 #endif
30240 char dnet_ntoa ();
30241 int
30242 main ()
30243 {
30244 return dnet_ntoa ();
30245   ;
30246   return 0;
30247 }
30248 _ACEOF
30249 if ac_fn_cxx_try_link "$LINENO"; then :
30250   ac_cv_lib_dnet_dnet_ntoa=yes
30251 else
30252   ac_cv_lib_dnet_dnet_ntoa=no
30253 fi
30254 rm -f core conftest.err conftest.$ac_objext \
30255     conftest$ac_exeext conftest.$ac_ext
30256 LIBS=$ac_check_lib_save_LIBS
30257 fi
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30259 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30260 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
30261   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30262 fi
30263 
30264     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30265       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
30266 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
30267 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
30268   $as_echo_n "(cached) " >&6
30269 else
30270   ac_check_lib_save_LIBS=$LIBS
30271 LIBS="-ldnet_stub  $LIBS"
30272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h.  */
30274 
30275 /* Override any GCC internal prototype to avoid an error.
30276    Use char because int might match the return type of a GCC
30277    builtin and then its argument prototype would still apply.  */
30278 #ifdef __cplusplus
30279 extern "C"
30280 #endif
30281 char dnet_ntoa ();
30282 int
30283 main ()
30284 {
30285 return dnet_ntoa ();
30286   ;
30287   return 0;
30288 }
30289 _ACEOF
30290 if ac_fn_cxx_try_link "$LINENO"; then :
30291   ac_cv_lib_dnet_stub_dnet_ntoa=yes
30292 else
30293   ac_cv_lib_dnet_stub_dnet_ntoa=no
30294 fi
30295 rm -f core conftest.err conftest.$ac_objext \
30296     conftest$ac_exeext conftest.$ac_ext
30297 LIBS=$ac_check_lib_save_LIBS
30298 fi
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30300 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30301 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
30302   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30303 fi
30304 
30305     fi
30306 fi
30307 rm -f core conftest.err conftest.$ac_objext \
30308     conftest$ac_exeext conftest.$ac_ext
30309     LIBS="$ac_xsave_LIBS"
30310 
30311     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30312     # to get the SysV transport functions.
30313     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30314     # needs -lnsl.
30315     # The nsl library prevents programs from opening the X display
30316     # on Irix 5.2, according to T.E. Dickey.
30317     # The functions gethostbyname, getservbyname, and inet_addr are
30318     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30319     ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
30320 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
30321 
30322 fi
30323 
30324     if test $ac_cv_func_gethostbyname = no; then
30325       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
30326 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
30327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
30328   $as_echo_n "(cached) " >&6
30329 else
30330   ac_check_lib_save_LIBS=$LIBS
30331 LIBS="-lnsl  $LIBS"
30332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h.  */
30334 
30335 /* Override any GCC internal prototype to avoid an error.
30336    Use char because int might match the return type of a GCC
30337    builtin and then its argument prototype would still apply.  */
30338 #ifdef __cplusplus
30339 extern "C"
30340 #endif
30341 char gethostbyname ();
30342 int
30343 main ()
30344 {
30345 return gethostbyname ();
30346   ;
30347   return 0;
30348 }
30349 _ACEOF
30350 if ac_fn_cxx_try_link "$LINENO"; then :
30351   ac_cv_lib_nsl_gethostbyname=yes
30352 else
30353   ac_cv_lib_nsl_gethostbyname=no
30354 fi
30355 rm -f core conftest.err conftest.$ac_objext \
30356     conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
30360 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
30361 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
30362   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30363 fi
30364 
30365       if test $ac_cv_lib_nsl_gethostbyname = no; then
30366         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
30367 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
30368 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
30369   $as_echo_n "(cached) " >&6
30370 else
30371   ac_check_lib_save_LIBS=$LIBS
30372 LIBS="-lbsd  $LIBS"
30373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30374 /* end confdefs.h.  */
30375 
30376 /* Override any GCC internal prototype to avoid an error.
30377    Use char because int might match the return type of a GCC
30378    builtin and then its argument prototype would still apply.  */
30379 #ifdef __cplusplus
30380 extern "C"
30381 #endif
30382 char gethostbyname ();
30383 int
30384 main ()
30385 {
30386 return gethostbyname ();
30387   ;
30388   return 0;
30389 }
30390 _ACEOF
30391 if ac_fn_cxx_try_link "$LINENO"; then :
30392   ac_cv_lib_bsd_gethostbyname=yes
30393 else
30394   ac_cv_lib_bsd_gethostbyname=no
30395 fi
30396 rm -f core conftest.err conftest.$ac_objext \
30397     conftest$ac_exeext conftest.$ac_ext
30398 LIBS=$ac_check_lib_save_LIBS
30399 fi
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
30401 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
30402 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
30403   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30404 fi
30405 
30406       fi
30407     fi
30408 
30409     # lieder@skyler.mavd.honeywell.com says without -lsocket,
30410     # socket/setsockopt and other routines are undefined under SCO ODT
30411     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
30412     # on later versions), says Simon Leinen: it contains gethostby*
30413     # variants that don't use the name server (or something).  -lsocket
30414     # must be given before -lnsl if both are needed.  We assume that
30415     # if connect needs -lnsl, so does gethostbyname.
30416     ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
30417 if test "x$ac_cv_func_connect" = x""yes; then :
30418 
30419 fi
30420 
30421     if test $ac_cv_func_connect = no; then
30422       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
30423 $as_echo_n "checking for connect in -lsocket... " >&6; }
30424 if test "${ac_cv_lib_socket_connect+set}" = set; then :
30425   $as_echo_n "(cached) " >&6
30426 else
30427   ac_check_lib_save_LIBS=$LIBS
30428 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h.  */
30431 
30432 /* Override any GCC internal prototype to avoid an error.
30433    Use char because int might match the return type of a GCC
30434    builtin and then its argument prototype would still apply.  */
30435 #ifdef __cplusplus
30436 extern "C"
30437 #endif
30438 char connect ();
30439 int
30440 main ()
30441 {
30442 return connect ();
30443   ;
30444   return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_cxx_try_link "$LINENO"; then :
30448   ac_cv_lib_socket_connect=yes
30449 else
30450   ac_cv_lib_socket_connect=no
30451 fi
30452 rm -f core conftest.err conftest.$ac_objext \
30453     conftest$ac_exeext conftest.$ac_ext
30454 LIBS=$ac_check_lib_save_LIBS
30455 fi
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
30457 $as_echo "$ac_cv_lib_socket_connect" >&6; }
30458 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
30459   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30460 fi
30461 
30462     fi
30463 
30464     # Guillermo Gomez says -lposix is necessary on A/UX.
30465     ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
30466 if test "x$ac_cv_func_remove" = x""yes; then :
30467 
30468 fi
30469 
30470     if test $ac_cv_func_remove = no; then
30471       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
30472 $as_echo_n "checking for remove in -lposix... " >&6; }
30473 if test "${ac_cv_lib_posix_remove+set}" = set; then :
30474   $as_echo_n "(cached) " >&6
30475 else
30476   ac_check_lib_save_LIBS=$LIBS
30477 LIBS="-lposix  $LIBS"
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h.  */
30480 
30481 /* Override any GCC internal prototype to avoid an error.
30482    Use char because int might match the return type of a GCC
30483    builtin and then its argument prototype would still apply.  */
30484 #ifdef __cplusplus
30485 extern "C"
30486 #endif
30487 char remove ();
30488 int
30489 main ()
30490 {
30491 return remove ();
30492   ;
30493   return 0;
30494 }
30495 _ACEOF
30496 if ac_fn_cxx_try_link "$LINENO"; then :
30497   ac_cv_lib_posix_remove=yes
30498 else
30499   ac_cv_lib_posix_remove=no
30500 fi
30501 rm -f core conftest.err conftest.$ac_objext \
30502     conftest$ac_exeext conftest.$ac_ext
30503 LIBS=$ac_check_lib_save_LIBS
30504 fi
30505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
30506 $as_echo "$ac_cv_lib_posix_remove" >&6; }
30507 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
30508   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30509 fi
30510 
30511     fi
30512 
30513     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30514     ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
30515 if test "x$ac_cv_func_shmat" = x""yes; then :
30516 
30517 fi
30518 
30519     if test $ac_cv_func_shmat = no; then
30520       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
30521 $as_echo_n "checking for shmat in -lipc... " >&6; }
30522 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
30523   $as_echo_n "(cached) " >&6
30524 else
30525   ac_check_lib_save_LIBS=$LIBS
30526 LIBS="-lipc  $LIBS"
30527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30528 /* end confdefs.h.  */
30529 
30530 /* Override any GCC internal prototype to avoid an error.
30531    Use char because int might match the return type of a GCC
30532    builtin and then its argument prototype would still apply.  */
30533 #ifdef __cplusplus
30534 extern "C"
30535 #endif
30536 char shmat ();
30537 int
30538 main ()
30539 {
30540 return shmat ();
30541   ;
30542   return 0;
30543 }
30544 _ACEOF
30545 if ac_fn_cxx_try_link "$LINENO"; then :
30546   ac_cv_lib_ipc_shmat=yes
30547 else
30548   ac_cv_lib_ipc_shmat=no
30549 fi
30550 rm -f core conftest.err conftest.$ac_objext \
30551     conftest$ac_exeext conftest.$ac_ext
30552 LIBS=$ac_check_lib_save_LIBS
30553 fi
30554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
30555 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
30556 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
30557   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30558 fi
30559 
30560     fi
30561   fi
30562 
30563   # Check for libraries that X11R6 Xt/Xaw programs need.
30564   ac_save_LDFLAGS=$LDFLAGS
30565   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30566   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30567   # check for ICE first), but we must link in the order -lSM -lICE or
30568   # we get undefined symbols.  So assume we have SM if we have ICE.
30569   # These have to be linked with before -lX11, unlike the other
30570   # libraries we check for below, so use a different variable.
30571   # John Interrante, Karl Berry
30572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
30573 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
30574 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
30575   $as_echo_n "(cached) " >&6
30576 else
30577   ac_check_lib_save_LIBS=$LIBS
30578 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30580 /* end confdefs.h.  */
30581 
30582 /* Override any GCC internal prototype to avoid an error.
30583    Use char because int might match the return type of a GCC
30584    builtin and then its argument prototype would still apply.  */
30585 #ifdef __cplusplus
30586 extern "C"
30587 #endif
30588 char IceConnectionNumber ();
30589 int
30590 main ()
30591 {
30592 return IceConnectionNumber ();
30593   ;
30594   return 0;
30595 }
30596 _ACEOF
30597 if ac_fn_cxx_try_link "$LINENO"; then :
30598   ac_cv_lib_ICE_IceConnectionNumber=yes
30599 else
30600   ac_cv_lib_ICE_IceConnectionNumber=no
30601 fi
30602 rm -f core conftest.err conftest.$ac_objext \
30603     conftest$ac_exeext conftest.$ac_ext
30604 LIBS=$ac_check_lib_save_LIBS
30605 fi
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30607 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30608 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
30609   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30610 fi
30611 
30612   LDFLAGS=$ac_save_LDFLAGS
30613 
30614 fi
30615 
30616 
30617 # AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
30618 # this doesn't make sense so we remove it.
30619 if test "x$COMPILE_TYPE" = xcross; then
30620   X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[^ ]*//g'`
30621 fi
30622 
30623 if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
30624 
30625     # Print a helpful message on how to acquire the necessary build dependency.
30626     # x11 is the help tag: freetyp2, cups, pulse, alsa etc
30627     MISSING_DEPENDENCY=x11
30628     PKGHANDLER_COMMAND=


30985                 pkgadd_help  $MISSING_DEPENDENCY ;;
30986     * )
30987       break ;;
30988     esac
30989 
30990     if test "x$PKGHANDLER_COMMAND" != x; then
30991         HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
30992     fi
30993 
30994             as_fn_error $? "Could not find cups! $HELP_MSG " "$LINENO" 5
30995         fi
30996 fi
30997 
30998 
30999 
31000 
31001 
31002 
31003 ###############################################################################
31004 #
































































































































31005 # The ubiquitous freetype2 library is used to render fonts.
31006 #
31007 
31008 # Check whether --with-freetype was given.
31009 if test "${with_freetype+set}" = set; then :
31010   withval=$with_freetype;
31011 fi
31012 
31013 
31014 # If we are using the OS installed system lib for freetype, then we do not need to copy it to the build tree
31015 USING_SYSTEM_FT_LIB=false
31016 
31017 if test "x$FREETYPE2_NOT_NEEDED" = xyes; then
31018         if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
31019                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetype not used, so --with-freetype is ignored" >&5
31020 $as_echo "$as_me: WARNING: freetype not used, so --with-freetype is ignored" >&2;}
31021         fi
31022         FREETYPE2_CFLAGS=
31023         FREETYPE2_LIBS=
31024         FREETYPE2_LIB_PATH=


31606                 pkgutil_help $MISSING_DEPENDENCY ;;
31607         pkgadd)
31608                 pkgadd_help  $MISSING_DEPENDENCY ;;
31609     * )
31610       break ;;
31611     esac
31612 
31613     if test "x$PKGHANDLER_COMMAND" != x; then
31614         HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
31615     fi
31616 
31617                 as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5
31618         fi
31619 
31620         if test "x$OPENJDK_TARGET_OS" != xwindows; then
31621             # AC_CHECK_LIB does not support use of cl.exe
31622             PREV_LDFLAGS="$LDFLAGS"
31623             LDFLAGS="$FREETYPE2_LIBS"
31624             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Init_FreeType in -lfreetype" >&5
31625 $as_echo_n "checking for FT_Init_FreeType in -lfreetype... " >&6; }
31626 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then :
31627   $as_echo_n "(cached) " >&6
31628 else
31629   ac_check_lib_save_LIBS=$LIBS
31630 LIBS="-lfreetype  $LIBS"
31631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31632 /* end confdefs.h.  */
31633 
31634 /* Override any GCC internal prototype to avoid an error.
31635    Use char because int might match the return type of a GCC
31636    builtin and then its argument prototype would still apply.  */
31637 #ifdef __cplusplus
31638 extern "C"
31639 #endif
31640 char FT_Init_FreeType ();
31641 int
31642 main ()
31643 {
31644 return FT_Init_FreeType ();
31645   ;
31646   return 0;
31647 }
31648 _ACEOF
31649 if ac_fn_cxx_try_link "$LINENO"; then :
31650   ac_cv_lib_freetype_FT_Init_FreeType=yes
31651 else
31652   ac_cv_lib_freetype_FT_Init_FreeType=no
31653 fi
31654 rm -f core conftest.err conftest.$ac_objext \
31655     conftest$ac_exeext conftest.$ac_ext
31656 LIBS=$ac_check_lib_save_LIBS
31657 fi
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
31659 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
31660 if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = x""yes; then :
31661   FREETYPE2_FOUND=true
31662 else
31663   as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5
31664 fi
31665 
31666             LDFLAGS="$PREV_LDFLAGS"
31667         fi
31668 fi
31669 
31670 
31671 
31672 
31673 
31674 
31675 
31676 
31677 
31678 ###############################################################################
31679 #
31680 # Check for alsa headers and libraries. Used on Linux/GNU systems.


31928         # Put the nasty error message in config.log where it belongs
31929         echo "$ALSA_PKG_ERRORS" >&5
31930 
31931         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31932 $as_echo "no" >&6; }
31933                 ALSA_FOUND=no
31934 elif test $pkg_failed = untried; then
31935         ALSA_FOUND=no
31936 else
31937         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
31938         ALSA_LIBS=$pkg_cv_ALSA_LIBS
31939         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31940 $as_echo "yes" >&6; }
31941         ALSA_FOUND=yes
31942 fi
31943         fi
31944         if test "x$ALSA_FOUND" = xno; then
31945             for ac_header in alsa/asoundlib.h
31946 do :
31947   ac_fn_cxx_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
31948 if test "x$ac_cv_header_alsa_asoundlib_h" = x""yes; then :
31949   cat >>confdefs.h <<_ACEOF
31950 #define HAVE_ALSA_ASOUNDLIB_H 1
31951 _ACEOF
31952  ALSA_FOUND=yes
31953                               ALSA_CFLAGS=-Iignoreme
31954                               ALSA_LIBS=-lasound
31955                               DEFAULT_ALSA=yes
31956 else
31957   ALSA_FOUND=no
31958 fi
31959 
31960 done
31961 
31962         fi
31963         if test "x$ALSA_FOUND" = xno; then
31964 
31965     # Print a helpful message on how to acquire the necessary build dependency.
31966     # alsa is the help tag: freetyp2, cups, pulse, alsa etc
31967     MISSING_DEPENDENCY=alsa
31968     PKGHANDLER_COMMAND=


31987     fi
31988 
31989             as_fn_error $? "Could not find alsa! $HELP_MSG " "$LINENO" 5
31990         fi
31991 fi
31992 
31993 
31994 
31995 
31996 
31997 
31998 
31999 ###############################################################################
32000 #
32001 # Check for the jpeg library
32002 #
32003 
32004 USE_EXTERNAL_LIBJPEG=true
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
32006 $as_echo_n "checking for main in -ljpeg... " >&6; }
32007 if test "${ac_cv_lib_jpeg_main+set}" = set; then :
32008   $as_echo_n "(cached) " >&6
32009 else
32010   ac_check_lib_save_LIBS=$LIBS
32011 LIBS="-ljpeg  $LIBS"
32012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32013 /* end confdefs.h.  */
32014 
32015 
32016 int
32017 main ()
32018 {
32019 return main ();
32020   ;
32021   return 0;
32022 }
32023 _ACEOF
32024 if ac_fn_cxx_try_link "$LINENO"; then :
32025   ac_cv_lib_jpeg_main=yes
32026 else
32027   ac_cv_lib_jpeg_main=no
32028 fi
32029 rm -f core conftest.err conftest.$ac_objext \
32030     conftest$ac_exeext conftest.$ac_ext
32031 LIBS=$ac_check_lib_save_LIBS
32032 fi
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
32034 $as_echo "$ac_cv_lib_jpeg_main" >&6; }
32035 if test "x$ac_cv_lib_jpeg_main" = x""yes; then :
32036   cat >>confdefs.h <<_ACEOF
32037 #define HAVE_LIBJPEG 1
32038 _ACEOF
32039 
32040   LIBS="-ljpeg $LIBS"
32041 
32042 else
32043    USE_EXTERNAL_LIBJPEG=false
32044                { $as_echo "$as_me:${as_lineno-$LINENO}: Will use jpeg decoder bundled with the OpenJDK source" >&5
32045 $as_echo "$as_me: Will use jpeg decoder bundled with the OpenJDK source" >&6;}
32046 
32047 fi
32048 
32049 
32050 
32051 ###############################################################################
32052 #
32053 # Check for the gif library
32054 #
32055 


32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which giflib to use" >&5
32065 $as_echo_n "checking for which giflib to use... " >&6; }
32066 
32067 # default is bundled
32068 DEFAULT_GIFLIB=bundled
32069 
32070 #
32071 # if user didn't specify, use DEFAULT_GIFLIB
32072 #
32073 if test "x${with_giflib}" = "x"; then
32074     with_giflib=${DEFAULT_GIFLIB}
32075 fi
32076 
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_giflib}" >&5
32078 $as_echo "${with_giflib}" >&6; }
32079 
32080 if test "x${with_giflib}" = "xbundled"; then
32081     USE_EXTERNAL_LIBGIF=false
32082 elif test "x${with_giflib}" = "xsystem"; then
32083     ac_fn_cxx_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
32084 if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
32085 
32086 else
32087    as_fn_error $? "--with-giflib=system specified, but gif_lib.h not found!" "$LINENO" 5
32088 fi
32089 
32090 
32091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifGetCode in -lgif" >&5
32092 $as_echo_n "checking for DGifGetCode in -lgif... " >&6; }
32093 if test "${ac_cv_lib_gif_DGifGetCode+set}" = set; then :
32094   $as_echo_n "(cached) " >&6
32095 else
32096   ac_check_lib_save_LIBS=$LIBS
32097 LIBS="-lgif  $LIBS"
32098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32099 /* end confdefs.h.  */
32100 
32101 /* Override any GCC internal prototype to avoid an error.
32102    Use char because int might match the return type of a GCC
32103    builtin and then its argument prototype would still apply.  */
32104 #ifdef __cplusplus
32105 extern "C"
32106 #endif
32107 char DGifGetCode ();
32108 int
32109 main ()
32110 {
32111 return DGifGetCode ();
32112   ;
32113   return 0;
32114 }
32115 _ACEOF
32116 if ac_fn_cxx_try_link "$LINENO"; then :
32117   ac_cv_lib_gif_DGifGetCode=yes
32118 else
32119   ac_cv_lib_gif_DGifGetCode=no
32120 fi
32121 rm -f core conftest.err conftest.$ac_objext \
32122     conftest$ac_exeext conftest.$ac_ext
32123 LIBS=$ac_check_lib_save_LIBS
32124 fi
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifGetCode" >&5
32126 $as_echo "$ac_cv_lib_gif_DGifGetCode" >&6; }
32127 if test "x$ac_cv_lib_gif_DGifGetCode" = x""yes; then :
32128   cat >>confdefs.h <<_ACEOF
32129 #define HAVE_LIBGIF 1
32130 _ACEOF
32131 
32132   LIBS="-lgif $LIBS"
32133 
32134 else
32135    as_fn_error $? "--with-giflib=system specified, but no giflib found!" "$LINENO" 5
32136 fi
32137 
32138 
32139     USE_EXTERNAL_LIBGIF=true
32140 else
32141     as_fn_error $? "Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'" "$LINENO" 5
32142 fi
32143 
32144 
32145 ###############################################################################
32146 #
32147 # Check for the zlib library
32148 #
32149 
32150 
32151 # Check whether --with-zlib was given.
32152 if test "${with_zlib+set}" = set; then :
32153   withval=$with_zlib;
32154 fi
32155 
32156 
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
32158 $as_echo_n "checking for compress in -lz... " >&6; }
32159 if test "${ac_cv_lib_z_compress+set}" = set; then :
32160   $as_echo_n "(cached) " >&6
32161 else
32162   ac_check_lib_save_LIBS=$LIBS
32163 LIBS="-lz  $LIBS"
32164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32165 /* end confdefs.h.  */
32166 
32167 /* Override any GCC internal prototype to avoid an error.
32168    Use char because int might match the return type of a GCC
32169    builtin and then its argument prototype would still apply.  */
32170 #ifdef __cplusplus
32171 extern "C"
32172 #endif
32173 char compress ();
32174 int
32175 main ()
32176 {
32177 return compress ();
32178   ;
32179   return 0;
32180 }
32181 _ACEOF
32182 if ac_fn_cxx_try_link "$LINENO"; then :
32183   ac_cv_lib_z_compress=yes
32184 else
32185   ac_cv_lib_z_compress=no
32186 fi
32187 rm -f core conftest.err conftest.$ac_objext \
32188     conftest$ac_exeext conftest.$ac_ext
32189 LIBS=$ac_check_lib_save_LIBS
32190 fi
32191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
32192 $as_echo "$ac_cv_lib_z_compress" >&6; }
32193 if test "x$ac_cv_lib_z_compress" = x""yes; then :
32194    ZLIB_FOUND=yes
32195 else
32196    ZLIB_FOUND=no
32197 fi
32198 
32199 
32200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which zlib to use" >&5
32201 $as_echo_n "checking for which zlib to use... " >&6; }
32202 
32203 DEFAULT_ZLIB=bundled
32204 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
32205 #
32206 # On macosx default is system...on others default is
32207 #
32208     DEFAULT_ZLIB=system
32209 fi
32210 
32211 if test "x${ZLIB_FOUND}" != "xyes"; then
32212 #
32213 # If we don't find any system...set default to bundled


32266 if ac_fn_cxx_try_link "$LINENO"; then :
32267   has_altzone=yes
32268 else
32269   has_altzone=no
32270 fi
32271 rm -f core conftest.err conftest.$ac_objext \
32272     conftest$ac_exeext conftest.$ac_ext
32273 if test "x$has_altzone" = xyes; then
32274 
32275 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
32276 
32277 fi
32278 
32279 ###############################################################################
32280 #
32281 # Check the maths library
32282 #
32283 
32284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
32285 $as_echo_n "checking for cos in -lm... " >&6; }
32286 if test "${ac_cv_lib_m_cos+set}" = set; then :
32287   $as_echo_n "(cached) " >&6
32288 else
32289   ac_check_lib_save_LIBS=$LIBS
32290 LIBS="-lm  $LIBS"
32291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32292 /* end confdefs.h.  */
32293 
32294 /* Override any GCC internal prototype to avoid an error.
32295    Use char because int might match the return type of a GCC
32296    builtin and then its argument prototype would still apply.  */
32297 #ifdef __cplusplus
32298 extern "C"
32299 #endif
32300 char cos ();
32301 int
32302 main ()
32303 {
32304 return cos ();
32305   ;
32306   return 0;
32307 }
32308 _ACEOF
32309 if ac_fn_cxx_try_link "$LINENO"; then :
32310   ac_cv_lib_m_cos=yes
32311 else
32312   ac_cv_lib_m_cos=no
32313 fi
32314 rm -f core conftest.err conftest.$ac_objext \
32315     conftest$ac_exeext conftest.$ac_ext
32316 LIBS=$ac_check_lib_save_LIBS
32317 fi
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
32319 $as_echo "$ac_cv_lib_m_cos" >&6; }
32320 if test "x$ac_cv_lib_m_cos" = x""yes; then :
32321   cat >>confdefs.h <<_ACEOF
32322 #define HAVE_LIBM 1
32323 _ACEOF
32324 
32325   LIBS="-lm $LIBS"
32326 
32327 else
32328 
32329                   { $as_echo "$as_me:${as_lineno-$LINENO}: Maths library was not found" >&5
32330 $as_echo "$as_me: Maths library was not found" >&6;}
32331 
32332 fi
32333 
32334 
32335 
32336 ###############################################################################
32337 #
32338 # Check for libdl.so
32339 
32340 save_LIBS="$LIBS"
32341 LIBS=""
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32345   $as_echo_n "(cached) " >&6
32346 else
32347   ac_check_lib_save_LIBS=$LIBS
32348 LIBS="-ldl  $LIBS"
32349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32350 /* end confdefs.h.  */
32351 
32352 /* Override any GCC internal prototype to avoid an error.
32353    Use char because int might match the return type of a GCC
32354    builtin and then its argument prototype would still apply.  */
32355 #ifdef __cplusplus
32356 extern "C"
32357 #endif
32358 char dlopen ();
32359 int
32360 main ()
32361 {
32362 return dlopen ();
32363   ;
32364   return 0;
32365 }
32366 _ACEOF
32367 if ac_fn_cxx_try_link "$LINENO"; then :
32368   ac_cv_lib_dl_dlopen=yes
32369 else
32370   ac_cv_lib_dl_dlopen=no
32371 fi
32372 rm -f core conftest.err conftest.$ac_objext \
32373     conftest$ac_exeext conftest.$ac_ext
32374 LIBS=$ac_check_lib_save_LIBS
32375 fi
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32377 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32378 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
32379   cat >>confdefs.h <<_ACEOF
32380 #define HAVE_LIBDL 1
32381 _ACEOF
32382 
32383   LIBS="-ldl $LIBS"
32384 
32385 fi
32386 
32387 LIBDL="$LIBS"
32388 
32389 LIBS="$save_LIBS"
32390 
32391 
32392 
32393 ###############################################################################
32394 #
32395 # statically link libstdc++ before C++ ABI is stablized on Linux unless
32396 # dynamic build is configured on command line.
32397 #
32398 


32588 
32589 Consider adjusting the PKG_CONFIG_PATH environment variable if you
32590 installed software in a non-standard prefix.
32591 
32592 Alternatively, you may set the environment variables LIBFFI_CFLAGS
32593 and LIBFFI_LIBS to avoid the need to call pkg-config.
32594 See the pkg-config man page for more details.
32595 " "$LINENO" 5
32596 elif test $pkg_failed = untried; then
32597         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32599 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
32600 is in your PATH or set the PKG_CONFIG environment variable to the full
32601 path to pkg-config.
32602 
32603 Alternatively, you may set the environment variables LIBFFI_CFLAGS
32604 and LIBFFI_LIBS to avoid the need to call pkg-config.
32605 See the pkg-config man page for more details.
32606 
32607 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
32608 See \`config.log' for more details" "$LINENO" 5 ; }
32609 else
32610         LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
32611         LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
32612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32613 $as_echo "yes" >&6; }
32614         :
32615 fi
32616 
32617 fi
32618 
32619 if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
32620     # Extract the first word of "llvm-config", so it can be a program name with args.
32621 set dummy llvm-config; ac_word=$2
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32623 $as_echo_n "checking for $ac_word... " >&6; }
32624 if test "${ac_cv_prog_LLVM_CONFIG+set}" = set; then :
32625   $as_echo_n "(cached) " >&6
32626 else
32627   if test -n "$LLVM_CONFIG"; then
32628   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
32629 else
32630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32631 for as_dir in $PATH
32632 do
32633   IFS=$as_save_IFS
32634   test -z "$as_dir" && as_dir=.
32635     for ac_exec_ext in '' $ac_executable_extensions; do
32636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32637     ac_cv_prog_LLVM_CONFIG="llvm-config"
32638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32639     break 2
32640   fi
32641 done
32642   done
32643 IFS=$as_save_IFS
32644 


33220 
33221 
33222 # Setup use of ccache, if available
33223 
33224     # Check whether --enable-ccache was given.
33225 if test "${enable_ccache+set}" = set; then :
33226   enableval=$enable_ccache; ENABLE_CCACHE=${enable_ccache}
33227 else
33228   ENABLE_CCACHE=yes
33229 fi
33230 
33231     if test "x$ENABLE_CCACHE" = xyes; then
33232         OLD_PATH="$PATH"
33233         if test "x$TOOLS_DIR" != x; then
33234           PATH=$TOOLS_DIR:$PATH
33235         fi
33236         # Extract the first word of "ccache", so it can be a program name with args.
33237 set dummy ccache; ac_word=$2
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33239 $as_echo_n "checking for $ac_word... " >&6; }
33240 if test "${ac_cv_path_CCACHE+set}" = set; then :
33241   $as_echo_n "(cached) " >&6
33242 else
33243   case $CCACHE in
33244   [\\/]* | ?:[\\/]*)
33245   ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path.
33246   ;;
33247   *)
33248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33249 for as_dir in $PATH
33250 do
33251   IFS=$as_save_IFS
33252   test -z "$as_dir" && as_dir=.
33253     for ac_exec_ext in '' $ac_executable_extensions; do
33254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33255     ac_cv_path_CCACHE="$as_dir/$ac_word$ac_exec_ext"
33256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33257     break 2
33258   fi
33259 done
33260   done


33482         "s/'/'\\\\''/g;
33483           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33484       ;; #(
33485     *)
33486       # `set' quotes correctly as required by POSIX, so do not add quotes.
33487       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33488       ;;
33489     esac |
33490     sort
33491 ) |
33492   sed '
33493      /^ac_cv_env_/b end
33494      t clear
33495      :clear
33496      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33497      t end
33498      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33499      :end' >>confcache
33500 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33501   if test -w "$cache_file"; then
33502     test "x$cache_file" != "x/dev/null" &&
33503       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33504 $as_echo "$as_me: updating cache $cache_file" >&6;}
33505     cat confcache >$cache_file











33506   else
33507     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33508 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33509   fi
33510 fi
33511 rm -f confcache
33512 
33513 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33514 # Let make expand exec_prefix.
33515 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33516 
33517 DEFS=-DHAVE_CONFIG_H
33518 
33519 ac_libobjs=
33520 ac_ltlibobjs=
33521 U=
33522 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33523   # 1. Remove the extension, and $U if already installed.
33524   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33525   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33526   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33527   #    will be set to the directory where LIBOBJS objects are built.
33528   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33529   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33530 done
33531 LIBOBJS=$ac_libobjs
33532 
33533 LTLIBOBJS=$ac_ltlibobjs
33534 
33535 
33536 
33537 : ${CONFIG_STATUS=./config.status}
33538 ac_write_fail=0
33539 ac_clean_files_save=$ac_clean_files
33540 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33542 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33543 as_write_fail=0
33544 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33545 #! $SHELL
33546 # Generated by $as_me.
33547 # Run this file to recreate the current configuration.
33548 # Compiler output produced by configure, useful for debugging
33549 # configure, is in config.log if it exists.
33550 
33551 debug=false
33552 ac_cs_recheck=false
33553 ac_cs_silent=false
33554 
33555 SHELL=\${CONFIG_SHELL-$SHELL}
33556 export SHELL
33557 _ASEOF


33618 fi
33619 
33620 # The user is always right.
33621 if test "${PATH_SEPARATOR+set}" != set; then
33622   PATH_SEPARATOR=:
33623   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33624     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33625       PATH_SEPARATOR=';'
33626   }
33627 fi
33628 
33629 
33630 # IFS
33631 # We need space, tab and new line, in precisely that order.  Quoting is
33632 # there to prevent editors from complaining about space-tab.
33633 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33634 # splitting by setting IFS to empty value.)
33635 IFS=" ""        $as_nl"
33636 
33637 # Find who we are.  Look in the path if we contain no directory separator.

33638 case $0 in #((
33639   *[\\/]* ) as_myself=$0 ;;
33640   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33641 for as_dir in $PATH
33642 do
33643   IFS=$as_save_IFS
33644   test -z "$as_dir" && as_dir=.
33645     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33646   done
33647 IFS=$as_save_IFS
33648 
33649      ;;
33650 esac
33651 # We did not find ourselves, most probably we were run as `sh COMMAND'
33652 # in which case we are not to be found in the path.
33653 if test "x$as_myself" = x; then
33654   as_myself=$0
33655 fi
33656 if test ! -f "$as_myself"; then
33657   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2


33925 # Sed expression to map a string onto a valid CPP name.
33926 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33927 
33928 # Sed expression to map a string onto a valid variable name.
33929 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33930 
33931 
33932 exec 6>&1
33933 ## ----------------------------------- ##
33934 ## Main body of $CONFIG_STATUS script. ##
33935 ## ----------------------------------- ##
33936 _ASEOF
33937 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
33938 
33939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33940 # Save the log message, to keep $0 and so on meaningful, and to
33941 # report actual input values of CONFIG_FILES etc. instead of their
33942 # values after options handling.
33943 ac_log="
33944 This file was extended by OpenJDK $as_me jdk8, which was
33945 generated by GNU Autoconf 2.67.  Invocation command line was
33946 
33947   CONFIG_FILES    = $CONFIG_FILES
33948   CONFIG_HEADERS  = $CONFIG_HEADERS
33949   CONFIG_LINKS    = $CONFIG_LINKS
33950   CONFIG_COMMANDS = $CONFIG_COMMANDS
33951   $ $0 $@
33952 
33953 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33954 "
33955 
33956 _ACEOF
33957 
33958 case $ac_config_files in *"
33959 "*) set x $ac_config_files; shift; ac_config_files=$*;;
33960 esac
33961 
33962 case $ac_config_headers in *"
33963 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
33964 esac
33965 


33988       --recheck    update $as_me by reconfiguring in the same conditions
33989       --file=FILE[:TEMPLATE]
33990                    instantiate the configuration file FILE
33991       --header=FILE[:TEMPLATE]
33992                    instantiate the configuration header FILE
33993 
33994 Configuration files:
33995 $config_files
33996 
33997 Configuration headers:
33998 $config_headers
33999 
34000 Report bugs to <build-dev@openjdk.java.net>.
34001 OpenJDK home page: <http://openjdk.java.net>."
34002 
34003 _ACEOF
34004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34005 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34006 ac_cs_version="\\
34007 OpenJDK config.status jdk8
34008 configured by $0, generated by GNU Autoconf 2.67,
34009   with options \\"\$ac_cs_config\\"
34010 
34011 Copyright (C) 2010 Free Software Foundation, Inc.
34012 This config.status script is free software; the Free Software Foundation
34013 gives unlimited permission to copy, distribute and modify it."
34014 
34015 ac_pwd='$ac_pwd'
34016 srcdir='$srcdir'
34017 AWK='$AWK'
34018 test -n "\$AWK" || AWK=awk
34019 _ACEOF
34020 
34021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34022 # The default lists apply if the user does not specify any file.
34023 ac_need_defaults=:
34024 while test $# != 0
34025 do
34026   case $1 in
34027   --*=?*)
34028     ac_option=`expr "X$1" : 'X\([^=]*\)='`


34117 } >&5
34118 
34119 _ACEOF
34120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34121 _ACEOF
34122 
34123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34124 
34125 # Handling of arguments.
34126 for ac_config_target in $ac_config_targets
34127 do
34128   case $ac_config_target in
34129     "$OUTPUT_ROOT/config.h") CONFIG_HEADERS="$CONFIG_HEADERS $OUTPUT_ROOT/config.h:$AUTOCONF_DIR/config.h.in" ;;
34130     "$OUTPUT_ROOT/spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in" ;;
34131     "$OUTPUT_ROOT/hotspot-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in" ;;
34132     "$OUTPUT_ROOT/bootcycle-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in" ;;
34133     "$OUTPUT_ROOT/compare.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in" ;;
34134     "$OUTPUT_ROOT/spec.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in" ;;
34135     "$OUTPUT_ROOT/Makefile") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in" ;;
34136 
34137   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
34138   esac
34139 done
34140 
34141 
34142 # If the user did not use the arguments to specify the items to instantiate,
34143 # then the envvar interface is used.  Set only those that are not.
34144 # We use the long form for the default assignment because of an extremely
34145 # bizarre bug on SunOS 4.1.3.
34146 if $ac_need_defaults; then
34147   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34148   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34149 fi
34150 
34151 # Have a temporary directory for convenience.  Make it in the build tree
34152 # simply because there is no reason against having it here, and in addition,
34153 # creating and moving files from /tmp can sometimes cause problems.
34154 # Hook for its removal unless debugging.
34155 # Note that there is a small window in which the directory will not be cleaned:
34156 # after its creation but before its name has been assigned to `$tmp'.
34157 $debug ||
34158 {
34159   tmp=
34160   trap 'exit_status=$?
34161   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status

34162 ' 0
34163   trap 'as_fn_exit 1' 1 2 13 15
34164 }
34165 # Create a (secure) tmp directory for tmp files.
34166 
34167 {
34168   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34169   test -n "$tmp" && test -d "$tmp"
34170 }  ||
34171 {
34172   tmp=./conf$$-$RANDOM
34173   (umask 077 && mkdir "$tmp")
34174 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5

34175 
34176 # Set up the scripts for CONFIG_FILES section.
34177 # No need to generate them if there are no CONFIG_FILES.
34178 # This happens for instance with `./config.status config.h'.
34179 if test -n "$CONFIG_FILES"; then
34180 
34181 
34182 ac_cr=`echo X | tr X '\015'`
34183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
34184 # But we know of no other shell where ac_cr would be empty at this
34185 # point, so we can use a bashism as a fallback.
34186 if test "x$ac_cr" = x; then
34187   eval ac_cr=\$\'\\r\'
34188 fi
34189 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34191   ac_cs_awk_cr='\\r'
34192 else
34193   ac_cs_awk_cr=$ac_cr
34194 fi
34195 
34196 echo 'BEGIN {' >"$tmp/subs1.awk" &&
34197 _ACEOF
34198 
34199 
34200 {
34201   echo "cat >conf$$subs.awk <<_ACEOF" &&
34202   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34203   echo "_ACEOF"
34204 } >conf$$subs.sh ||
34205   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34206 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34207 ac_delim='%!_!# '
34208 for ac_last_try in false false false false false :; do
34209   . ./conf$$subs.sh ||
34210     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34211 
34212   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34213   if test $ac_delim_n = $ac_delim_num; then
34214     break
34215   elif $ac_last_try; then
34216     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34217   else
34218     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34219   fi
34220 done
34221 rm -f conf$$subs.sh
34222 
34223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34224 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
34225 _ACEOF
34226 sed -n '
34227 h
34228 s/^/S["/; s/!.*/"]=/
34229 p
34230 g
34231 s/^[^!]*!//
34232 :repl
34233 t repl
34234 s/'"$ac_delim"'$//
34235 t delim
34236 :nl
34237 h
34238 s/\(.\{148\}\)..*/\1/
34239 t more1
34240 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34241 p
34242 n
34243 b repl
34244 :more1


34252 s/\(.\{148\}\)..*/\1/
34253 t more2
34254 s/["\\]/\\&/g; s/^/"/; s/$/"/
34255 p
34256 b
34257 :more2
34258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34259 p
34260 g
34261 s/.\{148\}//
34262 t delim
34263 ' <conf$$subs.awk | sed '
34264 /^[^""]/{
34265   N
34266   s/\n//
34267 }
34268 ' >>$CONFIG_STATUS || ac_write_fail=1
34269 rm -f conf$$subs.awk
34270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34271 _ACAWK
34272 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
34273   for (key in S) S_is_set[key] = 1
34274   FS = ""
34275 
34276 }
34277 {
34278   line = $ 0
34279   nfields = split(line, field, "@")
34280   substed = 0
34281   len = length(field[1])
34282   for (i = 2; i < nfields; i++) {
34283     key = field[i]
34284     keylen = length(key)
34285     if (S_is_set[key]) {
34286       value = S[key]
34287       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34288       len += length(value) + length(field[++i])
34289       substed = 1
34290     } else
34291       len += 1 + keylen
34292   }
34293 
34294   print line
34295 }
34296 
34297 _ACAWK
34298 _ACEOF
34299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34300 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34301   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34302 else
34303   cat
34304 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34305   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34306 _ACEOF
34307 
34308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34310 # trailing colons and then remove the whole line if VPATH becomes empty
34311 # (actually we leave an empty line to preserve line numbers).
34312 if test "x$srcdir" = x.; then
34313   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
34314 h
34315 s///
34316 s/^/:/
34317 s/[      ]*$/:/
34318 s/:\$(srcdir):/:/g
34319 s/:\${srcdir}:/:/g
34320 s/:@srcdir@:/:/g
34321 s/^:*//
34322 s/:*$//
34323 x
34324 s/\(=[   ]*\).*/\1/
34325 G
34326 s/\n//
34327 s/^[^=]*=[       ]*$//
34328 }'
34329 fi
34330 
34331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34332 fi # test -n "$CONFIG_FILES"
34333 
34334 # Set up the scripts for CONFIG_HEADERS section.
34335 # No need to generate them if there are no CONFIG_HEADERS.
34336 # This happens for instance with `./config.status Makefile'.
34337 if test -n "$CONFIG_HEADERS"; then
34338 cat >"$tmp/defines.awk" <<\_ACAWK ||
34339 BEGIN {
34340 _ACEOF
34341 
34342 # Transform confdefs.h into an awk script `defines.awk', embedded as
34343 # here-document in config.status, that substitutes the proper values into
34344 # config.h.in to produce config.h.
34345 
34346 # Create a delimiter string that does not exist in confdefs.h, to ease
34347 # handling of long lines.
34348 ac_delim='%!_!# '
34349 for ac_last_try in false false :; do
34350   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
34351   if test -z "$ac_t"; then
34352     break
34353   elif $ac_last_try; then
34354     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34355   else
34356     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34357   fi
34358 done
34359 
34360 # For the awk script, D is an array of macro values keyed by name,
34361 # likewise P contains macro parameters if any.  Preserve backslash
34362 # newline sequences.
34363 
34364 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34365 sed -n '
34366 s/.\{148\}/&'"$ac_delim"'/g
34367 t rset
34368 :rset
34369 s/^[     ]*#[    ]*define[       ][      ]*/ /
34370 t def
34371 d


34432     }
34433   }
34434 }
34435 { print }
34436 _ACAWK
34437 _ACEOF
34438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34439   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34440 fi # test -n "$CONFIG_HEADERS"
34441 
34442 
34443 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
34444 shift
34445 for ac_tag
34446 do
34447   case $ac_tag in
34448   :[FHLC]) ac_mode=$ac_tag; continue;;
34449   esac
34450   case $ac_mode$ac_tag in
34451   :[FHL]*:*);;
34452   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
34453   :[FH]-) ac_tag=-:-;;
34454   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34455   esac
34456   ac_save_IFS=$IFS
34457   IFS=:
34458   set x $ac_tag
34459   IFS=$ac_save_IFS
34460   shift
34461   ac_file=$1
34462   shift
34463 
34464   case $ac_mode in
34465   :L) ac_source=$1;;
34466   :[FH])
34467     ac_file_inputs=
34468     for ac_f
34469     do
34470       case $ac_f in
34471       -) ac_f="$tmp/stdin";;
34472       *) # Look for the file first in the build tree, then in the source tree
34473          # (if the path is not absolute).  The absolute path cannot be DOS-style,
34474          # because $ac_f cannot contain `:'.
34475          test -f "$ac_f" ||
34476            case $ac_f in
34477            [\\/$]*) false;;
34478            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34479            esac ||
34480            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
34481       esac
34482       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34483       as_fn_append ac_file_inputs " '$ac_f'"
34484     done
34485 
34486     # Let's still pretend it is `configure' which instantiates (i.e., don't
34487     # use $as_me), people would be surprised to read:
34488     #    /* config.h.  Generated by config.status.  */
34489     configure_input='Generated from '`
34490           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34491         `' by configure.'
34492     if test x"$ac_file" != x-; then
34493       configure_input="$ac_file.  $configure_input"
34494       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34495 $as_echo "$as_me: creating $ac_file" >&6;}
34496     fi
34497     # Neutralize special characters interpreted by sed in replacement strings.
34498     case $configure_input in #(
34499     *\&* | *\|* | *\\* )
34500        ac_sed_conf_input=`$as_echo "$configure_input" |
34501        sed 's/[\\\\&|]/\\\\&/g'`;; #(
34502     *) ac_sed_conf_input=$configure_input;;
34503     esac
34504 
34505     case $ac_tag in
34506     *:-:* | *:-) cat >"$tmp/stdin" \
34507       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
34508     esac
34509     ;;
34510   esac
34511 
34512   ac_dir=`$as_dirname -- "$ac_file" ||
34513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34514          X"$ac_file" : 'X\(//\)[^/]' \| \
34515          X"$ac_file" : 'X\(//\)$' \| \
34516          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34517 $as_echo X"$ac_file" |
34518     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34519             s//\1/
34520             q
34521           }
34522           /^X\(\/\/\)[^/].*/{
34523             s//\1/
34524             q
34525           }
34526           /^X\(\/\/\)$/{


34612 # FIXME: do we really want to maintain this feature?
34613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34614 ac_sed_extra="$ac_vpsub
34615 $extrasub
34616 _ACEOF
34617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34618 :t
34619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34620 s|@configure_input@|$ac_sed_conf_input|;t t
34621 s&@top_builddir@&$ac_top_builddir_sub&;t t
34622 s&@top_build_prefix@&$ac_top_build_prefix&;t t
34623 s&@srcdir@&$ac_srcdir&;t t
34624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
34625 s&@top_srcdir@&$ac_top_srcdir&;t t
34626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34627 s&@builddir@&$ac_builddir&;t t
34628 s&@abs_builddir@&$ac_abs_builddir&;t t
34629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34630 $ac_datarootdir_hack
34631 "
34632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34633   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34634 
34635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34636   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34637   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&

34638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34639 which seems to be undefined.  Please make sure it is defined" >&5
34640 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34641 which seems to be undefined.  Please make sure it is defined" >&2;}
34642 
34643   rm -f "$tmp/stdin"
34644   case $ac_file in
34645   -) cat "$tmp/out" && rm -f "$tmp/out";;
34646   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34647   esac \
34648   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34649  ;;
34650   :H)
34651   #
34652   # CONFIG_HEADER
34653   #
34654   if test x"$ac_file" != x-; then
34655     {
34656       $as_echo "/* $configure_input  */" \
34657       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34658     } >"$tmp/config.h" \
34659       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34660     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34661       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34662 $as_echo "$as_me: $ac_file is unchanged" >&6;}
34663     else
34664       rm -f "$ac_file"
34665       mv "$tmp/config.h" "$ac_file" \
34666         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34667     fi
34668   else
34669     $as_echo "/* $configure_input  */" \
34670       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
34671       || as_fn_error $? "could not create -" "$LINENO" 5
34672   fi
34673  ;;
34674 
34675 
34676   esac
34677 
34678 done # for ac_tag
34679 
34680 
34681 as_fn_exit 0
34682 _ACEOF
34683 ac_clean_files=$ac_clean_files_save
34684 
34685 test $ac_write_fail = 0 ||
34686   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34687 
34688 
34689 # configure is writing to config.log, and then calls config.status.
34690 # config.status does its own redirection, appending to config.log.


   1 #! /bin/sh
   2 # Guess values for system-dependent variables and create Makefiles.
   3 # Generated by GNU Autoconf 2.68 for OpenJDK jdk8.
   4 #
   5 # Report bugs to <build-dev@openjdk.java.net>.
   6 #
   7 #
   8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
  10 # Foundation, Inc.
  11 #
  12 #
  13 # This configure script is free software; the Free Software Foundation
  14 # gives unlimited permission to copy, distribute and modify it.
  15 ## -------------------- ##
  16 ## M4sh Initialization. ##
  17 ## -------------------- ##
  18 
  19 # Be more Bourne compatible
  20 DUALCASE=1; export DUALCASE # for MKS sh
  21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  22   emulate sh
  23   NULLCMD=:


  74 fi
  75 
  76 # The user is always right.
  77 if test "${PATH_SEPARATOR+set}" != set; then
  78   PATH_SEPARATOR=:
  79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  81       PATH_SEPARATOR=';'
  82   }
  83 fi
  84 
  85 
  86 # IFS
  87 # We need space, tab and new line, in precisely that order.  Quoting is
  88 # there to prevent editors from complaining about space-tab.
  89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  90 # splitting by setting IFS to empty value.)
  91 IFS=" ""        $as_nl"
  92 
  93 # Find who we are.  Look in the path if we contain no directory separator.
  94 as_myself=
  95 case $0 in #((
  96   *[\\/]* ) as_myself=$0 ;;
  97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  98 for as_dir in $PATH
  99 do
 100   IFS=$as_save_IFS
 101   test -z "$as_dir" && as_dir=.
 102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 103   done
 104 IFS=$as_save_IFS
 105 
 106      ;;
 107 esac
 108 # We did not find ourselves, most probably we were run as `sh COMMAND'
 109 # in which case we are not to be found in the path.
 110 if test "x$as_myself" = x; then
 111   as_myself=$0
 112 fi
 113 if test ! -f "$as_myself"; then
 114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2


 200   CONFIG_SHELL=$as_shell as_have_required=yes
 201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 202   break 2
 203 fi
 204 fi
 205            done;;
 206        esac
 207   as_found=false
 208 done
 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 211   CONFIG_SHELL=$SHELL as_have_required=yes
 212 fi; }
 213 IFS=$as_save_IFS
 214 
 215 
 216       if test "x$CONFIG_SHELL" != x; then :
 217   # We cannot yet assume a decent shell, so we have to provide a
 218         # neutralization value for shells without unset; and this also
 219         # works around shells that cannot unset nonexistent variables.
 220         # Preserve -v and -x to the replacement shell.
 221         BASH_ENV=/dev/null
 222         ENV=/dev/null
 223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 224         export CONFIG_SHELL
 225         case $- in # ((((
 226           *v*x* | *x*v* ) as_opts=-vx ;;
 227           *v* ) as_opts=-v ;;
 228           *x* ) as_opts=-x ;;
 229           * ) as_opts= ;;
 230         esac
 231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 232 fi
 233 
 234     if test x$as_have_required = xno; then :
 235   $as_echo "$0: This script requires a shell more modern than all"
 236   $as_echo "$0: the shells that I found on your system."
 237   if test x${ZSH_VERSION+set} = xset ; then
 238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 240   else
 241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
 242 $0: build-dev@openjdk.java.net about your system, including
 243 $0: any error possibly output before this message. Then
 244 $0: install a modern shell, or manually run the script
 245 $0: under such a shell if you do have one."
 246   fi
 247   exit 1
 248 fi
 249 fi
 250 fi
 251 SHELL=${CONFIG_SHELL-/bin/sh}


 618 LIBCXX
 619 LLVM_LIBS
 620 LLVM_LDFLAGS
 621 LLVM_CFLAGS
 622 LLVM_CONFIG
 623 LIBFFI_LIBS
 624 LIBFFI_CFLAGS
 625 STATIC_CXX_SETTING
 626 LIBDL
 627 LIBM
 628 LIBZIP_CAN_USE_MMAP
 629 USE_EXTERNAL_LIBZ
 630 USE_EXTERNAL_LIBGIF
 631 USE_EXTERNAL_LIBJPEG
 632 ALSA_LIBS
 633 ALSA_CFLAGS
 634 FREETYPE2_LIB_PATH
 635 USING_SYSTEM_FT_LIB
 636 FREETYPE2_LIBS
 637 FREETYPE2_CFLAGS
 638 USE_EXTERNAL_ICU_LE
 639 ICU_LE_LIBS
 640 ICU_LE_CFLAGS
 641 CUPS_CFLAGS
 642 OPENWIN_HOME
 643 X_EXTRA_LIBS
 644 X_LIBS
 645 X_PRE_LIBS
 646 X_CFLAGS
 647 XMKMF
 648 CXXFLAGS_DEBUG_SYMBOLS
 649 CFLAGS_DEBUG_SYMBOLS
 650 ZIP_DEBUGINFO_FILES
 651 ENABLE_DEBUG_SYMBOLS
 652 COMPILER_SUPPORTS_TARGET_BITS_FLAG
 653 ZERO_ARCHFLAG
 654 LDFLAGS_CXX_JDK
 655 LDFLAGS_JDKEXE_SUFFIX
 656 LDFLAGS_JDKLIB_SUFFIX
 657 LDFLAGS_JDKEXE
 658 LDFLAGS_JDKLIB
 659 CXXFLAGS_JDKEXE
 660 CXXFLAGS_JDKLIB


1011 with_override_corba
1012 with_override_jaxp
1013 with_override_jaxws
1014 with_override_hotspot
1015 with_override_jdk
1016 with_import_hotspot
1017 with_msvcr_dll
1018 with_dxsdk
1019 with_dxsdk_lib
1020 with_dxsdk_include
1021 with_jtreg
1022 with_extra_cflags
1023 with_extra_cxxflags
1024 with_extra_ldflags
1025 enable_debug_symbols
1026 enable_zip_debug_info
1027 enable_macosx_runtime_support
1028 with_x
1029 with_cups
1030 with_cups_include
1031 with_icu_le
1032 with_freetype
1033 with_alsa
1034 with_alsa_include
1035 with_alsa_lib
1036 with_giflib
1037 with_zlib
1038 with_stdc__lib
1039 with_num_cores
1040 with_memory_size
1041 with_jobs
1042 with_sjavac_server_java
1043 enable_sjavac
1044 enable_precompiled_headers
1045 enable_ccache
1046 with_ccache_dir
1047 '
1048       ac_precious_vars='build_alias
1049 host_alias
1050 target_alias
1051 PKG_CONFIG
1052 CC
1053 CFLAGS
1054 LDFLAGS
1055 LIBS
1056 CPPFLAGS
1057 CXX
1058 CXXFLAGS
1059 CCC
1060 OBJC
1061 OBJCFLAGS
1062 CPP
1063 CXXCPP
1064 XMKMF
1065 ICU_LE_CFLAGS
1066 ICU_LE_LIBS
1067 FREETYPE2_CFLAGS
1068 FREETYPE2_LIBS
1069 ALSA_CFLAGS
1070 ALSA_LIBS
1071 LIBFFI_CFLAGS
1072 LIBFFI_LIBS'
1073 
1074 
1075 # Initialize some variables set by options.
1076 ac_init_help=
1077 ac_init_version=false
1078 ac_unrecognized_opts=
1079 ac_unrecognized_sep=
1080 # The variables have the same names as the options, with
1081 # dashes changed to underlines.
1082 cache_file=/dev/null
1083 exec_prefix=NONE
1084 no_create=
1085 no_recursion=
1086 prefix=NONE


1457 
1458   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1459 Try \`$0 --help' for more information"
1460     ;;
1461 
1462   *=*)
1463     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1464     # Reject names that are not valid shell variable names.
1465     case $ac_envvar in #(
1466       '' | [0-9]* | *[!_$as_cr_alnum]* )
1467       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1468     esac
1469     eval $ac_envvar=\$ac_optarg
1470     export $ac_envvar ;;
1471 
1472   *)
1473     # FIXME: should be removed in autoconf 3.0.
1474     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1475     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1476       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1477     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1478     ;;
1479 
1480   esac
1481 done
1482 
1483 if test -n "$ac_prev"; then
1484   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1485   as_fn_error $? "missing argument to $ac_option"
1486 fi
1487 
1488 if test -n "$ac_unrecognized_opts"; then
1489   case $enable_option_checking in
1490     no) ;;
1491     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1492     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1493   esac
1494 fi
1495 
1496 # Check all directory arguments for consistency.
1497 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \


1772   --with-override-hotspot use this hotspot dir for the build
1773   --with-override-jdk     use this jdk dir for the build
1774   --with-import-hotspot   import hotspot binaries from this jdk image or
1775                           hotspot build dist dir instead of building from
1776                           source
1777   --with-msvcr-dll        copy this msvcr100.dll into the built JDK (Windows
1778                           only) [probed]
1779   --with-dxsdk            the DirectX SDK (Windows only) [probed]
1780   --with-dxsdk-lib        the DirectX SDK lib directory (Windows only)
1781                           [probed]
1782   --with-dxsdk-include    the DirectX SDK include directory (Windows only)
1783                           [probed]
1784   --with-jtreg            Regression Test Harness [probed]
1785   --with-extra-cflags     extra flags to be used when compiling jdk c-files
1786   --with-extra-cxxflags   extra flags to be used when compiling jdk c++-files
1787   --with-extra-ldflags    extra flags to be used when linking jdk
1788   --with-x                use the X Window System
1789   --with-cups             specify prefix directory for the cups package
1790                           (expecting the headers under PATH/include)
1791   --with-cups-include     specify directory for the cups include files
1792   --with-icu-le           use icu-le from build system or OpenJDK source
1793                           (system, bundled) [bundled]
1794   --with-freetype         specify prefix directory for the freetype2 package
1795                           (expecting the libraries under PATH/lib and the
1796                           headers under PATH/include)
1797   --with-alsa             specify prefix directory for the alsa package
1798                           (expecting the libraries under PATH/lib and the
1799                           headers under PATH/include)
1800   --with-alsa-include     specify directory for the alsa include files
1801   --with-alsa-lib         specify directory for the alsa library
1802   --with-giflib           use giflib from build system or OpenJDK source
1803                           (system, bundled) [bundled]
1804   --with-zlib             use zlib from build system or OpenJDK source
1805                           (system, bundled) [bundled]
1806   --with-stdc++lib=<static>,<dynamic>,<default>
1807                           force linking of the C++ runtime on Linux to either
1808                           static or dynamic, default is static with dynamic as
1809                           fallback
1810   --with-num-cores        number of cores in the build system, e.g.
1811                           --with-num-cores=8 [probed]
1812   --with-memory-size      memory (in MB) available in the build system, e.g.
1813                           --with-memory-size=1024 [probed]


1817                           use this java binary for running the sjavac
1818                           background server [Boot JDK java]
1819   --with-ccache-dir       where to store ccache files [~/.ccache]
1820 
1821 Some influential environment variables:
1822   PKG_CONFIG  path to pkg-config utility
1823   CC          C compiler command
1824   CFLAGS      C compiler flags
1825   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1826               nonstandard directory <lib dir>
1827   LIBS        libraries to pass to the linker, e.g. -l<library>
1828   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1829               you have headers in a nonstandard directory <include dir>
1830   CXX         C++ compiler command
1831   CXXFLAGS    C++ compiler flags
1832   OBJC        Objective C compiler command
1833   OBJCFLAGS   Objective C compiler flags
1834   CPP         C preprocessor
1835   CXXCPP      C++ preprocessor
1836   XMKMF       Path to xmkmf, Makefile generator for X Window System
1837   ICU_LE_CFLAGS
1838               C compiler flags for ICU_LE, overriding pkg-config
1839   ICU_LE_LIBS linker flags for ICU_LE, overriding pkg-config
1840   FREETYPE2_CFLAGS
1841               C compiler flags for FREETYPE2, overriding pkg-config
1842   FREETYPE2_LIBS
1843               linker flags for FREETYPE2, overriding pkg-config
1844   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1845   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
1846   LIBFFI_CFLAGS
1847               C compiler flags for LIBFFI, overriding pkg-config
1848   LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1849 
1850 Use these variables to override the choices made by `configure' or to help
1851 it to find libraries and programs with nonstandard names/locations.
1852 
1853 Report bugs to <build-dev@openjdk.java.net>.
1854 OpenJDK home page: <http://openjdk.java.net>.
1855 _ACEOF
1856 ac_status=$?
1857 fi
1858 
1859 if test "$ac_init_help" = "recursive"; then


1898 
1899     cd "$ac_dir" || { ac_status=$?; continue; }
1900     # Check for guested configure.
1901     if test -f "$ac_srcdir/configure.gnu"; then
1902       echo &&
1903       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1904     elif test -f "$ac_srcdir/configure"; then
1905       echo &&
1906       $SHELL "$ac_srcdir/configure" --help=recursive
1907     else
1908       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1909     fi || ac_status=$?
1910     cd "$ac_pwd" || { ac_status=$?; break; }
1911   done
1912 fi
1913 
1914 test -n "$ac_init_help" && exit $ac_status
1915 if $ac_init_version; then
1916   cat <<\_ACEOF
1917 OpenJDK configure jdk8
1918 generated by GNU Autoconf 2.68
1919 
1920 Copyright (C) 2010 Free Software Foundation, Inc.
1921 This configure script is free software; the Free Software Foundation
1922 gives unlimited permission to copy, distribute and modify it.
1923 _ACEOF
1924   exit
1925 fi
1926 
1927 ## ------------------------ ##
1928 ## Autoconf initialization. ##
1929 ## ------------------------ ##
1930 
1931 # ac_fn_c_try_compile LINENO
1932 # --------------------------
1933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1934 ac_fn_c_try_compile ()
1935 {
1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937   rm -f conftest.$ac_objext
1938   if { { ac_try="$ac_compile"


1944 $as_echo "$ac_try_echo"; } >&5
1945   (eval "$ac_compile") 2>conftest.err
1946   ac_status=$?
1947   if test -s conftest.err; then
1948     grep -v '^ *+' conftest.err >conftest.er1
1949     cat conftest.er1 >&5
1950     mv -f conftest.er1 conftest.err
1951   fi
1952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953   test $ac_status = 0; } && {
1954          test -z "$ac_c_werror_flag" ||
1955          test ! -s conftest.err
1956        } && test -s conftest.$ac_objext; then :
1957   ac_retval=0
1958 else
1959   $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961 
1962         ac_retval=1
1963 fi
1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965   as_fn_set_status $ac_retval
1966 
1967 } # ac_fn_c_try_compile
1968 
1969 # ac_fn_cxx_try_compile LINENO
1970 # ----------------------------
1971 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_compile ()
1973 {
1974   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975   rm -f conftest.$ac_objext
1976   if { { ac_try="$ac_compile"
1977 case "(($ac_try" in
1978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979   *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983   (eval "$ac_compile") 2>conftest.err
1984   ac_status=$?
1985   if test -s conftest.err; then
1986     grep -v '^ *+' conftest.err >conftest.er1
1987     cat conftest.er1 >&5
1988     mv -f conftest.er1 conftest.err
1989   fi
1990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991   test $ac_status = 0; } && {
1992          test -z "$ac_cxx_werror_flag" ||
1993          test ! -s conftest.err
1994        } && test -s conftest.$ac_objext; then :
1995   ac_retval=0
1996 else
1997   $as_echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
1999 
2000         ac_retval=1
2001 fi
2002   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003   as_fn_set_status $ac_retval
2004 
2005 } # ac_fn_cxx_try_compile
2006 
2007 # ac_fn_objc_try_compile LINENO
2008 # -----------------------------
2009 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2010 ac_fn_objc_try_compile ()
2011 {
2012   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013   rm -f conftest.$ac_objext
2014   if { { ac_try="$ac_compile"
2015 case "(($ac_try" in
2016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017   *) ac_try_echo=$ac_try;;
2018 esac
2019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021   (eval "$ac_compile") 2>conftest.err
2022   ac_status=$?
2023   if test -s conftest.err; then
2024     grep -v '^ *+' conftest.err >conftest.er1
2025     cat conftest.er1 >&5
2026     mv -f conftest.er1 conftest.err
2027   fi
2028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029   test $ac_status = 0; } && {
2030          test -z "$ac_objc_werror_flag" ||
2031          test ! -s conftest.err
2032        } && test -s conftest.$ac_objext; then :
2033   ac_retval=0
2034 else
2035   $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2037 
2038         ac_retval=1
2039 fi
2040   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041   as_fn_set_status $ac_retval
2042 
2043 } # ac_fn_objc_try_compile
2044 
2045 # ac_fn_c_try_cpp LINENO
2046 # ----------------------
2047 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2048 ac_fn_c_try_cpp ()
2049 {
2050   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051   if { { ac_try="$ac_cpp conftest.$ac_ext"
2052 case "(($ac_try" in
2053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2054   *) ac_try_echo=$ac_try;;
2055 esac
2056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057 $as_echo "$ac_try_echo"; } >&5
2058   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2059   ac_status=$?
2060   if test -s conftest.err; then
2061     grep -v '^ *+' conftest.err >conftest.er1
2062     cat conftest.er1 >&5
2063     mv -f conftest.er1 conftest.err
2064   fi
2065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2066   test $ac_status = 0; } > conftest.i && {
2067          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2068          test ! -s conftest.err
2069        }; then :
2070   ac_retval=0
2071 else
2072   $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2074 
2075     ac_retval=1
2076 fi
2077   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078   as_fn_set_status $ac_retval
2079 
2080 } # ac_fn_c_try_cpp
2081 
2082 # ac_fn_cxx_try_cpp LINENO
2083 # ------------------------
2084 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2085 ac_fn_cxx_try_cpp ()
2086 {
2087   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088   if { { ac_try="$ac_cpp conftest.$ac_ext"
2089 case "(($ac_try" in
2090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2091   *) ac_try_echo=$ac_try;;
2092 esac
2093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2094 $as_echo "$ac_try_echo"; } >&5
2095   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2096   ac_status=$?
2097   if test -s conftest.err; then
2098     grep -v '^ *+' conftest.err >conftest.er1
2099     cat conftest.er1 >&5
2100     mv -f conftest.er1 conftest.err
2101   fi
2102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2103   test $ac_status = 0; } > conftest.i && {
2104          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2105          test ! -s conftest.err
2106        }; then :
2107   ac_retval=0
2108 else
2109   $as_echo "$as_me: failed program was:" >&5
2110 sed 's/^/| /' conftest.$ac_ext >&5
2111 
2112     ac_retval=1
2113 fi
2114   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115   as_fn_set_status $ac_retval
2116 
2117 } # ac_fn_cxx_try_cpp
2118 
2119 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2120 # ---------------------------------------------------------
2121 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2122 # the include files in INCLUDES and setting the cache variable VAR
2123 # accordingly.
2124 ac_fn_cxx_check_header_mongrel ()
2125 {
2126   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127   if eval \${$3+:} false; then :
2128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if eval \${$3+:} false; then :
2131   $as_echo_n "(cached) " >&6
2132 fi
2133 eval ac_res=\$$3
2134                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 else
2137   # Is the header compilable?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2139 $as_echo_n "checking $2 usability... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h.  */
2142 $4
2143 #include <$2>
2144 _ACEOF
2145 if ac_fn_cxx_try_compile "$LINENO"; then :
2146   ac_header_compiler=yes
2147 else
2148   ac_header_compiler=no
2149 fi
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext


2177     ;;
2178   no:yes:* )
2179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2180 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2182 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2184 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2185     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2186 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2187     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2188 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 ( $as_echo "## ----------------------------------------- ##
2190 ## Report this to build-dev@openjdk.java.net ##
2191 ## ----------------------------------------- ##"
2192      ) | sed "s/^/$as_me: WARNING:     /" >&2
2193     ;;
2194 esac
2195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if eval \${$3+:} false; then :
2198   $as_echo_n "(cached) " >&6
2199 else
2200   eval "$3=\$ac_header_compiler"
2201 fi
2202 eval ac_res=\$$3
2203                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205 fi
2206   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2207 
2208 } # ac_fn_cxx_check_header_mongrel
2209 
2210 # ac_fn_cxx_try_run LINENO
2211 # ------------------------
2212 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2213 # that executables *can* be run.
2214 ac_fn_cxx_try_run ()
2215 {
2216   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217   if { { ac_try="$ac_link"
2218 case "(($ac_try" in
2219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220   *) ac_try_echo=$ac_try;;
2221 esac
2222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224   (eval "$ac_link") 2>&5
2225   ac_status=$?
2226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2228   { { case "(($ac_try" in
2229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2230   *) ac_try_echo=$ac_try;;
2231 esac
2232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2233 $as_echo "$ac_try_echo"; } >&5
2234   (eval "$ac_try") 2>&5
2235   ac_status=$?
2236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2237   test $ac_status = 0; }; }; then :
2238   ac_retval=0
2239 else
2240   $as_echo "$as_me: program exited with status $ac_status" >&5
2241        $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2243 
2244        ac_retval=$ac_status
2245 fi
2246   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2247   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2248   as_fn_set_status $ac_retval
2249 
2250 } # ac_fn_cxx_try_run
2251 
2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2253 # ---------------------------------------------------------
2254 # Tests whether HEADER exists and can be compiled using the include files in
2255 # INCLUDES, setting the cache variable VAR accordingly.
2256 ac_fn_cxx_check_header_compile ()
2257 {
2258   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2261 if eval \${$3+:} false; then :
2262   $as_echo_n "(cached) " >&6
2263 else
2264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2265 /* end confdefs.h.  */
2266 $4
2267 #include <$2>
2268 _ACEOF
2269 if ac_fn_cxx_try_compile "$LINENO"; then :
2270   eval "$3=yes"
2271 else
2272   eval "$3=no"
2273 fi
2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2275 fi
2276 eval ac_res=\$$3
2277                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2279   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280 
2281 } # ac_fn_cxx_check_header_compile
2282 
2283 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
2284 # ----------------------------------------------
2285 # Tries to find the compile-time value of EXPR in a program that includes
2286 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2287 # computed
2288 ac_fn_cxx_compute_int ()
2289 {
2290   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291   if test "$cross_compiling" = yes; then
2292     # Depending upon the size, compute the lo and hi bounds.
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h.  */
2295 $4
2296 int
2297 main ()
2298 {
2299 static int test_array [1 - 2 * !(($2) >= 0)];


2436       fprintf (f, "%lu", i);
2437     }
2438   /* Do not output a trailing newline, as this causes \r\n confusion
2439      on some platforms.  */
2440   return ferror (f) || fclose (f) != 0;
2441 
2442   ;
2443   return 0;
2444 }
2445 _ACEOF
2446 if ac_fn_cxx_try_run "$LINENO"; then :
2447   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2448 else
2449   ac_retval=1
2450 fi
2451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2452   conftest.$ac_objext conftest.beam conftest.$ac_ext
2453 rm -f conftest.val
2454 
2455   fi
2456   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2457   as_fn_set_status $ac_retval
2458 
2459 } # ac_fn_cxx_compute_int
2460 
2461 # ac_fn_cxx_try_link LINENO
2462 # -------------------------
2463 # Try to link conftest.$ac_ext, and return whether this succeeded.
2464 ac_fn_cxx_try_link ()
2465 {
2466   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2467   rm -f conftest.$ac_objext conftest$ac_exeext
2468   if { { ac_try="$ac_link"
2469 case "(($ac_try" in
2470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2471   *) ac_try_echo=$ac_try;;
2472 esac
2473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2474 $as_echo "$ac_try_echo"; } >&5
2475   (eval "$ac_link") 2>conftest.err
2476   ac_status=$?


2482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2483   test $ac_status = 0; } && {
2484          test -z "$ac_cxx_werror_flag" ||
2485          test ! -s conftest.err
2486        } && test -s conftest$ac_exeext && {
2487          test "$cross_compiling" = yes ||
2488          $as_test_x conftest$ac_exeext
2489        }; then :
2490   ac_retval=0
2491 else
2492   $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2494 
2495         ac_retval=1
2496 fi
2497   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2498   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2499   # interfere with the next link command; also delete a directory that is
2500   # left behind by Apple's compiler.  We do this before executing the actions.
2501   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2502   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2503   as_fn_set_status $ac_retval
2504 
2505 } # ac_fn_cxx_try_link
2506 
2507 # ac_fn_cxx_check_func LINENO FUNC VAR
2508 # ------------------------------------
2509 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2510 ac_fn_cxx_check_func ()
2511 {
2512   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2514 $as_echo_n "checking for $2... " >&6; }
2515 if eval \${$3+:} false; then :
2516   $as_echo_n "(cached) " >&6
2517 else
2518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h.  */
2520 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2522 #define $2 innocuous_$2
2523 
2524 /* System header to define __stub macros and hopefully few prototypes,
2525     which can conflict with char $2 (); below.
2526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2527     <limits.h> exists even on freestanding compilers.  */
2528 
2529 #ifdef __STDC__
2530 # include <limits.h>
2531 #else
2532 # include <assert.h>
2533 #endif
2534 
2535 #undef $2


2550 
2551 int
2552 main ()
2553 {
2554 return $2 ();
2555   ;
2556   return 0;
2557 }
2558 _ACEOF
2559 if ac_fn_cxx_try_link "$LINENO"; then :
2560   eval "$3=yes"
2561 else
2562   eval "$3=no"
2563 fi
2564 rm -f core conftest.err conftest.$ac_objext \
2565     conftest$ac_exeext conftest.$ac_ext
2566 fi
2567 eval ac_res=\$$3
2568                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2569 $as_echo "$ac_res" >&6; }
2570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2571 
2572 } # ac_fn_cxx_check_func
2573 
2574 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2575 # -------------------------------------------------------
2576 # Tests whether HEADER exists and can be compiled using the include files in
2577 # INCLUDES, setting the cache variable VAR accordingly.
2578 ac_fn_c_check_header_compile ()
2579 {
2580   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2582 $as_echo_n "checking for $2... " >&6; }
2583 if eval \${$3+:} false; then :
2584   $as_echo_n "(cached) " >&6
2585 else
2586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h.  */
2588 $4
2589 #include <$2>
2590 _ACEOF
2591 if ac_fn_c_try_compile "$LINENO"; then :
2592   eval "$3=yes"
2593 else
2594   eval "$3=no"
2595 fi
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 fi
2598 eval ac_res=\$$3
2599                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 
2603 } # ac_fn_c_check_header_compile
2604 cat >config.log <<_ACEOF
2605 This file contains any messages produced by compilers while
2606 running configure, to aid debugging if configure makes a mistake.
2607 
2608 It was created by OpenJDK $as_me jdk8, which was
2609 generated by GNU Autoconf 2.68.  Invocation command line was
2610 
2611   $ $0 $@
2612 
2613 _ACEOF
2614 exec 5>>config.log
2615 {
2616 cat <<_ASUNAME
2617 ## --------- ##
2618 ## Platform. ##
2619 ## --------- ##
2620 
2621 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2622 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2623 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2624 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2625 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2626 
2627 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2628 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2629 


2847     *)   ac_site_file1=./$CONFIG_SITE;;
2848   esac
2849 elif test "x$prefix" != xNONE; then
2850   ac_site_file1=$prefix/share/config.site
2851   ac_site_file2=$prefix/etc/config.site
2852 else
2853   ac_site_file1=$ac_default_prefix/share/config.site
2854   ac_site_file2=$ac_default_prefix/etc/config.site
2855 fi
2856 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2857 do
2858   test "x$ac_site_file" = xNONE && continue
2859   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2860     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2861 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2862     sed 's/^/| /' "$ac_site_file" >&5
2863     . "$ac_site_file" \
2864       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2866 as_fn_error $? "failed to load site script $ac_site_file
2867 See \`config.log' for more details" "$LINENO" 5; }
2868   fi
2869 done
2870 
2871 if test -r "$cache_file"; then
2872   # Some versions of bash will fail to source /dev/null (special files
2873   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2874   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2875     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2876 $as_echo "$as_me: loading cache $cache_file" >&6;}
2877     case $cache_file in
2878       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2879       *)                      . "./$cache_file";;
2880     esac
2881   fi
2882 else
2883   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2884 $as_echo "$as_me: creating cache $cache_file" >&6;}
2885   >$cache_file
2886 fi
2887 


3576 #
3577 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3578 # or visit www.oracle.com if you need additional information or have any
3579 # questions.
3580 #
3581 
3582 
3583 
3584 
3585 
3586 
3587 
3588 
3589 
3590 
3591 
3592 
3593 
3594 
3595 
3596 
3597 
3598 #
3599 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3600 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3601 #
3602 # This code is free software; you can redistribute it and/or modify it
3603 # under the terms of the GNU General Public License version 2 only, as
3604 # published by the Free Software Foundation.  Oracle designates this
3605 # particular file as subject to the "Classpath" exception as provided
3606 # by Oracle in the LICENSE file that accompanied this code.
3607 #
3608 # This code is distributed in the hope that it will be useful, but WITHOUT
3609 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3610 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3611 # version 2 for more details (a copy is included in the LICENSE file that
3612 # accompanied this code).
3613 #
3614 # You should have received a copy of the GNU General Public License version
3615 # 2 along with this work; if not, write to the Free Software Foundation,
3616 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3617 #


3824 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3826 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}
3827 
3828 
3829 
3830 # Start with tools that do not need have cross compilation support
3831 # and can be expected to be found in the default PATH. These tools are
3832 # used by configure. Nor are these tools expected to be found in the
3833 # devkit from the builddeps server either, since they are
3834 # needed to download the devkit.
3835 
3836 # First are all the simple required tools.
3837 
3838     for ac_prog in basename
3839 do
3840   # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy $ac_prog; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_path_BASENAME+:} false; then :
3845   $as_echo_n "(cached) " >&6
3846 else
3847   case $BASENAME in
3848   [\\/]* | ?:[\\/]*)
3849   ac_cv_path_BASENAME="$BASENAME" # Let the user override the test with a path.
3850   ;;
3851   *)
3852   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 for as_dir in $PATH
3854 do
3855   IFS=$as_save_IFS
3856   test -z "$as_dir" && as_dir=.
3857     for ac_exec_ext in '' $ac_executable_extensions; do
3858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3859     ac_cv_path_BASENAME="$as_dir/$ac_word$ac_exec_ext"
3860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861     break 2
3862   fi
3863 done
3864   done


3883 
3884     if test "x$BASENAME" = x; then
3885         if test "xbasename" = x; then
3886           PROG_NAME=basename
3887         else
3888           PROG_NAME=basename
3889         fi
3890         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
3891 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
3892         as_fn_error $? "Cannot continue" "$LINENO" 5
3893     fi
3894 
3895 
3896 
3897     for ac_prog in bash
3898 do
3899   # Extract the first word of "$ac_prog", so it can be a program name with args.
3900 set dummy $ac_prog; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_path_BASH+:} false; then :
3904   $as_echo_n "(cached) " >&6
3905 else
3906   case $BASH in
3907   [\\/]* | ?:[\\/]*)
3908   ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
3909   ;;
3910   *)
3911   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3913 do
3914   IFS=$as_save_IFS
3915   test -z "$as_dir" && as_dir=.
3916     for ac_exec_ext in '' $ac_executable_extensions; do
3917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3918     ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
3919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920     break 2
3921   fi
3922 done
3923   done


3942 
3943     if test "x$BASH" = x; then
3944         if test "xbash" = x; then
3945           PROG_NAME=bash
3946         else
3947           PROG_NAME=bash
3948         fi
3949         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
3950 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
3951         as_fn_error $? "Cannot continue" "$LINENO" 5
3952     fi
3953 
3954 
3955 
3956     for ac_prog in cat
3957 do
3958   # Extract the first word of "$ac_prog", so it can be a program name with args.
3959 set dummy $ac_prog; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_path_CAT+:} false; then :
3963   $as_echo_n "(cached) " >&6
3964 else
3965   case $CAT in
3966   [\\/]* | ?:[\\/]*)
3967   ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
3968   ;;
3969   *)
3970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971 for as_dir in $PATH
3972 do
3973   IFS=$as_save_IFS
3974   test -z "$as_dir" && as_dir=.
3975     for ac_exec_ext in '' $ac_executable_extensions; do
3976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3977     ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
3978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3979     break 2
3980   fi
3981 done
3982   done


4001 
4002     if test "x$CAT" = x; then
4003         if test "xcat" = x; then
4004           PROG_NAME=cat
4005         else
4006           PROG_NAME=cat
4007         fi
4008         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4009 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4010         as_fn_error $? "Cannot continue" "$LINENO" 5
4011     fi
4012 
4013 
4014 
4015     for ac_prog in chmod
4016 do
4017   # Extract the first word of "$ac_prog", so it can be a program name with args.
4018 set dummy $ac_prog; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_path_CHMOD+:} false; then :
4022   $as_echo_n "(cached) " >&6
4023 else
4024   case $CHMOD in
4025   [\\/]* | ?:[\\/]*)
4026   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
4027   ;;
4028   *)
4029   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 for as_dir in $PATH
4031 do
4032   IFS=$as_save_IFS
4033   test -z "$as_dir" && as_dir=.
4034     for ac_exec_ext in '' $ac_executable_extensions; do
4035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
4037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038     break 2
4039   fi
4040 done
4041   done


4060 
4061     if test "x$CHMOD" = x; then
4062         if test "xchmod" = x; then
4063           PROG_NAME=chmod
4064         else
4065           PROG_NAME=chmod
4066         fi
4067         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4068 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4069         as_fn_error $? "Cannot continue" "$LINENO" 5
4070     fi
4071 
4072 
4073 
4074     for ac_prog in cmp
4075 do
4076   # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy $ac_prog; ac_word=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if ${ac_cv_path_CMP+:} false; then :
4081   $as_echo_n "(cached) " >&6
4082 else
4083   case $CMP in
4084   [\\/]* | ?:[\\/]*)
4085   ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
4086   ;;
4087   *)
4088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH
4090 do
4091   IFS=$as_save_IFS
4092   test -z "$as_dir" && as_dir=.
4093     for ac_exec_ext in '' $ac_executable_extensions; do
4094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4095     ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
4096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097     break 2
4098   fi
4099 done
4100   done


4119 
4120     if test "x$CMP" = x; then
4121         if test "xcmp" = x; then
4122           PROG_NAME=cmp
4123         else
4124           PROG_NAME=cmp
4125         fi
4126         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4127 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4128         as_fn_error $? "Cannot continue" "$LINENO" 5
4129     fi
4130 
4131 
4132 
4133     for ac_prog in comm
4134 do
4135   # Extract the first word of "$ac_prog", so it can be a program name with args.
4136 set dummy $ac_prog; ac_word=$2
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 $as_echo_n "checking for $ac_word... " >&6; }
4139 if ${ac_cv_path_COMM+:} false; then :
4140   $as_echo_n "(cached) " >&6
4141 else
4142   case $COMM in
4143   [\\/]* | ?:[\\/]*)
4144   ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
4145   ;;
4146   *)
4147   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4148 for as_dir in $PATH
4149 do
4150   IFS=$as_save_IFS
4151   test -z "$as_dir" && as_dir=.
4152     for ac_exec_ext in '' $ac_executable_extensions; do
4153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154     ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
4155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4156     break 2
4157   fi
4158 done
4159   done


4178 
4179     if test "x$COMM" = x; then
4180         if test "xcomm" = x; then
4181           PROG_NAME=comm
4182         else
4183           PROG_NAME=comm
4184         fi
4185         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4186 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4187         as_fn_error $? "Cannot continue" "$LINENO" 5
4188     fi
4189 
4190 
4191 
4192     for ac_prog in cp
4193 do
4194   # Extract the first word of "$ac_prog", so it can be a program name with args.
4195 set dummy $ac_prog; ac_word=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_path_CP+:} false; then :
4199   $as_echo_n "(cached) " >&6
4200 else
4201   case $CP in
4202   [\\/]* | ?:[\\/]*)
4203   ac_cv_path_CP="$CP" # Let the user override the test with a path.
4204   ;;
4205   *)
4206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 for as_dir in $PATH
4208 do
4209   IFS=$as_save_IFS
4210   test -z "$as_dir" && as_dir=.
4211     for ac_exec_ext in '' $ac_executable_extensions; do
4212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4213     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
4214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215     break 2
4216   fi
4217 done
4218   done


4237 
4238     if test "x$CP" = x; then
4239         if test "xcp" = x; then
4240           PROG_NAME=cp
4241         else
4242           PROG_NAME=cp
4243         fi
4244         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4245 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4246         as_fn_error $? "Cannot continue" "$LINENO" 5
4247     fi
4248 
4249 
4250 
4251     for ac_prog in cpio
4252 do
4253   # Extract the first word of "$ac_prog", so it can be a program name with args.
4254 set dummy $ac_prog; ac_word=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if ${ac_cv_path_CPIO+:} false; then :
4258   $as_echo_n "(cached) " >&6
4259 else
4260   case $CPIO in
4261   [\\/]* | ?:[\\/]*)
4262   ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
4263   ;;
4264   *)
4265   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 for as_dir in $PATH
4267 do
4268   IFS=$as_save_IFS
4269   test -z "$as_dir" && as_dir=.
4270     for ac_exec_ext in '' $ac_executable_extensions; do
4271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4272     ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
4273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4274     break 2
4275   fi
4276 done
4277   done


4296 
4297     if test "x$CPIO" = x; then
4298         if test "xcpio" = x; then
4299           PROG_NAME=cpio
4300         else
4301           PROG_NAME=cpio
4302         fi
4303         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4304 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4305         as_fn_error $? "Cannot continue" "$LINENO" 5
4306     fi
4307 
4308 
4309 
4310     for ac_prog in cut
4311 do
4312   # Extract the first word of "$ac_prog", so it can be a program name with args.
4313 set dummy $ac_prog; ac_word=$2
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4315 $as_echo_n "checking for $ac_word... " >&6; }
4316 if ${ac_cv_path_CUT+:} false; then :
4317   $as_echo_n "(cached) " >&6
4318 else
4319   case $CUT in
4320   [\\/]* | ?:[\\/]*)
4321   ac_cv_path_CUT="$CUT" # Let the user override the test with a path.
4322   ;;
4323   *)
4324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH
4326 do
4327   IFS=$as_save_IFS
4328   test -z "$as_dir" && as_dir=.
4329     for ac_exec_ext in '' $ac_executable_extensions; do
4330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4331     ac_cv_path_CUT="$as_dir/$ac_word$ac_exec_ext"
4332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333     break 2
4334   fi
4335 done
4336   done


4355 
4356     if test "x$CUT" = x; then
4357         if test "xcut" = x; then
4358           PROG_NAME=cut
4359         else
4360           PROG_NAME=cut
4361         fi
4362         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4363 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4364         as_fn_error $? "Cannot continue" "$LINENO" 5
4365     fi
4366 
4367 
4368 
4369     for ac_prog in date
4370 do
4371   # Extract the first word of "$ac_prog", so it can be a program name with args.
4372 set dummy $ac_prog; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_path_DATE+:} false; then :
4376   $as_echo_n "(cached) " >&6
4377 else
4378   case $DATE in
4379   [\\/]* | ?:[\\/]*)
4380   ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
4381   ;;
4382   *)
4383   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4385 do
4386   IFS=$as_save_IFS
4387   test -z "$as_dir" && as_dir=.
4388     for ac_exec_ext in '' $ac_executable_extensions; do
4389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
4391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392     break 2
4393   fi
4394 done
4395   done


4414 
4415     if test "x$DATE" = x; then
4416         if test "xdate" = x; then
4417           PROG_NAME=date
4418         else
4419           PROG_NAME=date
4420         fi
4421         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4422 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4423         as_fn_error $? "Cannot continue" "$LINENO" 5
4424     fi
4425 
4426 
4427 
4428     for ac_prog in gdiff diff
4429 do
4430   # Extract the first word of "$ac_prog", so it can be a program name with args.
4431 set dummy $ac_prog; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_path_DIFF+:} false; then :
4435   $as_echo_n "(cached) " >&6
4436 else
4437   case $DIFF in
4438   [\\/]* | ?:[\\/]*)
4439   ac_cv_path_DIFF="$DIFF" # Let the user override the test with a path.
4440   ;;
4441   *)
4442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445   IFS=$as_save_IFS
4446   test -z "$as_dir" && as_dir=.
4447     for ac_exec_ext in '' $ac_executable_extensions; do
4448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449     ac_cv_path_DIFF="$as_dir/$ac_word$ac_exec_ext"
4450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451     break 2
4452   fi
4453 done
4454   done


4473 
4474     if test "x$DIFF" = x; then
4475         if test "xgdiff diff" = x; then
4476           PROG_NAME=diff
4477         else
4478           PROG_NAME=gdiff diff
4479         fi
4480         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4481 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4482         as_fn_error $? "Cannot continue" "$LINENO" 5
4483     fi
4484 
4485 
4486 
4487     for ac_prog in dirname
4488 do
4489   # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_path_DIRNAME+:} false; then :
4494   $as_echo_n "(cached) " >&6
4495 else
4496   case $DIRNAME in
4497   [\\/]* | ?:[\\/]*)
4498   ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path.
4499   ;;
4500   *)
4501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH
4503 do
4504   IFS=$as_save_IFS
4505   test -z "$as_dir" && as_dir=.
4506     for ac_exec_ext in '' $ac_executable_extensions; do
4507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4508     ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
4509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4510     break 2
4511   fi
4512 done
4513   done


4532 
4533     if test "x$DIRNAME" = x; then
4534         if test "xdirname" = x; then
4535           PROG_NAME=dirname
4536         else
4537           PROG_NAME=dirname
4538         fi
4539         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4540 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4541         as_fn_error $? "Cannot continue" "$LINENO" 5
4542     fi
4543 
4544 
4545 
4546     for ac_prog in echo
4547 do
4548   # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy $ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_path_ECHO+:} false; then :
4553   $as_echo_n "(cached) " >&6
4554 else
4555   case $ECHO in
4556   [\\/]* | ?:[\\/]*)
4557   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
4558   ;;
4559   *)
4560   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4562 do
4563   IFS=$as_save_IFS
4564   test -z "$as_dir" && as_dir=.
4565     for ac_exec_ext in '' $ac_executable_extensions; do
4566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
4568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569     break 2
4570   fi
4571 done
4572   done


4591 
4592     if test "x$ECHO" = x; then
4593         if test "xecho" = x; then
4594           PROG_NAME=echo
4595         else
4596           PROG_NAME=echo
4597         fi
4598         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4599 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4600         as_fn_error $? "Cannot continue" "$LINENO" 5
4601     fi
4602 
4603 
4604 
4605     for ac_prog in expr
4606 do
4607   # Extract the first word of "$ac_prog", so it can be a program name with args.
4608 set dummy $ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_path_EXPR+:} false; then :
4612   $as_echo_n "(cached) " >&6
4613 else
4614   case $EXPR in
4615   [\\/]* | ?:[\\/]*)
4616   ac_cv_path_EXPR="$EXPR" # Let the user override the test with a path.
4617   ;;
4618   *)
4619   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 for as_dir in $PATH
4621 do
4622   IFS=$as_save_IFS
4623   test -z "$as_dir" && as_dir=.
4624     for ac_exec_ext in '' $ac_executable_extensions; do
4625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626     ac_cv_path_EXPR="$as_dir/$ac_word$ac_exec_ext"
4627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628     break 2
4629   fi
4630 done
4631   done


4650 
4651     if test "x$EXPR" = x; then
4652         if test "xexpr" = x; then
4653           PROG_NAME=expr
4654         else
4655           PROG_NAME=expr
4656         fi
4657         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4658 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4659         as_fn_error $? "Cannot continue" "$LINENO" 5
4660     fi
4661 
4662 
4663 
4664     for ac_prog in file
4665 do
4666   # Extract the first word of "$ac_prog", so it can be a program name with args.
4667 set dummy $ac_prog; ac_word=$2
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if ${ac_cv_path_FILE+:} false; then :
4671   $as_echo_n "(cached) " >&6
4672 else
4673   case $FILE in
4674   [\\/]* | ?:[\\/]*)
4675   ac_cv_path_FILE="$FILE" # Let the user override the test with a path.
4676   ;;
4677   *)
4678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4680 do
4681   IFS=$as_save_IFS
4682   test -z "$as_dir" && as_dir=.
4683     for ac_exec_ext in '' $ac_executable_extensions; do
4684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685     ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext"
4686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687     break 2
4688   fi
4689 done
4690   done


4709 
4710     if test "x$FILE" = x; then
4711         if test "xfile" = x; then
4712           PROG_NAME=file
4713         else
4714           PROG_NAME=file
4715         fi
4716         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4717 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4718         as_fn_error $? "Cannot continue" "$LINENO" 5
4719     fi
4720 
4721 
4722 
4723     for ac_prog in find
4724 do
4725   # Extract the first word of "$ac_prog", so it can be a program name with args.
4726 set dummy $ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_path_FIND+:} false; then :
4730   $as_echo_n "(cached) " >&6
4731 else
4732   case $FIND in
4733   [\\/]* | ?:[\\/]*)
4734   ac_cv_path_FIND="$FIND" # Let the user override the test with a path.
4735   ;;
4736   *)
4737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4739 do
4740   IFS=$as_save_IFS
4741   test -z "$as_dir" && as_dir=.
4742     for ac_exec_ext in '' $ac_executable_extensions; do
4743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4744     ac_cv_path_FIND="$as_dir/$ac_word$ac_exec_ext"
4745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746     break 2
4747   fi
4748 done
4749   done


4768 
4769     if test "x$FIND" = x; then
4770         if test "xfind" = x; then
4771           PROG_NAME=find
4772         else
4773           PROG_NAME=find
4774         fi
4775         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4776 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4777         as_fn_error $? "Cannot continue" "$LINENO" 5
4778     fi
4779 
4780 
4781 
4782     for ac_prog in head
4783 do
4784   # Extract the first word of "$ac_prog", so it can be a program name with args.
4785 set dummy $ac_prog; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_path_HEAD+:} false; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   case $HEAD in
4792   [\\/]* | ?:[\\/]*)
4793   ac_cv_path_HEAD="$HEAD" # Let the user override the test with a path.
4794   ;;
4795   *)
4796   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH
4798 do
4799   IFS=$as_save_IFS
4800   test -z "$as_dir" && as_dir=.
4801     for ac_exec_ext in '' $ac_executable_extensions; do
4802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4803     ac_cv_path_HEAD="$as_dir/$ac_word$ac_exec_ext"
4804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805     break 2
4806   fi
4807 done
4808   done


4827 
4828     if test "x$HEAD" = x; then
4829         if test "xhead" = x; then
4830           PROG_NAME=head
4831         else
4832           PROG_NAME=head
4833         fi
4834         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4835 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4836         as_fn_error $? "Cannot continue" "$LINENO" 5
4837     fi
4838 
4839 
4840 
4841     for ac_prog in ln
4842 do
4843   # Extract the first word of "$ac_prog", so it can be a program name with args.
4844 set dummy $ac_prog; ac_word=$2
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 $as_echo_n "checking for $ac_word... " >&6; }
4847 if ${ac_cv_path_LN+:} false; then :
4848   $as_echo_n "(cached) " >&6
4849 else
4850   case $LN in
4851   [\\/]* | ?:[\\/]*)
4852   ac_cv_path_LN="$LN" # Let the user override the test with a path.
4853   ;;
4854   *)
4855   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4857 do
4858   IFS=$as_save_IFS
4859   test -z "$as_dir" && as_dir=.
4860     for ac_exec_ext in '' $ac_executable_extensions; do
4861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864     break 2
4865   fi
4866 done
4867   done


4886 
4887     if test "x$LN" = x; then
4888         if test "xln" = x; then
4889           PROG_NAME=ln
4890         else
4891           PROG_NAME=ln
4892         fi
4893         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4894 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4895         as_fn_error $? "Cannot continue" "$LINENO" 5
4896     fi
4897 
4898 
4899 
4900     for ac_prog in ls
4901 do
4902   # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy $ac_prog; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_path_LS+:} false; then :
4907   $as_echo_n "(cached) " >&6
4908 else
4909   case $LS in
4910   [\\/]* | ?:[\\/]*)
4911   ac_cv_path_LS="$LS" # Let the user override the test with a path.
4912   ;;
4913   *)
4914   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 for as_dir in $PATH
4916 do
4917   IFS=$as_save_IFS
4918   test -z "$as_dir" && as_dir=.
4919     for ac_exec_ext in '' $ac_executable_extensions; do
4920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921     ac_cv_path_LS="$as_dir/$ac_word$ac_exec_ext"
4922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4923     break 2
4924   fi
4925 done
4926   done


4945 
4946     if test "x$LS" = x; then
4947         if test "xls" = x; then
4948           PROG_NAME=ls
4949         else
4950           PROG_NAME=ls
4951         fi
4952         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4953 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4954         as_fn_error $? "Cannot continue" "$LINENO" 5
4955     fi
4956 
4957 
4958 
4959     for ac_prog in mkdir
4960 do
4961   # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy $ac_prog; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_path_MKDIR+:} false; then :
4966   $as_echo_n "(cached) " >&6
4967 else
4968   case $MKDIR in
4969   [\\/]* | ?:[\\/]*)
4970   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
4971   ;;
4972   *)
4973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 for as_dir in $PATH
4975 do
4976   IFS=$as_save_IFS
4977   test -z "$as_dir" && as_dir=.
4978     for ac_exec_ext in '' $ac_executable_extensions; do
4979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4980     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982     break 2
4983   fi
4984 done
4985   done


5004 
5005     if test "x$MKDIR" = x; then
5006         if test "xmkdir" = x; then
5007           PROG_NAME=mkdir
5008         else
5009           PROG_NAME=mkdir
5010         fi
5011         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5012 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5013         as_fn_error $? "Cannot continue" "$LINENO" 5
5014     fi
5015 
5016 
5017 
5018     for ac_prog in mktemp
5019 do
5020   # Extract the first word of "$ac_prog", so it can be a program name with args.
5021 set dummy $ac_prog; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_path_MKTEMP+:} false; then :
5025   $as_echo_n "(cached) " >&6
5026 else
5027   case $MKTEMP in
5028   [\\/]* | ?:[\\/]*)
5029   ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path.
5030   ;;
5031   *)
5032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037     for ac_exec_ext in '' $ac_executable_extensions; do
5038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039     ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext"
5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044   done


5063 
5064     if test "x$MKTEMP" = x; then
5065         if test "xmktemp" = x; then
5066           PROG_NAME=mktemp
5067         else
5068           PROG_NAME=mktemp
5069         fi
5070         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5071 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5072         as_fn_error $? "Cannot continue" "$LINENO" 5
5073     fi
5074 
5075 
5076 
5077     for ac_prog in mv
5078 do
5079   # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy $ac_prog; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_path_MV+:} false; then :
5084   $as_echo_n "(cached) " >&6
5085 else
5086   case $MV in
5087   [\\/]* | ?:[\\/]*)
5088   ac_cv_path_MV="$MV" # Let the user override the test with a path.
5089   ;;
5090   *)
5091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_exec_ext in '' $ac_executable_extensions; do
5097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done


5122 
5123     if test "x$MV" = x; then
5124         if test "xmv" = x; then
5125           PROG_NAME=mv
5126         else
5127           PROG_NAME=mv
5128         fi
5129         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5130 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5131         as_fn_error $? "Cannot continue" "$LINENO" 5
5132     fi
5133 
5134 
5135 
5136     for ac_prog in printf
5137 do
5138   # Extract the first word of "$ac_prog", so it can be a program name with args.
5139 set dummy $ac_prog; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if ${ac_cv_path_PRINTF+:} false; then :
5143   $as_echo_n "(cached) " >&6
5144 else
5145   case $PRINTF in
5146   [\\/]* | ?:[\\/]*)
5147   ac_cv_path_PRINTF="$PRINTF" # Let the user override the test with a path.
5148   ;;
5149   *)
5150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5151 for as_dir in $PATH
5152 do
5153   IFS=$as_save_IFS
5154   test -z "$as_dir" && as_dir=.
5155     for ac_exec_ext in '' $ac_executable_extensions; do
5156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157     ac_cv_path_PRINTF="$as_dir/$ac_word$ac_exec_ext"
5158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159     break 2
5160   fi
5161 done
5162   done


5181 
5182     if test "x$PRINTF" = x; then
5183         if test "xprintf" = x; then
5184           PROG_NAME=printf
5185         else
5186           PROG_NAME=printf
5187         fi
5188         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5189 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5190         as_fn_error $? "Cannot continue" "$LINENO" 5
5191     fi
5192 
5193 
5194 
5195     for ac_prog in rm
5196 do
5197   # Extract the first word of "$ac_prog", so it can be a program name with args.
5198 set dummy $ac_prog; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_path_RM+:} false; then :
5202   $as_echo_n "(cached) " >&6
5203 else
5204   case $RM in
5205   [\\/]* | ?:[\\/]*)
5206   ac_cv_path_RM="$RM" # Let the user override the test with a path.
5207   ;;
5208   *)
5209   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5211 do
5212   IFS=$as_save_IFS
5213   test -z "$as_dir" && as_dir=.
5214     for ac_exec_ext in '' $ac_executable_extensions; do
5215   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
5217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5218     break 2
5219   fi
5220 done
5221   done


5240 
5241     if test "x$RM" = x; then
5242         if test "xrm" = x; then
5243           PROG_NAME=rm
5244         else
5245           PROG_NAME=rm
5246         fi
5247         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5248 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5249         as_fn_error $? "Cannot continue" "$LINENO" 5
5250     fi
5251 
5252 
5253 
5254     for ac_prog in sh
5255 do
5256   # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_path_SH+:} false; then :
5261   $as_echo_n "(cached) " >&6
5262 else
5263   case $SH in
5264   [\\/]* | ?:[\\/]*)
5265   ac_cv_path_SH="$SH" # Let the user override the test with a path.
5266   ;;
5267   *)
5268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5270 do
5271   IFS=$as_save_IFS
5272   test -z "$as_dir" && as_dir=.
5273     for ac_exec_ext in '' $ac_executable_extensions; do
5274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5275     ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
5276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277     break 2
5278   fi
5279 done
5280   done


5299 
5300     if test "x$SH" = x; then
5301         if test "xsh" = x; then
5302           PROG_NAME=sh
5303         else
5304           PROG_NAME=sh
5305         fi
5306         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5307 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5308         as_fn_error $? "Cannot continue" "$LINENO" 5
5309     fi
5310 
5311 
5312 
5313     for ac_prog in sort
5314 do
5315   # Extract the first word of "$ac_prog", so it can be a program name with args.
5316 set dummy $ac_prog; ac_word=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_path_SORT+:} false; then :
5320   $as_echo_n "(cached) " >&6
5321 else
5322   case $SORT in
5323   [\\/]* | ?:[\\/]*)
5324   ac_cv_path_SORT="$SORT" # Let the user override the test with a path.
5325   ;;
5326   *)
5327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5329 do
5330   IFS=$as_save_IFS
5331   test -z "$as_dir" && as_dir=.
5332     for ac_exec_ext in '' $ac_executable_extensions; do
5333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334     ac_cv_path_SORT="$as_dir/$ac_word$ac_exec_ext"
5335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336     break 2
5337   fi
5338 done
5339   done


5358 
5359     if test "x$SORT" = x; then
5360         if test "xsort" = x; then
5361           PROG_NAME=sort
5362         else
5363           PROG_NAME=sort
5364         fi
5365         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5366 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5367         as_fn_error $? "Cannot continue" "$LINENO" 5
5368     fi
5369 
5370 
5371 
5372     for ac_prog in tail
5373 do
5374   # Extract the first word of "$ac_prog", so it can be a program name with args.
5375 set dummy $ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_path_TAIL+:} false; then :
5379   $as_echo_n "(cached) " >&6
5380 else
5381   case $TAIL in
5382   [\\/]* | ?:[\\/]*)
5383   ac_cv_path_TAIL="$TAIL" # Let the user override the test with a path.
5384   ;;
5385   *)
5386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5388 do
5389   IFS=$as_save_IFS
5390   test -z "$as_dir" && as_dir=.
5391     for ac_exec_ext in '' $ac_executable_extensions; do
5392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5393     ac_cv_path_TAIL="$as_dir/$ac_word$ac_exec_ext"
5394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395     break 2
5396   fi
5397 done
5398   done


5417 
5418     if test "x$TAIL" = x; then
5419         if test "xtail" = x; then
5420           PROG_NAME=tail
5421         else
5422           PROG_NAME=tail
5423         fi
5424         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5425 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5426         as_fn_error $? "Cannot continue" "$LINENO" 5
5427     fi
5428 
5429 
5430 
5431     for ac_prog in tar
5432 do
5433   # Extract the first word of "$ac_prog", so it can be a program name with args.
5434 set dummy $ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_path_TAR+:} false; then :
5438   $as_echo_n "(cached) " >&6
5439 else
5440   case $TAR in
5441   [\\/]* | ?:[\\/]*)
5442   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
5443   ;;
5444   *)
5445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5447 do
5448   IFS=$as_save_IFS
5449   test -z "$as_dir" && as_dir=.
5450     for ac_exec_ext in '' $ac_executable_extensions; do
5451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5452     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
5453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454     break 2
5455   fi
5456 done
5457   done


5476 
5477     if test "x$TAR" = x; then
5478         if test "xtar" = x; then
5479           PROG_NAME=tar
5480         else
5481           PROG_NAME=tar
5482         fi
5483         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5484 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5485         as_fn_error $? "Cannot continue" "$LINENO" 5
5486     fi
5487 
5488 
5489 
5490     for ac_prog in tee
5491 do
5492   # Extract the first word of "$ac_prog", so it can be a program name with args.
5493 set dummy $ac_prog; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_path_TEE+:} false; then :
5497   $as_echo_n "(cached) " >&6
5498 else
5499   case $TEE in
5500   [\\/]* | ?:[\\/]*)
5501   ac_cv_path_TEE="$TEE" # Let the user override the test with a path.
5502   ;;
5503   *)
5504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5506 do
5507   IFS=$as_save_IFS
5508   test -z "$as_dir" && as_dir=.
5509     for ac_exec_ext in '' $ac_executable_extensions; do
5510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5511     ac_cv_path_TEE="$as_dir/$ac_word$ac_exec_ext"
5512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513     break 2
5514   fi
5515 done
5516   done


5535 
5536     if test "x$TEE" = x; then
5537         if test "xtee" = x; then
5538           PROG_NAME=tee
5539         else
5540           PROG_NAME=tee
5541         fi
5542         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5543 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5544         as_fn_error $? "Cannot continue" "$LINENO" 5
5545     fi
5546 
5547 
5548 
5549     for ac_prog in touch
5550 do
5551   # Extract the first word of "$ac_prog", so it can be a program name with args.
5552 set dummy $ac_prog; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_path_TOUCH+:} false; then :
5556   $as_echo_n "(cached) " >&6
5557 else
5558   case $TOUCH in
5559   [\\/]* | ?:[\\/]*)
5560   ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path.
5561   ;;
5562   *)
5563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5565 do
5566   IFS=$as_save_IFS
5567   test -z "$as_dir" && as_dir=.
5568     for ac_exec_ext in '' $ac_executable_extensions; do
5569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570     ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
5571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572     break 2
5573   fi
5574 done
5575   done


5594 
5595     if test "x$TOUCH" = x; then
5596         if test "xtouch" = x; then
5597           PROG_NAME=touch
5598         else
5599           PROG_NAME=touch
5600         fi
5601         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5602 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5603         as_fn_error $? "Cannot continue" "$LINENO" 5
5604     fi
5605 
5606 
5607 
5608     for ac_prog in tr
5609 do
5610   # Extract the first word of "$ac_prog", so it can be a program name with args.
5611 set dummy $ac_prog; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_path_TR+:} false; then :
5615   $as_echo_n "(cached) " >&6
5616 else
5617   case $TR in
5618   [\\/]* | ?:[\\/]*)
5619   ac_cv_path_TR="$TR" # Let the user override the test with a path.
5620   ;;
5621   *)
5622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5623 for as_dir in $PATH
5624 do
5625   IFS=$as_save_IFS
5626   test -z "$as_dir" && as_dir=.
5627     for ac_exec_ext in '' $ac_executable_extensions; do
5628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5629     ac_cv_path_TR="$as_dir/$ac_word$ac_exec_ext"
5630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5631     break 2
5632   fi
5633 done
5634   done


5653 
5654     if test "x$TR" = x; then
5655         if test "xtr" = x; then
5656           PROG_NAME=tr
5657         else
5658           PROG_NAME=tr
5659         fi
5660         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5661 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5662         as_fn_error $? "Cannot continue" "$LINENO" 5
5663     fi
5664 
5665 
5666 
5667     for ac_prog in uname
5668 do
5669   # Extract the first word of "$ac_prog", so it can be a program name with args.
5670 set dummy $ac_prog; ac_word=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if ${ac_cv_path_UNAME+:} false; then :
5674   $as_echo_n "(cached) " >&6
5675 else
5676   case $UNAME in
5677   [\\/]* | ?:[\\/]*)
5678   ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
5679   ;;
5680   *)
5681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5683 do
5684   IFS=$as_save_IFS
5685   test -z "$as_dir" && as_dir=.
5686     for ac_exec_ext in '' $ac_executable_extensions; do
5687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688     ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690     break 2
5691   fi
5692 done
5693   done


5712 
5713     if test "x$UNAME" = x; then
5714         if test "xuname" = x; then
5715           PROG_NAME=uname
5716         else
5717           PROG_NAME=uname
5718         fi
5719         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5720 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5721         as_fn_error $? "Cannot continue" "$LINENO" 5
5722     fi
5723 
5724 
5725 
5726     for ac_prog in uniq
5727 do
5728   # Extract the first word of "$ac_prog", so it can be a program name with args.
5729 set dummy $ac_prog; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_path_UNIQ+:} false; then :
5733   $as_echo_n "(cached) " >&6
5734 else
5735   case $UNIQ in
5736   [\\/]* | ?:[\\/]*)
5737   ac_cv_path_UNIQ="$UNIQ" # Let the user override the test with a path.
5738   ;;
5739   *)
5740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5742 do
5743   IFS=$as_save_IFS
5744   test -z "$as_dir" && as_dir=.
5745     for ac_exec_ext in '' $ac_executable_extensions; do
5746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747     ac_cv_path_UNIQ="$as_dir/$ac_word$ac_exec_ext"
5748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749     break 2
5750   fi
5751 done
5752   done


5771 
5772     if test "x$UNIQ" = x; then
5773         if test "xuniq" = x; then
5774           PROG_NAME=uniq
5775         else
5776           PROG_NAME=uniq
5777         fi
5778         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5779 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5780         as_fn_error $? "Cannot continue" "$LINENO" 5
5781     fi
5782 
5783 
5784 
5785     for ac_prog in wc
5786 do
5787   # Extract the first word of "$ac_prog", so it can be a program name with args.
5788 set dummy $ac_prog; ac_word=$2
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790 $as_echo_n "checking for $ac_word... " >&6; }
5791 if ${ac_cv_path_WC+:} false; then :
5792   $as_echo_n "(cached) " >&6
5793 else
5794   case $WC in
5795   [\\/]* | ?:[\\/]*)
5796   ac_cv_path_WC="$WC" # Let the user override the test with a path.
5797   ;;
5798   *)
5799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5801 do
5802   IFS=$as_save_IFS
5803   test -z "$as_dir" && as_dir=.
5804     for ac_exec_ext in '' $ac_executable_extensions; do
5805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806     ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext"
5807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808     break 2
5809   fi
5810 done
5811   done


5830 
5831     if test "x$WC" = x; then
5832         if test "xwc" = x; then
5833           PROG_NAME=wc
5834         else
5835           PROG_NAME=wc
5836         fi
5837         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5838 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5839         as_fn_error $? "Cannot continue" "$LINENO" 5
5840     fi
5841 
5842 
5843 
5844     for ac_prog in which
5845 do
5846   # Extract the first word of "$ac_prog", so it can be a program name with args.
5847 set dummy $ac_prog; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_path_WHICH+:} false; then :
5851   $as_echo_n "(cached) " >&6
5852 else
5853   case $WHICH in
5854   [\\/]* | ?:[\\/]*)
5855   ac_cv_path_WHICH="$WHICH" # Let the user override the test with a path.
5856   ;;
5857   *)
5858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5860 do
5861   IFS=$as_save_IFS
5862   test -z "$as_dir" && as_dir=.
5863     for ac_exec_ext in '' $ac_executable_extensions; do
5864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5865     ac_cv_path_WHICH="$as_dir/$ac_word$ac_exec_ext"
5866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867     break 2
5868   fi
5869 done
5870   done


5889 
5890     if test "x$WHICH" = x; then
5891         if test "xwhich" = x; then
5892           PROG_NAME=which
5893         else
5894           PROG_NAME=which
5895         fi
5896         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5897 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5898         as_fn_error $? "Cannot continue" "$LINENO" 5
5899     fi
5900 
5901 
5902 
5903     for ac_prog in xargs
5904 do
5905   # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_path_XARGS+:} false; then :
5910   $as_echo_n "(cached) " >&6
5911 else
5912   case $XARGS in
5913   [\\/]* | ?:[\\/]*)
5914   ac_cv_path_XARGS="$XARGS" # Let the user override the test with a path.
5915   ;;
5916   *)
5917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5919 do
5920   IFS=$as_save_IFS
5921   test -z "$as_dir" && as_dir=.
5922     for ac_exec_ext in '' $ac_executable_extensions; do
5923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924     ac_cv_path_XARGS="$as_dir/$ac_word$ac_exec_ext"
5925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926     break 2
5927   fi
5928 done
5929   done


5949     if test "x$XARGS" = x; then
5950         if test "xxargs" = x; then
5951           PROG_NAME=xargs
5952         else
5953           PROG_NAME=xargs
5954         fi
5955         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
5956 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
5957         as_fn_error $? "Cannot continue" "$LINENO" 5
5958     fi
5959 
5960 
5961 
5962 # Then required tools that require some special treatment.
5963 for ac_prog in gawk mawk nawk awk
5964 do
5965   # Extract the first word of "$ac_prog", so it can be a program name with args.
5966 set dummy $ac_prog; ac_word=$2
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968 $as_echo_n "checking for $ac_word... " >&6; }
5969 if ${ac_cv_prog_AWK+:} false; then :
5970   $as_echo_n "(cached) " >&6
5971 else
5972   if test -n "$AWK"; then
5973   ac_cv_prog_AWK="$AWK" # Let the user override the test.
5974 else
5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5976 for as_dir in $PATH
5977 do
5978   IFS=$as_save_IFS
5979   test -z "$as_dir" && as_dir=.
5980     for ac_exec_ext in '' $ac_executable_extensions; do
5981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982     ac_cv_prog_AWK="$ac_prog"
5983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5984     break 2
5985   fi
5986 done
5987   done
5988 IFS=$as_save_IFS
5989 


5999 fi
6000 
6001 
6002   test -n "$AWK" && break
6003 done
6004 
6005 
6006     if test "x$AWK" = x; then
6007         if test "x" = x; then
6008           PROG_NAME=awk
6009         else
6010           PROG_NAME=
6011         fi
6012         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6013 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6014         as_fn_error $? "Cannot continue" "$LINENO" 5
6015     fi
6016 
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6018 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6019 if ${ac_cv_path_GREP+:} false; then :
6020   $as_echo_n "(cached) " >&6
6021 else
6022   if test -z "$GREP"; then
6023   ac_path_GREP_found=false
6024   # Loop through the user's path and test for each of PROGNAME-LIST
6025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6027 do
6028   IFS=$as_save_IFS
6029   test -z "$as_dir" && as_dir=.
6030     for ac_prog in grep ggrep; do
6031     for ac_exec_ext in '' $ac_executable_extensions; do
6032       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6033       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6034 # Check for GNU ac_path_GREP and select it if it is found.
6035   # Check for GNU $ac_path_GREP
6036 case `"$ac_path_GREP" --version 2>&1` in
6037 *GNU*)
6038   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6039 *)


6074 fi
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6076 $as_echo "$ac_cv_path_GREP" >&6; }
6077  GREP="$ac_cv_path_GREP"
6078 
6079 
6080 
6081     if test "x$GREP" = x; then
6082         if test "x" = x; then
6083           PROG_NAME=grep
6084         else
6085           PROG_NAME=
6086         fi
6087         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6088 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6089         as_fn_error $? "Cannot continue" "$LINENO" 5
6090     fi
6091 
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6093 $as_echo_n "checking for egrep... " >&6; }
6094 if ${ac_cv_path_EGREP+:} false; then :
6095   $as_echo_n "(cached) " >&6
6096 else
6097   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6098    then ac_cv_path_EGREP="$GREP -E"
6099    else
6100      if test -z "$EGREP"; then
6101   ac_path_EGREP_found=false
6102   # Loop through the user's path and test for each of PROGNAME-LIST
6103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108     for ac_prog in egrep; do
6109     for ac_exec_ext in '' $ac_executable_extensions; do
6110       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6111       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6112 # Check for GNU ac_path_EGREP and select it if it is found.
6113   # Check for GNU $ac_path_EGREP
6114 case `"$ac_path_EGREP" --version 2>&1` in


6153 fi
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6155 $as_echo "$ac_cv_path_EGREP" >&6; }
6156  EGREP="$ac_cv_path_EGREP"
6157 
6158 
6159 
6160     if test "x$EGREP" = x; then
6161         if test "x" = x; then
6162           PROG_NAME=egrep
6163         else
6164           PROG_NAME=
6165         fi
6166         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6167 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6168         as_fn_error $? "Cannot continue" "$LINENO" 5
6169     fi
6170 
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6172 $as_echo_n "checking for fgrep... " >&6; }
6173 if ${ac_cv_path_FGREP+:} false; then :
6174   $as_echo_n "(cached) " >&6
6175 else
6176   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6177    then ac_cv_path_FGREP="$GREP -F"
6178    else
6179      if test -z "$FGREP"; then
6180   ac_path_FGREP_found=false
6181   # Loop through the user's path and test for each of PROGNAME-LIST
6182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6184 do
6185   IFS=$as_save_IFS
6186   test -z "$as_dir" && as_dir=.
6187     for ac_prog in fgrep; do
6188     for ac_exec_ext in '' $ac_executable_extensions; do
6189       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6190       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6191 # Check for GNU ac_path_FGREP and select it if it is found.
6192   # Check for GNU $ac_path_FGREP
6193 case `"$ac_path_FGREP" --version 2>&1` in


6232 fi
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6234 $as_echo "$ac_cv_path_FGREP" >&6; }
6235  FGREP="$ac_cv_path_FGREP"
6236 
6237 
6238 
6239     if test "x$FGREP" = x; then
6240         if test "x" = x; then
6241           PROG_NAME=fgrep
6242         else
6243           PROG_NAME=
6244         fi
6245         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6246 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6247         as_fn_error $? "Cannot continue" "$LINENO" 5
6248     fi
6249 
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6251 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6252 if ${ac_cv_path_SED+:} false; then :
6253   $as_echo_n "(cached) " >&6
6254 else
6255             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6256      for ac_i in 1 2 3 4 5 6 7; do
6257        ac_script="$ac_script$as_nl$ac_script"
6258      done
6259      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6260      { ac_script=; unset ac_script;}
6261      if test -z "$SED"; then
6262   ac_path_SED_found=false
6263   # Loop through the user's path and test for each of PROGNAME-LIST
6264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $PATH
6266 do
6267   IFS=$as_save_IFS
6268   test -z "$as_dir" && as_dir=.
6269     for ac_prog in sed gsed; do
6270     for ac_exec_ext in '' $ac_executable_extensions; do
6271       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6272       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue


6318 
6319 
6320     if test "x$SED" = x; then
6321         if test "x" = x; then
6322           PROG_NAME=sed
6323         else
6324           PROG_NAME=
6325         fi
6326         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6327 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6328         as_fn_error $? "Cannot continue" "$LINENO" 5
6329     fi
6330 
6331 
6332 for ac_prog in nawk gawk awk
6333 do
6334   # Extract the first word of "$ac_prog", so it can be a program name with args.
6335 set dummy $ac_prog; ac_word=$2
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6337 $as_echo_n "checking for $ac_word... " >&6; }
6338 if ${ac_cv_path_NAWK+:} false; then :
6339   $as_echo_n "(cached) " >&6
6340 else
6341   case $NAWK in
6342   [\\/]* | ?:[\\/]*)
6343   ac_cv_path_NAWK="$NAWK" # Let the user override the test with a path.
6344   ;;
6345   *)
6346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6347 for as_dir in $PATH
6348 do
6349   IFS=$as_save_IFS
6350   test -z "$as_dir" && as_dir=.
6351     for ac_exec_ext in '' $ac_executable_extensions; do
6352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6353     ac_cv_path_NAWK="$as_dir/$ac_word$ac_exec_ext"
6354     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6355     break 2
6356   fi
6357 done
6358   done


6382           PROG_NAME=
6383         fi
6384         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
6385 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
6386         as_fn_error $? "Cannot continue" "$LINENO" 5
6387     fi
6388 
6389 
6390 # Always force rm.
6391 RM="$RM -f"
6392 
6393 # pwd behaves differently on various platforms and some don't support the -L flag.
6394 # Always use the bash builtin pwd to get uniform behavior.
6395 THEPWDCMD=pwd
6396 
6397 # These are not required on all platforms
6398 # Extract the first word of "cygpath", so it can be a program name with args.
6399 set dummy cygpath; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if ${ac_cv_path_CYGPATH+:} false; then :
6403   $as_echo_n "(cached) " >&6
6404 else
6405   case $CYGPATH in
6406   [\\/]* | ?:[\\/]*)
6407   ac_cv_path_CYGPATH="$CYGPATH" # Let the user override the test with a path.
6408   ;;
6409   *)
6410   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 for as_dir in $PATH
6412 do
6413   IFS=$as_save_IFS
6414   test -z "$as_dir" && as_dir=.
6415     for ac_exec_ext in '' $ac_executable_extensions; do
6416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6417     ac_cv_path_CYGPATH="$as_dir/$ac_word$ac_exec_ext"
6418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419     break 2
6420   fi
6421 done
6422   done
6423 IFS=$as_save_IFS
6424 
6425   ;;
6426 esac
6427 fi
6428 CYGPATH=$ac_cv_path_CYGPATH
6429 if test -n "$CYGPATH"; then
6430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
6431 $as_echo "$CYGPATH" >&6; }
6432 else
6433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; }
6435 fi
6436 
6437 
6438 # Extract the first word of "readlink", so it can be a program name with args.
6439 set dummy readlink; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if ${ac_cv_path_READLINK+:} false; then :
6443   $as_echo_n "(cached) " >&6
6444 else
6445   case $READLINK in
6446   [\\/]* | ?:[\\/]*)
6447   ac_cv_path_READLINK="$READLINK" # Let the user override the test with a path.
6448   ;;
6449   *)
6450   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6451 for as_dir in $PATH
6452 do
6453   IFS=$as_save_IFS
6454   test -z "$as_dir" && as_dir=.
6455     for ac_exec_ext in '' $ac_executable_extensions; do
6456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6457     ac_cv_path_READLINK="$as_dir/$ac_word$ac_exec_ext"
6458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459     break 2
6460   fi
6461 done
6462   done
6463 IFS=$as_save_IFS
6464 
6465   ;;
6466 esac
6467 fi
6468 READLINK=$ac_cv_path_READLINK
6469 if test -n "$READLINK"; then
6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINK" >&5
6471 $as_echo "$READLINK" >&6; }
6472 else
6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6475 fi
6476 
6477 
6478 # Extract the first word of "df", so it can be a program name with args.
6479 set dummy df; ac_word=$2
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6481 $as_echo_n "checking for $ac_word... " >&6; }
6482 if ${ac_cv_path_DF+:} false; then :
6483   $as_echo_n "(cached) " >&6
6484 else
6485   case $DF in
6486   [\\/]* | ?:[\\/]*)
6487   ac_cv_path_DF="$DF" # Let the user override the test with a path.
6488   ;;
6489   *)
6490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6491 for as_dir in $PATH
6492 do
6493   IFS=$as_save_IFS
6494   test -z "$as_dir" && as_dir=.
6495     for ac_exec_ext in '' $ac_executable_extensions; do
6496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6497     ac_cv_path_DF="$as_dir/$ac_word$ac_exec_ext"
6498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499     break 2
6500   fi
6501 done
6502   done
6503 IFS=$as_save_IFS
6504 
6505   ;;
6506 esac
6507 fi
6508 DF=$ac_cv_path_DF
6509 if test -n "$DF"; then
6510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DF" >&5
6511 $as_echo "$DF" >&6; }
6512 else
6513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6515 fi
6516 
6517 
6518 # Extract the first word of "SetFile", so it can be a program name with args.
6519 set dummy SetFile; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_path_SETFILE+:} false; then :
6523   $as_echo_n "(cached) " >&6
6524 else
6525   case $SETFILE in
6526   [\\/]* | ?:[\\/]*)
6527   ac_cv_path_SETFILE="$SETFILE" # Let the user override the test with a path.
6528   ;;
6529   *)
6530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6531 for as_dir in $PATH
6532 do
6533   IFS=$as_save_IFS
6534   test -z "$as_dir" && as_dir=.
6535     for ac_exec_ext in '' $ac_executable_extensions; do
6536   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6537     ac_cv_path_SETFILE="$as_dir/$ac_word$ac_exec_ext"
6538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539     break 2
6540   fi
6541 done
6542   done


6548 SETFILE=$ac_cv_path_SETFILE
6549 if test -n "$SETFILE"; then
6550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
6551 $as_echo "$SETFILE" >&6; }
6552 else
6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6555 fi
6556 
6557 
6558 
6559 
6560 # Now we can determine OpenJDK build and target platforms. This is required to
6561 # have early on.
6562 # Make sure we can run config.sub.
6563 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6564   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6565 
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6567 $as_echo_n "checking build system type... " >&6; }
6568 if ${ac_cv_build+:} false; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   ac_build_alias=$build_alias
6572 test "x$ac_build_alias" = x &&
6573   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6574 test "x$ac_build_alias" = x &&
6575   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6576 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6577   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6578 
6579 fi
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6581 $as_echo "$ac_cv_build" >&6; }
6582 case $ac_cv_build in
6583 *-*-*) ;;
6584 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6585 esac
6586 build=$ac_cv_build
6587 ac_save_IFS=$IFS; IFS='-'
6588 set x $ac_cv_build
6589 shift
6590 build_cpu=$1
6591 build_vendor=$2
6592 shift; shift
6593 # Remember, the first character of IFS is used to create $*,
6594 # except with old shells:
6595 build_os=$*
6596 IFS=$ac_save_IFS
6597 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6598 
6599 
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6601 $as_echo_n "checking host system type... " >&6; }
6602 if ${ac_cv_host+:} false; then :
6603   $as_echo_n "(cached) " >&6
6604 else
6605   if test "x$host_alias" = x; then
6606   ac_cv_host=$ac_cv_build
6607 else
6608   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6609     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6610 fi
6611 
6612 fi
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6614 $as_echo "$ac_cv_host" >&6; }
6615 case $ac_cv_host in
6616 *-*-*) ;;
6617 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6618 esac
6619 host=$ac_cv_host
6620 ac_save_IFS=$IFS; IFS='-'
6621 set x $ac_cv_host
6622 shift
6623 host_cpu=$1
6624 host_vendor=$2
6625 shift; shift
6626 # Remember, the first character of IFS is used to create $*,
6627 # except with old shells:
6628 host_os=$*
6629 IFS=$ac_save_IFS
6630 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6631 
6632 
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6634 $as_echo_n "checking target system type... " >&6; }
6635 if ${ac_cv_target+:} false; then :
6636   $as_echo_n "(cached) " >&6
6637 else
6638   if test "x$target_alias" = x; then
6639   ac_cv_target=$ac_cv_host
6640 else
6641   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6642     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6643 fi
6644 
6645 fi
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6647 $as_echo "$ac_cv_target" >&6; }
6648 case $ac_cv_target in
6649 *-*-*) ;;
6650 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
6651 esac
6652 target=$ac_cv_target
6653 ac_save_IFS=$IFS; IFS='-'
6654 set x $ac_cv_target
6655 shift
6656 target_cpu=$1
6657 target_vendor=$2
6658 shift; shift
6659 # Remember, the first character of IFS is used to create $*,
6660 # except with old shells:
6661 target_os=$*
6662 IFS=$ac_save_IFS
6663 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
6664 
6665 
6666 # The aliases save the names the user supplied, while $host etc.
6667 # will get canonicalized.
6668 test -n "$target_alias" &&
6669   test "$program_prefix$program_suffix$program_transform_name" = \
6670     NONENONEs,x,x, &&


8031 ac_config_files="$ac_config_files $OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in"
8032 
8033 # The generated Makefile knows where the spec.gmk is and where the source is.
8034 # You can run make from the OUTPUT_ROOT, or from the top-level Makefile
8035 # which will look for generated configurations
8036 ac_config_files="$ac_config_files $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in"
8037 
8038 
8039 # Save the arguments given to us
8040 echo "$CONFIGURE_COMMAND_LINE" > $OUTPUT_ROOT/configure-arguments
8041 
8042 
8043 # Must be done before we can call HELP_MSG_MISSING_DEPENDENCY.
8044 
8045     for ac_prog in apt-get yum port pkgutil pkgadd
8046 do
8047   # Extract the first word of "$ac_prog", so it can be a program name with args.
8048 set dummy $ac_prog; ac_word=$2
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050 $as_echo_n "checking for $ac_word... " >&6; }
8051 if ${ac_cv_prog_PKGHANDLER+:} false; then :
8052   $as_echo_n "(cached) " >&6
8053 else
8054   if test -n "$PKGHANDLER"; then
8055   ac_cv_prog_PKGHANDLER="$PKGHANDLER" # Let the user override the test.
8056 else
8057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8058 for as_dir in $PATH
8059 do
8060   IFS=$as_save_IFS
8061   test -z "$as_dir" && as_dir=.
8062     for ac_exec_ext in '' $ac_executable_extensions; do
8063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8064     ac_cv_prog_PKGHANDLER="$ac_prog"
8065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066     break 2
8067   fi
8068 done
8069   done
8070 IFS=$as_save_IFS
8071 


8396       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
8397 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
8398     fi
8399 
8400         fi
8401       fi
8402     fi
8403   fi
8404 
8405     if test "x$FOUND_MAKE" = x; then
8406       as_fn_error $? "The specified make (by MAKE=$MAKE) is not GNU make 3.81 or newer." "$LINENO" 5
8407     fi
8408   else
8409     # Try our hardest to locate a correct version of GNU make
8410     for ac_prog in gmake
8411 do
8412   # Extract the first word of "$ac_prog", so it can be a program name with args.
8413 set dummy $ac_prog; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_path_CHECK_GMAKE+:} false; then :
8417   $as_echo_n "(cached) " >&6
8418 else
8419   case $CHECK_GMAKE in
8420   [\\/]* | ?:[\\/]*)
8421   ac_cv_path_CHECK_GMAKE="$CHECK_GMAKE" # Let the user override the test with a path.
8422   ;;
8423   *)
8424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 for as_dir in $PATH
8426 do
8427   IFS=$as_save_IFS
8428   test -z "$as_dir" && as_dir=.
8429     for ac_exec_ext in '' $ac_executable_extensions; do
8430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8431     ac_cv_path_CHECK_GMAKE="$as_dir/$ac_word$ac_exec_ext"
8432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433     break 2
8434   fi
8435 done
8436   done


8750 
8751   if test "x$complete" != "x$new_complete"; then
8752       FOUND_MAKE="$new_complete"
8753       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
8754 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
8755     fi
8756 
8757         fi
8758       fi
8759     fi
8760   fi
8761 
8762 
8763     if test "x$FOUND_MAKE" = x; then
8764       for ac_prog in make
8765 do
8766   # Extract the first word of "$ac_prog", so it can be a program name with args.
8767 set dummy $ac_prog; ac_word=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8769 $as_echo_n "checking for $ac_word... " >&6; }
8770 if ${ac_cv_path_CHECK_MAKE+:} false; then :
8771   $as_echo_n "(cached) " >&6
8772 else
8773   case $CHECK_MAKE in
8774   [\\/]* | ?:[\\/]*)
8775   ac_cv_path_CHECK_MAKE="$CHECK_MAKE" # Let the user override the test with a path.
8776   ;;
8777   *)
8778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 for as_dir in $PATH
8780 do
8781   IFS=$as_save_IFS
8782   test -z "$as_dir" && as_dir=.
8783     for ac_exec_ext in '' $ac_executable_extensions; do
8784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8785     ac_cv_path_CHECK_MAKE="$as_dir/$ac_word$ac_exec_ext"
8786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8787     break 2
8788   fi
8789 done
8790   done


9109     fi
9110 
9111         fi
9112       fi
9113     fi
9114   fi
9115 
9116     fi
9117 
9118     if test "x$FOUND_MAKE" = x; then
9119       if test "x$TOOLS_DIR" != x; then
9120         # We have a tools-dir, check that as well before giving up.
9121         OLD_PATH=$PATH
9122         PATH=$TOOLS_DIR:$PATH
9123         for ac_prog in gmake
9124 do
9125   # Extract the first word of "$ac_prog", so it can be a program name with args.
9126 set dummy $ac_prog; ac_word=$2
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9128 $as_echo_n "checking for $ac_word... " >&6; }
9129 if ${ac_cv_path_CHECK_TOOLSDIR_GMAKE+:} false; then :
9130   $as_echo_n "(cached) " >&6
9131 else
9132   case $CHECK_TOOLSDIR_GMAKE in
9133   [\\/]* | ?:[\\/]*)
9134   ac_cv_path_CHECK_TOOLSDIR_GMAKE="$CHECK_TOOLSDIR_GMAKE" # Let the user override the test with a path.
9135   ;;
9136   *)
9137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9138 for as_dir in $PATH
9139 do
9140   IFS=$as_save_IFS
9141   test -z "$as_dir" && as_dir=.
9142     for ac_exec_ext in '' $ac_executable_extensions; do
9143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9144     ac_cv_path_CHECK_TOOLSDIR_GMAKE="$as_dir/$ac_word$ac_exec_ext"
9145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9146     break 2
9147   fi
9148 done
9149   done


9462       fi
9463 
9464   if test "x$complete" != "x$new_complete"; then
9465       FOUND_MAKE="$new_complete"
9466       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting FOUND_MAKE to \"$new_complete\"" >&5
9467 $as_echo "$as_me: Rewriting FOUND_MAKE to \"$new_complete\"" >&6;}
9468     fi
9469 
9470         fi
9471       fi
9472     fi
9473   fi
9474 
9475         if test "x$FOUND_MAKE" = x; then
9476           for ac_prog in make
9477 do
9478   # Extract the first word of "$ac_prog", so it can be a program name with args.
9479 set dummy $ac_prog; ac_word=$2
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9481 $as_echo_n "checking for $ac_word... " >&6; }
9482 if ${ac_cv_path_CHECK_TOOLSDIR_MAKE+:} false; then :
9483   $as_echo_n "(cached) " >&6
9484 else
9485   case $CHECK_TOOLSDIR_MAKE in
9486   [\\/]* | ?:[\\/]*)
9487   ac_cv_path_CHECK_TOOLSDIR_MAKE="$CHECK_TOOLSDIR_MAKE" # Let the user override the test with a path.
9488   ;;
9489   *)
9490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491 for as_dir in $PATH
9492 do
9493   IFS=$as_save_IFS
9494   test -z "$as_dir" && as_dir=.
9495     for ac_exec_ext in '' $ac_executable_extensions; do
9496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497     ac_cv_path_CHECK_TOOLSDIR_MAKE="$as_dir/$ac_word$ac_exec_ext"
9498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9499     break 2
9500   fi
9501 done
9502   done


9858         FIND_DELETE="-exec rm \{\} \+"
9859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9860 $as_echo "no" >&6; }
9861     else
9862         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9863 $as_echo "yes" >&6; }
9864     fi
9865     rmdir $DELETEDIR
9866 
9867 
9868 
9869 # These tools might not be installed by default,
9870 # need hint on how to install them.
9871 
9872     for ac_prog in unzip
9873 do
9874   # Extract the first word of "$ac_prog", so it can be a program name with args.
9875 set dummy $ac_prog; ac_word=$2
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9877 $as_echo_n "checking for $ac_word... " >&6; }
9878 if ${ac_cv_path_UNZIP+:} false; then :
9879   $as_echo_n "(cached) " >&6
9880 else
9881   case $UNZIP in
9882   [\\/]* | ?:[\\/]*)
9883   ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path.
9884   ;;
9885   *)
9886   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9887 for as_dir in $PATH
9888 do
9889   IFS=$as_save_IFS
9890   test -z "$as_dir" && as_dir=.
9891     for ac_exec_ext in '' $ac_executable_extensions; do
9892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9893     ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext"
9894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9895     break 2
9896   fi
9897 done
9898   done


9917 
9918     if test "x$UNZIP" = x; then
9919         if test "xunzip" = x; then
9920           PROG_NAME=unzip
9921         else
9922           PROG_NAME=unzip
9923         fi
9924         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
9925 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
9926         as_fn_error $? "Cannot continue" "$LINENO" 5
9927     fi
9928 
9929 
9930 
9931     for ac_prog in zip
9932 do
9933   # Extract the first word of "$ac_prog", so it can be a program name with args.
9934 set dummy $ac_prog; ac_word=$2
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9936 $as_echo_n "checking for $ac_word... " >&6; }
9937 if ${ac_cv_path_ZIP+:} false; then :
9938   $as_echo_n "(cached) " >&6
9939 else
9940   case $ZIP in
9941   [\\/]* | ?:[\\/]*)
9942   ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path.
9943   ;;
9944   *)
9945   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 for as_dir in $PATH
9947 do
9948   IFS=$as_save_IFS
9949   test -z "$as_dir" && as_dir=.
9950     for ac_exec_ext in '' $ac_executable_extensions; do
9951   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9952     ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext"
9953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9954     break 2
9955   fi
9956 done
9957   done


9976 
9977     if test "x$ZIP" = x; then
9978         if test "xzip" = x; then
9979           PROG_NAME=zip
9980         else
9981           PROG_NAME=zip
9982         fi
9983         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
9984 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
9985         as_fn_error $? "Cannot continue" "$LINENO" 5
9986     fi
9987 
9988 
9989 
9990 # Non-required basic tools
9991 
9992 # Extract the first word of "ldd", so it can be a program name with args.
9993 set dummy ldd; ac_word=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9995 $as_echo_n "checking for $ac_word... " >&6; }
9996 if ${ac_cv_path_LDD+:} false; then :
9997   $as_echo_n "(cached) " >&6
9998 else
9999   case $LDD in
10000   [\\/]* | ?:[\\/]*)
10001   ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
10002   ;;
10003   *)
10004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10005 for as_dir in $PATH
10006 do
10007   IFS=$as_save_IFS
10008   test -z "$as_dir" && as_dir=.
10009     for ac_exec_ext in '' $ac_executable_extensions; do
10010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10011     ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
10012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10013     break 2
10014   fi
10015 done
10016   done


10022 LDD=$ac_cv_path_LDD
10023 if test -n "$LDD"; then
10024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
10025 $as_echo "$LDD" >&6; }
10026 else
10027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 $as_echo "no" >&6; }
10029 fi
10030 
10031 
10032 if test "x$LDD" = "x"; then
10033     # List shared lib dependencies is used for
10034     # debug output and checking for forbidden dependencies.
10035     # We can build without it.
10036     LDD="true"
10037 fi
10038 # Extract the first word of "otool", so it can be a program name with args.
10039 set dummy otool; ac_word=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if ${ac_cv_path_OTOOL+:} false; then :
10043   $as_echo_n "(cached) " >&6
10044 else
10045   case $OTOOL in
10046   [\\/]* | ?:[\\/]*)
10047   ac_cv_path_OTOOL="$OTOOL" # Let the user override the test with a path.
10048   ;;
10049   *)
10050   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10051 for as_dir in $PATH
10052 do
10053   IFS=$as_save_IFS
10054   test -z "$as_dir" && as_dir=.
10055     for ac_exec_ext in '' $ac_executable_extensions; do
10056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057     ac_cv_path_OTOOL="$as_dir/$ac_word$ac_exec_ext"
10058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10059     break 2
10060   fi
10061 done
10062   done


10067 fi
10068 OTOOL=$ac_cv_path_OTOOL
10069 if test -n "$OTOOL"; then
10070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10071 $as_echo "$OTOOL" >&6; }
10072 else
10073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10074 $as_echo "no" >&6; }
10075 fi
10076 
10077 
10078 if test "x$OTOOL" = "x"; then
10079    OTOOL="true"
10080 fi
10081 for ac_prog in readelf greadelf
10082 do
10083   # Extract the first word of "$ac_prog", so it can be a program name with args.
10084 set dummy $ac_prog; ac_word=$2
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10086 $as_echo_n "checking for $ac_word... " >&6; }
10087 if ${ac_cv_path_READELF+:} false; then :
10088   $as_echo_n "(cached) " >&6
10089 else
10090   case $READELF in
10091   [\\/]* | ?:[\\/]*)
10092   ac_cv_path_READELF="$READELF" # Let the user override the test with a path.
10093   ;;
10094   *)
10095   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10096 for as_dir in $PATH
10097 do
10098   IFS=$as_save_IFS
10099   test -z "$as_dir" && as_dir=.
10100     for ac_exec_ext in '' $ac_executable_extensions; do
10101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10102     ac_cv_path_READELF="$as_dir/$ac_word$ac_exec_ext"
10103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10104     break 2
10105   fi
10106 done
10107   done


10110   ;;
10111 esac
10112 fi
10113 READELF=$ac_cv_path_READELF
10114 if test -n "$READELF"; then
10115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
10116 $as_echo "$READELF" >&6; }
10117 else
10118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10119 $as_echo "no" >&6; }
10120 fi
10121 
10122 
10123   test -n "$READELF" && break
10124 done
10125 
10126 # Extract the first word of "hg", so it can be a program name with args.
10127 set dummy hg; ac_word=$2
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10129 $as_echo_n "checking for $ac_word... " >&6; }
10130 if ${ac_cv_path_HG+:} false; then :
10131   $as_echo_n "(cached) " >&6
10132 else
10133   case $HG in
10134   [\\/]* | ?:[\\/]*)
10135   ac_cv_path_HG="$HG" # Let the user override the test with a path.
10136   ;;
10137   *)
10138   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10139 for as_dir in $PATH
10140 do
10141   IFS=$as_save_IFS
10142   test -z "$as_dir" && as_dir=.
10143     for ac_exec_ext in '' $ac_executable_extensions; do
10144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10145     ac_cv_path_HG="$as_dir/$ac_word$ac_exec_ext"
10146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10147     break 2
10148   fi
10149 done
10150   done
10151 IFS=$as_save_IFS
10152 
10153   ;;
10154 esac
10155 fi
10156 HG=$ac_cv_path_HG
10157 if test -n "$HG"; then
10158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HG" >&5
10159 $as_echo "$HG" >&6; }
10160 else
10161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10162 $as_echo "no" >&6; }
10163 fi
10164 
10165 
10166 # Extract the first word of "stat", so it can be a program name with args.
10167 set dummy stat; ac_word=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if ${ac_cv_path_STAT+:} false; then :
10171   $as_echo_n "(cached) " >&6
10172 else
10173   case $STAT in
10174   [\\/]* | ?:[\\/]*)
10175   ac_cv_path_STAT="$STAT" # Let the user override the test with a path.
10176   ;;
10177   *)
10178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10180 do
10181   IFS=$as_save_IFS
10182   test -z "$as_dir" && as_dir=.
10183     for ac_exec_ext in '' $ac_executable_extensions; do
10184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10185     ac_cv_path_STAT="$as_dir/$ac_word$ac_exec_ext"
10186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10187     break 2
10188   fi
10189 done
10190   done
10191 IFS=$as_save_IFS
10192 
10193   ;;
10194 esac
10195 fi
10196 STAT=$ac_cv_path_STAT
10197 if test -n "$STAT"; then
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STAT" >&5
10199 $as_echo "$STAT" >&6; }
10200 else
10201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10203 fi
10204 
10205 
10206 # Extract the first word of "time", so it can be a program name with args.
10207 set dummy time; ac_word=$2
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10209 $as_echo_n "checking for $ac_word... " >&6; }
10210 if ${ac_cv_path_TIME+:} false; then :
10211   $as_echo_n "(cached) " >&6
10212 else
10213   case $TIME in
10214   [\\/]* | ?:[\\/]*)
10215   ac_cv_path_TIME="$TIME" # Let the user override the test with a path.
10216   ;;
10217   *)
10218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10219 for as_dir in $PATH
10220 do
10221   IFS=$as_save_IFS
10222   test -z "$as_dir" && as_dir=.
10223     for ac_exec_ext in '' $ac_executable_extensions; do
10224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10225     ac_cv_path_TIME="$as_dir/$ac_word$ac_exec_ext"
10226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10227     break 2
10228   fi
10229 done
10230   done


10235 fi
10236 TIME=$ac_cv_path_TIME
10237 if test -n "$TIME"; then
10238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10239 $as_echo "$TIME" >&6; }
10240 else
10241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10242 $as_echo "no" >&6; }
10243 fi
10244 
10245 
10246 
10247 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
10248 
10249     for ac_prog in comm
10250 do
10251   # Extract the first word of "$ac_prog", so it can be a program name with args.
10252 set dummy $ac_prog; ac_word=$2
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10254 $as_echo_n "checking for $ac_word... " >&6; }
10255 if ${ac_cv_path_COMM+:} false; then :
10256   $as_echo_n "(cached) " >&6
10257 else
10258   case $COMM in
10259   [\\/]* | ?:[\\/]*)
10260   ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
10261   ;;
10262   *)
10263   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10265 do
10266   IFS=$as_save_IFS
10267   test -z "$as_dir" && as_dir=.
10268     for ac_exec_ext in '' $ac_executable_extensions; do
10269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270     ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
10271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10272     break 2
10273   fi
10274 done
10275   done


10297           PROG_NAME=comm
10298         else
10299           PROG_NAME=comm
10300         fi
10301         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
10302 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
10303         as_fn_error $? "Cannot continue" "$LINENO" 5
10304     fi
10305 
10306 
10307 fi
10308 
10309 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
10310 
10311     for ac_prog in xattr
10312 do
10313   # Extract the first word of "$ac_prog", so it can be a program name with args.
10314 set dummy $ac_prog; ac_word=$2
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10316 $as_echo_n "checking for $ac_word... " >&6; }
10317 if ${ac_cv_path_XATTR+:} false; then :
10318   $as_echo_n "(cached) " >&6
10319 else
10320   case $XATTR in
10321   [\\/]* | ?:[\\/]*)
10322   ac_cv_path_XATTR="$XATTR" # Let the user override the test with a path.
10323   ;;
10324   *)
10325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10326 for as_dir in $PATH
10327 do
10328   IFS=$as_save_IFS
10329   test -z "$as_dir" && as_dir=.
10330     for ac_exec_ext in '' $ac_executable_extensions; do
10331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10332     ac_cv_path_XATTR="$as_dir/$ac_word$ac_exec_ext"
10333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10334     break 2
10335   fi
10336 done
10337   done


10353   test -n "$XATTR" && break
10354 done
10355 
10356 
10357     if test "x$XATTR" = x; then
10358         if test "xxattr" = x; then
10359           PROG_NAME=xattr
10360         else
10361           PROG_NAME=xattr
10362         fi
10363         { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
10364 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
10365         as_fn_error $? "Cannot continue" "$LINENO" 5
10366     fi
10367 
10368 
10369   # Extract the first word of "codesign", so it can be a program name with args.
10370 set dummy codesign; ac_word=$2
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10372 $as_echo_n "checking for $ac_word... " >&6; }
10373 if ${ac_cv_path_CODESIGN+:} false; then :
10374   $as_echo_n "(cached) " >&6
10375 else
10376   case $CODESIGN in
10377   [\\/]* | ?:[\\/]*)
10378   ac_cv_path_CODESIGN="$CODESIGN" # Let the user override the test with a path.
10379   ;;
10380   *)
10381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 for as_dir in $PATH
10383 do
10384   IFS=$as_save_IFS
10385   test -z "$as_dir" && as_dir=.
10386     for ac_exec_ext in '' $ac_executable_extensions; do
10387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10388     ac_cv_path_CODESIGN="$as_dir/$ac_word$ac_exec_ext"
10389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10390     break 2
10391   fi
10392 done
10393   done


10417     if test "x$CODESIGN" = x; then
10418       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10419 $as_echo "no" >&6; }
10420     else
10421       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10422 $as_echo "yes" >&6; }
10423     fi
10424   fi
10425 fi
10426 
10427 
10428 # Check if pkg-config is available.
10429 
10430 
10431 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10432         if test -n "$ac_tool_prefix"; then
10433   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10434 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10436 $as_echo_n "checking for $ac_word... " >&6; }
10437 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10438   $as_echo_n "(cached) " >&6
10439 else
10440   case $PKG_CONFIG in
10441   [\\/]* | ?:[\\/]*)
10442   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10443   ;;
10444   *)
10445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10446 for as_dir in $PATH
10447 do
10448   IFS=$as_save_IFS
10449   test -z "$as_dir" && as_dir=.
10450     for ac_exec_ext in '' $ac_executable_extensions; do
10451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10452     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10454     break 2
10455   fi
10456 done
10457   done


10460   ;;
10461 esac
10462 fi
10463 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10464 if test -n "$PKG_CONFIG"; then
10465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10466 $as_echo "$PKG_CONFIG" >&6; }
10467 else
10468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10469 $as_echo "no" >&6; }
10470 fi
10471 
10472 
10473 fi
10474 if test -z "$ac_cv_path_PKG_CONFIG"; then
10475   ac_pt_PKG_CONFIG=$PKG_CONFIG
10476   # Extract the first word of "pkg-config", so it can be a program name with args.
10477 set dummy pkg-config; ac_word=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10481   $as_echo_n "(cached) " >&6
10482 else
10483   case $ac_pt_PKG_CONFIG in
10484   [\\/]* | ?:[\\/]*)
10485   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10486   ;;
10487   *)
10488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489 for as_dir in $PATH
10490 do
10491   IFS=$as_save_IFS
10492   test -z "$as_dir" && as_dir=.
10493     for ac_exec_ext in '' $ac_executable_extensions; do
10494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10495     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10497     break 2
10498   fi
10499 done
10500   done


10633             echo Build stays the same $rewritten_build
10634         else
10635             echo Rewriting build for builddeps into $rewritten_build
10636         fi
10637         eval rewritten_target=\${REWRITE_${target_var}}
10638         if test "x$rewritten_target" = x; then
10639             rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME}
10640             echo Target stays the same $rewritten_target
10641         else
10642             echo Rewriting target for builddeps into $rewritten_target
10643         fi
10644         rewritten_build_var=`echo ${rewritten_build} | tr '-' '_' | tr '.' '_'`
10645         rewritten_target_var=`echo ${rewritten_target} | tr '-' '_' | tr '.' '_'`
10646     fi
10647     for ac_prog in 7z unzip
10648 do
10649   # Extract the first word of "$ac_prog", so it can be a program name with args.
10650 set dummy $ac_prog; ac_word=$2
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10652 $as_echo_n "checking for $ac_word... " >&6; }
10653 if ${ac_cv_prog_BDEPS_UNZIP+:} false; then :
10654   $as_echo_n "(cached) " >&6
10655 else
10656   if test -n "$BDEPS_UNZIP"; then
10657   ac_cv_prog_BDEPS_UNZIP="$BDEPS_UNZIP" # Let the user override the test.
10658 else
10659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10660 for as_dir in $PATH
10661 do
10662   IFS=$as_save_IFS
10663   test -z "$as_dir" && as_dir=.
10664     for ac_exec_ext in '' $ac_executable_extensions; do
10665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10666     ac_cv_prog_BDEPS_UNZIP="$ac_prog"
10667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10668     break 2
10669   fi
10670 done
10671   done
10672 IFS=$as_save_IFS
10673 


10679 $as_echo "$BDEPS_UNZIP" >&6; }
10680 else
10681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10682 $as_echo "no" >&6; }
10683 fi
10684 
10685 
10686   test -n "$BDEPS_UNZIP" && break
10687 done
10688 
10689     if test "x$BDEPS_UNZIP" = x7z; then
10690         BDEPS_UNZIP="7z x"
10691     fi
10692 
10693     for ac_prog in wget lftp ftp
10694 do
10695   # Extract the first word of "$ac_prog", so it can be a program name with args.
10696 set dummy $ac_prog; ac_word=$2
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10698 $as_echo_n "checking for $ac_word... " >&6; }
10699 if ${ac_cv_prog_BDEPS_FTP+:} false; then :
10700   $as_echo_n "(cached) " >&6
10701 else
10702   if test -n "$BDEPS_FTP"; then
10703   ac_cv_prog_BDEPS_FTP="$BDEPS_FTP" # Let the user override the test.
10704 else
10705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10706 for as_dir in $PATH
10707 do
10708   IFS=$as_save_IFS
10709   test -z "$as_dir" && as_dir=.
10710     for ac_exec_ext in '' $ac_executable_extensions; do
10711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10712     ac_cv_prog_BDEPS_FTP="$ac_prog"
10713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10714     break 2
10715   fi
10716 done
10717   done
10718 IFS=$as_save_IFS
10719 


11975               BOOT_JDK_VERSION=`"$BOOT_JDK/bin/java" -version 2>&1 | $TR '\n\r' '  '`
11976               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BOOT_JDK_VERSION" >&5
11977 $as_echo "$BOOT_JDK_VERSION" >&6; }
11978             fi # end check jdk version
11979           fi # end check rt.jar
11980         fi # end check javac
11981       fi # end check java
11982     fi # end check boot jdk found
11983   fi
11984 
11985 
11986 # Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
11987 
11988   if test "x$BOOT_JDK_FOUND" = xno; then
11989     # Now execute the test
11990 
11991     # Extract the first word of "javac", so it can be a program name with args.
11992 set dummy javac; ac_word=$2
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11994 $as_echo_n "checking for $ac_word... " >&6; }
11995 if ${ac_cv_path_JAVAC_CHECK+:} false; then :
11996   $as_echo_n "(cached) " >&6
11997 else
11998   case $JAVAC_CHECK in
11999   [\\/]* | ?:[\\/]*)
12000   ac_cv_path_JAVAC_CHECK="$JAVAC_CHECK" # Let the user override the test with a path.
12001   ;;
12002   *)
12003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12004 for as_dir in $PATH
12005 do
12006   IFS=$as_save_IFS
12007   test -z "$as_dir" && as_dir=.
12008     for ac_exec_ext in '' $ac_executable_extensions; do
12009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12010     ac_cv_path_JAVAC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12012     break 2
12013   fi
12014 done
12015   done
12016 IFS=$as_save_IFS
12017 
12018   ;;
12019 esac
12020 fi
12021 JAVAC_CHECK=$ac_cv_path_JAVAC_CHECK
12022 if test -n "$JAVAC_CHECK"; then
12023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC_CHECK" >&5
12024 $as_echo "$JAVAC_CHECK" >&6; }
12025 else
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 $as_echo "no" >&6; }
12028 fi
12029 
12030 
12031     # Extract the first word of "java", so it can be a program name with args.
12032 set dummy java; ac_word=$2
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12034 $as_echo_n "checking for $ac_word... " >&6; }
12035 if ${ac_cv_path_JAVA_CHECK+:} false; then :
12036   $as_echo_n "(cached) " >&6
12037 else
12038   case $JAVA_CHECK in
12039   [\\/]* | ?:[\\/]*)
12040   ac_cv_path_JAVA_CHECK="$JAVA_CHECK" # Let the user override the test with a path.
12041   ;;
12042   *)
12043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12044 for as_dir in $PATH
12045 do
12046   IFS=$as_save_IFS
12047   test -z "$as_dir" && as_dir=.
12048     for ac_exec_ext in '' $ac_executable_extensions; do
12049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12050     ac_cv_path_JAVA_CHECK="$as_dir/$ac_word$ac_exec_ext"
12051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12052     break 2
12053   fi
12054 done
12055   done


16344 
16345 
16346       # jtreg win32 script works for everybody
16347       JTREGEXE="$JT_HOME/win32/bin/jtreg"
16348 
16349       if test ! -f "$JTREGEXE"; then
16350         as_fn_error $? "JTReg executable does not exist: $JTREGEXE" "$LINENO" 5
16351       fi
16352 
16353       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JTREGEXE" >&5
16354 $as_echo "$JTREGEXE" >&6; }
16355     else
16356       # try to find jtreg on path
16357 
16358     for ac_prog in jtreg
16359 do
16360   # Extract the first word of "$ac_prog", so it can be a program name with args.
16361 set dummy $ac_prog; ac_word=$2
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16363 $as_echo_n "checking for $ac_word... " >&6; }
16364 if ${ac_cv_path_JTREGEXE+:} false; then :
16365   $as_echo_n "(cached) " >&6
16366 else
16367   case $JTREGEXE in
16368   [\\/]* | ?:[\\/]*)
16369   ac_cv_path_JTREGEXE="$JTREGEXE" # Let the user override the test with a path.
16370   ;;
16371   *)
16372   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16373 for as_dir in $PATH
16374 do
16375   IFS=$as_save_IFS
16376   test -z "$as_dir" && as_dir=.
16377     for ac_exec_ext in '' $ac_executable_extensions; do
16378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16379     ac_cv_path_JTREGEXE="$as_dir/$ac_word$ac_exec_ext"
16380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16381     break 2
16382   fi
16383 done
16384   done


16412         as_fn_error $? "Cannot continue" "$LINENO" 5
16413     fi
16414 
16415 
16416       JT_HOME="`$DIRNAME $JTREGEXE`"
16417     fi
16418   fi
16419 
16420 
16421 
16422 
16423 
16424 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
16425 
16426   # Store path to cygwin link.exe to help excluding it when searching for
16427   # VS linker. This must be done before changing the PATH when looking for VS.
16428   # Extract the first word of "link", so it can be a program name with args.
16429 set dummy link; ac_word=$2
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16431 $as_echo_n "checking for $ac_word... " >&6; }
16432 if ${ac_cv_path_CYGWIN_LINK+:} false; then :
16433   $as_echo_n "(cached) " >&6
16434 else
16435   case $CYGWIN_LINK in
16436   [\\/]* | ?:[\\/]*)
16437   ac_cv_path_CYGWIN_LINK="$CYGWIN_LINK" # Let the user override the test with a path.
16438   ;;
16439   *)
16440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16441 for as_dir in $PATH
16442 do
16443   IFS=$as_save_IFS
16444   test -z "$as_dir" && as_dir=.
16445     for ac_exec_ext in '' $ac_executable_extensions; do
16446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16447     ac_cv_path_CYGWIN_LINK="$as_dir/$ac_word$ac_exec_ext"
16448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16449     break 2
16450   fi
16451 done
16452   done


17853 # For example the binary i686-sun-solaris2.10-gcc
17854 # will cross compile for i686-sun-solaris2.10
17855 # If neither of build and host is not set, then build=host and the
17856 # default compiler found in the path will be used.
17857 # Setting only --host, does not seem to be really supported.
17858 # Please set both --build and --host if you want to cross compile.
17859 
17860 if test "x$COMPILE_TYPE" = "xcross"; then
17861     # Now we to find a C/C++ compiler that can build executables for the build
17862     # platform. We can't use the AC_PROG_CC macro, since it can only be used
17863     # once. Also, we need to do this before adding a tools dir to the path,
17864     # otherwise we might pick up cross-compilers which don't use standard naming.
17865     # Otherwise, we'll set the BUILD_tools to the native tools, but that'll have
17866     # to wait until they are properly discovered.
17867     for ac_prog in cl cc gcc
17868 do
17869   # Extract the first word of "$ac_prog", so it can be a program name with args.
17870 set dummy $ac_prog; ac_word=$2
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17872 $as_echo_n "checking for $ac_word... " >&6; }
17873 if ${ac_cv_path_BUILD_CC+:} false; then :
17874   $as_echo_n "(cached) " >&6
17875 else
17876   case $BUILD_CC in
17877   [\\/]* | ?:[\\/]*)
17878   ac_cv_path_BUILD_CC="$BUILD_CC" # Let the user override the test with a path.
17879   ;;
17880   *)
17881   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17882 for as_dir in $PATH
17883 do
17884   IFS=$as_save_IFS
17885   test -z "$as_dir" && as_dir=.
17886     for ac_exec_ext in '' $ac_executable_extensions; do
17887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17888     ac_cv_path_BUILD_CC="$as_dir/$ac_word$ac_exec_ext"
17889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17890     break 2
17891   fi
17892 done
17893   done


18164 
18165       # Now join together the path and the arguments once again
18166       if test "x$arguments" != xEOL; then
18167         new_complete="$new_path ${arguments% *}"
18168       else
18169         new_complete="$new_path"
18170       fi
18171 
18172   if test "x$complete" != "x$new_complete"; then
18173       BUILD_CC="$new_complete"
18174       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CC to \"$new_complete\"" >&5
18175 $as_echo "$as_me: Rewriting BUILD_CC to \"$new_complete\"" >&6;}
18176     fi
18177 
18178     for ac_prog in cl CC g++
18179 do
18180   # Extract the first word of "$ac_prog", so it can be a program name with args.
18181 set dummy $ac_prog; ac_word=$2
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18183 $as_echo_n "checking for $ac_word... " >&6; }
18184 if ${ac_cv_path_BUILD_CXX+:} false; then :
18185   $as_echo_n "(cached) " >&6
18186 else
18187   case $BUILD_CXX in
18188   [\\/]* | ?:[\\/]*)
18189   ac_cv_path_BUILD_CXX="$BUILD_CXX" # Let the user override the test with a path.
18190   ;;
18191   *)
18192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18193 for as_dir in $PATH
18194 do
18195   IFS=$as_save_IFS
18196   test -z "$as_dir" && as_dir=.
18197     for ac_exec_ext in '' $ac_executable_extensions; do
18198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18199     ac_cv_path_BUILD_CXX="$as_dir/$ac_word$ac_exec_ext"
18200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18201     break 2
18202   fi
18203 done
18204   done


18473       fi
18474   fi
18475 
18476       # Now join together the path and the arguments once again
18477       if test "x$arguments" != xEOL; then
18478         new_complete="$new_path ${arguments% *}"
18479       else
18480         new_complete="$new_path"
18481       fi
18482 
18483   if test "x$complete" != "x$new_complete"; then
18484       BUILD_CXX="$new_complete"
18485       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting BUILD_CXX to \"$new_complete\"" >&5
18486 $as_echo "$as_me: Rewriting BUILD_CXX to \"$new_complete\"" >&6;}
18487     fi
18488 
18489     # Extract the first word of "ld", so it can be a program name with args.
18490 set dummy ld; ac_word=$2
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18492 $as_echo_n "checking for $ac_word... " >&6; }
18493 if ${ac_cv_path_BUILD_LD+:} false; then :
18494   $as_echo_n "(cached) " >&6
18495 else
18496   case $BUILD_LD in
18497   [\\/]* | ?:[\\/]*)
18498   ac_cv_path_BUILD_LD="$BUILD_LD" # Let the user override the test with a path.
18499   ;;
18500   *)
18501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18502 for as_dir in $PATH
18503 do
18504   IFS=$as_save_IFS
18505   test -z "$as_dir" && as_dir=.
18506     for ac_exec_ext in '' $ac_executable_extensions; do
18507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18508     ac_cv_path_BUILD_LD="$as_dir/$ac_word$ac_exec_ext"
18509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18510     break 2
18511   fi
18512 done
18513   done


18989   COMPILER_CHECK_LIST="cc gcc"
18990 else
18991   COMPILER_CHECK_LIST="gcc cc"
18992 fi
18993 
18994 
18995   COMPILER_NAME=C
18996 
18997   CC=
18998   # If TOOLS_DIR is set, check for all compiler names in there first
18999   # before checking the rest of the PATH.
19000   if test -n "$TOOLS_DIR"; then
19001     PATH_save="$PATH"
19002     PATH="$TOOLS_DIR"
19003     for ac_prog in $COMPILER_CHECK_LIST
19004 do
19005   # Extract the first word of "$ac_prog", so it can be a program name with args.
19006 set dummy $ac_prog; ac_word=$2
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19008 $as_echo_n "checking for $ac_word... " >&6; }
19009 if ${ac_cv_path_TOOLS_DIR_CC+:} false; then :
19010   $as_echo_n "(cached) " >&6
19011 else
19012   case $TOOLS_DIR_CC in
19013   [\\/]* | ?:[\\/]*)
19014   ac_cv_path_TOOLS_DIR_CC="$TOOLS_DIR_CC" # Let the user override the test with a path.
19015   ;;
19016   *)
19017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19018 for as_dir in $PATH
19019 do
19020   IFS=$as_save_IFS
19021   test -z "$as_dir" && as_dir=.
19022     for ac_exec_ext in '' $ac_executable_extensions; do
19023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19024     ac_cv_path_TOOLS_DIR_CC="$as_dir/$ac_word$ac_exec_ext"
19025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19026     break 2
19027   fi
19028 done
19029   done


19041 $as_echo "no" >&6; }
19042 fi
19043 
19044 
19045   test -n "$TOOLS_DIR_CC" && break
19046 done
19047 
19048     CC=$TOOLS_DIR_CC
19049     PATH="$PATH_save"
19050   fi
19051 
19052   # AC_PATH_PROGS can't be run multiple times with the same variable,
19053   # so create a new name for this run.
19054   if test "x$CC" = x; then
19055     for ac_prog in $COMPILER_CHECK_LIST
19056 do
19057   # Extract the first word of "$ac_prog", so it can be a program name with args.
19058 set dummy $ac_prog; ac_word=$2
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19060 $as_echo_n "checking for $ac_word... " >&6; }
19061 if ${ac_cv_path_POTENTIAL_CC+:} false; then :
19062   $as_echo_n "(cached) " >&6
19063 else
19064   case $POTENTIAL_CC in
19065   [\\/]* | ?:[\\/]*)
19066   ac_cv_path_POTENTIAL_CC="$POTENTIAL_CC" # Let the user override the test with a path.
19067   ;;
19068   *)
19069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19070 for as_dir in $PATH
19071 do
19072   IFS=$as_save_IFS
19073   test -z "$as_dir" && as_dir=.
19074     for ac_exec_ext in '' $ac_executable_extensions; do
19075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19076     ac_cv_path_POTENTIAL_CC="$as_dir/$ac_word$ac_exec_ext"
19077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19078     break 2
19079   fi
19080 done
19081   done


19454   if test "x$COMPILER_BASENAME" = "xccache"; then
19455     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, trying to find proper $COMPILER_NAME compiler" >&5
19456 $as_echo "yes, trying to find proper $COMPILER_NAME compiler" >&6; }
19457     # We /usr/lib/ccache in the path, so cc is a symlink to /usr/bin/ccache.
19458     # We want to control ccache invocation ourselves, so ignore this cc and try
19459     # searching again.
19460 
19461     # Remove the path to the fake ccache cc from the PATH
19462     RETRY_COMPILER_SAVED_PATH="$PATH"
19463     COMPILER_DIRNAME=`$DIRNAME $CC`
19464     PATH="`$ECHO $PATH | $SED -e "s,$COMPILER_DIRNAME,,g" -e "s,::,:,g" -e "s,^:,,g"`"
19465 
19466     # Try again looking for our compiler
19467     if test -n "$ac_tool_prefix"; then
19468   for ac_prog in $COMPILER_CHECK_LIST
19469   do
19470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19473 $as_echo_n "checking for $ac_word... " >&6; }
19474 if ${ac_cv_prog_PROPER_COMPILER_CC+:} false; then :
19475   $as_echo_n "(cached) " >&6
19476 else
19477   if test -n "$PROPER_COMPILER_CC"; then
19478   ac_cv_prog_PROPER_COMPILER_CC="$PROPER_COMPILER_CC" # Let the user override the test.
19479 else
19480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19481 for as_dir in $PATH
19482 do
19483   IFS=$as_save_IFS
19484   test -z "$as_dir" && as_dir=.
19485     for ac_exec_ext in '' $ac_executable_extensions; do
19486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19487     ac_cv_prog_PROPER_COMPILER_CC="$ac_tool_prefix$ac_prog"
19488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19489     break 2
19490   fi
19491 done
19492   done
19493 IFS=$as_save_IFS
19494 


19498 if test -n "$PROPER_COMPILER_CC"; then
19499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROPER_COMPILER_CC" >&5
19500 $as_echo "$PROPER_COMPILER_CC" >&6; }
19501 else
19502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19503 $as_echo "no" >&6; }
19504 fi
19505 
19506 
19507     test -n "$PROPER_COMPILER_CC" && break
19508   done
19509 fi
19510 if test -z "$PROPER_COMPILER_CC"; then
19511   ac_ct_PROPER_COMPILER_CC=$PROPER_COMPILER_CC
19512   for ac_prog in $COMPILER_CHECK_LIST
19513 do
19514   # Extract the first word of "$ac_prog", so it can be a program name with args.
19515 set dummy $ac_prog; ac_word=$2
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19517 $as_echo_n "checking for $ac_word... " >&6; }
19518 if ${ac_cv_prog_ac_ct_PROPER_COMPILER_CC+:} false; then :
19519   $as_echo_n "(cached) " >&6
19520 else
19521   if test -n "$ac_ct_PROPER_COMPILER_CC"; then
19522   ac_cv_prog_ac_ct_PROPER_COMPILER_CC="$ac_ct_PROPER_COMPILER_CC" # Let the user override the test.
19523 else
19524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19525 for as_dir in $PATH
19526 do
19527   IFS=$as_save_IFS
19528   test -z "$as_dir" && as_dir=.
19529     for ac_exec_ext in '' $ac_executable_extensions; do
19530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19531     ac_cv_prog_ac_ct_PROPER_COMPILER_CC="$ac_prog"
19532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19533     break 2
19534   fi
19535 done
19536   done
19537 IFS=$as_save_IFS
19538 


19948   # This sets CC_VENDOR or CXX_VENDOR. (This comment is a grep marker)
19949   CC_VENDOR="$COMPILER_VENDOR"
19950 
19951   { $as_echo "$as_me:${as_lineno-$LINENO}: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&5
19952 $as_echo "$as_me: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&6;}
19953 
19954 
19955 # Now that we have resolved CC ourself, let autoconf have its go at it
19956 ac_ext=c
19957 ac_cpp='$CPP $CPPFLAGS'
19958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19961 if test -n "$ac_tool_prefix"; then
19962   for ac_prog in $CC
19963   do
19964     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19967 $as_echo_n "checking for $ac_word... " >&6; }
19968 if ${ac_cv_prog_CC+:} false; then :
19969   $as_echo_n "(cached) " >&6
19970 else
19971   if test -n "$CC"; then
19972   ac_cv_prog_CC="$CC" # Let the user override the test.
19973 else
19974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19975 for as_dir in $PATH
19976 do
19977   IFS=$as_save_IFS
19978   test -z "$as_dir" && as_dir=.
19979     for ac_exec_ext in '' $ac_executable_extensions; do
19980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19981     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19983     break 2
19984   fi
19985 done
19986   done
19987 IFS=$as_save_IFS
19988 


19992 if test -n "$CC"; then
19993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19994 $as_echo "$CC" >&6; }
19995 else
19996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19997 $as_echo "no" >&6; }
19998 fi
19999 
20000 
20001     test -n "$CC" && break
20002   done
20003 fi
20004 if test -z "$CC"; then
20005   ac_ct_CC=$CC
20006   for ac_prog in $CC
20007 do
20008   # Extract the first word of "$ac_prog", so it can be a program name with args.
20009 set dummy $ac_prog; ac_word=$2
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20011 $as_echo_n "checking for $ac_word... " >&6; }
20012 if ${ac_cv_prog_ac_ct_CC+:} false; then :
20013   $as_echo_n "(cached) " >&6
20014 else
20015   if test -n "$ac_ct_CC"; then
20016   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
20017 else
20018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20019 for as_dir in $PATH
20020 do
20021   IFS=$as_save_IFS
20022   test -z "$as_dir" && as_dir=.
20023     for ac_exec_ext in '' $ac_executable_extensions; do
20024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20025     ac_cv_prog_ac_ct_CC="$ac_prog"
20026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20027     break 2
20028   fi
20029 done
20030   done
20031 IFS=$as_save_IFS
20032 


20045   test -n "$ac_ct_CC" && break
20046 done
20047 
20048   if test "x$ac_ct_CC" = x; then
20049     CC=""
20050   else
20051     case $cross_compiling:$ac_tool_warned in
20052 yes:)
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20055 ac_tool_warned=yes ;;
20056 esac
20057     CC=$ac_ct_CC
20058   fi
20059 fi
20060 
20061 
20062 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20064 as_fn_error $? "no acceptable C compiler found in \$PATH
20065 See \`config.log' for more details" "$LINENO" 5; }
20066 
20067 # Provide some information about the compiler.
20068 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
20069 set X $ac_compile
20070 ac_compiler=$2
20071 for ac_option in --version -v -V -qversion; do
20072   { { ac_try="$ac_compiler $ac_option >&5"
20073 case "(($ac_try" in
20074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20075   *) ac_try_echo=$ac_try;;
20076 esac
20077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20078 $as_echo "$ac_try_echo"; } >&5
20079   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
20080   ac_status=$?
20081   if test -s conftest.err; then
20082     sed '10a\
20083 ... rest of stderr output deleted ...
20084          10q' conftest.err >conftest.er1
20085     cat conftest.er1 >&5


20160         # actually working.
20161         break;;
20162     * )
20163         break;;
20164   esac
20165 done
20166 test "$ac_cv_exeext" = no && ac_cv_exeext=
20167 
20168 else
20169   ac_file=''
20170 fi
20171 if test -z "$ac_file"; then :
20172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20173 $as_echo "no" >&6; }
20174 $as_echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20176 
20177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20179 as_fn_error 77 "C compiler cannot create executables
20180 See \`config.log' for more details" "$LINENO" 5; }
20181 else
20182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20183 $as_echo "yes" >&6; }
20184 fi
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
20186 $as_echo_n "checking for C compiler default output file name... " >&6; }
20187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
20188 $as_echo "$ac_file" >&6; }
20189 ac_exeext=$ac_cv_exeext
20190 
20191 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
20192 ac_clean_files=$ac_clean_files_save
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
20194 $as_echo_n "checking for suffix of executables... " >&6; }
20195 if { { ac_try="$ac_link"
20196 case "(($ac_try" in
20197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198   *) ac_try_echo=$ac_try;;
20199 esac
20200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""


20203   ac_status=$?
20204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20205   test $ac_status = 0; }; then :
20206   # If both `conftest.exe' and `conftest' are `present' (well, observable)
20207 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
20208 # work properly (i.e., refer to `conftest.exe'), while it won't with
20209 # `rm'.
20210 for ac_file in conftest.exe conftest conftest.*; do
20211   test -f "$ac_file" || continue
20212   case $ac_file in
20213     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
20214     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20215           break;;
20216     * ) break;;
20217   esac
20218 done
20219 else
20220   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20222 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
20223 See \`config.log' for more details" "$LINENO" 5; }
20224 fi
20225 rm -f conftest conftest$ac_cv_exeext
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
20227 $as_echo "$ac_cv_exeext" >&6; }
20228 
20229 rm -f conftest.$ac_ext
20230 EXEEXT=$ac_cv_exeext
20231 ac_exeext=$EXEEXT
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h.  */
20234 #include <stdio.h>
20235 int
20236 main ()
20237 {
20238 FILE *f = fopen ("conftest.out", "w");
20239  return ferror (f) || fclose (f) != 0;
20240 
20241   ;
20242   return 0;
20243 }


20262   if { ac_try='./conftest$ac_cv_exeext'
20263   { { case "(($ac_try" in
20264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20265   *) ac_try_echo=$ac_try;;
20266 esac
20267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20268 $as_echo "$ac_try_echo"; } >&5
20269   (eval "$ac_try") 2>&5
20270   ac_status=$?
20271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20272   test $ac_status = 0; }; }; then
20273     cross_compiling=no
20274   else
20275     if test "$cross_compiling" = maybe; then
20276         cross_compiling=yes
20277     else
20278         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20280 as_fn_error $? "cannot run C compiled programs.
20281 If you meant to cross compile, use \`--host'.
20282 See \`config.log' for more details" "$LINENO" 5; }
20283     fi
20284   fi
20285 fi
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
20287 $as_echo "$cross_compiling" >&6; }
20288 
20289 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
20290 ac_clean_files=$ac_clean_files_save
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
20292 $as_echo_n "checking for suffix of object files... " >&6; }
20293 if ${ac_cv_objext+:} false; then :
20294   $as_echo_n "(cached) " >&6
20295 else
20296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h.  */
20298 
20299 int
20300 main ()
20301 {
20302 
20303   ;
20304   return 0;
20305 }
20306 _ACEOF
20307 rm -f conftest.o conftest.obj
20308 if { { ac_try="$ac_compile"
20309 case "(($ac_try" in
20310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20311   *) ac_try_echo=$ac_try;;
20312 esac
20313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20314 $as_echo "$ac_try_echo"; } >&5
20315   (eval "$ac_compile") 2>&5
20316   ac_status=$?
20317   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20318   test $ac_status = 0; }; then :
20319   for ac_file in conftest.o conftest.obj conftest.*; do
20320   test -f "$ac_file" || continue;
20321   case $ac_file in
20322     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
20323     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
20324        break;;
20325   esac
20326 done
20327 else
20328   $as_echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20330 
20331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20333 as_fn_error $? "cannot compute suffix of object files: cannot compile
20334 See \`config.log' for more details" "$LINENO" 5; }
20335 fi
20336 rm -f conftest.$ac_cv_objext conftest.$ac_ext
20337 fi
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
20339 $as_echo "$ac_cv_objext" >&6; }
20340 OBJEXT=$ac_cv_objext
20341 ac_objext=$OBJEXT
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
20343 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
20344 if ${ac_cv_c_compiler_gnu+:} false; then :
20345   $as_echo_n "(cached) " >&6
20346 else
20347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20348 /* end confdefs.h.  */
20349 
20350 int
20351 main ()
20352 {
20353 #ifndef __GNUC__
20354        choke me
20355 #endif
20356 
20357   ;
20358   return 0;
20359 }
20360 _ACEOF
20361 if ac_fn_c_try_compile "$LINENO"; then :
20362   ac_compiler_gnu=yes
20363 else
20364   ac_compiler_gnu=no
20365 fi
20366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20367 ac_cv_c_compiler_gnu=$ac_compiler_gnu
20368 
20369 fi
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
20371 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
20372 if test $ac_compiler_gnu = yes; then
20373   GCC=yes
20374 else
20375   GCC=
20376 fi
20377 ac_test_CFLAGS=${CFLAGS+set}
20378 ac_save_CFLAGS=$CFLAGS
20379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
20380 $as_echo_n "checking whether $CC accepts -g... " >&6; }
20381 if ${ac_cv_prog_cc_g+:} false; then :
20382   $as_echo_n "(cached) " >&6
20383 else
20384   ac_save_c_werror_flag=$ac_c_werror_flag
20385    ac_c_werror_flag=yes
20386    ac_cv_prog_cc_g=no
20387    CFLAGS="-g"
20388    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20389 /* end confdefs.h.  */
20390 
20391 int
20392 main ()
20393 {
20394 
20395   ;
20396   return 0;
20397 }
20398 _ACEOF
20399 if ac_fn_c_try_compile "$LINENO"; then :
20400   ac_cv_prog_cc_g=yes
20401 else


20439 fi
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
20441 $as_echo "$ac_cv_prog_cc_g" >&6; }
20442 if test "$ac_test_CFLAGS" = set; then
20443   CFLAGS=$ac_save_CFLAGS
20444 elif test $ac_cv_prog_cc_g = yes; then
20445   if test "$GCC" = yes; then
20446     CFLAGS="-g -O2"
20447   else
20448     CFLAGS="-g"
20449   fi
20450 else
20451   if test "$GCC" = yes; then
20452     CFLAGS="-O2"
20453   else
20454     CFLAGS=
20455   fi
20456 fi
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
20458 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
20459 if ${ac_cv_prog_cc_c89+:} false; then :
20460   $as_echo_n "(cached) " >&6
20461 else
20462   ac_cv_prog_cc_c89=no
20463 ac_save_CC=$CC
20464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20465 /* end confdefs.h.  */
20466 #include <stdarg.h>
20467 #include <stdio.h>
20468 #include <sys/types.h>
20469 #include <sys/stat.h>
20470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
20471 struct buf { int x; };
20472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20473 static char *e (p, i)
20474      char **p;
20475      int i;
20476 {
20477   return p[i];
20478 }
20479 static char *f (char * (*g) (char **, int), char **p, ...)


20562   COMPILER_CHECK_LIST="CC g++"
20563 else
20564   COMPILER_CHECK_LIST="g++ CC"
20565 fi
20566 
20567 
20568   COMPILER_NAME=C++
20569 
20570   CXX=
20571   # If TOOLS_DIR is set, check for all compiler names in there first
20572   # before checking the rest of the PATH.
20573   if test -n "$TOOLS_DIR"; then
20574     PATH_save="$PATH"
20575     PATH="$TOOLS_DIR"
20576     for ac_prog in $COMPILER_CHECK_LIST
20577 do
20578   # Extract the first word of "$ac_prog", so it can be a program name with args.
20579 set dummy $ac_prog; ac_word=$2
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20581 $as_echo_n "checking for $ac_word... " >&6; }
20582 if ${ac_cv_path_TOOLS_DIR_CXX+:} false; then :
20583   $as_echo_n "(cached) " >&6
20584 else
20585   case $TOOLS_DIR_CXX in
20586   [\\/]* | ?:[\\/]*)
20587   ac_cv_path_TOOLS_DIR_CXX="$TOOLS_DIR_CXX" # Let the user override the test with a path.
20588   ;;
20589   *)
20590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20591 for as_dir in $PATH
20592 do
20593   IFS=$as_save_IFS
20594   test -z "$as_dir" && as_dir=.
20595     for ac_exec_ext in '' $ac_executable_extensions; do
20596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20597     ac_cv_path_TOOLS_DIR_CXX="$as_dir/$ac_word$ac_exec_ext"
20598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20599     break 2
20600   fi
20601 done
20602   done


20614 $as_echo "no" >&6; }
20615 fi
20616 
20617 
20618   test -n "$TOOLS_DIR_CXX" && break
20619 done
20620 
20621     CXX=$TOOLS_DIR_CXX
20622     PATH="$PATH_save"
20623   fi
20624 
20625   # AC_PATH_PROGS can't be run multiple times with the same variable,
20626   # so create a new name for this run.
20627   if test "x$CXX" = x; then
20628     for ac_prog in $COMPILER_CHECK_LIST
20629 do
20630   # Extract the first word of "$ac_prog", so it can be a program name with args.
20631 set dummy $ac_prog; ac_word=$2
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20633 $as_echo_n "checking for $ac_word... " >&6; }
20634 if ${ac_cv_path_POTENTIAL_CXX+:} false; then :
20635   $as_echo_n "(cached) " >&6
20636 else
20637   case $POTENTIAL_CXX in
20638   [\\/]* | ?:[\\/]*)
20639   ac_cv_path_POTENTIAL_CXX="$POTENTIAL_CXX" # Let the user override the test with a path.
20640   ;;
20641   *)
20642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20643 for as_dir in $PATH
20644 do
20645   IFS=$as_save_IFS
20646   test -z "$as_dir" && as_dir=.
20647     for ac_exec_ext in '' $ac_executable_extensions; do
20648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20649     ac_cv_path_POTENTIAL_CXX="$as_dir/$ac_word$ac_exec_ext"
20650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20651     break 2
20652   fi
20653 done
20654   done


21027   if test "x$COMPILER_BASENAME" = "xccache"; then
21028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, trying to find proper $COMPILER_NAME compiler" >&5
21029 $as_echo "yes, trying to find proper $COMPILER_NAME compiler" >&6; }
21030     # We /usr/lib/ccache in the path, so cc is a symlink to /usr/bin/ccache.
21031     # We want to control ccache invocation ourselves, so ignore this cc and try
21032     # searching again.
21033 
21034     # Remove the path to the fake ccache cc from the PATH
21035     RETRY_COMPILER_SAVED_PATH="$PATH"
21036     COMPILER_DIRNAME=`$DIRNAME $CXX`
21037     PATH="`$ECHO $PATH | $SED -e "s,$COMPILER_DIRNAME,,g" -e "s,::,:,g" -e "s,^:,,g"`"
21038 
21039     # Try again looking for our compiler
21040     if test -n "$ac_tool_prefix"; then
21041   for ac_prog in $COMPILER_CHECK_LIST
21042   do
21043     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21046 $as_echo_n "checking for $ac_word... " >&6; }
21047 if ${ac_cv_prog_PROPER_COMPILER_CXX+:} false; then :
21048   $as_echo_n "(cached) " >&6
21049 else
21050   if test -n "$PROPER_COMPILER_CXX"; then
21051   ac_cv_prog_PROPER_COMPILER_CXX="$PROPER_COMPILER_CXX" # Let the user override the test.
21052 else
21053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21054 for as_dir in $PATH
21055 do
21056   IFS=$as_save_IFS
21057   test -z "$as_dir" && as_dir=.
21058     for ac_exec_ext in '' $ac_executable_extensions; do
21059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21060     ac_cv_prog_PROPER_COMPILER_CXX="$ac_tool_prefix$ac_prog"
21061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21062     break 2
21063   fi
21064 done
21065   done
21066 IFS=$as_save_IFS
21067 


21071 if test -n "$PROPER_COMPILER_CXX"; then
21072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROPER_COMPILER_CXX" >&5
21073 $as_echo "$PROPER_COMPILER_CXX" >&6; }
21074 else
21075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21076 $as_echo "no" >&6; }
21077 fi
21078 
21079 
21080     test -n "$PROPER_COMPILER_CXX" && break
21081   done
21082 fi
21083 if test -z "$PROPER_COMPILER_CXX"; then
21084   ac_ct_PROPER_COMPILER_CXX=$PROPER_COMPILER_CXX
21085   for ac_prog in $COMPILER_CHECK_LIST
21086 do
21087   # Extract the first word of "$ac_prog", so it can be a program name with args.
21088 set dummy $ac_prog; ac_word=$2
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21090 $as_echo_n "checking for $ac_word... " >&6; }
21091 if ${ac_cv_prog_ac_ct_PROPER_COMPILER_CXX+:} false; then :
21092   $as_echo_n "(cached) " >&6
21093 else
21094   if test -n "$ac_ct_PROPER_COMPILER_CXX"; then
21095   ac_cv_prog_ac_ct_PROPER_COMPILER_CXX="$ac_ct_PROPER_COMPILER_CXX" # Let the user override the test.
21096 else
21097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21098 for as_dir in $PATH
21099 do
21100   IFS=$as_save_IFS
21101   test -z "$as_dir" && as_dir=.
21102     for ac_exec_ext in '' $ac_executable_extensions; do
21103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21104     ac_cv_prog_ac_ct_PROPER_COMPILER_CXX="$ac_prog"
21105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21106     break 2
21107   fi
21108 done
21109   done
21110 IFS=$as_save_IFS
21111 


21525 $as_echo "$as_me: Using $COMPILER_VENDOR $COMPILER_NAME compiler version $COMPILER_VERSION (located at $COMPILER)" >&6;}
21526 
21527 
21528 # Now that we have resolved CXX ourself, let autoconf have its go at it
21529 ac_ext=cpp
21530 ac_cpp='$CXXCPP $CPPFLAGS'
21531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 if test -z "$CXX"; then
21535   if test -n "$CCC"; then
21536     CXX=$CCC
21537   else
21538     if test -n "$ac_tool_prefix"; then
21539   for ac_prog in $CXX
21540   do
21541     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21544 $as_echo_n "checking for $ac_word... " >&6; }
21545 if ${ac_cv_prog_CXX+:} false; then :
21546   $as_echo_n "(cached) " >&6
21547 else
21548   if test -n "$CXX"; then
21549   ac_cv_prog_CXX="$CXX" # Let the user override the test.
21550 else
21551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21552 for as_dir in $PATH
21553 do
21554   IFS=$as_save_IFS
21555   test -z "$as_dir" && as_dir=.
21556     for ac_exec_ext in '' $ac_executable_extensions; do
21557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21558     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
21559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21560     break 2
21561   fi
21562 done
21563   done
21564 IFS=$as_save_IFS
21565 


21569 if test -n "$CXX"; then
21570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
21571 $as_echo "$CXX" >&6; }
21572 else
21573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21574 $as_echo "no" >&6; }
21575 fi
21576 
21577 
21578     test -n "$CXX" && break
21579   done
21580 fi
21581 if test -z "$CXX"; then
21582   ac_ct_CXX=$CXX
21583   for ac_prog in $CXX
21584 do
21585   # Extract the first word of "$ac_prog", so it can be a program name with args.
21586 set dummy $ac_prog; ac_word=$2
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21588 $as_echo_n "checking for $ac_word... " >&6; }
21589 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
21590   $as_echo_n "(cached) " >&6
21591 else
21592   if test -n "$ac_ct_CXX"; then
21593   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
21594 else
21595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21596 for as_dir in $PATH
21597 do
21598   IFS=$as_save_IFS
21599   test -z "$as_dir" && as_dir=.
21600     for ac_exec_ext in '' $ac_executable_extensions; do
21601   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21602     ac_cv_prog_ac_ct_CXX="$ac_prog"
21603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21604     break 2
21605   fi
21606 done
21607   done
21608 IFS=$as_save_IFS
21609 


21647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648   *) ac_try_echo=$ac_try;;
21649 esac
21650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21651 $as_echo "$ac_try_echo"; } >&5
21652   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21653   ac_status=$?
21654   if test -s conftest.err; then
21655     sed '10a\
21656 ... rest of stderr output deleted ...
21657          10q' conftest.err >conftest.er1
21658     cat conftest.er1 >&5
21659   fi
21660   rm -f conftest.er1 conftest.err
21661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21662   test $ac_status = 0; }
21663 done
21664 
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
21666 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
21667 if ${ac_cv_cxx_compiler_gnu+:} false; then :
21668   $as_echo_n "(cached) " >&6
21669 else
21670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h.  */
21672 
21673 int
21674 main ()
21675 {
21676 #ifndef __GNUC__
21677        choke me
21678 #endif
21679 
21680   ;
21681   return 0;
21682 }
21683 _ACEOF
21684 if ac_fn_cxx_try_compile "$LINENO"; then :
21685   ac_compiler_gnu=yes
21686 else
21687   ac_compiler_gnu=no
21688 fi
21689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
21691 
21692 fi
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
21694 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
21695 if test $ac_compiler_gnu = yes; then
21696   GXX=yes
21697 else
21698   GXX=
21699 fi
21700 ac_test_CXXFLAGS=${CXXFLAGS+set}
21701 ac_save_CXXFLAGS=$CXXFLAGS
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
21703 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
21704 if ${ac_cv_prog_cxx_g+:} false; then :
21705   $as_echo_n "(cached) " >&6
21706 else
21707   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21708    ac_cxx_werror_flag=yes
21709    ac_cv_prog_cxx_g=no
21710    CXXFLAGS="-g"
21711    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21712 /* end confdefs.h.  */
21713 
21714 int
21715 main ()
21716 {
21717 
21718   ;
21719   return 0;
21720 }
21721 _ACEOF
21722 if ac_fn_cxx_try_compile "$LINENO"; then :
21723   ac_cv_prog_cxx_g=yes
21724 else


21782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21785 
21786 
21787 ### Locate other tools
21788 
21789 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
21790     ac_ext=m
21791 ac_cpp='$OBJCPP $CPPFLAGS'
21792 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
21795 if test -n "$ac_tool_prefix"; then
21796   for ac_prog in gcc objcc objc cc CC
21797   do
21798     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21801 $as_echo_n "checking for $ac_word... " >&6; }
21802 if ${ac_cv_prog_OBJC+:} false; then :
21803   $as_echo_n "(cached) " >&6
21804 else
21805   if test -n "$OBJC"; then
21806   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21807 else
21808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21809 for as_dir in $PATH
21810 do
21811   IFS=$as_save_IFS
21812   test -z "$as_dir" && as_dir=.
21813     for ac_exec_ext in '' $ac_executable_extensions; do
21814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21815     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21817     break 2
21818   fi
21819 done
21820   done
21821 IFS=$as_save_IFS
21822 


21826 if test -n "$OBJC"; then
21827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21828 $as_echo "$OBJC" >&6; }
21829 else
21830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21831 $as_echo "no" >&6; }
21832 fi
21833 
21834 
21835     test -n "$OBJC" && break
21836   done
21837 fi
21838 if test -z "$OBJC"; then
21839   ac_ct_OBJC=$OBJC
21840   for ac_prog in gcc objcc objc cc CC
21841 do
21842   # Extract the first word of "$ac_prog", so it can be a program name with args.
21843 set dummy $ac_prog; ac_word=$2
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21845 $as_echo_n "checking for $ac_word... " >&6; }
21846 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
21847   $as_echo_n "(cached) " >&6
21848 else
21849   if test -n "$ac_ct_OBJC"; then
21850   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21851 else
21852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21853 for as_dir in $PATH
21854 do
21855   IFS=$as_save_IFS
21856   test -z "$as_dir" && as_dir=.
21857     for ac_exec_ext in '' $ac_executable_extensions; do
21858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21859     ac_cv_prog_ac_ct_OBJC="$ac_prog"
21860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21861     break 2
21862   fi
21863 done
21864   done
21865 IFS=$as_save_IFS
21866 


21902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21903   *) ac_try_echo=$ac_try;;
21904 esac
21905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21906 $as_echo "$ac_try_echo"; } >&5
21907   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
21908   ac_status=$?
21909   if test -s conftest.err; then
21910     sed '10a\
21911 ... rest of stderr output deleted ...
21912          10q' conftest.err >conftest.er1
21913     cat conftest.er1 >&5
21914   fi
21915   rm -f conftest.er1 conftest.err
21916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21917   test $ac_status = 0; }
21918 done
21919 
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
21921 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
21922 if ${ac_cv_objc_compiler_gnu+:} false; then :
21923   $as_echo_n "(cached) " >&6
21924 else
21925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21926 /* end confdefs.h.  */
21927 
21928 int
21929 main ()
21930 {
21931 #ifndef __GNUC__
21932        choke me
21933 #endif
21934 
21935   ;
21936   return 0;
21937 }
21938 _ACEOF
21939 if ac_fn_objc_try_compile "$LINENO"; then :
21940   ac_compiler_gnu=yes
21941 else
21942   ac_compiler_gnu=no
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
21946 
21947 fi
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
21949 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
21950 if test $ac_compiler_gnu = yes; then
21951   GOBJC=yes
21952 else
21953   GOBJC=
21954 fi
21955 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
21956 ac_save_OBJCFLAGS=$OBJCFLAGS
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
21958 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
21959 if ${ac_cv_prog_objc_g+:} false; then :
21960   $as_echo_n "(cached) " >&6
21961 else
21962   ac_save_objc_werror_flag=$ac_objc_werror_flag
21963    ac_objc_werror_flag=yes
21964    ac_cv_prog_objc_g=no
21965    OBJCFLAGS="-g"
21966    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21967 /* end confdefs.h.  */
21968 
21969 int
21970 main ()
21971 {
21972 
21973   ;
21974   return 0;
21975 }
21976 _ACEOF
21977 if ac_fn_objc_try_compile "$LINENO"; then :
21978   ac_cv_prog_objc_g=yes
21979 else


22315 OBJCFLAGS="$ORG_OBJCFLAGS"
22316 
22317 LD="$CC"
22318 LDEXE="$CC"
22319 LDCXX="$CXX"
22320 LDEXECXX="$CXX"
22321 
22322 # LDEXE is the linker to use, when creating executables.
22323 
22324 # Linking C++ libraries.
22325 
22326 # Linking C++ executables.
22327 
22328 
22329 if test "x$OPENJDK_TARGET_OS" != xwindows; then
22330     if test -n "$ac_tool_prefix"; then
22331   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
22332 set dummy ${ac_tool_prefix}ar; ac_word=$2
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22334 $as_echo_n "checking for $ac_word... " >&6; }
22335 if ${ac_cv_prog_AR+:} false; then :
22336   $as_echo_n "(cached) " >&6
22337 else
22338   if test -n "$AR"; then
22339   ac_cv_prog_AR="$AR" # Let the user override the test.
22340 else
22341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22342 for as_dir in $PATH
22343 do
22344   IFS=$as_save_IFS
22345   test -z "$as_dir" && as_dir=.
22346     for ac_exec_ext in '' $ac_executable_extensions; do
22347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22348     ac_cv_prog_AR="${ac_tool_prefix}ar"
22349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22350     break 2
22351   fi
22352 done
22353   done
22354 IFS=$as_save_IFS
22355 
22356 fi
22357 fi
22358 AR=$ac_cv_prog_AR
22359 if test -n "$AR"; then
22360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
22361 $as_echo "$AR" >&6; }
22362 else
22363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22364 $as_echo "no" >&6; }
22365 fi
22366 
22367 
22368 fi
22369 if test -z "$ac_cv_prog_AR"; then
22370   ac_ct_AR=$AR
22371   # Extract the first word of "ar", so it can be a program name with args.
22372 set dummy ar; ac_word=$2
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22374 $as_echo_n "checking for $ac_word... " >&6; }
22375 if ${ac_cv_prog_ac_ct_AR+:} false; then :
22376   $as_echo_n "(cached) " >&6
22377 else
22378   if test -n "$ac_ct_AR"; then
22379   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
22380 else
22381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22382 for as_dir in $PATH
22383 do
22384   IFS=$as_save_IFS
22385   test -z "$as_dir" && as_dir=.
22386     for ac_exec_ext in '' $ac_executable_extensions; do
22387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22388     ac_cv_prog_ac_ct_AR="ar"
22389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22390     break 2
22391   fi
22392 done
22393   done
22394 IFS=$as_save_IFS
22395 


22697 HOTSPOT_CXX="$CXX"
22698 HOTSPOT_LD="$LD"
22699 
22700 
22701 
22702 COMPILER_NAME=gcc
22703 COMPILER_TYPE=CC
22704 if test "x$OPENJDK_TARGET_OS" = xwindows; then :
22705 
22706     # For now, assume that we are always compiling using cl.exe.
22707     CC_OUT_OPTION=-Fo
22708     EXE_OUT_OPTION=-out:
22709     LD_OUT_OPTION=-out:
22710     AR_OUT_OPTION=-out:
22711     # On Windows, reject /usr/bin/link (as determined in CYGWIN_LINK), which is a cygwin
22712     # program for something completely different.
22713     # Extract the first word of "link", so it can be a program name with args.
22714 set dummy link; ac_word=$2
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22716 $as_echo_n "checking for $ac_word... " >&6; }
22717 if ${ac_cv_prog_WINLD+:} false; then :
22718   $as_echo_n "(cached) " >&6
22719 else
22720   if test -n "$WINLD"; then
22721   ac_cv_prog_WINLD="$WINLD" # Let the user override the test.
22722 else
22723   ac_prog_rejected=no
22724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22725 for as_dir in $PATH
22726 do
22727   IFS=$as_save_IFS
22728   test -z "$as_dir" && as_dir=.
22729     for ac_exec_ext in '' $ac_executable_extensions; do
22730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22731     if test "$as_dir/$ac_word$ac_exec_ext" = "$CYGWIN_LINK"; then
22732        ac_prog_rejected=yes
22733        continue
22734      fi
22735     ac_cv_prog_WINLD="link"
22736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22737     break 2


23036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the found link.exe is actually the Visual Studio linker" >&5
23037 $as_echo_n "checking if the found link.exe is actually the Visual Studio linker... " >&6; }
23038     "$WINLD" --version > /dev/null
23039     if test $? -eq 0 ; then
23040       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23041 $as_echo "no" >&6; }
23042       as_fn_error $? "This is the Cygwin link tool. Please check your PATH and rerun configure." "$LINENO" 5
23043     else
23044       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23045 $as_echo "yes" >&6; }
23046     fi
23047     LD="$WINLD"
23048     LDEXE="$WINLD"
23049     LDCXX="$WINLD"
23050     LDEXECXX="$WINLD"
23051 
23052     # Extract the first word of "mt", so it can be a program name with args.
23053 set dummy mt; ac_word=$2
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23055 $as_echo_n "checking for $ac_word... " >&6; }
23056 if ${ac_cv_prog_MT+:} false; then :
23057   $as_echo_n "(cached) " >&6
23058 else
23059   if test -n "$MT"; then
23060   ac_cv_prog_MT="$MT" # Let the user override the test.
23061 else
23062   ac_prog_rejected=no
23063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23064 for as_dir in $PATH
23065 do
23066   IFS=$as_save_IFS
23067   test -z "$as_dir" && as_dir=.
23068     for ac_exec_ext in '' $ac_executable_extensions; do
23069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23070     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/bin/mt"; then
23071        ac_prog_rejected=yes
23072        continue
23073      fi
23074     ac_cv_prog_MT="mt"
23075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23076     break 2


23357   fi
23358 
23359       # Now join together the path and the arguments once again
23360       if test "x$arguments" != xEOL; then
23361         new_complete="$new_path ${arguments% *}"
23362       else
23363         new_complete="$new_path"
23364       fi
23365 
23366   if test "x$complete" != "x$new_complete"; then
23367       MT="$new_complete"
23368       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting MT to \"$new_complete\"" >&5
23369 $as_echo "$as_me: Rewriting MT to \"$new_complete\"" >&6;}
23370     fi
23371 
23372     # The resource compiler
23373     # Extract the first word of "rc", so it can be a program name with args.
23374 set dummy rc; ac_word=$2
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23376 $as_echo_n "checking for $ac_word... " >&6; }
23377 if ${ac_cv_prog_RC+:} false; then :
23378   $as_echo_n "(cached) " >&6
23379 else
23380   if test -n "$RC"; then
23381   ac_cv_prog_RC="$RC" # Let the user override the test.
23382 else
23383   ac_prog_rejected=no
23384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23385 for as_dir in $PATH
23386 do
23387   IFS=$as_save_IFS
23388   test -z "$as_dir" && as_dir=.
23389     for ac_exec_ext in '' $ac_executable_extensions; do
23390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23391     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/bin/rc"; then
23392        ac_prog_rejected=yes
23393        continue
23394      fi
23395     ac_cv_prog_RC="rc"
23396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23397     break 2


23748 fi
23749     JDK_UPDATE_VERSION_NOTNULL=$JDK_UPDATE_VERSION
23750     if test "x$JDK_UPDATE_VERSION" = x; then :
23751 
23752         JDK_UPDATE_VERSION_NOTNULL=0
23753 
23754 fi
23755     RC_FLAGS="$RC_FLAGS -d \"JDK_BUILD_ID=$FULL_VERSION\""
23756     RC_FLAGS="$RC_FLAGS -d \"JDK_COMPANY=$COMPANY_NAME\""
23757     RC_FLAGS="$RC_FLAGS -d \"JDK_COMPONENT=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME binary\""
23758     RC_FLAGS="$RC_FLAGS -d \"JDK_VER=$JDK_MINOR_VERSION.$JDK_MICRO_VERSION.$JDK_UPDATE_VERSION_NOTNULL.$COOKED_BUILD_NUMBER\""
23759     RC_FLAGS="$RC_FLAGS -d \"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\""
23760     RC_FLAGS="$RC_FLAGS -d \"JDK_NAME=$PRODUCT_NAME $JDK_RC_PLATFORM_NAME $JDK_MINOR_VERSION $JDK_UPDATE_META_TAG\""
23761     RC_FLAGS="$RC_FLAGS -d \"JDK_FVER=$JDK_MINOR_VERSION,$JDK_MICRO_VERSION,$JDK_UPDATE_VERSION_NOTNULL,$COOKED_BUILD_NUMBER\""
23762 
23763     # lib.exe is used to create static libraries.
23764     # Extract the first word of "lib", so it can be a program name with args.
23765 set dummy lib; ac_word=$2
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23767 $as_echo_n "checking for $ac_word... " >&6; }
23768 if ${ac_cv_prog_WINAR+:} false; then :
23769   $as_echo_n "(cached) " >&6
23770 else
23771   if test -n "$WINAR"; then
23772   ac_cv_prog_WINAR="$WINAR" # Let the user override the test.
23773 else
23774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23775 for as_dir in $PATH
23776 do
23777   IFS=$as_save_IFS
23778   test -z "$as_dir" && as_dir=.
23779     for ac_exec_ext in '' $ac_executable_extensions; do
23780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23781     ac_cv_prog_WINAR="lib"
23782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23783     break 2
23784   fi
23785 done
23786   done
23787 IFS=$as_save_IFS
23788 


24054       # Now join together the path and the arguments once again
24055       if test "x$arguments" != xEOL; then
24056         new_complete="$new_path ${arguments% *}"
24057       else
24058         new_complete="$new_path"
24059       fi
24060 
24061   if test "x$complete" != "x$new_complete"; then
24062       WINAR="$new_complete"
24063       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting WINAR to \"$new_complete\"" >&5
24064 $as_echo "$as_me: Rewriting WINAR to \"$new_complete\"" >&6;}
24065     fi
24066 
24067     AR="$WINAR"
24068     ARFLAGS="-nologo -NODEFAULTLIB:MSVCRT"
24069 
24070     # Extract the first word of "dumpbin", so it can be a program name with args.
24071 set dummy dumpbin; ac_word=$2
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24073 $as_echo_n "checking for $ac_word... " >&6; }
24074 if ${ac_cv_prog_DUMPBIN+:} false; then :
24075   $as_echo_n "(cached) " >&6
24076 else
24077   if test -n "$DUMPBIN"; then
24078   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
24079 else
24080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24081 for as_dir in $PATH
24082 do
24083   IFS=$as_save_IFS
24084   test -z "$as_dir" && as_dir=.
24085     for ac_exec_ext in '' $ac_executable_extensions; do
24086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24087     ac_cv_prog_DUMPBIN="dumpbin"
24088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24089     break 2
24090   fi
24091 done
24092   done
24093 IFS=$as_save_IFS
24094 


24373 
24374     COMPILER_TYPE=CL
24375     CCXXFLAGS="$CCXXFLAGS -nologo"
24376 
24377 fi
24378 
24379 
24380 
24381 ac_ext=c
24382 ac_cpp='$CPP $CPPFLAGS'
24383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
24387 $as_echo_n "checking how to run the C preprocessor... " >&6; }
24388 # On Suns, sometimes $CPP names a directory.
24389 if test -n "$CPP" && test -d "$CPP"; then
24390   CPP=
24391 fi
24392 if test -z "$CPP"; then
24393   if ${ac_cv_prog_CPP+:} false; then :
24394   $as_echo_n "(cached) " >&6
24395 else
24396       # Double quotes because CPP needs to be expanded
24397     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
24398     do
24399       ac_preproc_ok=false
24400 for ac_c_preproc_warn_flag in '' yes
24401 do
24402   # Use a header file that comes with gcc, so configuring glibc
24403   # with a fresh cross-compiler works.
24404   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24405   # <limits.h> exists even on freestanding compilers.
24406   # On the NeXT, cc -E runs the code through the compiler's parser,
24407   # not just through cpp. "Syntax error" is here to catch this case.
24408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24409 /* end confdefs.h.  */
24410 #ifdef __STDC__
24411 # include <limits.h>
24412 #else
24413 # include <assert.h>


24489 _ACEOF
24490 if ac_fn_c_try_cpp "$LINENO"; then :
24491   # Broken: success on invalid input.
24492 continue
24493 else
24494   # Passes both tests.
24495 ac_preproc_ok=:
24496 break
24497 fi
24498 rm -f conftest.err conftest.i conftest.$ac_ext
24499 
24500 done
24501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
24502 rm -f conftest.i conftest.err conftest.$ac_ext
24503 if $ac_preproc_ok; then :
24504 
24505 else
24506   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24508 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
24509 See \`config.log' for more details" "$LINENO" 5; }
24510 fi
24511 
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24517 
24518 
24519   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
24520 
24521   # First separate the path from the arguments. This will split at the first
24522   # space.
24523   complete="$CPP"
24524   path="${complete%% *}"
24525   tmp="$complete EOL"
24526   arguments="${tmp#* }"
24527 
24528   # Input might be given as Windows format, start by converting to
24529   # unix format.


24773         new_complete="$new_path ${arguments% *}"
24774       else
24775         new_complete="$new_path"
24776       fi
24777 
24778   if test "x$complete" != "x$new_complete"; then
24779       CPP="$new_complete"
24780       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting CPP to \"$new_complete\"" >&5
24781 $as_echo "$as_me: Rewriting CPP to \"$new_complete\"" >&6;}
24782     fi
24783 
24784 
24785 ac_ext=cpp
24786 ac_cpp='$CXXCPP $CPPFLAGS'
24787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
24791 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
24792 if test -z "$CXXCPP"; then
24793   if ${ac_cv_prog_CXXCPP+:} false; then :
24794   $as_echo_n "(cached) " >&6
24795 else
24796       # Double quotes because CXXCPP needs to be expanded
24797     for CXXCPP in "$CXX -E" "/lib/cpp"
24798     do
24799       ac_preproc_ok=false
24800 for ac_cxx_preproc_warn_flag in '' yes
24801 do
24802   # Use a header file that comes with gcc, so configuring glibc
24803   # with a fresh cross-compiler works.
24804   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24805   # <limits.h> exists even on freestanding compilers.
24806   # On the NeXT, cc -E runs the code through the compiler's parser,
24807   # not just through cpp. "Syntax error" is here to catch this case.
24808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24809 /* end confdefs.h.  */
24810 #ifdef __STDC__
24811 # include <limits.h>
24812 #else
24813 # include <assert.h>


24889 _ACEOF
24890 if ac_fn_cxx_try_cpp "$LINENO"; then :
24891   # Broken: success on invalid input.
24892 continue
24893 else
24894   # Passes both tests.
24895 ac_preproc_ok=:
24896 break
24897 fi
24898 rm -f conftest.err conftest.i conftest.$ac_ext
24899 
24900 done
24901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
24902 rm -f conftest.i conftest.err conftest.$ac_ext
24903 if $ac_preproc_ok; then :
24904 
24905 else
24906   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24908 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
24909 See \`config.log' for more details" "$LINENO" 5; }
24910 fi
24911 
24912 ac_ext=cpp
24913 ac_cpp='$CXXCPP $CPPFLAGS'
24914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24917 
24918 
24919   if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
24920 
24921   # First separate the path from the arguments. This will split at the first
24922   # space.
24923   complete="$CXXCPP"
24924   path="${complete%% *}"
24925   tmp="$complete EOL"
24926   arguments="${tmp#* }"
24927 
24928   # Input might be given as Windows format, start by converting to
24929   # unix format.


25191     BUILD_CXX="$CXX"
25192     BUILD_LD="$LD"
25193 fi
25194 
25195 # for solaris we really need solaris tools, and not gnu equivalent
25196 #   these seems to normally reside in /usr/ccs/bin so add that to path before
25197 #   starting to probe
25198 #
25199 #   NOTE: I add this /usr/ccs/bin after TOOLS but before OLD_PATH
25200 #         so that it can be overriden --with-tools-dir
25201 if test "x$OPENJDK_BUILD_OS" = xsolaris; then
25202     PATH="${TOOLS_DIR}:/usr/ccs/bin:${OLD_PATH}"
25203 fi
25204 
25205 # Find the right assembler.
25206 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
25207     # Extract the first word of "as", so it can be a program name with args.
25208 set dummy as; ac_word=$2
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25210 $as_echo_n "checking for $ac_word... " >&6; }
25211 if ${ac_cv_path_AS+:} false; then :
25212   $as_echo_n "(cached) " >&6
25213 else
25214   case $AS in
25215   [\\/]* | ?:[\\/]*)
25216   ac_cv_path_AS="$AS" # Let the user override the test with a path.
25217   ;;
25218   *)
25219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25220 for as_dir in $PATH
25221 do
25222   IFS=$as_save_IFS
25223   test -z "$as_dir" && as_dir=.
25224     for ac_exec_ext in '' $ac_executable_extensions; do
25225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25226     ac_cv_path_AS="$as_dir/$ac_word$ac_exec_ext"
25227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25228     break 2
25229   fi
25230 done
25231   done


25503       else
25504         new_complete="$new_path"
25505       fi
25506 
25507   if test "x$complete" != "x$new_complete"; then
25508       AS="$new_complete"
25509       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting AS to \"$new_complete\"" >&5
25510 $as_echo "$as_me: Rewriting AS to \"$new_complete\"" >&6;}
25511     fi
25512 
25513 else
25514     AS="$CC -c"
25515 fi
25516 
25517 
25518 if test "x$OPENJDK_TARGET_OS" = xsolaris; then
25519     # Extract the first word of "nm", so it can be a program name with args.
25520 set dummy nm; ac_word=$2
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25522 $as_echo_n "checking for $ac_word... " >&6; }
25523 if ${ac_cv_path_NM+:} false; then :
25524   $as_echo_n "(cached) " >&6
25525 else
25526   case $NM in
25527   [\\/]* | ?:[\\/]*)
25528   ac_cv_path_NM="$NM" # Let the user override the test with a path.
25529   ;;
25530   *)
25531   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25532 for as_dir in $PATH
25533 do
25534   IFS=$as_save_IFS
25535   test -z "$as_dir" && as_dir=.
25536     for ac_exec_ext in '' $ac_executable_extensions; do
25537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25538     ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext"
25539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25540     break 2
25541   fi
25542 done
25543   done


25809       fi
25810   fi
25811 
25812       # Now join together the path and the arguments once again
25813       if test "x$arguments" != xEOL; then
25814         new_complete="$new_path ${arguments% *}"
25815       else
25816         new_complete="$new_path"
25817       fi
25818 
25819   if test "x$complete" != "x$new_complete"; then
25820       NM="$new_complete"
25821       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting NM to \"$new_complete\"" >&5
25822 $as_echo "$as_me: Rewriting NM to \"$new_complete\"" >&6;}
25823     fi
25824 
25825     # Extract the first word of "gnm", so it can be a program name with args.
25826 set dummy gnm; ac_word=$2
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25828 $as_echo_n "checking for $ac_word... " >&6; }
25829 if ${ac_cv_path_GNM+:} false; then :
25830   $as_echo_n "(cached) " >&6
25831 else
25832   case $GNM in
25833   [\\/]* | ?:[\\/]*)
25834   ac_cv_path_GNM="$GNM" # Let the user override the test with a path.
25835   ;;
25836   *)
25837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25838 for as_dir in $PATH
25839 do
25840   IFS=$as_save_IFS
25841   test -z "$as_dir" && as_dir=.
25842     for ac_exec_ext in '' $ac_executable_extensions; do
25843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25844     ac_cv_path_GNM="$as_dir/$ac_word$ac_exec_ext"
25845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25846     break 2
25847   fi
25848 done
25849   done


26115       fi
26116   fi
26117 
26118       # Now join together the path and the arguments once again
26119       if test "x$arguments" != xEOL; then
26120         new_complete="$new_path ${arguments% *}"
26121       else
26122         new_complete="$new_path"
26123       fi
26124 
26125   if test "x$complete" != "x$new_complete"; then
26126       GNM="$new_complete"
26127       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting GNM to \"$new_complete\"" >&5
26128 $as_echo "$as_me: Rewriting GNM to \"$new_complete\"" >&6;}
26129     fi
26130 
26131     # Extract the first word of "strip", so it can be a program name with args.
26132 set dummy strip; ac_word=$2
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26134 $as_echo_n "checking for $ac_word... " >&6; }
26135 if ${ac_cv_path_STRIP+:} false; then :
26136   $as_echo_n "(cached) " >&6
26137 else
26138   case $STRIP in
26139   [\\/]* | ?:[\\/]*)
26140   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
26141   ;;
26142   *)
26143   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26144 for as_dir in $PATH
26145 do
26146   IFS=$as_save_IFS
26147   test -z "$as_dir" && as_dir=.
26148     for ac_exec_ext in '' $ac_executable_extensions; do
26149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26150     ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
26151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26152     break 2
26153   fi
26154 done
26155   done


26421       fi
26422   fi
26423 
26424       # Now join together the path and the arguments once again
26425       if test "x$arguments" != xEOL; then
26426         new_complete="$new_path ${arguments% *}"
26427       else
26428         new_complete="$new_path"
26429       fi
26430 
26431   if test "x$complete" != "x$new_complete"; then
26432       STRIP="$new_complete"
26433       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STRIP to \"$new_complete\"" >&5
26434 $as_echo "$as_me: Rewriting STRIP to \"$new_complete\"" >&6;}
26435     fi
26436 
26437     # Extract the first word of "mcs", so it can be a program name with args.
26438 set dummy mcs; ac_word=$2
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26440 $as_echo_n "checking for $ac_word... " >&6; }
26441 if ${ac_cv_path_MCS+:} false; then :
26442   $as_echo_n "(cached) " >&6
26443 else
26444   case $MCS in
26445   [\\/]* | ?:[\\/]*)
26446   ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
26447   ;;
26448   *)
26449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26450 for as_dir in $PATH
26451 do
26452   IFS=$as_save_IFS
26453   test -z "$as_dir" && as_dir=.
26454     for ac_exec_ext in '' $ac_executable_extensions; do
26455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26456     ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
26457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26458     break 2
26459   fi
26460 done
26461   done


26729 
26730       # Now join together the path and the arguments once again
26731       if test "x$arguments" != xEOL; then
26732         new_complete="$new_path ${arguments% *}"
26733       else
26734         new_complete="$new_path"
26735       fi
26736 
26737   if test "x$complete" != "x$new_complete"; then
26738       MCS="$new_complete"
26739       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting MCS to \"$new_complete\"" >&5
26740 $as_echo "$as_me: Rewriting MCS to \"$new_complete\"" >&6;}
26741     fi
26742 
26743 elif test "x$OPENJDK_TARGET_OS" != xwindows; then
26744     if test -n "$ac_tool_prefix"; then
26745   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
26746 set dummy ${ac_tool_prefix}nm; ac_word=$2
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26748 $as_echo_n "checking for $ac_word... " >&6; }
26749 if ${ac_cv_prog_NM+:} false; then :
26750   $as_echo_n "(cached) " >&6
26751 else
26752   if test -n "$NM"; then
26753   ac_cv_prog_NM="$NM" # Let the user override the test.
26754 else
26755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26756 for as_dir in $PATH
26757 do
26758   IFS=$as_save_IFS
26759   test -z "$as_dir" && as_dir=.
26760     for ac_exec_ext in '' $ac_executable_extensions; do
26761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26762     ac_cv_prog_NM="${ac_tool_prefix}nm"
26763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26764     break 2
26765   fi
26766 done
26767   done
26768 IFS=$as_save_IFS
26769 
26770 fi
26771 fi
26772 NM=$ac_cv_prog_NM
26773 if test -n "$NM"; then
26774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
26775 $as_echo "$NM" >&6; }
26776 else
26777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26778 $as_echo "no" >&6; }
26779 fi
26780 
26781 
26782 fi
26783 if test -z "$ac_cv_prog_NM"; then
26784   ac_ct_NM=$NM
26785   # Extract the first word of "nm", so it can be a program name with args.
26786 set dummy nm; ac_word=$2
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26788 $as_echo_n "checking for $ac_word... " >&6; }
26789 if ${ac_cv_prog_ac_ct_NM+:} false; then :
26790   $as_echo_n "(cached) " >&6
26791 else
26792   if test -n "$ac_ct_NM"; then
26793   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
26794 else
26795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26796 for as_dir in $PATH
26797 do
26798   IFS=$as_save_IFS
26799   test -z "$as_dir" && as_dir=.
26800     for ac_exec_ext in '' $ac_executable_extensions; do
26801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26802     ac_cv_prog_ac_ct_NM="nm"
26803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26804     break 2
26805   fi
26806 done
26807   done
26808 IFS=$as_save_IFS
26809 


27089       # Now join together the path and the arguments once again
27090       if test "x$arguments" != xEOL; then
27091         new_complete="$new_path ${arguments% *}"
27092       else
27093         new_complete="$new_path"
27094       fi
27095 
27096   if test "x$complete" != "x$new_complete"; then
27097       NM="$new_complete"
27098       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting NM to \"$new_complete\"" >&5
27099 $as_echo "$as_me: Rewriting NM to \"$new_complete\"" >&6;}
27100     fi
27101 
27102     GNM="$NM"
27103 
27104     if test -n "$ac_tool_prefix"; then
27105   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
27106 set dummy ${ac_tool_prefix}strip; ac_word=$2
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27108 $as_echo_n "checking for $ac_word... " >&6; }
27109 if ${ac_cv_prog_STRIP+:} false; then :
27110   $as_echo_n "(cached) " >&6
27111 else
27112   if test -n "$STRIP"; then
27113   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
27114 else
27115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27116 for as_dir in $PATH
27117 do
27118   IFS=$as_save_IFS
27119   test -z "$as_dir" && as_dir=.
27120     for ac_exec_ext in '' $ac_executable_extensions; do
27121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27122     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
27123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27124     break 2
27125   fi
27126 done
27127   done
27128 IFS=$as_save_IFS
27129 
27130 fi
27131 fi
27132 STRIP=$ac_cv_prog_STRIP
27133 if test -n "$STRIP"; then
27134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
27135 $as_echo "$STRIP" >&6; }
27136 else
27137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27138 $as_echo "no" >&6; }
27139 fi
27140 
27141 
27142 fi
27143 if test -z "$ac_cv_prog_STRIP"; then
27144   ac_ct_STRIP=$STRIP
27145   # Extract the first word of "strip", so it can be a program name with args.
27146 set dummy strip; ac_word=$2
27147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27148 $as_echo_n "checking for $ac_word... " >&6; }
27149 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
27150   $as_echo_n "(cached) " >&6
27151 else
27152   if test -n "$ac_ct_STRIP"; then
27153   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
27154 else
27155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27156 for as_dir in $PATH
27157 do
27158   IFS=$as_save_IFS
27159   test -z "$as_dir" && as_dir=.
27160     for ac_exec_ext in '' $ac_executable_extensions; do
27161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27162     ac_cv_prog_ac_ct_STRIP="strip"
27163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27164     break 2
27165   fi
27166 done
27167   done
27168 IFS=$as_save_IFS
27169 


27454       fi
27455 
27456   if test "x$complete" != "x$new_complete"; then
27457       STRIP="$new_complete"
27458       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting STRIP to \"$new_complete\"" >&5
27459 $as_echo "$as_me: Rewriting STRIP to \"$new_complete\"" >&6;}
27460     fi
27461 
27462 fi
27463 
27464 # objcopy is used for moving debug symbols to separate files when
27465 # full debug symbols are enabled.
27466 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
27467     if test -n "$ac_tool_prefix"; then
27468   for ac_prog in gobjcopy objcopy
27469   do
27470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27473 $as_echo_n "checking for $ac_word... " >&6; }
27474 if ${ac_cv_prog_OBJCOPY+:} false; then :
27475   $as_echo_n "(cached) " >&6
27476 else
27477   if test -n "$OBJCOPY"; then
27478   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
27479 else
27480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27481 for as_dir in $PATH
27482 do
27483   IFS=$as_save_IFS
27484   test -z "$as_dir" && as_dir=.
27485     for ac_exec_ext in '' $ac_executable_extensions; do
27486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27487     ac_cv_prog_OBJCOPY="$ac_tool_prefix$ac_prog"
27488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27489     break 2
27490   fi
27491 done
27492   done
27493 IFS=$as_save_IFS
27494 


27498 if test -n "$OBJCOPY"; then
27499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
27500 $as_echo "$OBJCOPY" >&6; }
27501 else
27502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27503 $as_echo "no" >&6; }
27504 fi
27505 
27506 
27507     test -n "$OBJCOPY" && break
27508   done
27509 fi
27510 if test -z "$OBJCOPY"; then
27511   ac_ct_OBJCOPY=$OBJCOPY
27512   for ac_prog in gobjcopy objcopy
27513 do
27514   # Extract the first word of "$ac_prog", so it can be a program name with args.
27515 set dummy $ac_prog; ac_word=$2
27516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27517 $as_echo_n "checking for $ac_word... " >&6; }
27518 if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
27519   $as_echo_n "(cached) " >&6
27520 else
27521   if test -n "$ac_ct_OBJCOPY"; then
27522   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
27523 else
27524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27525 for as_dir in $PATH
27526 do
27527   IFS=$as_save_IFS
27528   test -z "$as_dir" && as_dir=.
27529     for ac_exec_ext in '' $ac_executable_extensions; do
27530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27531     ac_cv_prog_ac_ct_OBJCOPY="$ac_prog"
27532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27533     break 2
27534   fi
27535 done
27536   done
27537 IFS=$as_save_IFS
27538 


27825       else
27826         new_complete="$new_path"
27827       fi
27828 
27829   if test "x$complete" != "x$new_complete"; then
27830       OBJCOPY="$new_complete"
27831       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting OBJCOPY to \"$new_complete\"" >&5
27832 $as_echo "$as_me: Rewriting OBJCOPY to \"$new_complete\"" >&6;}
27833     fi
27834 
27835     fi
27836 fi
27837 
27838 if test -n "$ac_tool_prefix"; then
27839   for ac_prog in gobjdump objdump
27840   do
27841     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27844 $as_echo_n "checking for $ac_word... " >&6; }
27845 if ${ac_cv_prog_OBJDUMP+:} false; then :
27846   $as_echo_n "(cached) " >&6
27847 else
27848   if test -n "$OBJDUMP"; then
27849   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
27850 else
27851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27852 for as_dir in $PATH
27853 do
27854   IFS=$as_save_IFS
27855   test -z "$as_dir" && as_dir=.
27856     for ac_exec_ext in '' $ac_executable_extensions; do
27857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27858     ac_cv_prog_OBJDUMP="$ac_tool_prefix$ac_prog"
27859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27860     break 2
27861   fi
27862 done
27863   done
27864 IFS=$as_save_IFS
27865 


27869 if test -n "$OBJDUMP"; then
27870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
27871 $as_echo "$OBJDUMP" >&6; }
27872 else
27873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27874 $as_echo "no" >&6; }
27875 fi
27876 
27877 
27878     test -n "$OBJDUMP" && break
27879   done
27880 fi
27881 if test -z "$OBJDUMP"; then
27882   ac_ct_OBJDUMP=$OBJDUMP
27883   for ac_prog in gobjdump objdump
27884 do
27885   # Extract the first word of "$ac_prog", so it can be a program name with args.
27886 set dummy $ac_prog; ac_word=$2
27887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27888 $as_echo_n "checking for $ac_word... " >&6; }
27889 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
27890   $as_echo_n "(cached) " >&6
27891 else
27892   if test -n "$ac_ct_OBJDUMP"; then
27893   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
27894 else
27895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27896 for as_dir in $PATH
27897 do
27898   IFS=$as_save_IFS
27899   test -z "$as_dir" && as_dir=.
27900     for ac_exec_ext in '' $ac_executable_extensions; do
27901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27902     ac_cv_prog_ac_ct_OBJDUMP="$ac_prog"
27903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27904     break 2
27905   fi
27906 done
27907   done
27908 IFS=$as_save_IFS
27909 


28193       # Now join together the path and the arguments once again
28194       if test "x$arguments" != xEOL; then
28195         new_complete="$new_path ${arguments% *}"
28196       else
28197         new_complete="$new_path"
28198       fi
28199 
28200   if test "x$complete" != "x$new_complete"; then
28201       OBJDUMP="$new_complete"
28202       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting OBJDUMP to \"$new_complete\"" >&5
28203 $as_echo "$as_me: Rewriting OBJDUMP to \"$new_complete\"" >&6;}
28204     fi
28205 
28206 fi
28207 
28208 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then
28209    # Extract the first word of "lipo", so it can be a program name with args.
28210 set dummy lipo; ac_word=$2
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28212 $as_echo_n "checking for $ac_word... " >&6; }
28213 if ${ac_cv_path_LIPO+:} false; then :
28214   $as_echo_n "(cached) " >&6
28215 else
28216   case $LIPO in
28217   [\\/]* | ?:[\\/]*)
28218   ac_cv_path_LIPO="$LIPO" # Let the user override the test with a path.
28219   ;;
28220   *)
28221   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28222 for as_dir in $PATH
28223 do
28224   IFS=$as_save_IFS
28225   test -z "$as_dir" && as_dir=.
28226     for ac_exec_ext in '' $ac_executable_extensions; do
28227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28228     ac_cv_path_LIPO="$as_dir/$ac_word$ac_exec_ext"
28229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28230     break 2
28231   fi
28232 done
28233   done


28510       LIPO="$new_complete"
28511       { $as_echo "$as_me:${as_lineno-$LINENO}: Rewriting LIPO to \"$new_complete\"" >&5
28512 $as_echo "$as_me: Rewriting LIPO to \"$new_complete\"" >&6;}
28513     fi
28514 
28515 fi
28516 
28517 
28518 
28519 # Restore old path without tools dir
28520 PATH="$OLD_PATH"
28521 
28522 
28523 # FIXME: Currently we must test this after paths but before flags. Fix!
28524 
28525 # And we can test some aspects on the target using configure macros.
28526 
28527 
28528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
28529 $as_echo_n "checking for ANSI C header files... " >&6; }
28530 if ${ac_cv_header_stdc+:} false; then :
28531   $as_echo_n "(cached) " >&6
28532 else
28533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28534 /* end confdefs.h.  */
28535 #include <stdlib.h>
28536 #include <stdarg.h>
28537 #include <string.h>
28538 #include <float.h>
28539 
28540 int
28541 main ()
28542 {
28543 
28544   ;
28545   return 0;
28546 }
28547 _ACEOF
28548 if ac_fn_cxx_try_compile "$LINENO"; then :
28549   ac_cv_header_stdc=yes
28550 else


28687   #   to prevent emitting warning...
28688   ADDED_CFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28689   ADDED_CXXFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28690   ADDED_LDFLAGS=" -m${OPENJDK_TARGET_CPU_BITS}"
28691 
28692   CFLAGS="${CFLAGS}${ADDED_CFLAGS}"
28693   CXXFLAGS="${CXXFLAGS}${ADDED_CXXFLAGS}"
28694   LDFLAGS="${LDFLAGS}${ADDED_LDFLAGS}"
28695 
28696   CFLAGS_JDK="${CFLAGS_JDK}${ADDED_CFLAGS}"
28697   CXXFLAGS_JDK="${CXXFLAGS_JDK}${ADDED_CXXFLAGS}"
28698   LDFLAGS_JDK="${LDFLAGS_JDK}${ADDED_LDFLAGS}"
28699 
28700   fi
28701 fi
28702 
28703 # Make compilation sanity check
28704 for ac_header in stdio.h
28705 do :
28706   ac_fn_cxx_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
28707 if test "x$ac_cv_header_stdio_h" = xyes; then :
28708   cat >>confdefs.h <<_ACEOF
28709 #define HAVE_STDIO_H 1
28710 _ACEOF
28711 
28712 else
28713 
28714   { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to compile stdio.h. This likely implies missing compile dependencies." >&5
28715 $as_echo "$as_me: Failed to compile stdio.h. This likely implies missing compile dependencies." >&6;}
28716   if test "x$COMPILE_TYPE" = xreduced; then
28717     { $as_echo "$as_me:${as_lineno-$LINENO}: You are doing a reduced build. Check that you have 32-bit libraries installed." >&5
28718 $as_echo "$as_me: You are doing a reduced build. Check that you have 32-bit libraries installed." >&6;}
28719   elif test "x$COMPILE_TYPE" = xcross; then
28720     { $as_echo "$as_me:${as_lineno-$LINENO}: You are doing a cross-compilation. Check that you have all target platform libraries installed." >&5
28721 $as_echo "$as_me: You are doing a cross-compilation. Check that you have all target platform libraries installed." >&6;}
28722   fi
28723   as_fn_error $? "Cannot continue." "$LINENO" 5
28724 
28725 fi
28726 
28727 done
28728 
28729 
28730 # The cast to long int works around a bug in the HP C Compiler
28731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28733 # This bug is HP SR number 8606223364.
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int *" >&5
28735 $as_echo_n "checking size of int *... " >&6; }
28736 if ${ac_cv_sizeof_int_p+:} false; then :
28737   $as_echo_n "(cached) " >&6
28738 else
28739   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int *))" "ac_cv_sizeof_int_p"        "$ac_includes_default"; then :
28740 
28741 else
28742   if test "$ac_cv_type_int_p" = yes; then
28743      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28745 as_fn_error 77 "cannot compute sizeof (int *)
28746 See \`config.log' for more details" "$LINENO" 5; }
28747    else
28748      ac_cv_sizeof_int_p=0
28749    fi
28750 fi
28751 
28752 fi
28753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int_p" >&5
28754 $as_echo "$ac_cv_sizeof_int_p" >&6; }
28755 
28756 
28757 
28758 cat >>confdefs.h <<_ACEOF
28759 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
28760 _ACEOF
28761 
28762 
28763 
28764 if test "x$SIZEOF_INT_P" != "x$ac_cv_sizeof_int_p"; then
28765   # Workaround autoconf bug, see http://lists.gnu.org/archive/html/autoconf/2010-07/msg00004.html
28766   SIZEOF_INT_P="$ac_cv_sizeof_int_p"


28773 else
28774     TESTED_TARGET_CPU_BITS=`expr 8 \* $SIZEOF_INT_P`
28775 
28776     if test "x$TESTED_TARGET_CPU_BITS" != "x$OPENJDK_TARGET_CPU_BITS"; then
28777         as_fn_error $? "The tested number of bits in the target ($TESTED_TARGET_CPU_BITS) differs from the number of bits expected to be found in the target ($OPENJDK_TARGET_CPU_BITS)" "$LINENO" 5
28778     fi
28779 fi
28780 
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target address size" >&5
28782 $as_echo_n "checking for target address size... " >&6; }
28783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENJDK_TARGET_CPU_BITS bits" >&5
28784 $as_echo "$OPENJDK_TARGET_CPU_BITS bits" >&6; }
28785 
28786 
28787 ###############################################################################
28788 #
28789 # Is the target little of big endian?
28790 #
28791  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
28792 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
28793 if ${ac_cv_c_bigendian+:} false; then :
28794   $as_echo_n "(cached) " >&6
28795 else
28796   ac_cv_c_bigendian=unknown
28797     # See if we're dealing with a universal compiler.
28798     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28799 /* end confdefs.h.  */
28800 #ifndef __APPLE_CC__
28801                not a universal capable compiler
28802              #endif
28803              typedef int dummy;
28804 
28805 _ACEOF
28806 if ac_fn_cxx_try_compile "$LINENO"; then :
28807 
28808         # Check for potential -arch flags.  It is not universal unless
28809         # there are at least two -arch flags with different values.
28810         ac_arch=
28811         ac_prev=
28812         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
28813          if test -n "$ac_prev"; then


29949     fi
29950   fi
29951 fi
29952 
29953 # Now let autoconf do it's magic
29954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
29955 $as_echo_n "checking for X... " >&6; }
29956 
29957 
29958 # Check whether --with-x was given.
29959 if test "${with_x+set}" = set; then :
29960   withval=$with_x;
29961 fi
29962 
29963 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29964 if test "x$with_x" = xno; then
29965   # The user explicitly disabled X.
29966   have_x=disabled
29967 else
29968   case $x_includes,$x_libraries in #(
29969     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
29970     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
29971   $as_echo_n "(cached) " >&6
29972 else
29973   # One or both of the vars are not set, and there is no cached value.
29974 ac_x_includes=no ac_x_libraries=no
29975 rm -f -r conftest.dir
29976 if mkdir conftest.dir; then
29977   cd conftest.dir
29978   cat >Imakefile <<'_ACEOF'
29979 incroot:
29980         @echo incroot='${INCROOT}'
29981 usrlibdir:
29982         @echo usrlibdir='${USRLIBDIR}'
29983 libdir:
29984         @echo libdir='${LIBDIR}'
29985 _ACEOF
29986   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29987     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
29988     for ac_var in incroot usrlibdir libdir; do
29989       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29990     done


30227 /* Override any GCC internal prototype to avoid an error.
30228    Use char because int might match the return type of a GCC
30229    builtin and then its argument prototype would still apply.  */
30230 #ifdef __cplusplus
30231 extern "C"
30232 #endif
30233 char XOpenDisplay ();
30234 int
30235 main ()
30236 {
30237 return XOpenDisplay ();
30238   ;
30239   return 0;
30240 }
30241 _ACEOF
30242 if ac_fn_cxx_try_link "$LINENO"; then :
30243 
30244 else
30245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
30246 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
30247 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
30248   $as_echo_n "(cached) " >&6
30249 else
30250   ac_check_lib_save_LIBS=$LIBS
30251 LIBS="-ldnet  $LIBS"
30252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30253 /* end confdefs.h.  */
30254 
30255 /* Override any GCC internal prototype to avoid an error.
30256    Use char because int might match the return type of a GCC
30257    builtin and then its argument prototype would still apply.  */
30258 #ifdef __cplusplus
30259 extern "C"
30260 #endif
30261 char dnet_ntoa ();
30262 int
30263 main ()
30264 {
30265 return dnet_ntoa ();
30266   ;
30267   return 0;
30268 }
30269 _ACEOF
30270 if ac_fn_cxx_try_link "$LINENO"; then :
30271   ac_cv_lib_dnet_dnet_ntoa=yes
30272 else
30273   ac_cv_lib_dnet_dnet_ntoa=no
30274 fi
30275 rm -f core conftest.err conftest.$ac_objext \
30276     conftest$ac_exeext conftest.$ac_ext
30277 LIBS=$ac_check_lib_save_LIBS
30278 fi
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30280 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30281 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
30282   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30283 fi
30284 
30285     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30286       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
30287 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
30288 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
30289   $as_echo_n "(cached) " >&6
30290 else
30291   ac_check_lib_save_LIBS=$LIBS
30292 LIBS="-ldnet_stub  $LIBS"
30293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30294 /* end confdefs.h.  */
30295 
30296 /* Override any GCC internal prototype to avoid an error.
30297    Use char because int might match the return type of a GCC
30298    builtin and then its argument prototype would still apply.  */
30299 #ifdef __cplusplus
30300 extern "C"
30301 #endif
30302 char dnet_ntoa ();
30303 int
30304 main ()
30305 {
30306 return dnet_ntoa ();
30307   ;
30308   return 0;
30309 }
30310 _ACEOF
30311 if ac_fn_cxx_try_link "$LINENO"; then :
30312   ac_cv_lib_dnet_stub_dnet_ntoa=yes
30313 else
30314   ac_cv_lib_dnet_stub_dnet_ntoa=no
30315 fi
30316 rm -f core conftest.err conftest.$ac_objext \
30317     conftest$ac_exeext conftest.$ac_ext
30318 LIBS=$ac_check_lib_save_LIBS
30319 fi
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30321 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30322 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
30323   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30324 fi
30325 
30326     fi
30327 fi
30328 rm -f core conftest.err conftest.$ac_objext \
30329     conftest$ac_exeext conftest.$ac_ext
30330     LIBS="$ac_xsave_LIBS"
30331 
30332     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30333     # to get the SysV transport functions.
30334     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30335     # needs -lnsl.
30336     # The nsl library prevents programs from opening the X display
30337     # on Irix 5.2, according to T.E. Dickey.
30338     # The functions gethostbyname, getservbyname, and inet_addr are
30339     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30340     ac_fn_cxx_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
30341 if test "x$ac_cv_func_gethostbyname" = xyes; then :
30342 
30343 fi
30344 
30345     if test $ac_cv_func_gethostbyname = no; then
30346       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
30347 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
30348 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
30349   $as_echo_n "(cached) " >&6
30350 else
30351   ac_check_lib_save_LIBS=$LIBS
30352 LIBS="-lnsl  $LIBS"
30353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h.  */
30355 
30356 /* Override any GCC internal prototype to avoid an error.
30357    Use char because int might match the return type of a GCC
30358    builtin and then its argument prototype would still apply.  */
30359 #ifdef __cplusplus
30360 extern "C"
30361 #endif
30362 char gethostbyname ();
30363 int
30364 main ()
30365 {
30366 return gethostbyname ();
30367   ;
30368   return 0;
30369 }
30370 _ACEOF
30371 if ac_fn_cxx_try_link "$LINENO"; then :
30372   ac_cv_lib_nsl_gethostbyname=yes
30373 else
30374   ac_cv_lib_nsl_gethostbyname=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext \
30377     conftest$ac_exeext conftest.$ac_ext
30378 LIBS=$ac_check_lib_save_LIBS
30379 fi
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
30381 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
30382 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
30383   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30384 fi
30385 
30386       if test $ac_cv_lib_nsl_gethostbyname = no; then
30387         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
30388 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
30389 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
30390   $as_echo_n "(cached) " >&6
30391 else
30392   ac_check_lib_save_LIBS=$LIBS
30393 LIBS="-lbsd  $LIBS"
30394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30395 /* end confdefs.h.  */
30396 
30397 /* Override any GCC internal prototype to avoid an error.
30398    Use char because int might match the return type of a GCC
30399    builtin and then its argument prototype would still apply.  */
30400 #ifdef __cplusplus
30401 extern "C"
30402 #endif
30403 char gethostbyname ();
30404 int
30405 main ()
30406 {
30407 return gethostbyname ();
30408   ;
30409   return 0;
30410 }
30411 _ACEOF
30412 if ac_fn_cxx_try_link "$LINENO"; then :
30413   ac_cv_lib_bsd_gethostbyname=yes
30414 else
30415   ac_cv_lib_bsd_gethostbyname=no
30416 fi
30417 rm -f core conftest.err conftest.$ac_objext \
30418     conftest$ac_exeext conftest.$ac_ext
30419 LIBS=$ac_check_lib_save_LIBS
30420 fi
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
30422 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
30423 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
30424   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30425 fi
30426 
30427       fi
30428     fi
30429 
30430     # lieder@skyler.mavd.honeywell.com says without -lsocket,
30431     # socket/setsockopt and other routines are undefined under SCO ODT
30432     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
30433     # on later versions), says Simon Leinen: it contains gethostby*
30434     # variants that don't use the name server (or something).  -lsocket
30435     # must be given before -lnsl if both are needed.  We assume that
30436     # if connect needs -lnsl, so does gethostbyname.
30437     ac_fn_cxx_check_func "$LINENO" "connect" "ac_cv_func_connect"
30438 if test "x$ac_cv_func_connect" = xyes; then :
30439 
30440 fi
30441 
30442     if test $ac_cv_func_connect = no; then
30443       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
30444 $as_echo_n "checking for connect in -lsocket... " >&6; }
30445 if ${ac_cv_lib_socket_connect+:} false; then :
30446   $as_echo_n "(cached) " >&6
30447 else
30448   ac_check_lib_save_LIBS=$LIBS
30449 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30451 /* end confdefs.h.  */
30452 
30453 /* Override any GCC internal prototype to avoid an error.
30454    Use char because int might match the return type of a GCC
30455    builtin and then its argument prototype would still apply.  */
30456 #ifdef __cplusplus
30457 extern "C"
30458 #endif
30459 char connect ();
30460 int
30461 main ()
30462 {
30463 return connect ();
30464   ;
30465   return 0;
30466 }
30467 _ACEOF
30468 if ac_fn_cxx_try_link "$LINENO"; then :
30469   ac_cv_lib_socket_connect=yes
30470 else
30471   ac_cv_lib_socket_connect=no
30472 fi
30473 rm -f core conftest.err conftest.$ac_objext \
30474     conftest$ac_exeext conftest.$ac_ext
30475 LIBS=$ac_check_lib_save_LIBS
30476 fi
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
30478 $as_echo "$ac_cv_lib_socket_connect" >&6; }
30479 if test "x$ac_cv_lib_socket_connect" = xyes; then :
30480   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30481 fi
30482 
30483     fi
30484 
30485     # Guillermo Gomez says -lposix is necessary on A/UX.
30486     ac_fn_cxx_check_func "$LINENO" "remove" "ac_cv_func_remove"
30487 if test "x$ac_cv_func_remove" = xyes; then :
30488 
30489 fi
30490 
30491     if test $ac_cv_func_remove = no; then
30492       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
30493 $as_echo_n "checking for remove in -lposix... " >&6; }
30494 if ${ac_cv_lib_posix_remove+:} false; then :
30495   $as_echo_n "(cached) " >&6
30496 else
30497   ac_check_lib_save_LIBS=$LIBS
30498 LIBS="-lposix  $LIBS"
30499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h.  */
30501 
30502 /* Override any GCC internal prototype to avoid an error.
30503    Use char because int might match the return type of a GCC
30504    builtin and then its argument prototype would still apply.  */
30505 #ifdef __cplusplus
30506 extern "C"
30507 #endif
30508 char remove ();
30509 int
30510 main ()
30511 {
30512 return remove ();
30513   ;
30514   return 0;
30515 }
30516 _ACEOF
30517 if ac_fn_cxx_try_link "$LINENO"; then :
30518   ac_cv_lib_posix_remove=yes
30519 else
30520   ac_cv_lib_posix_remove=no
30521 fi
30522 rm -f core conftest.err conftest.$ac_objext \
30523     conftest$ac_exeext conftest.$ac_ext
30524 LIBS=$ac_check_lib_save_LIBS
30525 fi
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
30527 $as_echo "$ac_cv_lib_posix_remove" >&6; }
30528 if test "x$ac_cv_lib_posix_remove" = xyes; then :
30529   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30530 fi
30531 
30532     fi
30533 
30534     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30535     ac_fn_cxx_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
30536 if test "x$ac_cv_func_shmat" = xyes; then :
30537 
30538 fi
30539 
30540     if test $ac_cv_func_shmat = no; then
30541       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
30542 $as_echo_n "checking for shmat in -lipc... " >&6; }
30543 if ${ac_cv_lib_ipc_shmat+:} false; then :
30544   $as_echo_n "(cached) " >&6
30545 else
30546   ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-lipc  $LIBS"
30548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30549 /* end confdefs.h.  */
30550 
30551 /* Override any GCC internal prototype to avoid an error.
30552    Use char because int might match the return type of a GCC
30553    builtin and then its argument prototype would still apply.  */
30554 #ifdef __cplusplus
30555 extern "C"
30556 #endif
30557 char shmat ();
30558 int
30559 main ()
30560 {
30561 return shmat ();
30562   ;
30563   return 0;
30564 }
30565 _ACEOF
30566 if ac_fn_cxx_try_link "$LINENO"; then :
30567   ac_cv_lib_ipc_shmat=yes
30568 else
30569   ac_cv_lib_ipc_shmat=no
30570 fi
30571 rm -f core conftest.err conftest.$ac_objext \
30572     conftest$ac_exeext conftest.$ac_ext
30573 LIBS=$ac_check_lib_save_LIBS
30574 fi
30575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
30576 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
30577 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
30578   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30579 fi
30580 
30581     fi
30582   fi
30583 
30584   # Check for libraries that X11R6 Xt/Xaw programs need.
30585   ac_save_LDFLAGS=$LDFLAGS
30586   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30587   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30588   # check for ICE first), but we must link in the order -lSM -lICE or
30589   # we get undefined symbols.  So assume we have SM if we have ICE.
30590   # These have to be linked with before -lX11, unlike the other
30591   # libraries we check for below, so use a different variable.
30592   # John Interrante, Karl Berry
30593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
30594 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
30595 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
30596   $as_echo_n "(cached) " >&6
30597 else
30598   ac_check_lib_save_LIBS=$LIBS
30599 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h.  */
30602 
30603 /* Override any GCC internal prototype to avoid an error.
30604    Use char because int might match the return type of a GCC
30605    builtin and then its argument prototype would still apply.  */
30606 #ifdef __cplusplus
30607 extern "C"
30608 #endif
30609 char IceConnectionNumber ();
30610 int
30611 main ()
30612 {
30613 return IceConnectionNumber ();
30614   ;
30615   return 0;
30616 }
30617 _ACEOF
30618 if ac_fn_cxx_try_link "$LINENO"; then :
30619   ac_cv_lib_ICE_IceConnectionNumber=yes
30620 else
30621   ac_cv_lib_ICE_IceConnectionNumber=no
30622 fi
30623 rm -f core conftest.err conftest.$ac_objext \
30624     conftest$ac_exeext conftest.$ac_ext
30625 LIBS=$ac_check_lib_save_LIBS
30626 fi
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30628 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30629 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
30630   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30631 fi
30632 
30633   LDFLAGS=$ac_save_LDFLAGS
30634 
30635 fi
30636 
30637 
30638 # AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
30639 # this doesn't make sense so we remove it.
30640 if test "x$COMPILE_TYPE" = xcross; then
30641   X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[^ ]*//g'`
30642 fi
30643 
30644 if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
30645 
30646     # Print a helpful message on how to acquire the necessary build dependency.
30647     # x11 is the help tag: freetyp2, cups, pulse, alsa etc
30648     MISSING_DEPENDENCY=x11
30649     PKGHANDLER_COMMAND=


31006                 pkgadd_help  $MISSING_DEPENDENCY ;;
31007     * )
31008       break ;;
31009     esac
31010 
31011     if test "x$PKGHANDLER_COMMAND" != x; then
31012         HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
31013     fi
31014 
31015             as_fn_error $? "Could not find cups! $HELP_MSG " "$LINENO" 5
31016         fi
31017 fi
31018 
31019 
31020 
31021 
31022 
31023 
31024 ###############################################################################
31025 #
31026 # The ICU LayoutEngine library is used to select the best glyphs to display
31027 #
31028 
31029 
31030 # Check whether --with-icu-le was given.
31031 if test "${with_icu_le+set}" = set; then :
31032   withval=$with_icu_le;
31033 fi
31034 
31035 
31036 # default is bundled
31037 DEFAULT_ICU_LE=bundled
31038 
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which icu-le to use" >&5
31040 $as_echo_n "checking for which icu-le to use... " >&6; }
31041 
31042 #
31043 # if user didn't specify, use DEFAULT_ICU_LE
31044 #
31045 
31046 if test "x${with_icu_le}" = "x"; then
31047     with_icu_le=${DEFAULT_ICU_LE}
31048 fi
31049 
31050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_icu_le}" >&5
31051 $as_echo "${with_icu_le}" >&6; }
31052 
31053 if test "x${with_icu_le}" = "xbundled"; then
31054     USE_EXTERNAL_ICU_LE=false
31055 else
31056 
31057 pkg_failed=no
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU_LE" >&5
31059 $as_echo_n "checking for ICU_LE... " >&6; }
31060 
31061 if test -n "$ICU_LE_CFLAGS"; then
31062     pkg_cv_ICU_LE_CFLAGS="$ICU_LE_CFLAGS"
31063  elif test -n "$PKG_CONFIG"; then
31064     if test -n "$PKG_CONFIG" && \
31065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le\""; } >&5
31066   ($PKG_CONFIG --exists --print-errors "icu-le") 2>&5
31067   ac_status=$?
31068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31069   test $ac_status = 0; }; then
31070   pkg_cv_ICU_LE_CFLAGS=`$PKG_CONFIG --cflags "icu-le" 2>/dev/null`
31071 else
31072   pkg_failed=yes
31073 fi
31074  else
31075     pkg_failed=untried
31076 fi
31077 if test -n "$ICU_LE_LIBS"; then
31078     pkg_cv_ICU_LE_LIBS="$ICU_LE_LIBS"
31079  elif test -n "$PKG_CONFIG"; then
31080     if test -n "$PKG_CONFIG" && \
31081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le\""; } >&5
31082   ($PKG_CONFIG --exists --print-errors "icu-le") 2>&5
31083   ac_status=$?
31084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31085   test $ac_status = 0; }; then
31086   pkg_cv_ICU_LE_LIBS=`$PKG_CONFIG --libs "icu-le" 2>/dev/null`
31087 else
31088   pkg_failed=yes
31089 fi
31090  else
31091     pkg_failed=untried
31092 fi
31093 
31094 
31095 
31096 if test $pkg_failed = yes; then
31097 
31098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31099         _pkg_short_errors_supported=yes
31100 else
31101         _pkg_short_errors_supported=no
31102 fi
31103         if test $_pkg_short_errors_supported = yes; then
31104                 ICU_LE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "icu-le" 2>&1`
31105         else
31106                 ICU_LE_PKG_ERRORS=`$PKG_CONFIG --print-errors "icu-le" 2>&1`
31107         fi
31108         # Put the nasty error message in config.log where it belongs
31109         echo "$ICU_LE_PKG_ERRORS" >&5
31110 
31111         as_fn_error $? "Package requirements (icu-le) were not met:
31112 
31113 $ICU_LE_PKG_ERRORS
31114 
31115 Consider adjusting the PKG_CONFIG_PATH environment variable if you
31116 installed software in a non-standard prefix.
31117 
31118 Alternatively, you may set the environment variables ICU_LE_CFLAGS
31119 and ICU_LE_LIBS to avoid the need to call pkg-config.
31120 See the pkg-config man page for more details.
31121 " "$LINENO" 5
31122 elif test $pkg_failed = untried; then
31123         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
31125 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
31126 is in your PATH or set the PKG_CONFIG environment variable to the full
31127 path to pkg-config.
31128 
31129 Alternatively, you may set the environment variables ICU_LE_CFLAGS
31130 and ICU_LE_LIBS to avoid the need to call pkg-config.
31131 See the pkg-config man page for more details.
31132 
31133 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
31134 See \`config.log' for more details" "$LINENO" 5; }
31135 else
31136         ICU_LE_CFLAGS=$pkg_cv_ICU_LE_CFLAGS
31137         ICU_LE_LIBS=$pkg_cv_ICU_LE_LIBS
31138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31139 $as_echo "yes" >&6; }
31140         :
31141 fi
31142     USE_EXTERNAL_ICU_LE=true
31143 fi
31144 
31145 
31146 
31147 
31148 
31149 
31150 
31151 
31152 ###############################################################################
31153 #
31154 # The ubiquitous freetype2 library is used to render fonts.
31155 #
31156 
31157 # Check whether --with-freetype was given.
31158 if test "${with_freetype+set}" = set; then :
31159   withval=$with_freetype;
31160 fi
31161 
31162 
31163 # If we are using the OS installed system lib for freetype, then we do not need to copy it to the build tree
31164 USING_SYSTEM_FT_LIB=false
31165 
31166 if test "x$FREETYPE2_NOT_NEEDED" = xyes; then
31167         if test "x$with_freetype" != x || test "x$with_freetype_include" != x || test "x$with_freetype_lib" != x; then
31168                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetype not used, so --with-freetype is ignored" >&5
31169 $as_echo "$as_me: WARNING: freetype not used, so --with-freetype is ignored" >&2;}
31170         fi
31171         FREETYPE2_CFLAGS=
31172         FREETYPE2_LIBS=
31173         FREETYPE2_LIB_PATH=


31755                 pkgutil_help $MISSING_DEPENDENCY ;;
31756         pkgadd)
31757                 pkgadd_help  $MISSING_DEPENDENCY ;;
31758     * )
31759       break ;;
31760     esac
31761 
31762     if test "x$PKGHANDLER_COMMAND" != x; then
31763         HELP_MSG="You might be able to fix this by running '$PKGHANDLER_COMMAND'."
31764     fi
31765 
31766                 as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5
31767         fi
31768 
31769         if test "x$OPENJDK_TARGET_OS" != xwindows; then
31770             # AC_CHECK_LIB does not support use of cl.exe
31771             PREV_LDFLAGS="$LDFLAGS"
31772             LDFLAGS="$FREETYPE2_LIBS"
31773             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT_Init_FreeType in -lfreetype" >&5
31774 $as_echo_n "checking for FT_Init_FreeType in -lfreetype... " >&6; }
31775 if ${ac_cv_lib_freetype_FT_Init_FreeType+:} false; then :
31776   $as_echo_n "(cached) " >&6
31777 else
31778   ac_check_lib_save_LIBS=$LIBS
31779 LIBS="-lfreetype  $LIBS"
31780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31781 /* end confdefs.h.  */
31782 
31783 /* Override any GCC internal prototype to avoid an error.
31784    Use char because int might match the return type of a GCC
31785    builtin and then its argument prototype would still apply.  */
31786 #ifdef __cplusplus
31787 extern "C"
31788 #endif
31789 char FT_Init_FreeType ();
31790 int
31791 main ()
31792 {
31793 return FT_Init_FreeType ();
31794   ;
31795   return 0;
31796 }
31797 _ACEOF
31798 if ac_fn_cxx_try_link "$LINENO"; then :
31799   ac_cv_lib_freetype_FT_Init_FreeType=yes
31800 else
31801   ac_cv_lib_freetype_FT_Init_FreeType=no
31802 fi
31803 rm -f core conftest.err conftest.$ac_objext \
31804     conftest$ac_exeext conftest.$ac_ext
31805 LIBS=$ac_check_lib_save_LIBS
31806 fi
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
31808 $as_echo "$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
31809 if test "x$ac_cv_lib_freetype_FT_Init_FreeType" = xyes; then :
31810   FREETYPE2_FOUND=true
31811 else
31812   as_fn_error $? "Could not find freetype2! $HELP_MSG " "$LINENO" 5
31813 fi
31814 
31815             LDFLAGS="$PREV_LDFLAGS"
31816         fi
31817 fi
31818 
31819 
31820 
31821 
31822 
31823 
31824 
31825 
31826 
31827 ###############################################################################
31828 #
31829 # Check for alsa headers and libraries. Used on Linux/GNU systems.


32077         # Put the nasty error message in config.log where it belongs
32078         echo "$ALSA_PKG_ERRORS" >&5
32079 
32080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32081 $as_echo "no" >&6; }
32082                 ALSA_FOUND=no
32083 elif test $pkg_failed = untried; then
32084         ALSA_FOUND=no
32085 else
32086         ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
32087         ALSA_LIBS=$pkg_cv_ALSA_LIBS
32088         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32089 $as_echo "yes" >&6; }
32090         ALSA_FOUND=yes
32091 fi
32092         fi
32093         if test "x$ALSA_FOUND" = xno; then
32094             for ac_header in alsa/asoundlib.h
32095 do :
32096   ac_fn_cxx_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default"
32097 if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then :
32098   cat >>confdefs.h <<_ACEOF
32099 #define HAVE_ALSA_ASOUNDLIB_H 1
32100 _ACEOF
32101  ALSA_FOUND=yes
32102                               ALSA_CFLAGS=-Iignoreme
32103                               ALSA_LIBS=-lasound
32104                               DEFAULT_ALSA=yes
32105 else
32106   ALSA_FOUND=no
32107 fi
32108 
32109 done
32110 
32111         fi
32112         if test "x$ALSA_FOUND" = xno; then
32113 
32114     # Print a helpful message on how to acquire the necessary build dependency.
32115     # alsa is the help tag: freetyp2, cups, pulse, alsa etc
32116     MISSING_DEPENDENCY=alsa
32117     PKGHANDLER_COMMAND=


32136     fi
32137 
32138             as_fn_error $? "Could not find alsa! $HELP_MSG " "$LINENO" 5
32139         fi
32140 fi
32141 
32142 
32143 
32144 
32145 
32146 
32147 
32148 ###############################################################################
32149 #
32150 # Check for the jpeg library
32151 #
32152 
32153 USE_EXTERNAL_LIBJPEG=true
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
32155 $as_echo_n "checking for main in -ljpeg... " >&6; }
32156 if ${ac_cv_lib_jpeg_main+:} false; then :
32157   $as_echo_n "(cached) " >&6
32158 else
32159   ac_check_lib_save_LIBS=$LIBS
32160 LIBS="-ljpeg  $LIBS"
32161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32162 /* end confdefs.h.  */
32163 
32164 
32165 int
32166 main ()
32167 {
32168 return main ();
32169   ;
32170   return 0;
32171 }
32172 _ACEOF
32173 if ac_fn_cxx_try_link "$LINENO"; then :
32174   ac_cv_lib_jpeg_main=yes
32175 else
32176   ac_cv_lib_jpeg_main=no
32177 fi
32178 rm -f core conftest.err conftest.$ac_objext \
32179     conftest$ac_exeext conftest.$ac_ext
32180 LIBS=$ac_check_lib_save_LIBS
32181 fi
32182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
32183 $as_echo "$ac_cv_lib_jpeg_main" >&6; }
32184 if test "x$ac_cv_lib_jpeg_main" = xyes; then :
32185   cat >>confdefs.h <<_ACEOF
32186 #define HAVE_LIBJPEG 1
32187 _ACEOF
32188 
32189   LIBS="-ljpeg $LIBS"
32190 
32191 else
32192    USE_EXTERNAL_LIBJPEG=false
32193                { $as_echo "$as_me:${as_lineno-$LINENO}: Will use jpeg decoder bundled with the OpenJDK source" >&5
32194 $as_echo "$as_me: Will use jpeg decoder bundled with the OpenJDK source" >&6;}
32195 
32196 fi
32197 
32198 
32199 
32200 ###############################################################################
32201 #
32202 # Check for the gif library
32203 #
32204 


32213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which giflib to use" >&5
32214 $as_echo_n "checking for which giflib to use... " >&6; }
32215 
32216 # default is bundled
32217 DEFAULT_GIFLIB=bundled
32218 
32219 #
32220 # if user didn't specify, use DEFAULT_GIFLIB
32221 #
32222 if test "x${with_giflib}" = "x"; then
32223     with_giflib=${DEFAULT_GIFLIB}
32224 fi
32225 
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_giflib}" >&5
32227 $as_echo "${with_giflib}" >&6; }
32228 
32229 if test "x${with_giflib}" = "xbundled"; then
32230     USE_EXTERNAL_LIBGIF=false
32231 elif test "x${with_giflib}" = "xsystem"; then
32232     ac_fn_cxx_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
32233 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
32234 
32235 else
32236    as_fn_error $? "--with-giflib=system specified, but gif_lib.h not found!" "$LINENO" 5
32237 fi
32238 
32239 
32240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifGetCode in -lgif" >&5
32241 $as_echo_n "checking for DGifGetCode in -lgif... " >&6; }
32242 if ${ac_cv_lib_gif_DGifGetCode+:} false; then :
32243   $as_echo_n "(cached) " >&6
32244 else
32245   ac_check_lib_save_LIBS=$LIBS
32246 LIBS="-lgif  $LIBS"
32247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32248 /* end confdefs.h.  */
32249 
32250 /* Override any GCC internal prototype to avoid an error.
32251    Use char because int might match the return type of a GCC
32252    builtin and then its argument prototype would still apply.  */
32253 #ifdef __cplusplus
32254 extern "C"
32255 #endif
32256 char DGifGetCode ();
32257 int
32258 main ()
32259 {
32260 return DGifGetCode ();
32261   ;
32262   return 0;
32263 }
32264 _ACEOF
32265 if ac_fn_cxx_try_link "$LINENO"; then :
32266   ac_cv_lib_gif_DGifGetCode=yes
32267 else
32268   ac_cv_lib_gif_DGifGetCode=no
32269 fi
32270 rm -f core conftest.err conftest.$ac_objext \
32271     conftest$ac_exeext conftest.$ac_ext
32272 LIBS=$ac_check_lib_save_LIBS
32273 fi
32274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifGetCode" >&5
32275 $as_echo "$ac_cv_lib_gif_DGifGetCode" >&6; }
32276 if test "x$ac_cv_lib_gif_DGifGetCode" = xyes; then :
32277   cat >>confdefs.h <<_ACEOF
32278 #define HAVE_LIBGIF 1
32279 _ACEOF
32280 
32281   LIBS="-lgif $LIBS"
32282 
32283 else
32284    as_fn_error $? "--with-giflib=system specified, but no giflib found!" "$LINENO" 5
32285 fi
32286 
32287 
32288     USE_EXTERNAL_LIBGIF=true
32289 else
32290     as_fn_error $? "Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'" "$LINENO" 5
32291 fi
32292 
32293 
32294 ###############################################################################
32295 #
32296 # Check for the zlib library
32297 #
32298 
32299 
32300 # Check whether --with-zlib was given.
32301 if test "${with_zlib+set}" = set; then :
32302   withval=$with_zlib;
32303 fi
32304 
32305 
32306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
32307 $as_echo_n "checking for compress in -lz... " >&6; }
32308 if ${ac_cv_lib_z_compress+:} false; then :
32309   $as_echo_n "(cached) " >&6
32310 else
32311   ac_check_lib_save_LIBS=$LIBS
32312 LIBS="-lz  $LIBS"
32313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32314 /* end confdefs.h.  */
32315 
32316 /* Override any GCC internal prototype to avoid an error.
32317    Use char because int might match the return type of a GCC
32318    builtin and then its argument prototype would still apply.  */
32319 #ifdef __cplusplus
32320 extern "C"
32321 #endif
32322 char compress ();
32323 int
32324 main ()
32325 {
32326 return compress ();
32327   ;
32328   return 0;
32329 }
32330 _ACEOF
32331 if ac_fn_cxx_try_link "$LINENO"; then :
32332   ac_cv_lib_z_compress=yes
32333 else
32334   ac_cv_lib_z_compress=no
32335 fi
32336 rm -f core conftest.err conftest.$ac_objext \
32337     conftest$ac_exeext conftest.$ac_ext
32338 LIBS=$ac_check_lib_save_LIBS
32339 fi
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
32341 $as_echo "$ac_cv_lib_z_compress" >&6; }
32342 if test "x$ac_cv_lib_z_compress" = xyes; then :
32343    ZLIB_FOUND=yes
32344 else
32345    ZLIB_FOUND=no
32346 fi
32347 
32348 
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for which zlib to use" >&5
32350 $as_echo_n "checking for which zlib to use... " >&6; }
32351 
32352 DEFAULT_ZLIB=bundled
32353 if test "x$OPENJDK_TARGET_OS" = xmacosx; then
32354 #
32355 # On macosx default is system...on others default is
32356 #
32357     DEFAULT_ZLIB=system
32358 fi
32359 
32360 if test "x${ZLIB_FOUND}" != "xyes"; then
32361 #
32362 # If we don't find any system...set default to bundled


32415 if ac_fn_cxx_try_link "$LINENO"; then :
32416   has_altzone=yes
32417 else
32418   has_altzone=no
32419 fi
32420 rm -f core conftest.err conftest.$ac_objext \
32421     conftest$ac_exeext conftest.$ac_ext
32422 if test "x$has_altzone" = xyes; then
32423 
32424 $as_echo "#define HAVE_ALTZONE 1" >>confdefs.h
32425 
32426 fi
32427 
32428 ###############################################################################
32429 #
32430 # Check the maths library
32431 #
32432 
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
32434 $as_echo_n "checking for cos in -lm... " >&6; }
32435 if ${ac_cv_lib_m_cos+:} false; then :
32436   $as_echo_n "(cached) " >&6
32437 else
32438   ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lm  $LIBS"
32440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h.  */
32442 
32443 /* Override any GCC internal prototype to avoid an error.
32444    Use char because int might match the return type of a GCC
32445    builtin and then its argument prototype would still apply.  */
32446 #ifdef __cplusplus
32447 extern "C"
32448 #endif
32449 char cos ();
32450 int
32451 main ()
32452 {
32453 return cos ();
32454   ;
32455   return 0;
32456 }
32457 _ACEOF
32458 if ac_fn_cxx_try_link "$LINENO"; then :
32459   ac_cv_lib_m_cos=yes
32460 else
32461   ac_cv_lib_m_cos=no
32462 fi
32463 rm -f core conftest.err conftest.$ac_objext \
32464     conftest$ac_exeext conftest.$ac_ext
32465 LIBS=$ac_check_lib_save_LIBS
32466 fi
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
32468 $as_echo "$ac_cv_lib_m_cos" >&6; }
32469 if test "x$ac_cv_lib_m_cos" = xyes; then :
32470   cat >>confdefs.h <<_ACEOF
32471 #define HAVE_LIBM 1
32472 _ACEOF
32473 
32474   LIBS="-lm $LIBS"
32475 
32476 else
32477 
32478                   { $as_echo "$as_me:${as_lineno-$LINENO}: Maths library was not found" >&5
32479 $as_echo "$as_me: Maths library was not found" >&6;}
32480 
32481 fi
32482 
32483 
32484 
32485 ###############################################################################
32486 #
32487 # Check for libdl.so
32488 
32489 save_LIBS="$LIBS"
32490 LIBS=""
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32492 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32493 if ${ac_cv_lib_dl_dlopen+:} false; then :
32494   $as_echo_n "(cached) " >&6
32495 else
32496   ac_check_lib_save_LIBS=$LIBS
32497 LIBS="-ldl  $LIBS"
32498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32499 /* end confdefs.h.  */
32500 
32501 /* Override any GCC internal prototype to avoid an error.
32502    Use char because int might match the return type of a GCC
32503    builtin and then its argument prototype would still apply.  */
32504 #ifdef __cplusplus
32505 extern "C"
32506 #endif
32507 char dlopen ();
32508 int
32509 main ()
32510 {
32511 return dlopen ();
32512   ;
32513   return 0;
32514 }
32515 _ACEOF
32516 if ac_fn_cxx_try_link "$LINENO"; then :
32517   ac_cv_lib_dl_dlopen=yes
32518 else
32519   ac_cv_lib_dl_dlopen=no
32520 fi
32521 rm -f core conftest.err conftest.$ac_objext \
32522     conftest$ac_exeext conftest.$ac_ext
32523 LIBS=$ac_check_lib_save_LIBS
32524 fi
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32526 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32527 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32528   cat >>confdefs.h <<_ACEOF
32529 #define HAVE_LIBDL 1
32530 _ACEOF
32531 
32532   LIBS="-ldl $LIBS"
32533 
32534 fi
32535 
32536 LIBDL="$LIBS"
32537 
32538 LIBS="$save_LIBS"
32539 
32540 
32541 
32542 ###############################################################################
32543 #
32544 # statically link libstdc++ before C++ ABI is stablized on Linux unless
32545 # dynamic build is configured on command line.
32546 #
32547 


32737 
32738 Consider adjusting the PKG_CONFIG_PATH environment variable if you
32739 installed software in a non-standard prefix.
32740 
32741 Alternatively, you may set the environment variables LIBFFI_CFLAGS
32742 and LIBFFI_LIBS to avoid the need to call pkg-config.
32743 See the pkg-config man page for more details.
32744 " "$LINENO" 5
32745 elif test $pkg_failed = untried; then
32746         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32748 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
32749 is in your PATH or set the PKG_CONFIG environment variable to the full
32750 path to pkg-config.
32751 
32752 Alternatively, you may set the environment variables LIBFFI_CFLAGS
32753 and LIBFFI_LIBS to avoid the need to call pkg-config.
32754 See the pkg-config man page for more details.
32755 
32756 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
32757 See \`config.log' for more details" "$LINENO" 5; }
32758 else
32759         LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
32760         LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
32761         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32762 $as_echo "yes" >&6; }
32763         :
32764 fi
32765 
32766 fi
32767 
32768 if test "x$JVM_VARIANT_ZEROSHARK" = xtrue; then
32769     # Extract the first word of "llvm-config", so it can be a program name with args.
32770 set dummy llvm-config; ac_word=$2
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32772 $as_echo_n "checking for $ac_word... " >&6; }
32773 if ${ac_cv_prog_LLVM_CONFIG+:} false; then :
32774   $as_echo_n "(cached) " >&6
32775 else
32776   if test -n "$LLVM_CONFIG"; then
32777   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
32778 else
32779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32780 for as_dir in $PATH
32781 do
32782   IFS=$as_save_IFS
32783   test -z "$as_dir" && as_dir=.
32784     for ac_exec_ext in '' $ac_executable_extensions; do
32785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32786     ac_cv_prog_LLVM_CONFIG="llvm-config"
32787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32788     break 2
32789   fi
32790 done
32791   done
32792 IFS=$as_save_IFS
32793 


33369 
33370 
33371 # Setup use of ccache, if available
33372 
33373     # Check whether --enable-ccache was given.
33374 if test "${enable_ccache+set}" = set; then :
33375   enableval=$enable_ccache; ENABLE_CCACHE=${enable_ccache}
33376 else
33377   ENABLE_CCACHE=yes
33378 fi
33379 
33380     if test "x$ENABLE_CCACHE" = xyes; then
33381         OLD_PATH="$PATH"
33382         if test "x$TOOLS_DIR" != x; then
33383           PATH=$TOOLS_DIR:$PATH
33384         fi
33385         # Extract the first word of "ccache", so it can be a program name with args.
33386 set dummy ccache; ac_word=$2
33387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33388 $as_echo_n "checking for $ac_word... " >&6; }
33389 if ${ac_cv_path_CCACHE+:} false; then :
33390   $as_echo_n "(cached) " >&6
33391 else
33392   case $CCACHE in
33393   [\\/]* | ?:[\\/]*)
33394   ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path.
33395   ;;
33396   *)
33397   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33398 for as_dir in $PATH
33399 do
33400   IFS=$as_save_IFS
33401   test -z "$as_dir" && as_dir=.
33402     for ac_exec_ext in '' $ac_executable_extensions; do
33403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33404     ac_cv_path_CCACHE="$as_dir/$ac_word$ac_exec_ext"
33405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33406     break 2
33407   fi
33408 done
33409   done


33631         "s/'/'\\\\''/g;
33632           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33633       ;; #(
33634     *)
33635       # `set' quotes correctly as required by POSIX, so do not add quotes.
33636       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33637       ;;
33638     esac |
33639     sort
33640 ) |
33641   sed '
33642      /^ac_cv_env_/b end
33643      t clear
33644      :clear
33645      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33646      t end
33647      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33648      :end' >>confcache
33649 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33650   if test -w "$cache_file"; then
33651     if test "x$cache_file" != "x/dev/null"; then
33652       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
33653 $as_echo "$as_me: updating cache $cache_file" >&6;}
33654       if test ! -f "$cache_file" || test -h "$cache_file"; then
33655         cat confcache >"$cache_file"
33656       else
33657         case $cache_file in #(
33658         */* | ?:*)
33659           mv -f confcache "$cache_file"$$ &&
33660           mv -f "$cache_file"$$ "$cache_file" ;; #(
33661         *)
33662           mv -f confcache "$cache_file" ;;
33663         esac
33664       fi
33665     fi
33666   else
33667     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
33668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33669   fi
33670 fi
33671 rm -f confcache
33672 
33673 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33674 # Let make expand exec_prefix.
33675 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33676 
33677 DEFS=-DHAVE_CONFIG_H
33678 
33679 ac_libobjs=
33680 ac_ltlibobjs=
33681 U=
33682 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33683   # 1. Remove the extension, and $U if already installed.
33684   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33685   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
33686   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
33687   #    will be set to the directory where LIBOBJS objects are built.
33688   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33689   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
33690 done
33691 LIBOBJS=$ac_libobjs
33692 
33693 LTLIBOBJS=$ac_ltlibobjs
33694 
33695 
33696 
33697 : "${CONFIG_STATUS=./config.status}"
33698 ac_write_fail=0
33699 ac_clean_files_save=$ac_clean_files
33700 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33702 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33703 as_write_fail=0
33704 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33705 #! $SHELL
33706 # Generated by $as_me.
33707 # Run this file to recreate the current configuration.
33708 # Compiler output produced by configure, useful for debugging
33709 # configure, is in config.log if it exists.
33710 
33711 debug=false
33712 ac_cs_recheck=false
33713 ac_cs_silent=false
33714 
33715 SHELL=\${CONFIG_SHELL-$SHELL}
33716 export SHELL
33717 _ASEOF


33778 fi
33779 
33780 # The user is always right.
33781 if test "${PATH_SEPARATOR+set}" != set; then
33782   PATH_SEPARATOR=:
33783   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33784     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33785       PATH_SEPARATOR=';'
33786   }
33787 fi
33788 
33789 
33790 # IFS
33791 # We need space, tab and new line, in precisely that order.  Quoting is
33792 # there to prevent editors from complaining about space-tab.
33793 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33794 # splitting by setting IFS to empty value.)
33795 IFS=" ""        $as_nl"
33796 
33797 # Find who we are.  Look in the path if we contain no directory separator.
33798 as_myself=
33799 case $0 in #((
33800   *[\\/]* ) as_myself=$0 ;;
33801   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33802 for as_dir in $PATH
33803 do
33804   IFS=$as_save_IFS
33805   test -z "$as_dir" && as_dir=.
33806     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33807   done
33808 IFS=$as_save_IFS
33809 
33810      ;;
33811 esac
33812 # We did not find ourselves, most probably we were run as `sh COMMAND'
33813 # in which case we are not to be found in the path.
33814 if test "x$as_myself" = x; then
33815   as_myself=$0
33816 fi
33817 if test ! -f "$as_myself"; then
33818   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2


34086 # Sed expression to map a string onto a valid CPP name.
34087 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34088 
34089 # Sed expression to map a string onto a valid variable name.
34090 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34091 
34092 
34093 exec 6>&1
34094 ## ----------------------------------- ##
34095 ## Main body of $CONFIG_STATUS script. ##
34096 ## ----------------------------------- ##
34097 _ASEOF
34098 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
34099 
34100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34101 # Save the log message, to keep $0 and so on meaningful, and to
34102 # report actual input values of CONFIG_FILES etc. instead of their
34103 # values after options handling.
34104 ac_log="
34105 This file was extended by OpenJDK $as_me jdk8, which was
34106 generated by GNU Autoconf 2.68.  Invocation command line was
34107 
34108   CONFIG_FILES    = $CONFIG_FILES
34109   CONFIG_HEADERS  = $CONFIG_HEADERS
34110   CONFIG_LINKS    = $CONFIG_LINKS
34111   CONFIG_COMMANDS = $CONFIG_COMMANDS
34112   $ $0 $@
34113 
34114 on `(hostname || uname -n) 2>/dev/null | sed 1q`
34115 "
34116 
34117 _ACEOF
34118 
34119 case $ac_config_files in *"
34120 "*) set x $ac_config_files; shift; ac_config_files=$*;;
34121 esac
34122 
34123 case $ac_config_headers in *"
34124 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
34125 esac
34126 


34149       --recheck    update $as_me by reconfiguring in the same conditions
34150       --file=FILE[:TEMPLATE]
34151                    instantiate the configuration file FILE
34152       --header=FILE[:TEMPLATE]
34153                    instantiate the configuration header FILE
34154 
34155 Configuration files:
34156 $config_files
34157 
34158 Configuration headers:
34159 $config_headers
34160 
34161 Report bugs to <build-dev@openjdk.java.net>.
34162 OpenJDK home page: <http://openjdk.java.net>."
34163 
34164 _ACEOF
34165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34166 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
34167 ac_cs_version="\\
34168 OpenJDK config.status jdk8
34169 configured by $0, generated by GNU Autoconf 2.68,
34170   with options \\"\$ac_cs_config\\"
34171 
34172 Copyright (C) 2010 Free Software Foundation, Inc.
34173 This config.status script is free software; the Free Software Foundation
34174 gives unlimited permission to copy, distribute and modify it."
34175 
34176 ac_pwd='$ac_pwd'
34177 srcdir='$srcdir'
34178 AWK='$AWK'
34179 test -n "\$AWK" || AWK=awk
34180 _ACEOF
34181 
34182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34183 # The default lists apply if the user does not specify any file.
34184 ac_need_defaults=:
34185 while test $# != 0
34186 do
34187   case $1 in
34188   --*=?*)
34189     ac_option=`expr "X$1" : 'X\([^=]*\)='`


34278 } >&5
34279 
34280 _ACEOF
34281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34282 _ACEOF
34283 
34284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34285 
34286 # Handling of arguments.
34287 for ac_config_target in $ac_config_targets
34288 do
34289   case $ac_config_target in
34290     "$OUTPUT_ROOT/config.h") CONFIG_HEADERS="$CONFIG_HEADERS $OUTPUT_ROOT/config.h:$AUTOCONF_DIR/config.h.in" ;;
34291     "$OUTPUT_ROOT/spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.gmk:$AUTOCONF_DIR/spec.gmk.in" ;;
34292     "$OUTPUT_ROOT/hotspot-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/hotspot-spec.gmk:$AUTOCONF_DIR/hotspot-spec.gmk.in" ;;
34293     "$OUTPUT_ROOT/bootcycle-spec.gmk") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/bootcycle-spec.gmk:$AUTOCONF_DIR/bootcycle-spec.gmk.in" ;;
34294     "$OUTPUT_ROOT/compare.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/compare.sh:$AUTOCONF_DIR/compare.sh.in" ;;
34295     "$OUTPUT_ROOT/spec.sh") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/spec.sh:$AUTOCONF_DIR/spec.sh.in" ;;
34296     "$OUTPUT_ROOT/Makefile") CONFIG_FILES="$CONFIG_FILES $OUTPUT_ROOT/Makefile:$AUTOCONF_DIR/Makefile.in" ;;
34297 
34298   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
34299   esac
34300 done
34301 
34302 
34303 # If the user did not use the arguments to specify the items to instantiate,
34304 # then the envvar interface is used.  Set only those that are not.
34305 # We use the long form for the default assignment because of an extremely
34306 # bizarre bug on SunOS 4.1.3.
34307 if $ac_need_defaults; then
34308   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34309   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34310 fi
34311 
34312 # Have a temporary directory for convenience.  Make it in the build tree
34313 # simply because there is no reason against having it here, and in addition,
34314 # creating and moving files from /tmp can sometimes cause problems.
34315 # Hook for its removal unless debugging.
34316 # Note that there is a small window in which the directory will not be cleaned:
34317 # after its creation but before its name has been assigned to `$tmp'.
34318 $debug ||
34319 {
34320   tmp= ac_tmp=
34321   trap 'exit_status=$?
34322   : "${ac_tmp:=$tmp}"
34323   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
34324 ' 0
34325   trap 'as_fn_exit 1' 1 2 13 15
34326 }
34327 # Create a (secure) tmp directory for tmp files.
34328 
34329 {
34330   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34331   test -d "$tmp"
34332 }  ||
34333 {
34334   tmp=./conf$$-$RANDOM
34335   (umask 077 && mkdir "$tmp")
34336 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34337 ac_tmp=$tmp
34338 
34339 # Set up the scripts for CONFIG_FILES section.
34340 # No need to generate them if there are no CONFIG_FILES.
34341 # This happens for instance with `./config.status config.h'.
34342 if test -n "$CONFIG_FILES"; then
34343 
34344 
34345 ac_cr=`echo X | tr X '\015'`
34346 # On cygwin, bash can eat \r inside `` if the user requested igncr.
34347 # But we know of no other shell where ac_cr would be empty at this
34348 # point, so we can use a bashism as a fallback.
34349 if test "x$ac_cr" = x; then
34350   eval ac_cr=\$\'\\r\'
34351 fi
34352 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34353 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34354   ac_cs_awk_cr='\\r'
34355 else
34356   ac_cs_awk_cr=$ac_cr
34357 fi
34358 
34359 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
34360 _ACEOF
34361 
34362 
34363 {
34364   echo "cat >conf$$subs.awk <<_ACEOF" &&
34365   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34366   echo "_ACEOF"
34367 } >conf$$subs.sh ||
34368   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34369 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34370 ac_delim='%!_!# '
34371 for ac_last_try in false false false false false :; do
34372   . ./conf$$subs.sh ||
34373     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34374 
34375   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34376   if test $ac_delim_n = $ac_delim_num; then
34377     break
34378   elif $ac_last_try; then
34379     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34380   else
34381     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34382   fi
34383 done
34384 rm -f conf$$subs.sh
34385 
34386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34387 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
34388 _ACEOF
34389 sed -n '
34390 h
34391 s/^/S["/; s/!.*/"]=/
34392 p
34393 g
34394 s/^[^!]*!//
34395 :repl
34396 t repl
34397 s/'"$ac_delim"'$//
34398 t delim
34399 :nl
34400 h
34401 s/\(.\{148\}\)..*/\1/
34402 t more1
34403 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34404 p
34405 n
34406 b repl
34407 :more1


34415 s/\(.\{148\}\)..*/\1/
34416 t more2
34417 s/["\\]/\\&/g; s/^/"/; s/$/"/
34418 p
34419 b
34420 :more2
34421 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34422 p
34423 g
34424 s/.\{148\}//
34425 t delim
34426 ' <conf$$subs.awk | sed '
34427 /^[^""]/{
34428   N
34429   s/\n//
34430 }
34431 ' >>$CONFIG_STATUS || ac_write_fail=1
34432 rm -f conf$$subs.awk
34433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34434 _ACAWK
34435 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
34436   for (key in S) S_is_set[key] = 1
34437   FS = ""
34438 
34439 }
34440 {
34441   line = $ 0
34442   nfields = split(line, field, "@")
34443   substed = 0
34444   len = length(field[1])
34445   for (i = 2; i < nfields; i++) {
34446     key = field[i]
34447     keylen = length(key)
34448     if (S_is_set[key]) {
34449       value = S[key]
34450       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34451       len += length(value) + length(field[++i])
34452       substed = 1
34453     } else
34454       len += 1 + keylen
34455   }
34456 
34457   print line
34458 }
34459 
34460 _ACAWK
34461 _ACEOF
34462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34463 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34464   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34465 else
34466   cat
34467 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
34468   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34469 _ACEOF
34470 
34471 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34472 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34473 # trailing colons and then remove the whole line if VPATH becomes empty
34474 # (actually we leave an empty line to preserve line numbers).
34475 if test "x$srcdir" = x.; then
34476   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
34477 h
34478 s///
34479 s/^/:/
34480 s/[      ]*$/:/
34481 s/:\$(srcdir):/:/g
34482 s/:\${srcdir}:/:/g
34483 s/:@srcdir@:/:/g
34484 s/^:*//
34485 s/:*$//
34486 x
34487 s/\(=[   ]*\).*/\1/
34488 G
34489 s/\n//
34490 s/^[^=]*=[       ]*$//
34491 }'
34492 fi
34493 
34494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34495 fi # test -n "$CONFIG_FILES"
34496 
34497 # Set up the scripts for CONFIG_HEADERS section.
34498 # No need to generate them if there are no CONFIG_HEADERS.
34499 # This happens for instance with `./config.status Makefile'.
34500 if test -n "$CONFIG_HEADERS"; then
34501 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
34502 BEGIN {
34503 _ACEOF
34504 
34505 # Transform confdefs.h into an awk script `defines.awk', embedded as
34506 # here-document in config.status, that substitutes the proper values into
34507 # config.h.in to produce config.h.
34508 
34509 # Create a delimiter string that does not exist in confdefs.h, to ease
34510 # handling of long lines.
34511 ac_delim='%!_!# '
34512 for ac_last_try in false false :; do
34513   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
34514   if test -z "$ac_tt"; then
34515     break
34516   elif $ac_last_try; then
34517     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34518   else
34519     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34520   fi
34521 done
34522 
34523 # For the awk script, D is an array of macro values keyed by name,
34524 # likewise P contains macro parameters if any.  Preserve backslash
34525 # newline sequences.
34526 
34527 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34528 sed -n '
34529 s/.\{148\}/&'"$ac_delim"'/g
34530 t rset
34531 :rset
34532 s/^[     ]*#[    ]*define[       ][      ]*/ /
34533 t def
34534 d


34595     }
34596   }
34597 }
34598 { print }
34599 _ACAWK
34600 _ACEOF
34601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34602   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34603 fi # test -n "$CONFIG_HEADERS"
34604 
34605 
34606 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
34607 shift
34608 for ac_tag
34609 do
34610   case $ac_tag in
34611   :[FHLC]) ac_mode=$ac_tag; continue;;
34612   esac
34613   case $ac_mode$ac_tag in
34614   :[FHL]*:*);;
34615   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
34616   :[FH]-) ac_tag=-:-;;
34617   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34618   esac
34619   ac_save_IFS=$IFS
34620   IFS=:
34621   set x $ac_tag
34622   IFS=$ac_save_IFS
34623   shift
34624   ac_file=$1
34625   shift
34626 
34627   case $ac_mode in
34628   :L) ac_source=$1;;
34629   :[FH])
34630     ac_file_inputs=
34631     for ac_f
34632     do
34633       case $ac_f in
34634       -) ac_f="$ac_tmp/stdin";;
34635       *) # Look for the file first in the build tree, then in the source tree
34636          # (if the path is not absolute).  The absolute path cannot be DOS-style,
34637          # because $ac_f cannot contain `:'.
34638          test -f "$ac_f" ||
34639            case $ac_f in
34640            [\\/$]*) false;;
34641            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34642            esac ||
34643            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
34644       esac
34645       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34646       as_fn_append ac_file_inputs " '$ac_f'"
34647     done
34648 
34649     # Let's still pretend it is `configure' which instantiates (i.e., don't
34650     # use $as_me), people would be surprised to read:
34651     #    /* config.h.  Generated by config.status.  */
34652     configure_input='Generated from '`
34653           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34654         `' by configure.'
34655     if test x"$ac_file" != x-; then
34656       configure_input="$ac_file.  $configure_input"
34657       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34658 $as_echo "$as_me: creating $ac_file" >&6;}
34659     fi
34660     # Neutralize special characters interpreted by sed in replacement strings.
34661     case $configure_input in #(
34662     *\&* | *\|* | *\\* )
34663        ac_sed_conf_input=`$as_echo "$configure_input" |
34664        sed 's/[\\\\&|]/\\\\&/g'`;; #(
34665     *) ac_sed_conf_input=$configure_input;;
34666     esac
34667 
34668     case $ac_tag in
34669     *:-:* | *:-) cat >"$ac_tmp/stdin" \
34670       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
34671     esac
34672     ;;
34673   esac
34674 
34675   ac_dir=`$as_dirname -- "$ac_file" ||
34676 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34677          X"$ac_file" : 'X\(//\)[^/]' \| \
34678          X"$ac_file" : 'X\(//\)$' \| \
34679          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34680 $as_echo X"$ac_file" |
34681     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34682             s//\1/
34683             q
34684           }
34685           /^X\(\/\/\)[^/].*/{
34686             s//\1/
34687             q
34688           }
34689           /^X\(\/\/\)$/{


34775 # FIXME: do we really want to maintain this feature?
34776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34777 ac_sed_extra="$ac_vpsub
34778 $extrasub
34779 _ACEOF
34780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34781 :t
34782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34783 s|@configure_input@|$ac_sed_conf_input|;t t
34784 s&@top_builddir@&$ac_top_builddir_sub&;t t
34785 s&@top_build_prefix@&$ac_top_build_prefix&;t t
34786 s&@srcdir@&$ac_srcdir&;t t
34787 s&@abs_srcdir@&$ac_abs_srcdir&;t t
34788 s&@top_srcdir@&$ac_top_srcdir&;t t
34789 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34790 s&@builddir@&$ac_builddir&;t t
34791 s&@abs_builddir@&$ac_abs_builddir&;t t
34792 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34793 $ac_datarootdir_hack
34794 "
34795 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
34796   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34797 
34798 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34799   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
34800   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
34801       "$ac_tmp/out"`; test -z "$ac_out"; } &&
34802   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34803 which seems to be undefined.  Please make sure it is defined" >&5
34804 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34805 which seems to be undefined.  Please make sure it is defined" >&2;}
34806 
34807   rm -f "$ac_tmp/stdin"
34808   case $ac_file in
34809   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
34810   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
34811   esac \
34812   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34813  ;;
34814   :H)
34815   #
34816   # CONFIG_HEADER
34817   #
34818   if test x"$ac_file" != x-; then
34819     {
34820       $as_echo "/* $configure_input  */" \
34821       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
34822     } >"$ac_tmp/config.h" \
34823       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34824     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
34825       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34826 $as_echo "$as_me: $ac_file is unchanged" >&6;}
34827     else
34828       rm -f "$ac_file"
34829       mv "$ac_tmp/config.h" "$ac_file" \
34830         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34831     fi
34832   else
34833     $as_echo "/* $configure_input  */" \
34834       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
34835       || as_fn_error $? "could not create -" "$LINENO" 5
34836   fi
34837  ;;
34838 
34839 
34840   esac
34841 
34842 done # for ac_tag
34843 
34844 
34845 as_fn_exit 0
34846 _ACEOF
34847 ac_clean_files=$ac_clean_files_save
34848 
34849 test $ac_write_fail = 0 ||
34850   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34851 
34852 
34853 # configure is writing to config.log, and then calls config.status.
34854 # config.status does its own redirection, appending to config.log.