Home | History | Annotate | Download | only in source
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63.
      4 #
      5 #  Copyright (c) 1999-2009, International Business Machines Corporation and others. All Rights Reserved.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 exec 7<&0 </dev/null 6>&1
    577 
    578 # Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    580 # so uname gets run too.
    581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    582 
    583 #
    584 # Initializations.
    585 #
    586 ac_default_prefix=/usr/local
    587 ac_clean_files=
    588 ac_config_libobj_dir=.
    589 LIBOBJS=
    590 cross_compiling=no
    591 subdirs=
    592 MFLAGS=
    593 MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595 
    596 # Identity of this package.
    597 PACKAGE_NAME=
    598 PACKAGE_TARNAME=
    599 PACKAGE_VERSION=
    600 PACKAGE_STRING=
    601 PACKAGE_BUGREPORT=
    602 
    603 ac_unique_file="common/unicode/utypes.h"
    604 # Factoring default headers for most tests.
    605 ac_includes_default="\
    606 #include <stdio.h>
    607 #ifdef HAVE_SYS_TYPES_H
    608 # include <sys/types.h>
    609 #endif
    610 #ifdef HAVE_SYS_STAT_H
    611 # include <sys/stat.h>
    612 #endif
    613 #ifdef STDC_HEADERS
    614 # include <stdlib.h>
    615 # include <stddef.h>
    616 #else
    617 # ifdef HAVE_STDLIB_H
    618 #  include <stdlib.h>
    619 # endif
    620 #endif
    621 #ifdef HAVE_STRING_H
    622 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    623 #  include <memory.h>
    624 # endif
    625 # include <string.h>
    626 #endif
    627 #ifdef HAVE_STRINGS_H
    628 # include <strings.h>
    629 #endif
    630 #ifdef HAVE_INTTYPES_H
    631 # include <inttypes.h>
    632 #endif
    633 #ifdef HAVE_STDINT_H
    634 # include <stdint.h>
    635 #endif
    636 #ifdef HAVE_UNISTD_H
    637 # include <unistd.h>
    638 #endif"
    639 
    640 ac_subst_vars='LTLIBOBJS
    641 LIBOBJS
    642 platform_make_fragment
    643 platform_make_fragment_name
    644 platform
    645 ICUDATA_CHAR
    646 SAMPLES_TRUE
    647 TESTS_TRUE
    648 ICULIBSUFFIXCNAME
    649 U_HAVE_LIB_SUFFIX
    650 ICULIBSUFFIX
    651 DATA_PACKAGING_MODE
    652 thepkgicudatadir
    653 pkgicudatadir
    654 LAYOUT_TRUE
    655 ICUIO_TRUE
    656 EXTRAS_TRUE
    657 U_CHECK_UTF16_STRING
    658 U_SIZEOF_WCHAR_T
    659 U_HAVE_WCSCPY
    660 U_HAVE_WCHAR_H
    661 HAVE_UINT64_T
    662 HAVE_INT64_T
    663 HAVE_UINT32_T
    664 HAVE_INT32_T
    665 HAVE_UINT16_T
    666 HAVE_INT16_T
    667 HAVE_UINT8_T
    668 HAVE_INT8_T
    669 U_TIMEZONE
    670 U_HAVE_TIMEZONE
    671 U_TZNAME
    672 U_HAVE_TZNAME
    673 U_TZSET
    674 U_HAVE_TZSET
    675 U_HAVE_POPEN
    676 U_HAVE_PLACEMENT_NEW
    677 U_OVERRIDE_CXX_ALLOCATION
    678 U_HAVE_NAMESPACE
    679 U_NL_LANGINFO_CODESET
    680 U_HAVE_NL_LANGINFO_CODESET
    681 U_IS_BIG_ENDIAN
    682 U_IOSTREAM_SOURCE
    683 U_HAVE_DIRENT_H
    684 U_HAVE_INTTYPES_H
    685 EGREP
    686 GREP
    687 GENCCODE_ASSEMBLY
    688 HAVE_MMAP
    689 LIB_THREAD
    690 ICU_USE_THREADS
    691 THREADS_TRUE
    692 U_HAVE_STD_STRING
    693 U_INLINE
    694 ENABLE_RPATH
    695 U_ENABLE_TRACING
    696 U_DISABLE_RENAMING
    697 AR
    698 RANLIB
    699 LIBCXXFLAGS
    700 LIBCFLAGS
    701 U_USE_GCC_VISIBILITY_ATTRIBUTE
    702 U_DEFAULT_SHOW_DRAFT
    703 ENABLE_RELEASE
    704 ENABLE_DEBUG
    705 ENABLE_STATIC
    706 ENABLE_SHARED
    707 LIB_M
    708 COMPILE_LINK_ENVVAR
    709 ARFLAGS
    710 DOXYGEN
    711 cross_buildroot
    712 U_MAKE
    713 cross_compiling
    714 INSTALL_DATA
    715 INSTALL_SCRIPT
    716 INSTALL_PROGRAM
    717 CPP
    718 ac_ct_CXX
    719 CXXFLAGS
    720 CXX
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 LDFLAGS
    725 CFLAGS
    726 CC
    727 CPPFLAGS
    728 target_os
    729 target_vendor
    730 target_cpu
    731 target
    732 host_os
    733 host_vendor
    734 host_cpu
    735 host
    736 build_os
    737 build_vendor
    738 build_cpu
    739 build
    740 UNICODE_VERSION
    741 LIB_VERSION_MAJOR
    742 LIB_VERSION
    743 VERSION
    744 PACKAGE
    745 target_alias
    746 host_alias
    747 build_alias
    748 LIBS
    749 ECHO_T
    750 ECHO_N
    751 ECHO_C
    752 DEFS
    753 mandir
    754 localedir
    755 libdir
    756 psdir
    757 pdfdir
    758 dvidir
    759 htmldir
    760 infodir
    761 docdir
    762 oldincludedir
    763 includedir
    764 localstatedir
    765 sharedstatedir
    766 sysconfdir
    767 datadir
    768 datarootdir
    769 libexecdir
    770 sbindir
    771 bindir
    772 program_transform_name
    773 prefix
    774 exec_prefix
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL'
    782 ac_subst_files=''
    783 ac_user_opts='
    784 enable_option_checking
    785 with_cross_build
    786 enable_strict
    787 enable_64bit_libs
    788 with_library_bits
    789 enable_shared
    790 enable_static
    791 enable_debug
    792 enable_release
    793 enable_draft
    794 enable_renaming
    795 enable_tracing
    796 enable_rpath
    797 enable_threads
    798 enable_weak_threads
    799 with_iostream
    800 enable_extras
    801 enable_icuio
    802 enable_layout
    803 with_data_packaging
    804 with_library_suffix
    805 enable_tests
    806 enable_samples
    807 '
    808       ac_precious_vars='build_alias
    809 host_alias
    810 target_alias
    811 CC
    812 CFLAGS
    813 LDFLAGS
    814 LIBS
    815 CPPFLAGS
    816 CXX
    817 CXXFLAGS
    818 CCC
    819 CPP'
    820 
    821 
    822 # Initialize some variables set by options.
    823 ac_init_help=
    824 ac_init_version=false
    825 ac_unrecognized_opts=
    826 ac_unrecognized_sep=
    827 # The variables have the same names as the options, with
    828 # dashes changed to underlines.
    829 cache_file=/dev/null
    830 exec_prefix=NONE
    831 no_create=
    832 no_recursion=
    833 prefix=NONE
    834 program_prefix=NONE
    835 program_suffix=NONE
    836 program_transform_name=s,x,x,
    837 silent=
    838 site=
    839 srcdir=
    840 verbose=
    841 x_includes=NONE
    842 x_libraries=NONE
    843 
    844 # Installation directory options.
    845 # These are left unexpanded so users can "make install exec_prefix=/foo"
    846 # and all the variables that are supposed to be based on exec_prefix
    847 # by default will actually change.
    848 # Use braces instead of parens because sh, perl, etc. also accept them.
    849 # (The list follows the same order as the GNU Coding Standards.)
    850 bindir='${exec_prefix}/bin'
    851 sbindir='${exec_prefix}/sbin'
    852 libexecdir='${exec_prefix}/libexec'
    853 datarootdir='${prefix}/share'
    854 datadir='${datarootdir}'
    855 sysconfdir='${prefix}/etc'
    856 sharedstatedir='${prefix}/com'
    857 localstatedir='${prefix}/var'
    858 includedir='${prefix}/include'
    859 oldincludedir='/usr/include'
    860 docdir='${datarootdir}/doc/${PACKAGE}'
    861 infodir='${datarootdir}/info'
    862 htmldir='${docdir}'
    863 dvidir='${docdir}'
    864 pdfdir='${docdir}'
    865 psdir='${docdir}'
    866 libdir='${exec_prefix}/lib'
    867 localedir='${datarootdir}/locale'
    868 mandir='${datarootdir}/man'
    869 
    870 ac_prev=
    871 ac_dashdash=
    872 for ac_option
    873 do
    874   # If the previous option needs an argument, assign it.
    875   if test -n "$ac_prev"; then
    876     eval $ac_prev=\$ac_option
    877     ac_prev=
    878     continue
    879   fi
    880 
    881   case $ac_option in
    882   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    883   *)	ac_optarg=yes ;;
    884   esac
    885 
    886   # Accept the important Cygnus configure options, so we can diagnose typos.
    887 
    888   case $ac_dashdash$ac_option in
    889   --)
    890     ac_dashdash=yes ;;
    891 
    892   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    893     ac_prev=bindir ;;
    894   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    895     bindir=$ac_optarg ;;
    896 
    897   -build | --build | --buil | --bui | --bu)
    898     ac_prev=build_alias ;;
    899   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    900     build_alias=$ac_optarg ;;
    901 
    902   -cache-file | --cache-file | --cache-fil | --cache-fi \
    903   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    904     ac_prev=cache_file ;;
    905   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    906   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    907     cache_file=$ac_optarg ;;
    908 
    909   --config-cache | -C)
    910     cache_file=config.cache ;;
    911 
    912   -datadir | --datadir | --datadi | --datad)
    913     ac_prev=datadir ;;
    914   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    915     datadir=$ac_optarg ;;
    916 
    917   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    918   | --dataroo | --dataro | --datar)
    919     ac_prev=datarootdir ;;
    920   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    921   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    922     datarootdir=$ac_optarg ;;
    923 
    924   -disable-* | --disable-*)
    925     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    926     # Reject names that are not valid shell variable names.
    927     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    928       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    929    { (exit 1); exit 1; }; }
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=no ;;
    940 
    941   -docdir | --docdir | --docdi | --doc | --do)
    942     ac_prev=docdir ;;
    943   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    944     docdir=$ac_optarg ;;
    945 
    946   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    947     ac_prev=dvidir ;;
    948   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    949     dvidir=$ac_optarg ;;
    950 
    951   -enable-* | --enable-*)
    952     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    953     # Reject names that are not valid shell variable names.
    954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    955       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    956    { (exit 1); exit 1; }; }
    957     ac_useropt_orig=$ac_useropt
    958     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    959     case $ac_user_opts in
    960       *"
    961 "enable_$ac_useropt"
    962 "*) ;;
    963       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    964 	 ac_unrecognized_sep=', ';;
    965     esac
    966     eval enable_$ac_useropt=\$ac_optarg ;;
    967 
    968   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    969   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    970   | --exec | --exe | --ex)
    971     ac_prev=exec_prefix ;;
    972   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    973   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    974   | --exec=* | --exe=* | --ex=*)
    975     exec_prefix=$ac_optarg ;;
    976 
    977   -gas | --gas | --ga | --g)
    978     # Obsolete; use --with-gas.
    979     with_gas=yes ;;
    980 
    981   -help | --help | --hel | --he | -h)
    982     ac_init_help=long ;;
    983   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    984     ac_init_help=recursive ;;
    985   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    986     ac_init_help=short ;;
    987 
    988   -host | --host | --hos | --ho)
    989     ac_prev=host_alias ;;
    990   -host=* | --host=* | --hos=* | --ho=*)
    991     host_alias=$ac_optarg ;;
    992 
    993   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    994     ac_prev=htmldir ;;
    995   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    996   | --ht=*)
    997     htmldir=$ac_optarg ;;
    998 
    999   -includedir | --includedir | --includedi | --included | --include \
   1000   | --includ | --inclu | --incl | --inc)
   1001     ac_prev=includedir ;;
   1002   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1003   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1004     includedir=$ac_optarg ;;
   1005 
   1006   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1007     ac_prev=infodir ;;
   1008   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1009     infodir=$ac_optarg ;;
   1010 
   1011   -libdir | --libdir | --libdi | --libd)
   1012     ac_prev=libdir ;;
   1013   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1014     libdir=$ac_optarg ;;
   1015 
   1016   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1017   | --libexe | --libex | --libe)
   1018     ac_prev=libexecdir ;;
   1019   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1020   | --libexe=* | --libex=* | --libe=*)
   1021     libexecdir=$ac_optarg ;;
   1022 
   1023   -localedir | --localedir | --localedi | --localed | --locale)
   1024     ac_prev=localedir ;;
   1025   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1026     localedir=$ac_optarg ;;
   1027 
   1028   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1029   | --localstate | --localstat | --localsta | --localst | --locals)
   1030     ac_prev=localstatedir ;;
   1031   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1032   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1033     localstatedir=$ac_optarg ;;
   1034 
   1035   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1036     ac_prev=mandir ;;
   1037   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1038     mandir=$ac_optarg ;;
   1039 
   1040   -nfp | --nfp | --nf)
   1041     # Obsolete; use --without-fp.
   1042     with_fp=no ;;
   1043 
   1044   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1045   | --no-cr | --no-c | -n)
   1046     no_create=yes ;;
   1047 
   1048   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1049   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1050     no_recursion=yes ;;
   1051 
   1052   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1053   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1054   | --oldin | --oldi | --old | --ol | --o)
   1055     ac_prev=oldincludedir ;;
   1056   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1057   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1058   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1059     oldincludedir=$ac_optarg ;;
   1060 
   1061   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1062     ac_prev=prefix ;;
   1063   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1064     prefix=$ac_optarg ;;
   1065 
   1066   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1067   | --program-pre | --program-pr | --program-p)
   1068     ac_prev=program_prefix ;;
   1069   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1070   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1071     program_prefix=$ac_optarg ;;
   1072 
   1073   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1074   | --program-suf | --program-su | --program-s)
   1075     ac_prev=program_suffix ;;
   1076   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1077   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1078     program_suffix=$ac_optarg ;;
   1079 
   1080   -program-transform-name | --program-transform-name \
   1081   | --program-transform-nam | --program-transform-na \
   1082   | --program-transform-n | --program-transform- \
   1083   | --program-transform | --program-transfor \
   1084   | --program-transfo | --program-transf \
   1085   | --program-trans | --program-tran \
   1086   | --progr-tra | --program-tr | --program-t)
   1087     ac_prev=program_transform_name ;;
   1088   -program-transform-name=* | --program-transform-name=* \
   1089   | --program-transform-nam=* | --program-transform-na=* \
   1090   | --program-transform-n=* | --program-transform-=* \
   1091   | --program-transform=* | --program-transfor=* \
   1092   | --program-transfo=* | --program-transf=* \
   1093   | --program-trans=* | --program-tran=* \
   1094   | --progr-tra=* | --program-tr=* | --program-t=*)
   1095     program_transform_name=$ac_optarg ;;
   1096 
   1097   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1098     ac_prev=pdfdir ;;
   1099   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1100     pdfdir=$ac_optarg ;;
   1101 
   1102   -psdir | --psdir | --psdi | --psd | --ps)
   1103     ac_prev=psdir ;;
   1104   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1105     psdir=$ac_optarg ;;
   1106 
   1107   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1108   | -silent | --silent | --silen | --sile | --sil)
   1109     silent=yes ;;
   1110 
   1111   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1112     ac_prev=sbindir ;;
   1113   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1114   | --sbi=* | --sb=*)
   1115     sbindir=$ac_optarg ;;
   1116 
   1117   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1118   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1119   | --sharedst | --shareds | --shared | --share | --shar \
   1120   | --sha | --sh)
   1121     ac_prev=sharedstatedir ;;
   1122   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1123   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1124   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1125   | --sha=* | --sh=*)
   1126     sharedstatedir=$ac_optarg ;;
   1127 
   1128   -site | --site | --sit)
   1129     ac_prev=site ;;
   1130   -site=* | --site=* | --sit=*)
   1131     site=$ac_optarg ;;
   1132 
   1133   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1134     ac_prev=srcdir ;;
   1135   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1136     srcdir=$ac_optarg ;;
   1137 
   1138   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1139   | --syscon | --sysco | --sysc | --sys | --sy)
   1140     ac_prev=sysconfdir ;;
   1141   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1142   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1143     sysconfdir=$ac_optarg ;;
   1144 
   1145   -target | --target | --targe | --targ | --tar | --ta | --t)
   1146     ac_prev=target_alias ;;
   1147   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1148     target_alias=$ac_optarg ;;
   1149 
   1150   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1151     verbose=yes ;;
   1152 
   1153   -version | --version | --versio | --versi | --vers | -V)
   1154     ac_init_version=: ;;
   1155 
   1156   -with-* | --with-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1161    { (exit 1); exit 1; }; }
   1162     ac_useropt_orig=$ac_useropt
   1163     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1164     case $ac_user_opts in
   1165       *"
   1166 "with_$ac_useropt"
   1167 "*) ;;
   1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1169 	 ac_unrecognized_sep=', ';;
   1170     esac
   1171     eval with_$ac_useropt=\$ac_optarg ;;
   1172 
   1173   -without-* | --without-*)
   1174     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1175     # Reject names that are not valid shell variable names.
   1176     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1177       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1178    { (exit 1); exit 1; }; }
   1179     ac_useropt_orig=$ac_useropt
   1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1181     case $ac_user_opts in
   1182       *"
   1183 "with_$ac_useropt"
   1184 "*) ;;
   1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1186 	 ac_unrecognized_sep=', ';;
   1187     esac
   1188     eval with_$ac_useropt=no ;;
   1189 
   1190   --x)
   1191     # Obsolete; use --with-x.
   1192     with_x=yes ;;
   1193 
   1194   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1195   | --x-incl | --x-inc | --x-in | --x-i)
   1196     ac_prev=x_includes ;;
   1197   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1198   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1199     x_includes=$ac_optarg ;;
   1200 
   1201   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1202   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1203     ac_prev=x_libraries ;;
   1204   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1205   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1206     x_libraries=$ac_optarg ;;
   1207 
   1208   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1209 Try \`$0 --help' for more information." >&2
   1210    { (exit 1); exit 1; }; }
   1211     ;;
   1212 
   1213   *=*)
   1214     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1217       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1218    { (exit 1); exit 1; }; }
   1219     eval $ac_envvar=\$ac_optarg
   1220     export $ac_envvar ;;
   1221 
   1222   *)
   1223     # FIXME: should be removed in autoconf 3.0.
   1224     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1225     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1226       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1227     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1228     ;;
   1229 
   1230   esac
   1231 done
   1232 
   1233 if test -n "$ac_prev"; then
   1234   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1235   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1236    { (exit 1); exit 1; }; }
   1237 fi
   1238 
   1239 if test -n "$ac_unrecognized_opts"; then
   1240   case $enable_option_checking in
   1241     no) ;;
   1242     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1243    { (exit 1); exit 1; }; } ;;
   1244     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1245   esac
   1246 fi
   1247 
   1248 # Check all directory arguments for consistency.
   1249 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1250 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1251 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1252 		libdir localedir mandir
   1253 do
   1254   eval ac_val=\$$ac_var
   1255   # Remove trailing slashes.
   1256   case $ac_val in
   1257     */ )
   1258       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1259       eval $ac_var=\$ac_val;;
   1260   esac
   1261   # Be sure to have absolute directory names.
   1262   case $ac_val in
   1263     [\\/$]* | ?:[\\/]* )  continue;;
   1264     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1265   esac
   1266   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1267    { (exit 1); exit 1; }; }
   1268 done
   1269 
   1270 # There might be people who depend on the old broken behavior: `$host'
   1271 # used to hold the argument of --host etc.
   1272 # FIXME: To remove some day.
   1273 build=$build_alias
   1274 host=$host_alias
   1275 target=$target_alias
   1276 
   1277 # FIXME: To remove some day.
   1278 if test "x$host_alias" != x; then
   1279   if test "x$build_alias" = x; then
   1280     cross_compiling=maybe
   1281     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1282     If a cross compiler is detected then cross compile mode will be used." >&2
   1283   elif test "x$build_alias" != "x$host_alias"; then
   1284     cross_compiling=yes
   1285   fi
   1286 fi
   1287 
   1288 ac_tool_prefix=
   1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1290 
   1291 test "$silent" = yes && exec 6>/dev/null
   1292 
   1293 
   1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1295 ac_ls_di=`ls -di .` &&
   1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1297   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1298    { (exit 1); exit 1; }; }
   1299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1300   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1301    { (exit 1); exit 1; }; }
   1302 
   1303 
   1304 # Find the source files, if location was not specified.
   1305 if test -z "$srcdir"; then
   1306   ac_srcdir_defaulted=yes
   1307   # Try the directory containing this script, then the parent directory.
   1308   ac_confdir=`$as_dirname -- "$as_myself" ||
   1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1310 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1311 	 X"$as_myself" : 'X\(//\)$' \| \
   1312 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1313 $as_echo X"$as_myself" |
   1314     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  /^X\(\/\/\)[^/].*/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)$/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\).*/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  s/.*/./; q'`
   1331   srcdir=$ac_confdir
   1332   if test ! -r "$srcdir/$ac_unique_file"; then
   1333     srcdir=..
   1334   fi
   1335 else
   1336   ac_srcdir_defaulted=no
   1337 fi
   1338 if test ! -r "$srcdir/$ac_unique_file"; then
   1339   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1340   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1341    { (exit 1); exit 1; }; }
   1342 fi
   1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1344 ac_abs_confdir=`(
   1345 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1346    { (exit 1); exit 1; }; }
   1347 	pwd)`
   1348 # When building in place, set srcdir=.
   1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1350   srcdir=.
   1351 fi
   1352 # Remove unnecessary trailing slashes from srcdir.
   1353 # Double slashes in file names in object file debugging info
   1354 # mess up M-x gdb in Emacs.
   1355 case $srcdir in
   1356 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1357 esac
   1358 for ac_var in $ac_precious_vars; do
   1359   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1360   eval ac_env_${ac_var}_value=\$${ac_var}
   1361   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1363 done
   1364 
   1365 #
   1366 # Report the --help message.
   1367 #
   1368 if test "$ac_init_help" = "long"; then
   1369   # Omit some internal or obsolete options to make the list less imposing.
   1370   # This message is too long to be a string in the A/UX 3.1 sh.
   1371   cat <<_ACEOF
   1372 \`configure' configures this package to adapt to many kinds of systems.
   1373 
   1374 Usage: $0 [OPTION]... [VAR=VALUE]...
   1375 
   1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1377 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1378 
   1379 Defaults for the options are specified in brackets.
   1380 
   1381 Configuration:
   1382   -h, --help              display this help and exit
   1383       --help=short        display options specific to this package
   1384       --help=recursive    display the short help of all the included packages
   1385   -V, --version           display version information and exit
   1386   -q, --quiet, --silent   do not print \`checking...' messages
   1387       --cache-file=FILE   cache test results in FILE [disabled]
   1388   -C, --config-cache      alias for \`--cache-file=config.cache'
   1389   -n, --no-create         do not create output files
   1390       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1391 
   1392 Installation directories:
   1393   --prefix=PREFIX         install architecture-independent files in PREFIX
   1394                           [$ac_default_prefix]
   1395   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1396                           [PREFIX]
   1397 
   1398 By default, \`make install' will install all the files in
   1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1401 for instance \`--prefix=\$HOME'.
   1402 
   1403 For better control, use the options below.
   1404 
   1405 Fine tuning of the installation directories:
   1406   --bindir=DIR            user executables [EPREFIX/bin]
   1407   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1408   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1409   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1410   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1411   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1412   --libdir=DIR            object code libraries [EPREFIX/lib]
   1413   --includedir=DIR        C header files [PREFIX/include]
   1414   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1415   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1416   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1417   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1418   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1419   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1420   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1421   --htmldir=DIR           html documentation [DOCDIR]
   1422   --dvidir=DIR            dvi documentation [DOCDIR]
   1423   --pdfdir=DIR            pdf documentation [DOCDIR]
   1424   --psdir=DIR             ps documentation [DOCDIR]
   1425 _ACEOF
   1426 
   1427   cat <<\_ACEOF
   1428 
   1429 System types:
   1430   --build=BUILD     configure for building on BUILD [guessed]
   1431   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1432   --target=TARGET   configure for building compilers for TARGET [HOST]
   1433 _ACEOF
   1434 fi
   1435 
   1436 if test -n "$ac_init_help"; then
   1437 
   1438   cat <<\_ACEOF
   1439 
   1440 Optional Features:
   1441   --disable-option-checking  ignore unrecognized --enable/--with options
   1442   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1443   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1444   --enable-strict         compile with strict compiler options default=yes
   1445   --enable-64bit-libs     (deprecated, use --with-library-bits) build 64-bit libraries default= platform default
   1446   --enable-shared         build shared libraries default=yes
   1447   --enable-static         build static libraries default=no
   1448   --enable-debug          build debug libraries default=no
   1449   --enable-release        build release libraries default=yes
   1450   --enable-draft          enable draft APIs default=yes
   1451   --enable-renaming       add a version suffix to symbols default=yes
   1452   --enable-tracing        enable function and data tracing default=no
   1453   --enable-rpath          use rpath when linking default is only if necessary
   1454   --enable-threads        build ICU with thread safety default=yes
   1455   --enable-weak-threads   weakly reference the threading library default=no
   1456   --enable-extras         build ICU extras default=yes
   1457   --enable-icuio          build ICU's icuio library default=yes
   1458   --enable-layout         build ICU's layout library default=yes
   1459   --enable-tests          build ICU tests default=yes
   1460   --enable-samples        build ICU samples default=yes
   1461 
   1462 Additionally, the variable FORCE_LIBS may be set before calling configure.
   1463 If set, it will REPLACE any automatic list of libraries.
   1464 
   1465 Optional Packages:
   1466   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1467   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1468   --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir
   1469   --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange
   1470   --with-iostream=version specify the version of iostream to use (none, old, std, auto) default=auto
   1471   --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) default=auto
   1472   --with-library-suffix=suffix    tag a suffix to the library names default=
   1473 
   1474 Some influential environment variables:
   1475   CC          C compiler command
   1476   CFLAGS      C compiler flags
   1477   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1478               nonstandard directory <lib dir>
   1479   LIBS        libraries to pass to the linker, e.g. -l<library>
   1480   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1481               you have headers in a nonstandard directory <include dir>
   1482   CXX         C++ compiler command
   1483   CXXFLAGS    C++ compiler flags
   1484   CPP         C preprocessor
   1485 
   1486 Use these variables to override the choices made by `configure' or to help
   1487 it to find libraries and programs with nonstandard names/locations.
   1488 
   1489 _ACEOF
   1490 ac_status=$?
   1491 fi
   1492 
   1493 if test "$ac_init_help" = "recursive"; then
   1494   # If there are subdirs, report their specific --help.
   1495   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1496     test -d "$ac_dir" ||
   1497       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1498       continue
   1499     ac_builddir=.
   1500 
   1501 case "$ac_dir" in
   1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503 *)
   1504   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1505   # A ".." for each directory in $ac_dir_suffix.
   1506   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1507   case $ac_top_builddir_sub in
   1508   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1509   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1510   esac ;;
   1511 esac
   1512 ac_abs_top_builddir=$ac_pwd
   1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1514 # for backward compatibility:
   1515 ac_top_builddir=$ac_top_build_prefix
   1516 
   1517 case $srcdir in
   1518   .)  # We are building in place.
   1519     ac_srcdir=.
   1520     ac_top_srcdir=$ac_top_builddir_sub
   1521     ac_abs_top_srcdir=$ac_pwd ;;
   1522   [\\/]* | ?:[\\/]* )  # Absolute name.
   1523     ac_srcdir=$srcdir$ac_dir_suffix;
   1524     ac_top_srcdir=$srcdir
   1525     ac_abs_top_srcdir=$srcdir ;;
   1526   *) # Relative name.
   1527     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1528     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1529     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1530 esac
   1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1532 
   1533     cd "$ac_dir" || { ac_status=$?; continue; }
   1534     # Check for guested configure.
   1535     if test -f "$ac_srcdir/configure.gnu"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1538     elif test -f "$ac_srcdir/configure"; then
   1539       echo &&
   1540       $SHELL "$ac_srcdir/configure" --help=recursive
   1541     else
   1542       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1543     fi || ac_status=$?
   1544     cd "$ac_pwd" || { ac_status=$?; break; }
   1545   done
   1546 fi
   1547 
   1548 test -n "$ac_init_help" && exit $ac_status
   1549 if $ac_init_version; then
   1550   cat <<\_ACEOF
   1551 configure
   1552 generated by GNU Autoconf 2.63
   1553 
   1554 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1555 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1556 This configure script is free software; the Free Software Foundation
   1557 gives unlimited permission to copy, distribute and modify it.
   1558 
   1559  Copyright (c) 1999-2009, International Business Machines Corporation and others. All Rights Reserved.
   1560 _ACEOF
   1561   exit
   1562 fi
   1563 cat >config.log <<_ACEOF
   1564 This file contains any messages produced by compilers while
   1565 running configure, to aid debugging if configure makes a mistake.
   1566 
   1567 It was created by $as_me, which was
   1568 generated by GNU Autoconf 2.63.  Invocation command line was
   1569 
   1570   $ $0 $@
   1571 
   1572 _ACEOF
   1573 exec 5>>config.log
   1574 {
   1575 cat <<_ASUNAME
   1576 ## --------- ##
   1577 ## Platform. ##
   1578 ## --------- ##
   1579 
   1580 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1581 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1582 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1583 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1584 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1585 
   1586 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1587 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1588 
   1589 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1590 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1591 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1592 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1593 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1594 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1595 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1596 
   1597 _ASUNAME
   1598 
   1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1600 for as_dir in $PATH
   1601 do
   1602   IFS=$as_save_IFS
   1603   test -z "$as_dir" && as_dir=.
   1604   $as_echo "PATH: $as_dir"
   1605 done
   1606 IFS=$as_save_IFS
   1607 
   1608 } >&5
   1609 
   1610 cat >&5 <<_ACEOF
   1611 
   1612 
   1613 ## ----------- ##
   1614 ## Core tests. ##
   1615 ## ----------- ##
   1616 
   1617 _ACEOF
   1618 
   1619 
   1620 # Keep a trace of the command line.
   1621 # Strip out --no-create and --no-recursion so they do not pile up.
   1622 # Strip out --silent because we don't want to record it for future runs.
   1623 # Also quote any args containing shell meta-characters.
   1624 # Make two passes to allow for proper duplicate-argument suppression.
   1625 ac_configure_args=
   1626 ac_configure_args0=
   1627 ac_configure_args1=
   1628 ac_must_keep_next=false
   1629 for ac_pass in 1 2
   1630 do
   1631   for ac_arg
   1632   do
   1633     case $ac_arg in
   1634     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1635     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1636     | -silent | --silent | --silen | --sile | --sil)
   1637       continue ;;
   1638     *\'*)
   1639       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1640     esac
   1641     case $ac_pass in
   1642     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1643     2)
   1644       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1645       if test $ac_must_keep_next = true; then
   1646 	ac_must_keep_next=false # Got value, back to normal.
   1647       else
   1648 	case $ac_arg in
   1649 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1650 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1651 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1652 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1653 	    case "$ac_configure_args0 " in
   1654 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1655 	    esac
   1656 	    ;;
   1657 	  -* ) ac_must_keep_next=true ;;
   1658 	esac
   1659       fi
   1660       ac_configure_args="$ac_configure_args '$ac_arg'"
   1661       ;;
   1662     esac
   1663   done
   1664 done
   1665 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1666 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1667 
   1668 # When interrupted or exit'd, cleanup temporary files, and complete
   1669 # config.log.  We remove comments because anyway the quotes in there
   1670 # would cause problems or look ugly.
   1671 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1672 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1673 trap 'exit_status=$?
   1674   # Save into config.log some information that might help in debugging.
   1675   {
   1676     echo
   1677 
   1678     cat <<\_ASBOX
   1679 ## ---------------- ##
   1680 ## Cache variables. ##
   1681 ## ---------------- ##
   1682 _ASBOX
   1683     echo
   1684     # The following way of writing the cache mishandles newlines in values,
   1685 (
   1686   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1687     eval ac_val=\$$ac_var
   1688     case $ac_val in #(
   1689     *${as_nl}*)
   1690       case $ac_var in #(
   1691       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1692 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1693       esac
   1694       case $ac_var in #(
   1695       _ | IFS | as_nl) ;; #(
   1696       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1697       *) $as_unset $ac_var ;;
   1698       esac ;;
   1699     esac
   1700   done
   1701   (set) 2>&1 |
   1702     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1703     *${as_nl}ac_space=\ *)
   1704       sed -n \
   1705 	"s/'\''/'\''\\\\'\'''\''/g;
   1706 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1707       ;; #(
   1708     *)
   1709       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1710       ;;
   1711     esac |
   1712     sort
   1713 )
   1714     echo
   1715 
   1716     cat <<\_ASBOX
   1717 ## ----------------- ##
   1718 ## Output variables. ##
   1719 ## ----------------- ##
   1720 _ASBOX
   1721     echo
   1722     for ac_var in $ac_subst_vars
   1723     do
   1724       eval ac_val=\$$ac_var
   1725       case $ac_val in
   1726       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1727       esac
   1728       $as_echo "$ac_var='\''$ac_val'\''"
   1729     done | sort
   1730     echo
   1731 
   1732     if test -n "$ac_subst_files"; then
   1733       cat <<\_ASBOX
   1734 ## ------------------- ##
   1735 ## File substitutions. ##
   1736 ## ------------------- ##
   1737 _ASBOX
   1738       echo
   1739       for ac_var in $ac_subst_files
   1740       do
   1741 	eval ac_val=\$$ac_var
   1742 	case $ac_val in
   1743 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1744 	esac
   1745 	$as_echo "$ac_var='\''$ac_val'\''"
   1746       done | sort
   1747       echo
   1748     fi
   1749 
   1750     if test -s confdefs.h; then
   1751       cat <<\_ASBOX
   1752 ## ----------- ##
   1753 ## confdefs.h. ##
   1754 ## ----------- ##
   1755 _ASBOX
   1756       echo
   1757       cat confdefs.h
   1758       echo
   1759     fi
   1760     test "$ac_signal" != 0 &&
   1761       $as_echo "$as_me: caught signal $ac_signal"
   1762     $as_echo "$as_me: exit $exit_status"
   1763   } >&5
   1764   rm -f core *.core core.conftest.* &&
   1765     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1766     exit $exit_status
   1767 ' 0
   1768 for ac_signal in 1 2 13 15; do
   1769   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1770 done
   1771 ac_signal=0
   1772 
   1773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1774 rm -f -r conftest* confdefs.h
   1775 
   1776 # Predefined preprocessor variables.
   1777 
   1778 cat >>confdefs.h <<_ACEOF
   1779 #define PACKAGE_NAME "$PACKAGE_NAME"
   1780 _ACEOF
   1781 
   1782 
   1783 cat >>confdefs.h <<_ACEOF
   1784 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1785 _ACEOF
   1786 
   1787 
   1788 cat >>confdefs.h <<_ACEOF
   1789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1790 _ACEOF
   1791 
   1792 
   1793 cat >>confdefs.h <<_ACEOF
   1794 #define PACKAGE_STRING "$PACKAGE_STRING"
   1795 _ACEOF
   1796 
   1797 
   1798 cat >>confdefs.h <<_ACEOF
   1799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1800 _ACEOF
   1801 
   1802 
   1803 # Let the site file select an alternate cache file if it wants to.
   1804 # Prefer an explicitly selected file to automatically selected ones.
   1805 ac_site_file1=NONE
   1806 ac_site_file2=NONE
   1807 if test -n "$CONFIG_SITE"; then
   1808   ac_site_file1=$CONFIG_SITE
   1809 elif test "x$prefix" != xNONE; then
   1810   ac_site_file1=$prefix/share/config.site
   1811   ac_site_file2=$prefix/etc/config.site
   1812 else
   1813   ac_site_file1=$ac_default_prefix/share/config.site
   1814   ac_site_file2=$ac_default_prefix/etc/config.site
   1815 fi
   1816 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1817 do
   1818   test "x$ac_site_file" = xNONE && continue
   1819   if test -r "$ac_site_file"; then
   1820     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1821 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1822     sed 's/^/| /' "$ac_site_file" >&5
   1823     . "$ac_site_file"
   1824   fi
   1825 done
   1826 
   1827 if test -r "$cache_file"; then
   1828   # Some versions of bash will fail to source /dev/null (special
   1829   # files actually), so we avoid doing that.
   1830   if test -f "$cache_file"; then
   1831     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1832 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1833     case $cache_file in
   1834       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1835       *)                      . "./$cache_file";;
   1836     esac
   1837   fi
   1838 else
   1839   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1840 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1841   >$cache_file
   1842 fi
   1843 
   1844 # Check that the precious variables saved in the cache have kept the same
   1845 # value.
   1846 ac_cache_corrupted=false
   1847 for ac_var in $ac_precious_vars; do
   1848   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1849   eval ac_new_set=\$ac_env_${ac_var}_set
   1850   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1851   eval ac_new_val=\$ac_env_${ac_var}_value
   1852   case $ac_old_set,$ac_new_set in
   1853     set,)
   1854       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1855 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1856       ac_cache_corrupted=: ;;
   1857     ,set)
   1858       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1859 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1860       ac_cache_corrupted=: ;;
   1861     ,);;
   1862     *)
   1863       if test "x$ac_old_val" != "x$ac_new_val"; then
   1864 	# differences in whitespace do not lead to failure.
   1865 	ac_old_val_w=`echo x $ac_old_val`
   1866 	ac_new_val_w=`echo x $ac_new_val`
   1867 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1868 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1869 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1870 	  ac_cache_corrupted=:
   1871 	else
   1872 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1873 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1874 	  eval $ac_var=\$ac_old_val
   1875 	fi
   1876 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1877 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1878 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1879 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1880       fi;;
   1881   esac
   1882   # Pass precious variables to config.status.
   1883   if test "$ac_new_set" = set; then
   1884     case $ac_new_val in
   1885     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1886     *) ac_arg=$ac_var=$ac_new_val ;;
   1887     esac
   1888     case " $ac_configure_args " in
   1889       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1890       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1891     esac
   1892   fi
   1893 done
   1894 if $ac_cache_corrupted; then
   1895   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1897   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1898 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1899   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1900 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1901    { (exit 1); exit 1; }; }
   1902 fi
   1903 
   1904 
   1905 
   1906 
   1907 
   1908 
   1909 
   1910 
   1911 
   1912 
   1913 
   1914 
   1915 
   1916 
   1917 
   1918 
   1919 
   1920 ac_ext=c
   1921 ac_cpp='$CPP $CPPFLAGS'
   1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1925 
   1926 
   1927 
   1928 
   1929 ac_config_headers="$ac_config_headers common/icucfg.h"
   1930 
   1931 PACKAGE="icu"
   1932 
   1933 
   1934 { $as_echo "$as_me:$LINENO: checking for ICU version numbers" >&5
   1935 $as_echo_n "checking for ICU version numbers... " >&6; }
   1936 
   1937 # Get the ICU version from uversion.h or other headers
   1938 geticuversion() {
   1939     sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
   1940 }
   1941 VERSION=`geticuversion $srcdir/common/unicode/uversion.h`
   1942 if test x"$VERSION" = x; then
   1943     VERSION=`geticuversion $srcdir/common/unicode/*.h`
   1944     if test x"$VERSION" = x; then
   1945         { { $as_echo "$as_me:$LINENO: error: Cannot determine ICU version number from header files" >&5
   1946 $as_echo "$as_me: error: Cannot determine ICU version number from header files" >&2;}
   1947    { (exit 1); exit 1; }; }
   1948     fi
   1949 fi
   1950 # Compute a reasonable library version from the release version. This is
   1951 # very bad, but that's wanted... We want to make sure that the LIB_VERSION
   1952 # has at least a dot in it, so we'll add a .0 if needed.
   1953 LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
   1954 LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
   1955 
   1956 
   1957 
   1958 { $as_echo "$as_me:$LINENO: result: release $VERSION, library $LIB_VERSION" >&5
   1959 $as_echo "release $VERSION, library $LIB_VERSION" >&6; }
   1960 
   1961 UNICODE_VERSION="5.1"
   1962 
   1963 
   1964 # Determine the host system
   1965 ac_aux_dir=
   1966 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   1967   if test -f "$ac_dir/install-sh"; then
   1968     ac_aux_dir=$ac_dir
   1969     ac_install_sh="$ac_aux_dir/install-sh -c"
   1970     break
   1971   elif test -f "$ac_dir/install.sh"; then
   1972     ac_aux_dir=$ac_dir
   1973     ac_install_sh="$ac_aux_dir/install.sh -c"
   1974     break
   1975   elif test -f "$ac_dir/shtool"; then
   1976     ac_aux_dir=$ac_dir
   1977     ac_install_sh="$ac_aux_dir/shtool install -c"
   1978     break
   1979   fi
   1980 done
   1981 if test -z "$ac_aux_dir"; then
   1982   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   1983 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   1984    { (exit 1); exit 1; }; }
   1985 fi
   1986 
   1987 # These three variables are undocumented and unsupported,
   1988 # and are intended to be withdrawn in a future Autoconf release.
   1989 # They can cause serious problems if a builder's source tree is in a directory
   1990 # whose full name contains unusual characters.
   1991 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   1992 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   1993 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   1994 
   1995 
   1996 # Make sure we can run config.sub.
   1997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   1998   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   1999 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2000    { (exit 1); exit 1; }; }
   2001 
   2002 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2003 $as_echo_n "checking build system type... " >&6; }
   2004 if test "${ac_cv_build+set}" = set; then
   2005   $as_echo_n "(cached) " >&6
   2006 else
   2007   ac_build_alias=$build_alias
   2008 test "x$ac_build_alias" = x &&
   2009   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2010 test "x$ac_build_alias" = x &&
   2011   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2012 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2013    { (exit 1); exit 1; }; }
   2014 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2015   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2016 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2017    { (exit 1); exit 1; }; }
   2018 
   2019 fi
   2020 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2021 $as_echo "$ac_cv_build" >&6; }
   2022 case $ac_cv_build in
   2023 *-*-*) ;;
   2024 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2025 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2026    { (exit 1); exit 1; }; };;
   2027 esac
   2028 build=$ac_cv_build
   2029 ac_save_IFS=$IFS; IFS='-'
   2030 set x $ac_cv_build
   2031 shift
   2032 build_cpu=$1
   2033 build_vendor=$2
   2034 shift; shift
   2035 # Remember, the first character of IFS is used to create $*,
   2036 # except with old shells:
   2037 build_os=$*
   2038 IFS=$ac_save_IFS
   2039 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2040 
   2041 
   2042 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2043 $as_echo_n "checking host system type... " >&6; }
   2044 if test "${ac_cv_host+set}" = set; then
   2045   $as_echo_n "(cached) " >&6
   2046 else
   2047   if test "x$host_alias" = x; then
   2048   ac_cv_host=$ac_cv_build
   2049 else
   2050   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2051     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2052 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2053    { (exit 1); exit 1; }; }
   2054 fi
   2055 
   2056 fi
   2057 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2058 $as_echo "$ac_cv_host" >&6; }
   2059 case $ac_cv_host in
   2060 *-*-*) ;;
   2061 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2062 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2063    { (exit 1); exit 1; }; };;
   2064 esac
   2065 host=$ac_cv_host
   2066 ac_save_IFS=$IFS; IFS='-'
   2067 set x $ac_cv_host
   2068 shift
   2069 host_cpu=$1
   2070 host_vendor=$2
   2071 shift; shift
   2072 # Remember, the first character of IFS is used to create $*,
   2073 # except with old shells:
   2074 host_os=$*
   2075 IFS=$ac_save_IFS
   2076 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2077 
   2078 
   2079 { $as_echo "$as_me:$LINENO: checking target system type" >&5
   2080 $as_echo_n "checking target system type... " >&6; }
   2081 if test "${ac_cv_target+set}" = set; then
   2082   $as_echo_n "(cached) " >&6
   2083 else
   2084   if test "x$target_alias" = x; then
   2085   ac_cv_target=$ac_cv_host
   2086 else
   2087   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2088     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
   2089 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
   2090    { (exit 1); exit 1; }; }
   2091 fi
   2092 
   2093 fi
   2094 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   2095 $as_echo "$ac_cv_target" >&6; }
   2096 case $ac_cv_target in
   2097 *-*-*) ;;
   2098 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
   2099 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
   2100    { (exit 1); exit 1; }; };;
   2101 esac
   2102 target=$ac_cv_target
   2103 ac_save_IFS=$IFS; IFS='-'
   2104 set x $ac_cv_target
   2105 shift
   2106 target_cpu=$1
   2107 target_vendor=$2
   2108 shift; shift
   2109 # Remember, the first character of IFS is used to create $*,
   2110 # except with old shells:
   2111 target_os=$*
   2112 IFS=$ac_save_IFS
   2113 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2114 
   2115 
   2116 # The aliases save the names the user supplied, while $host etc.
   2117 # will get canonicalized.
   2118 test -n "$target_alias" &&
   2119   test "$program_prefix$program_suffix$program_transform_name" = \
   2120     NONENONEs,x,x, &&
   2121   program_prefix=${target_alias}-
   2122 
   2123 
   2124 
   2125 # This variable is needed on z/OS because the C++ compiler only recognizes .C
   2126 _CXX_CXXSUFFIX=cpp
   2127 export _CXX_CXXSUFFIX
   2128 # Checks for programs
   2129 ac_ext=c
   2130 ac_cpp='$CPP $CPPFLAGS'
   2131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2134 if test -n "$ac_tool_prefix"; then
   2135   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2136 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2137 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2138 $as_echo_n "checking for $ac_word... " >&6; }
   2139 if test "${ac_cv_prog_CC+set}" = set; then
   2140   $as_echo_n "(cached) " >&6
   2141 else
   2142   if test -n "$CC"; then
   2143   ac_cv_prog_CC="$CC" # Let the user override the test.
   2144 else
   2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2146 for as_dir in $PATH
   2147 do
   2148   IFS=$as_save_IFS
   2149   test -z "$as_dir" && as_dir=.
   2150   for ac_exec_ext in '' $ac_executable_extensions; do
   2151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2152     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2153     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2154     break 2
   2155   fi
   2156 done
   2157 done
   2158 IFS=$as_save_IFS
   2159 
   2160 fi
   2161 fi
   2162 CC=$ac_cv_prog_CC
   2163 if test -n "$CC"; then
   2164   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2165 $as_echo "$CC" >&6; }
   2166 else
   2167   { $as_echo "$as_me:$LINENO: result: no" >&5
   2168 $as_echo "no" >&6; }
   2169 fi
   2170 
   2171 
   2172 fi
   2173 if test -z "$ac_cv_prog_CC"; then
   2174   ac_ct_CC=$CC
   2175   # Extract the first word of "gcc", so it can be a program name with args.
   2176 set dummy gcc; ac_word=$2
   2177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2178 $as_echo_n "checking for $ac_word... " >&6; }
   2179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2180   $as_echo_n "(cached) " >&6
   2181 else
   2182   if test -n "$ac_ct_CC"; then
   2183   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2184 else
   2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2186 for as_dir in $PATH
   2187 do
   2188   IFS=$as_save_IFS
   2189   test -z "$as_dir" && as_dir=.
   2190   for ac_exec_ext in '' $ac_executable_extensions; do
   2191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2192     ac_cv_prog_ac_ct_CC="gcc"
   2193     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2194     break 2
   2195   fi
   2196 done
   2197 done
   2198 IFS=$as_save_IFS
   2199 
   2200 fi
   2201 fi
   2202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2203 if test -n "$ac_ct_CC"; then
   2204   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2205 $as_echo "$ac_ct_CC" >&6; }
   2206 else
   2207   { $as_echo "$as_me:$LINENO: result: no" >&5
   2208 $as_echo "no" >&6; }
   2209 fi
   2210 
   2211   if test "x$ac_ct_CC" = x; then
   2212     CC=""
   2213   else
   2214     case $cross_compiling:$ac_tool_warned in
   2215 yes:)
   2216 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2218 ac_tool_warned=yes ;;
   2219 esac
   2220     CC=$ac_ct_CC
   2221   fi
   2222 else
   2223   CC="$ac_cv_prog_CC"
   2224 fi
   2225 
   2226 if test -z "$CC"; then
   2227           if test -n "$ac_tool_prefix"; then
   2228     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2229 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2231 $as_echo_n "checking for $ac_word... " >&6; }
   2232 if test "${ac_cv_prog_CC+set}" = set; then
   2233   $as_echo_n "(cached) " >&6
   2234 else
   2235   if test -n "$CC"; then
   2236   ac_cv_prog_CC="$CC" # Let the user override the test.
   2237 else
   2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2239 for as_dir in $PATH
   2240 do
   2241   IFS=$as_save_IFS
   2242   test -z "$as_dir" && as_dir=.
   2243   for ac_exec_ext in '' $ac_executable_extensions; do
   2244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2245     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2246     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2247     break 2
   2248   fi
   2249 done
   2250 done
   2251 IFS=$as_save_IFS
   2252 
   2253 fi
   2254 fi
   2255 CC=$ac_cv_prog_CC
   2256 if test -n "$CC"; then
   2257   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2258 $as_echo "$CC" >&6; }
   2259 else
   2260   { $as_echo "$as_me:$LINENO: result: no" >&5
   2261 $as_echo "no" >&6; }
   2262 fi
   2263 
   2264 
   2265   fi
   2266 fi
   2267 if test -z "$CC"; then
   2268   # Extract the first word of "cc", so it can be a program name with args.
   2269 set dummy cc; ac_word=$2
   2270 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2271 $as_echo_n "checking for $ac_word... " >&6; }
   2272 if test "${ac_cv_prog_CC+set}" = set; then
   2273   $as_echo_n "(cached) " >&6
   2274 else
   2275   if test -n "$CC"; then
   2276   ac_cv_prog_CC="$CC" # Let the user override the test.
   2277 else
   2278   ac_prog_rejected=no
   2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284   for ac_exec_ext in '' $ac_executable_extensions; do
   2285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2286     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2287        ac_prog_rejected=yes
   2288        continue
   2289      fi
   2290     ac_cv_prog_CC="cc"
   2291     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2292     break 2
   2293   fi
   2294 done
   2295 done
   2296 IFS=$as_save_IFS
   2297 
   2298 if test $ac_prog_rejected = yes; then
   2299   # We found a bogon in the path, so make sure we never use it.
   2300   set dummy $ac_cv_prog_CC
   2301   shift
   2302   if test $# != 0; then
   2303     # We chose a different compiler from the bogus one.
   2304     # However, it has the same basename, so the bogon will be chosen
   2305     # first if we set CC to just the basename; use the full file name.
   2306     shift
   2307     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2308   fi
   2309 fi
   2310 fi
   2311 fi
   2312 CC=$ac_cv_prog_CC
   2313 if test -n "$CC"; then
   2314   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2315 $as_echo "$CC" >&6; }
   2316 else
   2317   { $as_echo "$as_me:$LINENO: result: no" >&5
   2318 $as_echo "no" >&6; }
   2319 fi
   2320 
   2321 
   2322 fi
   2323 if test -z "$CC"; then
   2324   if test -n "$ac_tool_prefix"; then
   2325   for ac_prog in cl.exe
   2326   do
   2327     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2330 $as_echo_n "checking for $ac_word... " >&6; }
   2331 if test "${ac_cv_prog_CC+set}" = set; then
   2332   $as_echo_n "(cached) " >&6
   2333 else
   2334   if test -n "$CC"; then
   2335   ac_cv_prog_CC="$CC" # Let the user override the test.
   2336 else
   2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2338 for as_dir in $PATH
   2339 do
   2340   IFS=$as_save_IFS
   2341   test -z "$as_dir" && as_dir=.
   2342   for ac_exec_ext in '' $ac_executable_extensions; do
   2343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2344     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2345     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2346     break 2
   2347   fi
   2348 done
   2349 done
   2350 IFS=$as_save_IFS
   2351 
   2352 fi
   2353 fi
   2354 CC=$ac_cv_prog_CC
   2355 if test -n "$CC"; then
   2356   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2357 $as_echo "$CC" >&6; }
   2358 else
   2359   { $as_echo "$as_me:$LINENO: result: no" >&5
   2360 $as_echo "no" >&6; }
   2361 fi
   2362 
   2363 
   2364     test -n "$CC" && break
   2365   done
   2366 fi
   2367 if test -z "$CC"; then
   2368   ac_ct_CC=$CC
   2369   for ac_prog in cl.exe
   2370 do
   2371   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2372 set dummy $ac_prog; ac_word=$2
   2373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2374 $as_echo_n "checking for $ac_word... " >&6; }
   2375 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2376   $as_echo_n "(cached) " >&6
   2377 else
   2378   if test -n "$ac_ct_CC"; then
   2379   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2380 else
   2381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386   for ac_exec_ext in '' $ac_executable_extensions; do
   2387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2388     ac_cv_prog_ac_ct_CC="$ac_prog"
   2389     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2390     break 2
   2391   fi
   2392 done
   2393 done
   2394 IFS=$as_save_IFS
   2395 
   2396 fi
   2397 fi
   2398 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2399 if test -n "$ac_ct_CC"; then
   2400   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2401 $as_echo "$ac_ct_CC" >&6; }
   2402 else
   2403   { $as_echo "$as_me:$LINENO: result: no" >&5
   2404 $as_echo "no" >&6; }
   2405 fi
   2406 
   2407 
   2408   test -n "$ac_ct_CC" && break
   2409 done
   2410 
   2411   if test "x$ac_ct_CC" = x; then
   2412     CC=""
   2413   else
   2414     case $cross_compiling:$ac_tool_warned in
   2415 yes:)
   2416 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2418 ac_tool_warned=yes ;;
   2419 esac
   2420     CC=$ac_ct_CC
   2421   fi
   2422 fi
   2423 
   2424 fi
   2425 
   2426 
   2427 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2429 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2430 See \`config.log' for more details." >&5
   2431 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2432 See \`config.log' for more details." >&2;}
   2433    { (exit 1); exit 1; }; }; }
   2434 
   2435 # Provide some information about the compiler.
   2436 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2437 set X $ac_compile
   2438 ac_compiler=$2
   2439 { (ac_try="$ac_compiler --version >&5"
   2440 case "(($ac_try" in
   2441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2442   *) ac_try_echo=$ac_try;;
   2443 esac
   2444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2445 $as_echo "$ac_try_echo") >&5
   2446   (eval "$ac_compiler --version >&5") 2>&5
   2447   ac_status=$?
   2448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2449   (exit $ac_status); }
   2450 { (ac_try="$ac_compiler -v >&5"
   2451 case "(($ac_try" in
   2452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2453   *) ac_try_echo=$ac_try;;
   2454 esac
   2455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2456 $as_echo "$ac_try_echo") >&5
   2457   (eval "$ac_compiler -v >&5") 2>&5
   2458   ac_status=$?
   2459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2460   (exit $ac_status); }
   2461 { (ac_try="$ac_compiler -V >&5"
   2462 case "(($ac_try" in
   2463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2464   *) ac_try_echo=$ac_try;;
   2465 esac
   2466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2467 $as_echo "$ac_try_echo") >&5
   2468   (eval "$ac_compiler -V >&5") 2>&5
   2469   ac_status=$?
   2470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2471   (exit $ac_status); }
   2472 
   2473 cat >conftest.$ac_ext <<_ACEOF
   2474 /* confdefs.h.  */
   2475 _ACEOF
   2476 cat confdefs.h >>conftest.$ac_ext
   2477 cat >>conftest.$ac_ext <<_ACEOF
   2478 /* end confdefs.h.  */
   2479 
   2480 int
   2481 main ()
   2482 {
   2483 
   2484   ;
   2485   return 0;
   2486 }
   2487 _ACEOF
   2488 ac_clean_files_save=$ac_clean_files
   2489 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2490 # Try to create an executable without -o first, disregard a.out.
   2491 # It will help us diagnose broken compilers, and finding out an intuition
   2492 # of exeext.
   2493 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2494 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2495 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2496 
   2497 # The possible output files:
   2498 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2499 
   2500 ac_rmfiles=
   2501 for ac_file in $ac_files
   2502 do
   2503   case $ac_file in
   2504     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2505     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2506   esac
   2507 done
   2508 rm -f $ac_rmfiles
   2509 
   2510 if { (ac_try="$ac_link_default"
   2511 case "(($ac_try" in
   2512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2513   *) ac_try_echo=$ac_try;;
   2514 esac
   2515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2516 $as_echo "$ac_try_echo") >&5
   2517   (eval "$ac_link_default") 2>&5
   2518   ac_status=$?
   2519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2520   (exit $ac_status); }; then
   2521   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2522 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2523 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2524 # so that the user can short-circuit this test for compilers unknown to
   2525 # Autoconf.
   2526 for ac_file in $ac_files ''
   2527 do
   2528   test -f "$ac_file" || continue
   2529   case $ac_file in
   2530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2531 	;;
   2532     [ab].out )
   2533 	# We found the default executable, but exeext='' is most
   2534 	# certainly right.
   2535 	break;;
   2536     *.* )
   2537         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2538 	then :; else
   2539 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2540 	fi
   2541 	# We set ac_cv_exeext here because the later test for it is not
   2542 	# safe: cross compilers may not add the suffix if given an `-o'
   2543 	# argument, so we may need to know it at that point already.
   2544 	# Even if this section looks crufty: it has the advantage of
   2545 	# actually working.
   2546 	break;;
   2547     * )
   2548 	break;;
   2549   esac
   2550 done
   2551 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2552 
   2553 else
   2554   ac_file=''
   2555 fi
   2556 
   2557 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   2558 $as_echo "$ac_file" >&6; }
   2559 if test -z "$ac_file"; then
   2560   $as_echo "$as_me: failed program was:" >&5
   2561 sed 's/^/| /' conftest.$ac_ext >&5
   2562 
   2563 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2565 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   2566 See \`config.log' for more details." >&5
   2567 $as_echo "$as_me: error: C compiler cannot create executables
   2568 See \`config.log' for more details." >&2;}
   2569    { (exit 77); exit 77; }; }; }
   2570 fi
   2571 
   2572 ac_exeext=$ac_cv_exeext
   2573 
   2574 # Check that the compiler produces executables we can run.  If not, either
   2575 # the compiler is broken, or we cross compile.
   2576 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2577 $as_echo_n "checking whether the C compiler works... " >&6; }
   2578 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2579 # If not cross compiling, check that we can run a simple program.
   2580 if test "$cross_compiling" != yes; then
   2581   if { ac_try='./$ac_file'
   2582   { (case "(($ac_try" in
   2583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2584   *) ac_try_echo=$ac_try;;
   2585 esac
   2586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2587 $as_echo "$ac_try_echo") >&5
   2588   (eval "$ac_try") 2>&5
   2589   ac_status=$?
   2590   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2591   (exit $ac_status); }; }; then
   2592     cross_compiling=no
   2593   else
   2594     if test "$cross_compiling" = maybe; then
   2595 	cross_compiling=yes
   2596     else
   2597 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2599 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2600 If you meant to cross compile, use \`--host'.
   2601 See \`config.log' for more details." >&5
   2602 $as_echo "$as_me: error: cannot run C compiled programs.
   2603 If you meant to cross compile, use \`--host'.
   2604 See \`config.log' for more details." >&2;}
   2605    { (exit 1); exit 1; }; }; }
   2606     fi
   2607   fi
   2608 fi
   2609 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2610 $as_echo "yes" >&6; }
   2611 
   2612 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2613 ac_clean_files=$ac_clean_files_save
   2614 # Check that the compiler produces executables we can run.  If not, either
   2615 # the compiler is broken, or we cross compile.
   2616 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2617 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2618 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2619 $as_echo "$cross_compiling" >&6; }
   2620 
   2621 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2622 $as_echo_n "checking for suffix of executables... " >&6; }
   2623 if { (ac_try="$ac_link"
   2624 case "(($ac_try" in
   2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2626   *) ac_try_echo=$ac_try;;
   2627 esac
   2628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2629 $as_echo "$ac_try_echo") >&5
   2630   (eval "$ac_link") 2>&5
   2631   ac_status=$?
   2632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2633   (exit $ac_status); }; then
   2634   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2635 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2636 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2637 # `rm'.
   2638 for ac_file in conftest.exe conftest conftest.*; do
   2639   test -f "$ac_file" || continue
   2640   case $ac_file in
   2641     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2642     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2643 	  break;;
   2644     * ) break;;
   2645   esac
   2646 done
   2647 else
   2648   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2650 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2651 See \`config.log' for more details." >&5
   2652 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2653 See \`config.log' for more details." >&2;}
   2654    { (exit 1); exit 1; }; }; }
   2655 fi
   2656 
   2657 rm -f conftest$ac_cv_exeext
   2658 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2659 $as_echo "$ac_cv_exeext" >&6; }
   2660 
   2661 rm -f conftest.$ac_ext
   2662 EXEEXT=$ac_cv_exeext
   2663 ac_exeext=$EXEEXT
   2664 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2665 $as_echo_n "checking for suffix of object files... " >&6; }
   2666 if test "${ac_cv_objext+set}" = set; then
   2667   $as_echo_n "(cached) " >&6
   2668 else
   2669   cat >conftest.$ac_ext <<_ACEOF
   2670 /* confdefs.h.  */
   2671 _ACEOF
   2672 cat confdefs.h >>conftest.$ac_ext
   2673 cat >>conftest.$ac_ext <<_ACEOF
   2674 /* end confdefs.h.  */
   2675 
   2676 int
   2677 main ()
   2678 {
   2679 
   2680   ;
   2681   return 0;
   2682 }
   2683 _ACEOF
   2684 rm -f conftest.o conftest.obj
   2685 if { (ac_try="$ac_compile"
   2686 case "(($ac_try" in
   2687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2688   *) ac_try_echo=$ac_try;;
   2689 esac
   2690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2691 $as_echo "$ac_try_echo") >&5
   2692   (eval "$ac_compile") 2>&5
   2693   ac_status=$?
   2694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2695   (exit $ac_status); }; then
   2696   for ac_file in conftest.o conftest.obj conftest.*; do
   2697   test -f "$ac_file" || continue;
   2698   case $ac_file in
   2699     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2700     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2701        break;;
   2702   esac
   2703 done
   2704 else
   2705   $as_echo "$as_me: failed program was:" >&5
   2706 sed 's/^/| /' conftest.$ac_ext >&5
   2707 
   2708 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2710 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2711 See \`config.log' for more details." >&5
   2712 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2713 See \`config.log' for more details." >&2;}
   2714    { (exit 1); exit 1; }; }; }
   2715 fi
   2716 
   2717 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2718 fi
   2719 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2720 $as_echo "$ac_cv_objext" >&6; }
   2721 OBJEXT=$ac_cv_objext
   2722 ac_objext=$OBJEXT
   2723 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2724 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2725 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2726   $as_echo_n "(cached) " >&6
   2727 else
   2728   cat >conftest.$ac_ext <<_ACEOF
   2729 /* confdefs.h.  */
   2730 _ACEOF
   2731 cat confdefs.h >>conftest.$ac_ext
   2732 cat >>conftest.$ac_ext <<_ACEOF
   2733 /* end confdefs.h.  */
   2734 
   2735 int
   2736 main ()
   2737 {
   2738 #ifndef __GNUC__
   2739        choke me
   2740 #endif
   2741 
   2742   ;
   2743   return 0;
   2744 }
   2745 _ACEOF
   2746 rm -f conftest.$ac_objext
   2747 if { (ac_try="$ac_compile"
   2748 case "(($ac_try" in
   2749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2750   *) ac_try_echo=$ac_try;;
   2751 esac
   2752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2753 $as_echo "$ac_try_echo") >&5
   2754   (eval "$ac_compile") 2>conftest.er1
   2755   ac_status=$?
   2756   grep -v '^ *+' conftest.er1 >conftest.err
   2757   rm -f conftest.er1
   2758   cat conftest.err >&5
   2759   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2760   (exit $ac_status); } && {
   2761 	 test -z "$ac_c_werror_flag" ||
   2762 	 test ! -s conftest.err
   2763        } && test -s conftest.$ac_objext; then
   2764   ac_compiler_gnu=yes
   2765 else
   2766   $as_echo "$as_me: failed program was:" >&5
   2767 sed 's/^/| /' conftest.$ac_ext >&5
   2768 
   2769 	ac_compiler_gnu=no
   2770 fi
   2771 
   2772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2773 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2774 
   2775 fi
   2776 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2777 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2778 if test $ac_compiler_gnu = yes; then
   2779   GCC=yes
   2780 else
   2781   GCC=
   2782 fi
   2783 ac_test_CFLAGS=${CFLAGS+set}
   2784 ac_save_CFLAGS=$CFLAGS
   2785 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2786 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2787 if test "${ac_cv_prog_cc_g+set}" = set; then
   2788   $as_echo_n "(cached) " >&6
   2789 else
   2790   ac_save_c_werror_flag=$ac_c_werror_flag
   2791    ac_c_werror_flag=yes
   2792    ac_cv_prog_cc_g=no
   2793    CFLAGS="-g"
   2794    cat >conftest.$ac_ext <<_ACEOF
   2795 /* confdefs.h.  */
   2796 _ACEOF
   2797 cat confdefs.h >>conftest.$ac_ext
   2798 cat >>conftest.$ac_ext <<_ACEOF
   2799 /* end confdefs.h.  */
   2800 
   2801 int
   2802 main ()
   2803 {
   2804 
   2805   ;
   2806   return 0;
   2807 }
   2808 _ACEOF
   2809 rm -f conftest.$ac_objext
   2810 if { (ac_try="$ac_compile"
   2811 case "(($ac_try" in
   2812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2813   *) ac_try_echo=$ac_try;;
   2814 esac
   2815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2816 $as_echo "$ac_try_echo") >&5
   2817   (eval "$ac_compile") 2>conftest.er1
   2818   ac_status=$?
   2819   grep -v '^ *+' conftest.er1 >conftest.err
   2820   rm -f conftest.er1
   2821   cat conftest.err >&5
   2822   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2823   (exit $ac_status); } && {
   2824 	 test -z "$ac_c_werror_flag" ||
   2825 	 test ! -s conftest.err
   2826        } && test -s conftest.$ac_objext; then
   2827   ac_cv_prog_cc_g=yes
   2828 else
   2829   $as_echo "$as_me: failed program was:" >&5
   2830 sed 's/^/| /' conftest.$ac_ext >&5
   2831 
   2832 	CFLAGS=""
   2833       cat >conftest.$ac_ext <<_ACEOF
   2834 /* confdefs.h.  */
   2835 _ACEOF
   2836 cat confdefs.h >>conftest.$ac_ext
   2837 cat >>conftest.$ac_ext <<_ACEOF
   2838 /* end confdefs.h.  */
   2839 
   2840 int
   2841 main ()
   2842 {
   2843 
   2844   ;
   2845   return 0;
   2846 }
   2847 _ACEOF
   2848 rm -f conftest.$ac_objext
   2849 if { (ac_try="$ac_compile"
   2850 case "(($ac_try" in
   2851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2852   *) ac_try_echo=$ac_try;;
   2853 esac
   2854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2855 $as_echo "$ac_try_echo") >&5
   2856   (eval "$ac_compile") 2>conftest.er1
   2857   ac_status=$?
   2858   grep -v '^ *+' conftest.er1 >conftest.err
   2859   rm -f conftest.er1
   2860   cat conftest.err >&5
   2861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2862   (exit $ac_status); } && {
   2863 	 test -z "$ac_c_werror_flag" ||
   2864 	 test ! -s conftest.err
   2865        } && test -s conftest.$ac_objext; then
   2866   :
   2867 else
   2868   $as_echo "$as_me: failed program was:" >&5
   2869 sed 's/^/| /' conftest.$ac_ext >&5
   2870 
   2871 	ac_c_werror_flag=$ac_save_c_werror_flag
   2872 	 CFLAGS="-g"
   2873 	 cat >conftest.$ac_ext <<_ACEOF
   2874 /* confdefs.h.  */
   2875 _ACEOF
   2876 cat confdefs.h >>conftest.$ac_ext
   2877 cat >>conftest.$ac_ext <<_ACEOF
   2878 /* end confdefs.h.  */
   2879 
   2880 int
   2881 main ()
   2882 {
   2883 
   2884   ;
   2885   return 0;
   2886 }
   2887 _ACEOF
   2888 rm -f conftest.$ac_objext
   2889 if { (ac_try="$ac_compile"
   2890 case "(($ac_try" in
   2891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2892   *) ac_try_echo=$ac_try;;
   2893 esac
   2894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2895 $as_echo "$ac_try_echo") >&5
   2896   (eval "$ac_compile") 2>conftest.er1
   2897   ac_status=$?
   2898   grep -v '^ *+' conftest.er1 >conftest.err
   2899   rm -f conftest.er1
   2900   cat conftest.err >&5
   2901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2902   (exit $ac_status); } && {
   2903 	 test -z "$ac_c_werror_flag" ||
   2904 	 test ! -s conftest.err
   2905        } && test -s conftest.$ac_objext; then
   2906   ac_cv_prog_cc_g=yes
   2907 else
   2908   $as_echo "$as_me: failed program was:" >&5
   2909 sed 's/^/| /' conftest.$ac_ext >&5
   2910 
   2911 
   2912 fi
   2913 
   2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2915 fi
   2916 
   2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2918 fi
   2919 
   2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2921    ac_c_werror_flag=$ac_save_c_werror_flag
   2922 fi
   2923 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2924 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2925 if test "$ac_test_CFLAGS" = set; then
   2926   CFLAGS=$ac_save_CFLAGS
   2927 elif test $ac_cv_prog_cc_g = yes; then
   2928   if test "$GCC" = yes; then
   2929     CFLAGS="-g -O2"
   2930   else
   2931     CFLAGS="-g"
   2932   fi
   2933 else
   2934   if test "$GCC" = yes; then
   2935     CFLAGS="-O2"
   2936   else
   2937     CFLAGS=
   2938   fi
   2939 fi
   2940 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   2941 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2942 if test "${ac_cv_prog_cc_c89+set}" = set; then
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   ac_cv_prog_cc_c89=no
   2946 ac_save_CC=$CC
   2947 cat >conftest.$ac_ext <<_ACEOF
   2948 /* confdefs.h.  */
   2949 _ACEOF
   2950 cat confdefs.h >>conftest.$ac_ext
   2951 cat >>conftest.$ac_ext <<_ACEOF
   2952 /* end confdefs.h.  */
   2953 #include <stdarg.h>
   2954 #include <stdio.h>
   2955 #include <sys/types.h>
   2956 #include <sys/stat.h>
   2957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2958 struct buf { int x; };
   2959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2960 static char *e (p, i)
   2961      char **p;
   2962      int i;
   2963 {
   2964   return p[i];
   2965 }
   2966 static char *f (char * (*g) (char **, int), char **p, ...)
   2967 {
   2968   char *s;
   2969   va_list v;
   2970   va_start (v,p);
   2971   s = g (p, va_arg (v,int));
   2972   va_end (v);
   2973   return s;
   2974 }
   2975 
   2976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2977    function prototypes and stuff, but not '\xHH' hex character constants.
   2978    These don't provoke an error unfortunately, instead are silently treated
   2979    as 'x'.  The following induces an error, until -std is added to get
   2980    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2981    array size at least.  It's necessary to write '\x00'==0 to get something
   2982    that's true only with -std.  */
   2983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2984 
   2985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2986    inside strings and character constants.  */
   2987 #define FOO(x) 'x'
   2988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   2989 
   2990 int test (int i, double x);
   2991 struct s1 {int (*f) (int a);};
   2992 struct s2 {int (*f) (double a);};
   2993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2994 int argc;
   2995 char **argv;
   2996 int
   2997 main ()
   2998 {
   2999 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3000   ;
   3001   return 0;
   3002 }
   3003 _ACEOF
   3004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3005 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3006 do
   3007   CC="$ac_save_CC $ac_arg"
   3008   rm -f conftest.$ac_objext
   3009 if { (ac_try="$ac_compile"
   3010 case "(($ac_try" in
   3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3012   *) ac_try_echo=$ac_try;;
   3013 esac
   3014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3015 $as_echo "$ac_try_echo") >&5
   3016   (eval "$ac_compile") 2>conftest.er1
   3017   ac_status=$?
   3018   grep -v '^ *+' conftest.er1 >conftest.err
   3019   rm -f conftest.er1
   3020   cat conftest.err >&5
   3021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3022   (exit $ac_status); } && {
   3023 	 test -z "$ac_c_werror_flag" ||
   3024 	 test ! -s conftest.err
   3025        } && test -s conftest.$ac_objext; then
   3026   ac_cv_prog_cc_c89=$ac_arg
   3027 else
   3028   $as_echo "$as_me: failed program was:" >&5
   3029 sed 's/^/| /' conftest.$ac_ext >&5
   3030 
   3031 
   3032 fi
   3033 
   3034 rm -f core conftest.err conftest.$ac_objext
   3035   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3036 done
   3037 rm -f conftest.$ac_ext
   3038 CC=$ac_save_CC
   3039 
   3040 fi
   3041 # AC_CACHE_VAL
   3042 case "x$ac_cv_prog_cc_c89" in
   3043   x)
   3044     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3045 $as_echo "none needed" >&6; } ;;
   3046   xno)
   3047     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3048 $as_echo "unsupported" >&6; } ;;
   3049   *)
   3050     CC="$CC $ac_cv_prog_cc_c89"
   3051     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3052 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3053 esac
   3054 
   3055 
   3056 ac_ext=c
   3057 ac_cpp='$CPP $CPPFLAGS'
   3058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3061 
   3062 ac_ext=cpp
   3063 ac_cpp='$CXXCPP $CPPFLAGS'
   3064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3067 if test -z "$CXX"; then
   3068   if test -n "$CCC"; then
   3069     CXX=$CCC
   3070   else
   3071     if test -n "$ac_tool_prefix"; then
   3072   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3073   do
   3074     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3076 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if test "${ac_cv_prog_CXX+set}" = set; then
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$CXX"; then
   3082   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3083 else
   3084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3085 for as_dir in $PATH
   3086 do
   3087   IFS=$as_save_IFS
   3088   test -z "$as_dir" && as_dir=.
   3089   for ac_exec_ext in '' $ac_executable_extensions; do
   3090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3091     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3092     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3093     break 2
   3094   fi
   3095 done
   3096 done
   3097 IFS=$as_save_IFS
   3098 
   3099 fi
   3100 fi
   3101 CXX=$ac_cv_prog_CXX
   3102 if test -n "$CXX"; then
   3103   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   3104 $as_echo "$CXX" >&6; }
   3105 else
   3106   { $as_echo "$as_me:$LINENO: result: no" >&5
   3107 $as_echo "no" >&6; }
   3108 fi
   3109 
   3110 
   3111     test -n "$CXX" && break
   3112   done
   3113 fi
   3114 if test -z "$CXX"; then
   3115   ac_ct_CXX=$CXX
   3116   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3117 do
   3118   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3119 set dummy $ac_prog; ac_word=$2
   3120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3121 $as_echo_n "checking for $ac_word... " >&6; }
   3122 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   3123   $as_echo_n "(cached) " >&6
   3124 else
   3125   if test -n "$ac_ct_CXX"; then
   3126   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3127 else
   3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3129 for as_dir in $PATH
   3130 do
   3131   IFS=$as_save_IFS
   3132   test -z "$as_dir" && as_dir=.
   3133   for ac_exec_ext in '' $ac_executable_extensions; do
   3134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3135     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3136     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3137     break 2
   3138   fi
   3139 done
   3140 done
   3141 IFS=$as_save_IFS
   3142 
   3143 fi
   3144 fi
   3145 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3146 if test -n "$ac_ct_CXX"; then
   3147   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   3148 $as_echo "$ac_ct_CXX" >&6; }
   3149 else
   3150   { $as_echo "$as_me:$LINENO: result: no" >&5
   3151 $as_echo "no" >&6; }
   3152 fi
   3153 
   3154 
   3155   test -n "$ac_ct_CXX" && break
   3156 done
   3157 
   3158   if test "x$ac_ct_CXX" = x; then
   3159     CXX="g++"
   3160   else
   3161     case $cross_compiling:$ac_tool_warned in
   3162 yes:)
   3163 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3165 ac_tool_warned=yes ;;
   3166 esac
   3167     CXX=$ac_ct_CXX
   3168   fi
   3169 fi
   3170 
   3171   fi
   3172 fi
   3173 # Provide some information about the compiler.
   3174 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   3175 set X $ac_compile
   3176 ac_compiler=$2
   3177 { (ac_try="$ac_compiler --version >&5"
   3178 case "(($ac_try" in
   3179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3180   *) ac_try_echo=$ac_try;;
   3181 esac
   3182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3183 $as_echo "$ac_try_echo") >&5
   3184   (eval "$ac_compiler --version >&5") 2>&5
   3185   ac_status=$?
   3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3187   (exit $ac_status); }
   3188 { (ac_try="$ac_compiler -v >&5"
   3189 case "(($ac_try" in
   3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3191   *) ac_try_echo=$ac_try;;
   3192 esac
   3193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3194 $as_echo "$ac_try_echo") >&5
   3195   (eval "$ac_compiler -v >&5") 2>&5
   3196   ac_status=$?
   3197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3198   (exit $ac_status); }
   3199 { (ac_try="$ac_compiler -V >&5"
   3200 case "(($ac_try" in
   3201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3202   *) ac_try_echo=$ac_try;;
   3203 esac
   3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3205 $as_echo "$ac_try_echo") >&5
   3206   (eval "$ac_compiler -V >&5") 2>&5
   3207   ac_status=$?
   3208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3209   (exit $ac_status); }
   3210 
   3211 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   3212 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3213 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   3214   $as_echo_n "(cached) " >&6
   3215 else
   3216   cat >conftest.$ac_ext <<_ACEOF
   3217 /* confdefs.h.  */
   3218 _ACEOF
   3219 cat confdefs.h >>conftest.$ac_ext
   3220 cat >>conftest.$ac_ext <<_ACEOF
   3221 /* end confdefs.h.  */
   3222 
   3223 int
   3224 main ()
   3225 {
   3226 #ifndef __GNUC__
   3227        choke me
   3228 #endif
   3229 
   3230   ;
   3231   return 0;
   3232 }
   3233 _ACEOF
   3234 rm -f conftest.$ac_objext
   3235 if { (ac_try="$ac_compile"
   3236 case "(($ac_try" in
   3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3238   *) ac_try_echo=$ac_try;;
   3239 esac
   3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3241 $as_echo "$ac_try_echo") >&5
   3242   (eval "$ac_compile") 2>conftest.er1
   3243   ac_status=$?
   3244   grep -v '^ *+' conftest.er1 >conftest.err
   3245   rm -f conftest.er1
   3246   cat conftest.err >&5
   3247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3248   (exit $ac_status); } && {
   3249 	 test -z "$ac_cxx_werror_flag" ||
   3250 	 test ! -s conftest.err
   3251        } && test -s conftest.$ac_objext; then
   3252   ac_compiler_gnu=yes
   3253 else
   3254   $as_echo "$as_me: failed program was:" >&5
   3255 sed 's/^/| /' conftest.$ac_ext >&5
   3256 
   3257 	ac_compiler_gnu=no
   3258 fi
   3259 
   3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3261 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3262 
   3263 fi
   3264 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   3265 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3266 if test $ac_compiler_gnu = yes; then
   3267   GXX=yes
   3268 else
   3269   GXX=
   3270 fi
   3271 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3272 ac_save_CXXFLAGS=$CXXFLAGS
   3273 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   3274 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3275 if test "${ac_cv_prog_cxx_g+set}" = set; then
   3276   $as_echo_n "(cached) " >&6
   3277 else
   3278   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3279    ac_cxx_werror_flag=yes
   3280    ac_cv_prog_cxx_g=no
   3281    CXXFLAGS="-g"
   3282    cat >conftest.$ac_ext <<_ACEOF
   3283 /* confdefs.h.  */
   3284 _ACEOF
   3285 cat confdefs.h >>conftest.$ac_ext
   3286 cat >>conftest.$ac_ext <<_ACEOF
   3287 /* end confdefs.h.  */
   3288 
   3289 int
   3290 main ()
   3291 {
   3292 
   3293   ;
   3294   return 0;
   3295 }
   3296 _ACEOF
   3297 rm -f conftest.$ac_objext
   3298 if { (ac_try="$ac_compile"
   3299 case "(($ac_try" in
   3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3301   *) ac_try_echo=$ac_try;;
   3302 esac
   3303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3304 $as_echo "$ac_try_echo") >&5
   3305   (eval "$ac_compile") 2>conftest.er1
   3306   ac_status=$?
   3307   grep -v '^ *+' conftest.er1 >conftest.err
   3308   rm -f conftest.er1
   3309   cat conftest.err >&5
   3310   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3311   (exit $ac_status); } && {
   3312 	 test -z "$ac_cxx_werror_flag" ||
   3313 	 test ! -s conftest.err
   3314        } && test -s conftest.$ac_objext; then
   3315   ac_cv_prog_cxx_g=yes
   3316 else
   3317   $as_echo "$as_me: failed program was:" >&5
   3318 sed 's/^/| /' conftest.$ac_ext >&5
   3319 
   3320 	CXXFLAGS=""
   3321       cat >conftest.$ac_ext <<_ACEOF
   3322 /* confdefs.h.  */
   3323 _ACEOF
   3324 cat confdefs.h >>conftest.$ac_ext
   3325 cat >>conftest.$ac_ext <<_ACEOF
   3326 /* end confdefs.h.  */
   3327 
   3328 int
   3329 main ()
   3330 {
   3331 
   3332   ;
   3333   return 0;
   3334 }
   3335 _ACEOF
   3336 rm -f conftest.$ac_objext
   3337 if { (ac_try="$ac_compile"
   3338 case "(($ac_try" in
   3339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3340   *) ac_try_echo=$ac_try;;
   3341 esac
   3342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3343 $as_echo "$ac_try_echo") >&5
   3344   (eval "$ac_compile") 2>conftest.er1
   3345   ac_status=$?
   3346   grep -v '^ *+' conftest.er1 >conftest.err
   3347   rm -f conftest.er1
   3348   cat conftest.err >&5
   3349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3350   (exit $ac_status); } && {
   3351 	 test -z "$ac_cxx_werror_flag" ||
   3352 	 test ! -s conftest.err
   3353        } && test -s conftest.$ac_objext; then
   3354   :
   3355 else
   3356   $as_echo "$as_me: failed program was:" >&5
   3357 sed 's/^/| /' conftest.$ac_ext >&5
   3358 
   3359 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3360 	 CXXFLAGS="-g"
   3361 	 cat >conftest.$ac_ext <<_ACEOF
   3362 /* confdefs.h.  */
   3363 _ACEOF
   3364 cat confdefs.h >>conftest.$ac_ext
   3365 cat >>conftest.$ac_ext <<_ACEOF
   3366 /* end confdefs.h.  */
   3367 
   3368 int
   3369 main ()
   3370 {
   3371 
   3372   ;
   3373   return 0;
   3374 }
   3375 _ACEOF
   3376 rm -f conftest.$ac_objext
   3377 if { (ac_try="$ac_compile"
   3378 case "(($ac_try" in
   3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3380   *) ac_try_echo=$ac_try;;
   3381 esac
   3382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3383 $as_echo "$ac_try_echo") >&5
   3384   (eval "$ac_compile") 2>conftest.er1
   3385   ac_status=$?
   3386   grep -v '^ *+' conftest.er1 >conftest.err
   3387   rm -f conftest.er1
   3388   cat conftest.err >&5
   3389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3390   (exit $ac_status); } && {
   3391 	 test -z "$ac_cxx_werror_flag" ||
   3392 	 test ! -s conftest.err
   3393        } && test -s conftest.$ac_objext; then
   3394   ac_cv_prog_cxx_g=yes
   3395 else
   3396   $as_echo "$as_me: failed program was:" >&5
   3397 sed 's/^/| /' conftest.$ac_ext >&5
   3398 
   3399 
   3400 fi
   3401 
   3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3403 fi
   3404 
   3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3406 fi
   3407 
   3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3409    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3410 fi
   3411 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3412 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3413 if test "$ac_test_CXXFLAGS" = set; then
   3414   CXXFLAGS=$ac_save_CXXFLAGS
   3415 elif test $ac_cv_prog_cxx_g = yes; then
   3416   if test "$GXX" = yes; then
   3417     CXXFLAGS="-g -O2"
   3418   else
   3419     CXXFLAGS="-g"
   3420   fi
   3421 else
   3422   if test "$GXX" = yes; then
   3423     CXXFLAGS="-O2"
   3424   else
   3425     CXXFLAGS=
   3426   fi
   3427 fi
   3428 ac_ext=c
   3429 ac_cpp='$CPP $CPPFLAGS'
   3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3433 
   3434 ac_ext=c
   3435 ac_cpp='$CPP $CPPFLAGS'
   3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3439 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   3440 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3441 # On Suns, sometimes $CPP names a directory.
   3442 if test -n "$CPP" && test -d "$CPP"; then
   3443   CPP=
   3444 fi
   3445 if test -z "$CPP"; then
   3446   if test "${ac_cv_prog_CPP+set}" = set; then
   3447   $as_echo_n "(cached) " >&6
   3448 else
   3449       # Double quotes because CPP needs to be expanded
   3450     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3451     do
   3452       ac_preproc_ok=false
   3453 for ac_c_preproc_warn_flag in '' yes
   3454 do
   3455   # Use a header file that comes with gcc, so configuring glibc
   3456   # with a fresh cross-compiler works.
   3457   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3458   # <limits.h> exists even on freestanding compilers.
   3459   # On the NeXT, cc -E runs the code through the compiler's parser,
   3460   # not just through cpp. "Syntax error" is here to catch this case.
   3461   cat >conftest.$ac_ext <<_ACEOF
   3462 /* confdefs.h.  */
   3463 _ACEOF
   3464 cat confdefs.h >>conftest.$ac_ext
   3465 cat >>conftest.$ac_ext <<_ACEOF
   3466 /* end confdefs.h.  */
   3467 #ifdef __STDC__
   3468 # include <limits.h>
   3469 #else
   3470 # include <assert.h>
   3471 #endif
   3472 		     Syntax error
   3473 _ACEOF
   3474 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3475 case "(($ac_try" in
   3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3477   *) ac_try_echo=$ac_try;;
   3478 esac
   3479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3480 $as_echo "$ac_try_echo") >&5
   3481   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3482   ac_status=$?
   3483   grep -v '^ *+' conftest.er1 >conftest.err
   3484   rm -f conftest.er1
   3485   cat conftest.err >&5
   3486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3487   (exit $ac_status); } >/dev/null && {
   3488 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3489 	 test ! -s conftest.err
   3490        }; then
   3491   :
   3492 else
   3493   $as_echo "$as_me: failed program was:" >&5
   3494 sed 's/^/| /' conftest.$ac_ext >&5
   3495 
   3496   # Broken: fails on valid input.
   3497 continue
   3498 fi
   3499 
   3500 rm -f conftest.err conftest.$ac_ext
   3501 
   3502   # OK, works on sane cases.  Now check whether nonexistent headers
   3503   # can be detected and how.
   3504   cat >conftest.$ac_ext <<_ACEOF
   3505 /* confdefs.h.  */
   3506 _ACEOF
   3507 cat confdefs.h >>conftest.$ac_ext
   3508 cat >>conftest.$ac_ext <<_ACEOF
   3509 /* end confdefs.h.  */
   3510 #include <ac_nonexistent.h>
   3511 _ACEOF
   3512 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3513 case "(($ac_try" in
   3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3515   *) ac_try_echo=$ac_try;;
   3516 esac
   3517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3518 $as_echo "$ac_try_echo") >&5
   3519   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3520   ac_status=$?
   3521   grep -v '^ *+' conftest.er1 >conftest.err
   3522   rm -f conftest.er1
   3523   cat conftest.err >&5
   3524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3525   (exit $ac_status); } >/dev/null && {
   3526 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3527 	 test ! -s conftest.err
   3528        }; then
   3529   # Broken: success on invalid input.
   3530 continue
   3531 else
   3532   $as_echo "$as_me: failed program was:" >&5
   3533 sed 's/^/| /' conftest.$ac_ext >&5
   3534 
   3535   # Passes both tests.
   3536 ac_preproc_ok=:
   3537 break
   3538 fi
   3539 
   3540 rm -f conftest.err conftest.$ac_ext
   3541 
   3542 done
   3543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3544 rm -f conftest.err conftest.$ac_ext
   3545 if $ac_preproc_ok; then
   3546   break
   3547 fi
   3548 
   3549     done
   3550     ac_cv_prog_CPP=$CPP
   3551 
   3552 fi
   3553   CPP=$ac_cv_prog_CPP
   3554 else
   3555   ac_cv_prog_CPP=$CPP
   3556 fi
   3557 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   3558 $as_echo "$CPP" >&6; }
   3559 ac_preproc_ok=false
   3560 for ac_c_preproc_warn_flag in '' yes
   3561 do
   3562   # Use a header file that comes with gcc, so configuring glibc
   3563   # with a fresh cross-compiler works.
   3564   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3565   # <limits.h> exists even on freestanding compilers.
   3566   # On the NeXT, cc -E runs the code through the compiler's parser,
   3567   # not just through cpp. "Syntax error" is here to catch this case.
   3568   cat >conftest.$ac_ext <<_ACEOF
   3569 /* confdefs.h.  */
   3570 _ACEOF
   3571 cat confdefs.h >>conftest.$ac_ext
   3572 cat >>conftest.$ac_ext <<_ACEOF
   3573 /* end confdefs.h.  */
   3574 #ifdef __STDC__
   3575 # include <limits.h>
   3576 #else
   3577 # include <assert.h>
   3578 #endif
   3579 		     Syntax error
   3580 _ACEOF
   3581 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3582 case "(($ac_try" in
   3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3584   *) ac_try_echo=$ac_try;;
   3585 esac
   3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3587 $as_echo "$ac_try_echo") >&5
   3588   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3589   ac_status=$?
   3590   grep -v '^ *+' conftest.er1 >conftest.err
   3591   rm -f conftest.er1
   3592   cat conftest.err >&5
   3593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3594   (exit $ac_status); } >/dev/null && {
   3595 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3596 	 test ! -s conftest.err
   3597        }; then
   3598   :
   3599 else
   3600   $as_echo "$as_me: failed program was:" >&5
   3601 sed 's/^/| /' conftest.$ac_ext >&5
   3602 
   3603   # Broken: fails on valid input.
   3604 continue
   3605 fi
   3606 
   3607 rm -f conftest.err conftest.$ac_ext
   3608 
   3609   # OK, works on sane cases.  Now check whether nonexistent headers
   3610   # can be detected and how.
   3611   cat >conftest.$ac_ext <<_ACEOF
   3612 /* confdefs.h.  */
   3613 _ACEOF
   3614 cat confdefs.h >>conftest.$ac_ext
   3615 cat >>conftest.$ac_ext <<_ACEOF
   3616 /* end confdefs.h.  */
   3617 #include <ac_nonexistent.h>
   3618 _ACEOF
   3619 if { (ac_try="$ac_cpp conftest.$ac_ext"
   3620 case "(($ac_try" in
   3621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3622   *) ac_try_echo=$ac_try;;
   3623 esac
   3624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3625 $as_echo "$ac_try_echo") >&5
   3626   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   3627   ac_status=$?
   3628   grep -v '^ *+' conftest.er1 >conftest.err
   3629   rm -f conftest.er1
   3630   cat conftest.err >&5
   3631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3632   (exit $ac_status); } >/dev/null && {
   3633 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   3634 	 test ! -s conftest.err
   3635        }; then
   3636   # Broken: success on invalid input.
   3637 continue
   3638 else
   3639   $as_echo "$as_me: failed program was:" >&5
   3640 sed 's/^/| /' conftest.$ac_ext >&5
   3641 
   3642   # Passes both tests.
   3643 ac_preproc_ok=:
   3644 break
   3645 fi
   3646 
   3647 rm -f conftest.err conftest.$ac_ext
   3648 
   3649 done
   3650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3651 rm -f conftest.err conftest.$ac_ext
   3652 if $ac_preproc_ok; then
   3653   :
   3654 else
   3655   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3657 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3658 See \`config.log' for more details." >&5
   3659 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3660 See \`config.log' for more details." >&2;}
   3661    { (exit 1); exit 1; }; }; }
   3662 fi
   3663 
   3664 ac_ext=c
   3665 ac_cpp='$CPP $CPPFLAGS'
   3666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3669 
   3670 # Find a good install program.  We prefer a C program (faster),
   3671 # so one script is as good as another.  But avoid the broken or
   3672 # incompatible versions:
   3673 # SysV /etc/install, /usr/sbin/install
   3674 # SunOS /usr/etc/install
   3675 # IRIX /sbin/install
   3676 # AIX /bin/install
   3677 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3678 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3679 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3680 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3681 # OS/2's system install, which has a completely different semantic
   3682 # ./install, which can be erroneously created by make from ./install.sh.
   3683 # Reject install programs that cannot install multiple files.
   3684 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3685 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3686 if test -z "$INSTALL"; then
   3687 if test "${ac_cv_path_install+set}" = set; then
   3688   $as_echo_n "(cached) " >&6
   3689 else
   3690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3691 for as_dir in $PATH
   3692 do
   3693   IFS=$as_save_IFS
   3694   test -z "$as_dir" && as_dir=.
   3695   # Account for people who put trailing slashes in PATH elements.
   3696 case $as_dir/ in
   3697   ./ | .// | /cC/* | \
   3698   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3699   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3700   /usr/ucb/* ) ;;
   3701   *)
   3702     # OSF1 and SCO ODT 3.0 have their own names for install.
   3703     # Don't use installbsd from OSF since it installs stuff as root
   3704     # by default.
   3705     for ac_prog in ginstall scoinst install; do
   3706       for ac_exec_ext in '' $ac_executable_extensions; do
   3707 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3708 	  if test $ac_prog = install &&
   3709 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3710 	    # AIX install.  It has an incompatible calling convention.
   3711 	    :
   3712 	  elif test $ac_prog = install &&
   3713 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3714 	    # program-specific install script used by HP pwplus--don't use.
   3715 	    :
   3716 	  else
   3717 	    rm -rf conftest.one conftest.two conftest.dir
   3718 	    echo one > conftest.one
   3719 	    echo two > conftest.two
   3720 	    mkdir conftest.dir
   3721 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3722 	      test -s conftest.one && test -s conftest.two &&
   3723 	      test -s conftest.dir/conftest.one &&
   3724 	      test -s conftest.dir/conftest.two
   3725 	    then
   3726 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3727 	      break 3
   3728 	    fi
   3729 	  fi
   3730 	fi
   3731       done
   3732     done
   3733     ;;
   3734 esac
   3735 
   3736 done
   3737 IFS=$as_save_IFS
   3738 
   3739 rm -rf conftest.one conftest.two conftest.dir
   3740 
   3741 fi
   3742   if test "${ac_cv_path_install+set}" = set; then
   3743     INSTALL=$ac_cv_path_install
   3744   else
   3745     # As a last resort, use the slow shell script.  Don't cache a
   3746     # value for INSTALL within a source directory, because that will
   3747     # break other packages using the cache if that directory is
   3748     # removed, or if the value is a relative name.
   3749     INSTALL=$ac_install_sh
   3750   fi
   3751 fi
   3752 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   3753 $as_echo "$INSTALL" >&6; }
   3754 
   3755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3756 # It thinks the first close brace ends the variable substitution.
   3757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3758 
   3759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3760 
   3761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3762 
   3763 
   3764 
   3765 
   3766 # make sure install is relative to srcdir - if a script
   3767 if test "$srcdir" = "."; then
   3768   # If srcdir isn't just ., then (srcdir) is already prepended.
   3769   if test "${ac_install_sh}" = "${INSTALL}"; then
   3770    INSTALL="\\\$(top_srcdir)/${ac_install_sh}"
   3771   fi
   3772 fi
   3773 
   3774 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
   3775 #AC_CHECK_PROG(STRIP, strip, strip, true)
   3776 
   3777 # Check for the platform make
   3778 for ac_prog in gmake gnumake
   3779 do
   3780   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3781 set dummy $ac_prog; ac_word=$2
   3782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3783 $as_echo_n "checking for $ac_word... " >&6; }
   3784 if test "${ac_cv_path_U_MAKE+set}" = set; then
   3785   $as_echo_n "(cached) " >&6
   3786 else
   3787   case $U_MAKE in
   3788   [\\/]* | ?:[\\/]*)
   3789   ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.
   3790   ;;
   3791   *)
   3792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3793 for as_dir in $PATH
   3794 do
   3795   IFS=$as_save_IFS
   3796   test -z "$as_dir" && as_dir=.
   3797   for ac_exec_ext in '' $ac_executable_extensions; do
   3798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3799     ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"
   3800     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3801     break 2
   3802   fi
   3803 done
   3804 done
   3805 IFS=$as_save_IFS
   3806 
   3807   ;;
   3808 esac
   3809 fi
   3810 U_MAKE=$ac_cv_path_U_MAKE
   3811 if test -n "$U_MAKE"; then
   3812   { $as_echo "$as_me:$LINENO: result: $U_MAKE" >&5
   3813 $as_echo "$U_MAKE" >&6; }
   3814 else
   3815   { $as_echo "$as_me:$LINENO: result: no" >&5
   3816 $as_echo "no" >&6; }
   3817 fi
   3818 
   3819 
   3820   test -n "$U_MAKE" && break
   3821 done
   3822 test -n "$U_MAKE" || U_MAKE="make"
   3823 
   3824 
   3825 
   3826 
   3827 
   3828 # Check whether --with-cross-build was given.
   3829 if test "${with_cross_build+set}" = set; then
   3830   withval=$with_cross_build; cross_buildroot="${withval}"
   3831 else
   3832   cross_buildroot=""
   3833 fi
   3834 
   3835 
   3836 if test "X$cross_buildroot" = "X"; then
   3837     if test "$cross_compiling" = "yes"; then
   3838         { { $as_echo "$as_me:$LINENO: error: Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root" >&5
   3839 $as_echo "$as_me: error: Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root" >&2;}
   3840    { (exit 1); exit 1; }; }
   3841     fi
   3842 else
   3843     if test -f "${cross_buildroot}/config/icucross.mk"; then
   3844         { $as_echo "$as_me:$LINENO: result: Using cross buildroot: $cross_buildroot" >&5
   3845 $as_echo "Using cross buildroot: $cross_buildroot" >&6; }
   3846     else
   3847         if test -d "${cross_buildroot}"; then
   3848             { { $as_echo "$as_me:$LINENO: error: ${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." >&5
   3849 $as_echo "$as_me: error: ${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." >&2;}
   3850    { (exit 1); exit 1; }; }
   3851         else
   3852             { { $as_echo "$as_me:$LINENO: error: No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." >&5
   3853 $as_echo "$as_me: error: No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." >&2;}
   3854    { (exit 1); exit 1; }; }
   3855         fi
   3856     fi
   3857 fi
   3858 
   3859 
   3860 # Check for doxygen to generate documentation
   3861 # Extract the first word of "doxygen", so it can be a program name with args.
   3862 set dummy doxygen; ac_word=$2
   3863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3864 $as_echo_n "checking for $ac_word... " >&6; }
   3865 if test "${ac_cv_path_DOXYGEN+set}" = set; then
   3866   $as_echo_n "(cached) " >&6
   3867 else
   3868   case $DOXYGEN in
   3869   [\\/]* | ?:[\\/]*)
   3870   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   3871   ;;
   3872   *)
   3873   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3874 as_dummy="$PATH:/usr/local/bin:/usr/bin"
   3875 for as_dir in $as_dummy
   3876 do
   3877   IFS=$as_save_IFS
   3878   test -z "$as_dir" && as_dir=.
   3879   for ac_exec_ext in '' $ac_executable_extensions; do
   3880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3881     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   3882     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3883     break 2
   3884   fi
   3885 done
   3886 done
   3887 IFS=$as_save_IFS
   3888 
   3889   ;;
   3890 esac
   3891 fi
   3892 DOXYGEN=$ac_cv_path_DOXYGEN
   3893 if test -n "$DOXYGEN"; then
   3894   { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
   3895 $as_echo "$DOXYGEN" >&6; }
   3896 else
   3897   { $as_echo "$as_me:$LINENO: result: no" >&5
   3898 $as_echo "no" >&6; }
   3899 fi
   3900 
   3901 
   3902 
   3903 # Check that the linker is usable
   3904 
   3905 case "${host}" in
   3906     *-*-cygwin*|*-*-mingw*)
   3907         if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
   3908             { { $as_echo "$as_me:$LINENO: error: link.exe is not a valid linker. Your PATH is incorrect.
   3909                   Please follow the directions in ICU's readme." >&5
   3910 $as_echo "$as_me: error: link.exe is not a valid linker. Your PATH is incorrect.
   3911                   Please follow the directions in ICU's readme." >&2;}
   3912    { (exit 1); exit 1; }; }
   3913         fi;;
   3914     *);;
   3915 esac
   3916 
   3917 # Determine the executable suffix
   3918 # We don't use AC_EXEEXT because some compilers output separate debugging
   3919 # files, which confuses the AC_EXEEXT macro.
   3920 { $as_echo "$as_me:$LINENO: checking checking for executable suffix" >&5
   3921 $as_echo_n "checking checking for executable suffix... " >&6; }
   3922 case "${host}" in
   3923     *-*-cygwin*|*-*-mingw*)  EXEEXT=.exe ;;
   3924     *)      EXEEXT="" ;;
   3925 esac
   3926 ac_exeext=$EXEEXT
   3927 { $as_echo "$as_me:$LINENO: result: $EXEEXT" >&5
   3928 $as_echo "$EXEEXT" >&6; }
   3929 
   3930 
   3931 # Determine how strict we want to be when compiling
   3932 
   3933     { $as_echo "$as_me:$LINENO: checking whether strict compiling is on" >&5
   3934 $as_echo_n "checking whether strict compiling is on... " >&6; }
   3935     # Check whether --enable-strict was given.
   3936 if test "${enable_strict+set}" = set; then
   3937   enableval=$enable_strict;
   3938         if test "$enableval" = no
   3939         then
   3940             ac_use_strict_options=no
   3941         else
   3942             ac_use_strict_options=yes
   3943         fi
   3944 
   3945 else
   3946   ac_use_strict_options=yes
   3947 fi
   3948 
   3949     { $as_echo "$as_me:$LINENO: result: $ac_use_strict_options" >&5
   3950 $as_echo "$ac_use_strict_options" >&6; }
   3951 
   3952     if test "$ac_use_strict_options" = yes
   3953     then
   3954         if test "$GCC" = yes
   3955         then
   3956             CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
   3957             case "${host}" in
   3958             *-*-solaris*)
   3959                 CFLAGS="$CFLAGS -D__STDC__=0";;
   3960             esac
   3961         else
   3962             case "${host}" in
   3963             *-*-cygwin)
   3964                 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
   3965                 then
   3966                     CFLAGS="$CFLAGS /W4"
   3967                 fi
   3968             esac
   3969         fi
   3970         if test "$GXX" = yes
   3971         then
   3972             CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
   3973             case "${host}" in
   3974             *-*-solaris*)
   3975                 CXXFLAGS="$CXXFLAGS -D__STDC__=0";;
   3976             esac
   3977         else
   3978             case "${host}" in
   3979             *-*-cygwin)
   3980                 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
   3981                 then
   3982                     CXXFLAGS="$CXXFLAGS /W4"
   3983                 fi
   3984             esac
   3985         fi
   3986     fi
   3987 
   3988 
   3989 # Check if we can build and use 64-bit libraries
   3990 
   3991 
   3992     BITS_REQ=nochange
   3993     ENABLE_64BIT_LIBS=unknown
   3994     ## revisit this for cross-compile.
   3995 
   3996     # Check whether --enable-64bit-libs was given.
   3997 if test "${enable_64bit_libs+set}" = set; then
   3998   enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"
   3999          case "${enableval}" in
   4000             no|false|32) with_library_bits=32;  ;;
   4001             yes|true|64) with_library_bits=64else32 ;;
   4002             nochange) with_library_bits=nochange; ;;
   4003             *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for '--*-64bit-libs'" >&5
   4004 $as_echo "$as_me: error: bad value ${enableval} for '--*-64bit-libs'" >&2;}
   4005    { (exit 1); exit 1; }; } ;;
   4006             esac
   4007 fi
   4008 
   4009 
   4010 
   4011 
   4012 # Check whether --with-library-bits was given.
   4013 if test "${with_library_bits+set}" = set; then
   4014   withval=$with_library_bits; case "${withval}" in
   4015             ""|nochange) BITS_REQ=$withval ;;
   4016             32|64|64else32) BITS_REQ=$withval ;;
   4017             *) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-library-bits" >&5
   4018 $as_echo "$as_me: error: bad value ${withval} for --with-library-bits" >&2;}
   4019    { (exit 1); exit 1; }; } ;;
   4020             esac
   4021 fi
   4022 
   4023 
   4024     # don't use these for cross compiling
   4025     if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then
   4026         { { $as_echo "$as_me:$LINENO: error: Don't specify bitness when cross compiling. See readme.html for help with cross compilation., and set compiler options manually." >&5
   4027 $as_echo "$as_me: error: Don't specify bitness when cross compiling. See readme.html for help with cross compilation., and set compiler options manually." >&2;}
   4028    { (exit 1); exit 1; }; }
   4029     fi
   4030     DEFAULT_64BIT=no
   4031     { $as_echo "$as_me:$LINENO: checking whether runnable 64 bit binaries are built by default" >&5
   4032 $as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }
   4033     if test "$cross_compiling" = yes; then
   4034   DEFAULT_64BIT=unknown
   4035 else
   4036   cat >conftest.$ac_ext <<_ACEOF
   4037 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4038 _ACEOF
   4039 rm -f conftest$ac_exeext
   4040 if { (ac_try="$ac_link"
   4041 case "(($ac_try" in
   4042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4043   *) ac_try_echo=$ac_try;;
   4044 esac
   4045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4046 $as_echo "$ac_try_echo") >&5
   4047   (eval "$ac_link") 2>&5
   4048   ac_status=$?
   4049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4050   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4051   { (case "(($ac_try" in
   4052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4053   *) ac_try_echo=$ac_try;;
   4054 esac
   4055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4056 $as_echo "$ac_try_echo") >&5
   4057   (eval "$ac_try") 2>&5
   4058   ac_status=$?
   4059   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4060   (exit $ac_status); }; }; then
   4061   DEFAULT_64BIT=yes
   4062 else
   4063   $as_echo "$as_me: program exited with status $ac_status" >&5
   4064 $as_echo "$as_me: failed program was:" >&5
   4065 sed 's/^/| /' conftest.$ac_ext >&5
   4066 
   4067 ( exit $ac_status )
   4068 DEFAULT_64BIT=no
   4069 fi
   4070 rm -rf conftest.dSYM
   4071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4072 fi
   4073 
   4074 
   4075     BITS_GOT=unknown
   4076 
   4077     # 'OK' here means, we can exit any further checking, everything's copa
   4078     BITS_OK=yes
   4079 
   4080     # do we need to check for buildable/runnable 32 or 64 bit?
   4081     BITS_CHECK_32=no
   4082     BITS_CHECK_64=no
   4083 
   4084     # later, can we run the 32/64 bit binaries so made?
   4085     BITS_RUN_32=no
   4086     BITS_RUN_64=no
   4087 
   4088     if test "$DEFAULT_64BIT" = "yes"; then
   4089         # we get 64 bits by default.
   4090         BITS_GOT=64
   4091         case "$BITS_REQ" in
   4092             32)
   4093                 # need to look for 32 bit support.
   4094                 BITS_CHECK_32=yes
   4095                 # not copa.
   4096                 BITS_OK=no;;
   4097             # everyone else is happy.
   4098             nochange) ;;
   4099             *) ;;
   4100         esac
   4101     elif test "$DEFAULT_64BIT" = "no"; then
   4102         # not 64 bit by default.
   4103         BITS_GOT=32
   4104         case "$BITS_REQ" in
   4105             64|64else32)
   4106                 BITS_CHECK_64=yes
   4107                 #BITS_CHECK_32=yes
   4108                 BITS_OK=no;;
   4109             nochange) ;;
   4110             *) ;;
   4111         esac
   4112     elif test "$DEFAULT_64BIT" = "unknown"; then
   4113         { { $as_echo "$as_me:$LINENO: error: Unable to determine binary format." >&5
   4114 $as_echo "$as_me: error: Unable to determine binary format." >&2;}
   4115    { (exit 1); exit 1; }; }
   4116         # cross compiling?
   4117         #BITS_GOT=unknown
   4118         #case "$BITS_REQ" in
   4119         #    64|64else32) BITS_OK=no
   4120         #    BITS_CHECK_32=yes
   4121         #    BITS_CHECK_64=yes
   4122         #    32) BITS_OK=no;;
   4123         #    nochange) ;;
   4124         #    *) ;;
   4125         #esac
   4126     fi
   4127 
   4128     { $as_echo "$as_me:$LINENO: result: $DEFAULT_64BIT" >&5
   4129 $as_echo "$DEFAULT_64BIT" >&6; };
   4130 
   4131     if test "$BITS_OK" != "yes"; then
   4132         # not copa. back these up.
   4133         CFLAGS_OLD="${CFLAGS}"
   4134         CXXFLAGS_OLD="${CXXFLAGS}"
   4135         LDFLAGS_OLD="${LDFLAGS}"
   4136         ARFLAGS_OLD="${ARFLAGS}"
   4137 
   4138         CFLAGS_32="${CFLAGS}"
   4139         CXXFLAGS_32="${CXXFLAGS}"
   4140         LDFLAGS_32="${LDFLAGS}"
   4141         ARFLAGS_32="${ARFLAGS}"
   4142 
   4143         CFLAGS_64="${CFLAGS}"
   4144         CXXFLAGS_64="${CXXFLAGS}"
   4145         LDFLAGS_64="${LDFLAGS}"
   4146         ARFLAGS_64="${ARFLAGS}"
   4147 
   4148         CAN_BUILD_64=unknown
   4149         CAN_BUILD_32=unknown
   4150         # These results can't be cached because is sets compiler flags.
   4151         if test "$BITS_CHECK_64" = "yes"; then
   4152             { $as_echo "$as_me:$LINENO: checking how to build 64-bit executables" >&5
   4153 $as_echo_n "checking how to build 64-bit executables... " >&6; }
   4154             CAN_BUILD_64=no
   4155             ####
   4156             # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.
   4157             #  Note, we don't have to actually check if the options work- we'll try them before using them.
   4158             #  So, only try actually testing the options, if you are trying to decide between multiple options.
   4159             # On exit from the following clauses:
   4160             # if CAN_BUILD_64=yes:
   4161             #    *FLAGS are assumed to contain the right settings for 64bit
   4162             # else if CAN_BUILD_64=no: (default)
   4163             #    *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD
   4164 
   4165             if test "$GCC" = yes; then
   4166                 CFLAGS="${CFLAGS} -m64"
   4167                 CXXFLAGS="${CXXFLAGS} -m64"
   4168                 cat >conftest.$ac_ext <<_ACEOF
   4169 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4170 _ACEOF
   4171 rm -f conftest.$ac_objext
   4172 if { (ac_try="$ac_compile"
   4173 case "(($ac_try" in
   4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4175   *) ac_try_echo=$ac_try;;
   4176 esac
   4177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4178 $as_echo "$ac_try_echo") >&5
   4179   (eval "$ac_compile") 2>conftest.er1
   4180   ac_status=$?
   4181   grep -v '^ *+' conftest.er1 >conftest.err
   4182   rm -f conftest.er1
   4183   cat conftest.err >&5
   4184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4185   (exit $ac_status); } && {
   4186 	 test -z "$ac_c_werror_flag" ||
   4187 	 test ! -s conftest.err
   4188        } && test -s conftest.$ac_objext; then
   4189   CAN_BUILD_64=yes
   4190 else
   4191   $as_echo "$as_me: failed program was:" >&5
   4192 sed 's/^/| /' conftest.$ac_ext >&5
   4193 
   4194 	CAN_BUILD_64=no
   4195 fi
   4196 
   4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4198             else
   4199                 case "${host}" in
   4200                 sparc*-*-solaris*)
   4201                     # 1. try -m64
   4202                     CFLAGS="${CFLAGS} -m64"
   4203                     CXXFLAGS="${CXXFLAGS} -m64"
   4204                     cat >conftest.$ac_ext <<_ACEOF
   4205 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4206 _ACEOF
   4207 rm -f conftest.$ac_objext
   4208 if { (ac_try="$ac_compile"
   4209 case "(($ac_try" in
   4210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4211   *) ac_try_echo=$ac_try;;
   4212 esac
   4213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4214 $as_echo "$ac_try_echo") >&5
   4215   (eval "$ac_compile") 2>conftest.er1
   4216   ac_status=$?
   4217   grep -v '^ *+' conftest.er1 >conftest.err
   4218   rm -f conftest.er1
   4219   cat conftest.err >&5
   4220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4221   (exit $ac_status); } && {
   4222 	 test -z "$ac_c_werror_flag" ||
   4223 	 test ! -s conftest.err
   4224        } && test -s conftest.$ac_objext; then
   4225   CAN_BUILD_64=yes
   4226 else
   4227   $as_echo "$as_me: failed program was:" >&5
   4228 sed 's/^/| /' conftest.$ac_ext >&5
   4229 
   4230 	CAN_BUILD_64=no
   4231 fi
   4232 
   4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4234                     if test "$CAN_BUILD_64" != yes; then
   4235                         # Nope. back out changes.
   4236                         CFLAGS="${CFLAGS_OLD}"
   4237                         CXXFLAGS="${CFLAGS_OLD}"
   4238                         # 2. try xarch=v9 [deprecated]
   4239                         ## TODO: cross compile: the following won't work.
   4240                         SPARCV9=`isainfo -n 2>&1 | grep sparcv9`
   4241                         SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
   4242                         # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"
   4243                         if test -z "$SOL64" && test -n "$SPARCV9"; then
   4244                             CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"
   4245                             CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"
   4246                             LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9"
   4247                             CAN_BUILD_64=yes
   4248                         fi
   4249                     fi
   4250                     ;;
   4251                 i386-*-solaris*)
   4252                     # 1. try -m64
   4253                     CFLAGS="${CFLAGS} -m64"
   4254                     CXXFLAGS="${CXXFLAGS} -m64"
   4255                     cat >conftest.$ac_ext <<_ACEOF
   4256 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4257 _ACEOF
   4258 rm -f conftest.$ac_objext
   4259 if { (ac_try="$ac_compile"
   4260 case "(($ac_try" in
   4261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4262   *) ac_try_echo=$ac_try;;
   4263 esac
   4264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4265 $as_echo "$ac_try_echo") >&5
   4266   (eval "$ac_compile") 2>conftest.er1
   4267   ac_status=$?
   4268   grep -v '^ *+' conftest.er1 >conftest.err
   4269   rm -f conftest.er1
   4270   cat conftest.err >&5
   4271   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4272   (exit $ac_status); } && {
   4273 	 test -z "$ac_c_werror_flag" ||
   4274 	 test ! -s conftest.err
   4275        } && test -s conftest.$ac_objext; then
   4276   CAN_BUILD_64=yes
   4277 else
   4278   $as_echo "$as_me: failed program was:" >&5
   4279 sed 's/^/| /' conftest.$ac_ext >&5
   4280 
   4281 	CAN_BUILD_64=no
   4282 fi
   4283 
   4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4285                     if test "$CAN_BUILD_64" != yes; then
   4286                         # Nope. back out changes.
   4287                         CFLAGS="${CFLAGS_OLD}"
   4288                         CXXFLAGS="${CXXFLAGS_OLD}"
   4289                         # 2. try the older compiler option
   4290                         ## TODO: cross compile problem
   4291                         SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
   4292                         if test -z "$SOL64" && test -n "$AMD64"; then
   4293                             CFLAGS="${CFLAGS} -xtarget=generic64"
   4294                             CXXFLAGS="${CXXFLAGS} -xtarget=generic64"
   4295                             CAN_BUILD_64=yes
   4296                         fi
   4297                     fi
   4298                     ;;
   4299                 ia64-*-linux*)
   4300                     # check for ecc/ecpc compiler support
   4301                     ## TODO: cross compiler problem
   4302                     if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
   4303                         if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
   4304                             CAN_BUILD_64=yes
   4305                         fi
   4306                     fi
   4307                     ;;
   4308                 *-*-cygwin)
   4309                     # vcvarsamd64.bat should have been used to enable 64-bit builds.
   4310                     # We only do this check to display the correct answer.
   4311                     ## TODO: cross compiler problem
   4312                     if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
   4313                         CAN_BUILD_64=yes
   4314                     fi
   4315                     ;;
   4316                 *-*-aix*|powerpc64-*-linux*)
   4317                     CFLAGS="${CFLAGS} -q64"
   4318                     CXXFLAGS="${CXXFLAGS} -q64"
   4319                     LDFLAGS="${LDFLAGS} -q64"
   4320                     cat >conftest.$ac_ext <<_ACEOF
   4321 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4322 _ACEOF
   4323 rm -f conftest.$ac_objext
   4324 if { (ac_try="$ac_compile"
   4325 case "(($ac_try" in
   4326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4327   *) ac_try_echo=$ac_try;;
   4328 esac
   4329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4330 $as_echo "$ac_try_echo") >&5
   4331   (eval "$ac_compile") 2>conftest.er1
   4332   ac_status=$?
   4333   grep -v '^ *+' conftest.er1 >conftest.err
   4334   rm -f conftest.er1
   4335   cat conftest.err >&5
   4336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4337   (exit $ac_status); } && {
   4338 	 test -z "$ac_c_werror_flag" ||
   4339 	 test ! -s conftest.err
   4340        } && test -s conftest.$ac_objext; then
   4341   CAN_BUILD_64=yes
   4342 else
   4343   $as_echo "$as_me: failed program was:" >&5
   4344 sed 's/^/| /' conftest.$ac_ext >&5
   4345 
   4346 	CAN_BUILD_64=no
   4347 fi
   4348 
   4349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4350                     if test "$CAN_BUILD_64" = yes; then
   4351                         # worked- set other options.
   4352                         case "${host}" in
   4353                         *-*-aix*)
   4354                             # tell AIX what executable mode to use.
   4355                             ARFLAGS="${ARFLAGS} -X64"
   4356                         esac
   4357                     fi
   4358                     ;;
   4359                 *-*-hpux*)
   4360                     # First we try the newer +DD64, if that doesn't work,
   4361                     # try other options.
   4362 
   4363                     CFLAGS="${CFLAGS} +DD64"
   4364                     CXXFLAGS="${CXXFLAGS} +DD64"
   4365                     cat >conftest.$ac_ext <<_ACEOF
   4366 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4367 _ACEOF
   4368 rm -f conftest.$ac_objext
   4369 if { (ac_try="$ac_compile"
   4370 case "(($ac_try" in
   4371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4372   *) ac_try_echo=$ac_try;;
   4373 esac
   4374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4375 $as_echo "$ac_try_echo") >&5
   4376   (eval "$ac_compile") 2>conftest.er1
   4377   ac_status=$?
   4378   grep -v '^ *+' conftest.er1 >conftest.err
   4379   rm -f conftest.er1
   4380   cat conftest.err >&5
   4381   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4382   (exit $ac_status); } && {
   4383 	 test -z "$ac_c_werror_flag" ||
   4384 	 test ! -s conftest.err
   4385        } && test -s conftest.$ac_objext; then
   4386   CAN_BUILD_64=yes
   4387 else
   4388   $as_echo "$as_me: failed program was:" >&5
   4389 sed 's/^/| /' conftest.$ac_ext >&5
   4390 
   4391 	CAN_BUILD_64=no
   4392 fi
   4393 
   4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4395                     if test "$CAN_BUILD_64" != yes; then
   4396                         # reset
   4397                         CFLAGS="${CFLAGS_OLD}"
   4398                         CXXFLAGS="${CXXFLAGS_OLD}"
   4399                         # append
   4400                         CFLAGS="${CFLAGS} +DA2.0W"
   4401                         CXXFLAGS="${CXXFLAGS} +DA2.0W"
   4402                         cat >conftest.$ac_ext <<_ACEOF
   4403 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4404 _ACEOF
   4405 rm -f conftest.$ac_objext
   4406 if { (ac_try="$ac_compile"
   4407 case "(($ac_try" in
   4408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4409   *) ac_try_echo=$ac_try;;
   4410 esac
   4411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4412 $as_echo "$ac_try_echo") >&5
   4413   (eval "$ac_compile") 2>conftest.er1
   4414   ac_status=$?
   4415   grep -v '^ *+' conftest.er1 >conftest.err
   4416   rm -f conftest.er1
   4417   cat conftest.err >&5
   4418   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4419   (exit $ac_status); } && {
   4420 	 test -z "$ac_c_werror_flag" ||
   4421 	 test ! -s conftest.err
   4422        } && test -s conftest.$ac_objext; then
   4423   CAN_BUILD_64=yes
   4424 else
   4425   $as_echo "$as_me: failed program was:" >&5
   4426 sed 's/^/| /' conftest.$ac_ext >&5
   4427 
   4428 	CAN_BUILD_64=no
   4429 fi
   4430 
   4431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4432                     fi
   4433                     ;;
   4434                 *-*ibm-openedition*|*-*-os390*)
   4435                     CFLAGS="${CFLAGS} -Wc,lp64"
   4436                     CXXFLAGS="${CXXFLAGS} -Wc,lp64"
   4437                     LDFLAGS="${LDFLAGS} -Wl,lp64"
   4438                     cat >conftest.$ac_ext <<_ACEOF
   4439 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4440 _ACEOF
   4441 rm -f conftest.$ac_objext
   4442 if { (ac_try="$ac_compile"
   4443 case "(($ac_try" in
   4444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4445   *) ac_try_echo=$ac_try;;
   4446 esac
   4447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4448 $as_echo "$ac_try_echo") >&5
   4449   (eval "$ac_compile") 2>conftest.er1
   4450   ac_status=$?
   4451   grep -v '^ *+' conftest.er1 >conftest.err
   4452   rm -f conftest.er1
   4453   cat conftest.err >&5
   4454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455   (exit $ac_status); } && {
   4456 	 test -z "$ac_c_werror_flag" ||
   4457 	 test ! -s conftest.err
   4458        } && test -s conftest.$ac_objext; then
   4459   CAN_BUILD_64=yes
   4460 else
   4461   $as_echo "$as_me: failed program was:" >&5
   4462 sed 's/^/| /' conftest.$ac_ext >&5
   4463 
   4464 	CAN_BUILD_64=no
   4465 fi
   4466 
   4467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4468                     ;;
   4469                 *)
   4470                     # unknown platform.
   4471                     ;;
   4472                 esac
   4473             fi
   4474             { $as_echo "$as_me:$LINENO: result: $CAN_BUILD_64" >&5
   4475 $as_echo "$CAN_BUILD_64" >&6; }
   4476             if test "$CAN_BUILD_64" = yes; then
   4477                 { $as_echo "$as_me:$LINENO: checking whether runnable 64-bit binaries are being built " >&5
   4478 $as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }
   4479                 if test "$cross_compiling" = yes; then
   4480   BITS_RUN_64=unknown
   4481 else
   4482   cat >conftest.$ac_ext <<_ACEOF
   4483 /* confdefs.h.  */
   4484 _ACEOF
   4485 cat confdefs.h >>conftest.$ac_ext
   4486 cat >>conftest.$ac_ext <<_ACEOF
   4487 /* end confdefs.h.  */
   4488 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4489 _ACEOF
   4490 rm -f conftest$ac_exeext
   4491 if { (ac_try="$ac_link"
   4492 case "(($ac_try" in
   4493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4494   *) ac_try_echo=$ac_try;;
   4495 esac
   4496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4497 $as_echo "$ac_try_echo") >&5
   4498   (eval "$ac_link") 2>&5
   4499   ac_status=$?
   4500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4501   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4502   { (case "(($ac_try" in
   4503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4504   *) ac_try_echo=$ac_try;;
   4505 esac
   4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4507 $as_echo "$ac_try_echo") >&5
   4508   (eval "$ac_try") 2>&5
   4509   ac_status=$?
   4510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4511   (exit $ac_status); }; }; then
   4512   BITS_RUN_64=yes
   4513 else
   4514   $as_echo "$as_me: program exited with status $ac_status" >&5
   4515 $as_echo "$as_me: failed program was:" >&5
   4516 sed 's/^/| /' conftest.$ac_ext >&5
   4517 
   4518 ( exit $ac_status )
   4519 BITS_RUN_64=no
   4520 fi
   4521 rm -rf conftest.dSYM
   4522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4523 fi
   4524 
   4525 
   4526                 { $as_echo "$as_me:$LINENO: result: $BITS_RUN_64" >&5
   4527 $as_echo "$BITS_RUN_64" >&6; };
   4528 
   4529                 CFLAGS_64="${CFLAGS}"
   4530                 CXXFLAGS_64="${CXXFLAGS}"
   4531                 LDFLAGS_64="${LDFLAGS}"
   4532                 ARFLAGS_64="${ARFLAGS}"
   4533             fi
   4534             # put it back.
   4535             CFLAGS="${CFLAGS_OLD}"
   4536             CXXFLAGS="${CXXFLAGS_OLD}"
   4537             LDFLAGS="${LDFLAGS_OLD}"
   4538             ARFLAGS="${ARFLAGS_OLD}"
   4539         fi
   4540         if test "$BITS_CHECK_32" = "yes"; then
   4541             # see comment under 'if BITS_CHECK_64', above.
   4542             { $as_echo "$as_me:$LINENO: checking how to build 32-bit executables" >&5
   4543 $as_echo_n "checking how to build 32-bit executables... " >&6; }
   4544             if test "$GCC" = yes; then
   4545                 CFLAGS="${CFLAGS} -m32"
   4546                 CXXFLAGS="${CXXFLAGS} -m32"
   4547                 cat >conftest.$ac_ext <<_ACEOF
   4548 int main(void) {return (sizeof(void*)*8==32)?0:1;}
   4549 _ACEOF
   4550 rm -f conftest.$ac_objext
   4551 if { (ac_try="$ac_compile"
   4552 case "(($ac_try" in
   4553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4554   *) ac_try_echo=$ac_try;;
   4555 esac
   4556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4557 $as_echo "$ac_try_echo") >&5
   4558   (eval "$ac_compile") 2>conftest.er1
   4559   ac_status=$?
   4560   grep -v '^ *+' conftest.er1 >conftest.err
   4561   rm -f conftest.er1
   4562   cat conftest.err >&5
   4563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4564   (exit $ac_status); } && {
   4565 	 test -z "$ac_c_werror_flag" ||
   4566 	 test ! -s conftest.err
   4567        } && test -s conftest.$ac_objext; then
   4568   CAN_BUILD_32=yes
   4569 else
   4570   $as_echo "$as_me: failed program was:" >&5
   4571 sed 's/^/| /' conftest.$ac_ext >&5
   4572 
   4573 	CAN_BUILD_32=no
   4574 fi
   4575 
   4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4577             fi
   4578             { $as_echo "$as_me:$LINENO: result: $CAN_BUILD_32" >&5
   4579 $as_echo "$CAN_BUILD_32" >&6; }
   4580             if test "$CAN_BUILD_32" = yes; then
   4581                 { $as_echo "$as_me:$LINENO: checking whether runnable 32-bit binaries are being built " >&5
   4582 $as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }
   4583                 if test "$cross_compiling" = yes; then
   4584   BITS_RUN_32=unknown
   4585 else
   4586   cat >conftest.$ac_ext <<_ACEOF
   4587 /* confdefs.h.  */
   4588 _ACEOF
   4589 cat confdefs.h >>conftest.$ac_ext
   4590 cat >>conftest.$ac_ext <<_ACEOF
   4591 /* end confdefs.h.  */
   4592 int main(void) {return (sizeof(void*)*8==32)?0:1;}
   4593 _ACEOF
   4594 rm -f conftest$ac_exeext
   4595 if { (ac_try="$ac_link"
   4596 case "(($ac_try" in
   4597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4598   *) ac_try_echo=$ac_try;;
   4599 esac
   4600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4601 $as_echo "$ac_try_echo") >&5
   4602   (eval "$ac_link") 2>&5
   4603   ac_status=$?
   4604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4605   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4606   { (case "(($ac_try" in
   4607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4608   *) ac_try_echo=$ac_try;;
   4609 esac
   4610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4611 $as_echo "$ac_try_echo") >&5
   4612   (eval "$ac_try") 2>&5
   4613   ac_status=$?
   4614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4615   (exit $ac_status); }; }; then
   4616   BITS_RUN_32=yes
   4617 else
   4618   $as_echo "$as_me: program exited with status $ac_status" >&5
   4619 $as_echo "$as_me: failed program was:" >&5
   4620 sed 's/^/| /' conftest.$ac_ext >&5
   4621 
   4622 ( exit $ac_status )
   4623 BITS_RUN_32=no
   4624 fi
   4625 rm -rf conftest.dSYM
   4626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4627 fi
   4628 
   4629 
   4630                 { $as_echo "$as_me:$LINENO: result: $BITS_RUN_32" >&5
   4631 $as_echo "$BITS_RUN_32" >&6; };
   4632                 CFLAGS_32="${CFLAGS}"
   4633                 CXXFLAGS_32="${CXXFLAGS}"
   4634                 LDFLAGS_32="${LDFLAGS}"
   4635                 ARFLAGS_32="${ARFLAGS}"
   4636             fi
   4637             # put it back.
   4638             CFLAGS="${CFLAGS_OLD}"
   4639             CXXFLAGS="${CXXFLAGS_OLD}"
   4640             LDFLAGS="${LDFLAGS_OLD}"
   4641             ARFLAGS="${ARFLAGS_OLD}"
   4642         fi
   4643 
   4644         ##
   4645         # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.
   4646         #
   4647 
   4648         # First, implement 64else32
   4649         if test "$BITS_REQ" = "64else32"; then
   4650             if test "$BITS_RUN_64" = "yes"; then
   4651                 BITS_REQ=64
   4652             else
   4653                 # no changes.
   4654                 BITS_OK=yes
   4655             fi
   4656         fi
   4657 
   4658         # implement.
   4659         if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then
   4660             CFLAGS="${CFLAGS_32}"
   4661             CXXFLAGS="${CXXFLAGS_32}"
   4662             LDFLAGS="${LDFLAGS_32}"
   4663             ARFLAGS="${ARFLAGS_32}"
   4664             BITS_OK=yes
   4665         elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then
   4666             CFLAGS="${CFLAGS_64}"
   4667             CXXFLAGS="${CXXFLAGS_64}"
   4668             LDFLAGS="${LDFLAGS_64}"
   4669             ARFLAGS="${ARFLAGS_64}"
   4670             BITS_OK=yes
   4671         elif test "$BITS_OK" != "yes"; then
   4672             { { $as_echo "$as_me:$LINENO: error: Requested $BITS_REQ bit binaries but could not compile and execute them. See readme.html for help with cross compilation., and set compiler options manually." >&5
   4673 $as_echo "$as_me: error: Requested $BITS_REQ bit binaries but could not compile and execute them. See readme.html for help with cross compilation., and set compiler options manually." >&2;}
   4674    { (exit 1); exit 1; }; }
   4675         fi
   4676      fi
   4677 
   4678 
   4679 
   4680 
   4681 # Determine the Makefile fragment
   4682 
   4683 	{ $as_echo "$as_me:$LINENO: checking which Makefile fragment to use for ${host}" >&5
   4684 $as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }
   4685 if test "${icu_cv_host_frag+set}" = set; then
   4686   $as_echo_n "(cached) " >&6
   4687 else
   4688 
   4689 case "${host}" in
   4690 *-*-solaris*)
   4691 	if test "$GCC" = yes; then
   4692 		icu_cv_host_frag=mh-solaris-gcc
   4693 	else
   4694 		icu_cv_host_frag=mh-solaris
   4695 	fi ;;
   4696 alpha*-*-linux-gnu)
   4697 	if test "$GCC" = yes; then
   4698 		icu_cv_host_frag=mh-alpha-linux-gcc
   4699 	else
   4700 		icu_cv_host_frag=mh-alpha-linux-cc
   4701 	fi ;;
   4702 powerpc*-*-linux*)
   4703 	if test "$GCC" = yes; then
   4704 		icu_cv_host_frag=mh-linux
   4705 	else
   4706 		icu_cv_host_frag=mh-linux-va
   4707 	fi ;;
   4708 *-*-linux*|*-pc-gnu) icu_cv_host_frag=mh-linux ;;
   4709 *-*-cygwin|*-*-mingw32)
   4710 	if test "$GCC" = yes; then
   4711 		cat >conftest.$ac_ext <<_ACEOF
   4712 /* confdefs.h.  */
   4713 _ACEOF
   4714 cat confdefs.h >>conftest.$ac_ext
   4715 cat >>conftest.$ac_ext <<_ACEOF
   4716 /* end confdefs.h.  */
   4717 
   4718 #ifndef __MINGW32__
   4719 #error This is not MinGW
   4720 #endif
   4721 int
   4722 main ()
   4723 {
   4724 
   4725   ;
   4726   return 0;
   4727 }
   4728 _ACEOF
   4729 rm -f conftest.$ac_objext
   4730 if { (ac_try="$ac_compile"
   4731 case "(($ac_try" in
   4732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4733   *) ac_try_echo=$ac_try;;
   4734 esac
   4735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4736 $as_echo "$ac_try_echo") >&5
   4737   (eval "$ac_compile") 2>conftest.er1
   4738   ac_status=$?
   4739   grep -v '^ *+' conftest.er1 >conftest.err
   4740   rm -f conftest.er1
   4741   cat conftest.err >&5
   4742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4743   (exit $ac_status); } && {
   4744 	 test -z "$ac_c_werror_flag" ||
   4745 	 test ! -s conftest.err
   4746        } && test -s conftest.$ac_objext; then
   4747   icu_cv_host_frag=mh-mingw
   4748 else
   4749   $as_echo "$as_me: failed program was:" >&5
   4750 sed 's/^/| /' conftest.$ac_ext >&5
   4751 
   4752 	icu_cv_host_frag=mh-cygwin
   4753 fi
   4754 
   4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4756 	else
   4757 		icu_cv_host_frag=mh-cygwin-msvc
   4758 	fi ;;
   4759 *-*-*bsd*|*-*-dragonfly*) 	icu_cv_host_frag=mh-bsd-gcc ;;
   4760 *-*-aix*)
   4761 	if test "$GCC" = yes; then
   4762 		icu_cv_host_frag=mh-aix-gcc
   4763 	else
   4764 		icu_cv_host_frag=mh-aix-va
   4765 	fi ;;
   4766 *-*-hpux*)
   4767 	if test "$GCC" = yes; then
   4768 		icu_cv_host_frag=mh-hpux-gcc
   4769 	else
   4770 		case "$CXX" in
   4771 		*aCC)    icu_cv_host_frag=mh-hpux-acc ;;
   4772 		esac
   4773 	fi ;;
   4774 *-*ibm-openedition*|*-*-os390*)	icu_cv_host_frag=mh-os390 ;;
   4775 *-*-os400*)	icu_cv_host_frag=mh-os400 ;;
   4776 *-apple-rhapsody*)	icu_cv_host_frag=mh-darwin ;;
   4777 *-apple-darwin*)	icu_cv_host_frag=mh-darwin ;;
   4778 *-*-beos|*-*-haiku)	icu_cv_host_frag=mh-beos ;;
   4779 *-*-irix*)	icu_cv_host_frag=mh-irix ;;
   4780 *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
   4781 *-*-nto*)	icu_cv_host_frag=mh-qnx ;;
   4782 *-ncr-*)	icu_cv_host_frag=mh-mpras ;;
   4783 *) 		icu_cv_host_frag=mh-unknown ;;
   4784 esac
   4785 
   4786 
   4787 fi
   4788 { $as_echo "$as_me:$LINENO: result: $icu_cv_host_frag" >&5
   4789 $as_echo "$icu_cv_host_frag" >&6; }
   4790 
   4791 
   4792 # Checks for libraries and other host specific stuff
   4793 # On HP/UX, don't link to -lm from a shared lib because it isn't
   4794 #  PIC (at least on 10.2)
   4795 case "${host}" in
   4796 	*-*-hpux*) 	{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
   4797 $as_echo_n "checking for floor in -lm... " >&6; }
   4798 if test "${ac_cv_lib_m_floor+set}" = set; then
   4799   $as_echo_n "(cached) " >&6
   4800 else
   4801   ac_check_lib_save_LIBS=$LIBS
   4802 LIBS="-lm  $LIBS"
   4803 cat >conftest.$ac_ext <<_ACEOF
   4804 /* confdefs.h.  */
   4805 _ACEOF
   4806 cat confdefs.h >>conftest.$ac_ext
   4807 cat >>conftest.$ac_ext <<_ACEOF
   4808 /* end confdefs.h.  */
   4809 
   4810 /* Override any GCC internal prototype to avoid an error.
   4811    Use char because int might match the return type of a GCC
   4812    builtin and then its argument prototype would still apply.  */
   4813 #ifdef __cplusplus
   4814 extern "C"
   4815 #endif
   4816 char floor ();
   4817 int
   4818 main ()
   4819 {
   4820 return floor ();
   4821   ;
   4822   return 0;
   4823 }
   4824 _ACEOF
   4825 rm -f conftest.$ac_objext conftest$ac_exeext
   4826 if { (ac_try="$ac_link"
   4827 case "(($ac_try" in
   4828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4829   *) ac_try_echo=$ac_try;;
   4830 esac
   4831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4832 $as_echo "$ac_try_echo") >&5
   4833   (eval "$ac_link") 2>conftest.er1
   4834   ac_status=$?
   4835   grep -v '^ *+' conftest.er1 >conftest.err
   4836   rm -f conftest.er1
   4837   cat conftest.err >&5
   4838   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4839   (exit $ac_status); } && {
   4840 	 test -z "$ac_c_werror_flag" ||
   4841 	 test ! -s conftest.err
   4842        } && test -s conftest$ac_exeext && {
   4843 	 test "$cross_compiling" = yes ||
   4844 	 $as_test_x conftest$ac_exeext
   4845        }; then
   4846   ac_cv_lib_m_floor=yes
   4847 else
   4848   $as_echo "$as_me: failed program was:" >&5
   4849 sed 's/^/| /' conftest.$ac_ext >&5
   4850 
   4851 	ac_cv_lib_m_floor=no
   4852 fi
   4853 
   4854 rm -rf conftest.dSYM
   4855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4856       conftest$ac_exeext conftest.$ac_ext
   4857 LIBS=$ac_check_lib_save_LIBS
   4858 fi
   4859 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
   4860 $as_echo "$ac_cv_lib_m_floor" >&6; }
   4861 if test "x$ac_cv_lib_m_floor" = x""yes; then
   4862   LIB_M="-lm"
   4863 fi
   4864  ;;
   4865 
   4866 	*)
   4867 { $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
   4868 $as_echo_n "checking for floor in -lm... " >&6; }
   4869 if test "${ac_cv_lib_m_floor+set}" = set; then
   4870   $as_echo_n "(cached) " >&6
   4871 else
   4872   ac_check_lib_save_LIBS=$LIBS
   4873 LIBS="-lm  $LIBS"
   4874 cat >conftest.$ac_ext <<_ACEOF
   4875 /* confdefs.h.  */
   4876 _ACEOF
   4877 cat confdefs.h >>conftest.$ac_ext
   4878 cat >>conftest.$ac_ext <<_ACEOF
   4879 /* end confdefs.h.  */
   4880 
   4881 /* Override any GCC internal prototype to avoid an error.
   4882    Use char because int might match the return type of a GCC
   4883    builtin and then its argument prototype would still apply.  */
   4884 #ifdef __cplusplus
   4885 extern "C"
   4886 #endif
   4887 char floor ();
   4888 int
   4889 main ()
   4890 {
   4891 return floor ();
   4892   ;
   4893   return 0;
   4894 }
   4895 _ACEOF
   4896 rm -f conftest.$ac_objext conftest$ac_exeext
   4897 if { (ac_try="$ac_link"
   4898 case "(($ac_try" in
   4899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4900   *) ac_try_echo=$ac_try;;
   4901 esac
   4902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4903 $as_echo "$ac_try_echo") >&5
   4904   (eval "$ac_link") 2>conftest.er1
   4905   ac_status=$?
   4906   grep -v '^ *+' conftest.er1 >conftest.err
   4907   rm -f conftest.er1
   4908   cat conftest.err >&5
   4909   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4910   (exit $ac_status); } && {
   4911 	 test -z "$ac_c_werror_flag" ||
   4912 	 test ! -s conftest.err
   4913        } && test -s conftest$ac_exeext && {
   4914 	 test "$cross_compiling" = yes ||
   4915 	 $as_test_x conftest$ac_exeext
   4916        }; then
   4917   ac_cv_lib_m_floor=yes
   4918 else
   4919   $as_echo "$as_me: failed program was:" >&5
   4920 sed 's/^/| /' conftest.$ac_ext >&5
   4921 
   4922 	ac_cv_lib_m_floor=no
   4923 fi
   4924 
   4925 rm -rf conftest.dSYM
   4926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4927       conftest$ac_exeext conftest.$ac_ext
   4928 LIBS=$ac_check_lib_save_LIBS
   4929 fi
   4930 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
   4931 $as_echo "$ac_cv_lib_m_floor" >&6; }
   4932 if test "x$ac_cv_lib_m_floor" = x""yes; then
   4933   cat >>confdefs.h <<_ACEOF
   4934 #define HAVE_LIBM 1
   4935 _ACEOF
   4936 
   4937   LIBS="-lm $LIBS"
   4938 
   4939 fi
   4940 
   4941 			LIB_M="" ;;
   4942 esac
   4943 
   4944 
   4945 # Check whether to build shared libraries
   4946 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   4947 $as_echo_n "checking whether to build shared libraries... " >&6; }
   4948 enabled=no
   4949 # Check whether --enable-shared was given.
   4950 if test "${enable_shared+set}" = set; then
   4951   enableval=$enable_shared;  case "${enableval}" in
   4952 	     yes|"") enabled=yes; ENABLE_SHARED=YES ;;
   4953 	     no);;
   4954 	     *) ;;
   4955     esac
   4956 else
   4957   enabled=yes; ENABLE_SHARED=YES
   4958 
   4959 fi
   4960 
   4961 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   4962 $as_echo "$enabled" >&6; }
   4963 
   4964 
   4965 # Check whether to build static libraries
   4966 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   4967 $as_echo_n "checking whether to build static libraries... " >&6; }
   4968 enabled=no
   4969 # Check whether --enable-static was given.
   4970 if test "${enable_static+set}" = set; then
   4971   enableval=$enable_static;  case "${enableval}" in
   4972 	     yes|"") enabled=yes; ENABLE_STATIC=YES ;;
   4973 	     no) ;;
   4974 	     *) ;;
   4975     esac
   4976 fi
   4977 
   4978 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   4979 $as_echo "$enabled" >&6; }
   4980 
   4981 
   4982 # Check whether to build debug libraries
   4983 { $as_echo "$as_me:$LINENO: checking whether to build debug libraries" >&5
   4984 $as_echo_n "checking whether to build debug libraries... " >&6; }
   4985 enabled=no
   4986 ENABLE_DEBUG=0
   4987 # Check whether --enable-debug was given.
   4988 if test "${enable_debug+set}" = set; then
   4989   enableval=$enable_debug;  case "${enableval}" in
   4990          yes|"") enabled=yes; ENABLE_DEBUG=1 ;;
   4991          *) ;;
   4992     esac
   4993 fi
   4994 
   4995 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   4996 $as_echo "$enabled" >&6; }
   4997 
   4998 
   4999 # Check whether to build release libraries
   5000 { $as_echo "$as_me:$LINENO: checking whether to build release libraries" >&5
   5001 $as_echo_n "checking whether to build release libraries... " >&6; }
   5002 enabled=yes
   5003 ENABLE_RELEASE=1
   5004 # Check whether --enable-release was given.
   5005 if test "${enable_release+set}" = set; then
   5006   enableval=$enable_release;  case "${enableval}" in
   5007          no) enabled=no; ENABLE_RELEASE=0 ;;
   5008          *) ;;
   5009     esac
   5010 fi
   5011 
   5012 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   5013 $as_echo "$enabled" >&6; }
   5014 
   5015 
   5016 # Check whether to enabled draft APIs
   5017 { $as_echo "$as_me:$LINENO: checking whether to enable draft APIs" >&5
   5018 $as_echo_n "checking whether to enable draft APIs... " >&6; }
   5019 enabled=yes
   5020 U_DEFAULT_SHOW_DRAFT=1
   5021 # Check whether --enable-draft was given.
   5022 if test "${enable_draft+set}" = set; then
   5023   enableval=$enable_draft;  case "${enableval}" in
   5024          no) enabled=no; U_DEFAULT_SHOW_DRAFT=0 ;;
   5025          *) ;;
   5026     esac
   5027 fi
   5028 
   5029 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   5030 $as_echo "$enabled" >&6; }
   5031 # Make sure that we can use draft API in ICU.
   5032 if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
   5033     CPPFLAGS="$CPPFLAGS -DU_SHOW_DRAFT_API"
   5034 fi
   5035 
   5036 
   5037 # Check if we can hide variables from
   5038 { $as_echo "$as_me:$LINENO: checking for library API export" >&5
   5039 $as_echo_n "checking for library API export... " >&6; }
   5040 SHAREDLIBEXPORT=no
   5041 U_USE_GCC_VISIBILITY_ATTRIBUTE=0
   5042 OLD_CFLAGS="${CFLAGS}"
   5043 OLD_CXXFLAGS="${CXXFLAGS}"
   5044 if test "$ac_cv_c_compiler_gnu" = yes; then
   5045     LIBCFLAGS="-fvisibility=hidden"
   5046     LIBCXXFLAGS="-fvisibility=hidden"
   5047     CFLAGS="${CFLAGS} ${LIBCFLAGS}"
   5048     CXXFLAGS="${CXXFLAGS} ${LIBCXXFLAGS}"
   5049     cat >conftest.$ac_ext <<_ACEOF
   5050 /* confdefs.h.  */
   5051 _ACEOF
   5052 cat confdefs.h >>conftest.$ac_ext
   5053 cat >>conftest.$ac_ext <<_ACEOF
   5054 /* end confdefs.h.  */
   5055 __attribute__ ((visibility ("default"))) void f(void);
   5056 #include <stdlib.h>
   5057 int
   5058 main ()
   5059 {
   5060 exit(0);
   5061   ;
   5062   return 0;
   5063 }
   5064 _ACEOF
   5065 rm -f conftest.$ac_objext conftest$ac_exeext
   5066 if { (ac_try="$ac_link"
   5067 case "(($ac_try" in
   5068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5069   *) ac_try_echo=$ac_try;;
   5070 esac
   5071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5072 $as_echo "$ac_try_echo") >&5
   5073   (eval "$ac_link") 2>conftest.er1
   5074   ac_status=$?
   5075   grep -v '^ *+' conftest.er1 >conftest.err
   5076   rm -f conftest.er1
   5077   cat conftest.err >&5
   5078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5079   (exit $ac_status); } && {
   5080 	 test -z "$ac_c_werror_flag" ||
   5081 	 test ! -s conftest.err
   5082        } && test -s conftest$ac_exeext && {
   5083 	 test "$cross_compiling" = yes ||
   5084 	 $as_test_x conftest$ac_exeext
   5085        }; then
   5086   SHAREDLIBEXPORT=yes
   5087 else
   5088   $as_echo "$as_me: failed program was:" >&5
   5089 sed 's/^/| /' conftest.$ac_ext >&5
   5090 
   5091 	SHAREDLIBEXPORT=no
   5092 fi
   5093 
   5094 rm -rf conftest.dSYM
   5095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5096       conftest$ac_exeext conftest.$ac_ext
   5097     if test "$SHAREDLIBEXPORT" = no; then
   5098         LIBCFLAGS=
   5099         LIBCXXFLAGS=
   5100     else
   5101         U_USE_GCC_VISIBILITY_ATTRIBUTE=1
   5102     fi
   5103 else
   5104     case "${host}" in
   5105     *-*-solaris*)
   5106         LIBCFLAGS="-xldscope=hidden"
   5107         LIBCXXFLAGS="-xldscope=hidden"
   5108         CFLAGS="${CFLAGS} ${LIBCFLAGS}"
   5109         CXXFLAGS="${CXXFLAGS} ${LIBCXXFLAGS}"
   5110         cat >conftest.$ac_ext <<_ACEOF
   5111 /* confdefs.h.  */
   5112 _ACEOF
   5113 cat confdefs.h >>conftest.$ac_ext
   5114 cat >>conftest.$ac_ext <<_ACEOF
   5115 /* end confdefs.h.  */
   5116 __global void f(void);
   5117 #include <stdlib.h>
   5118 int
   5119 main ()
   5120 {
   5121 exit(0);
   5122   ;
   5123   return 0;
   5124 }
   5125 _ACEOF
   5126 rm -f conftest.$ac_objext conftest$ac_exeext
   5127 if { (ac_try="$ac_link"
   5128 case "(($ac_try" in
   5129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5130   *) ac_try_echo=$ac_try;;
   5131 esac
   5132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5133 $as_echo "$ac_try_echo") >&5
   5134   (eval "$ac_link") 2>conftest.er1
   5135   ac_status=$?
   5136   grep -v '^ *+' conftest.er1 >conftest.err
   5137   rm -f conftest.er1
   5138   cat conftest.err >&5
   5139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5140   (exit $ac_status); } && {
   5141 	 test -z "$ac_c_werror_flag" ||
   5142 	 test ! -s conftest.err
   5143        } && test -s conftest$ac_exeext && {
   5144 	 test "$cross_compiling" = yes ||
   5145 	 $as_test_x conftest$ac_exeext
   5146        }; then
   5147   SHAREDLIBEXPORT=yes
   5148 else
   5149   $as_echo "$as_me: failed program was:" >&5
   5150 sed 's/^/| /' conftest.$ac_ext >&5
   5151 
   5152 	SHAREDLIBEXPORT=no
   5153 fi
   5154 
   5155 rm -rf conftest.dSYM
   5156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5157       conftest$ac_exeext conftest.$ac_ext
   5158         if test "$SHAREDLIBEXPORT" = no; then
   5159             LIBCFLAGS=
   5160             LIBCXXFLAGS=
   5161         fi
   5162         ;;
   5163     *-*-hpux*)
   5164         # ICU isn't set up to follow the HP syntax yet.
   5165         ;;
   5166     *)
   5167     esac
   5168 fi
   5169 # Restore to their original state because the Intel compiler chokes
   5170 # on this option when checking for the wchar_t size, but the
   5171 # option otherwise works.
   5172 CFLAGS="${OLD_CFLAGS}"
   5173 CXXFLAGS="${OLD_CXXFLAGS}"
   5174 { $as_echo "$as_me:$LINENO: result: $SHAREDLIBEXPORT" >&5
   5175 $as_echo "$SHAREDLIBEXPORT" >&6; }
   5176 
   5177 
   5178 
   5179 
   5180 if test -n "$ac_tool_prefix"; then
   5181   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5182 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5184 $as_echo_n "checking for $ac_word... " >&6; }
   5185 if test "${ac_cv_prog_RANLIB+set}" = set; then
   5186   $as_echo_n "(cached) " >&6
   5187 else
   5188   if test -n "$RANLIB"; then
   5189   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5190 else
   5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5192 for as_dir in $PATH
   5193 do
   5194   IFS=$as_save_IFS
   5195   test -z "$as_dir" && as_dir=.
   5196   for ac_exec_ext in '' $ac_executable_extensions; do
   5197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5198     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5199     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5200     break 2
   5201   fi
   5202 done
   5203 done
   5204 IFS=$as_save_IFS
   5205 
   5206 fi
   5207 fi
   5208 RANLIB=$ac_cv_prog_RANLIB
   5209 if test -n "$RANLIB"; then
   5210   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   5211 $as_echo "$RANLIB" >&6; }
   5212 else
   5213   { $as_echo "$as_me:$LINENO: result: no" >&5
   5214 $as_echo "no" >&6; }
   5215 fi
   5216 
   5217 
   5218 fi
   5219 if test -z "$ac_cv_prog_RANLIB"; then
   5220   ac_ct_RANLIB=$RANLIB
   5221   # Extract the first word of "ranlib", so it can be a program name with args.
   5222 set dummy ranlib; ac_word=$2
   5223 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5224 $as_echo_n "checking for $ac_word... " >&6; }
   5225 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   5226   $as_echo_n "(cached) " >&6
   5227 else
   5228   if test -n "$ac_ct_RANLIB"; then
   5229   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5230 else
   5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5232 for as_dir in $PATH
   5233 do
   5234   IFS=$as_save_IFS
   5235   test -z "$as_dir" && as_dir=.
   5236   for ac_exec_ext in '' $ac_executable_extensions; do
   5237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5238     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5239     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5240     break 2
   5241   fi
   5242 done
   5243 done
   5244 IFS=$as_save_IFS
   5245 
   5246 fi
   5247 fi
   5248 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5249 if test -n "$ac_ct_RANLIB"; then
   5250   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   5251 $as_echo "$ac_ct_RANLIB" >&6; }
   5252 else
   5253   { $as_echo "$as_me:$LINENO: result: no" >&5
   5254 $as_echo "no" >&6; }
   5255 fi
   5256 
   5257   if test "x$ac_ct_RANLIB" = x; then
   5258     RANLIB=":"
   5259   else
   5260     case $cross_compiling:$ac_tool_warned in
   5261 yes:)
   5262 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5264 ac_tool_warned=yes ;;
   5265 esac
   5266     RANLIB=$ac_ct_RANLIB
   5267   fi
   5268 else
   5269   RANLIB="$ac_cv_prog_RANLIB"
   5270 fi
   5271 
   5272 
   5273 # look for 'ar' the proper way
   5274 #AC_PATH_PROG(AR,ar,[echo archiver ar not found re-run configure ; false],$PATH:/bin:/usr/bin:/usr/ccs/bin)
   5275 if test -n "$ac_tool_prefix"; then
   5276   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5277 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5279 $as_echo_n "checking for $ac_word... " >&6; }
   5280 if test "${ac_cv_prog_AR+set}" = set; then
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   if test -n "$AR"; then
   5284   ac_cv_prog_AR="$AR" # Let the user override the test.
   5285 else
   5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5287 for as_dir in $PATH
   5288 do
   5289   IFS=$as_save_IFS
   5290   test -z "$as_dir" && as_dir=.
   5291   for ac_exec_ext in '' $ac_executable_extensions; do
   5292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5293     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5294     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5295     break 2
   5296   fi
   5297 done
   5298 done
   5299 IFS=$as_save_IFS
   5300 
   5301 fi
   5302 fi
   5303 AR=$ac_cv_prog_AR
   5304 if test -n "$AR"; then
   5305   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   5306 $as_echo "$AR" >&6; }
   5307 else
   5308   { $as_echo "$as_me:$LINENO: result: no" >&5
   5309 $as_echo "no" >&6; }
   5310 fi
   5311 
   5312 
   5313 fi
   5314 if test -z "$ac_cv_prog_AR"; then
   5315   ac_ct_AR=$AR
   5316   # Extract the first word of "ar", so it can be a program name with args.
   5317 set dummy ar; ac_word=$2
   5318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5319 $as_echo_n "checking for $ac_word... " >&6; }
   5320 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   5321   $as_echo_n "(cached) " >&6
   5322 else
   5323   if test -n "$ac_ct_AR"; then
   5324   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5325 else
   5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5327 for as_dir in $PATH
   5328 do
   5329   IFS=$as_save_IFS
   5330   test -z "$as_dir" && as_dir=.
   5331   for ac_exec_ext in '' $ac_executable_extensions; do
   5332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5333     ac_cv_prog_ac_ct_AR="ar"
   5334     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5335     break 2
   5336   fi
   5337 done
   5338 done
   5339 IFS=$as_save_IFS
   5340 
   5341 fi
   5342 fi
   5343 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5344 if test -n "$ac_ct_AR"; then
   5345   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   5346 $as_echo "$ac_ct_AR" >&6; }
   5347 else
   5348   { $as_echo "$as_me:$LINENO: result: no" >&5
   5349 $as_echo "no" >&6; }
   5350 fi
   5351 
   5352   if test "x$ac_ct_AR" = x; then
   5353     AR=""
   5354   else
   5355     case $cross_compiling:$ac_tool_warned in
   5356 yes:)
   5357 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5359 ac_tool_warned=yes ;;
   5360 esac
   5361     AR=$ac_ct_AR
   5362   fi
   5363 else
   5364   AR="$ac_cv_prog_AR"
   5365 fi
   5366 
   5367 if test "x$AR" = "x"; then
   5368   { { $as_echo "$as_me:$LINENO: error: Archiver ar not found. Set AR= or fix PATH" >&5
   5369 $as_echo "$as_me: error: Archiver ar not found. Set AR= or fix PATH" >&2;}
   5370    { (exit 1); exit 1; }; }
   5371 fi
   5372 
   5373 
   5374 { $as_echo "$as_me:$LINENO: checking whether to enable renaming of symbols" >&5
   5375 $as_echo_n "checking whether to enable renaming of symbols... " >&6; }
   5376 enabled=yes
   5377 U_DISABLE_RENAMING=0
   5378 # Check whether --enable-renaming was given.
   5379 if test "${enable_renaming+set}" = set; then
   5380   enableval=$enable_renaming;  case "${enableval}" in
   5381 	     yes|"") enabled=yes ;;
   5382 	     no) enabled=no; U_DISABLE_RENAMING=1 ;;
   5383 	     *) ;;
   5384     esac
   5385 fi
   5386 
   5387 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   5388 $as_echo "$enabled" >&6; }
   5389 
   5390 
   5391 { $as_echo "$as_me:$LINENO: checking whether to enable function and data tracing" >&5
   5392 $as_echo_n "checking whether to enable function and data tracing... " >&6; }
   5393 enabled=no
   5394 U_ENABLE_TRACING=0
   5395 # Check whether --enable-tracing was given.
   5396 if test "${enable_tracing+set}" = set; then
   5397   enableval=$enable_tracing;  case "${enableval}" in
   5398 	     yes|"") enabled=yes; U_ENABLE_TRACING=1 ;;
   5399 	     no) enabled=no; U_ENABLE_TRACING=0 ;;
   5400 	     *) ;;
   5401     esac
   5402 fi
   5403 
   5404 { $as_echo "$as_me:$LINENO: result: $enabled" >&5
   5405 $as_echo "$enabled" >&6; }
   5406 
   5407 
   5408 # Check whether to use the evil rpath or not
   5409 # Check whether --enable-rpath was given.
   5410 if test "${enable_rpath+set}" = set; then
   5411   enableval=$enable_rpath;  case "${enableval}" in
   5412 	     yes|"") ENABLE_RPATH=YES ;;
   5413 	     no) ;;
   5414 	     *) ;;
   5415     esac
   5416 else
   5417   ENABLE_RPATH=NO
   5418 
   5419 fi
   5420 
   5421 
   5422 
   5423 
   5424 # set up U_INLINE.
   5425 # Copy the definition of AC_C_INLINE, with slight mods.
   5426 #
   5427 { $as_echo "$as_me:$LINENO: checking for definition of U_INLINE for C" >&5
   5428 $as_echo_n "checking for definition of U_INLINE for C... " >&6; }
   5429 if test "${ac_cv_c_inline+set}" = set; then
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   ac_cv_c_inline=no
   5433 for ac_kw in inline __inline__ __inline; do
   5434   cat >conftest.$ac_ext <<_ACEOF
   5435 /* confdefs.h.  */
   5436 _ACEOF
   5437 cat confdefs.h >>conftest.$ac_ext
   5438 cat >>conftest.$ac_ext <<_ACEOF
   5439 /* end confdefs.h.  */
   5440 
   5441 int
   5442 main ()
   5443 {
   5444 return 0;} $ac_kw int foo() {
   5445   ;
   5446   return 0;
   5447 }
   5448 _ACEOF
   5449 rm -f conftest.$ac_objext
   5450 if { (ac_try="$ac_compile"
   5451 case "(($ac_try" in
   5452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5453   *) ac_try_echo=$ac_try;;
   5454 esac
   5455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5456 $as_echo "$ac_try_echo") >&5
   5457   (eval "$ac_compile") 2>conftest.er1
   5458   ac_status=$?
   5459   grep -v '^ *+' conftest.er1 >conftest.err
   5460   rm -f conftest.er1
   5461   cat conftest.err >&5
   5462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5463   (exit $ac_status); } && {
   5464 	 test -z "$ac_c_werror_flag" ||
   5465 	 test ! -s conftest.err
   5466        } && test -s conftest.$ac_objext; then
   5467   ac_cv_c_inline=$ac_kw; break
   5468 else
   5469   $as_echo "$as_me: failed program was:" >&5
   5470 sed 's/^/| /' conftest.$ac_ext >&5
   5471 
   5472 
   5473 fi
   5474 
   5475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5476   done
   5477 
   5478 fi
   5479 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   5480 $as_echo "$ac_cv_c_inline" >&6; }
   5481 case "$ac_cv_c_inline" in
   5482       yes)       U_INLINE= "inline" ;;
   5483 	  no )       U_INLINE= ;;
   5484 	    *)       U_INLINE=$ac_cv_c_inline ;;
   5485 esac
   5486 
   5487 
   5488 # set up U_HAVE_STD_STRING.
   5489 # Copy the definition of AC_C_INLINE, with slight mods.
   5490 #
   5491 U_HAVE_STD_STRING=0
   5492 ac_ext=cpp
   5493 ac_cpp='$CXXCPP $CPPFLAGS'
   5494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5497 
   5498 { $as_echo "$as_me:$LINENO: checking if #include <string> works" >&5
   5499 $as_echo_n "checking if #include <string> works... " >&6; }
   5500 
   5501 cat >conftest.$ac_ext <<_ACEOF
   5502 /* confdefs.h.  */
   5503 _ACEOF
   5504 cat confdefs.h >>conftest.$ac_ext
   5505 cat >>conftest.$ac_ext <<_ACEOF
   5506 /* end confdefs.h.  */
   5507 #include <string>
   5508 int
   5509 main ()
   5510 {
   5511 
   5512   ;
   5513   return 0;
   5514 }
   5515 _ACEOF
   5516 rm -f conftest.$ac_objext
   5517 if { (ac_try="$ac_compile"
   5518 case "(($ac_try" in
   5519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5520   *) ac_try_echo=$ac_try;;
   5521 esac
   5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5523 $as_echo "$ac_try_echo") >&5
   5524   (eval "$ac_compile") 2>conftest.er1
   5525   ac_status=$?
   5526   grep -v '^ *+' conftest.er1 >conftest.err
   5527   rm -f conftest.er1
   5528   cat conftest.err >&5
   5529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5530   (exit $ac_status); } && {
   5531 	 test -z "$ac_cxx_werror_flag" ||
   5532 	 test ! -s conftest.err
   5533        } && test -s conftest.$ac_objext; then
   5534   ac_cv_header_stdstring=yes
   5535 else
   5536   $as_echo "$as_me: failed program was:" >&5
   5537 sed 's/^/| /' conftest.$ac_ext >&5
   5538 
   5539 	ac_cv_header_stdstring=no
   5540 fi
   5541 
   5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5543 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdstring" >&5
   5544 $as_echo "$ac_cv_header_stdstring" >&6; }
   5545 if test $ac_cv_header_stdstring = yes
   5546 then
   5547 	U_HAVE_STD_STRING=1
   5548 fi
   5549 
   5550 ac_ext=c
   5551 ac_cpp='$CPP $CPPFLAGS'
   5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5555 
   5556 
   5557 threads=true
   5558 
   5559 # Enable/disable threads
   5560 # Check whether --enable-threads was given.
   5561 if test "${enable_threads+set}" = set; then
   5562   enableval=$enable_threads; case "${enableval}" in
   5563 		yes) threads=true ;;
   5564 		no)  threads=false ;;
   5565 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-threads" >&5
   5566 $as_echo "$as_me: error: bad value ${enableval} for --enable-threads" >&2;}
   5567    { (exit 1); exit 1; }; } ;;
   5568 		esac
   5569 else
   5570   threads=true
   5571 fi
   5572 
   5573 
   5574 if test "$threads" = true; then
   5575   THREADS_TRUE=
   5576 else
   5577   THREADS_TRUE='#'
   5578 fi
   5579 
   5580 ICU_USE_THREADS=0
   5581 OLD_LIBS=${LIBS}
   5582 
   5583 if test $threads = true; then
   5584   # For Compaq Tru64 (OSF1), we must look for pthread_attr_init
   5585   # and must do this before seaching for pthread_mutex_destroy, or
   5586   # we will pick up libpthreads.so not libpthread.so
   5587   # If this fails, then we must test for HPUX specials, before
   5588   # moving on to a more generic test
   5589 
   5590 
   5591 { $as_echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
   5592 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
   5593 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
   5594   $as_echo_n "(cached) " >&6
   5595 else
   5596   ac_check_lib_save_LIBS=$LIBS
   5597 LIBS="-lpthread  $LIBS"
   5598 cat >conftest.$ac_ext <<_ACEOF
   5599 /* confdefs.h.  */
   5600 _ACEOF
   5601 cat confdefs.h >>conftest.$ac_ext
   5602 cat >>conftest.$ac_ext <<_ACEOF
   5603 /* end confdefs.h.  */
   5604 
   5605 /* Override any GCC internal prototype to avoid an error.
   5606    Use char because int might match the return type of a GCC
   5607    builtin and then its argument prototype would still apply.  */
   5608 #ifdef __cplusplus
   5609 extern "C"
   5610 #endif
   5611 char pthread_attr_init ();
   5612 int
   5613 main ()
   5614 {
   5615 return pthread_attr_init ();
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 rm -f conftest.$ac_objext conftest$ac_exeext
   5621 if { (ac_try="$ac_link"
   5622 case "(($ac_try" in
   5623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5624   *) ac_try_echo=$ac_try;;
   5625 esac
   5626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5627 $as_echo "$ac_try_echo") >&5
   5628   (eval "$ac_link") 2>conftest.er1
   5629   ac_status=$?
   5630   grep -v '^ *+' conftest.er1 >conftest.err
   5631   rm -f conftest.er1
   5632   cat conftest.err >&5
   5633   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5634   (exit $ac_status); } && {
   5635 	 test -z "$ac_c_werror_flag" ||
   5636 	 test ! -s conftest.err
   5637        } && test -s conftest$ac_exeext && {
   5638 	 test "$cross_compiling" = yes ||
   5639 	 $as_test_x conftest$ac_exeext
   5640        }; then
   5641   ac_cv_lib_pthread_pthread_attr_init=yes
   5642 else
   5643   $as_echo "$as_me: failed program was:" >&5
   5644 sed 's/^/| /' conftest.$ac_ext >&5
   5645 
   5646 	ac_cv_lib_pthread_pthread_attr_init=no
   5647 fi
   5648 
   5649 rm -rf conftest.dSYM
   5650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5651       conftest$ac_exeext conftest.$ac_ext
   5652 LIBS=$ac_check_lib_save_LIBS
   5653 fi
   5654 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
   5655 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
   5656 if test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then
   5657   cat >>confdefs.h <<_ACEOF
   5658 #define HAVE_LIBPTHREAD 1
   5659 _ACEOF
   5660 
   5661   LIBS="-lpthread $LIBS"
   5662 
   5663 fi
   5664 
   5665   if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
   5666     ICU_USE_THREADS=1
   5667   else
   5668     # Locate the right library for POSIX threads. We look for the
   5669     # symbols in the libraries first, because on Solaris libc provides
   5670     # pthread_create but libpthread has the real code :(
   5671     # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
   5672     # FreeBSD users may need libpthread if they do not have libc_r.
   5673 
   5674 
   5675 { $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_destroy" >&5
   5676 $as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
   5677 if test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then
   5678   $as_echo_n "(cached) " >&6
   5679 else
   5680   ac_func_search_save_LIBS="$LIBS"
   5681 ac_cv_search_pthread_mutex_destroy="no"
   5682 for i in pthread pthreads c_r ; do
   5683 LIBS="-l$i  $ac_func_search_save_LIBS"
   5684 cat >conftest.$ac_ext <<_ACEOF
   5685 /* confdefs.h.  */
   5686 _ACEOF
   5687 cat confdefs.h >>conftest.$ac_ext
   5688 cat >>conftest.$ac_ext <<_ACEOF
   5689 /* end confdefs.h.  */
   5690 
   5691 /* Override any GCC internal prototype to avoid an error.
   5692    Use char because int might match the return type of a GCC
   5693    builtin and then its argument prototype would still apply.  */
   5694 #ifdef __cplusplus
   5695 extern "C"
   5696 #endif
   5697 char pthread_mutex_destroy ();
   5698 int
   5699 main ()
   5700 {
   5701 return pthread_mutex_destroy ();
   5702   ;
   5703   return 0;
   5704 }
   5705 _ACEOF
   5706 rm -f conftest.$ac_objext conftest$ac_exeext
   5707 if { (ac_try="$ac_link"
   5708 case "(($ac_try" in
   5709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5710   *) ac_try_echo=$ac_try;;
   5711 esac
   5712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5713 $as_echo "$ac_try_echo") >&5
   5714   (eval "$ac_link") 2>conftest.er1
   5715   ac_status=$?
   5716   grep -v '^ *+' conftest.er1 >conftest.err
   5717   rm -f conftest.er1
   5718   cat conftest.err >&5
   5719   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5720   (exit $ac_status); } && {
   5721 	 test -z "$ac_c_werror_flag" ||
   5722 	 test ! -s conftest.err
   5723        } && test -s conftest$ac_exeext && {
   5724 	 test "$cross_compiling" = yes ||
   5725 	 $as_test_x conftest$ac_exeext
   5726        }; then
   5727   ac_cv_search_pthread_mutex_destroy="-l$i"
   5728 break
   5729 else
   5730   $as_echo "$as_me: failed program was:" >&5
   5731 sed 's/^/| /' conftest.$ac_ext >&5
   5732 
   5733 
   5734 fi
   5735 
   5736 rm -rf conftest.dSYM
   5737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5738       conftest$ac_exeext conftest.$ac_ext
   5739 done
   5740 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
   5741 cat >conftest.$ac_ext <<_ACEOF
   5742 /* confdefs.h.  */
   5743 _ACEOF
   5744 cat confdefs.h >>conftest.$ac_ext
   5745 cat >>conftest.$ac_ext <<_ACEOF
   5746 /* end confdefs.h.  */
   5747 
   5748 /* Override any GCC internal prototype to avoid an error.
   5749    Use char because int might match the return type of a GCC
   5750    builtin and then its argument prototype would still apply.  */
   5751 #ifdef __cplusplus
   5752 extern "C"
   5753 #endif
   5754 char pthread_mutex_destroy ();
   5755 int
   5756 main ()
   5757 {
   5758 return pthread_mutex_destroy ();
   5759   ;
   5760   return 0;
   5761 }
   5762 _ACEOF
   5763 rm -f conftest.$ac_objext conftest$ac_exeext
   5764 if { (ac_try="$ac_link"
   5765 case "(($ac_try" in
   5766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5767   *) ac_try_echo=$ac_try;;
   5768 esac
   5769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5770 $as_echo "$ac_try_echo") >&5
   5771   (eval "$ac_link") 2>conftest.er1
   5772   ac_status=$?
   5773   grep -v '^ *+' conftest.er1 >conftest.err
   5774   rm -f conftest.er1
   5775   cat conftest.err >&5
   5776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5777   (exit $ac_status); } && {
   5778 	 test -z "$ac_c_werror_flag" ||
   5779 	 test ! -s conftest.err
   5780        } && test -s conftest$ac_exeext && {
   5781 	 test "$cross_compiling" = yes ||
   5782 	 $as_test_x conftest$ac_exeext
   5783        }; then
   5784   ac_cv_search_pthread_mutex_destroy="none required"
   5785 else
   5786   $as_echo "$as_me: failed program was:" >&5
   5787 sed 's/^/| /' conftest.$ac_ext >&5
   5788 
   5789 
   5790 fi
   5791 
   5792 rm -rf conftest.dSYM
   5793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5794       conftest$ac_exeext conftest.$ac_ext
   5795 fi
   5796 LIBS="$ac_func_search_save_LIBS"
   5797 fi
   5798 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_destroy" >&5
   5799 $as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
   5800 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
   5801   test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"
   5802 
   5803 else :
   5804 
   5805 fi
   5806 
   5807     if test "$ac_cv_search_pthread_mutex_destroy" != no; then
   5808       ICU_USE_THREADS=1
   5809     else
   5810       # For HP 11
   5811 
   5812 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
   5813 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
   5814 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
   5815   $as_echo_n "(cached) " >&6
   5816 else
   5817   ac_check_lib_save_LIBS=$LIBS
   5818 LIBS="-lpthread  $LIBS"
   5819 cat >conftest.$ac_ext <<_ACEOF
   5820 /* confdefs.h.  */
   5821 _ACEOF
   5822 cat confdefs.h >>conftest.$ac_ext
   5823 cat >>conftest.$ac_ext <<_ACEOF
   5824 /* end confdefs.h.  */
   5825 
   5826 /* Override any GCC internal prototype to avoid an error.
   5827    Use char because int might match the return type of a GCC
   5828    builtin and then its argument prototype would still apply.  */
   5829 #ifdef __cplusplus
   5830 extern "C"
   5831 #endif
   5832 char pthread_mutex_init ();
   5833 int
   5834 main ()
   5835 {
   5836 return pthread_mutex_init ();
   5837   ;
   5838   return 0;
   5839 }
   5840 _ACEOF
   5841 rm -f conftest.$ac_objext conftest$ac_exeext
   5842 if { (ac_try="$ac_link"
   5843 case "(($ac_try" in
   5844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5845   *) ac_try_echo=$ac_try;;
   5846 esac
   5847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5848 $as_echo "$ac_try_echo") >&5
   5849   (eval "$ac_link") 2>conftest.er1
   5850   ac_status=$?
   5851   grep -v '^ *+' conftest.er1 >conftest.err
   5852   rm -f conftest.er1
   5853   cat conftest.err >&5
   5854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5855   (exit $ac_status); } && {
   5856 	 test -z "$ac_c_werror_flag" ||
   5857 	 test ! -s conftest.err
   5858        } && test -s conftest$ac_exeext && {
   5859 	 test "$cross_compiling" = yes ||
   5860 	 $as_test_x conftest$ac_exeext
   5861        }; then
   5862   ac_cv_lib_pthread_pthread_mutex_init=yes
   5863 else
   5864   $as_echo "$as_me: failed program was:" >&5
   5865 sed 's/^/| /' conftest.$ac_ext >&5
   5866 
   5867 	ac_cv_lib_pthread_pthread_mutex_init=no
   5868 fi
   5869 
   5870 rm -rf conftest.dSYM
   5871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5872       conftest$ac_exeext conftest.$ac_ext
   5873 LIBS=$ac_check_lib_save_LIBS
   5874 fi
   5875 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
   5876 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
   5877 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then
   5878   cat >>confdefs.h <<_ACEOF
   5879 #define HAVE_LIBPTHREAD 1
   5880 _ACEOF
   5881 
   5882   LIBS="-lpthread $LIBS"
   5883 
   5884 fi
   5885 
   5886       if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
   5887         ICU_USE_THREADS=1
   5888       fi
   5889     fi
   5890 
   5891     { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock" >&5
   5892 $as_echo_n "checking for pthread_mutex_lock... " >&6; }
   5893 if test "${ac_cv_func_pthread_mutex_lock+set}" = set; then
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   cat >conftest.$ac_ext <<_ACEOF
   5897 /* confdefs.h.  */
   5898 _ACEOF
   5899 cat confdefs.h >>conftest.$ac_ext
   5900 cat >>conftest.$ac_ext <<_ACEOF
   5901 /* end confdefs.h.  */
   5902 /* Define pthread_mutex_lock to an innocuous variant, in case <limits.h> declares pthread_mutex_lock.
   5903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5904 #define pthread_mutex_lock innocuous_pthread_mutex_lock
   5905 
   5906 /* System header to define __stub macros and hopefully few prototypes,
   5907     which can conflict with char pthread_mutex_lock (); below.
   5908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5909     <limits.h> exists even on freestanding compilers.  */
   5910 
   5911 #ifdef __STDC__
   5912 # include <limits.h>
   5913 #else
   5914 # include <assert.h>
   5915 #endif
   5916 
   5917 #undef pthread_mutex_lock
   5918 
   5919 /* Override any GCC internal prototype to avoid an error.
   5920    Use char because int might match the return type of a GCC
   5921    builtin and then its argument prototype would still apply.  */
   5922 #ifdef __cplusplus
   5923 extern "C"
   5924 #endif
   5925 char pthread_mutex_lock ();
   5926 /* The GNU C library defines this for functions which it implements
   5927     to always fail with ENOSYS.  Some functions are actually named
   5928     something starting with __ and the normal name is an alias.  */
   5929 #if defined __stub_pthread_mutex_lock || defined __stub___pthread_mutex_lock
   5930 choke me
   5931 #endif
   5932 
   5933 int
   5934 main ()
   5935 {
   5936 return pthread_mutex_lock ();
   5937   ;
   5938   return 0;
   5939 }
   5940 _ACEOF
   5941 rm -f conftest.$ac_objext conftest$ac_exeext
   5942 if { (ac_try="$ac_link"
   5943 case "(($ac_try" in
   5944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5945   *) ac_try_echo=$ac_try;;
   5946 esac
   5947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5948 $as_echo "$ac_try_echo") >&5
   5949   (eval "$ac_link") 2>conftest.er1
   5950   ac_status=$?
   5951   grep -v '^ *+' conftest.er1 >conftest.err
   5952   rm -f conftest.er1
   5953   cat conftest.err >&5
   5954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5955   (exit $ac_status); } && {
   5956 	 test -z "$ac_c_werror_flag" ||
   5957 	 test ! -s conftest.err
   5958        } && test -s conftest$ac_exeext && {
   5959 	 test "$cross_compiling" = yes ||
   5960 	 $as_test_x conftest$ac_exeext
   5961        }; then
   5962   ac_cv_func_pthread_mutex_lock=yes
   5963 else
   5964   $as_echo "$as_me: failed program was:" >&5
   5965 sed 's/^/| /' conftest.$ac_ext >&5
   5966 
   5967 	ac_cv_func_pthread_mutex_lock=no
   5968 fi
   5969 
   5970 rm -rf conftest.dSYM
   5971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   5972       conftest$ac_exeext conftest.$ac_ext
   5973 fi
   5974 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_lock" >&5
   5975 $as_echo "$ac_cv_func_pthread_mutex_lock" >&6; }
   5976 
   5977 
   5978     if test $ac_cv_func_pthread_mutex_lock = yes; then
   5979       ICU_USE_THREADS=1
   5980     fi
   5981   fi
   5982   # Check to see if we are using CygWin with MSVC
   5983   case "${host}" in
   5984   *-pc-cygwin*|*-pc-mingw*)
   5985     # For gcc, the thread options are set by mh-mingw/mh-cygwin
   5986     ICU_USE_THREADS=1
   5987     if test "$ac_cv_c_compiler_gnu" = no; then
   5988       # We're using normal windows compilers. Threading is available.
   5989       ICU_USE_THREADS=1
   5990       if test $ENABLE_DEBUG = 1; then
   5991         # /MDd means 'compiles and links a debugable multithreaded program with DLL'
   5992         CFLAGS="${CFLAGS} /MDd"
   5993         CXXFLAGS="${CXXFLAGS} /MDd"
   5994       else
   5995         # /MD means 'compiles and links a multithreaded program with DLL'
   5996         CFLAGS="${CFLAGS} /MD"
   5997         CXXFLAGS="${CXXFLAGS} /MD"
   5998       fi
   5999     fi ;;
   6000   *-*-hpux*)
   6001     # Add -mt because it does several nice things on newer compilers.
   6002     case "${icu_cv_host_frag}" in
   6003       mh-hpux-acc)
   6004         OLD_CXXFLAGS="${CXXFLAGS}"
   6005         CXXFLAGS="${CXXFLAGS} -mt"
   6006         if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
   6007            CXXFLAGS="${OLD_CXXFLAGS}"
   6008        fi
   6009       ;;
   6010     esac
   6011     ;;
   6012   esac
   6013 fi
   6014 
   6015 
   6016 
   6017 # Check whether --enable-weak-threads was given.
   6018 if test "${enable_weak_threads+set}" = set; then
   6019   enableval=$enable_weak_threads; case "${enableval}" in
   6020 		yes)
   6021             LIB_THREAD="${LIBS%${OLD_LIBS}}"
   6022             LIBS=${OLD_LIBS}
   6023             ;;
   6024 		no)  ;;
   6025 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-weak-threads" >&5
   6026 $as_echo "$as_me: error: bad value ${enableval} for --enable-weak-threads" >&2;}
   6027    { (exit 1); exit 1; }; } ;;
   6028 		esac
   6029 fi
   6030 
   6031 
   6032 
   6033 # Check for mmap()
   6034 
   6035 # The AC_FUNC_MMAP macro doesn't work properly.  It seems to be too specific.
   6036 # Do this check instead.
   6037 HAVE_MMAP=0
   6038 { $as_echo "$as_me:$LINENO: checking for mmap" >&5
   6039 $as_echo_n "checking for mmap... " >&6; }
   6040 if test "${ac_cv_func_mmap_ok+set}" = set; then
   6041   $as_echo_n "(cached) " >&6
   6042 else
   6043   cat >conftest.$ac_ext <<_ACEOF
   6044 /* confdefs.h.  */
   6045 _ACEOF
   6046 cat confdefs.h >>conftest.$ac_ext
   6047 cat >>conftest.$ac_ext <<_ACEOF
   6048 /* end confdefs.h.  */
   6049 #include <unistd.h>
   6050 #include <sys/mman.h>
   6051 #include <sys/stat.h>
   6052 #include <fcntl.h>
   6053 int
   6054 main ()
   6055 {
   6056 mmap((void *)0, 0, PROT_READ, 0, 0, 0);
   6057   ;
   6058   return 0;
   6059 }
   6060 _ACEOF
   6061 rm -f conftest.$ac_objext conftest$ac_exeext
   6062 if { (ac_try="$ac_link"
   6063 case "(($ac_try" in
   6064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6065   *) ac_try_echo=$ac_try;;
   6066 esac
   6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6068 $as_echo "$ac_try_echo") >&5
   6069   (eval "$ac_link") 2>conftest.er1
   6070   ac_status=$?
   6071   grep -v '^ *+' conftest.er1 >conftest.err
   6072   rm -f conftest.er1
   6073   cat conftest.err >&5
   6074   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6075   (exit $ac_status); } && {
   6076 	 test -z "$ac_c_werror_flag" ||
   6077 	 test ! -s conftest.err
   6078        } && test -s conftest$ac_exeext && {
   6079 	 test "$cross_compiling" = yes ||
   6080 	 $as_test_x conftest$ac_exeext
   6081        }; then
   6082   ac_cv_func_mmap_ok=yes
   6083 else
   6084   $as_echo "$as_me: failed program was:" >&5
   6085 sed 's/^/| /' conftest.$ac_ext >&5
   6086 
   6087 	ac_cv_func_mmap_ok=no
   6088 fi
   6089 
   6090 rm -rf conftest.dSYM
   6091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6092       conftest$ac_exeext conftest.$ac_ext
   6093 fi
   6094 
   6095 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_ok" >&5
   6096 $as_echo "$ac_cv_func_mmap_ok" >&6; }
   6097 if test $ac_cv_func_mmap_ok = yes
   6098 then
   6099     HAVE_MMAP=1
   6100 fi
   6101 
   6102 
   6103 { $as_echo "$as_me:$LINENO: checking for genccode assembly" >&5
   6104 $as_echo_n "checking for genccode assembly... " >&6; }
   6105 
   6106 # Check to see if genccode can generate simple assembly.
   6107 GENCCODE_ASSEMBLY=
   6108 case "${host}" in
   6109 i*86-*-linux*|x86_64-*-linux*|powerpc*-*-linux*|i*86-*-*bsd*|i*86-pc-gnu)
   6110     if test "$GCC" = yes; then
   6111         # We're using gcc, and the simple -a gcc command line works for genccode
   6112         GENCCODE_ASSEMBLY="-a gcc"
   6113     fi ;;
   6114 i*86-*-solaris*)
   6115     if test "$GCC" = yes; then
   6116         # When using gcc, look if we're also using GNU as.
   6117         # When using GNU as, the simple -a gcc command line works for genccode.
   6118         asv=`"${CC}" -print-prog-name=as 2>/dev/null`
   6119         asv=`"${asv}" --version 2>/dev/null`
   6120         case "X${asv}" in
   6121         X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;
   6122         X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;
   6123         esac
   6124         unset asv
   6125     else
   6126         GENCCODE_ASSEMBLY="-a sun-x86"
   6127     fi ;;
   6128 sparc-*-solaris*)
   6129     GENCCODE_ASSEMBLY="-a sun"
   6130     ;;
   6131 ia64-*-hpux*)
   6132     GENCCODE_ASSEMBLY="-a aCC-ia64"
   6133     ;;
   6134 esac
   6135 
   6136 
   6137 { $as_echo "$as_me:$LINENO: result: $GENCCODE_ASSEMBLY" >&5
   6138 $as_echo "$GENCCODE_ASSEMBLY" >&6; }
   6139 
   6140 # Checks for header files
   6141 
   6142 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   6143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   6144 if test "${ac_cv_path_GREP+set}" = set; then
   6145   $as_echo_n "(cached) " >&6
   6146 else
   6147   if test -z "$GREP"; then
   6148   ac_path_GREP_found=false
   6149   # Loop through the user's path and test for each of PROGNAME-LIST
   6150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6152 do
   6153   IFS=$as_save_IFS
   6154   test -z "$as_dir" && as_dir=.
   6155   for ac_prog in grep ggrep; do
   6156     for ac_exec_ext in '' $ac_executable_extensions; do
   6157       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   6158       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   6159 # Check for GNU ac_path_GREP and select it if it is found.
   6160   # Check for GNU $ac_path_GREP
   6161 case `"$ac_path_GREP" --version 2>&1` in
   6162 *GNU*)
   6163   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   6164 *)
   6165   ac_count=0
   6166   $as_echo_n 0123456789 >"conftest.in"
   6167   while :
   6168   do
   6169     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6170     mv "conftest.tmp" "conftest.in"
   6171     cp "conftest.in" "conftest.nl"
   6172     $as_echo 'GREP' >> "conftest.nl"
   6173     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6174     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6175     ac_count=`expr $ac_count + 1`
   6176     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   6177       # Best one so far, save it but keep looking for a better one
   6178       ac_cv_path_GREP="$ac_path_GREP"
   6179       ac_path_GREP_max=$ac_count
   6180     fi
   6181     # 10*(2^10) chars as input seems more than enough
   6182     test $ac_count -gt 10 && break
   6183   done
   6184   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6185 esac
   6186 
   6187       $ac_path_GREP_found && break 3
   6188     done
   6189   done
   6190 done
   6191 IFS=$as_save_IFS
   6192   if test -z "$ac_cv_path_GREP"; then
   6193     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   6194 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   6195    { (exit 1); exit 1; }; }
   6196   fi
   6197 else
   6198   ac_cv_path_GREP=$GREP
   6199 fi
   6200 
   6201 fi
   6202 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   6203 $as_echo "$ac_cv_path_GREP" >&6; }
   6204  GREP="$ac_cv_path_GREP"
   6205 
   6206 
   6207 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   6208 $as_echo_n "checking for egrep... " >&6; }
   6209 if test "${ac_cv_path_EGREP+set}" = set; then
   6210   $as_echo_n "(cached) " >&6
   6211 else
   6212   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6213    then ac_cv_path_EGREP="$GREP -E"
   6214    else
   6215      if test -z "$EGREP"; then
   6216   ac_path_EGREP_found=false
   6217   # Loop through the user's path and test for each of PROGNAME-LIST
   6218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6219 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6220 do
   6221   IFS=$as_save_IFS
   6222   test -z "$as_dir" && as_dir=.
   6223   for ac_prog in egrep; do
   6224     for ac_exec_ext in '' $ac_executable_extensions; do
   6225       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   6226       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   6227 # Check for GNU ac_path_EGREP and select it if it is found.
   6228   # Check for GNU $ac_path_EGREP
   6229 case `"$ac_path_EGREP" --version 2>&1` in
   6230 *GNU*)
   6231   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6232 *)
   6233   ac_count=0
   6234   $as_echo_n 0123456789 >"conftest.in"
   6235   while :
   6236   do
   6237     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6238     mv "conftest.tmp" "conftest.in"
   6239     cp "conftest.in" "conftest.nl"
   6240     $as_echo 'EGREP' >> "conftest.nl"
   6241     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6242     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6243     ac_count=`expr $ac_count + 1`
   6244     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6245       # Best one so far, save it but keep looking for a better one
   6246       ac_cv_path_EGREP="$ac_path_EGREP"
   6247       ac_path_EGREP_max=$ac_count
   6248     fi
   6249     # 10*(2^10) chars as input seems more than enough
   6250     test $ac_count -gt 10 && break
   6251   done
   6252   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6253 esac
   6254 
   6255       $ac_path_EGREP_found && break 3
   6256     done
   6257   done
   6258 done
   6259 IFS=$as_save_IFS
   6260   if test -z "$ac_cv_path_EGREP"; then
   6261     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   6262 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   6263    { (exit 1); exit 1; }; }
   6264   fi
   6265 else
   6266   ac_cv_path_EGREP=$EGREP
   6267 fi
   6268 
   6269    fi
   6270 fi
   6271 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   6272 $as_echo "$ac_cv_path_EGREP" >&6; }
   6273  EGREP="$ac_cv_path_EGREP"
   6274 
   6275 
   6276 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   6277 $as_echo_n "checking for ANSI C header files... " >&6; }
   6278 if test "${ac_cv_header_stdc+set}" = set; then
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   cat >conftest.$ac_ext <<_ACEOF
   6282 /* confdefs.h.  */
   6283 _ACEOF
   6284 cat confdefs.h >>conftest.$ac_ext
   6285 cat >>conftest.$ac_ext <<_ACEOF
   6286 /* end confdefs.h.  */
   6287 #include <stdlib.h>
   6288 #include <stdarg.h>
   6289 #include <string.h>
   6290 #include <float.h>
   6291 
   6292 int
   6293 main ()
   6294 {
   6295 
   6296   ;
   6297   return 0;
   6298 }
   6299 _ACEOF
   6300 rm -f conftest.$ac_objext
   6301 if { (ac_try="$ac_compile"
   6302 case "(($ac_try" in
   6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6304   *) ac_try_echo=$ac_try;;
   6305 esac
   6306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6307 $as_echo "$ac_try_echo") >&5
   6308   (eval "$ac_compile") 2>conftest.er1
   6309   ac_status=$?
   6310   grep -v '^ *+' conftest.er1 >conftest.err
   6311   rm -f conftest.er1
   6312   cat conftest.err >&5
   6313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6314   (exit $ac_status); } && {
   6315 	 test -z "$ac_c_werror_flag" ||
   6316 	 test ! -s conftest.err
   6317        } && test -s conftest.$ac_objext; then
   6318   ac_cv_header_stdc=yes
   6319 else
   6320   $as_echo "$as_me: failed program was:" >&5
   6321 sed 's/^/| /' conftest.$ac_ext >&5
   6322 
   6323 	ac_cv_header_stdc=no
   6324 fi
   6325 
   6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6327 
   6328 if test $ac_cv_header_stdc = yes; then
   6329   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6330   cat >conftest.$ac_ext <<_ACEOF
   6331 /* confdefs.h.  */
   6332 _ACEOF
   6333 cat confdefs.h >>conftest.$ac_ext
   6334 cat >>conftest.$ac_ext <<_ACEOF
   6335 /* end confdefs.h.  */
   6336 #include <string.h>
   6337 
   6338 _ACEOF
   6339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6340   $EGREP "memchr" >/dev/null 2>&1; then
   6341   :
   6342 else
   6343   ac_cv_header_stdc=no
   6344 fi
   6345 rm -f conftest*
   6346 
   6347 fi
   6348 
   6349 if test $ac_cv_header_stdc = yes; then
   6350   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6351   cat >conftest.$ac_ext <<_ACEOF
   6352 /* confdefs.h.  */
   6353 _ACEOF
   6354 cat confdefs.h >>conftest.$ac_ext
   6355 cat >>conftest.$ac_ext <<_ACEOF
   6356 /* end confdefs.h.  */
   6357 #include <stdlib.h>
   6358 
   6359 _ACEOF
   6360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6361   $EGREP "free" >/dev/null 2>&1; then
   6362   :
   6363 else
   6364   ac_cv_header_stdc=no
   6365 fi
   6366 rm -f conftest*
   6367 
   6368 fi
   6369 
   6370 if test $ac_cv_header_stdc = yes; then
   6371   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6372   if test "$cross_compiling" = yes; then
   6373   :
   6374 else
   6375   cat >conftest.$ac_ext <<_ACEOF
   6376 /* confdefs.h.  */
   6377 _ACEOF
   6378 cat confdefs.h >>conftest.$ac_ext
   6379 cat >>conftest.$ac_ext <<_ACEOF
   6380 /* end confdefs.h.  */
   6381 #include <ctype.h>
   6382 #include <stdlib.h>
   6383 #if ((' ' & 0x0FF) == 0x020)
   6384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6386 #else
   6387 # define ISLOWER(c) \
   6388 		   (('a' <= (c) && (c) <= 'i') \
   6389 		     || ('j' <= (c) && (c) <= 'r') \
   6390 		     || ('s' <= (c) && (c) <= 'z'))
   6391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6392 #endif
   6393 
   6394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6395 int
   6396 main ()
   6397 {
   6398   int i;
   6399   for (i = 0; i < 256; i++)
   6400     if (XOR (islower (i), ISLOWER (i))
   6401 	|| toupper (i) != TOUPPER (i))
   6402       return 2;
   6403   return 0;
   6404 }
   6405 _ACEOF
   6406 rm -f conftest$ac_exeext
   6407 if { (ac_try="$ac_link"
   6408 case "(($ac_try" in
   6409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6410   *) ac_try_echo=$ac_try;;
   6411 esac
   6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6413 $as_echo "$ac_try_echo") >&5
   6414   (eval "$ac_link") 2>&5
   6415   ac_status=$?
   6416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6417   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   6418   { (case "(($ac_try" in
   6419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6420   *) ac_try_echo=$ac_try;;
   6421 esac
   6422 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6423 $as_echo "$ac_try_echo") >&5
   6424   (eval "$ac_try") 2>&5
   6425   ac_status=$?
   6426   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6427   (exit $ac_status); }; }; then
   6428   :
   6429 else
   6430   $as_echo "$as_me: program exited with status $ac_status" >&5
   6431 $as_echo "$as_me: failed program was:" >&5
   6432 sed 's/^/| /' conftest.$ac_ext >&5
   6433 
   6434 ( exit $ac_status )
   6435 ac_cv_header_stdc=no
   6436 fi
   6437 rm -rf conftest.dSYM
   6438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 
   6441 
   6442 fi
   6443 fi
   6444 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   6445 $as_echo "$ac_cv_header_stdc" >&6; }
   6446 if test $ac_cv_header_stdc = yes; then
   6447 
   6448 cat >>confdefs.h <<\_ACEOF
   6449 #define STDC_HEADERS 1
   6450 _ACEOF
   6451 
   6452 fi
   6453 
   6454 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   6465 		  inttypes.h stdint.h unistd.h
   6466 do
   6467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6468 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6469 $as_echo_n "checking for $ac_header... " >&6; }
   6470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6471   $as_echo_n "(cached) " >&6
   6472 else
   6473   cat >conftest.$ac_ext <<_ACEOF
   6474 /* confdefs.h.  */
   6475 _ACEOF
   6476 cat confdefs.h >>conftest.$ac_ext
   6477 cat >>conftest.$ac_ext <<_ACEOF
   6478 /* end confdefs.h.  */
   6479 $ac_includes_default
   6480 
   6481 #include <$ac_header>
   6482 _ACEOF
   6483 rm -f conftest.$ac_objext
   6484 if { (ac_try="$ac_compile"
   6485 case "(($ac_try" in
   6486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6487   *) ac_try_echo=$ac_try;;
   6488 esac
   6489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6490 $as_echo "$ac_try_echo") >&5
   6491   (eval "$ac_compile") 2>conftest.er1
   6492   ac_status=$?
   6493   grep -v '^ *+' conftest.er1 >conftest.err
   6494   rm -f conftest.er1
   6495   cat conftest.err >&5
   6496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6497   (exit $ac_status); } && {
   6498 	 test -z "$ac_c_werror_flag" ||
   6499 	 test ! -s conftest.err
   6500        } && test -s conftest.$ac_objext; then
   6501   eval "$as_ac_Header=yes"
   6502 else
   6503   $as_echo "$as_me: failed program was:" >&5
   6504 sed 's/^/| /' conftest.$ac_ext >&5
   6505 
   6506 	eval "$as_ac_Header=no"
   6507 fi
   6508 
   6509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6510 fi
   6511 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6512 		 $as_echo "$as_val"'`
   6513 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6514 $as_echo "$ac_res" >&6; }
   6515 as_val=`eval 'as_val=${'$as_ac_Header'}
   6516 		 $as_echo "$as_val"'`
   6517    if test "x$as_val" = x""yes; then
   6518   cat >>confdefs.h <<_ACEOF
   6519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6520 _ACEOF
   6521 
   6522 fi
   6523 
   6524 done
   6525 
   6526 
   6527 
   6528 for ac_header in inttypes.h
   6529 do
   6530 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6532   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6533 $as_echo_n "checking for $ac_header... " >&6; }
   6534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6535   $as_echo_n "(cached) " >&6
   6536 fi
   6537 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6538 		 $as_echo "$as_val"'`
   6539 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6540 $as_echo "$ac_res" >&6; }
   6541 else
   6542   # Is the header compilable?
   6543 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   6544 $as_echo_n "checking $ac_header usability... " >&6; }
   6545 cat >conftest.$ac_ext <<_ACEOF
   6546 /* confdefs.h.  */
   6547 _ACEOF
   6548 cat confdefs.h >>conftest.$ac_ext
   6549 cat >>conftest.$ac_ext <<_ACEOF
   6550 /* end confdefs.h.  */
   6551 $ac_includes_default
   6552 #include <$ac_header>
   6553 _ACEOF
   6554 rm -f conftest.$ac_objext
   6555 if { (ac_try="$ac_compile"
   6556 case "(($ac_try" in
   6557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6558   *) ac_try_echo=$ac_try;;
   6559 esac
   6560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6561 $as_echo "$ac_try_echo") >&5
   6562   (eval "$ac_compile") 2>conftest.er1
   6563   ac_status=$?
   6564   grep -v '^ *+' conftest.er1 >conftest.err
   6565   rm -f conftest.er1
   6566   cat conftest.err >&5
   6567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6568   (exit $ac_status); } && {
   6569 	 test -z "$ac_c_werror_flag" ||
   6570 	 test ! -s conftest.err
   6571        } && test -s conftest.$ac_objext; then
   6572   ac_header_compiler=yes
   6573 else
   6574   $as_echo "$as_me: failed program was:" >&5
   6575 sed 's/^/| /' conftest.$ac_ext >&5
   6576 
   6577 	ac_header_compiler=no
   6578 fi
   6579 
   6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6581 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   6582 $as_echo "$ac_header_compiler" >&6; }
   6583 
   6584 # Is the header present?
   6585 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   6586 $as_echo_n "checking $ac_header presence... " >&6; }
   6587 cat >conftest.$ac_ext <<_ACEOF
   6588 /* confdefs.h.  */
   6589 _ACEOF
   6590 cat confdefs.h >>conftest.$ac_ext
   6591 cat >>conftest.$ac_ext <<_ACEOF
   6592 /* end confdefs.h.  */
   6593 #include <$ac_header>
   6594 _ACEOF
   6595 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6596 case "(($ac_try" in
   6597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6598   *) ac_try_echo=$ac_try;;
   6599 esac
   6600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6601 $as_echo "$ac_try_echo") >&5
   6602   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6603   ac_status=$?
   6604   grep -v '^ *+' conftest.er1 >conftest.err
   6605   rm -f conftest.er1
   6606   cat conftest.err >&5
   6607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6608   (exit $ac_status); } >/dev/null && {
   6609 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6610 	 test ! -s conftest.err
   6611        }; then
   6612   ac_header_preproc=yes
   6613 else
   6614   $as_echo "$as_me: failed program was:" >&5
   6615 sed 's/^/| /' conftest.$ac_ext >&5
   6616 
   6617   ac_header_preproc=no
   6618 fi
   6619 
   6620 rm -f conftest.err conftest.$ac_ext
   6621 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   6622 $as_echo "$ac_header_preproc" >&6; }
   6623 
   6624 # So?  What about this header?
   6625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   6626   yes:no: )
   6627     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   6628 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   6629     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   6630 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   6631     ac_header_preproc=yes
   6632     ;;
   6633   no:yes:* )
   6634     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   6635 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   6636     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   6637 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   6638     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   6639 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   6640     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   6641 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   6642     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   6643 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   6644     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   6645 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   6646 
   6647     ;;
   6648 esac
   6649 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6650 $as_echo_n "checking for $ac_header... " >&6; }
   6651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6652   $as_echo_n "(cached) " >&6
   6653 else
   6654   eval "$as_ac_Header=\$ac_header_preproc"
   6655 fi
   6656 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6657 		 $as_echo "$as_val"'`
   6658 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6659 $as_echo "$ac_res" >&6; }
   6660 
   6661 fi
   6662 as_val=`eval 'as_val=${'$as_ac_Header'}
   6663 		 $as_echo "$as_val"'`
   6664    if test "x$as_val" = x""yes; then
   6665   cat >>confdefs.h <<_ACEOF
   6666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6667 _ACEOF
   6668 
   6669 fi
   6670 
   6671 done
   6672 
   6673 if test $ac_cv_header_inttypes_h = no; then
   6674  U_HAVE_INTTYPES_H=0
   6675 else
   6676  U_HAVE_INTTYPES_H=1
   6677 fi
   6678 if test "$CC" = ccc; then
   6679  { $as_echo "$as_me:$LINENO: result: \"C compiler set to CCC ${CC}\" " >&5
   6680 $as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
   6681  case "${host}" in
   6682         alpha*-*-*) U_HAVE_INTTYPES_H=0;
   6683  esac
   6684 fi
   6685 
   6686 
   6687 
   6688 
   6689 for ac_header in dirent.h
   6690 do
   6691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6693   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6694 $as_echo_n "checking for $ac_header... " >&6; }
   6695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6696   $as_echo_n "(cached) " >&6
   6697 fi
   6698 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6699 		 $as_echo "$as_val"'`
   6700 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6701 $as_echo "$ac_res" >&6; }
   6702 else
   6703   # Is the header compilable?
   6704 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   6705 $as_echo_n "checking $ac_header usability... " >&6; }
   6706 cat >conftest.$ac_ext <<_ACEOF
   6707 /* confdefs.h.  */
   6708 _ACEOF
   6709 cat confdefs.h >>conftest.$ac_ext
   6710 cat >>conftest.$ac_ext <<_ACEOF
   6711 /* end confdefs.h.  */
   6712 $ac_includes_default
   6713 #include <$ac_header>
   6714 _ACEOF
   6715 rm -f conftest.$ac_objext
   6716 if { (ac_try="$ac_compile"
   6717 case "(($ac_try" in
   6718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6719   *) ac_try_echo=$ac_try;;
   6720 esac
   6721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6722 $as_echo "$ac_try_echo") >&5
   6723   (eval "$ac_compile") 2>conftest.er1
   6724   ac_status=$?
   6725   grep -v '^ *+' conftest.er1 >conftest.err
   6726   rm -f conftest.er1
   6727   cat conftest.err >&5
   6728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6729   (exit $ac_status); } && {
   6730 	 test -z "$ac_c_werror_flag" ||
   6731 	 test ! -s conftest.err
   6732        } && test -s conftest.$ac_objext; then
   6733   ac_header_compiler=yes
   6734 else
   6735   $as_echo "$as_me: failed program was:" >&5
   6736 sed 's/^/| /' conftest.$ac_ext >&5
   6737 
   6738 	ac_header_compiler=no
   6739 fi
   6740 
   6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6742 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   6743 $as_echo "$ac_header_compiler" >&6; }
   6744 
   6745 # Is the header present?
   6746 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   6747 $as_echo_n "checking $ac_header presence... " >&6; }
   6748 cat >conftest.$ac_ext <<_ACEOF
   6749 /* confdefs.h.  */
   6750 _ACEOF
   6751 cat confdefs.h >>conftest.$ac_ext
   6752 cat >>conftest.$ac_ext <<_ACEOF
   6753 /* end confdefs.h.  */
   6754 #include <$ac_header>
   6755 _ACEOF
   6756 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6757 case "(($ac_try" in
   6758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6759   *) ac_try_echo=$ac_try;;
   6760 esac
   6761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6762 $as_echo "$ac_try_echo") >&5
   6763   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6764   ac_status=$?
   6765   grep -v '^ *+' conftest.er1 >conftest.err
   6766   rm -f conftest.er1
   6767   cat conftest.err >&5
   6768   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6769   (exit $ac_status); } >/dev/null && {
   6770 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   6771 	 test ! -s conftest.err
   6772        }; then
   6773   ac_header_preproc=yes
   6774 else
   6775   $as_echo "$as_me: failed program was:" >&5
   6776 sed 's/^/| /' conftest.$ac_ext >&5
   6777 
   6778   ac_header_preproc=no
   6779 fi
   6780 
   6781 rm -f conftest.err conftest.$ac_ext
   6782 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   6783 $as_echo "$ac_header_preproc" >&6; }
   6784 
   6785 # So?  What about this header?
   6786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   6787   yes:no: )
   6788     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   6789 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   6790     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   6791 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   6792     ac_header_preproc=yes
   6793     ;;
   6794   no:yes:* )
   6795     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   6796 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   6797     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   6798 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   6799     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   6800 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   6801     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   6802 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   6803     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   6804 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   6805     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   6806 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   6807 
   6808     ;;
   6809 esac
   6810 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   6811 $as_echo_n "checking for $ac_header... " >&6; }
   6812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   eval "$as_ac_Header=\$ac_header_preproc"
   6816 fi
   6817 ac_res=`eval 'as_val=${'$as_ac_Header'}
   6818 		 $as_echo "$as_val"'`
   6819 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   6820 $as_echo "$ac_res" >&6; }
   6821 
   6822 fi
   6823 as_val=`eval 'as_val=${'$as_ac_Header'}
   6824 		 $as_echo "$as_val"'`
   6825    if test "x$as_val" = x""yes; then
   6826   cat >>confdefs.h <<_ACEOF
   6827 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6828 _ACEOF
   6829 
   6830 fi
   6831 
   6832 done
   6833 
   6834 if test $ac_cv_header_dirent_h = no; then
   6835  U_HAVE_DIRENT_H=0
   6836 else
   6837  U_HAVE_DIRENT_H=1
   6838 fi
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 # Check whether --with-iostream was given.
   6845 if test "${with_iostream+set}" = set; then
   6846   withval=$with_iostream; case "${withval}" in
   6847 		none) streams=none ;;
   6848 		old) streams=198506 ;;
   6849 		std) streams=199711 ;;
   6850 		auto) streams= ;;
   6851 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-iostream" >&5
   6852 $as_echo "$as_me: error: bad value ${withval} for --with-iostream" >&2;}
   6853    { (exit 1); exit 1; }; } ;;
   6854 		esac
   6855 else
   6856   streams=
   6857 fi
   6858 
   6859 
   6860 U_IOSTREAM_SOURCE=0
   6861 if test x$streams != xnone
   6862 then
   6863     ac_ext=cpp
   6864 ac_cpp='$CXXCPP $CPPFLAGS'
   6865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6868 
   6869     OLD_CXXFLAGS="${CXXFLAGS}"
   6870     case "${icu_cv_host_frag}" in
   6871         mh-hpux-acc)
   6872             CXXFLAGS="${CXXFLAGS} -AA"
   6873         ;;
   6874     esac
   6875     { $as_echo "$as_me:$LINENO: checking for iostream usability" >&5
   6876 $as_echo_n "checking for iostream usability... " >&6; }
   6877     cat >conftest.$ac_ext <<_ACEOF
   6878 /* confdefs.h.  */
   6879 _ACEOF
   6880 cat confdefs.h >>conftest.$ac_ext
   6881 cat >>conftest.$ac_ext <<_ACEOF
   6882 /* end confdefs.h.  */
   6883 #include <iostream>
   6884 int
   6885 main ()
   6886 {
   6887 
   6888   ;
   6889   return 0;
   6890 }
   6891 _ACEOF
   6892 rm -f conftest.$ac_objext
   6893 if { (ac_try="$ac_compile"
   6894 case "(($ac_try" in
   6895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6896   *) ac_try_echo=$ac_try;;
   6897 esac
   6898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6899 $as_echo "$ac_try_echo") >&5
   6900   (eval "$ac_compile") 2>conftest.er1
   6901   ac_status=$?
   6902   grep -v '^ *+' conftest.er1 >conftest.err
   6903   rm -f conftest.er1
   6904   cat conftest.err >&5
   6905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6906   (exit $ac_status); } && {
   6907 	 test -z "$ac_cxx_werror_flag" ||
   6908 	 test ! -s conftest.err
   6909        } && test -s conftest.$ac_objext; then
   6910   ac_cv_header_iostream=yes
   6911 else
   6912   $as_echo "$as_me: failed program was:" >&5
   6913 sed 's/^/| /' conftest.$ac_ext >&5
   6914 
   6915 	ac_cv_header_iostream=no
   6916 fi
   6917 
   6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6919     if test $icu_cv_host_frag = mh-cygwin-msvc
   6920     then
   6921         # <iostream> is always there on Windows.
   6922         # We do this to prevent the C++ preprocessor from being used because
   6923         # autoconf can't deal with the Windows C++ preprocessor
   6924         ac_cv_header_iostream=yes
   6925     fi
   6926     { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
   6927 $as_echo "$ac_cv_header_iostream" >&6; }
   6928     if test $ac_cv_header_iostream = yes
   6929     then
   6930         U_IOSTREAM_SOURCE=199711
   6931     else
   6932         CXXFLAGS="${OLD_CXXFLAGS}"
   6933         { $as_echo "$as_me:$LINENO: checking whether ostream in iostream.h is really defined" >&5
   6934 $as_echo_n "checking whether ostream in iostream.h is really defined... " >&6; }
   6935         if test "${ac_cv_iostream_ok+set}" = set; then
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   cat >conftest.$ac_ext <<_ACEOF
   6939 /* confdefs.h.  */
   6940 _ACEOF
   6941 cat confdefs.h >>conftest.$ac_ext
   6942 cat >>conftest.$ac_ext <<_ACEOF
   6943 /* end confdefs.h.  */
   6944 #include <iostream.h>
   6945 int
   6946 main ()
   6947 {
   6948 ostream &testout = cout; testout << "test" << endl;
   6949   ;
   6950   return 0;
   6951 }
   6952 _ACEOF
   6953 rm -f conftest.$ac_objext conftest$ac_exeext
   6954 if { (ac_try="$ac_link"
   6955 case "(($ac_try" in
   6956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6957   *) ac_try_echo=$ac_try;;
   6958 esac
   6959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6960 $as_echo "$ac_try_echo") >&5
   6961   (eval "$ac_link") 2>conftest.er1
   6962   ac_status=$?
   6963   grep -v '^ *+' conftest.er1 >conftest.err
   6964   rm -f conftest.er1
   6965   cat conftest.err >&5
   6966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6967   (exit $ac_status); } && {
   6968 	 test -z "$ac_cxx_werror_flag" ||
   6969 	 test ! -s conftest.err
   6970        } && test -s conftest$ac_exeext && {
   6971 	 test "$cross_compiling" = yes ||
   6972 	 $as_test_x conftest$ac_exeext
   6973        }; then
   6974   ac_cv_iostream_ok=yes
   6975 else
   6976   $as_echo "$as_me: failed program was:" >&5
   6977 sed 's/^/| /' conftest.$ac_ext >&5
   6978 
   6979 	ac_cv_iostream_ok=no
   6980 fi
   6981 
   6982 rm -rf conftest.dSYM
   6983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   6984       conftest$ac_exeext conftest.$ac_ext
   6985 fi
   6986 
   6987         { $as_echo "$as_me:$LINENO: result: $ac_cv_iostream_ok" >&5
   6988 $as_echo "$ac_cv_iostream_ok" >&6; }
   6989         if test $ac_cv_iostream_ok = yes
   6990         then
   6991             U_IOSTREAM_SOURCE=198506
   6992         fi
   6993     fi
   6994     if test x$streams != x
   6995     then
   6996         if test $U_IOSTREAM_SOURCE -ge $streams
   6997         then
   6998             U_IOSTREAM_SOURCE=$streams
   6999             case "${icu_cv_host_frag}" in
   7000                 mh-hpux-acc)
   7001                     if test $U_IOSTREAM_SOURCE -lt 199711; then
   7002                         CXXFLAGS=${OLD_CXXFLAGS}
   7003                     fi
   7004                 ;;
   7005             esac
   7006         else
   7007             { { $as_echo "$as_me:$LINENO: error: ${withval} iostream is not available" >&5
   7008 $as_echo "$as_me: error: ${withval} iostream is not available" >&2;}
   7009    { (exit 1); exit 1; }; }
   7010         fi
   7011     fi
   7012 fi
   7013 
   7014 ac_ext=c
   7015 ac_cpp='$CPP $CPPFLAGS'
   7016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7019 
   7020 
   7021 # Check for endianness
   7022 
   7023  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
   7024 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   7025 if test "${ac_cv_c_bigendian+set}" = set; then
   7026   $as_echo_n "(cached) " >&6
   7027 else
   7028   ac_cv_c_bigendian=unknown
   7029     # See if we're dealing with a universal compiler.
   7030     cat >conftest.$ac_ext <<_ACEOF
   7031 /* confdefs.h.  */
   7032 _ACEOF
   7033 cat confdefs.h >>conftest.$ac_ext
   7034 cat >>conftest.$ac_ext <<_ACEOF
   7035 /* end confdefs.h.  */
   7036 #ifndef __APPLE_CC__
   7037 	       not a universal capable compiler
   7038 	     #endif
   7039 	     typedef int dummy;
   7040 
   7041 _ACEOF
   7042 rm -f conftest.$ac_objext
   7043 if { (ac_try="$ac_compile"
   7044 case "(($ac_try" in
   7045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7046   *) ac_try_echo=$ac_try;;
   7047 esac
   7048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7049 $as_echo "$ac_try_echo") >&5
   7050   (eval "$ac_compile") 2>conftest.er1
   7051   ac_status=$?
   7052   grep -v '^ *+' conftest.er1 >conftest.err
   7053   rm -f conftest.er1
   7054   cat conftest.err >&5
   7055   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7056   (exit $ac_status); } && {
   7057 	 test -z "$ac_c_werror_flag" ||
   7058 	 test ! -s conftest.err
   7059        } && test -s conftest.$ac_objext; then
   7060 
   7061 	# Check for potential -arch flags.  It is not universal unless
   7062 	# there are some -arch flags.  Note that *ppc* also matches
   7063 	# ppc64.  This check is also rather less than ideal.
   7064 	case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
   7065 	  *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
   7066 	esac
   7067 else
   7068   $as_echo "$as_me: failed program was:" >&5
   7069 sed 's/^/| /' conftest.$ac_ext >&5
   7070 
   7071 
   7072 fi
   7073 
   7074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7075     if test $ac_cv_c_bigendian = unknown; then
   7076       # See if sys/param.h defines the BYTE_ORDER macro.
   7077       cat >conftest.$ac_ext <<_ACEOF
   7078 /* confdefs.h.  */
   7079 _ACEOF
   7080 cat confdefs.h >>conftest.$ac_ext
   7081 cat >>conftest.$ac_ext <<_ACEOF
   7082 /* end confdefs.h.  */
   7083 #include <sys/types.h>
   7084 	     #include <sys/param.h>
   7085 
   7086 int
   7087 main ()
   7088 {
   7089 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   7090 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   7091 		     && LITTLE_ENDIAN)
   7092 	      bogus endian macros
   7093 	     #endif
   7094 
   7095   ;
   7096   return 0;
   7097 }
   7098 _ACEOF
   7099 rm -f conftest.$ac_objext
   7100 if { (ac_try="$ac_compile"
   7101 case "(($ac_try" in
   7102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7103   *) ac_try_echo=$ac_try;;
   7104 esac
   7105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7106 $as_echo "$ac_try_echo") >&5
   7107   (eval "$ac_compile") 2>conftest.er1
   7108   ac_status=$?
   7109   grep -v '^ *+' conftest.er1 >conftest.err
   7110   rm -f conftest.er1
   7111   cat conftest.err >&5
   7112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7113   (exit $ac_status); } && {
   7114 	 test -z "$ac_c_werror_flag" ||
   7115 	 test ! -s conftest.err
   7116        } && test -s conftest.$ac_objext; then
   7117   # It does; now see whether it defined to BIG_ENDIAN or not.
   7118 	 cat >conftest.$ac_ext <<_ACEOF
   7119 /* confdefs.h.  */
   7120 _ACEOF
   7121 cat confdefs.h >>conftest.$ac_ext
   7122 cat >>conftest.$ac_ext <<_ACEOF
   7123 /* end confdefs.h.  */
   7124 #include <sys/types.h>
   7125 		#include <sys/param.h>
   7126 
   7127 int
   7128 main ()
   7129 {
   7130 #if BYTE_ORDER != BIG_ENDIAN
   7131 		 not big endian
   7132 		#endif
   7133 
   7134   ;
   7135   return 0;
   7136 }
   7137 _ACEOF
   7138 rm -f conftest.$ac_objext
   7139 if { (ac_try="$ac_compile"
   7140 case "(($ac_try" in
   7141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7142   *) ac_try_echo=$ac_try;;
   7143 esac
   7144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7145 $as_echo "$ac_try_echo") >&5
   7146   (eval "$ac_compile") 2>conftest.er1
   7147   ac_status=$?
   7148   grep -v '^ *+' conftest.er1 >conftest.err
   7149   rm -f conftest.er1
   7150   cat conftest.err >&5
   7151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7152   (exit $ac_status); } && {
   7153 	 test -z "$ac_c_werror_flag" ||
   7154 	 test ! -s conftest.err
   7155        } && test -s conftest.$ac_objext; then
   7156   ac_cv_c_bigendian=yes
   7157 else
   7158   $as_echo "$as_me: failed program was:" >&5
   7159 sed 's/^/| /' conftest.$ac_ext >&5
   7160 
   7161 	ac_cv_c_bigendian=no
   7162 fi
   7163 
   7164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7165 else
   7166   $as_echo "$as_me: failed program was:" >&5
   7167 sed 's/^/| /' conftest.$ac_ext >&5
   7168 
   7169 
   7170 fi
   7171 
   7172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7173     fi
   7174     if test $ac_cv_c_bigendian = unknown; then
   7175       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   7176       cat >conftest.$ac_ext <<_ACEOF
   7177 /* confdefs.h.  */
   7178 _ACEOF
   7179 cat confdefs.h >>conftest.$ac_ext
   7180 cat >>conftest.$ac_ext <<_ACEOF
   7181 /* end confdefs.h.  */
   7182 #include <limits.h>
   7183 
   7184 int
   7185 main ()
   7186 {
   7187 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   7188 	      bogus endian macros
   7189 	     #endif
   7190 
   7191   ;
   7192   return 0;
   7193 }
   7194 _ACEOF
   7195 rm -f conftest.$ac_objext
   7196 if { (ac_try="$ac_compile"
   7197 case "(($ac_try" in
   7198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7199   *) ac_try_echo=$ac_try;;
   7200 esac
   7201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7202 $as_echo "$ac_try_echo") >&5
   7203   (eval "$ac_compile") 2>conftest.er1
   7204   ac_status=$?
   7205   grep -v '^ *+' conftest.er1 >conftest.err
   7206   rm -f conftest.er1
   7207   cat conftest.err >&5
   7208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7209   (exit $ac_status); } && {
   7210 	 test -z "$ac_c_werror_flag" ||
   7211 	 test ! -s conftest.err
   7212        } && test -s conftest.$ac_objext; then
   7213   # It does; now see whether it defined to _BIG_ENDIAN or not.
   7214 	 cat >conftest.$ac_ext <<_ACEOF
   7215 /* confdefs.h.  */
   7216 _ACEOF
   7217 cat confdefs.h >>conftest.$ac_ext
   7218 cat >>conftest.$ac_ext <<_ACEOF
   7219 /* end confdefs.h.  */
   7220 #include <limits.h>
   7221 
   7222 int
   7223 main ()
   7224 {
   7225 #ifndef _BIG_ENDIAN
   7226 		 not big endian
   7227 		#endif
   7228 
   7229   ;
   7230   return 0;
   7231 }
   7232 _ACEOF
   7233 rm -f conftest.$ac_objext
   7234 if { (ac_try="$ac_compile"
   7235 case "(($ac_try" in
   7236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7237   *) ac_try_echo=$ac_try;;
   7238 esac
   7239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7240 $as_echo "$ac_try_echo") >&5
   7241   (eval "$ac_compile") 2>conftest.er1
   7242   ac_status=$?
   7243   grep -v '^ *+' conftest.er1 >conftest.err
   7244   rm -f conftest.er1
   7245   cat conftest.err >&5
   7246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7247   (exit $ac_status); } && {
   7248 	 test -z "$ac_c_werror_flag" ||
   7249 	 test ! -s conftest.err
   7250        } && test -s conftest.$ac_objext; then
   7251   ac_cv_c_bigendian=yes
   7252 else
   7253   $as_echo "$as_me: failed program was:" >&5
   7254 sed 's/^/| /' conftest.$ac_ext >&5
   7255 
   7256 	ac_cv_c_bigendian=no
   7257 fi
   7258 
   7259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7260 else
   7261   $as_echo "$as_me: failed program was:" >&5
   7262 sed 's/^/| /' conftest.$ac_ext >&5
   7263 
   7264 
   7265 fi
   7266 
   7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7268     fi
   7269     if test $ac_cv_c_bigendian = unknown; then
   7270       # Compile a test program.
   7271       if test "$cross_compiling" = yes; then
   7272   # Try to guess by grepping values from an object file.
   7273 	 cat >conftest.$ac_ext <<_ACEOF
   7274 /* confdefs.h.  */
   7275 _ACEOF
   7276 cat confdefs.h >>conftest.$ac_ext
   7277 cat >>conftest.$ac_ext <<_ACEOF
   7278 /* end confdefs.h.  */
   7279 short int ascii_mm[] =
   7280 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   7281 		short int ascii_ii[] =
   7282 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   7283 		int use_ascii (int i) {
   7284 		  return ascii_mm[i] + ascii_ii[i];
   7285 		}
   7286 		short int ebcdic_ii[] =
   7287 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   7288 		short int ebcdic_mm[] =
   7289 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   7290 		int use_ebcdic (int i) {
   7291 		  return ebcdic_mm[i] + ebcdic_ii[i];
   7292 		}
   7293 		extern int foo;
   7294 
   7295 int
   7296 main ()
   7297 {
   7298 return use_ascii (foo) == use_ebcdic (foo);
   7299   ;
   7300   return 0;
   7301 }
   7302 _ACEOF
   7303 rm -f conftest.$ac_objext
   7304 if { (ac_try="$ac_compile"
   7305 case "(($ac_try" in
   7306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7307   *) ac_try_echo=$ac_try;;
   7308 esac
   7309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7310 $as_echo "$ac_try_echo") >&5
   7311   (eval "$ac_compile") 2>conftest.er1
   7312   ac_status=$?
   7313   grep -v '^ *+' conftest.er1 >conftest.err
   7314   rm -f conftest.er1
   7315   cat conftest.err >&5
   7316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7317   (exit $ac_status); } && {
   7318 	 test -z "$ac_c_werror_flag" ||
   7319 	 test ! -s conftest.err
   7320        } && test -s conftest.$ac_objext; then
   7321   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   7322 	      ac_cv_c_bigendian=yes
   7323 	    fi
   7324 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   7325 	      if test "$ac_cv_c_bigendian" = unknown; then
   7326 		ac_cv_c_bigendian=no
   7327 	      else
   7328 		# finding both strings is unlikely to happen, but who knows?
   7329 		ac_cv_c_bigendian=unknown
   7330 	      fi
   7331 	    fi
   7332 else
   7333   $as_echo "$as_me: failed program was:" >&5
   7334 sed 's/^/| /' conftest.$ac_ext >&5
   7335 
   7336 
   7337 fi
   7338 
   7339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7340 else
   7341   cat >conftest.$ac_ext <<_ACEOF
   7342 /* confdefs.h.  */
   7343 _ACEOF
   7344 cat confdefs.h >>conftest.$ac_ext
   7345 cat >>conftest.$ac_ext <<_ACEOF
   7346 /* end confdefs.h.  */
   7347 $ac_includes_default
   7348 int
   7349 main ()
   7350 {
   7351 
   7352 	     /* Are we little or big endian?  From Harbison&Steele.  */
   7353 	     union
   7354 	     {
   7355 	       long int l;
   7356 	       char c[sizeof (long int)];
   7357 	     } u;
   7358 	     u.l = 1;
   7359 	     return u.c[sizeof (long int) - 1] == 1;
   7360 
   7361   ;
   7362   return 0;
   7363 }
   7364 _ACEOF
   7365 rm -f conftest$ac_exeext
   7366 if { (ac_try="$ac_link"
   7367 case "(($ac_try" in
   7368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7369   *) ac_try_echo=$ac_try;;
   7370 esac
   7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7372 $as_echo "$ac_try_echo") >&5
   7373   (eval "$ac_link") 2>&5
   7374   ac_status=$?
   7375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7376   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7377   { (case "(($ac_try" in
   7378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7379   *) ac_try_echo=$ac_try;;
   7380 esac
   7381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7382 $as_echo "$ac_try_echo") >&5
   7383   (eval "$ac_try") 2>&5
   7384   ac_status=$?
   7385   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7386   (exit $ac_status); }; }; then
   7387   ac_cv_c_bigendian=no
   7388 else
   7389   $as_echo "$as_me: program exited with status $ac_status" >&5
   7390 $as_echo "$as_me: failed program was:" >&5
   7391 sed 's/^/| /' conftest.$ac_ext >&5
   7392 
   7393 ( exit $ac_status )
   7394 ac_cv_c_bigendian=yes
   7395 fi
   7396 rm -rf conftest.dSYM
   7397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7398 fi
   7399 
   7400 
   7401     fi
   7402 fi
   7403 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
   7404 $as_echo "$ac_cv_c_bigendian" >&6; }
   7405  case $ac_cv_c_bigendian in #(
   7406    yes)
   7407      cat >>confdefs.h <<\_ACEOF
   7408 #define WORDS_BIGENDIAN 1
   7409 _ACEOF
   7410 ;; #(
   7411    no)
   7412       ;; #(
   7413    universal)
   7414 
   7415 cat >>confdefs.h <<\_ACEOF
   7416 #define AC_APPLE_UNIVERSAL_BUILD 1
   7417 _ACEOF
   7418 
   7419      ;; #(
   7420    *)
   7421      { { $as_echo "$as_me:$LINENO: error: unknown endianness
   7422  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
   7423 $as_echo "$as_me: error: unknown endianness
   7424  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   7425    { (exit 1); exit 1; }; } ;;
   7426  esac
   7427 
   7428 if test $ac_cv_c_bigendian = no; then
   7429 U_IS_BIG_ENDIAN=0
   7430 U_ENDIAN_CHAR="l"
   7431 else
   7432 U_IS_BIG_ENDIAN=1
   7433 U_ENDIAN_CHAR="b"
   7434 fi
   7435 
   7436 
   7437 # Do various POSIX related checks
   7438 U_HAVE_NL_LANGINFO_CODESET=0
   7439 U_NL_LANGINFO_CODESET=-1
   7440 { $as_echo "$as_me:$LINENO: checking for nl_langinfo" >&5
   7441 $as_echo_n "checking for nl_langinfo... " >&6; }
   7442 if test "${ac_cv_func_nl_langinfo+set}" = set; then
   7443   $as_echo_n "(cached) " >&6
   7444 else
   7445   cat >conftest.$ac_ext <<_ACEOF
   7446 /* confdefs.h.  */
   7447 _ACEOF
   7448 cat confdefs.h >>conftest.$ac_ext
   7449 cat >>conftest.$ac_ext <<_ACEOF
   7450 /* end confdefs.h.  */
   7451 /* Define nl_langinfo to an innocuous variant, in case <limits.h> declares nl_langinfo.
   7452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7453 #define nl_langinfo innocuous_nl_langinfo
   7454 
   7455 /* System header to define __stub macros and hopefully few prototypes,
   7456     which can conflict with char nl_langinfo (); below.
   7457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7458     <limits.h> exists even on freestanding compilers.  */
   7459 
   7460 #ifdef __STDC__
   7461 # include <limits.h>
   7462 #else
   7463 # include <assert.h>
   7464 #endif
   7465 
   7466 #undef nl_langinfo
   7467 
   7468 /* Override any GCC internal prototype to avoid an error.
   7469    Use char because int might match the return type of a GCC
   7470    builtin and then its argument prototype would still apply.  */
   7471 #ifdef __cplusplus
   7472 extern "C"
   7473 #endif
   7474 char nl_langinfo ();
   7475 /* The GNU C library defines this for functions which it implements
   7476     to always fail with ENOSYS.  Some functions are actually named
   7477     something starting with __ and the normal name is an alias.  */
   7478 #if defined __stub_nl_langinfo || defined __stub___nl_langinfo
   7479 choke me
   7480 #endif
   7481 
   7482 int
   7483 main ()
   7484 {
   7485 return nl_langinfo ();
   7486   ;
   7487   return 0;
   7488 }
   7489 _ACEOF
   7490 rm -f conftest.$ac_objext conftest$ac_exeext
   7491 if { (ac_try="$ac_link"
   7492 case "(($ac_try" in
   7493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7494   *) ac_try_echo=$ac_try;;
   7495 esac
   7496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7497 $as_echo "$ac_try_echo") >&5
   7498   (eval "$ac_link") 2>conftest.er1
   7499   ac_status=$?
   7500   grep -v '^ *+' conftest.er1 >conftest.err
   7501   rm -f conftest.er1
   7502   cat conftest.err >&5
   7503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7504   (exit $ac_status); } && {
   7505 	 test -z "$ac_c_werror_flag" ||
   7506 	 test ! -s conftest.err
   7507        } && test -s conftest$ac_exeext && {
   7508 	 test "$cross_compiling" = yes ||
   7509 	 $as_test_x conftest$ac_exeext
   7510        }; then
   7511   ac_cv_func_nl_langinfo=yes
   7512 else
   7513   $as_echo "$as_me: failed program was:" >&5
   7514 sed 's/^/| /' conftest.$ac_ext >&5
   7515 
   7516 	ac_cv_func_nl_langinfo=no
   7517 fi
   7518 
   7519 rm -rf conftest.dSYM
   7520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7521       conftest$ac_exeext conftest.$ac_ext
   7522 fi
   7523 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
   7524 $as_echo "$ac_cv_func_nl_langinfo" >&6; }
   7525 if test "x$ac_cv_func_nl_langinfo" = x""yes; then
   7526   U_HAVE_NL_LANGINFO=1
   7527 else
   7528   U_HAVE_NL_LANGINFO=0
   7529 fi
   7530 
   7531 if test $U_HAVE_NL_LANGINFO -eq 1; then
   7532   { $as_echo "$as_me:$LINENO: checking for nl_langinfo's argument to obtain the codeset" >&5
   7533 $as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
   7534 if test "${ac_cv_nl_langinfo_codeset+set}" = set; then
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   ac_cv_nl_langinfo_codeset="unknown"
   7538   for a in CODESET _NL_CTYPE_CODESET_NAME; do
   7539   cat >conftest.$ac_ext <<_ACEOF
   7540 /* confdefs.h.  */
   7541 _ACEOF
   7542 cat confdefs.h >>conftest.$ac_ext
   7543 cat >>conftest.$ac_ext <<_ACEOF
   7544 /* end confdefs.h.  */
   7545 #include <langinfo.h>
   7546 int
   7547 main ()
   7548 {
   7549 nl_langinfo($a);
   7550   ;
   7551   return 0;
   7552 }
   7553 _ACEOF
   7554 rm -f conftest.$ac_objext conftest$ac_exeext
   7555 if { (ac_try="$ac_link"
   7556 case "(($ac_try" in
   7557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7558   *) ac_try_echo=$ac_try;;
   7559 esac
   7560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7561 $as_echo "$ac_try_echo") >&5
   7562   (eval "$ac_link") 2>conftest.er1
   7563   ac_status=$?
   7564   grep -v '^ *+' conftest.er1 >conftest.err
   7565   rm -f conftest.er1
   7566   cat conftest.err >&5
   7567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7568   (exit $ac_status); } && {
   7569 	 test -z "$ac_c_werror_flag" ||
   7570 	 test ! -s conftest.err
   7571        } && test -s conftest$ac_exeext && {
   7572 	 test "$cross_compiling" = yes ||
   7573 	 $as_test_x conftest$ac_exeext
   7574        }; then
   7575   ac_cv_nl_langinfo_codeset="$a"; break
   7576 else
   7577   $as_echo "$as_me: failed program was:" >&5
   7578 sed 's/^/| /' conftest.$ac_ext >&5
   7579 
   7580 
   7581 fi
   7582 
   7583 rm -rf conftest.dSYM
   7584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7585       conftest$ac_exeext conftest.$ac_ext
   7586   done
   7587 fi
   7588 { $as_echo "$as_me:$LINENO: result: $ac_cv_nl_langinfo_codeset" >&5
   7589 $as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
   7590   if test x$ac_cv_nl_langinfo_codeset != xunknown
   7591   then
   7592       U_HAVE_NL_LANGINFO_CODESET=1
   7593       U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset
   7594   fi
   7595 fi
   7596 
   7597 
   7598 
   7599 # Namespace support checks
   7600 ac_ext=cpp
   7601 ac_cpp='$CXXCPP $CPPFLAGS'
   7602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7605 
   7606 { $as_echo "$as_me:$LINENO: checking for namespace support" >&5
   7607 $as_echo_n "checking for namespace support... " >&6; }
   7608 if test "${ac_cv_namespace_ok+set}" = set; then
   7609   $as_echo_n "(cached) " >&6
   7610 else
   7611   cat >conftest.$ac_ext <<_ACEOF
   7612 /* confdefs.h.  */
   7613 _ACEOF
   7614 cat confdefs.h >>conftest.$ac_ext
   7615 cat >>conftest.$ac_ext <<_ACEOF
   7616 /* end confdefs.h.  */
   7617 namespace x_version {void f(){}}
   7618     namespace x = x_version;
   7619     using namespace x_version;
   7620 
   7621 int
   7622 main ()
   7623 {
   7624 f();
   7625   ;
   7626   return 0;
   7627 }
   7628 _ACEOF
   7629 rm -f conftest.$ac_objext conftest$ac_exeext
   7630 if { (ac_try="$ac_link"
   7631 case "(($ac_try" in
   7632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7633   *) ac_try_echo=$ac_try;;
   7634 esac
   7635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7636 $as_echo "$ac_try_echo") >&5
   7637   (eval "$ac_link") 2>conftest.er1
   7638   ac_status=$?
   7639   grep -v '^ *+' conftest.er1 >conftest.err
   7640   rm -f conftest.er1
   7641   cat conftest.err >&5
   7642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7643   (exit $ac_status); } && {
   7644 	 test -z "$ac_cxx_werror_flag" ||
   7645 	 test ! -s conftest.err
   7646        } && test -s conftest$ac_exeext && {
   7647 	 test "$cross_compiling" = yes ||
   7648 	 $as_test_x conftest$ac_exeext
   7649        }; then
   7650   ac_cv_namespace_ok=yes
   7651 else
   7652   $as_echo "$as_me: failed program was:" >&5
   7653 sed 's/^/| /' conftest.$ac_ext >&5
   7654 
   7655 	ac_cv_namespace_ok=no
   7656 fi
   7657 
   7658 rm -rf conftest.dSYM
   7659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7660       conftest$ac_exeext conftest.$ac_ext
   7661 fi
   7662 
   7663 { $as_echo "$as_me:$LINENO: result: $ac_cv_namespace_ok" >&5
   7664 $as_echo "$ac_cv_namespace_ok" >&6; }
   7665 U_HAVE_NAMESPACE=1
   7666 if test $ac_cv_namespace_ok = no
   7667 then
   7668     U_HAVE_NAMESPACE=0
   7669 fi
   7670 
   7671 
   7672 { $as_echo "$as_me:$LINENO: checking for properly overriding new and delete" >&5
   7673 $as_echo_n "checking for properly overriding new and delete... " >&6; }
   7674 U_OVERRIDE_CXX_ALLOCATION=0
   7675 U_HAVE_PLACEMENT_NEW=0
   7676 if test "${ac_cv_override_cxx_allocation_ok+set}" = set; then
   7677   $as_echo_n "(cached) " >&6
   7678 else
   7679   cat >conftest.$ac_ext <<_ACEOF
   7680 /* confdefs.h.  */
   7681 _ACEOF
   7682 cat confdefs.h >>conftest.$ac_ext
   7683 cat >>conftest.$ac_ext <<_ACEOF
   7684 /* end confdefs.h.  */
   7685 #include <stdlib.h>
   7686     class UMemory {
   7687     public:
   7688     void *operator new(size_t size) {return malloc(size);}
   7689     void *operator new[](size_t size) {return malloc(size);}
   7690     void operator delete(void *p) {free(p);}
   7691     void operator delete[](void *p) {free(p);}
   7692     };
   7693 
   7694 int
   7695 main ()
   7696 {
   7697 
   7698   ;
   7699   return 0;
   7700 }
   7701 _ACEOF
   7702 rm -f conftest.$ac_objext conftest$ac_exeext
   7703 if { (ac_try="$ac_link"
   7704 case "(($ac_try" in
   7705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7706   *) ac_try_echo=$ac_try;;
   7707 esac
   7708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7709 $as_echo "$ac_try_echo") >&5
   7710   (eval "$ac_link") 2>conftest.er1
   7711   ac_status=$?
   7712   grep -v '^ *+' conftest.er1 >conftest.err
   7713   rm -f conftest.er1
   7714   cat conftest.err >&5
   7715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7716   (exit $ac_status); } && {
   7717 	 test -z "$ac_cxx_werror_flag" ||
   7718 	 test ! -s conftest.err
   7719        } && test -s conftest$ac_exeext && {
   7720 	 test "$cross_compiling" = yes ||
   7721 	 $as_test_x conftest$ac_exeext
   7722        }; then
   7723   ac_cv_override_cxx_allocation_ok=yes
   7724 else
   7725   $as_echo "$as_me: failed program was:" >&5
   7726 sed 's/^/| /' conftest.$ac_ext >&5
   7727 
   7728 	ac_cv_override_cxx_allocation_ok=no
   7729 fi
   7730 
   7731 rm -rf conftest.dSYM
   7732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7733       conftest$ac_exeext conftest.$ac_ext
   7734 fi
   7735 
   7736 { $as_echo "$as_me:$LINENO: result: $ac_cv_override_cxx_allocation_ok" >&5
   7737 $as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
   7738 if test $ac_cv_override_cxx_allocation_ok = yes
   7739 then
   7740     U_OVERRIDE_CXX_ALLOCATION=1
   7741     { $as_echo "$as_me:$LINENO: checking for placement new and delete" >&5
   7742 $as_echo_n "checking for placement new and delete... " >&6; }
   7743     if test "${ac_cv_override_placement_new_ok+set}" = set; then
   7744   $as_echo_n "(cached) " >&6
   7745 else
   7746   cat >conftest.$ac_ext <<_ACEOF
   7747 /* confdefs.h.  */
   7748 _ACEOF
   7749 cat confdefs.h >>conftest.$ac_ext
   7750 cat >>conftest.$ac_ext <<_ACEOF
   7751 /* end confdefs.h.  */
   7752 #include <stdlib.h>
   7753         class UMemory {
   7754         public:
   7755         void *operator new(size_t size) {return malloc(size);}
   7756         void *operator new[](size_t size) {return malloc(size);}
   7757         void operator delete(void *p) {free(p);}
   7758         void operator delete[](void *p) {free(p);}
   7759         void * operator new(size_t, void *ptr) { return ptr; }
   7760         void operator delete(void *, void *) {}
   7761         };
   7762 
   7763 int
   7764 main ()
   7765 {
   7766 
   7767   ;
   7768   return 0;
   7769 }
   7770 _ACEOF
   7771 rm -f conftest.$ac_objext conftest$ac_exeext
   7772 if { (ac_try="$ac_link"
   7773 case "(($ac_try" in
   7774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7775   *) ac_try_echo=$ac_try;;
   7776 esac
   7777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7778 $as_echo "$ac_try_echo") >&5
   7779   (eval "$ac_link") 2>conftest.er1
   7780   ac_status=$?
   7781   grep -v '^ *+' conftest.er1 >conftest.err
   7782   rm -f conftest.er1
   7783   cat conftest.err >&5
   7784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7785   (exit $ac_status); } && {
   7786 	 test -z "$ac_cxx_werror_flag" ||
   7787 	 test ! -s conftest.err
   7788        } && test -s conftest$ac_exeext && {
   7789 	 test "$cross_compiling" = yes ||
   7790 	 $as_test_x conftest$ac_exeext
   7791        }; then
   7792   ac_cv_override_placement_new_ok=yes
   7793 else
   7794   $as_echo "$as_me: failed program was:" >&5
   7795 sed 's/^/| /' conftest.$ac_ext >&5
   7796 
   7797 	ac_cv_override_placement_new_ok=no
   7798 fi
   7799 
   7800 rm -rf conftest.dSYM
   7801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7802       conftest$ac_exeext conftest.$ac_ext
   7803 fi
   7804 
   7805     { $as_echo "$as_me:$LINENO: result: $ac_cv_override_placement_new_ok" >&5
   7806 $as_echo "$ac_cv_override_placement_new_ok" >&6; }
   7807     if test $ac_cv_override_placement_new_ok = yes
   7808     then
   7809         U_HAVE_PLACEMENT_NEW=1
   7810     fi
   7811 fi
   7812 
   7813 
   7814 
   7815 ac_ext=c
   7816 ac_cpp='$CPP $CPPFLAGS'
   7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7820 
   7821 { $as_echo "$as_me:$LINENO: checking for popen" >&5
   7822 $as_echo_n "checking for popen... " >&6; }
   7823 if test "${ac_cv_func_popen+set}" = set; then
   7824   $as_echo_n "(cached) " >&6
   7825 else
   7826   cat >conftest.$ac_ext <<_ACEOF
   7827 /* confdefs.h.  */
   7828 _ACEOF
   7829 cat confdefs.h >>conftest.$ac_ext
   7830 cat >>conftest.$ac_ext <<_ACEOF
   7831 /* end confdefs.h.  */
   7832 /* Define popen to an innocuous variant, in case <limits.h> declares popen.
   7833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7834 #define popen innocuous_popen
   7835 
   7836 /* System header to define __stub macros and hopefully few prototypes,
   7837     which can conflict with char popen (); below.
   7838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7839     <limits.h> exists even on freestanding compilers.  */
   7840 
   7841 #ifdef __STDC__
   7842 # include <limits.h>
   7843 #else
   7844 # include <assert.h>
   7845 #endif
   7846 
   7847 #undef popen
   7848 
   7849 /* Override any GCC internal prototype to avoid an error.
   7850    Use char because int might match the return type of a GCC
   7851    builtin and then its argument prototype would still apply.  */
   7852 #ifdef __cplusplus
   7853 extern "C"
   7854 #endif
   7855 char popen ();
   7856 /* The GNU C library defines this for functions which it implements
   7857     to always fail with ENOSYS.  Some functions are actually named
   7858     something starting with __ and the normal name is an alias.  */
   7859 #if defined __stub_popen || defined __stub___popen
   7860 choke me
   7861 #endif
   7862 
   7863 int
   7864 main ()
   7865 {
   7866 return popen ();
   7867   ;
   7868   return 0;
   7869 }
   7870 _ACEOF
   7871 rm -f conftest.$ac_objext conftest$ac_exeext
   7872 if { (ac_try="$ac_link"
   7873 case "(($ac_try" in
   7874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7875   *) ac_try_echo=$ac_try;;
   7876 esac
   7877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7878 $as_echo "$ac_try_echo") >&5
   7879   (eval "$ac_link") 2>conftest.er1
   7880   ac_status=$?
   7881   grep -v '^ *+' conftest.er1 >conftest.err
   7882   rm -f conftest.er1
   7883   cat conftest.err >&5
   7884   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7885   (exit $ac_status); } && {
   7886 	 test -z "$ac_c_werror_flag" ||
   7887 	 test ! -s conftest.err
   7888        } && test -s conftest$ac_exeext && {
   7889 	 test "$cross_compiling" = yes ||
   7890 	 $as_test_x conftest$ac_exeext
   7891        }; then
   7892   ac_cv_func_popen=yes
   7893 else
   7894   $as_echo "$as_me: failed program was:" >&5
   7895 sed 's/^/| /' conftest.$ac_ext >&5
   7896 
   7897 	ac_cv_func_popen=no
   7898 fi
   7899 
   7900 rm -rf conftest.dSYM
   7901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7902       conftest$ac_exeext conftest.$ac_ext
   7903 fi
   7904 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_popen" >&5
   7905 $as_echo "$ac_cv_func_popen" >&6; }
   7906 
   7907 if test x$ac_cv_func_popen = xyes
   7908 then
   7909      U_HAVE_POPEN=1
   7910 else
   7911      U_HAVE_POPEN=0
   7912 fi
   7913 
   7914 
   7915 { $as_echo "$as_me:$LINENO: checking for tzset" >&5
   7916 $as_echo_n "checking for tzset... " >&6; }
   7917 if test "${ac_cv_func_tzset+set}" = set; then
   7918   $as_echo_n "(cached) " >&6
   7919 else
   7920   cat >conftest.$ac_ext <<_ACEOF
   7921 /* confdefs.h.  */
   7922 _ACEOF
   7923 cat confdefs.h >>conftest.$ac_ext
   7924 cat >>conftest.$ac_ext <<_ACEOF
   7925 /* end confdefs.h.  */
   7926 /* Define tzset to an innocuous variant, in case <limits.h> declares tzset.
   7927    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7928 #define tzset innocuous_tzset
   7929 
   7930 /* System header to define __stub macros and hopefully few prototypes,
   7931     which can conflict with char tzset (); below.
   7932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7933     <limits.h> exists even on freestanding compilers.  */
   7934 
   7935 #ifdef __STDC__
   7936 # include <limits.h>
   7937 #else
   7938 # include <assert.h>
   7939 #endif
   7940 
   7941 #undef tzset
   7942 
   7943 /* Override any GCC internal prototype to avoid an error.
   7944    Use char because int might match the return type of a GCC
   7945    builtin and then its argument prototype would still apply.  */
   7946 #ifdef __cplusplus
   7947 extern "C"
   7948 #endif
   7949 char tzset ();
   7950 /* The GNU C library defines this for functions which it implements
   7951     to always fail with ENOSYS.  Some functions are actually named
   7952     something starting with __ and the normal name is an alias.  */
   7953 #if defined __stub_tzset || defined __stub___tzset
   7954 choke me
   7955 #endif
   7956 
   7957 int
   7958 main ()
   7959 {
   7960 return tzset ();
   7961   ;
   7962   return 0;
   7963 }
   7964 _ACEOF
   7965 rm -f conftest.$ac_objext conftest$ac_exeext
   7966 if { (ac_try="$ac_link"
   7967 case "(($ac_try" in
   7968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7969   *) ac_try_echo=$ac_try;;
   7970 esac
   7971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7972 $as_echo "$ac_try_echo") >&5
   7973   (eval "$ac_link") 2>conftest.er1
   7974   ac_status=$?
   7975   grep -v '^ *+' conftest.er1 >conftest.err
   7976   rm -f conftest.er1
   7977   cat conftest.err >&5
   7978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7979   (exit $ac_status); } && {
   7980 	 test -z "$ac_c_werror_flag" ||
   7981 	 test ! -s conftest.err
   7982        } && test -s conftest$ac_exeext && {
   7983 	 test "$cross_compiling" = yes ||
   7984 	 $as_test_x conftest$ac_exeext
   7985        }; then
   7986   ac_cv_func_tzset=yes
   7987 else
   7988   $as_echo "$as_me: failed program was:" >&5
   7989 sed 's/^/| /' conftest.$ac_ext >&5
   7990 
   7991 	ac_cv_func_tzset=no
   7992 fi
   7993 
   7994 rm -rf conftest.dSYM
   7995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7996       conftest$ac_exeext conftest.$ac_ext
   7997 fi
   7998 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_tzset" >&5
   7999 $as_echo "$ac_cv_func_tzset" >&6; }
   8000 
   8001 U_HAVE_TZSET=0
   8002 if test x$ac_cv_func_tzset = xyes
   8003 then
   8004     U_TZSET=tzset
   8005     U_HAVE_TZSET=1
   8006 else
   8007     { $as_echo "$as_me:$LINENO: checking for _tzset" >&5
   8008 $as_echo_n "checking for _tzset... " >&6; }
   8009 if test "${ac_cv_func__tzset+set}" = set; then
   8010   $as_echo_n "(cached) " >&6
   8011 else
   8012   cat >conftest.$ac_ext <<_ACEOF
   8013 /* confdefs.h.  */
   8014 _ACEOF
   8015 cat confdefs.h >>conftest.$ac_ext
   8016 cat >>conftest.$ac_ext <<_ACEOF
   8017 /* end confdefs.h.  */
   8018 /* Define _tzset to an innocuous variant, in case <limits.h> declares _tzset.
   8019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8020 #define _tzset innocuous__tzset
   8021 
   8022 /* System header to define __stub macros and hopefully few prototypes,
   8023     which can conflict with char _tzset (); below.
   8024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8025     <limits.h> exists even on freestanding compilers.  */
   8026 
   8027 #ifdef __STDC__
   8028 # include <limits.h>
   8029 #else
   8030 # include <assert.h>
   8031 #endif
   8032 
   8033 #undef _tzset
   8034 
   8035 /* Override any GCC internal prototype to avoid an error.
   8036    Use char because int might match the return type of a GCC
   8037    builtin and then its argument prototype would still apply.  */
   8038 #ifdef __cplusplus
   8039 extern "C"
   8040 #endif
   8041 char _tzset ();
   8042 /* The GNU C library defines this for functions which it implements
   8043     to always fail with ENOSYS.  Some functions are actually named
   8044     something starting with __ and the normal name is an alias.  */
   8045 #if defined __stub__tzset || defined __stub____tzset
   8046 choke me
   8047 #endif
   8048 
   8049 int
   8050 main ()
   8051 {
   8052 return _tzset ();
   8053   ;
   8054   return 0;
   8055 }
   8056 _ACEOF
   8057 rm -f conftest.$ac_objext conftest$ac_exeext
   8058 if { (ac_try="$ac_link"
   8059 case "(($ac_try" in
   8060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8061   *) ac_try_echo=$ac_try;;
   8062 esac
   8063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8064 $as_echo "$ac_try_echo") >&5
   8065   (eval "$ac_link") 2>conftest.er1
   8066   ac_status=$?
   8067   grep -v '^ *+' conftest.er1 >conftest.err
   8068   rm -f conftest.er1
   8069   cat conftest.err >&5
   8070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8071   (exit $ac_status); } && {
   8072 	 test -z "$ac_c_werror_flag" ||
   8073 	 test ! -s conftest.err
   8074        } && test -s conftest$ac_exeext && {
   8075 	 test "$cross_compiling" = yes ||
   8076 	 $as_test_x conftest$ac_exeext
   8077        }; then
   8078   ac_cv_func__tzset=yes
   8079 else
   8080   $as_echo "$as_me: failed program was:" >&5
   8081 sed 's/^/| /' conftest.$ac_ext >&5
   8082 
   8083 	ac_cv_func__tzset=no
   8084 fi
   8085 
   8086 rm -rf conftest.dSYM
   8087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8088       conftest$ac_exeext conftest.$ac_ext
   8089 fi
   8090 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__tzset" >&5
   8091 $as_echo "$ac_cv_func__tzset" >&6; }
   8092 
   8093     if test x$ac_cv_func__tzset = xyes
   8094     then
   8095         U_TZSET=_tzset
   8096         U_HAVE_TZSET=1
   8097     fi
   8098 fi
   8099 
   8100 
   8101 
   8102 U_HAVE_TZNAME=0
   8103 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
   8104 $as_echo_n "checking for tzname... " >&6; }
   8105 if test "${ac_cv_var_tzname+set}" = set; then
   8106   $as_echo_n "(cached) " >&6
   8107 else
   8108   cat >conftest.$ac_ext <<_ACEOF
   8109 /* confdefs.h.  */
   8110 _ACEOF
   8111 cat confdefs.h >>conftest.$ac_ext
   8112 cat >>conftest.$ac_ext <<_ACEOF
   8113 /* end confdefs.h.  */
   8114 #ifndef __USE_POSIX
   8115 #define __USE_POSIX
   8116 #endif
   8117 #include <stdlib.h>
   8118 #include <time.h>
   8119 #ifndef tzname /* For SGI.  */
   8120 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
   8121 #endif
   8122 int
   8123 main ()
   8124 {
   8125 atoi(*tzname);
   8126   ;
   8127   return 0;
   8128 }
   8129 _ACEOF
   8130 rm -f conftest.$ac_objext conftest$ac_exeext
   8131 if { (ac_try="$ac_link"
   8132 case "(($ac_try" in
   8133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8134   *) ac_try_echo=$ac_try;;
   8135 esac
   8136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8137 $as_echo "$ac_try_echo") >&5
   8138   (eval "$ac_link") 2>conftest.er1
   8139   ac_status=$?
   8140   grep -v '^ *+' conftest.er1 >conftest.err
   8141   rm -f conftest.er1
   8142   cat conftest.err >&5
   8143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8144   (exit $ac_status); } && {
   8145 	 test -z "$ac_c_werror_flag" ||
   8146 	 test ! -s conftest.err
   8147        } && test -s conftest$ac_exeext && {
   8148 	 test "$cross_compiling" = yes ||
   8149 	 $as_test_x conftest$ac_exeext
   8150        }; then
   8151   ac_cv_var_tzname=yes
   8152 else
   8153   $as_echo "$as_me: failed program was:" >&5
   8154 sed 's/^/| /' conftest.$ac_ext >&5
   8155 
   8156 	ac_cv_var_tzname=no
   8157 fi
   8158 
   8159 rm -rf conftest.dSYM
   8160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8161       conftest$ac_exeext conftest.$ac_ext
   8162 fi
   8163 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
   8164 $as_echo "$ac_cv_var_tzname" >&6; }
   8165 if test $ac_cv_var_tzname = yes; then
   8166   U_TZNAME=tzname
   8167   U_HAVE_TZNAME=1
   8168 else
   8169   { $as_echo "$as_me:$LINENO: checking for _tzname" >&5
   8170 $as_echo_n "checking for _tzname... " >&6; }
   8171 if test "${ac_cv_var__tzname+set}" = set; then
   8172   $as_echo_n "(cached) " >&6
   8173 else
   8174   cat >conftest.$ac_ext <<_ACEOF
   8175 /* confdefs.h.  */
   8176 _ACEOF
   8177 cat confdefs.h >>conftest.$ac_ext
   8178 cat >>conftest.$ac_ext <<_ACEOF
   8179 /* end confdefs.h.  */
   8180 #include <stdlib.h>
   8181   #include <time.h>
   8182   extern char *_tzname[];
   8183 int
   8184 main ()
   8185 {
   8186 atoi(*_tzname);
   8187   ;
   8188   return 0;
   8189 }
   8190 _ACEOF
   8191 rm -f conftest.$ac_objext conftest$ac_exeext
   8192 if { (ac_try="$ac_link"
   8193 case "(($ac_try" in
   8194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8195   *) ac_try_echo=$ac_try;;
   8196 esac
   8197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8198 $as_echo "$ac_try_echo") >&5
   8199   (eval "$ac_link") 2>conftest.er1
   8200   ac_status=$?
   8201   grep -v '^ *+' conftest.er1 >conftest.err
   8202   rm -f conftest.er1
   8203   cat conftest.err >&5
   8204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8205   (exit $ac_status); } && {
   8206 	 test -z "$ac_c_werror_flag" ||
   8207 	 test ! -s conftest.err
   8208        } && test -s conftest$ac_exeext && {
   8209 	 test "$cross_compiling" = yes ||
   8210 	 $as_test_x conftest$ac_exeext
   8211        }; then
   8212   ac_cv_var__tzname=yes
   8213 else
   8214   $as_echo "$as_me: failed program was:" >&5
   8215 sed 's/^/| /' conftest.$ac_ext >&5
   8216 
   8217 	ac_cv_var__tzname=no
   8218 fi
   8219 
   8220 rm -rf conftest.dSYM
   8221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8222       conftest$ac_exeext conftest.$ac_ext
   8223 fi
   8224 { $as_echo "$as_me:$LINENO: result: $ac_cv_var__tzname" >&5
   8225 $as_echo "$ac_cv_var__tzname" >&6; }
   8226     if test $ac_cv_var__tzname = yes; then
   8227       U_TZNAME=_tzname
   8228       U_HAVE_TZNAME=1
   8229     fi
   8230 fi
   8231 
   8232 
   8233 
   8234 { $as_echo "$as_me:$LINENO: checking for timezone" >&5
   8235 $as_echo_n "checking for timezone... " >&6; }
   8236 if test "${ac_cv_var_timezone+set}" = set; then
   8237   $as_echo_n "(cached) " >&6
   8238 else
   8239   cat >conftest.$ac_ext <<_ACEOF
   8240 /* confdefs.h.  */
   8241 _ACEOF
   8242 cat confdefs.h >>conftest.$ac_ext
   8243 cat >>conftest.$ac_ext <<_ACEOF
   8244 /* end confdefs.h.  */
   8245 #ifndef __USE_POSIX
   8246 #define __USE_POSIX
   8247 #endif
   8248 #ifndef __USE_XOPEN
   8249 #define __USE_XOPEN
   8250 #endif
   8251 #include <time.h>
   8252 
   8253 int
   8254 main ()
   8255 {
   8256 timezone = 1;
   8257   ;
   8258   return 0;
   8259 }
   8260 _ACEOF
   8261 rm -f conftest.$ac_objext conftest$ac_exeext
   8262 if { (ac_try="$ac_link"
   8263 case "(($ac_try" in
   8264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8265   *) ac_try_echo=$ac_try;;
   8266 esac
   8267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8268 $as_echo "$ac_try_echo") >&5
   8269   (eval "$ac_link") 2>conftest.er1
   8270   ac_status=$?
   8271   grep -v '^ *+' conftest.er1 >conftest.err
   8272   rm -f conftest.er1
   8273   cat conftest.err >&5
   8274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8275   (exit $ac_status); } && {
   8276 	 test -z "$ac_c_werror_flag" ||
   8277 	 test ! -s conftest.err
   8278        } && test -s conftest$ac_exeext && {
   8279 	 test "$cross_compiling" = yes ||
   8280 	 $as_test_x conftest$ac_exeext
   8281        }; then
   8282   ac_cv_var_timezone=yes
   8283 else
   8284   $as_echo "$as_me: failed program was:" >&5
   8285 sed 's/^/| /' conftest.$ac_ext >&5
   8286 
   8287 	ac_cv_var_timezone=no
   8288 fi
   8289 
   8290 rm -rf conftest.dSYM
   8291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8292       conftest$ac_exeext conftest.$ac_ext
   8293 fi
   8294 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5
   8295 $as_echo "$ac_cv_var_timezone" >&6; }
   8296 U_HAVE_TIMEZONE=0
   8297 if test $ac_cv_var_timezone = yes; then
   8298   U_TIMEZONE=timezone
   8299   U_HAVE_TIMEZONE=1
   8300 else
   8301   { $as_echo "$as_me:$LINENO: checking for __timezone" >&5
   8302 $as_echo_n "checking for __timezone... " >&6; }
   8303 if test "${ac_cv_var___timezone+set}" = set; then
   8304   $as_echo_n "(cached) " >&6
   8305 else
   8306   cat >conftest.$ac_ext <<_ACEOF
   8307 /* confdefs.h.  */
   8308 _ACEOF
   8309 cat confdefs.h >>conftest.$ac_ext
   8310 cat >>conftest.$ac_ext <<_ACEOF
   8311 /* end confdefs.h.  */
   8312 #include <time.h>
   8313 int
   8314 main ()
   8315 {
   8316 __timezone = 1;
   8317   ;
   8318   return 0;
   8319 }
   8320 _ACEOF
   8321 rm -f conftest.$ac_objext conftest$ac_exeext
   8322 if { (ac_try="$ac_link"
   8323 case "(($ac_try" in
   8324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8325   *) ac_try_echo=$ac_try;;
   8326 esac
   8327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8328 $as_echo "$ac_try_echo") >&5
   8329   (eval "$ac_link") 2>conftest.er1
   8330   ac_status=$?
   8331   grep -v '^ *+' conftest.er1 >conftest.err
   8332   rm -f conftest.er1
   8333   cat conftest.err >&5
   8334   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8335   (exit $ac_status); } && {
   8336 	 test -z "$ac_c_werror_flag" ||
   8337 	 test ! -s conftest.err
   8338        } && test -s conftest$ac_exeext && {
   8339 	 test "$cross_compiling" = yes ||
   8340 	 $as_test_x conftest$ac_exeext
   8341        }; then
   8342   ac_cv_var___timezone=yes
   8343 else
   8344   $as_echo "$as_me: failed program was:" >&5
   8345 sed 's/^/| /' conftest.$ac_ext >&5
   8346 
   8347 	ac_cv_var___timezone=no
   8348 fi
   8349 
   8350 rm -rf conftest.dSYM
   8351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8352       conftest$ac_exeext conftest.$ac_ext
   8353 fi
   8354 { $as_echo "$as_me:$LINENO: result: $ac_cv_var___timezone" >&5
   8355 $as_echo "$ac_cv_var___timezone" >&6; }
   8356   if test $ac_cv_var___timezone = yes; then
   8357     U_TIMEZONE=__timezone
   8358     U_HAVE_TIMEZONE=1
   8359   else
   8360     { $as_echo "$as_me:$LINENO: checking for _timezone" >&5
   8361 $as_echo_n "checking for _timezone... " >&6; }
   8362 if test "${ac_cv_var__timezone+set}" = set; then
   8363   $as_echo_n "(cached) " >&6
   8364 else
   8365   cat >conftest.$ac_ext <<_ACEOF
   8366 /* confdefs.h.  */
   8367 _ACEOF
   8368 cat confdefs.h >>conftest.$ac_ext
   8369 cat >>conftest.$ac_ext <<_ACEOF
   8370 /* end confdefs.h.  */
   8371 #include <time.h>
   8372 int
   8373 main ()
   8374 {
   8375 _timezone = 1;
   8376   ;
   8377   return 0;
   8378 }
   8379 _ACEOF
   8380 rm -f conftest.$ac_objext conftest$ac_exeext
   8381 if { (ac_try="$ac_link"
   8382 case "(($ac_try" in
   8383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8384   *) ac_try_echo=$ac_try;;
   8385 esac
   8386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8387 $as_echo "$ac_try_echo") >&5
   8388   (eval "$ac_link") 2>conftest.er1
   8389   ac_status=$?
   8390   grep -v '^ *+' conftest.er1 >conftest.err
   8391   rm -f conftest.er1
   8392   cat conftest.err >&5
   8393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8394   (exit $ac_status); } && {
   8395 	 test -z "$ac_c_werror_flag" ||
   8396 	 test ! -s conftest.err
   8397        } && test -s conftest$ac_exeext && {
   8398 	 test "$cross_compiling" = yes ||
   8399 	 $as_test_x conftest$ac_exeext
   8400        }; then
   8401   ac_cv_var__timezone=yes
   8402 else
   8403   $as_echo "$as_me: failed program was:" >&5
   8404 sed 's/^/| /' conftest.$ac_ext >&5
   8405 
   8406 	ac_cv_var__timezone=no
   8407 fi
   8408 
   8409 rm -rf conftest.dSYM
   8410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8411       conftest$ac_exeext conftest.$ac_ext
   8412 fi
   8413 { $as_echo "$as_me:$LINENO: result: $ac_cv_var__timezone" >&5
   8414 $as_echo "$ac_cv_var__timezone" >&6; }
   8415     if test $ac_cv_var__timezone = yes; then
   8416       U_TIMEZONE=_timezone
   8417       U_HAVE_TIMEZONE=1
   8418     fi
   8419   fi
   8420 fi
   8421 
   8422 
   8423 
   8424 # Checks for typedefs
   8425 { $as_echo "$as_me:$LINENO: checking for int8_t" >&5
   8426 $as_echo_n "checking for int8_t... " >&6; }
   8427 if test "${ac_cv_type_int8_t+set}" = set; then
   8428   $as_echo_n "(cached) " >&6
   8429 else
   8430   ac_cv_type_int8_t=no
   8431 cat >conftest.$ac_ext <<_ACEOF
   8432 /* confdefs.h.  */
   8433 _ACEOF
   8434 cat confdefs.h >>conftest.$ac_ext
   8435 cat >>conftest.$ac_ext <<_ACEOF
   8436 /* end confdefs.h.  */
   8437 $ac_includes_default
   8438 int
   8439 main ()
   8440 {
   8441 if (sizeof (int8_t))
   8442        return 0;
   8443   ;
   8444   return 0;
   8445 }
   8446 _ACEOF
   8447 rm -f conftest.$ac_objext
   8448 if { (ac_try="$ac_compile"
   8449 case "(($ac_try" in
   8450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8451   *) ac_try_echo=$ac_try;;
   8452 esac
   8453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8454 $as_echo "$ac_try_echo") >&5
   8455   (eval "$ac_compile") 2>conftest.er1
   8456   ac_status=$?
   8457   grep -v '^ *+' conftest.er1 >conftest.err
   8458   rm -f conftest.er1
   8459   cat conftest.err >&5
   8460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8461   (exit $ac_status); } && {
   8462 	 test -z "$ac_c_werror_flag" ||
   8463 	 test ! -s conftest.err
   8464        } && test -s conftest.$ac_objext; then
   8465   cat >conftest.$ac_ext <<_ACEOF
   8466 /* confdefs.h.  */
   8467 _ACEOF
   8468 cat confdefs.h >>conftest.$ac_ext
   8469 cat >>conftest.$ac_ext <<_ACEOF
   8470 /* end confdefs.h.  */
   8471 $ac_includes_default
   8472 int
   8473 main ()
   8474 {
   8475 if (sizeof ((int8_t)))
   8476 	  return 0;
   8477   ;
   8478   return 0;
   8479 }
   8480 _ACEOF
   8481 rm -f conftest.$ac_objext
   8482 if { (ac_try="$ac_compile"
   8483 case "(($ac_try" in
   8484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8485   *) ac_try_echo=$ac_try;;
   8486 esac
   8487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8488 $as_echo "$ac_try_echo") >&5
   8489   (eval "$ac_compile") 2>conftest.er1
   8490   ac_status=$?
   8491   grep -v '^ *+' conftest.er1 >conftest.err
   8492   rm -f conftest.er1
   8493   cat conftest.err >&5
   8494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8495   (exit $ac_status); } && {
   8496 	 test -z "$ac_c_werror_flag" ||
   8497 	 test ! -s conftest.err
   8498        } && test -s conftest.$ac_objext; then
   8499   :
   8500 else
   8501   $as_echo "$as_me: failed program was:" >&5
   8502 sed 's/^/| /' conftest.$ac_ext >&5
   8503 
   8504 	ac_cv_type_int8_t=yes
   8505 fi
   8506 
   8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8508 else
   8509   $as_echo "$as_me: failed program was:" >&5
   8510 sed 's/^/| /' conftest.$ac_ext >&5
   8511 
   8512 
   8513 fi
   8514 
   8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8516 fi
   8517 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
   8518 $as_echo "$ac_cv_type_int8_t" >&6; }
   8519 if test "x$ac_cv_type_int8_t" = x""yes; then
   8520   :
   8521 else
   8522 
   8523 cat >>confdefs.h <<_ACEOF
   8524 #define int8_t signed char
   8525 _ACEOF
   8526 
   8527 fi
   8528 
   8529 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
   8530 $as_echo_n "checking for uint8_t... " >&6; }
   8531 if test "${ac_cv_type_uint8_t+set}" = set; then
   8532   $as_echo_n "(cached) " >&6
   8533 else
   8534   ac_cv_type_uint8_t=no
   8535 cat >conftest.$ac_ext <<_ACEOF
   8536 /* confdefs.h.  */
   8537 _ACEOF
   8538 cat confdefs.h >>conftest.$ac_ext
   8539 cat >>conftest.$ac_ext <<_ACEOF
   8540 /* end confdefs.h.  */
   8541 $ac_includes_default
   8542 int
   8543 main ()
   8544 {
   8545 if (sizeof (uint8_t))
   8546        return 0;
   8547   ;
   8548   return 0;
   8549 }
   8550 _ACEOF
   8551 rm -f conftest.$ac_objext
   8552 if { (ac_try="$ac_compile"
   8553 case "(($ac_try" in
   8554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8555   *) ac_try_echo=$ac_try;;
   8556 esac
   8557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8558 $as_echo "$ac_try_echo") >&5
   8559   (eval "$ac_compile") 2>conftest.er1
   8560   ac_status=$?
   8561   grep -v '^ *+' conftest.er1 >conftest.err
   8562   rm -f conftest.er1
   8563   cat conftest.err >&5
   8564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8565   (exit $ac_status); } && {
   8566 	 test -z "$ac_c_werror_flag" ||
   8567 	 test ! -s conftest.err
   8568        } && test -s conftest.$ac_objext; then
   8569   cat >conftest.$ac_ext <<_ACEOF
   8570 /* confdefs.h.  */
   8571 _ACEOF
   8572 cat confdefs.h >>conftest.$ac_ext
   8573 cat >>conftest.$ac_ext <<_ACEOF
   8574 /* end confdefs.h.  */
   8575 $ac_includes_default
   8576 int
   8577 main ()
   8578 {
   8579 if (sizeof ((uint8_t)))
   8580 	  return 0;
   8581   ;
   8582   return 0;
   8583 }
   8584 _ACEOF
   8585 rm -f conftest.$ac_objext
   8586 if { (ac_try="$ac_compile"
   8587 case "(($ac_try" in
   8588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8589   *) ac_try_echo=$ac_try;;
   8590 esac
   8591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8592 $as_echo "$ac_try_echo") >&5
   8593   (eval "$ac_compile") 2>conftest.er1
   8594   ac_status=$?
   8595   grep -v '^ *+' conftest.er1 >conftest.err
   8596   rm -f conftest.er1
   8597   cat conftest.err >&5
   8598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8599   (exit $ac_status); } && {
   8600 	 test -z "$ac_c_werror_flag" ||
   8601 	 test ! -s conftest.err
   8602        } && test -s conftest.$ac_objext; then
   8603   :
   8604 else
   8605   $as_echo "$as_me: failed program was:" >&5
   8606 sed 's/^/| /' conftest.$ac_ext >&5
   8607 
   8608 	ac_cv_type_uint8_t=yes
   8609 fi
   8610 
   8611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8612 else
   8613   $as_echo "$as_me: failed program was:" >&5
   8614 sed 's/^/| /' conftest.$ac_ext >&5
   8615 
   8616 
   8617 fi
   8618 
   8619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8620 fi
   8621 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
   8622 $as_echo "$ac_cv_type_uint8_t" >&6; }
   8623 if test "x$ac_cv_type_uint8_t" = x""yes; then
   8624   :
   8625 else
   8626 
   8627 cat >>confdefs.h <<_ACEOF
   8628 #define uint8_t unsigned char
   8629 _ACEOF
   8630 
   8631 fi
   8632 
   8633 { $as_echo "$as_me:$LINENO: checking for int16_t" >&5
   8634 $as_echo_n "checking for int16_t... " >&6; }
   8635 if test "${ac_cv_type_int16_t+set}" = set; then
   8636   $as_echo_n "(cached) " >&6
   8637 else
   8638   ac_cv_type_int16_t=no
   8639 cat >conftest.$ac_ext <<_ACEOF
   8640 /* confdefs.h.  */
   8641 _ACEOF
   8642 cat confdefs.h >>conftest.$ac_ext
   8643 cat >>conftest.$ac_ext <<_ACEOF
   8644 /* end confdefs.h.  */
   8645 $ac_includes_default
   8646 int
   8647 main ()
   8648 {
   8649 if (sizeof (int16_t))
   8650        return 0;
   8651   ;
   8652   return 0;
   8653 }
   8654 _ACEOF
   8655 rm -f conftest.$ac_objext
   8656 if { (ac_try="$ac_compile"
   8657 case "(($ac_try" in
   8658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8659   *) ac_try_echo=$ac_try;;
   8660 esac
   8661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8662 $as_echo "$ac_try_echo") >&5
   8663   (eval "$ac_compile") 2>conftest.er1
   8664   ac_status=$?
   8665   grep -v '^ *+' conftest.er1 >conftest.err
   8666   rm -f conftest.er1
   8667   cat conftest.err >&5
   8668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8669   (exit $ac_status); } && {
   8670 	 test -z "$ac_c_werror_flag" ||
   8671 	 test ! -s conftest.err
   8672        } && test -s conftest.$ac_objext; then
   8673   cat >conftest.$ac_ext <<_ACEOF
   8674 /* confdefs.h.  */
   8675 _ACEOF
   8676 cat confdefs.h >>conftest.$ac_ext
   8677 cat >>conftest.$ac_ext <<_ACEOF
   8678 /* end confdefs.h.  */
   8679 $ac_includes_default
   8680 int
   8681 main ()
   8682 {
   8683 if (sizeof ((int16_t)))
   8684 	  return 0;
   8685   ;
   8686   return 0;
   8687 }
   8688 _ACEOF
   8689 rm -f conftest.$ac_objext
   8690 if { (ac_try="$ac_compile"
   8691 case "(($ac_try" in
   8692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8693   *) ac_try_echo=$ac_try;;
   8694 esac
   8695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8696 $as_echo "$ac_try_echo") >&5
   8697   (eval "$ac_compile") 2>conftest.er1
   8698   ac_status=$?
   8699   grep -v '^ *+' conftest.er1 >conftest.err
   8700   rm -f conftest.er1
   8701   cat conftest.err >&5
   8702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8703   (exit $ac_status); } && {
   8704 	 test -z "$ac_c_werror_flag" ||
   8705 	 test ! -s conftest.err
   8706        } && test -s conftest.$ac_objext; then
   8707   :
   8708 else
   8709   $as_echo "$as_me: failed program was:" >&5
   8710 sed 's/^/| /' conftest.$ac_ext >&5
   8711 
   8712 	ac_cv_type_int16_t=yes
   8713 fi
   8714 
   8715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8716 else
   8717   $as_echo "$as_me: failed program was:" >&5
   8718 sed 's/^/| /' conftest.$ac_ext >&5
   8719 
   8720 
   8721 fi
   8722 
   8723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8724 fi
   8725 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
   8726 $as_echo "$ac_cv_type_int16_t" >&6; }
   8727 if test "x$ac_cv_type_int16_t" = x""yes; then
   8728   :
   8729 else
   8730 
   8731 cat >>confdefs.h <<_ACEOF
   8732 #define int16_t signed short
   8733 _ACEOF
   8734 
   8735 fi
   8736 
   8737 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
   8738 $as_echo_n "checking for uint16_t... " >&6; }
   8739 if test "${ac_cv_type_uint16_t+set}" = set; then
   8740   $as_echo_n "(cached) " >&6
   8741 else
   8742   ac_cv_type_uint16_t=no
   8743 cat >conftest.$ac_ext <<_ACEOF
   8744 /* confdefs.h.  */
   8745 _ACEOF
   8746 cat confdefs.h >>conftest.$ac_ext
   8747 cat >>conftest.$ac_ext <<_ACEOF
   8748 /* end confdefs.h.  */
   8749 $ac_includes_default
   8750 int
   8751 main ()
   8752 {
   8753 if (sizeof (uint16_t))
   8754        return 0;
   8755   ;
   8756   return 0;
   8757 }
   8758 _ACEOF
   8759 rm -f conftest.$ac_objext
   8760 if { (ac_try="$ac_compile"
   8761 case "(($ac_try" in
   8762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8763   *) ac_try_echo=$ac_try;;
   8764 esac
   8765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8766 $as_echo "$ac_try_echo") >&5
   8767   (eval "$ac_compile") 2>conftest.er1
   8768   ac_status=$?
   8769   grep -v '^ *+' conftest.er1 >conftest.err
   8770   rm -f conftest.er1
   8771   cat conftest.err >&5
   8772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8773   (exit $ac_status); } && {
   8774 	 test -z "$ac_c_werror_flag" ||
   8775 	 test ! -s conftest.err
   8776        } && test -s conftest.$ac_objext; then
   8777   cat >conftest.$ac_ext <<_ACEOF
   8778 /* confdefs.h.  */
   8779 _ACEOF
   8780 cat confdefs.h >>conftest.$ac_ext
   8781 cat >>conftest.$ac_ext <<_ACEOF
   8782 /* end confdefs.h.  */
   8783 $ac_includes_default
   8784 int
   8785 main ()
   8786 {
   8787 if (sizeof ((uint16_t)))
   8788 	  return 0;
   8789   ;
   8790   return 0;
   8791 }
   8792 _ACEOF
   8793 rm -f conftest.$ac_objext
   8794 if { (ac_try="$ac_compile"
   8795 case "(($ac_try" in
   8796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8797   *) ac_try_echo=$ac_try;;
   8798 esac
   8799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8800 $as_echo "$ac_try_echo") >&5
   8801   (eval "$ac_compile") 2>conftest.er1
   8802   ac_status=$?
   8803   grep -v '^ *+' conftest.er1 >conftest.err
   8804   rm -f conftest.er1
   8805   cat conftest.err >&5
   8806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8807   (exit $ac_status); } && {
   8808 	 test -z "$ac_c_werror_flag" ||
   8809 	 test ! -s conftest.err
   8810        } && test -s conftest.$ac_objext; then
   8811   :
   8812 else
   8813   $as_echo "$as_me: failed program was:" >&5
   8814 sed 's/^/| /' conftest.$ac_ext >&5
   8815 
   8816 	ac_cv_type_uint16_t=yes
   8817 fi
   8818 
   8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8820 else
   8821   $as_echo "$as_me: failed program was:" >&5
   8822 sed 's/^/| /' conftest.$ac_ext >&5
   8823 
   8824 
   8825 fi
   8826 
   8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8828 fi
   8829 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
   8830 $as_echo "$ac_cv_type_uint16_t" >&6; }
   8831 if test "x$ac_cv_type_uint16_t" = x""yes; then
   8832   :
   8833 else
   8834 
   8835 cat >>confdefs.h <<_ACEOF
   8836 #define uint16_t unsigned short
   8837 _ACEOF
   8838 
   8839 fi
   8840 
   8841 { $as_echo "$as_me:$LINENO: checking for int32_t" >&5
   8842 $as_echo_n "checking for int32_t... " >&6; }
   8843 if test "${ac_cv_type_int32_t+set}" = set; then
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   ac_cv_type_int32_t=no
   8847 cat >conftest.$ac_ext <<_ACEOF
   8848 /* confdefs.h.  */
   8849 _ACEOF
   8850 cat confdefs.h >>conftest.$ac_ext
   8851 cat >>conftest.$ac_ext <<_ACEOF
   8852 /* end confdefs.h.  */
   8853 $ac_includes_default
   8854 int
   8855 main ()
   8856 {
   8857 if (sizeof (int32_t))
   8858        return 0;
   8859   ;
   8860   return 0;
   8861 }
   8862 _ACEOF
   8863 rm -f conftest.$ac_objext
   8864 if { (ac_try="$ac_compile"
   8865 case "(($ac_try" in
   8866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8867   *) ac_try_echo=$ac_try;;
   8868 esac
   8869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8870 $as_echo "$ac_try_echo") >&5
   8871   (eval "$ac_compile") 2>conftest.er1
   8872   ac_status=$?
   8873   grep -v '^ *+' conftest.er1 >conftest.err
   8874   rm -f conftest.er1
   8875   cat conftest.err >&5
   8876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8877   (exit $ac_status); } && {
   8878 	 test -z "$ac_c_werror_flag" ||
   8879 	 test ! -s conftest.err
   8880        } && test -s conftest.$ac_objext; then
   8881   cat >conftest.$ac_ext <<_ACEOF
   8882 /* confdefs.h.  */
   8883 _ACEOF
   8884 cat confdefs.h >>conftest.$ac_ext
   8885 cat >>conftest.$ac_ext <<_ACEOF
   8886 /* end confdefs.h.  */
   8887 $ac_includes_default
   8888 int
   8889 main ()
   8890 {
   8891 if (sizeof ((int32_t)))
   8892 	  return 0;
   8893   ;
   8894   return 0;
   8895 }
   8896 _ACEOF
   8897 rm -f conftest.$ac_objext
   8898 if { (ac_try="$ac_compile"
   8899 case "(($ac_try" in
   8900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8901   *) ac_try_echo=$ac_try;;
   8902 esac
   8903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8904 $as_echo "$ac_try_echo") >&5
   8905   (eval "$ac_compile") 2>conftest.er1
   8906   ac_status=$?
   8907   grep -v '^ *+' conftest.er1 >conftest.err
   8908   rm -f conftest.er1
   8909   cat conftest.err >&5
   8910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8911   (exit $ac_status); } && {
   8912 	 test -z "$ac_c_werror_flag" ||
   8913 	 test ! -s conftest.err
   8914        } && test -s conftest.$ac_objext; then
   8915   :
   8916 else
   8917   $as_echo "$as_me: failed program was:" >&5
   8918 sed 's/^/| /' conftest.$ac_ext >&5
   8919 
   8920 	ac_cv_type_int32_t=yes
   8921 fi
   8922 
   8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8924 else
   8925   $as_echo "$as_me: failed program was:" >&5
   8926 sed 's/^/| /' conftest.$ac_ext >&5
   8927 
   8928 
   8929 fi
   8930 
   8931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8932 fi
   8933 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
   8934 $as_echo "$ac_cv_type_int32_t" >&6; }
   8935 if test "x$ac_cv_type_int32_t" = x""yes; then
   8936   :
   8937 else
   8938 
   8939 cat >>confdefs.h <<_ACEOF
   8940 #define int32_t signed long
   8941 _ACEOF
   8942 
   8943 fi
   8944 
   8945 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
   8946 $as_echo_n "checking for uint32_t... " >&6; }
   8947 if test "${ac_cv_type_uint32_t+set}" = set; then
   8948   $as_echo_n "(cached) " >&6
   8949 else
   8950   ac_cv_type_uint32_t=no
   8951 cat >conftest.$ac_ext <<_ACEOF
   8952 /* confdefs.h.  */
   8953 _ACEOF
   8954 cat confdefs.h >>conftest.$ac_ext
   8955 cat >>conftest.$ac_ext <<_ACEOF
   8956 /* end confdefs.h.  */
   8957 $ac_includes_default
   8958 int
   8959 main ()
   8960 {
   8961 if (sizeof (uint32_t))
   8962        return 0;
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 rm -f conftest.$ac_objext
   8968 if { (ac_try="$ac_compile"
   8969 case "(($ac_try" in
   8970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8971   *) ac_try_echo=$ac_try;;
   8972 esac
   8973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8974 $as_echo "$ac_try_echo") >&5
   8975   (eval "$ac_compile") 2>conftest.er1
   8976   ac_status=$?
   8977   grep -v '^ *+' conftest.er1 >conftest.err
   8978   rm -f conftest.er1
   8979   cat conftest.err >&5
   8980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8981   (exit $ac_status); } && {
   8982 	 test -z "$ac_c_werror_flag" ||
   8983 	 test ! -s conftest.err
   8984        } && test -s conftest.$ac_objext; then
   8985   cat >conftest.$ac_ext <<_ACEOF
   8986 /* confdefs.h.  */
   8987 _ACEOF
   8988 cat confdefs.h >>conftest.$ac_ext
   8989 cat >>conftest.$ac_ext <<_ACEOF
   8990 /* end confdefs.h.  */
   8991 $ac_includes_default
   8992 int
   8993 main ()
   8994 {
   8995 if (sizeof ((uint32_t)))
   8996 	  return 0;
   8997   ;
   8998   return 0;
   8999 }
   9000 _ACEOF
   9001 rm -f conftest.$ac_objext
   9002 if { (ac_try="$ac_compile"
   9003 case "(($ac_try" in
   9004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9005   *) ac_try_echo=$ac_try;;
   9006 esac
   9007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9008 $as_echo "$ac_try_echo") >&5
   9009   (eval "$ac_compile") 2>conftest.er1
   9010   ac_status=$?
   9011   grep -v '^ *+' conftest.er1 >conftest.err
   9012   rm -f conftest.er1
   9013   cat conftest.err >&5
   9014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9015   (exit $ac_status); } && {
   9016 	 test -z "$ac_c_werror_flag" ||
   9017 	 test ! -s conftest.err
   9018        } && test -s conftest.$ac_objext; then
   9019   :
   9020 else
   9021   $as_echo "$as_me: failed program was:" >&5
   9022 sed 's/^/| /' conftest.$ac_ext >&5
   9023 
   9024 	ac_cv_type_uint32_t=yes
   9025 fi
   9026 
   9027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9028 else
   9029   $as_echo "$as_me: failed program was:" >&5
   9030 sed 's/^/| /' conftest.$ac_ext >&5
   9031 
   9032 
   9033 fi
   9034 
   9035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9036 fi
   9037 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
   9038 $as_echo "$ac_cv_type_uint32_t" >&6; }
   9039 if test "x$ac_cv_type_uint32_t" = x""yes; then
   9040   :
   9041 else
   9042 
   9043 cat >>confdefs.h <<_ACEOF
   9044 #define uint32_t unsigned long
   9045 _ACEOF
   9046 
   9047 fi
   9048 
   9049 { $as_echo "$as_me:$LINENO: checking for int64_t" >&5
   9050 $as_echo_n "checking for int64_t... " >&6; }
   9051 if test "${ac_cv_type_int64_t+set}" = set; then
   9052   $as_echo_n "(cached) " >&6
   9053 else
   9054   ac_cv_type_int64_t=no
   9055 cat >conftest.$ac_ext <<_ACEOF
   9056 /* confdefs.h.  */
   9057 _ACEOF
   9058 cat confdefs.h >>conftest.$ac_ext
   9059 cat >>conftest.$ac_ext <<_ACEOF
   9060 /* end confdefs.h.  */
   9061 $ac_includes_default
   9062 int
   9063 main ()
   9064 {
   9065 if (sizeof (int64_t))
   9066        return 0;
   9067   ;
   9068   return 0;
   9069 }
   9070 _ACEOF
   9071 rm -f conftest.$ac_objext
   9072 if { (ac_try="$ac_compile"
   9073 case "(($ac_try" in
   9074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9075   *) ac_try_echo=$ac_try;;
   9076 esac
   9077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9078 $as_echo "$ac_try_echo") >&5
   9079   (eval "$ac_compile") 2>conftest.er1
   9080   ac_status=$?
   9081   grep -v '^ *+' conftest.er1 >conftest.err
   9082   rm -f conftest.er1
   9083   cat conftest.err >&5
   9084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9085   (exit $ac_status); } && {
   9086 	 test -z "$ac_c_werror_flag" ||
   9087 	 test ! -s conftest.err
   9088        } && test -s conftest.$ac_objext; then
   9089   cat >conftest.$ac_ext <<_ACEOF
   9090 /* confdefs.h.  */
   9091 _ACEOF
   9092 cat confdefs.h >>conftest.$ac_ext
   9093 cat >>conftest.$ac_ext <<_ACEOF
   9094 /* end confdefs.h.  */
   9095 $ac_includes_default
   9096 int
   9097 main ()
   9098 {
   9099 if (sizeof ((int64_t)))
   9100 	  return 0;
   9101   ;
   9102   return 0;
   9103 }
   9104 _ACEOF
   9105 rm -f conftest.$ac_objext
   9106 if { (ac_try="$ac_compile"
   9107 case "(($ac_try" in
   9108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9109   *) ac_try_echo=$ac_try;;
   9110 esac
   9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9112 $as_echo "$ac_try_echo") >&5
   9113   (eval "$ac_compile") 2>conftest.er1
   9114   ac_status=$?
   9115   grep -v '^ *+' conftest.er1 >conftest.err
   9116   rm -f conftest.er1
   9117   cat conftest.err >&5
   9118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9119   (exit $ac_status); } && {
   9120 	 test -z "$ac_c_werror_flag" ||
   9121 	 test ! -s conftest.err
   9122        } && test -s conftest.$ac_objext; then
   9123   :
   9124 else
   9125   $as_echo "$as_me: failed program was:" >&5
   9126 sed 's/^/| /' conftest.$ac_ext >&5
   9127 
   9128 	ac_cv_type_int64_t=yes
   9129 fi
   9130 
   9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9132 else
   9133   $as_echo "$as_me: failed program was:" >&5
   9134 sed 's/^/| /' conftest.$ac_ext >&5
   9135 
   9136 
   9137 fi
   9138 
   9139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9140 fi
   9141 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
   9142 $as_echo "$ac_cv_type_int64_t" >&6; }
   9143 if test "x$ac_cv_type_int64_t" = x""yes; then
   9144   :
   9145 else
   9146 
   9147 cat >>confdefs.h <<_ACEOF
   9148 #define int64_t signed long long
   9149 _ACEOF
   9150 
   9151 fi
   9152 
   9153 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
   9154 $as_echo_n "checking for uint64_t... " >&6; }
   9155 if test "${ac_cv_type_uint64_t+set}" = set; then
   9156   $as_echo_n "(cached) " >&6
   9157 else
   9158   ac_cv_type_uint64_t=no
   9159 cat >conftest.$ac_ext <<_ACEOF
   9160 /* confdefs.h.  */
   9161 _ACEOF
   9162 cat confdefs.h >>conftest.$ac_ext
   9163 cat >>conftest.$ac_ext <<_ACEOF
   9164 /* end confdefs.h.  */
   9165 $ac_includes_default
   9166 int
   9167 main ()
   9168 {
   9169 if (sizeof (uint64_t))
   9170        return 0;
   9171   ;
   9172   return 0;
   9173 }
   9174 _ACEOF
   9175 rm -f conftest.$ac_objext
   9176 if { (ac_try="$ac_compile"
   9177 case "(($ac_try" in
   9178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9179   *) ac_try_echo=$ac_try;;
   9180 esac
   9181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9182 $as_echo "$ac_try_echo") >&5
   9183   (eval "$ac_compile") 2>conftest.er1
   9184   ac_status=$?
   9185   grep -v '^ *+' conftest.er1 >conftest.err
   9186   rm -f conftest.er1
   9187   cat conftest.err >&5
   9188   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9189   (exit $ac_status); } && {
   9190 	 test -z "$ac_c_werror_flag" ||
   9191 	 test ! -s conftest.err
   9192        } && test -s conftest.$ac_objext; then
   9193   cat >conftest.$ac_ext <<_ACEOF
   9194 /* confdefs.h.  */
   9195 _ACEOF
   9196 cat confdefs.h >>conftest.$ac_ext
   9197 cat >>conftest.$ac_ext <<_ACEOF
   9198 /* end confdefs.h.  */
   9199 $ac_includes_default
   9200 int
   9201 main ()
   9202 {
   9203 if (sizeof ((uint64_t)))
   9204 	  return 0;
   9205   ;
   9206   return 0;
   9207 }
   9208 _ACEOF
   9209 rm -f conftest.$ac_objext
   9210 if { (ac_try="$ac_compile"
   9211 case "(($ac_try" in
   9212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9213   *) ac_try_echo=$ac_try;;
   9214 esac
   9215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9216 $as_echo "$ac_try_echo") >&5
   9217   (eval "$ac_compile") 2>conftest.er1
   9218   ac_status=$?
   9219   grep -v '^ *+' conftest.er1 >conftest.err
   9220   rm -f conftest.er1
   9221   cat conftest.err >&5
   9222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9223   (exit $ac_status); } && {
   9224 	 test -z "$ac_c_werror_flag" ||
   9225 	 test ! -s conftest.err
   9226        } && test -s conftest.$ac_objext; then
   9227   :
   9228 else
   9229   $as_echo "$as_me: failed program was:" >&5
   9230 sed 's/^/| /' conftest.$ac_ext >&5
   9231 
   9232 	ac_cv_type_uint64_t=yes
   9233 fi
   9234 
   9235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9236 else
   9237   $as_echo "$as_me: failed program was:" >&5
   9238 sed 's/^/| /' conftest.$ac_ext >&5
   9239 
   9240 
   9241 fi
   9242 
   9243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9244 fi
   9245 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
   9246 $as_echo "$ac_cv_type_uint64_t" >&6; }
   9247 if test "x$ac_cv_type_uint64_t" = x""yes; then
   9248   :
   9249 else
   9250 
   9251 cat >>confdefs.h <<_ACEOF
   9252 #define uint64_t unsigned long long
   9253 _ACEOF
   9254 
   9255 fi
   9256 
   9257 
   9258 if test $ac_cv_type_int8_t = no; then
   9259 HAVE_INT8_T=0
   9260 else
   9261 HAVE_INT8_T=1
   9262 fi
   9263 
   9264 
   9265 if test $ac_cv_type_uint8_t = no; then
   9266 HAVE_UINT8_T=0
   9267 else
   9268 HAVE_UINT8_T=1
   9269 fi
   9270 
   9271 
   9272 if test $ac_cv_type_int16_t = no; then
   9273 HAVE_INT16_T=0
   9274 else
   9275 HAVE_INT16_T=1
   9276 fi
   9277 
   9278 
   9279 if test $ac_cv_type_uint16_t = no; then
   9280 HAVE_UINT16_T=0
   9281 else
   9282 HAVE_UINT16_T=1
   9283 fi
   9284 
   9285 
   9286 if test $ac_cv_type_int32_t = no; then
   9287 HAVE_INT32_T=0
   9288 else
   9289 HAVE_INT32_T=1
   9290 fi
   9291 
   9292 
   9293 if test $ac_cv_type_uint32_t = no; then
   9294 HAVE_UINT32_T=0
   9295 else
   9296 HAVE_UINT32_T=1
   9297 fi
   9298 
   9299 
   9300 if test $ac_cv_type_int64_t = no; then
   9301 HAVE_INT64_T=0
   9302 else
   9303 HAVE_INT64_T=1
   9304 fi
   9305 
   9306 
   9307 if test $ac_cv_type_uint64_t = no; then
   9308 HAVE_UINT64_T=0
   9309 else
   9310 HAVE_UINT64_T=1
   9311 fi
   9312 
   9313 
   9314 # Do various wchar_t related checks
   9315 if test "${ac_cv_header_wchar_h+set}" = set; then
   9316   { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   9317 $as_echo_n "checking for wchar.h... " >&6; }
   9318 if test "${ac_cv_header_wchar_h+set}" = set; then
   9319   $as_echo_n "(cached) " >&6
   9320 fi
   9321 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   9322 $as_echo "$ac_cv_header_wchar_h" >&6; }
   9323 else
   9324   # Is the header compilable?
   9325 { $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
   9326 $as_echo_n "checking wchar.h usability... " >&6; }
   9327 cat >conftest.$ac_ext <<_ACEOF
   9328 /* confdefs.h.  */
   9329 _ACEOF
   9330 cat confdefs.h >>conftest.$ac_ext
   9331 cat >>conftest.$ac_ext <<_ACEOF
   9332 /* end confdefs.h.  */
   9333 $ac_includes_default
   9334 #include <wchar.h>
   9335 _ACEOF
   9336 rm -f conftest.$ac_objext
   9337 if { (ac_try="$ac_compile"
   9338 case "(($ac_try" in
   9339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9340   *) ac_try_echo=$ac_try;;
   9341 esac
   9342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9343 $as_echo "$ac_try_echo") >&5
   9344   (eval "$ac_compile") 2>conftest.er1
   9345   ac_status=$?
   9346   grep -v '^ *+' conftest.er1 >conftest.err
   9347   rm -f conftest.er1
   9348   cat conftest.err >&5
   9349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9350   (exit $ac_status); } && {
   9351 	 test -z "$ac_c_werror_flag" ||
   9352 	 test ! -s conftest.err
   9353        } && test -s conftest.$ac_objext; then
   9354   ac_header_compiler=yes
   9355 else
   9356   $as_echo "$as_me: failed program was:" >&5
   9357 sed 's/^/| /' conftest.$ac_ext >&5
   9358 
   9359 	ac_header_compiler=no
   9360 fi
   9361 
   9362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9363 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   9364 $as_echo "$ac_header_compiler" >&6; }
   9365 
   9366 # Is the header present?
   9367 { $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
   9368 $as_echo_n "checking wchar.h presence... " >&6; }
   9369 cat >conftest.$ac_ext <<_ACEOF
   9370 /* confdefs.h.  */
   9371 _ACEOF
   9372 cat confdefs.h >>conftest.$ac_ext
   9373 cat >>conftest.$ac_ext <<_ACEOF
   9374 /* end confdefs.h.  */
   9375 #include <wchar.h>
   9376 _ACEOF
   9377 if { (ac_try="$ac_cpp conftest.$ac_ext"
   9378 case "(($ac_try" in
   9379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9380   *) ac_try_echo=$ac_try;;
   9381 esac
   9382 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9383 $as_echo "$ac_try_echo") >&5
   9384   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   9385   ac_status=$?
   9386   grep -v '^ *+' conftest.er1 >conftest.err
   9387   rm -f conftest.er1
   9388   cat conftest.err >&5
   9389   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9390   (exit $ac_status); } >/dev/null && {
   9391 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   9392 	 test ! -s conftest.err
   9393        }; then
   9394   ac_header_preproc=yes
   9395 else
   9396   $as_echo "$as_me: failed program was:" >&5
   9397 sed 's/^/| /' conftest.$ac_ext >&5
   9398 
   9399   ac_header_preproc=no
   9400 fi
   9401 
   9402 rm -f conftest.err conftest.$ac_ext
   9403 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   9404 $as_echo "$ac_header_preproc" >&6; }
   9405 
   9406 # So?  What about this header?
   9407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   9408   yes:no: )
   9409     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
   9410 $as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   9411     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
   9412 $as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
   9413     ac_header_preproc=yes
   9414     ;;
   9415   no:yes:* )
   9416     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
   9417 $as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
   9418     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
   9419 $as_echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
   9420     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
   9421 $as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
   9422     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
   9423 $as_echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   9424     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
   9425 $as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
   9426     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
   9427 $as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
   9428 
   9429     ;;
   9430 esac
   9431 { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   9432 $as_echo_n "checking for wchar.h... " >&6; }
   9433 if test "${ac_cv_header_wchar_h+set}" = set; then
   9434   $as_echo_n "(cached) " >&6
   9435 else
   9436   ac_cv_header_wchar_h=$ac_header_preproc
   9437 fi
   9438 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   9439 $as_echo "$ac_cv_header_wchar_h" >&6; }
   9440 
   9441 fi
   9442 
   9443 
   9444 if test "$ac_cv_header_wchar_h" = no
   9445 then
   9446     U_HAVE_WCHAR_H=0
   9447     U_HAVE_WCSCPY=0
   9448 else
   9449     cat >>confdefs.h <<\_ACEOF
   9450 #define HAVE_WCHAR_H 1
   9451 _ACEOF
   9452 
   9453     U_HAVE_WCHAR_H=1
   9454     # Some broken systems have wchar.h but not some of its functions...
   9455     { $as_echo "$as_me:$LINENO: checking for library containing wcscpy" >&5
   9456 $as_echo_n "checking for library containing wcscpy... " >&6; }
   9457 if test "${ac_cv_search_wcscpy+set}" = set; then
   9458   $as_echo_n "(cached) " >&6
   9459 else
   9460   ac_func_search_save_LIBS=$LIBS
   9461 cat >conftest.$ac_ext <<_ACEOF
   9462 /* confdefs.h.  */
   9463 _ACEOF
   9464 cat confdefs.h >>conftest.$ac_ext
   9465 cat >>conftest.$ac_ext <<_ACEOF
   9466 /* end confdefs.h.  */
   9467 
   9468 /* Override any GCC internal prototype to avoid an error.
   9469    Use char because int might match the return type of a GCC
   9470    builtin and then its argument prototype would still apply.  */
   9471 #ifdef __cplusplus
   9472 extern "C"
   9473 #endif
   9474 char wcscpy ();
   9475 int
   9476 main ()
   9477 {
   9478 return wcscpy ();
   9479   ;
   9480   return 0;
   9481 }
   9482 _ACEOF
   9483 for ac_lib in '' wcs w; do
   9484   if test -z "$ac_lib"; then
   9485     ac_res="none required"
   9486   else
   9487     ac_res=-l$ac_lib
   9488     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   9489   fi
   9490   rm -f conftest.$ac_objext conftest$ac_exeext
   9491 if { (ac_try="$ac_link"
   9492 case "(($ac_try" in
   9493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9494   *) ac_try_echo=$ac_try;;
   9495 esac
   9496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9497 $as_echo "$ac_try_echo") >&5
   9498   (eval "$ac_link") 2>conftest.er1
   9499   ac_status=$?
   9500   grep -v '^ *+' conftest.er1 >conftest.err
   9501   rm -f conftest.er1
   9502   cat conftest.err >&5
   9503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9504   (exit $ac_status); } && {
   9505 	 test -z "$ac_c_werror_flag" ||
   9506 	 test ! -s conftest.err
   9507        } && test -s conftest$ac_exeext && {
   9508 	 test "$cross_compiling" = yes ||
   9509 	 $as_test_x conftest$ac_exeext
   9510        }; then
   9511   ac_cv_search_wcscpy=$ac_res
   9512 else
   9513   $as_echo "$as_me: failed program was:" >&5
   9514 sed 's/^/| /' conftest.$ac_ext >&5
   9515 
   9516 
   9517 fi
   9518 
   9519 rm -rf conftest.dSYM
   9520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9521       conftest$ac_exeext
   9522   if test "${ac_cv_search_wcscpy+set}" = set; then
   9523   break
   9524 fi
   9525 done
   9526 if test "${ac_cv_search_wcscpy+set}" = set; then
   9527   :
   9528 else
   9529   ac_cv_search_wcscpy=no
   9530 fi
   9531 rm conftest.$ac_ext
   9532 LIBS=$ac_func_search_save_LIBS
   9533 fi
   9534 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_wcscpy" >&5
   9535 $as_echo "$ac_cv_search_wcscpy" >&6; }
   9536 ac_res=$ac_cv_search_wcscpy
   9537 if test "$ac_res" != no; then
   9538   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   9539 
   9540 fi
   9541 
   9542     if test "$ac_cv_search_wcscpy" != no; then
   9543       U_HAVE_WCSCPY=1
   9544     else
   9545       U_HAVE_WCSCPY=0
   9546     fi
   9547 fi
   9548 
   9549 
   9550 
   9551 # The cast to long int works around a bug in the HP C Compiler
   9552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   9553 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   9554 # This bug is HP SR number 8606223364.
   9555 { $as_echo "$as_me:$LINENO: checking size of wchar_t" >&5
   9556 $as_echo_n "checking size of wchar_t... " >&6; }
   9557 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
   9558   $as_echo_n "(cached) " >&6
   9559 else
   9560   if test "$cross_compiling" = yes; then
   9561   # Depending upon the size, compute the lo and hi bounds.
   9562 cat >conftest.$ac_ext <<_ACEOF
   9563 /* confdefs.h.  */
   9564 _ACEOF
   9565 cat confdefs.h >>conftest.$ac_ext
   9566 cat >>conftest.$ac_ext <<_ACEOF
   9567 /* end confdefs.h.  */
   9568 
   9569 #if STDC_HEADERS
   9570 #include <stddef.h>
   9571 #endif
   9572 #include <stdlib.h>
   9573 #if HAVE_WCHAR_H
   9574 #include <string.h>
   9575 #include <wchar.h>
   9576 #endif
   9577 
   9578 int
   9579 main ()
   9580 {
   9581 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= 0)];
   9582 test_array [0] = 0
   9583 
   9584   ;
   9585   return 0;
   9586 }
   9587 _ACEOF
   9588 rm -f conftest.$ac_objext
   9589 if { (ac_try="$ac_compile"
   9590 case "(($ac_try" in
   9591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9592   *) ac_try_echo=$ac_try;;
   9593 esac
   9594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9595 $as_echo "$ac_try_echo") >&5
   9596   (eval "$ac_compile") 2>conftest.er1
   9597   ac_status=$?
   9598   grep -v '^ *+' conftest.er1 >conftest.err
   9599   rm -f conftest.er1
   9600   cat conftest.err >&5
   9601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9602   (exit $ac_status); } && {
   9603 	 test -z "$ac_c_werror_flag" ||
   9604 	 test ! -s conftest.err
   9605        } && test -s conftest.$ac_objext; then
   9606   ac_lo=0 ac_mid=0
   9607   while :; do
   9608     cat >conftest.$ac_ext <<_ACEOF
   9609 /* confdefs.h.  */
   9610 _ACEOF
   9611 cat confdefs.h >>conftest.$ac_ext
   9612 cat >>conftest.$ac_ext <<_ACEOF
   9613 /* end confdefs.h.  */
   9614 
   9615 #if STDC_HEADERS
   9616 #include <stddef.h>
   9617 #endif
   9618 #include <stdlib.h>
   9619 #if HAVE_WCHAR_H
   9620 #include <string.h>
   9621 #include <wchar.h>
   9622 #endif
   9623 
   9624 int
   9625 main ()
   9626 {
   9627 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
   9628 test_array [0] = 0
   9629 
   9630   ;
   9631   return 0;
   9632 }
   9633 _ACEOF
   9634 rm -f conftest.$ac_objext
   9635 if { (ac_try="$ac_compile"
   9636 case "(($ac_try" in
   9637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9638   *) ac_try_echo=$ac_try;;
   9639 esac
   9640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9641 $as_echo "$ac_try_echo") >&5
   9642   (eval "$ac_compile") 2>conftest.er1
   9643   ac_status=$?
   9644   grep -v '^ *+' conftest.er1 >conftest.err
   9645   rm -f conftest.er1
   9646   cat conftest.err >&5
   9647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9648   (exit $ac_status); } && {
   9649 	 test -z "$ac_c_werror_flag" ||
   9650 	 test ! -s conftest.err
   9651        } && test -s conftest.$ac_objext; then
   9652   ac_hi=$ac_mid; break
   9653 else
   9654   $as_echo "$as_me: failed program was:" >&5
   9655 sed 's/^/| /' conftest.$ac_ext >&5
   9656 
   9657 	ac_lo=`expr $ac_mid + 1`
   9658 			if test $ac_lo -le $ac_mid; then
   9659 			  ac_lo= ac_hi=
   9660 			  break
   9661 			fi
   9662 			ac_mid=`expr 2 '*' $ac_mid + 1`
   9663 fi
   9664 
   9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9666   done
   9667 else
   9668   $as_echo "$as_me: failed program was:" >&5
   9669 sed 's/^/| /' conftest.$ac_ext >&5
   9670 
   9671 	cat >conftest.$ac_ext <<_ACEOF
   9672 /* confdefs.h.  */
   9673 _ACEOF
   9674 cat confdefs.h >>conftest.$ac_ext
   9675 cat >>conftest.$ac_ext <<_ACEOF
   9676 /* end confdefs.h.  */
   9677 
   9678 #if STDC_HEADERS
   9679 #include <stddef.h>
   9680 #endif
   9681 #include <stdlib.h>
   9682 #if HAVE_WCHAR_H
   9683 #include <string.h>
   9684 #include <wchar.h>
   9685 #endif
   9686 
   9687 int
   9688 main ()
   9689 {
   9690 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) < 0)];
   9691 test_array [0] = 0
   9692 
   9693   ;
   9694   return 0;
   9695 }
   9696 _ACEOF
   9697 rm -f conftest.$ac_objext
   9698 if { (ac_try="$ac_compile"
   9699 case "(($ac_try" in
   9700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9701   *) ac_try_echo=$ac_try;;
   9702 esac
   9703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9704 $as_echo "$ac_try_echo") >&5
   9705   (eval "$ac_compile") 2>conftest.er1
   9706   ac_status=$?
   9707   grep -v '^ *+' conftest.er1 >conftest.err
   9708   rm -f conftest.er1
   9709   cat conftest.err >&5
   9710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9711   (exit $ac_status); } && {
   9712 	 test -z "$ac_c_werror_flag" ||
   9713 	 test ! -s conftest.err
   9714        } && test -s conftest.$ac_objext; then
   9715   ac_hi=-1 ac_mid=-1
   9716   while :; do
   9717     cat >conftest.$ac_ext <<_ACEOF
   9718 /* confdefs.h.  */
   9719 _ACEOF
   9720 cat confdefs.h >>conftest.$ac_ext
   9721 cat >>conftest.$ac_ext <<_ACEOF
   9722 /* end confdefs.h.  */
   9723 
   9724 #if STDC_HEADERS
   9725 #include <stddef.h>
   9726 #endif
   9727 #include <stdlib.h>
   9728 #if HAVE_WCHAR_H
   9729 #include <string.h>
   9730 #include <wchar.h>
   9731 #endif
   9732 
   9733 int
   9734 main ()
   9735 {
   9736 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= $ac_mid)];
   9737 test_array [0] = 0
   9738 
   9739   ;
   9740   return 0;
   9741 }
   9742 _ACEOF
   9743 rm -f conftest.$ac_objext
   9744 if { (ac_try="$ac_compile"
   9745 case "(($ac_try" in
   9746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9747   *) ac_try_echo=$ac_try;;
   9748 esac
   9749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9750 $as_echo "$ac_try_echo") >&5
   9751   (eval "$ac_compile") 2>conftest.er1
   9752   ac_status=$?
   9753   grep -v '^ *+' conftest.er1 >conftest.err
   9754   rm -f conftest.er1
   9755   cat conftest.err >&5
   9756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9757   (exit $ac_status); } && {
   9758 	 test -z "$ac_c_werror_flag" ||
   9759 	 test ! -s conftest.err
   9760        } && test -s conftest.$ac_objext; then
   9761   ac_lo=$ac_mid; break
   9762 else
   9763   $as_echo "$as_me: failed program was:" >&5
   9764 sed 's/^/| /' conftest.$ac_ext >&5
   9765 
   9766 	ac_hi=`expr '(' $ac_mid ')' - 1`
   9767 			if test $ac_mid -le $ac_hi; then
   9768 			  ac_lo= ac_hi=
   9769 			  break
   9770 			fi
   9771 			ac_mid=`expr 2 '*' $ac_mid`
   9772 fi
   9773 
   9774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9775   done
   9776 else
   9777   $as_echo "$as_me: failed program was:" >&5
   9778 sed 's/^/| /' conftest.$ac_ext >&5
   9779 
   9780 	ac_lo= ac_hi=
   9781 fi
   9782 
   9783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9784 fi
   9785 
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 # Binary search between lo and hi bounds.
   9788 while test "x$ac_lo" != "x$ac_hi"; do
   9789   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   9790   cat >conftest.$ac_ext <<_ACEOF
   9791 /* confdefs.h.  */
   9792 _ACEOF
   9793 cat confdefs.h >>conftest.$ac_ext
   9794 cat >>conftest.$ac_ext <<_ACEOF
   9795 /* end confdefs.h.  */
   9796 
   9797 #if STDC_HEADERS
   9798 #include <stddef.h>
   9799 #endif
   9800 #include <stdlib.h>
   9801 #if HAVE_WCHAR_H
   9802 #include <string.h>
   9803 #include <wchar.h>
   9804 #endif
   9805 
   9806 int
   9807 main ()
   9808 {
   9809 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
   9810 test_array [0] = 0
   9811 
   9812   ;
   9813   return 0;
   9814 }
   9815 _ACEOF
   9816 rm -f conftest.$ac_objext
   9817 if { (ac_try="$ac_compile"
   9818 case "(($ac_try" in
   9819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9820   *) ac_try_echo=$ac_try;;
   9821 esac
   9822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9823 $as_echo "$ac_try_echo") >&5
   9824   (eval "$ac_compile") 2>conftest.er1
   9825   ac_status=$?
   9826   grep -v '^ *+' conftest.er1 >conftest.err
   9827   rm -f conftest.er1
   9828   cat conftest.err >&5
   9829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9830   (exit $ac_status); } && {
   9831 	 test -z "$ac_c_werror_flag" ||
   9832 	 test ! -s conftest.err
   9833        } && test -s conftest.$ac_objext; then
   9834   ac_hi=$ac_mid
   9835 else
   9836   $as_echo "$as_me: failed program was:" >&5
   9837 sed 's/^/| /' conftest.$ac_ext >&5
   9838 
   9839 	ac_lo=`expr '(' $ac_mid ')' + 1`
   9840 fi
   9841 
   9842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9843 done
   9844 case $ac_lo in
   9845 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
   9846 '') if test "$ac_cv_type_wchar_t" = yes; then
   9847      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   9848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   9849 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
   9850 See \`config.log' for more details." >&5
   9851 $as_echo "$as_me: error: cannot compute sizeof (wchar_t)
   9852 See \`config.log' for more details." >&2;}
   9853    { (exit 77); exit 77; }; }; }
   9854    else
   9855      ac_cv_sizeof_wchar_t=0
   9856    fi ;;
   9857 esac
   9858 else
   9859   cat >conftest.$ac_ext <<_ACEOF
   9860 /* confdefs.h.  */
   9861 _ACEOF
   9862 cat confdefs.h >>conftest.$ac_ext
   9863 cat >>conftest.$ac_ext <<_ACEOF
   9864 /* end confdefs.h.  */
   9865 
   9866 #if STDC_HEADERS
   9867 #include <stddef.h>
   9868 #endif
   9869 #include <stdlib.h>
   9870 #if HAVE_WCHAR_H
   9871 #include <string.h>
   9872 #include <wchar.h>
   9873 #endif
   9874 
   9875 static long int longval () { return (long int) (sizeof (wchar_t)); }
   9876 static unsigned long int ulongval () { return (long int) (sizeof (wchar_t)); }
   9877 #include <stdio.h>
   9878 #include <stdlib.h>
   9879 int
   9880 main ()
   9881 {
   9882 
   9883   FILE *f = fopen ("conftest.val", "w");
   9884   if (! f)
   9885     return 1;
   9886   if (((long int) (sizeof (wchar_t))) < 0)
   9887     {
   9888       long int i = longval ();
   9889       if (i != ((long int) (sizeof (wchar_t))))
   9890 	return 1;
   9891       fprintf (f, "%ld", i);
   9892     }
   9893   else
   9894     {
   9895       unsigned long int i = ulongval ();
   9896       if (i != ((long int) (sizeof (wchar_t))))
   9897 	return 1;
   9898       fprintf (f, "%lu", i);
   9899     }
   9900   /* Do not output a trailing newline, as this causes \r\n confusion
   9901      on some platforms.  */
   9902   return ferror (f) || fclose (f) != 0;
   9903 
   9904   ;
   9905   return 0;
   9906 }
   9907 _ACEOF
   9908 rm -f conftest$ac_exeext
   9909 if { (ac_try="$ac_link"
   9910 case "(($ac_try" in
   9911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9912   *) ac_try_echo=$ac_try;;
   9913 esac
   9914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9915 $as_echo "$ac_try_echo") >&5
   9916   (eval "$ac_link") 2>&5
   9917   ac_status=$?
   9918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9919   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9920   { (case "(($ac_try" in
   9921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9922   *) ac_try_echo=$ac_try;;
   9923 esac
   9924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9925 $as_echo "$ac_try_echo") >&5
   9926   (eval "$ac_try") 2>&5
   9927   ac_status=$?
   9928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9929   (exit $ac_status); }; }; then
   9930   ac_cv_sizeof_wchar_t=`cat conftest.val`
   9931 else
   9932   $as_echo "$as_me: program exited with status $ac_status" >&5
   9933 $as_echo "$as_me: failed program was:" >&5
   9934 sed 's/^/| /' conftest.$ac_ext >&5
   9935 
   9936 ( exit $ac_status )
   9937 if test "$ac_cv_type_wchar_t" = yes; then
   9938      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   9939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   9940 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
   9941 See \`config.log' for more details." >&5
   9942 $as_echo "$as_me: error: cannot compute sizeof (wchar_t)
   9943 See \`config.log' for more details." >&2;}
   9944    { (exit 77); exit 77; }; }; }
   9945    else
   9946      ac_cv_sizeof_wchar_t=0
   9947    fi
   9948 fi
   9949 rm -rf conftest.dSYM
   9950 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9951 fi
   9952 rm -f conftest.val
   9953 fi
   9954 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
   9955 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
   9956 
   9957 
   9958 
   9959 cat >>confdefs.h <<_ACEOF
   9960 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
   9961 _ACEOF
   9962 
   9963 
   9964 U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
   9965 # We do this check to verify that everything is okay.
   9966 if test $U_SIZEOF_WCHAR_T = 0; then
   9967     if test $U_HAVE_WCHAR_H=1; then
   9968        { { $as_echo "$as_me:$LINENO: error: There is wchar.h but the size of wchar_t is 0" >&5
   9969 $as_echo "$as_me: error: There is wchar.h but the size of wchar_t is 0" >&2;}
   9970    { (exit 1); exit 1; }; }
   9971     fi
   9972 fi
   9973 
   9974 
   9975 { $as_echo "$as_me:$LINENO: checking for UTF-16 string literal support" >&5
   9976 $as_echo_n "checking for UTF-16 string literal support... " >&6; }
   9977 U_CHECK_UTF16_STRING=1
   9978 CHECK_UTF16_STRING_RESULT="unknown"
   9979 case "${host}" in
   9980 *-*-aix*|powerpc64-*-linux*)
   9981     if test "$ac_cv_c_compiler_gnu" = no; then
   9982         OLD_CFLAGS="${CFLAGS}"
   9983         OLD_CXXFLAGS="${CXXFLAGS}"
   9984         CFLAGS="${CFLAGS} -qutf"
   9985         CXXFLAGS="${CXXFLAGS} -qutf"
   9986         cat >conftest.$ac_ext <<_ACEOF
   9987 /* confdefs.h.  */
   9988 _ACEOF
   9989 cat confdefs.h >>conftest.$ac_ext
   9990 cat >>conftest.$ac_ext <<_ACEOF
   9991 /* end confdefs.h.  */
   9992 const unsigned short hello[] = u"hello";
   9993 int
   9994 main ()
   9995 {
   9996 
   9997   ;
   9998   return 0;
   9999 }
   10000 _ACEOF
   10001 rm -f conftest.$ac_objext
   10002 if { (ac_try="$ac_compile"
   10003 case "(($ac_try" in
   10004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10005   *) ac_try_echo=$ac_try;;
   10006 esac
   10007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10008 $as_echo "$ac_try_echo") >&5
   10009   (eval "$ac_compile") 2>conftest.er1
   10010   ac_status=$?
   10011   grep -v '^ *+' conftest.er1 >conftest.err
   10012   rm -f conftest.er1
   10013   cat conftest.err >&5
   10014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10015   (exit $ac_status); } && {
   10016 	 test -z "$ac_c_werror_flag" ||
   10017 	 test ! -s conftest.err
   10018        } && test -s conftest.$ac_objext; then
   10019   U_CHECK_UTF16_STRING=1
   10020 else
   10021   $as_echo "$as_me: failed program was:" >&5
   10022 sed 's/^/| /' conftest.$ac_ext >&5
   10023 
   10024 	U_CHECK_UTF16_STRING=0
   10025 fi
   10026 
   10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10028         if test "$U_CHECK_UTF16_STRING" = 0; then
   10029             CFLAGS="${OLD_CFLAGS}"
   10030             CXXFLAGS="${OLD_CXXFLAGS}"
   10031         else
   10032             CHECK_UTF16_STRING_RESULT="-qutf"
   10033         fi
   10034     fi
   10035     ;;
   10036 *-*-solaris*)
   10037     if test "$ac_cv_c_compiler_gnu" = no; then
   10038         OLD_CFLAGS="${CFLAGS}"
   10039         OLD_CXXFLAGS="${CXXFLAGS}"
   10040         CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort"
   10041         CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort"
   10042         cat >conftest.$ac_ext <<_ACEOF
   10043 /* confdefs.h.  */
   10044 _ACEOF
   10045 cat confdefs.h >>conftest.$ac_ext
   10046 cat >>conftest.$ac_ext <<_ACEOF
   10047 /* end confdefs.h.  */
   10048 const unsigned short hello[] = U"hello";
   10049 int
   10050 main ()
   10051 {
   10052 
   10053   ;
   10054   return 0;
   10055 }
   10056 _ACEOF
   10057 rm -f conftest.$ac_objext
   10058 if { (ac_try="$ac_compile"
   10059 case "(($ac_try" in
   10060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10061   *) ac_try_echo=$ac_try;;
   10062 esac
   10063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10064 $as_echo "$ac_try_echo") >&5
   10065   (eval "$ac_compile") 2>conftest.er1
   10066   ac_status=$?
   10067   grep -v '^ *+' conftest.er1 >conftest.err
   10068   rm -f conftest.er1
   10069   cat conftest.err >&5
   10070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10071   (exit $ac_status); } && {
   10072 	 test -z "$ac_c_werror_flag" ||
   10073 	 test ! -s conftest.err
   10074        } && test -s conftest.$ac_objext; then
   10075   U_CHECK_UTF16_STRING=1
   10076 else
   10077   $as_echo "$as_me: failed program was:" >&5
   10078 sed 's/^/| /' conftest.$ac_ext >&5
   10079 
   10080 	U_CHECK_UTF16_STRING=0
   10081 fi
   10082 
   10083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10084         if test "$U_CHECK_UTF16_STRING" = 0; then
   10085             CFLAGS="${OLD_CFLAGS}"
   10086             CXXFLAGS="${OLD_CXXFLAGS}"
   10087         else
   10088             CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort"
   10089 
   10090             # Since we can't detect the availability of this UTF-16 syntax at compile time,
   10091             # we depend on configure telling us that we can use it.
   10092             # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
   10093             # we only use this macro within ICU.
   10094             # If an ICU user uses icu-config, this feature will be enabled.
   10095             CPPFLAGS="${CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
   10096             U_CHECK_UTF16_STRING=0
   10097         fi
   10098     fi
   10099     ;;
   10100 *-*-hpux*)
   10101     if test "$ac_cv_c_compiler_gnu" = no; then
   10102         # The option will be detected at compile time without additional compiler options.
   10103         CHECK_UTF16_STRING_RESULT="available"
   10104     fi
   10105     ;;
   10106 *-*-cygwin)
   10107     # wchar_t can be used
   10108     CHECK_UTF16_STRING_RESULT="available"
   10109     ;;
   10110 *)
   10111     ;;
   10112 esac
   10113 { $as_echo "$as_me:$LINENO: result: $CHECK_UTF16_STRING_RESULT" >&5
   10114 $as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }
   10115 
   10116 
   10117 # Enable/disable extras
   10118 # Check whether --enable-extras was given.
   10119 if test "${enable_extras+set}" = set; then
   10120   enableval=$enable_extras; case "${enableval}" in
   10121 		yes) extras=true ;;
   10122 		no)  extras=false ;;
   10123 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-extras" >&5
   10124 $as_echo "$as_me: error: bad value ${enableval} for --enable-extras" >&2;}
   10125    { (exit 1); exit 1; }; } ;;
   10126 		esac
   10127 else
   10128   extras=true
   10129 fi
   10130 
   10131 
   10132 if test "$extras" = true; then
   10133   EXTRAS_TRUE=
   10134 else
   10135   EXTRAS_TRUE='#'
   10136 fi
   10137 # Check whether --enable-icuio was given.
   10138 if test "${enable_icuio+set}" = set; then
   10139   enableval=$enable_icuio; case "${enableval}" in
   10140 		yes) icuio=true ;;
   10141 		no)  icuio=false ;;
   10142 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-icuio" >&5
   10143 $as_echo "$as_me: error: bad value ${enableval} for --enable-icuio" >&2;}
   10144    { (exit 1); exit 1; }; } ;;
   10145 		esac
   10146 else
   10147   icuio=true
   10148 fi
   10149 
   10150 
   10151 if test "$icuio" = true; then
   10152   ICUIO_TRUE=
   10153 else
   10154   ICUIO_TRUE='#'
   10155 fi
   10156 
   10157 # Enable/disable layout
   10158 # Check whether --enable-layout was given.
   10159 if test "${enable_layout+set}" = set; then
   10160   enableval=$enable_layout; case "${enableval}" in
   10161 		yes) layout=true ;;
   10162 		no)  layout=false ;;
   10163 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-layout" >&5
   10164 $as_echo "$as_me: error: bad value ${enableval} for --enable-layout" >&2;}
   10165    { (exit 1); exit 1; }; } ;;
   10166 		esac
   10167 else
   10168   layout=true
   10169 fi
   10170 
   10171 
   10172 if test "$layout" = true; then
   10173   LAYOUT_TRUE=
   10174 else
   10175   LAYOUT_TRUE='#'
   10176 fi
   10177 
   10178 
   10179 # Check whether --with-data-packaging was given.
   10180 if test "${with_data_packaging+set}" = set; then
   10181   withval=$with_data_packaging; case "${withval}" in
   10182                 files|archive|library) datapackaging=$withval ;;
   10183 		auto) datapackaging=$withval ;;
   10184 		common) datapackaging=archive ;;
   10185 		dll) datapackaging=library ;;
   10186 		static) datapackaging=static ;;
   10187 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-data-packaging" >&5
   10188 $as_echo "$as_me: error: bad value ${withval} for --with-data-packaging" >&2;}
   10189    { (exit 1); exit 1; }; } ;;
   10190 		esac
   10191 else
   10192   datapackaging=
   10193 fi
   10194 
   10195 
   10196 # Note:  'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..
   10197 # thesysconfdir=`eval echo $sysconfdir`
   10198 thedatadir=`eval echo $datadir`
   10199 # Always put raw data files in share/icu/{version}, etc.   Never use lib/icu/{version} for data files.. Actual shared libraries will go in {libdir}.
   10200 pkgicudatadir=$datadir
   10201 thepkgicudatadir=$thedatadir
   10202 
   10203 
   10204 
   10205 
   10206 if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then
   10207 	datapackaging=library
   10208 fi
   10209 
   10210 datapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}"
   10211 
   10212 datapackaging_msg="(No explaination for mode $datapackaging.)"
   10213 
   10214 datapackaging_msg_path="ICU will look in $datapackaging_dir which is the installation location. Call u_setDataDirectory() or use the ICU_DATA environment variable to override."
   10215 datapackaging_msg_set="ICU will use the linked data library. If linked with the stub library located in stubdata/, the application can use udata_setCommonData() or set a data path to override."
   10216 datapackaging_howfound="(unknown)"
   10217 
   10218 case "$datapackaging" in
   10219     files)
   10220     DATA_PACKAGING_MODE=files
   10221     datapackaging_msg="ICU data will be stored in individual files."
   10222     datapackaging_howfound="$datapackaging_msg_path"
   10223     ;;
   10224     archive)
   10225     DATA_PACKAGING_MODE=common
   10226     datapackaging_msg="ICU data will be stored in a single .dat file."
   10227     datapackaging_howfound="$datapackaging_msg_path"
   10228     ;;
   10229     library)
   10230     DATA_PACKAGING_MODE=dll
   10231     datapackaging_msg="ICU data will be linked with ICU."
   10232     if test "$ENABLE_STATIC" = "YES"; then
   10233         datapackaging_msg="$datapackaging_msg A static data library will be built. "
   10234     fi
   10235     if test "$ENABLE_SHARED" = "YES"; then
   10236         datapackaging_msg="$datapackaging_msg A shared data library will be built. "
   10237     fi
   10238     datapackaging_howfound="$datapackaging_msg_set"
   10239     ;;
   10240 #    static)
   10241 #	DATA_PACKAGING_MODE=static
   10242 #	;;
   10243 esac
   10244 
   10245 
   10246 # Sets a library suffix
   10247 { $as_echo "$as_me:$LINENO: checking for a library suffix to use" >&5
   10248 $as_echo_n "checking for a library suffix to use... " >&6; }
   10249 
   10250 # Check whether --with-library-suffix was given.
   10251 if test "${with_library_suffix+set}" = set; then
   10252   withval=$with_library_suffix; ICULIBSUFFIX="${withval}"
   10253 else
   10254   ICULIBSUFFIX=
   10255 fi
   10256 
   10257 msg=$ICULIBSUFFIX
   10258 if test "$msg" = ""; then
   10259     msg=none
   10260 fi
   10261 { $as_echo "$as_me:$LINENO: result: $msg" >&5
   10262 $as_echo "$msg" >&6; }
   10263 
   10264 if test "$ICULIBSUFFIX" != ""
   10265 then
   10266     U_HAVE_LIB_SUFFIX=1
   10267     ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`
   10268 else
   10269     U_HAVE_LIB_SUFFIX=0
   10270 fi
   10271 
   10272 
   10273 
   10274 # Enable/disable tests
   10275 # Check whether --enable-tests was given.
   10276 if test "${enable_tests+set}" = set; then
   10277   enableval=$enable_tests; case "${enableval}" in
   10278 		yes) tests=true ;;
   10279 		no)  tests=false ;;
   10280 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tests" >&5
   10281 $as_echo "$as_me: error: bad value ${enableval} for --enable-tests" >&2;}
   10282    { (exit 1); exit 1; }; } ;;
   10283 		esac
   10284 else
   10285   tests=true
   10286 fi
   10287 
   10288 
   10289 if test "$tests" = true; then
   10290   TESTS_TRUE=
   10291 else
   10292   TESTS_TRUE='#'
   10293 fi
   10294 
   10295 # Enable/disable samples
   10296 # Check whether --enable-samples was given.
   10297 if test "${enable_samples+set}" = set; then
   10298   enableval=$enable_samples; case "${enableval}" in
   10299 		yes) samples=true ;;
   10300 		no)  samples=false ;;
   10301 		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
   10302 $as_echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
   10303    { (exit 1); exit 1; }; } ;;
   10304 		esac
   10305 else
   10306   samples=true
   10307 fi
   10308 
   10309 
   10310 if test "$samples" = true; then
   10311   SAMPLES_TRUE=
   10312 else
   10313   SAMPLES_TRUE='#'
   10314 fi
   10315 
   10316 ICUDATA_CHAR=$U_ENDIAN_CHAR
   10317 
   10318 # Platform-specific Makefile setup
   10319 # set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
   10320 case "${host}" in
   10321 	*-*-solaris*) 	platform=U_SOLARIS ;;
   10322 	*-*-linux*) 	platform=U_LINUX ;;
   10323 	*-pc-gnu) 	platform=U_HURD ;;
   10324 	*-*-*bsd*|*-*-dragonfly*) 	platform=U_BSD ;;
   10325 	*-*-aix*) 	platform=U_AIX ;;
   10326 	*-*-hpux*) 	platform=U_HPUX ;;
   10327 	*-apple-darwin*|*-apple-rhapsody*)	platform=U_DARWIN ;;
   10328 	*-*-cygwin*|*-*-mingw*)	platform=U_CYGWIN ;;
   10329 	*-*ibm-openedition*|*-*-os390*)	platform=OS390
   10330 			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
   10331 				ICUDATA_CHAR="e"
   10332 			fi ;;
   10333 	*-*-os400*)	platform=OS400
   10334 			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
   10335 				ICUDATA_CHAR="e"
   10336 			fi ;;
   10337 	*-*-nto*)	platform=U_QNX ;;
   10338 	*-dec-osf*) 	platform=U_OSF ;;
   10339 	*-*-beos)		platform=U_BEOS ;;
   10340 	*-*-irix*)		platform=U_IRIX ;;
   10341 	*-ncr-*)		platform=U_MPRAS ;;
   10342 	*) 		platform=U_UNKNOWN_PLATFORM ;;
   10343 esac
   10344 
   10345 
   10346 platform_make_fragment_name="$icu_cv_host_frag"
   10347 platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"
   10348 
   10349 
   10350 
   10351 if test "${FORCE_LIBS}" != ""; then
   10352    echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}"  1>&6
   10353    LIBS=${FORCE_LIBS}
   10354 fi
   10355 
   10356 
   10357 # Now that we're done using CPPFLAGS etc. for tests, we can change it
   10358 # for build.
   10359 
   10360 if test $ICU_USE_THREADS -ne 0
   10361 then
   10362     CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"
   10363     CFLAGS="$CFLAGS \$(THREADSCFLAGS)"
   10364     CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)"
   10365 fi
   10366 
   10367 # output the Makefiles
   10368 ac_config_files="$ac_config_files icudefs.mk Makefile data/pkgdataMakefile config/Makefile.inc config/pkgdataMakefile data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/uconv/pkgdataMakefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genuca/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gennames/Makefile tools/gentest/Makefile tools/gennorm/Makefile tools/genprops/Makefile tools/gencase/Makefile tools/genbidi/Makefile tools/genpname/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile tools/gencfu/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdataMakefile test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile test/perf/Makefile test/perf/collationperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/strsrchperf/Makefile test/perf/unisetperf/Makefile test/perf/usetperf/Makefile test/perf/ustrperf/Makefile test/perf/utfperf/Makefile test/perf/utrie2perf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile common/unicode/platform.h"
   10369 
   10370 cat >confcache <<\_ACEOF
   10371 # This file is a shell script that caches the results of configure
   10372 # tests run on this system so they can be shared between configure
   10373 # scripts and configure runs, see configure's option --config-cache.
   10374 # It is not useful on other systems.  If it contains results you don't
   10375 # want to keep, you may remove or edit it.
   10376 #
   10377 # config.status only pays attention to the cache file if you give it
   10378 # the --recheck option to rerun configure.
   10379 #
   10380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   10381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   10382 # following values.
   10383 
   10384 _ACEOF
   10385 
   10386 # The following way of writing the cache mishandles newlines in values,
   10387 # but we know of no workaround that is simple, portable, and efficient.
   10388 # So, we kill variables containing newlines.
   10389 # Ultrix sh set writes to stderr and can't be redirected directly,
   10390 # and sets the high bit in the cache file unless we assign to the vars.
   10391 (
   10392   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   10393     eval ac_val=\$$ac_var
   10394     case $ac_val in #(
   10395     *${as_nl}*)
   10396       case $ac_var in #(
   10397       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   10398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   10399       esac
   10400       case $ac_var in #(
   10401       _ | IFS | as_nl) ;; #(
   10402       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   10403       *) $as_unset $ac_var ;;
   10404       esac ;;
   10405     esac
   10406   done
   10407 
   10408   (set) 2>&1 |
   10409     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   10410     *${as_nl}ac_space=\ *)
   10411       # `set' does not quote correctly, so add quotes (double-quote
   10412       # substitution turns \\\\ into \\, and sed turns \\ into \).
   10413       sed -n \
   10414 	"s/'/'\\\\''/g;
   10415 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   10416       ;; #(
   10417     *)
   10418       # `set' quotes correctly as required by POSIX, so do not add quotes.
   10419       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   10420       ;;
   10421     esac |
   10422     sort
   10423 ) |
   10424   sed '
   10425      /^ac_cv_env_/b end
   10426      t clear
   10427      :clear
   10428      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   10429      t end
   10430      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   10431      :end' >>confcache
   10432 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   10433   if test -w "$cache_file"; then
   10434     test "x$cache_file" != "x/dev/null" &&
   10435       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   10436 $as_echo "$as_me: updating cache $cache_file" >&6;}
   10437     cat confcache >$cache_file
   10438   else
   10439     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   10440 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   10441   fi
   10442 fi
   10443 rm -f confcache
   10444 
   10445 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   10446 # Let make expand exec_prefix.
   10447 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   10448 
   10449 DEFS=-DHAVE_CONFIG_H
   10450 
   10451 ac_libobjs=
   10452 ac_ltlibobjs=
   10453 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   10454   # 1. Remove the extension, and $U if already installed.
   10455   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   10456   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   10457   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   10458   #    will be set to the directory where LIBOBJS objects are built.
   10459   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   10460   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   10461 done
   10462 LIBOBJS=$ac_libobjs
   10463 
   10464 LTLIBOBJS=$ac_ltlibobjs
   10465 
   10466 
   10467 
   10468 
   10469 : ${CONFIG_STATUS=./config.status}
   10470 ac_write_fail=0
   10471 ac_clean_files_save=$ac_clean_files
   10472 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   10473 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   10474 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   10475 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10476 #! $SHELL
   10477 # Generated by $as_me.
   10478 # Run this file to recreate the current configuration.
   10479 # Compiler output produced by configure, useful for debugging
   10480 # configure, is in config.log if it exists.
   10481 
   10482 debug=false
   10483 ac_cs_recheck=false
   10484 ac_cs_silent=false
   10485 SHELL=\${CONFIG_SHELL-$SHELL}
   10486 _ACEOF
   10487 
   10488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10489 ## --------------------- ##
   10490 ## M4sh Initialization.  ##
   10491 ## --------------------- ##
   10492 
   10493 # Be more Bourne compatible
   10494 DUALCASE=1; export DUALCASE # for MKS sh
   10495 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   10496   emulate sh
   10497   NULLCMD=:
   10498   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   10499   # is contrary to our usage.  Disable this feature.
   10500   alias -g '${1+"$@"}'='"$@"'
   10501   setopt NO_GLOB_SUBST
   10502 else
   10503   case `(set -o) 2>/dev/null` in
   10504   *posix*) set -o posix ;;
   10505 esac
   10506 
   10507 fi
   10508 
   10509 
   10510 
   10511 
   10512 # PATH needs CR
   10513 # Avoid depending upon Character Ranges.
   10514 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   10515 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   10516 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   10517 as_cr_digits='0123456789'
   10518 as_cr_alnum=$as_cr_Letters$as_cr_digits
   10519 
   10520 as_nl='
   10521 '
   10522 export as_nl
   10523 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   10524 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   10526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   10527 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   10528   as_echo='printf %s\n'
   10529   as_echo_n='printf %s'
   10530 else
   10531   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   10532     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   10533     as_echo_n='/usr/ucb/echo -n'
   10534   else
   10535     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   10536     as_echo_n_body='eval
   10537       arg=$1;
   10538       case $arg in
   10539       *"$as_nl"*)
   10540 	expr "X$arg" : "X\\(.*\\)$as_nl";
   10541 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   10542       esac;
   10543       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   10544     '
   10545     export as_echo_n_body
   10546     as_echo_n='sh -c $as_echo_n_body as_echo'
   10547   fi
   10548   export as_echo_body
   10549   as_echo='sh -c $as_echo_body as_echo'
   10550 fi
   10551 
   10552 # The user is always right.
   10553 if test "${PATH_SEPARATOR+set}" != set; then
   10554   PATH_SEPARATOR=:
   10555   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   10556     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   10557       PATH_SEPARATOR=';'
   10558   }
   10559 fi
   10560 
   10561 # Support unset when possible.
   10562 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   10563   as_unset=unset
   10564 else
   10565   as_unset=false
   10566 fi
   10567 
   10568 
   10569 # IFS
   10570 # We need space, tab and new line, in precisely that order.  Quoting is
   10571 # there to prevent editors from complaining about space-tab.
   10572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   10573 # splitting by setting IFS to empty value.)
   10574 IFS=" ""	$as_nl"
   10575 
   10576 # Find who we are.  Look in the path if we contain no directory separator.
   10577 case $0 in
   10578   *[\\/]* ) as_myself=$0 ;;
   10579   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10580 for as_dir in $PATH
   10581 do
   10582   IFS=$as_save_IFS
   10583   test -z "$as_dir" && as_dir=.
   10584   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   10585 done
   10586 IFS=$as_save_IFS
   10587 
   10588      ;;
   10589 esac
   10590 # We did not find ourselves, most probably we were run as `sh COMMAND'
   10591 # in which case we are not to be found in the path.
   10592 if test "x$as_myself" = x; then
   10593   as_myself=$0
   10594 fi
   10595 if test ! -f "$as_myself"; then
   10596   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   10597   { (exit 1); exit 1; }
   10598 fi
   10599 
   10600 # Work around bugs in pre-3.0 UWIN ksh.
   10601 for as_var in ENV MAIL MAILPATH
   10602 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   10603 done
   10604 PS1='$ '
   10605 PS2='> '
   10606 PS4='+ '
   10607 
   10608 # NLS nuisances.
   10609 LC_ALL=C
   10610 export LC_ALL
   10611 LANGUAGE=C
   10612 export LANGUAGE
   10613 
   10614 # Required to use basename.
   10615 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10616    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10617   as_expr=expr
   10618 else
   10619   as_expr=false
   10620 fi
   10621 
   10622 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   10623   as_basename=basename
   10624 else
   10625   as_basename=false
   10626 fi
   10627 
   10628 
   10629 # Name of the executable.
   10630 as_me=`$as_basename -- "$0" ||
   10631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   10632 	 X"$0" : 'X\(//\)$' \| \
   10633 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   10634 $as_echo X/"$0" |
   10635     sed '/^.*\/\([^/][^/]*\)\/*$/{
   10636 	    s//\1/
   10637 	    q
   10638 	  }
   10639 	  /^X\/\(\/\/\)$/{
   10640 	    s//\1/
   10641 	    q
   10642 	  }
   10643 	  /^X\/\(\/\).*/{
   10644 	    s//\1/
   10645 	    q
   10646 	  }
   10647 	  s/.*/./; q'`
   10648 
   10649 # CDPATH.
   10650 $as_unset CDPATH
   10651 
   10652 
   10653 
   10654   as_lineno_1=$LINENO
   10655   as_lineno_2=$LINENO
   10656   test "x$as_lineno_1" != "x$as_lineno_2" &&
   10657   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   10658 
   10659   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   10660   # uniformly replaced by the line number.  The first 'sed' inserts a
   10661   # line-number line after each line using $LINENO; the second 'sed'
   10662   # does the real work.  The second script uses 'N' to pair each
   10663   # line-number line with the line containing $LINENO, and appends
   10664   # trailing '-' during substitution so that $LINENO is not a special
   10665   # case at line end.
   10666   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   10667   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   10668   # E. McMahon (1931-1989) for sed's syntax.  :-)
   10669   sed -n '
   10670     p
   10671     /[$]LINENO/=
   10672   ' <$as_myself |
   10673     sed '
   10674       s/[$]LINENO.*/&-/
   10675       t lineno
   10676       b
   10677       :lineno
   10678       N
   10679       :loop
   10680       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   10681       t loop
   10682       s/-\n.*//
   10683     ' >$as_me.lineno &&
   10684   chmod +x "$as_me.lineno" ||
   10685     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   10686    { (exit 1); exit 1; }; }
   10687 
   10688   # Don't try to exec as it changes $[0], causing all sort of problems
   10689   # (the dirname of $[0] is not the place where we might find the
   10690   # original and so on.  Autoconf is especially sensitive to this).
   10691   . "./$as_me.lineno"
   10692   # Exit status is that of the last command.
   10693   exit
   10694 }
   10695 
   10696 
   10697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   10698   as_dirname=dirname
   10699 else
   10700   as_dirname=false
   10701 fi
   10702 
   10703 ECHO_C= ECHO_N= ECHO_T=
   10704 case `echo -n x` in
   10705 -n*)
   10706   case `echo 'x\c'` in
   10707   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   10708   *)   ECHO_C='\c';;
   10709   esac;;
   10710 *)
   10711   ECHO_N='-n';;
   10712 esac
   10713 if expr a : '\(a\)' >/dev/null 2>&1 &&
   10714    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   10715   as_expr=expr
   10716 else
   10717   as_expr=false
   10718 fi
   10719 
   10720 rm -f conf$$ conf$$.exe conf$$.file
   10721 if test -d conf$$.dir; then
   10722   rm -f conf$$.dir/conf$$.file
   10723 else
   10724   rm -f conf$$.dir
   10725   mkdir conf$$.dir 2>/dev/null
   10726 fi
   10727 if (echo >conf$$.file) 2>/dev/null; then
   10728   if ln -s conf$$.file conf$$ 2>/dev/null; then
   10729     as_ln_s='ln -s'
   10730     # ... but there are two gotchas:
   10731     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   10732     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   10733     # In both cases, we have to default to `cp -p'.
   10734     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   10735       as_ln_s='cp -p'
   10736   elif ln conf$$.file conf$$ 2>/dev/null; then
   10737     as_ln_s=ln
   10738   else
   10739     as_ln_s='cp -p'
   10740   fi
   10741 else
   10742   as_ln_s='cp -p'
   10743 fi
   10744 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   10745 rmdir conf$$.dir 2>/dev/null
   10746 
   10747 if mkdir -p . 2>/dev/null; then
   10748   as_mkdir_p=:
   10749 else
   10750   test -d ./-p && rmdir ./-p
   10751   as_mkdir_p=false
   10752 fi
   10753 
   10754 if test -x / >/dev/null 2>&1; then
   10755   as_test_x='test -x'
   10756 else
   10757   if ls -dL / >/dev/null 2>&1; then
   10758     as_ls_L_option=L
   10759   else
   10760     as_ls_L_option=
   10761   fi
   10762   as_test_x='
   10763     eval sh -c '\''
   10764       if test -d "$1"; then
   10765 	test -d "$1/.";
   10766       else
   10767 	case $1 in
   10768 	-*)set "./$1";;
   10769 	esac;
   10770 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   10771 	???[sx]*):;;*)false;;esac;fi
   10772     '\'' sh
   10773   '
   10774 fi
   10775 as_executable_p=$as_test_x
   10776 
   10777 # Sed expression to map a string onto a valid CPP name.
   10778 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   10779 
   10780 # Sed expression to map a string onto a valid variable name.
   10781 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   10782 
   10783 
   10784 exec 6>&1
   10785 
   10786 # Save the log message, to keep $[0] and so on meaningful, and to
   10787 # report actual input values of CONFIG_FILES etc. instead of their
   10788 # values after options handling.
   10789 ac_log="
   10790 This file was extended by $as_me, which was
   10791 generated by GNU Autoconf 2.63.  Invocation command line was
   10792 
   10793   CONFIG_FILES    = $CONFIG_FILES
   10794   CONFIG_HEADERS  = $CONFIG_HEADERS
   10795   CONFIG_LINKS    = $CONFIG_LINKS
   10796   CONFIG_COMMANDS = $CONFIG_COMMANDS
   10797   $ $0 $@
   10798 
   10799 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   10800 "
   10801 
   10802 _ACEOF
   10803 
   10804 case $ac_config_files in *"
   10805 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   10806 esac
   10807 
   10808 case $ac_config_headers in *"
   10809 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   10810 esac
   10811 
   10812 
   10813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10814 # Files that config.status was made for.
   10815 config_files="$ac_config_files"
   10816 config_headers="$ac_config_headers"
   10817 
   10818 _ACEOF
   10819 
   10820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10821 ac_cs_usage="\
   10822 \`$as_me' instantiates files from templates according to the
   10823 current configuration.
   10824 
   10825 Usage: $0 [OPTION]... [FILE]...
   10826 
   10827   -h, --help       print this help, then exit
   10828   -V, --version    print version number and configuration settings, then exit
   10829   -q, --quiet, --silent
   10830                    do not print progress messages
   10831   -d, --debug      don't remove temporary files
   10832       --recheck    update $as_me by reconfiguring in the same conditions
   10833       --file=FILE[:TEMPLATE]
   10834                    instantiate the configuration file FILE
   10835       --header=FILE[:TEMPLATE]
   10836                    instantiate the configuration header FILE
   10837 
   10838 Configuration files:
   10839 $config_files
   10840 
   10841 Configuration headers:
   10842 $config_headers
   10843 
   10844 Report bugs to <bug-autoconf (at] gnu.org>."
   10845 
   10846 _ACEOF
   10847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10848 ac_cs_version="\\
   10849 config.status
   10850 configured by $0, generated by GNU Autoconf 2.63,
   10851   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   10852 
   10853 Copyright (C) 2008 Free Software Foundation, Inc.
   10854 This config.status script is free software; the Free Software Foundation
   10855 gives unlimited permission to copy, distribute and modify it."
   10856 
   10857 ac_pwd='$ac_pwd'
   10858 srcdir='$srcdir'
   10859 INSTALL='$INSTALL'
   10860 test -n "\$AWK" || AWK=awk
   10861 _ACEOF
   10862 
   10863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10864 # The default lists apply if the user does not specify any file.
   10865 ac_need_defaults=:
   10866 while test $# != 0
   10867 do
   10868   case $1 in
   10869   --*=*)
   10870     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   10871     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   10872     ac_shift=:
   10873     ;;
   10874   *)
   10875     ac_option=$1
   10876     ac_optarg=$2
   10877     ac_shift=shift
   10878     ;;
   10879   esac
   10880 
   10881   case $ac_option in
   10882   # Handling of the options.
   10883   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   10884     ac_cs_recheck=: ;;
   10885   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   10886     $as_echo "$ac_cs_version"; exit ;;
   10887   --debug | --debu | --deb | --de | --d | -d )
   10888     debug=: ;;
   10889   --file | --fil | --fi | --f )
   10890     $ac_shift
   10891     case $ac_optarg in
   10892     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10893     esac
   10894     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   10895     ac_need_defaults=false;;
   10896   --header | --heade | --head | --hea )
   10897     $ac_shift
   10898     case $ac_optarg in
   10899     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   10900     esac
   10901     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   10902     ac_need_defaults=false;;
   10903   --he | --h)
   10904     # Conflict between --help and --header
   10905     { $as_echo "$as_me: error: ambiguous option: $1
   10906 Try \`$0 --help' for more information." >&2
   10907    { (exit 1); exit 1; }; };;
   10908   --help | --hel | -h )
   10909     $as_echo "$ac_cs_usage"; exit ;;
   10910   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   10911   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   10912     ac_cs_silent=: ;;
   10913 
   10914   # This is an error.
   10915   -*) { $as_echo "$as_me: error: unrecognized option: $1
   10916 Try \`$0 --help' for more information." >&2
   10917    { (exit 1); exit 1; }; } ;;
   10918 
   10919   *) ac_config_targets="$ac_config_targets $1"
   10920      ac_need_defaults=false ;;
   10921 
   10922   esac
   10923   shift
   10924 done
   10925 
   10926 ac_configure_extra_args=
   10927 
   10928 if $ac_cs_silent; then
   10929   exec 6>/dev/null
   10930   ac_configure_extra_args="$ac_configure_extra_args --silent"
   10931 fi
   10932 
   10933 _ACEOF
   10934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10935 if \$ac_cs_recheck; then
   10936   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   10937   shift
   10938   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   10939   CONFIG_SHELL='$SHELL'
   10940   export CONFIG_SHELL
   10941   exec "\$@"
   10942 fi
   10943 
   10944 _ACEOF
   10945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10946 exec 5>>config.log
   10947 {
   10948   echo
   10949   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   10950 ## Running $as_me. ##
   10951 _ASBOX
   10952   $as_echo "$ac_log"
   10953 } >&5
   10954 
   10955 _ACEOF
   10956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   10957 _ACEOF
   10958 
   10959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   10960 
   10961 # Handling of arguments.
   10962 for ac_config_target in $ac_config_targets
   10963 do
   10964   case $ac_config_target in
   10965     "common/icucfg.h") CONFIG_HEADERS="$CONFIG_HEADERS common/icucfg.h" ;;
   10966     "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;
   10967     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   10968     "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;;
   10969     "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;
   10970     "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;;
   10971     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
   10972     "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;
   10973     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
   10974     "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
   10975     "layout/Makefile") CONFIG_FILES="$CONFIG_FILES layout/Makefile" ;;
   10976     "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;
   10977     "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
   10978     "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
   10979     "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;
   10980     "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;
   10981     "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;
   10982     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   10983     "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;
   10984     "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;
   10985     "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;
   10986     "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;
   10987     "tools/genuca/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genuca/Makefile" ;;
   10988     "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;
   10989     "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;
   10990     "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;
   10991     "tools/genctd/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genctd/Makefile" ;;
   10992     "tools/gennames/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennames/Makefile" ;;
   10993     "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;
   10994     "tools/gennorm/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm/Makefile" ;;
   10995     "tools/genprops/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genprops/Makefile" ;;
   10996     "tools/gencase/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencase/Makefile" ;;
   10997     "tools/genbidi/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbidi/Makefile" ;;
   10998     "tools/genpname/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genpname/Makefile" ;;
   10999     "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;
   11000     "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;
   11001     "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;;
   11002     "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;
   11003     "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;
   11004     "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;;
   11005     "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;;
   11006     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   11007     "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;;
   11008     "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;
   11009     "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;
   11010     "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;
   11011     "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;
   11012     "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;
   11013     "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;
   11014     "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;
   11015     "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;;
   11016     "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
   11017     "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
   11018     "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;;
   11019     "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;;
   11020     "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;;
   11021     "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;
   11022     "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
   11023     "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
   11024     "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
   11025     "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
   11026     "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;
   11027     "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
   11028     "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;
   11029     "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;
   11030     "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
   11031     "common/unicode/platform.h") CONFIG_FILES="$CONFIG_FILES common/unicode/platform.h" ;;
   11032 
   11033   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   11034 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   11035    { (exit 1); exit 1; }; };;
   11036   esac
   11037 done
   11038 
   11039 
   11040 # If the user did not use the arguments to specify the items to instantiate,
   11041 # then the envvar interface is used.  Set only those that are not.
   11042 # We use the long form for the default assignment because of an extremely
   11043 # bizarre bug on SunOS 4.1.3.
   11044 if $ac_need_defaults; then
   11045   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11046   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11047 fi
   11048 
   11049 # Have a temporary directory for convenience.  Make it in the build tree
   11050 # simply because there is no reason against having it here, and in addition,
   11051 # creating and moving files from /tmp can sometimes cause problems.
   11052 # Hook for its removal unless debugging.
   11053 # Note that there is a small window in which the directory will not be cleaned:
   11054 # after its creation but before its name has been assigned to `$tmp'.
   11055 $debug ||
   11056 {
   11057   tmp=
   11058   trap 'exit_status=$?
   11059   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   11060 ' 0
   11061   trap '{ (exit 1); exit 1; }' 1 2 13 15
   11062 }
   11063 # Create a (secure) tmp directory for tmp files.
   11064 
   11065 {
   11066   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11067   test -n "$tmp" && test -d "$tmp"
   11068 }  ||
   11069 {
   11070   tmp=./conf$$-$RANDOM
   11071   (umask 077 && mkdir "$tmp")
   11072 } ||
   11073 {
   11074    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   11075    { (exit 1); exit 1; }
   11076 }
   11077 
   11078 # Set up the scripts for CONFIG_FILES section.
   11079 # No need to generate them if there are no CONFIG_FILES.
   11080 # This happens for instance with `./config.status config.h'.
   11081 if test -n "$CONFIG_FILES"; then
   11082 
   11083 
   11084 ac_cr=`echo X |tr X "\015"`
   11085 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11086 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11087   ac_cs_awk_cr='\\r'
   11088 else
   11089   ac_cs_awk_cr=$ac_cr
   11090 fi
   11091 
   11092 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   11093 _ACEOF
   11094 
   11095 
   11096 {
   11097   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11098   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11099   echo "_ACEOF"
   11100 } >conf$$subs.sh ||
   11101   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   11102 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   11103    { (exit 1); exit 1; }; }
   11104 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   11105 ac_delim='%!_!# '
   11106 for ac_last_try in false false false false false :; do
   11107   . ./conf$$subs.sh ||
   11108     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   11109 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   11110    { (exit 1); exit 1; }; }
   11111 
   11112   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11113   if test $ac_delim_n = $ac_delim_num; then
   11114     break
   11115   elif $ac_last_try; then
   11116     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   11117 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   11118    { (exit 1); exit 1; }; }
   11119   else
   11120     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11121   fi
   11122 done
   11123 rm -f conf$$subs.sh
   11124 
   11125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11126 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   11127 _ACEOF
   11128 sed -n '
   11129 h
   11130 s/^/S["/; s/!.*/"]=/
   11131 p
   11132 g
   11133 s/^[^!]*!//
   11134 :repl
   11135 t repl
   11136 s/'"$ac_delim"'$//
   11137 t delim
   11138 :nl
   11139 h
   11140 s/\(.\{148\}\).*/\1/
   11141 t more1
   11142 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11143 p
   11144 n
   11145 b repl
   11146 :more1
   11147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11148 p
   11149 g
   11150 s/.\{148\}//
   11151 t nl
   11152 :delim
   11153 h
   11154 s/\(.\{148\}\).*/\1/
   11155 t more2
   11156 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11157 p
   11158 b
   11159 :more2
   11160 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11161 p
   11162 g
   11163 s/.\{148\}//
   11164 t delim
   11165 ' <conf$$subs.awk | sed '
   11166 /^[^""]/{
   11167   N
   11168   s/\n//
   11169 }
   11170 ' >>$CONFIG_STATUS || ac_write_fail=1
   11171 rm -f conf$$subs.awk
   11172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11173 _ACAWK
   11174 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   11175   for (key in S) S_is_set[key] = 1
   11176   FS = ""
   11177 
   11178 }
   11179 {
   11180   line = $ 0
   11181   nfields = split(line, field, "@")
   11182   substed = 0
   11183   len = length(field[1])
   11184   for (i = 2; i < nfields; i++) {
   11185     key = field[i]
   11186     keylen = length(key)
   11187     if (S_is_set[key]) {
   11188       value = S[key]
   11189       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11190       len += length(value) + length(field[++i])
   11191       substed = 1
   11192     } else
   11193       len += 1 + keylen
   11194   }
   11195 
   11196   print line
   11197 }
   11198 
   11199 _ACAWK
   11200 _ACEOF
   11201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11202 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11203   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11204 else
   11205   cat
   11206 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   11207   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   11208 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   11209    { (exit 1); exit 1; }; }
   11210 _ACEOF
   11211 
   11212 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   11213 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   11214 # trailing colons and then remove the whole line if VPATH becomes empty
   11215 # (actually we leave an empty line to preserve line numbers).
   11216 if test "x$srcdir" = x.; then
   11217   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   11218 s/:*\$(srcdir):*/:/
   11219 s/:*\${srcdir}:*/:/
   11220 s/:*@srcdir@:*/:/
   11221 s/^\([^=]*=[	 ]*\):*/\1/
   11222 s/:*$//
   11223 s/^[^=]*=[	 ]*$//
   11224 }'
   11225 fi
   11226 
   11227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11228 fi # test -n "$CONFIG_FILES"
   11229 
   11230 # Set up the scripts for CONFIG_HEADERS section.
   11231 # No need to generate them if there are no CONFIG_HEADERS.
   11232 # This happens for instance with `./config.status Makefile'.
   11233 if test -n "$CONFIG_HEADERS"; then
   11234 cat >"$tmp/defines.awk" <<\_ACAWK ||
   11235 BEGIN {
   11236 _ACEOF
   11237 
   11238 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11239 # here-document in config.status, that substitutes the proper values into
   11240 # config.h.in to produce config.h.
   11241 
   11242 # Create a delimiter string that does not exist in confdefs.h, to ease
   11243 # handling of long lines.
   11244 ac_delim='%!_!# '
   11245 for ac_last_try in false false :; do
   11246   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   11247   if test -z "$ac_t"; then
   11248     break
   11249   elif $ac_last_try; then
   11250     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   11251 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   11252    { (exit 1); exit 1; }; }
   11253   else
   11254     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11255   fi
   11256 done
   11257 
   11258 # For the awk script, D is an array of macro values keyed by name,
   11259 # likewise P contains macro parameters if any.  Preserve backslash
   11260 # newline sequences.
   11261 
   11262 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   11263 sed -n '
   11264 s/.\{148\}/&'"$ac_delim"'/g
   11265 t rset
   11266 :rset
   11267 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   11268 t def
   11269 d
   11270 :def
   11271 s/\\$//
   11272 t bsnl
   11273 s/["\\]/\\&/g
   11274 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11275 D["\1"]=" \3"/p
   11276 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   11277 d
   11278 :bsnl
   11279 s/["\\]/\\&/g
   11280 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   11281 D["\1"]=" \3\\\\\\n"\\/p
   11282 t cont
   11283 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   11284 t cont
   11285 d
   11286 :cont
   11287 n
   11288 s/.\{148\}/&'"$ac_delim"'/g
   11289 t clear
   11290 :clear
   11291 s/\\$//
   11292 t bsnlc
   11293 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   11294 d
   11295 :bsnlc
   11296 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   11297 b cont
   11298 ' <confdefs.h | sed '
   11299 s/'"$ac_delim"'/"\\\
   11300 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   11301 
   11302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11303   for (key in D) D_is_set[key] = 1
   11304   FS = ""
   11305 }
   11306 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   11307   line = \$ 0
   11308   split(line, arg, " ")
   11309   if (arg[1] == "#") {
   11310     defundef = arg[2]
   11311     mac1 = arg[3]
   11312   } else {
   11313     defundef = substr(arg[1], 2)
   11314     mac1 = arg[2]
   11315   }
   11316   split(mac1, mac2, "(") #)
   11317   macro = mac2[1]
   11318   prefix = substr(line, 1, index(line, defundef) - 1)
   11319   if (D_is_set[macro]) {
   11320     # Preserve the white space surrounding the "#".
   11321     print prefix "define", macro P[macro] D[macro]
   11322     next
   11323   } else {
   11324     # Replace #undef with comments.  This is necessary, for example,
   11325     # in the case of _POSIX_SOURCE, which is predefined and required
   11326     # on some systems where configure will not decide to define it.
   11327     if (defundef == "undef") {
   11328       print "/*", prefix defundef, macro, "*/"
   11329       next
   11330     }
   11331   }
   11332 }
   11333 { print }
   11334 _ACAWK
   11335 _ACEOF
   11336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11337   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   11338 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   11339    { (exit 1); exit 1; }; }
   11340 fi # test -n "$CONFIG_HEADERS"
   11341 
   11342 
   11343 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
   11344 shift
   11345 for ac_tag
   11346 do
   11347   case $ac_tag in
   11348   :[FHLC]) ac_mode=$ac_tag; continue;;
   11349   esac
   11350   case $ac_mode$ac_tag in
   11351   :[FHL]*:*);;
   11352   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   11353 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   11354    { (exit 1); exit 1; }; };;
   11355   :[FH]-) ac_tag=-:-;;
   11356   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   11357   esac
   11358   ac_save_IFS=$IFS
   11359   IFS=:
   11360   set x $ac_tag
   11361   IFS=$ac_save_IFS
   11362   shift
   11363   ac_file=$1
   11364   shift
   11365 
   11366   case $ac_mode in
   11367   :L) ac_source=$1;;
   11368   :[FH])
   11369     ac_file_inputs=
   11370     for ac_f
   11371     do
   11372       case $ac_f in
   11373       -) ac_f="$tmp/stdin";;
   11374       *) # Look for the file first in the build tree, then in the source tree
   11375 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   11376 	 # because $ac_f cannot contain `:'.
   11377 	 test -f "$ac_f" ||
   11378 	   case $ac_f in
   11379 	   [\\/$]*) false;;
   11380 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   11381 	   esac ||
   11382 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   11383 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   11384    { (exit 1); exit 1; }; };;
   11385       esac
   11386       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   11387       ac_file_inputs="$ac_file_inputs '$ac_f'"
   11388     done
   11389 
   11390     # Let's still pretend it is `configure' which instantiates (i.e., don't
   11391     # use $as_me), people would be surprised to read:
   11392     #    /* config.h.  Generated by config.status.  */
   11393     configure_input='Generated from '`
   11394 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   11395 	`' by configure.'
   11396     if test x"$ac_file" != x-; then
   11397       configure_input="$ac_file.  $configure_input"
   11398       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   11399 $as_echo "$as_me: creating $ac_file" >&6;}
   11400     fi
   11401     # Neutralize special characters interpreted by sed in replacement strings.
   11402     case $configure_input in #(
   11403     *\&* | *\|* | *\\* )
   11404        ac_sed_conf_input=`$as_echo "$configure_input" |
   11405        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   11406     *) ac_sed_conf_input=$configure_input;;
   11407     esac
   11408 
   11409     case $ac_tag in
   11410     *:-:* | *:-) cat >"$tmp/stdin" \
   11411       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   11412 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   11413    { (exit 1); exit 1; }; } ;;
   11414     esac
   11415     ;;
   11416   esac
   11417 
   11418   ac_dir=`$as_dirname -- "$ac_file" ||
   11419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11420 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   11421 	 X"$ac_file" : 'X\(//\)$' \| \
   11422 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   11423 $as_echo X"$ac_file" |
   11424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11425 	    s//\1/
   11426 	    q
   11427 	  }
   11428 	  /^X\(\/\/\)[^/].*/{
   11429 	    s//\1/
   11430 	    q
   11431 	  }
   11432 	  /^X\(\/\/\)$/{
   11433 	    s//\1/
   11434 	    q
   11435 	  }
   11436 	  /^X\(\/\).*/{
   11437 	    s//\1/
   11438 	    q
   11439 	  }
   11440 	  s/.*/./; q'`
   11441   { as_dir="$ac_dir"
   11442   case $as_dir in #(
   11443   -*) as_dir=./$as_dir;;
   11444   esac
   11445   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   11446     as_dirs=
   11447     while :; do
   11448       case $as_dir in #(
   11449       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11450       *) as_qdir=$as_dir;;
   11451       esac
   11452       as_dirs="'$as_qdir' $as_dirs"
   11453       as_dir=`$as_dirname -- "$as_dir" ||
   11454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11455 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11456 	 X"$as_dir" : 'X\(//\)$' \| \
   11457 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11458 $as_echo X"$as_dir" |
   11459     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11460 	    s//\1/
   11461 	    q
   11462 	  }
   11463 	  /^X\(\/\/\)[^/].*/{
   11464 	    s//\1/
   11465 	    q
   11466 	  }
   11467 	  /^X\(\/\/\)$/{
   11468 	    s//\1/
   11469 	    q
   11470 	  }
   11471 	  /^X\(\/\).*/{
   11472 	    s//\1/
   11473 	    q
   11474 	  }
   11475 	  s/.*/./; q'`
   11476       test -d "$as_dir" && break
   11477     done
   11478     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11479   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   11480 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   11481    { (exit 1); exit 1; }; }; }
   11482   ac_builddir=.
   11483 
   11484 case "$ac_dir" in
   11485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11486 *)
   11487   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   11488   # A ".." for each directory in $ac_dir_suffix.
   11489   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   11490   case $ac_top_builddir_sub in
   11491   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   11492   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   11493   esac ;;
   11494 esac
   11495 ac_abs_top_builddir=$ac_pwd
   11496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   11497 # for backward compatibility:
   11498 ac_top_builddir=$ac_top_build_prefix
   11499 
   11500 case $srcdir in
   11501   .)  # We are building in place.
   11502     ac_srcdir=.
   11503     ac_top_srcdir=$ac_top_builddir_sub
   11504     ac_abs_top_srcdir=$ac_pwd ;;
   11505   [\\/]* | ?:[\\/]* )  # Absolute name.
   11506     ac_srcdir=$srcdir$ac_dir_suffix;
   11507     ac_top_srcdir=$srcdir
   11508     ac_abs_top_srcdir=$srcdir ;;
   11509   *) # Relative name.
   11510     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   11511     ac_top_srcdir=$ac_top_build_prefix$srcdir
   11512     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   11513 esac
   11514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   11515 
   11516 
   11517   case $ac_mode in
   11518   :F)
   11519   #
   11520   # CONFIG_FILE
   11521   #
   11522 
   11523   case $INSTALL in
   11524   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   11525   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   11526   esac
   11527 _ACEOF
   11528 
   11529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11530 # If the template does not know about datarootdir, expand it.
   11531 # FIXME: This hack should be removed a few years after 2.60.
   11532 ac_datarootdir_hack=; ac_datarootdir_seen=
   11533 
   11534 ac_sed_dataroot='
   11535 /datarootdir/ {
   11536   p
   11537   q
   11538 }
   11539 /@datadir@/p
   11540 /@docdir@/p
   11541 /@infodir@/p
   11542 /@localedir@/p
   11543 /@mandir@/p
   11544 '
   11545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   11546 *datarootdir*) ac_datarootdir_seen=yes;;
   11547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   11548   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   11549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   11550 _ACEOF
   11551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11552   ac_datarootdir_hack='
   11553   s&@datadir@&$datadir&g
   11554   s&@docdir@&$docdir&g
   11555   s&@infodir@&$infodir&g
   11556   s&@localedir@&$localedir&g
   11557   s&@mandir@&$mandir&g
   11558     s&\\\${datarootdir}&$datarootdir&g' ;;
   11559 esac
   11560 _ACEOF
   11561 
   11562 # Neutralize VPATH when `$srcdir' = `.'.
   11563 # Shell code in configure.ac might set extrasub.
   11564 # FIXME: do we really want to maintain this feature?
   11565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11566 ac_sed_extra="$ac_vpsub
   11567 $extrasub
   11568 _ACEOF
   11569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11570 :t
   11571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   11572 s|@configure_input@|$ac_sed_conf_input|;t t
   11573 s&@top_builddir@&$ac_top_builddir_sub&;t t
   11574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   11575 s&@srcdir@&$ac_srcdir&;t t
   11576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   11577 s&@top_srcdir@&$ac_top_srcdir&;t t
   11578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   11579 s&@builddir@&$ac_builddir&;t t
   11580 s&@abs_builddir@&$ac_abs_builddir&;t t
   11581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   11582 s&@INSTALL@&$ac_INSTALL&;t t
   11583 $ac_datarootdir_hack
   11584 "
   11585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   11586   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   11587 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   11588    { (exit 1); exit 1; }; }
   11589 
   11590 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   11591   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   11592   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   11593   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11594 which seems to be undefined.  Please make sure it is defined." >&5
   11595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   11596 which seems to be undefined.  Please make sure it is defined." >&2;}
   11597 
   11598   rm -f "$tmp/stdin"
   11599   case $ac_file in
   11600   -) cat "$tmp/out" && rm -f "$tmp/out";;
   11601   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   11602   esac \
   11603   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   11604 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   11605    { (exit 1); exit 1; }; }
   11606  ;;
   11607   :H)
   11608   #
   11609   # CONFIG_HEADER
   11610   #
   11611   if test x"$ac_file" != x-; then
   11612     {
   11613       $as_echo "/* $configure_input  */" \
   11614       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   11615     } >"$tmp/config.h" \
   11616       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   11617 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   11618    { (exit 1); exit 1; }; }
   11619     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   11620       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   11621 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   11622     else
   11623       rm -f "$ac_file"
   11624       mv "$tmp/config.h" "$ac_file" \
   11625 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   11626 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   11627    { (exit 1); exit 1; }; }
   11628     fi
   11629   else
   11630     $as_echo "/* $configure_input  */" \
   11631       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   11632       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   11633 $as_echo "$as_me: error: could not create -" >&2;}
   11634    { (exit 1); exit 1; }; }
   11635   fi
   11636  ;;
   11637 
   11638 
   11639   esac
   11640 
   11641 done # for ac_tag
   11642 
   11643 
   11644 { (exit 0); exit 0; }
   11645 _ACEOF
   11646 chmod +x $CONFIG_STATUS
   11647 ac_clean_files=$ac_clean_files_save
   11648 
   11649 test $ac_write_fail = 0 ||
   11650   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   11651 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   11652    { (exit 1); exit 1; }; }
   11653 
   11654 
   11655 # configure is writing to config.log, and then calls config.status.
   11656 # config.status does its own redirection, appending to config.log.
   11657 # Unfortunately, on DOS this fails, as config.log is still kept open
   11658 # by configure, so config.status won't be able to write to it; its
   11659 # output is simply discarded.  So we exec the FD to /dev/null,
   11660 # effectively closing config.log, so it can be properly (re)opened and
   11661 # appended to by config.status.  When coming back to configure, we
   11662 # need to make the FD available again.
   11663 if test "$no_create" != yes; then
   11664   ac_cs_success=:
   11665   ac_config_status_args=
   11666   test "$silent" = yes &&
   11667     ac_config_status_args="$ac_config_status_args --quiet"
   11668   exec 5>/dev/null
   11669   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   11670   exec 5>>config.log
   11671   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   11672   # would make configure fail if this is the last instruction.
   11673   $ac_cs_success || { (exit 1); exit 1; }
   11674 fi
   11675 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   11676   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   11677 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   11678 fi
   11679 
   11680 
   11681 echo
   11682 echo "ICU for C/C++ $VERSION is ready to be built."
   11683 echo "=== Important Notes: ==="
   11684 
   11685 if test $ICU_USE_THREADS = 0; then
   11686   echo
   11687   echo  "** ICU was configured without mutex or thread support. Multithread-safe operation will not be tested. If this is unexpected, then run configure with --enable-threads=yes or check the messages above to see why thread support was not found." 1>&6
   11688   echo
   11689 fi
   11690 
   11691 echo "Data Packaging: $datapackaging"
   11692 echo " This means: $datapackaging_msg"
   11693 echo " To locate data: $datapackaging_howfound"
   11694 
   11695 if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
   11696 echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."
   11697 else
   11698 echo "** WARNING: $U_MAKE may not be GNU make."
   11699 echo "This may cause ICU to fail to build. Please make sure that GNU make"
   11700 echo "is in your PATH so that the configure script can detect its location."
   11701 fi
   11702 
   11703 { $as_echo "$as_me:$LINENO: checking the version of \"$U_MAKE\"" >&5
   11704 $as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }
   11705 if "$U_MAKE" -f "$srcdir/config/gmakever.mk"; then
   11706 { $as_echo "$as_me:$LINENO: result: ok" >&5
   11707 $as_echo "ok" >&6; }
   11708 else
   11709 { $as_echo "$as_me:$LINENO: result: too old or test failed - try upgrading GNU Make" >&5
   11710 $as_echo "too old or test failed - try upgrading GNU Make" >&6; }
   11711 fi
   11712 
   11713 $as_unset _CXX_CXXSUFFIX
   11714