Home | History | Annotate | Download | only in icu4c
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68.
      4 #
      5 #  Copyright (c) 1999-2012, International Business Machines Corporation and others. All Rights Reserved.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    242 $0: including any error possibly output before this
    243 $0: message. Then install a modern shell, or manually run
    244 $0: the script under such a shell if you do have one."
    245   fi
    246   exit 1
    247 fi
    248 fi
    249 fi
    250 SHELL=${CONFIG_SHELL-/bin/sh}
    251 export SHELL
    252 # Unset more variables known to interfere with behavior of common tools.
    253 CLICOLOR_FORCE= GREP_OPTIONS=
    254 unset CLICOLOR_FORCE GREP_OPTIONS
    255 
    256 ## --------------------- ##
    257 ## M4sh Shell Functions. ##
    258 ## --------------------- ##
    259 # as_fn_unset VAR
    260 # ---------------
    261 # Portably unset VAR.
    262 as_fn_unset ()
    263 {
    264   { eval $1=; unset $1;}
    265 }
    266 as_unset=as_fn_unset
    267 
    268 # as_fn_set_status STATUS
    269 # -----------------------
    270 # Set $? to STATUS, without forking.
    271 as_fn_set_status ()
    272 {
    273   return $1
    274 } # as_fn_set_status
    275 
    276 # as_fn_exit STATUS
    277 # -----------------
    278 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    279 as_fn_exit ()
    280 {
    281   set +e
    282   as_fn_set_status $1
    283   exit $1
    284 } # as_fn_exit
    285 
    286 # as_fn_mkdir_p
    287 # -------------
    288 # Create "$as_dir" as a directory, including parents if necessary.
    289 as_fn_mkdir_p ()
    290 {
    291 
    292   case $as_dir in #(
    293   -*) as_dir=./$as_dir;;
    294   esac
    295   test -d "$as_dir" || eval $as_mkdir_p || {
    296     as_dirs=
    297     while :; do
    298       case $as_dir in #(
    299       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    300       *) as_qdir=$as_dir;;
    301       esac
    302       as_dirs="'$as_qdir' $as_dirs"
    303       as_dir=`$as_dirname -- "$as_dir" ||
    304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    305 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    306 	 X"$as_dir" : 'X\(//\)$' \| \
    307 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    308 $as_echo X"$as_dir" |
    309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    310 	    s//\1/
    311 	    q
    312 	  }
    313 	  /^X\(\/\/\)[^/].*/{
    314 	    s//\1/
    315 	    q
    316 	  }
    317 	  /^X\(\/\/\)$/{
    318 	    s//\1/
    319 	    q
    320 	  }
    321 	  /^X\(\/\).*/{
    322 	    s//\1/
    323 	    q
    324 	  }
    325 	  s/.*/./; q'`
    326       test -d "$as_dir" && break
    327     done
    328     test -z "$as_dirs" || eval "mkdir $as_dirs"
    329   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    330 
    331 
    332 } # as_fn_mkdir_p
    333 # as_fn_append VAR VALUE
    334 # ----------------------
    335 # Append the text in VALUE to the end of the definition contained in VAR. Take
    336 # advantage of any shell optimizations that allow amortized linear growth over
    337 # repeated appends, instead of the typical quadratic growth present in naive
    338 # implementations.
    339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    340   eval 'as_fn_append ()
    341   {
    342     eval $1+=\$2
    343   }'
    344 else
    345   as_fn_append ()
    346   {
    347     eval $1=\$$1\$2
    348   }
    349 fi # as_fn_append
    350 
    351 # as_fn_arith ARG...
    352 # ------------------
    353 # Perform arithmetic evaluation on the ARGs, and store the result in the
    354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    355 # must be portable across $(()) and expr.
    356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    357   eval 'as_fn_arith ()
    358   {
    359     as_val=$(( $* ))
    360   }'
    361 else
    362   as_fn_arith ()
    363   {
    364     as_val=`expr "$@" || test $? -eq 1`
    365   }
    366 fi # as_fn_arith
    367 
    368 
    369 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    370 # ----------------------------------------
    371 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    372 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    373 # script with STATUS, using 1 if that was 0.
    374 as_fn_error ()
    375 {
    376   as_status=$1; test $as_status -eq 0 && as_status=1
    377   if test "$4"; then
    378     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    379     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    380   fi
    381   $as_echo "$as_me: error: $2" >&2
    382   as_fn_exit $as_status
    383 } # as_fn_error
    384 
    385 if expr a : '\(a\)' >/dev/null 2>&1 &&
    386    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    387   as_expr=expr
    388 else
    389   as_expr=false
    390 fi
    391 
    392 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    393   as_basename=basename
    394 else
    395   as_basename=false
    396 fi
    397 
    398 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    399   as_dirname=dirname
    400 else
    401   as_dirname=false
    402 fi
    403 
    404 as_me=`$as_basename -- "$0" ||
    405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    406 	 X"$0" : 'X\(//\)$' \| \
    407 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    408 $as_echo X/"$0" |
    409     sed '/^.*\/\([^/][^/]*\)\/*$/{
    410 	    s//\1/
    411 	    q
    412 	  }
    413 	  /^X\/\(\/\/\)$/{
    414 	    s//\1/
    415 	    q
    416 	  }
    417 	  /^X\/\(\/\).*/{
    418 	    s//\1/
    419 	    q
    420 	  }
    421 	  s/.*/./; q'`
    422 
    423 # Avoid depending upon Character Ranges.
    424 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    425 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    426 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    427 as_cr_digits='0123456789'
    428 as_cr_alnum=$as_cr_Letters$as_cr_digits
    429 
    430 
    431   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    432   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    433   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    434   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    435   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    436   sed -n '
    437     p
    438     /[$]LINENO/=
    439   ' <$as_myself |
    440     sed '
    441       s/[$]LINENO.*/&-/
    442       t lineno
    443       b
    444       :lineno
    445       N
    446       :loop
    447       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    448       t loop
    449       s/-\n.*//
    450     ' >$as_me.lineno &&
    451   chmod +x "$as_me.lineno" ||
    452     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    453 
    454   # Don't try to exec as it changes $[0], causing all sort of problems
    455   # (the dirname of $[0] is not the place where we might find the
    456   # original and so on.  Autoconf is especially sensitive to this).
    457   . "./$as_me.lineno"
    458   # Exit status is that of the last command.
    459   exit
    460 }
    461 
    462 ECHO_C= ECHO_N= ECHO_T=
    463 case `echo -n x` in #(((((
    464 -n*)
    465   case `echo 'xy\c'` in
    466   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    467   xy)  ECHO_C='\c';;
    468   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    469        ECHO_T='	';;
    470   esac;;
    471 *)
    472   ECHO_N='-n';;
    473 esac
    474 
    475 rm -f conf$$ conf$$.exe conf$$.file
    476 if test -d conf$$.dir; then
    477   rm -f conf$$.dir/conf$$.file
    478 else
    479   rm -f conf$$.dir
    480   mkdir conf$$.dir 2>/dev/null
    481 fi
    482 if (echo >conf$$.file) 2>/dev/null; then
    483   if ln -s conf$$.file conf$$ 2>/dev/null; then
    484     as_ln_s='ln -s'
    485     # ... but there are two gotchas:
    486     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    487     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    488     # In both cases, we have to default to `cp -p'.
    489     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    490       as_ln_s='cp -p'
    491   elif ln conf$$.file conf$$ 2>/dev/null; then
    492     as_ln_s=ln
    493   else
    494     as_ln_s='cp -p'
    495   fi
    496 else
    497   as_ln_s='cp -p'
    498 fi
    499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    500 rmdir conf$$.dir 2>/dev/null
    501 
    502 if mkdir -p . 2>/dev/null; then
    503   as_mkdir_p='mkdir -p "$as_dir"'
    504 else
    505   test -d ./-p && rmdir ./-p
    506   as_mkdir_p=false
    507 fi
    508 
    509 if test -x / >/dev/null 2>&1; then
    510   as_test_x='test -x'
    511 else
    512   if ls -dL / >/dev/null 2>&1; then
    513     as_ls_L_option=L
    514   else
    515     as_ls_L_option=
    516   fi
    517   as_test_x='
    518     eval sh -c '\''
    519       if test -d "$1"; then
    520 	test -d "$1/.";
    521       else
    522 	case $1 in #(
    523 	-*)set "./$1";;
    524 	esac;
    525 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    526 	???[sx]*):;;*)false;;esac;fi
    527     '\'' sh
    528   '
    529 fi
    530 as_executable_p=$as_test_x
    531 
    532 # Sed expression to map a string onto a valid CPP name.
    533 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    534 
    535 # Sed expression to map a string onto a valid variable name.
    536 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    537 
    538 
    539 test -n "$DJDIR" || exec 7<&0 </dev/null
    540 exec 6>&1
    541 
    542 # Name of the host.
    543 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    544 # so uname gets run too.
    545 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    546 
    547 #
    548 # Initializations.
    549 #
    550 ac_default_prefix=/usr/local
    551 ac_clean_files=
    552 ac_config_libobj_dir=.
    553 LIBOBJS=
    554 cross_compiling=no
    555 subdirs=
    556 MFLAGS=
    557 MAKEFLAGS=
    558 
    559 # Identity of this package.
    560 PACKAGE_NAME=
    561 PACKAGE_TARNAME=
    562 PACKAGE_VERSION=
    563 PACKAGE_STRING=
    564 PACKAGE_BUGREPORT=
    565 PACKAGE_URL=
    566 
    567 ac_unique_file="ICU"
    568 ac_unique_file="common/unicode/utypes.h"
    569 # Factoring default headers for most tests.
    570 ac_includes_default="\
    571 #include <stdio.h>
    572 #ifdef HAVE_SYS_TYPES_H
    573 # include <sys/types.h>
    574 #endif
    575 #ifdef HAVE_SYS_STAT_H
    576 # include <sys/stat.h>
    577 #endif
    578 #ifdef STDC_HEADERS
    579 # include <stdlib.h>
    580 # include <stddef.h>
    581 #else
    582 # ifdef HAVE_STDLIB_H
    583 #  include <stdlib.h>
    584 # endif
    585 #endif
    586 #ifdef HAVE_STRING_H
    587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    588 #  include <memory.h>
    589 # endif
    590 # include <string.h>
    591 #endif
    592 #ifdef HAVE_STRINGS_H
    593 # include <strings.h>
    594 #endif
    595 #ifdef HAVE_INTTYPES_H
    596 # include <inttypes.h>
    597 #endif
    598 #ifdef HAVE_STDINT_H
    599 # include <stdint.h>
    600 #endif
    601 #ifdef HAVE_UNISTD_H
    602 # include <unistd.h>
    603 #endif"
    604 
    605 ac_subst_vars='LTLIBOBJS
    606 LIBOBJS
    607 LIBCXXFLAGS
    608 LIBCFLAGS
    609 platform_make_fragment
    610 platform_make_fragment_name
    611 platform
    612 ICUDATA_CHAR
    613 SAMPLES_TRUE
    614 TESTS_TRUE
    615 ICULIBSUFFIXCNAME
    616 U_HAVE_LIB_SUFFIX
    617 ICULIBSUFFIX
    618 DATA_PACKAGING_MODE
    619 thepkgicudatadir
    620 pkgicudatadir
    621 LAYOUT_TRUE
    622 ICUIO_TRUE
    623 EXTRAS_TRUE
    624 U_HAVE_WCSCPY
    625 U_HAVE_WCHAR_H
    626 U_TIMEZONE
    627 U_HAVE_TIMEZONE
    628 U_TZNAME
    629 U_HAVE_TZNAME
    630 U_TZSET
    631 U_HAVE_TZSET
    632 U_HAVE_POPEN
    633 U_HAVE_PLACEMENT_NEW
    634 U_OVERRIDE_CXX_ALLOCATION
    635 U_NL_LANGINFO_CODESET
    636 U_HAVE_NL_LANGINFO_CODESET
    637 U_IS_BIG_ENDIAN
    638 U_HAVE_DIRENT_H
    639 U_HAVE_INTTYPES_H
    640 GENCCODE_ASSEMBLY
    641 HAVE_MMAP
    642 LIB_THREAD
    643 U_HAVE_STD_STRING
    644 ENABLE_RPATH
    645 U_ENABLE_DYLOAD
    646 U_ENABLE_TRACING
    647 U_DISABLE_RENAMING
    648 AR
    649 RANLIB
    650 U_DEFAULT_SHOW_DRAFT
    651 UCLN_NO_AUTO_CLEANUP
    652 ENABLE_STATIC
    653 ENABLE_SHARED
    654 LIB_M
    655 COMPILE_LINK_ENVVAR
    656 ARFLAGS
    657 EGREP
    658 GREP
    659 DOXYGEN
    660 cross_buildroot
    661 U_MAKE
    662 cross_compiling
    663 INSTALL_DATA
    664 INSTALL_SCRIPT
    665 INSTALL_PROGRAM
    666 CPP
    667 ac_ct_CXX
    668 CXXFLAGS
    669 CXX
    670 OBJEXT
    671 EXEEXT
    672 ac_ct_CC
    673 LDFLAGS
    674 CFLAGS
    675 CC
    676 ENABLE_RELEASE
    677 ENABLE_DEBUG
    678 CPPFLAGS
    679 host_os
    680 host_vendor
    681 host_cpu
    682 host
    683 build_os
    684 build_vendor
    685 build_cpu
    686 build
    687 UNICODE_VERSION
    688 LIB_VERSION_MAJOR
    689 LIB_VERSION
    690 VERSION
    691 ICU_ECHO_T
    692 ICU_ECHO_C
    693 ICU_ECHO_N
    694 PACKAGE
    695 target_alias
    696 host_alias
    697 build_alias
    698 LIBS
    699 ECHO_T
    700 ECHO_N
    701 ECHO_C
    702 DEFS
    703 mandir
    704 localedir
    705 libdir
    706 psdir
    707 pdfdir
    708 dvidir
    709 htmldir
    710 infodir
    711 docdir
    712 oldincludedir
    713 includedir
    714 localstatedir
    715 sharedstatedir
    716 sysconfdir
    717 datadir
    718 datarootdir
    719 libexecdir
    720 sbindir
    721 bindir
    722 program_transform_name
    723 prefix
    724 exec_prefix
    725 PACKAGE_URL
    726 PACKAGE_BUGREPORT
    727 PACKAGE_STRING
    728 PACKAGE_VERSION
    729 PACKAGE_TARNAME
    730 PACKAGE_NAME
    731 PATH_SEPARATOR
    732 SHELL'
    733 ac_subst_files=''
    734 ac_user_opts='
    735 enable_option_checking
    736 enable_debug
    737 enable_release
    738 with_cross_build
    739 enable_strict
    740 enable_64bit_libs
    741 with_library_bits
    742 enable_shared
    743 enable_static
    744 enable_auto_cleanup
    745 enable_draft
    746 enable_renaming
    747 enable_tracing
    748 enable_dyload
    749 enable_rpath
    750 enable_weak_threads
    751 enable_extras
    752 enable_icuio
    753 enable_layout
    754 with_data_packaging
    755 with_library_suffix
    756 enable_tests
    757 enable_samples
    758 '
    759       ac_precious_vars='build_alias
    760 host_alias
    761 target_alias
    762 CC
    763 CFLAGS
    764 LDFLAGS
    765 LIBS
    766 CPPFLAGS
    767 CXX
    768 CXXFLAGS
    769 CCC
    770 CPP'
    771 
    772 
    773 # Initialize some variables set by options.
    774 ac_init_help=
    775 ac_init_version=false
    776 ac_unrecognized_opts=
    777 ac_unrecognized_sep=
    778 # The variables have the same names as the options, with
    779 # dashes changed to underlines.
    780 cache_file=/dev/null
    781 exec_prefix=NONE
    782 no_create=
    783 no_recursion=
    784 prefix=NONE
    785 program_prefix=NONE
    786 program_suffix=NONE
    787 program_transform_name=s,x,x,
    788 silent=
    789 site=
    790 srcdir=
    791 verbose=
    792 x_includes=NONE
    793 x_libraries=NONE
    794 
    795 # Installation directory options.
    796 # These are left unexpanded so users can "make install exec_prefix=/foo"
    797 # and all the variables that are supposed to be based on exec_prefix
    798 # by default will actually change.
    799 # Use braces instead of parens because sh, perl, etc. also accept them.
    800 # (The list follows the same order as the GNU Coding Standards.)
    801 bindir='${exec_prefix}/bin'
    802 sbindir='${exec_prefix}/sbin'
    803 libexecdir='${exec_prefix}/libexec'
    804 datarootdir='${prefix}/share'
    805 datadir='${datarootdir}'
    806 sysconfdir='${prefix}/etc'
    807 sharedstatedir='${prefix}/com'
    808 localstatedir='${prefix}/var'
    809 includedir='${prefix}/include'
    810 oldincludedir='/usr/include'
    811 docdir='${datarootdir}/doc/${PACKAGE}'
    812 infodir='${datarootdir}/info'
    813 htmldir='${docdir}'
    814 dvidir='${docdir}'
    815 pdfdir='${docdir}'
    816 psdir='${docdir}'
    817 libdir='${exec_prefix}/lib'
    818 localedir='${datarootdir}/locale'
    819 mandir='${datarootdir}/man'
    820 
    821 ac_prev=
    822 ac_dashdash=
    823 for ac_option
    824 do
    825   # If the previous option needs an argument, assign it.
    826   if test -n "$ac_prev"; then
    827     eval $ac_prev=\$ac_option
    828     ac_prev=
    829     continue
    830   fi
    831 
    832   case $ac_option in
    833   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    834   *=)   ac_optarg= ;;
    835   *)    ac_optarg=yes ;;
    836   esac
    837 
    838   # Accept the important Cygnus configure options, so we can diagnose typos.
    839 
    840   case $ac_dashdash$ac_option in
    841   --)
    842     ac_dashdash=yes ;;
    843 
    844   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    845     ac_prev=bindir ;;
    846   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    847     bindir=$ac_optarg ;;
    848 
    849   -build | --build | --buil | --bui | --bu)
    850     ac_prev=build_alias ;;
    851   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    852     build_alias=$ac_optarg ;;
    853 
    854   -cache-file | --cache-file | --cache-fil | --cache-fi \
    855   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    856     ac_prev=cache_file ;;
    857   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    858   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    859     cache_file=$ac_optarg ;;
    860 
    861   --config-cache | -C)
    862     cache_file=config.cache ;;
    863 
    864   -datadir | --datadir | --datadi | --datad)
    865     ac_prev=datadir ;;
    866   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    867     datadir=$ac_optarg ;;
    868 
    869   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    870   | --dataroo | --dataro | --datar)
    871     ac_prev=datarootdir ;;
    872   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    873   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    874     datarootdir=$ac_optarg ;;
    875 
    876   -disable-* | --disable-*)
    877     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    878     # Reject names that are not valid shell variable names.
    879     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    880       as_fn_error $? "invalid feature name: $ac_useropt"
    881     ac_useropt_orig=$ac_useropt
    882     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    883     case $ac_user_opts in
    884       *"
    885 "enable_$ac_useropt"
    886 "*) ;;
    887       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    888 	 ac_unrecognized_sep=', ';;
    889     esac
    890     eval enable_$ac_useropt=no ;;
    891 
    892   -docdir | --docdir | --docdi | --doc | --do)
    893     ac_prev=docdir ;;
    894   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    895     docdir=$ac_optarg ;;
    896 
    897   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    898     ac_prev=dvidir ;;
    899   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    900     dvidir=$ac_optarg ;;
    901 
    902   -enable-* | --enable-*)
    903     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    904     # Reject names that are not valid shell variable names.
    905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    906       as_fn_error $? "invalid feature name: $ac_useropt"
    907     ac_useropt_orig=$ac_useropt
    908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    909     case $ac_user_opts in
    910       *"
    911 "enable_$ac_useropt"
    912 "*) ;;
    913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    914 	 ac_unrecognized_sep=', ';;
    915     esac
    916     eval enable_$ac_useropt=\$ac_optarg ;;
    917 
    918   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    919   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    920   | --exec | --exe | --ex)
    921     ac_prev=exec_prefix ;;
    922   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    923   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    924   | --exec=* | --exe=* | --ex=*)
    925     exec_prefix=$ac_optarg ;;
    926 
    927   -gas | --gas | --ga | --g)
    928     # Obsolete; use --with-gas.
    929     with_gas=yes ;;
    930 
    931   -help | --help | --hel | --he | -h)
    932     ac_init_help=long ;;
    933   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    934     ac_init_help=recursive ;;
    935   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    936     ac_init_help=short ;;
    937 
    938   -host | --host | --hos | --ho)
    939     ac_prev=host_alias ;;
    940   -host=* | --host=* | --hos=* | --ho=*)
    941     host_alias=$ac_optarg ;;
    942 
    943   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    944     ac_prev=htmldir ;;
    945   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    946   | --ht=*)
    947     htmldir=$ac_optarg ;;
    948 
    949   -includedir | --includedir | --includedi | --included | --include \
    950   | --includ | --inclu | --incl | --inc)
    951     ac_prev=includedir ;;
    952   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    953   | --includ=* | --inclu=* | --incl=* | --inc=*)
    954     includedir=$ac_optarg ;;
    955 
    956   -infodir | --infodir | --infodi | --infod | --info | --inf)
    957     ac_prev=infodir ;;
    958   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    959     infodir=$ac_optarg ;;
    960 
    961   -libdir | --libdir | --libdi | --libd)
    962     ac_prev=libdir ;;
    963   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    964     libdir=$ac_optarg ;;
    965 
    966   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    967   | --libexe | --libex | --libe)
    968     ac_prev=libexecdir ;;
    969   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    970   | --libexe=* | --libex=* | --libe=*)
    971     libexecdir=$ac_optarg ;;
    972 
    973   -localedir | --localedir | --localedi | --localed | --locale)
    974     ac_prev=localedir ;;
    975   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    976     localedir=$ac_optarg ;;
    977 
    978   -localstatedir | --localstatedir | --localstatedi | --localstated \
    979   | --localstate | --localstat | --localsta | --localst | --locals)
    980     ac_prev=localstatedir ;;
    981   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    982   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    983     localstatedir=$ac_optarg ;;
    984 
    985   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    986     ac_prev=mandir ;;
    987   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    988     mandir=$ac_optarg ;;
    989 
    990   -nfp | --nfp | --nf)
    991     # Obsolete; use --without-fp.
    992     with_fp=no ;;
    993 
    994   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    995   | --no-cr | --no-c | -n)
    996     no_create=yes ;;
    997 
    998   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    999   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1000     no_recursion=yes ;;
   1001 
   1002   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1003   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1004   | --oldin | --oldi | --old | --ol | --o)
   1005     ac_prev=oldincludedir ;;
   1006   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1007   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1008   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1009     oldincludedir=$ac_optarg ;;
   1010 
   1011   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1012     ac_prev=prefix ;;
   1013   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1014     prefix=$ac_optarg ;;
   1015 
   1016   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1017   | --program-pre | --program-pr | --program-p)
   1018     ac_prev=program_prefix ;;
   1019   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1020   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1021     program_prefix=$ac_optarg ;;
   1022 
   1023   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1024   | --program-suf | --program-su | --program-s)
   1025     ac_prev=program_suffix ;;
   1026   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1027   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1028     program_suffix=$ac_optarg ;;
   1029 
   1030   -program-transform-name | --program-transform-name \
   1031   | --program-transform-nam | --program-transform-na \
   1032   | --program-transform-n | --program-transform- \
   1033   | --program-transform | --program-transfor \
   1034   | --program-transfo | --program-transf \
   1035   | --program-trans | --program-tran \
   1036   | --progr-tra | --program-tr | --program-t)
   1037     ac_prev=program_transform_name ;;
   1038   -program-transform-name=* | --program-transform-name=* \
   1039   | --program-transform-nam=* | --program-transform-na=* \
   1040   | --program-transform-n=* | --program-transform-=* \
   1041   | --program-transform=* | --program-transfor=* \
   1042   | --program-transfo=* | --program-transf=* \
   1043   | --program-trans=* | --program-tran=* \
   1044   | --progr-tra=* | --program-tr=* | --program-t=*)
   1045     program_transform_name=$ac_optarg ;;
   1046 
   1047   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1048     ac_prev=pdfdir ;;
   1049   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1050     pdfdir=$ac_optarg ;;
   1051 
   1052   -psdir | --psdir | --psdi | --psd | --ps)
   1053     ac_prev=psdir ;;
   1054   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1055     psdir=$ac_optarg ;;
   1056 
   1057   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1058   | -silent | --silent | --silen | --sile | --sil)
   1059     silent=yes ;;
   1060 
   1061   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1062     ac_prev=sbindir ;;
   1063   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1064   | --sbi=* | --sb=*)
   1065     sbindir=$ac_optarg ;;
   1066 
   1067   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1068   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1069   | --sharedst | --shareds | --shared | --share | --shar \
   1070   | --sha | --sh)
   1071     ac_prev=sharedstatedir ;;
   1072   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1073   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1074   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1075   | --sha=* | --sh=*)
   1076     sharedstatedir=$ac_optarg ;;
   1077 
   1078   -site | --site | --sit)
   1079     ac_prev=site ;;
   1080   -site=* | --site=* | --sit=*)
   1081     site=$ac_optarg ;;
   1082 
   1083   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1084     ac_prev=srcdir ;;
   1085   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1086     srcdir=$ac_optarg ;;
   1087 
   1088   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1089   | --syscon | --sysco | --sysc | --sys | --sy)
   1090     ac_prev=sysconfdir ;;
   1091   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1092   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1093     sysconfdir=$ac_optarg ;;
   1094 
   1095   -target | --target | --targe | --targ | --tar | --ta | --t)
   1096     ac_prev=target_alias ;;
   1097   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1098     target_alias=$ac_optarg ;;
   1099 
   1100   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1101     verbose=yes ;;
   1102 
   1103   -version | --version | --versio | --versi | --vers | -V)
   1104     ac_init_version=: ;;
   1105 
   1106   -with-* | --with-*)
   1107     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1108     # Reject names that are not valid shell variable names.
   1109     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1110       as_fn_error $? "invalid package name: $ac_useropt"
   1111     ac_useropt_orig=$ac_useropt
   1112     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1113     case $ac_user_opts in
   1114       *"
   1115 "with_$ac_useropt"
   1116 "*) ;;
   1117       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1118 	 ac_unrecognized_sep=', ';;
   1119     esac
   1120     eval with_$ac_useropt=\$ac_optarg ;;
   1121 
   1122   -without-* | --without-*)
   1123     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1124     # Reject names that are not valid shell variable names.
   1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1126       as_fn_error $? "invalid package name: $ac_useropt"
   1127     ac_useropt_orig=$ac_useropt
   1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1129     case $ac_user_opts in
   1130       *"
   1131 "with_$ac_useropt"
   1132 "*) ;;
   1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1134 	 ac_unrecognized_sep=', ';;
   1135     esac
   1136     eval with_$ac_useropt=no ;;
   1137 
   1138   --x)
   1139     # Obsolete; use --with-x.
   1140     with_x=yes ;;
   1141 
   1142   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1143   | --x-incl | --x-inc | --x-in | --x-i)
   1144     ac_prev=x_includes ;;
   1145   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1146   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1147     x_includes=$ac_optarg ;;
   1148 
   1149   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1150   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1151     ac_prev=x_libraries ;;
   1152   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1153   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1154     x_libraries=$ac_optarg ;;
   1155 
   1156   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1157 Try \`$0 --help' for more information"
   1158     ;;
   1159 
   1160   *=*)
   1161     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1162     # Reject names that are not valid shell variable names.
   1163     case $ac_envvar in #(
   1164       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1165       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1166     esac
   1167     eval $ac_envvar=\$ac_optarg
   1168     export $ac_envvar ;;
   1169 
   1170   *)
   1171     # FIXME: should be removed in autoconf 3.0.
   1172     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1173     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1174       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1175     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1176     ;;
   1177 
   1178   esac
   1179 done
   1180 
   1181 if test -n "$ac_prev"; then
   1182   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1183   as_fn_error $? "missing argument to $ac_option"
   1184 fi
   1185 
   1186 if test -n "$ac_unrecognized_opts"; then
   1187   case $enable_option_checking in
   1188     no) ;;
   1189     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1190     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1191   esac
   1192 fi
   1193 
   1194 # Check all directory arguments for consistency.
   1195 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1196 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1197 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1198 		libdir localedir mandir
   1199 do
   1200   eval ac_val=\$$ac_var
   1201   # Remove trailing slashes.
   1202   case $ac_val in
   1203     */ )
   1204       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1205       eval $ac_var=\$ac_val;;
   1206   esac
   1207   # Be sure to have absolute directory names.
   1208   case $ac_val in
   1209     [\\/$]* | ?:[\\/]* )  continue;;
   1210     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1211   esac
   1212   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1213 done
   1214 
   1215 # There might be people who depend on the old broken behavior: `$host'
   1216 # used to hold the argument of --host etc.
   1217 # FIXME: To remove some day.
   1218 build=$build_alias
   1219 host=$host_alias
   1220 target=$target_alias
   1221 
   1222 # FIXME: To remove some day.
   1223 if test "x$host_alias" != x; then
   1224   if test "x$build_alias" = x; then
   1225     cross_compiling=maybe
   1226     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1227     If a cross compiler is detected then cross compile mode will be used" >&2
   1228   elif test "x$build_alias" != "x$host_alias"; then
   1229     cross_compiling=yes
   1230   fi
   1231 fi
   1232 
   1233 ac_tool_prefix=
   1234 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1235 
   1236 test "$silent" = yes && exec 6>/dev/null
   1237 
   1238 
   1239 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1240 ac_ls_di=`ls -di .` &&
   1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1242   as_fn_error $? "working directory cannot be determined"
   1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1244   as_fn_error $? "pwd does not report name of working directory"
   1245 
   1246 
   1247 # Find the source files, if location was not specified.
   1248 if test -z "$srcdir"; then
   1249   ac_srcdir_defaulted=yes
   1250   # Try the directory containing this script, then the parent directory.
   1251   ac_confdir=`$as_dirname -- "$as_myself" ||
   1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1253 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1254 	 X"$as_myself" : 'X\(//\)$' \| \
   1255 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1256 $as_echo X"$as_myself" |
   1257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  /^X\(\/\/\)[^/].*/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)$/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\).*/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  s/.*/./; q'`
   1274   srcdir=$ac_confdir
   1275   if test ! -r "$srcdir/$ac_unique_file"; then
   1276     srcdir=..
   1277   fi
   1278 else
   1279   ac_srcdir_defaulted=no
   1280 fi
   1281 if test ! -r "$srcdir/$ac_unique_file"; then
   1282   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1283   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1284 fi
   1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1286 ac_abs_confdir=`(
   1287 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1288 	pwd)`
   1289 # When building in place, set srcdir=.
   1290 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1291   srcdir=.
   1292 fi
   1293 # Remove unnecessary trailing slashes from srcdir.
   1294 # Double slashes in file names in object file debugging info
   1295 # mess up M-x gdb in Emacs.
   1296 case $srcdir in
   1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1298 esac
   1299 for ac_var in $ac_precious_vars; do
   1300   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1301   eval ac_env_${ac_var}_value=\$${ac_var}
   1302   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1303   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1304 done
   1305 
   1306 #
   1307 # Report the --help message.
   1308 #
   1309 if test "$ac_init_help" = "long"; then
   1310   # Omit some internal or obsolete options to make the list less imposing.
   1311   # This message is too long to be a string in the A/UX 3.1 sh.
   1312   cat <<_ACEOF
   1313 \`configure' configures this package to adapt to many kinds of systems.
   1314 
   1315 Usage: $0 [OPTION]... [VAR=VALUE]...
   1316 
   1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1318 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1319 
   1320 Defaults for the options are specified in brackets.
   1321 
   1322 Configuration:
   1323   -h, --help              display this help and exit
   1324       --help=short        display options specific to this package
   1325       --help=recursive    display the short help of all the included packages
   1326   -V, --version           display version information and exit
   1327   -q, --quiet, --silent   do not print \`checking ...' messages
   1328       --cache-file=FILE   cache test results in FILE [disabled]
   1329   -C, --config-cache      alias for \`--cache-file=config.cache'
   1330   -n, --no-create         do not create output files
   1331       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1332 
   1333 Installation directories:
   1334   --prefix=PREFIX         install architecture-independent files in PREFIX
   1335                           [$ac_default_prefix]
   1336   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1337                           [PREFIX]
   1338 
   1339 By default, \`make install' will install all the files in
   1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1342 for instance \`--prefix=\$HOME'.
   1343 
   1344 For better control, use the options below.
   1345 
   1346 Fine tuning of the installation directories:
   1347   --bindir=DIR            user executables [EPREFIX/bin]
   1348   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1349   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1350   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1351   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1352   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1353   --libdir=DIR            object code libraries [EPREFIX/lib]
   1354   --includedir=DIR        C header files [PREFIX/include]
   1355   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1356   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1357   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1358   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1359   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1360   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1361   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
   1362   --htmldir=DIR           html documentation [DOCDIR]
   1363   --dvidir=DIR            dvi documentation [DOCDIR]
   1364   --pdfdir=DIR            pdf documentation [DOCDIR]
   1365   --psdir=DIR             ps documentation [DOCDIR]
   1366 _ACEOF
   1367 
   1368   cat <<\_ACEOF
   1369 
   1370 System types:
   1371   --build=BUILD     configure for building on BUILD [guessed]
   1372   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1373 _ACEOF
   1374 fi
   1375 
   1376 if test -n "$ac_init_help"; then
   1377 
   1378   cat <<\_ACEOF
   1379 
   1380 Optional Features:
   1381   --disable-option-checking  ignore unrecognized --enable/--with options
   1382   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1383   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1384   --enable-debug          build debug libraries and enable the U_DEBUG define default=no
   1385   --enable-release        build release libraries default=yes
   1386   --enable-strict         compile with strict compiler options default=yes
   1387   --enable-64bit-libs     (deprecated, use --with-library-bits) build 64-bit libraries default= platform default
   1388   --enable-shared         build shared libraries default=yes
   1389   --enable-static         build static libraries default=no
   1390   --enable-auto-cleanup   enable auto cleanup of libraries default=no
   1391   --enable-draft          enable draft APIs (and internal APIs) default=yes
   1392   --enable-renaming       add a version suffix to symbols default=yes
   1393   --enable-tracing        enable function and data tracing default=no
   1394   --disable-dyload        disable dynamic loading default=no
   1395   --enable-rpath          use rpath when linking default is only if necessary
   1396   --enable-weak-threads   weakly reference the threading library default=no
   1397   --enable-extras         build ICU extras default=yes
   1398   --enable-icuio          build ICU's icuio library default=yes
   1399   --enable-layout         build ICU's layout library default=yes
   1400   --enable-tests          build ICU tests default=yes
   1401   --enable-samples        build ICU samples default=yes
   1402 
   1403 Additionally, the variable FORCE_LIBS may be set before calling configure.
   1404 If set, it will REPLACE any automatic list of libraries.
   1405 
   1406 Optional Packages:
   1407   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1408   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1409   --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir
   1410   --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange
   1411   --with-data-packaging=type specify how to package ICU data (files, archive, library, static, auto) default=auto
   1412   --with-library-suffix=suffix    tag a suffix to the library names default=
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CXX         C++ compiler command
   1423   CXXFLAGS    C++ compiler flags
   1424   CPP         C preprocessor
   1425 
   1426 Use these variables to override the choices made by `configure' or to help
   1427 it to find libraries and programs with nonstandard names/locations.
   1428 
   1429 Report bugs to the package provider.
   1430 _ACEOF
   1431 ac_status=$?
   1432 fi
   1433 
   1434 if test "$ac_init_help" = "recursive"; then
   1435   # If there are subdirs, report their specific --help.
   1436   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1437     test -d "$ac_dir" ||
   1438       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1439       continue
   1440     ac_builddir=.
   1441 
   1442 case "$ac_dir" in
   1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1444 *)
   1445   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1446   # A ".." for each directory in $ac_dir_suffix.
   1447   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1448   case $ac_top_builddir_sub in
   1449   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1450   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1451   esac ;;
   1452 esac
   1453 ac_abs_top_builddir=$ac_pwd
   1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1455 # for backward compatibility:
   1456 ac_top_builddir=$ac_top_build_prefix
   1457 
   1458 case $srcdir in
   1459   .)  # We are building in place.
   1460     ac_srcdir=.
   1461     ac_top_srcdir=$ac_top_builddir_sub
   1462     ac_abs_top_srcdir=$ac_pwd ;;
   1463   [\\/]* | ?:[\\/]* )  # Absolute name.
   1464     ac_srcdir=$srcdir$ac_dir_suffix;
   1465     ac_top_srcdir=$srcdir
   1466     ac_abs_top_srcdir=$srcdir ;;
   1467   *) # Relative name.
   1468     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1469     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1470     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1471 esac
   1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1473 
   1474     cd "$ac_dir" || { ac_status=$?; continue; }
   1475     # Check for guested configure.
   1476     if test -f "$ac_srcdir/configure.gnu"; then
   1477       echo &&
   1478       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1479     elif test -f "$ac_srcdir/configure"; then
   1480       echo &&
   1481       $SHELL "$ac_srcdir/configure" --help=recursive
   1482     else
   1483       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1484     fi || ac_status=$?
   1485     cd "$ac_pwd" || { ac_status=$?; break; }
   1486   done
   1487 fi
   1488 
   1489 test -n "$ac_init_help" && exit $ac_status
   1490 if $ac_init_version; then
   1491   cat <<\_ACEOF
   1492 configure
   1493 generated by GNU Autoconf 2.68
   1494 
   1495 Copyright (C) 2010 Free Software Foundation, Inc.
   1496 This configure script is free software; the Free Software Foundation
   1497 gives unlimited permission to copy, distribute and modify it.
   1498 
   1499  Copyright (c) 1999-2012, International Business Machines Corporation and others. All Rights Reserved.
   1500 _ACEOF
   1501   exit
   1502 fi
   1503 
   1504 ## ------------------------ ##
   1505 ## Autoconf initialization. ##
   1506 ## ------------------------ ##
   1507 
   1508 # ac_fn_c_try_compile LINENO
   1509 # --------------------------
   1510 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1511 ac_fn_c_try_compile ()
   1512 {
   1513   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1514   rm -f conftest.$ac_objext
   1515   if { { ac_try="$ac_compile"
   1516 case "(($ac_try" in
   1517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1518   *) ac_try_echo=$ac_try;;
   1519 esac
   1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1521 $as_echo "$ac_try_echo"; } >&5
   1522   (eval "$ac_compile") 2>conftest.err
   1523   ac_status=$?
   1524   if test -s conftest.err; then
   1525     grep -v '^ *+' conftest.err >conftest.er1
   1526     cat conftest.er1 >&5
   1527     mv -f conftest.er1 conftest.err
   1528   fi
   1529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1530   test $ac_status = 0; } && {
   1531 	 test -z "$ac_c_werror_flag" ||
   1532 	 test ! -s conftest.err
   1533        } && test -s conftest.$ac_objext; then :
   1534   ac_retval=0
   1535 else
   1536   $as_echo "$as_me: failed program was:" >&5
   1537 sed 's/^/| /' conftest.$ac_ext >&5
   1538 
   1539 	ac_retval=1
   1540 fi
   1541   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1542   as_fn_set_status $ac_retval
   1543 
   1544 } # ac_fn_c_try_compile
   1545 
   1546 # ac_fn_cxx_try_compile LINENO
   1547 # ----------------------------
   1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1549 ac_fn_cxx_try_compile ()
   1550 {
   1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1552   rm -f conftest.$ac_objext
   1553   if { { ac_try="$ac_compile"
   1554 case "(($ac_try" in
   1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1556   *) ac_try_echo=$ac_try;;
   1557 esac
   1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1559 $as_echo "$ac_try_echo"; } >&5
   1560   (eval "$ac_compile") 2>conftest.err
   1561   ac_status=$?
   1562   if test -s conftest.err; then
   1563     grep -v '^ *+' conftest.err >conftest.er1
   1564     cat conftest.er1 >&5
   1565     mv -f conftest.er1 conftest.err
   1566   fi
   1567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1568   test $ac_status = 0; } && {
   1569 	 test -z "$ac_cxx_werror_flag" ||
   1570 	 test ! -s conftest.err
   1571        } && test -s conftest.$ac_objext; then :
   1572   ac_retval=0
   1573 else
   1574   $as_echo "$as_me: failed program was:" >&5
   1575 sed 's/^/| /' conftest.$ac_ext >&5
   1576 
   1577 	ac_retval=1
   1578 fi
   1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1580   as_fn_set_status $ac_retval
   1581 
   1582 } # ac_fn_cxx_try_compile
   1583 
   1584 # ac_fn_c_try_cpp LINENO
   1585 # ----------------------
   1586 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1587 ac_fn_c_try_cpp ()
   1588 {
   1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1590   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1591 case "(($ac_try" in
   1592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1593   *) ac_try_echo=$ac_try;;
   1594 esac
   1595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1596 $as_echo "$ac_try_echo"; } >&5
   1597   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1598   ac_status=$?
   1599   if test -s conftest.err; then
   1600     grep -v '^ *+' conftest.err >conftest.er1
   1601     cat conftest.er1 >&5
   1602     mv -f conftest.er1 conftest.err
   1603   fi
   1604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1605   test $ac_status = 0; } > conftest.i && {
   1606 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1607 	 test ! -s conftest.err
   1608        }; then :
   1609   ac_retval=0
   1610 else
   1611   $as_echo "$as_me: failed program was:" >&5
   1612 sed 's/^/| /' conftest.$ac_ext >&5
   1613 
   1614     ac_retval=1
   1615 fi
   1616   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1617   as_fn_set_status $ac_retval
   1618 
   1619 } # ac_fn_c_try_cpp
   1620 
   1621 # ac_fn_cxx_try_link LINENO
   1622 # -------------------------
   1623 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1624 ac_fn_cxx_try_link ()
   1625 {
   1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1627   rm -f conftest.$ac_objext conftest$ac_exeext
   1628   if { { ac_try="$ac_link"
   1629 case "(($ac_try" in
   1630   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1631   *) ac_try_echo=$ac_try;;
   1632 esac
   1633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1634 $as_echo "$ac_try_echo"; } >&5
   1635   (eval "$ac_link") 2>conftest.err
   1636   ac_status=$?
   1637   if test -s conftest.err; then
   1638     grep -v '^ *+' conftest.err >conftest.er1
   1639     cat conftest.er1 >&5
   1640     mv -f conftest.er1 conftest.err
   1641   fi
   1642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1643   test $ac_status = 0; } && {
   1644 	 test -z "$ac_cxx_werror_flag" ||
   1645 	 test ! -s conftest.err
   1646        } && test -s conftest$ac_exeext && {
   1647 	 test "$cross_compiling" = yes ||
   1648 	 $as_test_x conftest$ac_exeext
   1649        }; then :
   1650   ac_retval=0
   1651 else
   1652   $as_echo "$as_me: failed program was:" >&5
   1653 sed 's/^/| /' conftest.$ac_ext >&5
   1654 
   1655 	ac_retval=1
   1656 fi
   1657   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1658   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1659   # interfere with the next link command; also delete a directory that is
   1660   # left behind by Apple's compiler.  We do this before executing the actions.
   1661   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1663   as_fn_set_status $ac_retval
   1664 
   1665 } # ac_fn_cxx_try_link
   1666 
   1667 # ac_fn_c_try_run LINENO
   1668 # ----------------------
   1669 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1670 # that executables *can* be run.
   1671 ac_fn_c_try_run ()
   1672 {
   1673   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1674   if { { ac_try="$ac_link"
   1675 case "(($ac_try" in
   1676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1677   *) ac_try_echo=$ac_try;;
   1678 esac
   1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1680 $as_echo "$ac_try_echo"; } >&5
   1681   (eval "$ac_link") 2>&5
   1682   ac_status=$?
   1683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1684   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1685   { { case "(($ac_try" in
   1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1687   *) ac_try_echo=$ac_try;;
   1688 esac
   1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1690 $as_echo "$ac_try_echo"; } >&5
   1691   (eval "$ac_try") 2>&5
   1692   ac_status=$?
   1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1694   test $ac_status = 0; }; }; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: program exited with status $ac_status" >&5
   1698        $as_echo "$as_me: failed program was:" >&5
   1699 sed 's/^/| /' conftest.$ac_ext >&5
   1700 
   1701        ac_retval=$ac_status
   1702 fi
   1703   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1705   as_fn_set_status $ac_retval
   1706 
   1707 } # ac_fn_c_try_run
   1708 
   1709 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1710 # --------------------------------------------
   1711 # Tries to find the compile-time value of EXPR in a program that includes
   1712 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1713 # computed
   1714 ac_fn_c_compute_int ()
   1715 {
   1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1717   if test "$cross_compiling" = yes; then
   1718     # Depending upon the size, compute the lo and hi bounds.
   1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1720 /* end confdefs.h.  */
   1721 $4
   1722 int
   1723 main ()
   1724 {
   1725 static int test_array [1 - 2 * !(($2) >= 0)];
   1726 test_array [0] = 0
   1727 
   1728   ;
   1729   return 0;
   1730 }
   1731 _ACEOF
   1732 if ac_fn_c_try_compile "$LINENO"; then :
   1733   ac_lo=0 ac_mid=0
   1734   while :; do
   1735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 int
   1739 main ()
   1740 {
   1741 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1742 test_array [0] = 0
   1743 
   1744   ;
   1745   return 0;
   1746 }
   1747 _ACEOF
   1748 if ac_fn_c_try_compile "$LINENO"; then :
   1749   ac_hi=$ac_mid; break
   1750 else
   1751   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1752 			if test $ac_lo -le $ac_mid; then
   1753 			  ac_lo= ac_hi=
   1754 			  break
   1755 			fi
   1756 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1757 fi
   1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1759   done
   1760 else
   1761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1762 /* end confdefs.h.  */
   1763 $4
   1764 int
   1765 main ()
   1766 {
   1767 static int test_array [1 - 2 * !(($2) < 0)];
   1768 test_array [0] = 0
   1769 
   1770   ;
   1771   return 0;
   1772 }
   1773 _ACEOF
   1774 if ac_fn_c_try_compile "$LINENO"; then :
   1775   ac_hi=-1 ac_mid=-1
   1776   while :; do
   1777     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1778 /* end confdefs.h.  */
   1779 $4
   1780 int
   1781 main ()
   1782 {
   1783 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1784 test_array [0] = 0
   1785 
   1786   ;
   1787   return 0;
   1788 }
   1789 _ACEOF
   1790 if ac_fn_c_try_compile "$LINENO"; then :
   1791   ac_lo=$ac_mid; break
   1792 else
   1793   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   1794 			if test $ac_mid -le $ac_hi; then
   1795 			  ac_lo= ac_hi=
   1796 			  break
   1797 			fi
   1798 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   1799 fi
   1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1801   done
   1802 else
   1803   ac_lo= ac_hi=
   1804 fi
   1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1806 fi
   1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1808 # Binary search between lo and hi bounds.
   1809 while test "x$ac_lo" != "x$ac_hi"; do
   1810   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 $4
   1814 int
   1815 main ()
   1816 {
   1817 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1818 test_array [0] = 0
   1819 
   1820   ;
   1821   return 0;
   1822 }
   1823 _ACEOF
   1824 if ac_fn_c_try_compile "$LINENO"; then :
   1825   ac_hi=$ac_mid
   1826 else
   1827   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   1828 fi
   1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1830 done
   1831 case $ac_lo in #((
   1832 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   1833 '') ac_retval=1 ;;
   1834 esac
   1835   else
   1836     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1837 /* end confdefs.h.  */
   1838 $4
   1839 static long int longval () { return $2; }
   1840 static unsigned long int ulongval () { return $2; }
   1841 #include <stdio.h>
   1842 #include <stdlib.h>
   1843 int
   1844 main ()
   1845 {
   1846 
   1847   FILE *f = fopen ("conftest.val", "w");
   1848   if (! f)
   1849     return 1;
   1850   if (($2) < 0)
   1851     {
   1852       long int i = longval ();
   1853       if (i != ($2))
   1854 	return 1;
   1855       fprintf (f, "%ld", i);
   1856     }
   1857   else
   1858     {
   1859       unsigned long int i = ulongval ();
   1860       if (i != ($2))
   1861 	return 1;
   1862       fprintf (f, "%lu", i);
   1863     }
   1864   /* Do not output a trailing newline, as this causes \r\n confusion
   1865      on some platforms.  */
   1866   return ferror (f) || fclose (f) != 0;
   1867 
   1868   ;
   1869   return 0;
   1870 }
   1871 _ACEOF
   1872 if ac_fn_c_try_run "$LINENO"; then :
   1873   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   1874 else
   1875   ac_retval=1
   1876 fi
   1877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   1878   conftest.$ac_objext conftest.beam conftest.$ac_ext
   1879 rm -f conftest.val
   1880 
   1881   fi
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883   as_fn_set_status $ac_retval
   1884 
   1885 } # ac_fn_c_compute_int
   1886 
   1887 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1888 # -------------------------------------------------------
   1889 # Tests whether HEADER exists and can be compiled using the include files in
   1890 # INCLUDES, setting the cache variable VAR accordingly.
   1891 ac_fn_c_check_header_compile ()
   1892 {
   1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1895 $as_echo_n "checking for $2... " >&6; }
   1896 if eval \${$3+:} false; then :
   1897   $as_echo_n "(cached) " >&6
   1898 else
   1899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1900 /* end confdefs.h.  */
   1901 $4
   1902 #include <$2>
   1903 _ACEOF
   1904 if ac_fn_c_try_compile "$LINENO"; then :
   1905   eval "$3=yes"
   1906 else
   1907   eval "$3=no"
   1908 fi
   1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1910 fi
   1911 eval ac_res=\$$3
   1912 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1913 $as_echo "$ac_res" >&6; }
   1914   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1915 
   1916 } # ac_fn_c_check_header_compile
   1917 
   1918 # ac_fn_c_try_link LINENO
   1919 # -----------------------
   1920 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1921 ac_fn_c_try_link ()
   1922 {
   1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1924   rm -f conftest.$ac_objext conftest$ac_exeext
   1925   if { { ac_try="$ac_link"
   1926 case "(($ac_try" in
   1927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1928   *) ac_try_echo=$ac_try;;
   1929 esac
   1930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1931 $as_echo "$ac_try_echo"; } >&5
   1932   (eval "$ac_link") 2>conftest.err
   1933   ac_status=$?
   1934   if test -s conftest.err; then
   1935     grep -v '^ *+' conftest.err >conftest.er1
   1936     cat conftest.er1 >&5
   1937     mv -f conftest.er1 conftest.err
   1938   fi
   1939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1940   test $ac_status = 0; } && {
   1941 	 test -z "$ac_c_werror_flag" ||
   1942 	 test ! -s conftest.err
   1943        } && test -s conftest$ac_exeext && {
   1944 	 test "$cross_compiling" = yes ||
   1945 	 $as_test_x conftest$ac_exeext
   1946        }; then :
   1947   ac_retval=0
   1948 else
   1949   $as_echo "$as_me: failed program was:" >&5
   1950 sed 's/^/| /' conftest.$ac_ext >&5
   1951 
   1952 	ac_retval=1
   1953 fi
   1954   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1955   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1956   # interfere with the next link command; also delete a directory that is
   1957   # left behind by Apple's compiler.  We do this before executing the actions.
   1958   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1959   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1960   as_fn_set_status $ac_retval
   1961 
   1962 } # ac_fn_c_try_link
   1963 
   1964 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1965 # -------------------------------------------------------
   1966 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1967 # the include files in INCLUDES and setting the cache variable VAR
   1968 # accordingly.
   1969 ac_fn_c_check_header_mongrel ()
   1970 {
   1971   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1972   if eval \${$3+:} false; then :
   1973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1974 $as_echo_n "checking for $2... " >&6; }
   1975 if eval \${$3+:} false; then :
   1976   $as_echo_n "(cached) " >&6
   1977 fi
   1978 eval ac_res=\$$3
   1979 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1980 $as_echo "$ac_res" >&6; }
   1981 else
   1982   # Is the header compilable?
   1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1984 $as_echo_n "checking $2 usability... " >&6; }
   1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1986 /* end confdefs.h.  */
   1987 $4
   1988 #include <$2>
   1989 _ACEOF
   1990 if ac_fn_c_try_compile "$LINENO"; then :
   1991   ac_header_compiler=yes
   1992 else
   1993   ac_header_compiler=no
   1994 fi
   1995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1997 $as_echo "$ac_header_compiler" >&6; }
   1998 
   1999 # Is the header present?
   2000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2001 $as_echo_n "checking $2 presence... " >&6; }
   2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2003 /* end confdefs.h.  */
   2004 #include <$2>
   2005 _ACEOF
   2006 if ac_fn_c_try_cpp "$LINENO"; then :
   2007   ac_header_preproc=yes
   2008 else
   2009   ac_header_preproc=no
   2010 fi
   2011 rm -f conftest.err conftest.i conftest.$ac_ext
   2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2013 $as_echo "$ac_header_preproc" >&6; }
   2014 
   2015 # So?  What about this header?
   2016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2017   yes:no: )
   2018     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2019 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2020     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2021 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2022     ;;
   2023   no:yes:* )
   2024     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2025 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2026     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2027 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2029 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2031 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2032     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2033 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2034     ;;
   2035 esac
   2036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2037 $as_echo_n "checking for $2... " >&6; }
   2038 if eval \${$3+:} false; then :
   2039   $as_echo_n "(cached) " >&6
   2040 else
   2041   eval "$3=\$ac_header_compiler"
   2042 fi
   2043 eval ac_res=\$$3
   2044 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2045 $as_echo "$ac_res" >&6; }
   2046 fi
   2047   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2048 
   2049 } # ac_fn_c_check_header_mongrel
   2050 
   2051 # ac_fn_c_check_func LINENO FUNC VAR
   2052 # ----------------------------------
   2053 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2054 ac_fn_c_check_func ()
   2055 {
   2056   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2058 $as_echo_n "checking for $2... " >&6; }
   2059 if eval \${$3+:} false; then :
   2060   $as_echo_n "(cached) " >&6
   2061 else
   2062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2063 /* end confdefs.h.  */
   2064 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2066 #define $2 innocuous_$2
   2067 
   2068 /* System header to define __stub macros and hopefully few prototypes,
   2069     which can conflict with char $2 (); below.
   2070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2071     <limits.h> exists even on freestanding compilers.  */
   2072 
   2073 #ifdef __STDC__
   2074 # include <limits.h>
   2075 #else
   2076 # include <assert.h>
   2077 #endif
   2078 
   2079 #undef $2
   2080 
   2081 /* Override any GCC internal prototype to avoid an error.
   2082    Use char because int might match the return type of a GCC
   2083    builtin and then its argument prototype would still apply.  */
   2084 #ifdef __cplusplus
   2085 extern "C"
   2086 #endif
   2087 char $2 ();
   2088 /* The GNU C library defines this for functions which it implements
   2089     to always fail with ENOSYS.  Some functions are actually named
   2090     something starting with __ and the normal name is an alias.  */
   2091 #if defined __stub_$2 || defined __stub___$2
   2092 choke me
   2093 #endif
   2094 
   2095 int
   2096 main ()
   2097 {
   2098 return $2 ();
   2099   ;
   2100   return 0;
   2101 }
   2102 _ACEOF
   2103 if ac_fn_c_try_link "$LINENO"; then :
   2104   eval "$3=yes"
   2105 else
   2106   eval "$3=no"
   2107 fi
   2108 rm -f core conftest.err conftest.$ac_objext \
   2109     conftest$ac_exeext conftest.$ac_ext
   2110 fi
   2111 eval ac_res=\$$3
   2112 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2113 $as_echo "$ac_res" >&6; }
   2114   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2115 
   2116 } # ac_fn_c_check_func
   2117 
   2118 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2119 # -------------------------------------------
   2120 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2121 # variable VAR accordingly.
   2122 ac_fn_c_check_type ()
   2123 {
   2124   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2126 $as_echo_n "checking for $2... " >&6; }
   2127 if eval \${$3+:} false; then :
   2128   $as_echo_n "(cached) " >&6
   2129 else
   2130   eval "$3=no"
   2131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2132 /* end confdefs.h.  */
   2133 $4
   2134 int
   2135 main ()
   2136 {
   2137 if (sizeof ($2))
   2138 	 return 0;
   2139   ;
   2140   return 0;
   2141 }
   2142 _ACEOF
   2143 if ac_fn_c_try_compile "$LINENO"; then :
   2144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2145 /* end confdefs.h.  */
   2146 $4
   2147 int
   2148 main ()
   2149 {
   2150 if (sizeof (($2)))
   2151 	    return 0;
   2152   ;
   2153   return 0;
   2154 }
   2155 _ACEOF
   2156 if ac_fn_c_try_compile "$LINENO"; then :
   2157 
   2158 else
   2159   eval "$3=yes"
   2160 fi
   2161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2162 fi
   2163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2164 fi
   2165 eval ac_res=\$$3
   2166 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2167 $as_echo "$ac_res" >&6; }
   2168   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2169 
   2170 } # ac_fn_c_check_type
   2171 cat >config.log <<_ACEOF
   2172 This file contains any messages produced by compilers while
   2173 running configure, to aid debugging if configure makes a mistake.
   2174 
   2175 It was created by $as_me, which was
   2176 generated by GNU Autoconf 2.68.  Invocation command line was
   2177 
   2178   $ $0 $@
   2179 
   2180 _ACEOF
   2181 exec 5>>config.log
   2182 {
   2183 cat <<_ASUNAME
   2184 ## --------- ##
   2185 ## Platform. ##
   2186 ## --------- ##
   2187 
   2188 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2189 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2190 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2191 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2192 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2193 
   2194 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2195 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2196 
   2197 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2198 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2199 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2200 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2201 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2202 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2203 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2204 
   2205 _ASUNAME
   2206 
   2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2208 for as_dir in $PATH
   2209 do
   2210   IFS=$as_save_IFS
   2211   test -z "$as_dir" && as_dir=.
   2212     $as_echo "PATH: $as_dir"
   2213   done
   2214 IFS=$as_save_IFS
   2215 
   2216 } >&5
   2217 
   2218 cat >&5 <<_ACEOF
   2219 
   2220 
   2221 ## ----------- ##
   2222 ## Core tests. ##
   2223 ## ----------- ##
   2224 
   2225 _ACEOF
   2226 
   2227 
   2228 # Keep a trace of the command line.
   2229 # Strip out --no-create and --no-recursion so they do not pile up.
   2230 # Strip out --silent because we don't want to record it for future runs.
   2231 # Also quote any args containing shell meta-characters.
   2232 # Make two passes to allow for proper duplicate-argument suppression.
   2233 ac_configure_args=
   2234 ac_configure_args0=
   2235 ac_configure_args1=
   2236 ac_must_keep_next=false
   2237 for ac_pass in 1 2
   2238 do
   2239   for ac_arg
   2240   do
   2241     case $ac_arg in
   2242     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2243     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2244     | -silent | --silent | --silen | --sile | --sil)
   2245       continue ;;
   2246     *\'*)
   2247       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2248     esac
   2249     case $ac_pass in
   2250     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2251     2)
   2252       as_fn_append ac_configure_args1 " '$ac_arg'"
   2253       if test $ac_must_keep_next = true; then
   2254 	ac_must_keep_next=false # Got value, back to normal.
   2255       else
   2256 	case $ac_arg in
   2257 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2258 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2259 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2260 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2261 	    case "$ac_configure_args0 " in
   2262 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2263 	    esac
   2264 	    ;;
   2265 	  -* ) ac_must_keep_next=true ;;
   2266 	esac
   2267       fi
   2268       as_fn_append ac_configure_args " '$ac_arg'"
   2269       ;;
   2270     esac
   2271   done
   2272 done
   2273 { ac_configure_args0=; unset ac_configure_args0;}
   2274 { ac_configure_args1=; unset ac_configure_args1;}
   2275 
   2276 # When interrupted or exit'd, cleanup temporary files, and complete
   2277 # config.log.  We remove comments because anyway the quotes in there
   2278 # would cause problems or look ugly.
   2279 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2280 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2281 trap 'exit_status=$?
   2282   # Save into config.log some information that might help in debugging.
   2283   {
   2284     echo
   2285 
   2286     $as_echo "## ---------------- ##
   2287 ## Cache variables. ##
   2288 ## ---------------- ##"
   2289     echo
   2290     # The following way of writing the cache mishandles newlines in values,
   2291 (
   2292   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2293     eval ac_val=\$$ac_var
   2294     case $ac_val in #(
   2295     *${as_nl}*)
   2296       case $ac_var in #(
   2297       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2298 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2299       esac
   2300       case $ac_var in #(
   2301       _ | IFS | as_nl) ;; #(
   2302       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2303       *) { eval $ac_var=; unset $ac_var;} ;;
   2304       esac ;;
   2305     esac
   2306   done
   2307   (set) 2>&1 |
   2308     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2309     *${as_nl}ac_space=\ *)
   2310       sed -n \
   2311 	"s/'\''/'\''\\\\'\'''\''/g;
   2312 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2313       ;; #(
   2314     *)
   2315       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2316       ;;
   2317     esac |
   2318     sort
   2319 )
   2320     echo
   2321 
   2322     $as_echo "## ----------------- ##
   2323 ## Output variables. ##
   2324 ## ----------------- ##"
   2325     echo
   2326     for ac_var in $ac_subst_vars
   2327     do
   2328       eval ac_val=\$$ac_var
   2329       case $ac_val in
   2330       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2331       esac
   2332       $as_echo "$ac_var='\''$ac_val'\''"
   2333     done | sort
   2334     echo
   2335 
   2336     if test -n "$ac_subst_files"; then
   2337       $as_echo "## ------------------- ##
   2338 ## File substitutions. ##
   2339 ## ------------------- ##"
   2340       echo
   2341       for ac_var in $ac_subst_files
   2342       do
   2343 	eval ac_val=\$$ac_var
   2344 	case $ac_val in
   2345 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2346 	esac
   2347 	$as_echo "$ac_var='\''$ac_val'\''"
   2348       done | sort
   2349       echo
   2350     fi
   2351 
   2352     if test -s confdefs.h; then
   2353       $as_echo "## ----------- ##
   2354 ## confdefs.h. ##
   2355 ## ----------- ##"
   2356       echo
   2357       cat confdefs.h
   2358       echo
   2359     fi
   2360     test "$ac_signal" != 0 &&
   2361       $as_echo "$as_me: caught signal $ac_signal"
   2362     $as_echo "$as_me: exit $exit_status"
   2363   } >&5
   2364   rm -f core *.core core.conftest.* &&
   2365     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2366     exit $exit_status
   2367 ' 0
   2368 for ac_signal in 1 2 13 15; do
   2369   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2370 done
   2371 ac_signal=0
   2372 
   2373 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2374 rm -f -r conftest* confdefs.h
   2375 
   2376 $as_echo "/* confdefs.h */" > confdefs.h
   2377 
   2378 # Predefined preprocessor variables.
   2379 
   2380 cat >>confdefs.h <<_ACEOF
   2381 #define PACKAGE_NAME "$PACKAGE_NAME"
   2382 _ACEOF
   2383 
   2384 cat >>confdefs.h <<_ACEOF
   2385 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2386 _ACEOF
   2387 
   2388 cat >>confdefs.h <<_ACEOF
   2389 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2390 _ACEOF
   2391 
   2392 cat >>confdefs.h <<_ACEOF
   2393 #define PACKAGE_STRING "$PACKAGE_STRING"
   2394 _ACEOF
   2395 
   2396 cat >>confdefs.h <<_ACEOF
   2397 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2398 _ACEOF
   2399 
   2400 cat >>confdefs.h <<_ACEOF
   2401 #define PACKAGE_URL "$PACKAGE_URL"
   2402 _ACEOF
   2403 
   2404 
   2405 # Let the site file select an alternate cache file if it wants to.
   2406 # Prefer an explicitly selected file to automatically selected ones.
   2407 ac_site_file1=NONE
   2408 ac_site_file2=NONE
   2409 if test -n "$CONFIG_SITE"; then
   2410   # We do not want a PATH search for config.site.
   2411   case $CONFIG_SITE in #((
   2412     -*)  ac_site_file1=./$CONFIG_SITE;;
   2413     */*) ac_site_file1=$CONFIG_SITE;;
   2414     *)   ac_site_file1=./$CONFIG_SITE;;
   2415   esac
   2416 elif test "x$prefix" != xNONE; then
   2417   ac_site_file1=$prefix/share/config.site
   2418   ac_site_file2=$prefix/etc/config.site
   2419 else
   2420   ac_site_file1=$ac_default_prefix/share/config.site
   2421   ac_site_file2=$ac_default_prefix/etc/config.site
   2422 fi
   2423 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2424 do
   2425   test "x$ac_site_file" = xNONE && continue
   2426   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2427     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2428 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2429     sed 's/^/| /' "$ac_site_file" >&5
   2430     . "$ac_site_file" \
   2431       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2433 as_fn_error $? "failed to load site script $ac_site_file
   2434 See \`config.log' for more details" "$LINENO" 5; }
   2435   fi
   2436 done
   2437 
   2438 if test -r "$cache_file"; then
   2439   # Some versions of bash will fail to source /dev/null (special files
   2440   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2441   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2442     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2443 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2444     case $cache_file in
   2445       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2446       *)                      . "./$cache_file";;
   2447     esac
   2448   fi
   2449 else
   2450   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2451 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2452   >$cache_file
   2453 fi
   2454 
   2455 # Check that the precious variables saved in the cache have kept the same
   2456 # value.
   2457 ac_cache_corrupted=false
   2458 for ac_var in $ac_precious_vars; do
   2459   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2460   eval ac_new_set=\$ac_env_${ac_var}_set
   2461   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2462   eval ac_new_val=\$ac_env_${ac_var}_value
   2463   case $ac_old_set,$ac_new_set in
   2464     set,)
   2465       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2466 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2467       ac_cache_corrupted=: ;;
   2468     ,set)
   2469       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2470 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2471       ac_cache_corrupted=: ;;
   2472     ,);;
   2473     *)
   2474       if test "x$ac_old_val" != "x$ac_new_val"; then
   2475 	# differences in whitespace do not lead to failure.
   2476 	ac_old_val_w=`echo x $ac_old_val`
   2477 	ac_new_val_w=`echo x $ac_new_val`
   2478 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2479 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2480 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2481 	  ac_cache_corrupted=:
   2482 	else
   2483 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2484 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2485 	  eval $ac_var=\$ac_old_val
   2486 	fi
   2487 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2488 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2489 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2490 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2491       fi;;
   2492   esac
   2493   # Pass precious variables to config.status.
   2494   if test "$ac_new_set" = set; then
   2495     case $ac_new_val in
   2496     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2497     *) ac_arg=$ac_var=$ac_new_val ;;
   2498     esac
   2499     case " $ac_configure_args " in
   2500       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2501       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2502     esac
   2503   fi
   2504 done
   2505 if $ac_cache_corrupted; then
   2506   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2508   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2509 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2510   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2511 fi
   2512 ## -------------------- ##
   2513 ## Main body of script. ##
   2514 ## -------------------- ##
   2515 
   2516 ac_ext=c
   2517 ac_cpp='$CPP $CPPFLAGS'
   2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2521 
   2522 
   2523 
   2524 #TODO: IcuBug:8502
   2525 #AC_INIT([ICU],
   2526 #        m4_esyscmd_s([sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "./common/unicode/uvernum.h]"),
   2527 #        [http://icu-project.org/bugs],
   2528 #        [International Components for Unicode],
   2529 #        [http://icu-project.org])
   2530 
   2531 
   2532 
   2533 PACKAGE="icu"
   2534 
   2535 
   2536 # Use custom echo test for newline option
   2537 # Current autoconf (2.65) gives incorrect echo newline option
   2538 # for icu-config
   2539 # This may be removed later - mow (June 17, 2010)
   2540 ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=
   2541 case `/bin/sh -c "echo -n x"` in
   2542 -n*)
   2543   case `/bin/sh -c "echo 'x\c'"` in
   2544   *c*) ICU_ECHO_T=' ';;     # ECHO_T is single tab character.
   2545   *)   ICU_ECHO_C='\c';;
   2546   esac;;
   2547 *)
   2548   ICU_ECHO_N='-n';;
   2549 esac
   2550 
   2551 
   2552 
   2553 
   2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5
   2555 $as_echo_n "checking for ICU version numbers... " >&6; }
   2556 
   2557 # Get the ICU version from uversion.h or other headers
   2558 geticuversion() {
   2559     sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
   2560 }
   2561 getuversion() {
   2562     sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_UNICODE_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
   2563 }
   2564 VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`
   2565 if test x"$VERSION" = x; then
   2566    as_fn_error $? "Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5
   2567 fi
   2568 
   2569 #TODO: IcuBug:8502
   2570 #if test "$VERSION" != "$PACKAGE_VERSION"; then
   2571 #   AC_MSG_ERROR([configure was generated for $PACKAGE_VERSION but uvernum.h has $VERSION - please rerun autoconf])
   2572 #fi
   2573 
   2574 UNICODE_VERSION=`getuversion $srcdir/common/unicode/uchar.h`
   2575 if test x"$UNICODE_VERSION" = x; then
   2576     as_fn_error $? "Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5
   2577 fi
   2578 # Compute a reasonable library version from the release version. This is
   2579 # very bad, but that's wanted... We want to make sure that the LIB_VERSION
   2580 # has at least a dot in it, so we'll add a .0 if needed.
   2581 #[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]
   2582 LIB_VERSION=$VERSION
   2583 LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
   2584 
   2585 
   2586 
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5
   2588 $as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; }
   2589 
   2590 
   2591 
   2592 # Determine the host system
   2593 ac_aux_dir=
   2594 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2595   if test -f "$ac_dir/install-sh"; then
   2596     ac_aux_dir=$ac_dir
   2597     ac_install_sh="$ac_aux_dir/install-sh -c"
   2598     break
   2599   elif test -f "$ac_dir/install.sh"; then
   2600     ac_aux_dir=$ac_dir
   2601     ac_install_sh="$ac_aux_dir/install.sh -c"
   2602     break
   2603   elif test -f "$ac_dir/shtool"; then
   2604     ac_aux_dir=$ac_dir
   2605     ac_install_sh="$ac_aux_dir/shtool install -c"
   2606     break
   2607   fi
   2608 done
   2609 if test -z "$ac_aux_dir"; then
   2610   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2611 fi
   2612 
   2613 # These three variables are undocumented and unsupported,
   2614 # and are intended to be withdrawn in a future Autoconf release.
   2615 # They can cause serious problems if a builder's source tree is in a directory
   2616 # whose full name contains unusual characters.
   2617 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2618 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2619 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2620 
   2621 
   2622 # Make sure we can run config.sub.
   2623 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2624   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2625 
   2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2627 $as_echo_n "checking build system type... " >&6; }
   2628 if ${ac_cv_build+:} false; then :
   2629   $as_echo_n "(cached) " >&6
   2630 else
   2631   ac_build_alias=$build_alias
   2632 test "x$ac_build_alias" = x &&
   2633   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2634 test "x$ac_build_alias" = x &&
   2635   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2637   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2638 
   2639 fi
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2641 $as_echo "$ac_cv_build" >&6; }
   2642 case $ac_cv_build in
   2643 *-*-*) ;;
   2644 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2645 esac
   2646 build=$ac_cv_build
   2647 ac_save_IFS=$IFS; IFS='-'
   2648 set x $ac_cv_build
   2649 shift
   2650 build_cpu=$1
   2651 build_vendor=$2
   2652 shift; shift
   2653 # Remember, the first character of IFS is used to create $*,
   2654 # except with old shells:
   2655 build_os=$*
   2656 IFS=$ac_save_IFS
   2657 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2658 
   2659 
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2661 $as_echo_n "checking host system type... " >&6; }
   2662 if ${ac_cv_host+:} false; then :
   2663   $as_echo_n "(cached) " >&6
   2664 else
   2665   if test "x$host_alias" = x; then
   2666   ac_cv_host=$ac_cv_build
   2667 else
   2668   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2669     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2670 fi
   2671 
   2672 fi
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2674 $as_echo "$ac_cv_host" >&6; }
   2675 case $ac_cv_host in
   2676 *-*-*) ;;
   2677 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2678 esac
   2679 host=$ac_cv_host
   2680 ac_save_IFS=$IFS; IFS='-'
   2681 set x $ac_cv_host
   2682 shift
   2683 host_cpu=$1
   2684 host_vendor=$2
   2685 shift; shift
   2686 # Remember, the first character of IFS is used to create $*,
   2687 # except with old shells:
   2688 host_os=$*
   2689 IFS=$ac_save_IFS
   2690 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2691 
   2692 
   2693 
   2694 
   2695 
   2696 # This variable is needed on z/OS because the C++ compiler only recognizes .C
   2697 _CXX_CXXSUFFIX=cpp
   2698 export _CXX_CXXSUFFIX
   2699 
   2700 # Accumulate #defines
   2701 CONFIG_CPPFLAGS=""
   2702 UCONFIG_CPPFLAGS=""
   2703 
   2704 # Check whether to build debug libraries
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5
   2706 $as_echo_n "checking whether to build debug libraries... " >&6; }
   2707 enabled=no
   2708 ENABLE_DEBUG=0
   2709 # Check whether --enable-debug was given.
   2710 if test "${enable_debug+set}" = set; then :
   2711   enableval=$enable_debug;  case "${enableval}" in
   2712          yes|"") enabled=yes; ENABLE_DEBUG=1; CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEBUG=1" ;;
   2713          *) ;;
   2714     esac
   2715 fi
   2716 
   2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   2718 $as_echo "$enabled" >&6; }
   2719 
   2720 
   2721 # Check whether to build release libraries
   2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5
   2723 $as_echo_n "checking whether to build release libraries... " >&6; }
   2724 enabled=yes
   2725 ENABLE_RELEASE=1
   2726 # Check whether --enable-release was given.
   2727 if test "${enable_release+set}" = set; then :
   2728   enableval=$enable_release;  case "${enableval}" in
   2729          no) enabled=no; ENABLE_RELEASE=0 ;;
   2730          *) ;;
   2731     esac
   2732 fi
   2733 
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   2735 $as_echo "$enabled" >&6; }
   2736 
   2737 
   2738 # Don't use the default C/CXXFLags
   2739 : ${CFLAGS=""}
   2740 : ${CXXFLAGS=""}
   2741 
   2742 # Checks for compilers
   2743 ac_ext=c
   2744 ac_cpp='$CPP $CPPFLAGS'
   2745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2748 if test -n "$ac_tool_prefix"; then
   2749   for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
   2750   do
   2751     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2754 $as_echo_n "checking for $ac_word... " >&6; }
   2755 if ${ac_cv_prog_CC+:} false; then :
   2756   $as_echo_n "(cached) " >&6
   2757 else
   2758   if test -n "$CC"; then
   2759   ac_cv_prog_CC="$CC" # Let the user override the test.
   2760 else
   2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2762 for as_dir in $PATH
   2763 do
   2764   IFS=$as_save_IFS
   2765   test -z "$as_dir" && as_dir=.
   2766     for ac_exec_ext in '' $ac_executable_extensions; do
   2767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2768     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2770     break 2
   2771   fi
   2772 done
   2773   done
   2774 IFS=$as_save_IFS
   2775 
   2776 fi
   2777 fi
   2778 CC=$ac_cv_prog_CC
   2779 if test -n "$CC"; then
   2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2781 $as_echo "$CC" >&6; }
   2782 else
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2784 $as_echo "no" >&6; }
   2785 fi
   2786 
   2787 
   2788     test -n "$CC" && break
   2789   done
   2790 fi
   2791 if test -z "$CC"; then
   2792   ac_ct_CC=$CC
   2793   for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
   2794 do
   2795   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2796 set dummy $ac_prog; ac_word=$2
   2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2798 $as_echo_n "checking for $ac_word... " >&6; }
   2799 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2800   $as_echo_n "(cached) " >&6
   2801 else
   2802   if test -n "$ac_ct_CC"; then
   2803   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2804 else
   2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2806 for as_dir in $PATH
   2807 do
   2808   IFS=$as_save_IFS
   2809   test -z "$as_dir" && as_dir=.
   2810     for ac_exec_ext in '' $ac_executable_extensions; do
   2811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2812     ac_cv_prog_ac_ct_CC="$ac_prog"
   2813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2814     break 2
   2815   fi
   2816 done
   2817   done
   2818 IFS=$as_save_IFS
   2819 
   2820 fi
   2821 fi
   2822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2823 if test -n "$ac_ct_CC"; then
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2825 $as_echo "$ac_ct_CC" >&6; }
   2826 else
   2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2828 $as_echo "no" >&6; }
   2829 fi
   2830 
   2831 
   2832   test -n "$ac_ct_CC" && break
   2833 done
   2834 
   2835   if test "x$ac_ct_CC" = x; then
   2836     CC=""
   2837   else
   2838     case $cross_compiling:$ac_tool_warned in
   2839 yes:)
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2842 ac_tool_warned=yes ;;
   2843 esac
   2844     CC=$ac_ct_CC
   2845   fi
   2846 fi
   2847 
   2848 
   2849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2851 as_fn_error $? "no acceptable C compiler found in \$PATH
   2852 See \`config.log' for more details" "$LINENO" 5; }
   2853 
   2854 # Provide some information about the compiler.
   2855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2856 set X $ac_compile
   2857 ac_compiler=$2
   2858 for ac_option in --version -v -V -qversion; do
   2859   { { ac_try="$ac_compiler $ac_option >&5"
   2860 case "(($ac_try" in
   2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2862   *) ac_try_echo=$ac_try;;
   2863 esac
   2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2865 $as_echo "$ac_try_echo"; } >&5
   2866   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2867   ac_status=$?
   2868   if test -s conftest.err; then
   2869     sed '10a\
   2870 ... rest of stderr output deleted ...
   2871          10q' conftest.err >conftest.er1
   2872     cat conftest.er1 >&5
   2873   fi
   2874   rm -f conftest.er1 conftest.err
   2875   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2876   test $ac_status = 0; }
   2877 done
   2878 
   2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2880 /* end confdefs.h.  */
   2881 
   2882 int
   2883 main ()
   2884 {
   2885 
   2886   ;
   2887   return 0;
   2888 }
   2889 _ACEOF
   2890 ac_clean_files_save=$ac_clean_files
   2891 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2892 # Try to create an executable without -o first, disregard a.out.
   2893 # It will help us diagnose broken compilers, and finding out an intuition
   2894 # of exeext.
   2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2896 $as_echo_n "checking whether the C compiler works... " >&6; }
   2897 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2898 
   2899 # The possible output files:
   2900 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2901 
   2902 ac_rmfiles=
   2903 for ac_file in $ac_files
   2904 do
   2905   case $ac_file in
   2906     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2907     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2908   esac
   2909 done
   2910 rm -f $ac_rmfiles
   2911 
   2912 if { { ac_try="$ac_link_default"
   2913 case "(($ac_try" in
   2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2915   *) ac_try_echo=$ac_try;;
   2916 esac
   2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2918 $as_echo "$ac_try_echo"; } >&5
   2919   (eval "$ac_link_default") 2>&5
   2920   ac_status=$?
   2921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2922   test $ac_status = 0; }; then :
   2923   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2924 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2925 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2926 # so that the user can short-circuit this test for compilers unknown to
   2927 # Autoconf.
   2928 for ac_file in $ac_files ''
   2929 do
   2930   test -f "$ac_file" || continue
   2931   case $ac_file in
   2932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2933 	;;
   2934     [ab].out )
   2935 	# We found the default executable, but exeext='' is most
   2936 	# certainly right.
   2937 	break;;
   2938     *.* )
   2939 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2940 	then :; else
   2941 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2942 	fi
   2943 	# We set ac_cv_exeext here because the later test for it is not
   2944 	# safe: cross compilers may not add the suffix if given an `-o'
   2945 	# argument, so we may need to know it at that point already.
   2946 	# Even if this section looks crufty: it has the advantage of
   2947 	# actually working.
   2948 	break;;
   2949     * )
   2950 	break;;
   2951   esac
   2952 done
   2953 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2954 
   2955 else
   2956   ac_file=''
   2957 fi
   2958 if test -z "$ac_file"; then :
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2960 $as_echo "no" >&6; }
   2961 $as_echo "$as_me: failed program was:" >&5
   2962 sed 's/^/| /' conftest.$ac_ext >&5
   2963 
   2964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2966 as_fn_error 77 "C compiler cannot create executables
   2967 See \`config.log' for more details" "$LINENO" 5; }
   2968 else
   2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2970 $as_echo "yes" >&6; }
   2971 fi
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2973 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2975 $as_echo "$ac_file" >&6; }
   2976 ac_exeext=$ac_cv_exeext
   2977 
   2978 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2979 ac_clean_files=$ac_clean_files_save
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2981 $as_echo_n "checking for suffix of executables... " >&6; }
   2982 if { { ac_try="$ac_link"
   2983 case "(($ac_try" in
   2984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2985   *) ac_try_echo=$ac_try;;
   2986 esac
   2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2988 $as_echo "$ac_try_echo"; } >&5
   2989   (eval "$ac_link") 2>&5
   2990   ac_status=$?
   2991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2992   test $ac_status = 0; }; then :
   2993   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2994 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2995 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2996 # `rm'.
   2997 for ac_file in conftest.exe conftest conftest.*; do
   2998   test -f "$ac_file" || continue
   2999   case $ac_file in
   3000     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3001     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3002 	  break;;
   3003     * ) break;;
   3004   esac
   3005 done
   3006 else
   3007   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3009 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3010 See \`config.log' for more details" "$LINENO" 5; }
   3011 fi
   3012 rm -f conftest conftest$ac_cv_exeext
   3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3014 $as_echo "$ac_cv_exeext" >&6; }
   3015 
   3016 rm -f conftest.$ac_ext
   3017 EXEEXT=$ac_cv_exeext
   3018 ac_exeext=$EXEEXT
   3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3020 /* end confdefs.h.  */
   3021 #include <stdio.h>
   3022 int
   3023 main ()
   3024 {
   3025 FILE *f = fopen ("conftest.out", "w");
   3026  return ferror (f) || fclose (f) != 0;
   3027 
   3028   ;
   3029   return 0;
   3030 }
   3031 _ACEOF
   3032 ac_clean_files="$ac_clean_files conftest.out"
   3033 # Check that the compiler produces executables we can run.  If not, either
   3034 # the compiler is broken, or we cross compile.
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3036 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3037 if test "$cross_compiling" != yes; then
   3038   { { ac_try="$ac_link"
   3039 case "(($ac_try" in
   3040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3041   *) ac_try_echo=$ac_try;;
   3042 esac
   3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3044 $as_echo "$ac_try_echo"; } >&5
   3045   (eval "$ac_link") 2>&5
   3046   ac_status=$?
   3047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3048   test $ac_status = 0; }
   3049   if { ac_try='./conftest$ac_cv_exeext'
   3050   { { case "(($ac_try" in
   3051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3052   *) ac_try_echo=$ac_try;;
   3053 esac
   3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3055 $as_echo "$ac_try_echo"; } >&5
   3056   (eval "$ac_try") 2>&5
   3057   ac_status=$?
   3058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3059   test $ac_status = 0; }; }; then
   3060     cross_compiling=no
   3061   else
   3062     if test "$cross_compiling" = maybe; then
   3063 	cross_compiling=yes
   3064     else
   3065 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3067 as_fn_error $? "cannot run C compiled programs.
   3068 If you meant to cross compile, use \`--host'.
   3069 See \`config.log' for more details" "$LINENO" 5; }
   3070     fi
   3071   fi
   3072 fi
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3074 $as_echo "$cross_compiling" >&6; }
   3075 
   3076 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3077 ac_clean_files=$ac_clean_files_save
   3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3079 $as_echo_n "checking for suffix of object files... " >&6; }
   3080 if ${ac_cv_objext+:} false; then :
   3081   $as_echo_n "(cached) " >&6
   3082 else
   3083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3084 /* end confdefs.h.  */
   3085 
   3086 int
   3087 main ()
   3088 {
   3089 
   3090   ;
   3091   return 0;
   3092 }
   3093 _ACEOF
   3094 rm -f conftest.o conftest.obj
   3095 if { { ac_try="$ac_compile"
   3096 case "(($ac_try" in
   3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3098   *) ac_try_echo=$ac_try;;
   3099 esac
   3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3101 $as_echo "$ac_try_echo"; } >&5
   3102   (eval "$ac_compile") 2>&5
   3103   ac_status=$?
   3104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3105   test $ac_status = 0; }; then :
   3106   for ac_file in conftest.o conftest.obj conftest.*; do
   3107   test -f "$ac_file" || continue;
   3108   case $ac_file in
   3109     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3110     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3111        break;;
   3112   esac
   3113 done
   3114 else
   3115   $as_echo "$as_me: failed program was:" >&5
   3116 sed 's/^/| /' conftest.$ac_ext >&5
   3117 
   3118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3120 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3121 See \`config.log' for more details" "$LINENO" 5; }
   3122 fi
   3123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3124 fi
   3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3126 $as_echo "$ac_cv_objext" >&6; }
   3127 OBJEXT=$ac_cv_objext
   3128 ac_objext=$OBJEXT
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3131 if ${ac_cv_c_compiler_gnu+:} false; then :
   3132   $as_echo_n "(cached) " >&6
   3133 else
   3134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3135 /* end confdefs.h.  */
   3136 
   3137 int
   3138 main ()
   3139 {
   3140 #ifndef __GNUC__
   3141        choke me
   3142 #endif
   3143 
   3144   ;
   3145   return 0;
   3146 }
   3147 _ACEOF
   3148 if ac_fn_c_try_compile "$LINENO"; then :
   3149   ac_compiler_gnu=yes
   3150 else
   3151   ac_compiler_gnu=no
   3152 fi
   3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3155 
   3156 fi
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3159 if test $ac_compiler_gnu = yes; then
   3160   GCC=yes
   3161 else
   3162   GCC=
   3163 fi
   3164 ac_test_CFLAGS=${CFLAGS+set}
   3165 ac_save_CFLAGS=$CFLAGS
   3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3168 if ${ac_cv_prog_cc_g+:} false; then :
   3169   $as_echo_n "(cached) " >&6
   3170 else
   3171   ac_save_c_werror_flag=$ac_c_werror_flag
   3172    ac_c_werror_flag=yes
   3173    ac_cv_prog_cc_g=no
   3174    CFLAGS="-g"
   3175    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3176 /* end confdefs.h.  */
   3177 
   3178 int
   3179 main ()
   3180 {
   3181 
   3182   ;
   3183   return 0;
   3184 }
   3185 _ACEOF
   3186 if ac_fn_c_try_compile "$LINENO"; then :
   3187   ac_cv_prog_cc_g=yes
   3188 else
   3189   CFLAGS=""
   3190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3191 /* end confdefs.h.  */
   3192 
   3193 int
   3194 main ()
   3195 {
   3196 
   3197   ;
   3198   return 0;
   3199 }
   3200 _ACEOF
   3201 if ac_fn_c_try_compile "$LINENO"; then :
   3202 
   3203 else
   3204   ac_c_werror_flag=$ac_save_c_werror_flag
   3205 	 CFLAGS="-g"
   3206 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3207 /* end confdefs.h.  */
   3208 
   3209 int
   3210 main ()
   3211 {
   3212 
   3213   ;
   3214   return 0;
   3215 }
   3216 _ACEOF
   3217 if ac_fn_c_try_compile "$LINENO"; then :
   3218   ac_cv_prog_cc_g=yes
   3219 fi
   3220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3221 fi
   3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3223 fi
   3224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3225    ac_c_werror_flag=$ac_save_c_werror_flag
   3226 fi
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3228 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3229 if test "$ac_test_CFLAGS" = set; then
   3230   CFLAGS=$ac_save_CFLAGS
   3231 elif test $ac_cv_prog_cc_g = yes; then
   3232   if test "$GCC" = yes; then
   3233     CFLAGS="-g -O2"
   3234   else
   3235     CFLAGS="-g"
   3236   fi
   3237 else
   3238   if test "$GCC" = yes; then
   3239     CFLAGS="-O2"
   3240   else
   3241     CFLAGS=
   3242   fi
   3243 fi
   3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3246 if ${ac_cv_prog_cc_c89+:} false; then :
   3247   $as_echo_n "(cached) " >&6
   3248 else
   3249   ac_cv_prog_cc_c89=no
   3250 ac_save_CC=$CC
   3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3252 /* end confdefs.h.  */
   3253 #include <stdarg.h>
   3254 #include <stdio.h>
   3255 #include <sys/types.h>
   3256 #include <sys/stat.h>
   3257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3258 struct buf { int x; };
   3259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3260 static char *e (p, i)
   3261      char **p;
   3262      int i;
   3263 {
   3264   return p[i];
   3265 }
   3266 static char *f (char * (*g) (char **, int), char **p, ...)
   3267 {
   3268   char *s;
   3269   va_list v;
   3270   va_start (v,p);
   3271   s = g (p, va_arg (v,int));
   3272   va_end (v);
   3273   return s;
   3274 }
   3275 
   3276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3277    function prototypes and stuff, but not '\xHH' hex character constants.
   3278    These don't provoke an error unfortunately, instead are silently treated
   3279    as 'x'.  The following induces an error, until -std is added to get
   3280    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3281    array size at least.  It's necessary to write '\x00'==0 to get something
   3282    that's true only with -std.  */
   3283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3284 
   3285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3286    inside strings and character constants.  */
   3287 #define FOO(x) 'x'
   3288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3289 
   3290 int test (int i, double x);
   3291 struct s1 {int (*f) (int a);};
   3292 struct s2 {int (*f) (double a);};
   3293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3294 int argc;
   3295 char **argv;
   3296 int
   3297 main ()
   3298 {
   3299 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3300   ;
   3301   return 0;
   3302 }
   3303 _ACEOF
   3304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3305 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3306 do
   3307   CC="$ac_save_CC $ac_arg"
   3308   if ac_fn_c_try_compile "$LINENO"; then :
   3309   ac_cv_prog_cc_c89=$ac_arg
   3310 fi
   3311 rm -f core conftest.err conftest.$ac_objext
   3312   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3313 done
   3314 rm -f conftest.$ac_ext
   3315 CC=$ac_save_CC
   3316 
   3317 fi
   3318 # AC_CACHE_VAL
   3319 case "x$ac_cv_prog_cc_c89" in
   3320   x)
   3321     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3322 $as_echo "none needed" >&6; } ;;
   3323   xno)
   3324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3325 $as_echo "unsupported" >&6; } ;;
   3326   *)
   3327     CC="$CC $ac_cv_prog_cc_c89"
   3328     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3330 esac
   3331 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3332 
   3333 fi
   3334 
   3335 ac_ext=c
   3336 ac_cpp='$CPP $CPPFLAGS'
   3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3340 
   3341 # Make sure that we try clang++ first, which provides C++11 support.
   3342 # The g++ compiler is less likely to support C++11.
   3343 ac_ext=cpp
   3344 ac_cpp='$CXXCPP $CPPFLAGS'
   3345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3348 if test -z "$CXX"; then
   3349   if test -n "$CCC"; then
   3350     CXX=$CCC
   3351   else
   3352     if test -n "$ac_tool_prefix"; then
   3353   for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
   3354   do
   3355     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3356 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3358 $as_echo_n "checking for $ac_word... " >&6; }
   3359 if ${ac_cv_prog_CXX+:} false; then :
   3360   $as_echo_n "(cached) " >&6
   3361 else
   3362   if test -n "$CXX"; then
   3363   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3364 else
   3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3366 for as_dir in $PATH
   3367 do
   3368   IFS=$as_save_IFS
   3369   test -z "$as_dir" && as_dir=.
   3370     for ac_exec_ext in '' $ac_executable_extensions; do
   3371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3372     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3374     break 2
   3375   fi
   3376 done
   3377   done
   3378 IFS=$as_save_IFS
   3379 
   3380 fi
   3381 fi
   3382 CXX=$ac_cv_prog_CXX
   3383 if test -n "$CXX"; then
   3384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   3385 $as_echo "$CXX" >&6; }
   3386 else
   3387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3388 $as_echo "no" >&6; }
   3389 fi
   3390 
   3391 
   3392     test -n "$CXX" && break
   3393   done
   3394 fi
   3395 if test -z "$CXX"; then
   3396   ac_ct_CXX=$CXX
   3397   for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
   3398 do
   3399   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3400 set dummy $ac_prog; ac_word=$2
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3402 $as_echo_n "checking for $ac_word... " >&6; }
   3403 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   3404   $as_echo_n "(cached) " >&6
   3405 else
   3406   if test -n "$ac_ct_CXX"; then
   3407   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3408 else
   3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3410 for as_dir in $PATH
   3411 do
   3412   IFS=$as_save_IFS
   3413   test -z "$as_dir" && as_dir=.
   3414     for ac_exec_ext in '' $ac_executable_extensions; do
   3415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3416     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3418     break 2
   3419   fi
   3420 done
   3421   done
   3422 IFS=$as_save_IFS
   3423 
   3424 fi
   3425 fi
   3426 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3427 if test -n "$ac_ct_CXX"; then
   3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   3429 $as_echo "$ac_ct_CXX" >&6; }
   3430 else
   3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3432 $as_echo "no" >&6; }
   3433 fi
   3434 
   3435 
   3436   test -n "$ac_ct_CXX" && break
   3437 done
   3438 
   3439   if test "x$ac_ct_CXX" = x; then
   3440     CXX="g++"
   3441   else
   3442     case $cross_compiling:$ac_tool_warned in
   3443 yes:)
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3446 ac_tool_warned=yes ;;
   3447 esac
   3448     CXX=$ac_ct_CXX
   3449   fi
   3450 fi
   3451 
   3452   fi
   3453 fi
   3454 # Provide some information about the compiler.
   3455 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   3456 set X $ac_compile
   3457 ac_compiler=$2
   3458 for ac_option in --version -v -V -qversion; do
   3459   { { ac_try="$ac_compiler $ac_option >&5"
   3460 case "(($ac_try" in
   3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3462   *) ac_try_echo=$ac_try;;
   3463 esac
   3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3465 $as_echo "$ac_try_echo"; } >&5
   3466   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3467   ac_status=$?
   3468   if test -s conftest.err; then
   3469     sed '10a\
   3470 ... rest of stderr output deleted ...
   3471          10q' conftest.err >conftest.er1
   3472     cat conftest.er1 >&5
   3473   fi
   3474   rm -f conftest.er1 conftest.err
   3475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3476   test $ac_status = 0; }
   3477 done
   3478 
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   3480 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3481 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   3482   $as_echo_n "(cached) " >&6
   3483 else
   3484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3485 /* end confdefs.h.  */
   3486 
   3487 int
   3488 main ()
   3489 {
   3490 #ifndef __GNUC__
   3491        choke me
   3492 #endif
   3493 
   3494   ;
   3495   return 0;
   3496 }
   3497 _ACEOF
   3498 if ac_fn_cxx_try_compile "$LINENO"; then :
   3499   ac_compiler_gnu=yes
   3500 else
   3501   ac_compiler_gnu=no
   3502 fi
   3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3504 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3505 
   3506 fi
   3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   3508 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3509 if test $ac_compiler_gnu = yes; then
   3510   GXX=yes
   3511 else
   3512   GXX=
   3513 fi
   3514 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3515 ac_save_CXXFLAGS=$CXXFLAGS
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   3517 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3518 if ${ac_cv_prog_cxx_g+:} false; then :
   3519   $as_echo_n "(cached) " >&6
   3520 else
   3521   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3522    ac_cxx_werror_flag=yes
   3523    ac_cv_prog_cxx_g=no
   3524    CXXFLAGS="-g"
   3525    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_cxx_try_compile "$LINENO"; then :
   3537   ac_cv_prog_cxx_g=yes
   3538 else
   3539   CXXFLAGS=""
   3540       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 if ac_fn_cxx_try_compile "$LINENO"; then :
   3552 
   3553 else
   3554   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3555 	 CXXFLAGS="-g"
   3556 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3557 /* end confdefs.h.  */
   3558 
   3559 int
   3560 main ()
   3561 {
   3562 
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 if ac_fn_cxx_try_compile "$LINENO"; then :
   3568   ac_cv_prog_cxx_g=yes
   3569 fi
   3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3571 fi
   3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3573 fi
   3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3575    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3576 fi
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   3578 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3579 if test "$ac_test_CXXFLAGS" = set; then
   3580   CXXFLAGS=$ac_save_CXXFLAGS
   3581 elif test $ac_cv_prog_cxx_g = yes; then
   3582   if test "$GXX" = yes; then
   3583     CXXFLAGS="-g -O2"
   3584   else
   3585     CXXFLAGS="-g"
   3586   fi
   3587 else
   3588   if test "$GXX" = yes; then
   3589     CXXFLAGS="-O2"
   3590   else
   3591     CXXFLAGS=
   3592   fi
   3593 fi
   3594 ac_ext=c
   3595 ac_cpp='$CPP $CPPFLAGS'
   3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3599 
   3600 
   3601 # Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option
   3602 # The release mode use is the default one for autoconf
   3603 if test "$GCC" = yes; then
   3604     if test "$CFLAGS" = ""; then
   3605         if test "$ENABLE_DEBUG" = 1; then
   3606             CFLAGS=-g
   3607         fi
   3608         if test "$ENABLE_RELEASE" = 1; then
   3609             CFLAGS="$CFLAGS -O2"
   3610         fi
   3611     fi
   3612     if test "$CXXFLAGS" = ""; then
   3613         if test "$ENABLE_DEBUG" = 1; then
   3614             CXXFLAGS=-g
   3615         fi
   3616         if test "$ENABLE_RELEASE" = 1; then
   3617             CXXFLAGS="$CXXFLAGS -O2"
   3618         fi
   3619     fi
   3620 fi
   3621 
   3622 ac_ext=c
   3623 ac_cpp='$CPP $CPPFLAGS'
   3624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3628 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3629 # On Suns, sometimes $CPP names a directory.
   3630 if test -n "$CPP" && test -d "$CPP"; then
   3631   CPP=
   3632 fi
   3633 if test -z "$CPP"; then
   3634   if ${ac_cv_prog_CPP+:} false; then :
   3635   $as_echo_n "(cached) " >&6
   3636 else
   3637       # Double quotes because CPP needs to be expanded
   3638     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3639     do
   3640       ac_preproc_ok=false
   3641 for ac_c_preproc_warn_flag in '' yes
   3642 do
   3643   # Use a header file that comes with gcc, so configuring glibc
   3644   # with a fresh cross-compiler works.
   3645   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3646   # <limits.h> exists even on freestanding compilers.
   3647   # On the NeXT, cc -E runs the code through the compiler's parser,
   3648   # not just through cpp. "Syntax error" is here to catch this case.
   3649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3650 /* end confdefs.h.  */
   3651 #ifdef __STDC__
   3652 # include <limits.h>
   3653 #else
   3654 # include <assert.h>
   3655 #endif
   3656 		     Syntax error
   3657 _ACEOF
   3658 if ac_fn_c_try_cpp "$LINENO"; then :
   3659 
   3660 else
   3661   # Broken: fails on valid input.
   3662 continue
   3663 fi
   3664 rm -f conftest.err conftest.i conftest.$ac_ext
   3665 
   3666   # OK, works on sane cases.  Now check whether nonexistent headers
   3667   # can be detected and how.
   3668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3669 /* end confdefs.h.  */
   3670 #include <ac_nonexistent.h>
   3671 _ACEOF
   3672 if ac_fn_c_try_cpp "$LINENO"; then :
   3673   # Broken: success on invalid input.
   3674 continue
   3675 else
   3676   # Passes both tests.
   3677 ac_preproc_ok=:
   3678 break
   3679 fi
   3680 rm -f conftest.err conftest.i conftest.$ac_ext
   3681 
   3682 done
   3683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3684 rm -f conftest.i conftest.err conftest.$ac_ext
   3685 if $ac_preproc_ok; then :
   3686   break
   3687 fi
   3688 
   3689     done
   3690     ac_cv_prog_CPP=$CPP
   3691 
   3692 fi
   3693   CPP=$ac_cv_prog_CPP
   3694 else
   3695   ac_cv_prog_CPP=$CPP
   3696 fi
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3698 $as_echo "$CPP" >&6; }
   3699 ac_preproc_ok=false
   3700 for ac_c_preproc_warn_flag in '' yes
   3701 do
   3702   # Use a header file that comes with gcc, so configuring glibc
   3703   # with a fresh cross-compiler works.
   3704   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3705   # <limits.h> exists even on freestanding compilers.
   3706   # On the NeXT, cc -E runs the code through the compiler's parser,
   3707   # not just through cpp. "Syntax error" is here to catch this case.
   3708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3709 /* end confdefs.h.  */
   3710 #ifdef __STDC__
   3711 # include <limits.h>
   3712 #else
   3713 # include <assert.h>
   3714 #endif
   3715 		     Syntax error
   3716 _ACEOF
   3717 if ac_fn_c_try_cpp "$LINENO"; then :
   3718 
   3719 else
   3720   # Broken: fails on valid input.
   3721 continue
   3722 fi
   3723 rm -f conftest.err conftest.i conftest.$ac_ext
   3724 
   3725   # OK, works on sane cases.  Now check whether nonexistent headers
   3726   # can be detected and how.
   3727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 #include <ac_nonexistent.h>
   3730 _ACEOF
   3731 if ac_fn_c_try_cpp "$LINENO"; then :
   3732   # Broken: success on invalid input.
   3733 continue
   3734 else
   3735   # Passes both tests.
   3736 ac_preproc_ok=:
   3737 break
   3738 fi
   3739 rm -f conftest.err conftest.i conftest.$ac_ext
   3740 
   3741 done
   3742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3743 rm -f conftest.i conftest.err conftest.$ac_ext
   3744 if $ac_preproc_ok; then :
   3745 
   3746 else
   3747   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3749 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3750 See \`config.log' for more details" "$LINENO" 5; }
   3751 fi
   3752 
   3753 ac_ext=c
   3754 ac_cpp='$CPP $CPPFLAGS'
   3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3758 
   3759 
   3760 # Find a good install program.  We prefer a C program (faster),
   3761 # so one script is as good as another.  But avoid the broken or
   3762 # incompatible versions:
   3763 # SysV /etc/install, /usr/sbin/install
   3764 # SunOS /usr/etc/install
   3765 # IRIX /sbin/install
   3766 # AIX /bin/install
   3767 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3768 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3769 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3770 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3771 # OS/2's system install, which has a completely different semantic
   3772 # ./install, which can be erroneously created by make from ./install.sh.
   3773 # Reject install programs that cannot install multiple files.
   3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3775 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3776 if test -z "$INSTALL"; then
   3777 if ${ac_cv_path_install+:} false; then :
   3778   $as_echo_n "(cached) " >&6
   3779 else
   3780   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3781 for as_dir in $PATH
   3782 do
   3783   IFS=$as_save_IFS
   3784   test -z "$as_dir" && as_dir=.
   3785     # Account for people who put trailing slashes in PATH elements.
   3786 case $as_dir/ in #((
   3787   ./ | .// | /[cC]/* | \
   3788   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3789   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3790   /usr/ucb/* ) ;;
   3791   *)
   3792     # OSF1 and SCO ODT 3.0 have their own names for install.
   3793     # Don't use installbsd from OSF since it installs stuff as root
   3794     # by default.
   3795     for ac_prog in ginstall scoinst install; do
   3796       for ac_exec_ext in '' $ac_executable_extensions; do
   3797 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3798 	  if test $ac_prog = install &&
   3799 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3800 	    # AIX install.  It has an incompatible calling convention.
   3801 	    :
   3802 	  elif test $ac_prog = install &&
   3803 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3804 	    # program-specific install script used by HP pwplus--don't use.
   3805 	    :
   3806 	  else
   3807 	    rm -rf conftest.one conftest.two conftest.dir
   3808 	    echo one > conftest.one
   3809 	    echo two > conftest.two
   3810 	    mkdir conftest.dir
   3811 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3812 	      test -s conftest.one && test -s conftest.two &&
   3813 	      test -s conftest.dir/conftest.one &&
   3814 	      test -s conftest.dir/conftest.two
   3815 	    then
   3816 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3817 	      break 3
   3818 	    fi
   3819 	  fi
   3820 	fi
   3821       done
   3822     done
   3823     ;;
   3824 esac
   3825 
   3826   done
   3827 IFS=$as_save_IFS
   3828 
   3829 rm -rf conftest.one conftest.two conftest.dir
   3830 
   3831 fi
   3832   if test "${ac_cv_path_install+set}" = set; then
   3833     INSTALL=$ac_cv_path_install
   3834   else
   3835     # As a last resort, use the slow shell script.  Don't cache a
   3836     # value for INSTALL within a source directory, because that will
   3837     # break other packages using the cache if that directory is
   3838     # removed, or if the value is a relative name.
   3839     INSTALL=$ac_install_sh
   3840   fi
   3841 fi
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3843 $as_echo "$INSTALL" >&6; }
   3844 
   3845 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3846 # It thinks the first close brace ends the variable substitution.
   3847 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3848 
   3849 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3850 
   3851 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3852 
   3853 
   3854 
   3855 
   3856 ac_ext=cpp
   3857 ac_cpp='$CXXCPP $CPPFLAGS'
   3858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3861 
   3862 
   3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3864 /* end confdefs.h.  */
   3865 
   3866 int
   3867 main ()
   3868 {
   3869 
   3870   ;
   3871   return 0;
   3872 }
   3873 _ACEOF
   3874 if ac_fn_cxx_try_link "$LINENO"; then :
   3875 
   3876 fi
   3877 rm -f core conftest.err conftest.$ac_objext \
   3878     conftest$ac_exeext conftest.$ac_ext
   3879 ac_ext=c
   3880 ac_cpp='$CPP $CPPFLAGS'
   3881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3884 
   3885 
   3886 # make sure install is relative to srcdir - if a script
   3887 if test "$srcdir" = "."; then
   3888   # If srcdir isn't just ., then (srcdir) is already prepended.
   3889   if test "${ac_install_sh}" = "${INSTALL}"; then
   3890    INSTALL="\\\$(top_srcdir)/${ac_install_sh}"
   3891   fi
   3892 fi
   3893 
   3894 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
   3895 #AC_CHECK_PROG(STRIP, strip, strip, true)
   3896 
   3897 # Check for the platform make
   3898 for ac_prog in gmake gnumake
   3899 do
   3900   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3901 set dummy $ac_prog; ac_word=$2
   3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3903 $as_echo_n "checking for $ac_word... " >&6; }
   3904 if ${ac_cv_path_U_MAKE+:} false; then :
   3905   $as_echo_n "(cached) " >&6
   3906 else
   3907   case $U_MAKE in
   3908   [\\/]* | ?:[\\/]*)
   3909   ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.
   3910   ;;
   3911   *)
   3912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3913 for as_dir in $PATH
   3914 do
   3915   IFS=$as_save_IFS
   3916   test -z "$as_dir" && as_dir=.
   3917     for ac_exec_ext in '' $ac_executable_extensions; do
   3918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3919     ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"
   3920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3921     break 2
   3922   fi
   3923 done
   3924   done
   3925 IFS=$as_save_IFS
   3926 
   3927   ;;
   3928 esac
   3929 fi
   3930 U_MAKE=$ac_cv_path_U_MAKE
   3931 if test -n "$U_MAKE"; then
   3932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5
   3933 $as_echo "$U_MAKE" >&6; }
   3934 else
   3935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3936 $as_echo "no" >&6; }
   3937 fi
   3938 
   3939 
   3940   test -n "$U_MAKE" && break
   3941 done
   3942 test -n "$U_MAKE" || U_MAKE="make"
   3943 
   3944 
   3945 
   3946 
   3947 
   3948 # Check whether --with-cross-build was given.
   3949 if test "${with_cross_build+set}" = set; then :
   3950   withval=$with_cross_build; cross_buildroot="${withval}"
   3951 else
   3952   cross_buildroot=""
   3953 fi
   3954 
   3955 
   3956 if test "X$cross_buildroot" = "X"; then
   3957     if test "$cross_compiling" = "yes"; then
   3958         as_fn_error $? "Error! Cross compiling but no --with-cross-build option specified - please supply the path to an executable ICU's build root" "$LINENO" 5
   3959 	    fi
   3960 else
   3961     if test -f "${cross_buildroot}/config/icucross.mk"; then
   3962         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5
   3963 $as_echo "Using cross buildroot: $cross_buildroot" >&6; }
   3964     else
   3965         if test -d "${cross_buildroot}"; then
   3966             as_fn_error $? "${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5
   3967         else
   3968             as_fn_error $? "No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5
   3969         fi
   3970     fi
   3971 fi
   3972 
   3973 
   3974 # Check for doxygen to generate documentation
   3975 # Extract the first word of "doxygen", so it can be a program name with args.
   3976 set dummy doxygen; ac_word=$2
   3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3978 $as_echo_n "checking for $ac_word... " >&6; }
   3979 if ${ac_cv_path_DOXYGEN+:} false; then :
   3980   $as_echo_n "(cached) " >&6
   3981 else
   3982   case $DOXYGEN in
   3983   [\\/]* | ?:[\\/]*)
   3984   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   3985   ;;
   3986   *)
   3987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3988 as_dummy="$PATH:/usr/local/bin:/usr/bin"
   3989 for as_dir in $as_dummy
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_exec_ext in '' $ac_executable_extensions; do
   3994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3995     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   3996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3997     break 2
   3998   fi
   3999 done
   4000   done
   4001 IFS=$as_save_IFS
   4002 
   4003   ;;
   4004 esac
   4005 fi
   4006 DOXYGEN=$ac_cv_path_DOXYGEN
   4007 if test -n "$DOXYGEN"; then
   4008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   4009 $as_echo "$DOXYGEN" >&6; }
   4010 else
   4011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4012 $as_echo "no" >&6; }
   4013 fi
   4014 
   4015 
   4016 
   4017 # Check that the linker is usable
   4018 
   4019 case "${host}" in
   4020     *-*-cygwin*|*-*-mingw*)
   4021         if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
   4022             as_fn_error $? "link.exe is not a valid linker. Your PATH is incorrect.
   4023                   Please follow the directions in ICU's readme." "$LINENO" 5
   4024         fi;;
   4025     *);;
   4026 esac
   4027 
   4028 # Determine the executable suffix
   4029 # We don't use AC_EXEEXT because some compilers output separate debugging
   4030 # files, which confuses the AC_EXEEXT macro.
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5
   4032 $as_echo_n "checking checking for executable suffix... " >&6; }
   4033 case "${host}" in
   4034     *-*-cygwin*|*-*-mingw*)  EXEEXT=.exe ;;
   4035     *)      EXEEXT="" ;;
   4036 esac
   4037 ac_exeext=$EXEEXT
   4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
   4039 $as_echo "$EXEEXT" >&6; }
   4040 
   4041 
   4042 # Determine how strict we want to be when compiling
   4043 
   4044     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5
   4045 $as_echo_n "checking whether strict compiling is on... " >&6; }
   4046     # Check whether --enable-strict was given.
   4047 if test "${enable_strict+set}" = set; then :
   4048   enableval=$enable_strict;
   4049         if test "$enableval" = no
   4050         then
   4051             ac_use_strict_options=no
   4052         else
   4053             ac_use_strict_options=yes
   4054         fi
   4055 
   4056 else
   4057   ac_use_strict_options=yes
   4058 fi
   4059 
   4060     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5
   4061 $as_echo "$ac_use_strict_options" >&6; }
   4062 
   4063     if test "$ac_use_strict_options" = yes
   4064     then
   4065         if test "$GCC" = yes
   4066         then
   4067             # Do not use -ansi. It limits us to C90, and it breaks some platforms.
   4068             # We use -std=c99 to disable the gnu99 defaults and its associated warnings
   4069             CFLAGS="$CFLAGS -Wall -std=c99 -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
   4070         else
   4071             case "${host}" in
   4072             *-*-cygwin)
   4073                 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
   4074                 then
   4075                     CFLAGS="$CFLAGS /W4"
   4076                 fi
   4077             esac
   4078         fi
   4079         if test "$GXX" = yes
   4080         then
   4081             CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
   4082         else
   4083             case "${host}" in
   4084             *-*-cygwin)
   4085                 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
   4086                 then
   4087                     CXXFLAGS="$CXXFLAGS /W4"
   4088                 fi
   4089             esac
   4090         fi
   4091     fi
   4092 
   4093 
   4094 # Check if we can build and use 64-bit libraries
   4095 
   4096 
   4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4098 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4099 if ${ac_cv_path_GREP+:} false; then :
   4100   $as_echo_n "(cached) " >&6
   4101 else
   4102   if test -z "$GREP"; then
   4103   ac_path_GREP_found=false
   4104   # Loop through the user's path and test for each of PROGNAME-LIST
   4105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4106 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4107 do
   4108   IFS=$as_save_IFS
   4109   test -z "$as_dir" && as_dir=.
   4110     for ac_prog in grep ggrep; do
   4111     for ac_exec_ext in '' $ac_executable_extensions; do
   4112       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4113       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4114 # Check for GNU ac_path_GREP and select it if it is found.
   4115   # Check for GNU $ac_path_GREP
   4116 case `"$ac_path_GREP" --version 2>&1` in
   4117 *GNU*)
   4118   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4119 *)
   4120   ac_count=0
   4121   $as_echo_n 0123456789 >"conftest.in"
   4122   while :
   4123   do
   4124     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4125     mv "conftest.tmp" "conftest.in"
   4126     cp "conftest.in" "conftest.nl"
   4127     $as_echo 'GREP' >> "conftest.nl"
   4128     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4129     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4130     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4131     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4132       # Best one so far, save it but keep looking for a better one
   4133       ac_cv_path_GREP="$ac_path_GREP"
   4134       ac_path_GREP_max=$ac_count
   4135     fi
   4136     # 10*(2^10) chars as input seems more than enough
   4137     test $ac_count -gt 10 && break
   4138   done
   4139   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4140 esac
   4141 
   4142       $ac_path_GREP_found && break 3
   4143     done
   4144   done
   4145   done
   4146 IFS=$as_save_IFS
   4147   if test -z "$ac_cv_path_GREP"; then
   4148     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4149   fi
   4150 else
   4151   ac_cv_path_GREP=$GREP
   4152 fi
   4153 
   4154 fi
   4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4156 $as_echo "$ac_cv_path_GREP" >&6; }
   4157  GREP="$ac_cv_path_GREP"
   4158 
   4159 
   4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4161 $as_echo_n "checking for egrep... " >&6; }
   4162 if ${ac_cv_path_EGREP+:} false; then :
   4163   $as_echo_n "(cached) " >&6
   4164 else
   4165   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4166    then ac_cv_path_EGREP="$GREP -E"
   4167    else
   4168      if test -z "$EGREP"; then
   4169   ac_path_EGREP_found=false
   4170   # Loop through the user's path and test for each of PROGNAME-LIST
   4171   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4172 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4173 do
   4174   IFS=$as_save_IFS
   4175   test -z "$as_dir" && as_dir=.
   4176     for ac_prog in egrep; do
   4177     for ac_exec_ext in '' $ac_executable_extensions; do
   4178       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4179       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4180 # Check for GNU ac_path_EGREP and select it if it is found.
   4181   # Check for GNU $ac_path_EGREP
   4182 case `"$ac_path_EGREP" --version 2>&1` in
   4183 *GNU*)
   4184   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4185 *)
   4186   ac_count=0
   4187   $as_echo_n 0123456789 >"conftest.in"
   4188   while :
   4189   do
   4190     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4191     mv "conftest.tmp" "conftest.in"
   4192     cp "conftest.in" "conftest.nl"
   4193     $as_echo 'EGREP' >> "conftest.nl"
   4194     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4195     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4196     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4197     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4198       # Best one so far, save it but keep looking for a better one
   4199       ac_cv_path_EGREP="$ac_path_EGREP"
   4200       ac_path_EGREP_max=$ac_count
   4201     fi
   4202     # 10*(2^10) chars as input seems more than enough
   4203     test $ac_count -gt 10 && break
   4204   done
   4205   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4206 esac
   4207 
   4208       $ac_path_EGREP_found && break 3
   4209     done
   4210   done
   4211   done
   4212 IFS=$as_save_IFS
   4213   if test -z "$ac_cv_path_EGREP"; then
   4214     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4215   fi
   4216 else
   4217   ac_cv_path_EGREP=$EGREP
   4218 fi
   4219 
   4220    fi
   4221 fi
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4223 $as_echo "$ac_cv_path_EGREP" >&6; }
   4224  EGREP="$ac_cv_path_EGREP"
   4225 
   4226 
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4228 $as_echo_n "checking for ANSI C header files... " >&6; }
   4229 if ${ac_cv_header_stdc+:} false; then :
   4230   $as_echo_n "(cached) " >&6
   4231 else
   4232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4233 /* end confdefs.h.  */
   4234 #include <stdlib.h>
   4235 #include <stdarg.h>
   4236 #include <string.h>
   4237 #include <float.h>
   4238 
   4239 int
   4240 main ()
   4241 {
   4242 
   4243   ;
   4244   return 0;
   4245 }
   4246 _ACEOF
   4247 if ac_fn_c_try_compile "$LINENO"; then :
   4248   ac_cv_header_stdc=yes
   4249 else
   4250   ac_cv_header_stdc=no
   4251 fi
   4252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4253 
   4254 if test $ac_cv_header_stdc = yes; then
   4255   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4257 /* end confdefs.h.  */
   4258 #include <string.h>
   4259 
   4260 _ACEOF
   4261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4262   $EGREP "memchr" >/dev/null 2>&1; then :
   4263 
   4264 else
   4265   ac_cv_header_stdc=no
   4266 fi
   4267 rm -f conftest*
   4268 
   4269 fi
   4270 
   4271 if test $ac_cv_header_stdc = yes; then
   4272   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4274 /* end confdefs.h.  */
   4275 #include <stdlib.h>
   4276 
   4277 _ACEOF
   4278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4279   $EGREP "free" >/dev/null 2>&1; then :
   4280 
   4281 else
   4282   ac_cv_header_stdc=no
   4283 fi
   4284 rm -f conftest*
   4285 
   4286 fi
   4287 
   4288 if test $ac_cv_header_stdc = yes; then
   4289   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4290   if test "$cross_compiling" = yes; then :
   4291   :
   4292 else
   4293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 #include <ctype.h>
   4296 #include <stdlib.h>
   4297 #if ((' ' & 0x0FF) == 0x020)
   4298 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4299 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4300 #else
   4301 # define ISLOWER(c) \
   4302 		   (('a' <= (c) && (c) <= 'i') \
   4303 		     || ('j' <= (c) && (c) <= 'r') \
   4304 		     || ('s' <= (c) && (c) <= 'z'))
   4305 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4306 #endif
   4307 
   4308 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4309 int
   4310 main ()
   4311 {
   4312   int i;
   4313   for (i = 0; i < 256; i++)
   4314     if (XOR (islower (i), ISLOWER (i))
   4315 	|| toupper (i) != TOUPPER (i))
   4316       return 2;
   4317   return 0;
   4318 }
   4319 _ACEOF
   4320 if ac_fn_c_try_run "$LINENO"; then :
   4321 
   4322 else
   4323   ac_cv_header_stdc=no
   4324 fi
   4325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4326   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4327 fi
   4328 
   4329 fi
   4330 fi
   4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4332 $as_echo "$ac_cv_header_stdc" >&6; }
   4333 if test $ac_cv_header_stdc = yes; then
   4334 
   4335 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4336 
   4337 fi
   4338 
   4339 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4340 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4341 		  inttypes.h stdint.h unistd.h
   4342 do :
   4343   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4344 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4345 "
   4346 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4347   cat >>confdefs.h <<_ACEOF
   4348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4349 _ACEOF
   4350 
   4351 fi
   4352 
   4353 done
   4354 
   4355 
   4356 
   4357     BITS_REQ=nochange
   4358     ENABLE_64BIT_LIBS=unknown
   4359     ## revisit this for cross-compile.
   4360 
   4361     # Check whether --enable-64bit-libs was given.
   4362 if test "${enable_64bit_libs+set}" = set; then :
   4363   enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"
   4364          case "${enableval}" in
   4365             no|false|32) with_library_bits=32;  ;;
   4366             yes|true|64) with_library_bits=64else32 ;;
   4367             nochange) with_library_bits=nochange; ;;
   4368             *) as_fn_error $? "bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;;
   4369             esac
   4370 fi
   4371 
   4372 
   4373 
   4374 
   4375 # Check whether --with-library-bits was given.
   4376 if test "${with_library_bits+set}" = set; then :
   4377   withval=$with_library_bits; case "${withval}" in
   4378             ""|nochange) BITS_REQ=$withval ;;
   4379             32|64|64else32) BITS_REQ=$withval ;;
   4380             *) as_fn_error $? "bad value ${withval} for --with-library-bits" "$LINENO" 5 ;;
   4381             esac
   4382 fi
   4383 
   4384 
   4385     # don't use these for cross compiling
   4386     if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then
   4387         as_fn_error $? "Don't specify bitness when cross compiling. See readme.html for help with cross compilation., and set compiler options manually." "$LINENO" 5
   4388     fi
   4389     # The cast to long int works around a bug in the HP C Compiler
   4390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4392 # This bug is HP SR number 8606223364.
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   4394 $as_echo_n "checking size of void *... " >&6; }
   4395 if ${ac_cv_sizeof_void_p+:} false; then :
   4396   $as_echo_n "(cached) " >&6
   4397 else
   4398   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   4399 
   4400 else
   4401   if test "$ac_cv_type_void_p" = yes; then
   4402      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4404 as_fn_error 77 "cannot compute sizeof (void *)
   4405 See \`config.log' for more details" "$LINENO" 5; }
   4406    else
   4407      ac_cv_sizeof_void_p=0
   4408    fi
   4409 fi
   4410 
   4411 fi
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   4413 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   4414 
   4415 
   4416 
   4417 cat >>confdefs.h <<_ACEOF
   4418 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   4419 _ACEOF
   4420 
   4421 
   4422     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5
   4423 $as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }
   4424     case $ac_cv_sizeof_void_p in
   4425         8) DEFAULT_64BIT=yes ;;
   4426         4) DEFAULT_64BIT=no ;;
   4427         *) DEFAULT_64BIT=unknown
   4428     esac
   4429     BITS_GOT=unknown
   4430 
   4431     # 'OK' here means, we can exit any further checking, everything's copa
   4432     BITS_OK=yes
   4433 
   4434     # do we need to check for buildable/runnable 32 or 64 bit?
   4435     BITS_CHECK_32=no
   4436     BITS_CHECK_64=no
   4437 
   4438     # later, can we run the 32/64 bit binaries so made?
   4439     BITS_RUN_32=no
   4440     BITS_RUN_64=no
   4441 
   4442     if test "$DEFAULT_64BIT" = "yes"; then
   4443         # we get 64 bits by default.
   4444         BITS_GOT=64
   4445         case "$BITS_REQ" in
   4446             32)
   4447                 # need to look for 32 bit support.
   4448                 BITS_CHECK_32=yes
   4449                 # not copa.
   4450                 BITS_OK=no;;
   4451             # everyone else is happy.
   4452             nochange) ;;
   4453             *) ;;
   4454         esac
   4455     elif test "$DEFAULT_64BIT" = "no"; then
   4456         # not 64 bit by default.
   4457         BITS_GOT=32
   4458         case "$BITS_REQ" in
   4459             64|64else32)
   4460                 BITS_CHECK_64=yes
   4461                 #BITS_CHECK_32=yes
   4462                 BITS_OK=no;;
   4463             nochange) ;;
   4464             *) ;;
   4465         esac
   4466     elif test "$DEFAULT_64BIT" = "unknown"; then
   4467         # cross compiling.
   4468         BITS_GOT=unknown
   4469         case "$BITS_REQ" in
   4470             64|64else32) BITS_OK=no
   4471             BITS_CHECK_32=yes
   4472             BITS_CHECK_64=yes ;;
   4473             32) BITS_OK=no;;
   4474             nochange) ;;
   4475             *) ;;
   4476         esac
   4477     fi
   4478 
   4479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5
   4480 $as_echo "$DEFAULT_64BIT" >&6; };
   4481 
   4482     if test "$BITS_OK" != "yes"; then
   4483         # not copa. back these up.
   4484         CFLAGS_OLD="${CFLAGS}"
   4485         CXXFLAGS_OLD="${CXXFLAGS}"
   4486         LDFLAGS_OLD="${LDFLAGS}"
   4487         ARFLAGS_OLD="${ARFLAGS}"
   4488 
   4489         CFLAGS_32="${CFLAGS}"
   4490         CXXFLAGS_32="${CXXFLAGS}"
   4491         LDFLAGS_32="${LDFLAGS}"
   4492         ARFLAGS_32="${ARFLAGS}"
   4493 
   4494         CFLAGS_64="${CFLAGS}"
   4495         CXXFLAGS_64="${CXXFLAGS}"
   4496         LDFLAGS_64="${LDFLAGS}"
   4497         ARFLAGS_64="${ARFLAGS}"
   4498 
   4499         CAN_BUILD_64=unknown
   4500         CAN_BUILD_32=unknown
   4501         # These results can't be cached because is sets compiler flags.
   4502         if test "$BITS_CHECK_64" = "yes"; then
   4503             { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5
   4504 $as_echo_n "checking how to build 64-bit executables... " >&6; }
   4505             CAN_BUILD_64=no
   4506             ####
   4507             # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.
   4508             #  Note, we don't have to actually check if the options work- we'll try them before using them.
   4509             #  So, only try actually testing the options, if you are trying to decide between multiple options.
   4510             # On exit from the following clauses:
   4511             # if CAN_BUILD_64=yes:
   4512             #    *FLAGS are assumed to contain the right settings for 64bit
   4513             # else if CAN_BUILD_64=no: (default)
   4514             #    *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD
   4515 
   4516             if test "$GCC" = yes; then
   4517                 CFLAGS="${CFLAGS} -m64"
   4518                 CXXFLAGS="${CXXFLAGS} -m64"
   4519                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4520 /* end confdefs.h.  */
   4521 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4522 _ACEOF
   4523 if ac_fn_c_try_compile "$LINENO"; then :
   4524   CAN_BUILD_64=yes
   4525 else
   4526   CAN_BUILD_64=no
   4527 fi
   4528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4529             else
   4530                 case "${host}" in
   4531                 sparc*-*-solaris*)
   4532                     # 1. try -m64
   4533                     CFLAGS="${CFLAGS} -m64"
   4534                     CXXFLAGS="${CXXFLAGS} -m64"
   4535                     if test "$cross_compiling" = yes; then :
   4536   CAN_BUILD_64=unknown
   4537 else
   4538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4539 /* end confdefs.h.  */
   4540 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4541 _ACEOF
   4542 if ac_fn_c_try_run "$LINENO"; then :
   4543   CAN_BUILD_64=yes
   4544 else
   4545   CAN_BUILD_64=no
   4546 fi
   4547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4548   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4549 fi
   4550 
   4551                     if test "$CAN_BUILD_64" != yes; then
   4552                         # Nope. back out changes.
   4553                         CFLAGS="${CFLAGS_OLD}"
   4554                         CXXFLAGS="${CFLAGS_OLD}"
   4555                         # 2. try xarch=v9 [deprecated]
   4556                         ## TODO: cross compile: the following won't work.
   4557                         SPARCV9=`isainfo -n 2>&1 | grep sparcv9`
   4558                         SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
   4559                         # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"
   4560                         if test -z "$SOL64" && test -n "$SPARCV9"; then
   4561                             CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"
   4562                             CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"
   4563                             LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9"
   4564                             CAN_BUILD_64=yes
   4565                         fi
   4566                     fi
   4567                     ;;
   4568                 i386-*-solaris*)
   4569                     # 1. try -m64
   4570                     CFLAGS="${CFLAGS} -m64"
   4571                     CXXFLAGS="${CXXFLAGS} -m64"
   4572                     if test "$cross_compiling" = yes; then :
   4573   CAN_BUILD_64=unknown
   4574 else
   4575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4576 /* end confdefs.h.  */
   4577 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4578 _ACEOF
   4579 if ac_fn_c_try_run "$LINENO"; then :
   4580   CAN_BUILD_64=yes
   4581 else
   4582   CAN_BUILD_64=no
   4583 fi
   4584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4585   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4586 fi
   4587 
   4588                     if test "$CAN_BUILD_64" != yes; then
   4589                         # Nope. back out changes.
   4590                         CFLAGS="${CFLAGS_OLD}"
   4591                         CXXFLAGS="${CXXFLAGS_OLD}"
   4592                         # 2. try the older compiler option
   4593                         ## TODO: cross compile problem
   4594                         AMD64=`isainfo -n 2>&1 | grep amd64`
   4595                         SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
   4596                         if test -z "$SOL64" && test -n "$AMD64"; then
   4597                             CFLAGS="${CFLAGS} -xtarget=generic64"
   4598                             CXXFLAGS="${CXXFLAGS} -xtarget=generic64"
   4599                             CAN_BUILD_64=yes
   4600                         fi
   4601                     fi
   4602                     ;;
   4603                 ia64-*-linux*)
   4604                     # check for ecc/ecpc compiler support
   4605                     ## TODO: cross compiler problem
   4606                     if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
   4607                         if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
   4608                             CAN_BUILD_64=yes
   4609                         fi
   4610                     fi
   4611                     ;;
   4612                 *-*-cygwin)
   4613                     # vcvarsamd64.bat should have been used to enable 64-bit builds.
   4614                     # We only do this check to display the correct answer.
   4615                     ## TODO: cross compiler problem
   4616                     if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
   4617                         CAN_BUILD_64=yes
   4618                     fi
   4619                     ;;
   4620                 *-*-aix*|powerpc64-*-linux*)
   4621                     CFLAGS="${CFLAGS} -q64"
   4622                     CXXFLAGS="${CXXFLAGS} -q64"
   4623                     LDFLAGS="${LDFLAGS} -q64"
   4624                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4625 /* end confdefs.h.  */
   4626 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4627 _ACEOF
   4628 if ac_fn_c_try_compile "$LINENO"; then :
   4629   CAN_BUILD_64=yes
   4630 else
   4631   CAN_BUILD_64=no
   4632 fi
   4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4634                     if test "$CAN_BUILD_64" = yes; then
   4635                         # worked- set other options.
   4636                         case "${host}" in
   4637                         *-*-aix*)
   4638                             # tell AIX what executable mode to use.
   4639                             ARFLAGS="${ARFLAGS} -X64"
   4640                         esac
   4641                     fi
   4642                     ;;
   4643                 *-*-hpux*)
   4644                     # First we try the newer +DD64, if that doesn't work,
   4645                     # try other options.
   4646 
   4647                     CFLAGS="${CFLAGS} +DD64"
   4648                     CXXFLAGS="${CXXFLAGS} +DD64"
   4649                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4650 /* end confdefs.h.  */
   4651 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4652 _ACEOF
   4653 if ac_fn_c_try_compile "$LINENO"; then :
   4654   CAN_BUILD_64=yes
   4655 else
   4656   CAN_BUILD_64=no
   4657 fi
   4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4659                     if test "$CAN_BUILD_64" != yes; then
   4660                         # reset
   4661                         CFLAGS="${CFLAGS_OLD}"
   4662                         CXXFLAGS="${CXXFLAGS_OLD}"
   4663                         # append
   4664                         CFLAGS="${CFLAGS} +DA2.0W"
   4665                         CXXFLAGS="${CXXFLAGS} +DA2.0W"
   4666                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4667 /* end confdefs.h.  */
   4668 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4669 _ACEOF
   4670 if ac_fn_c_try_compile "$LINENO"; then :
   4671   CAN_BUILD_64=yes
   4672 else
   4673   CAN_BUILD_64=no
   4674 fi
   4675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4676                     fi
   4677                     ;;
   4678                 *-*ibm-openedition*|*-*-os390*)
   4679                     CFLAGS="${CFLAGS} -Wc,lp64"
   4680                     CXXFLAGS="${CXXFLAGS} -Wc,lp64"
   4681                     LDFLAGS="${LDFLAGS} -Wl,lp64"
   4682                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4683 /* end confdefs.h.  */
   4684 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4685 _ACEOF
   4686 if ac_fn_c_try_compile "$LINENO"; then :
   4687   CAN_BUILD_64=yes
   4688 else
   4689   CAN_BUILD_64=no
   4690 fi
   4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4692                     ;;
   4693                 *)
   4694                     # unknown platform.
   4695                     ;;
   4696                 esac
   4697             fi
   4698             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5
   4699 $as_echo "$CAN_BUILD_64" >&6; }
   4700             if test "$CAN_BUILD_64" = yes; then
   4701                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5
   4702 $as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }
   4703                 if test "$cross_compiling" = yes; then :
   4704   BITS_RUN_64=unknown
   4705 else
   4706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4707 /* end confdefs.h.  */
   4708 int main(void) {return (sizeof(void*)*8==64)?0:1;}
   4709 _ACEOF
   4710 if ac_fn_c_try_run "$LINENO"; then :
   4711   BITS_RUN_64=yes
   4712 else
   4713   BITS_RUN_64=no
   4714 fi
   4715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4716   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4717 fi
   4718 
   4719                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5
   4720 $as_echo "$BITS_RUN_64" >&6; };
   4721 
   4722                 CFLAGS_64="${CFLAGS}"
   4723                 CXXFLAGS_64="${CXXFLAGS}"
   4724                 LDFLAGS_64="${LDFLAGS}"
   4725                 ARFLAGS_64="${ARFLAGS}"
   4726             fi
   4727             # put it back.
   4728             CFLAGS="${CFLAGS_OLD}"
   4729             CXXFLAGS="${CXXFLAGS_OLD}"
   4730             LDFLAGS="${LDFLAGS_OLD}"
   4731             ARFLAGS="${ARFLAGS_OLD}"
   4732         fi
   4733         if test "$BITS_CHECK_32" = "yes"; then
   4734             # see comment under 'if BITS_CHECK_64', above.
   4735             { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5
   4736 $as_echo_n "checking how to build 32-bit executables... " >&6; }
   4737             if test "$GCC" = yes; then
   4738                 CFLAGS="${CFLAGS} -m32"
   4739                 CXXFLAGS="${CXXFLAGS} -m32"
   4740                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4741 /* end confdefs.h.  */
   4742 int main(void) {return (sizeof(void*)*8==32)?0:1;}
   4743 _ACEOF
   4744 if ac_fn_c_try_compile "$LINENO"; then :
   4745   CAN_BUILD_32=yes
   4746 else
   4747   CAN_BUILD_32=no
   4748 fi
   4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4750             fi
   4751             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5
   4752 $as_echo "$CAN_BUILD_32" >&6; }
   4753             if test "$CAN_BUILD_32" = yes; then
   4754                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5
   4755 $as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }
   4756                 if test "$cross_compiling" = yes; then :
   4757   BITS_RUN_32=unknown
   4758 else
   4759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4760 /* end confdefs.h.  */
   4761 int main(void) {return (sizeof(void*)*8==32)?0:1;}
   4762 _ACEOF
   4763 if ac_fn_c_try_run "$LINENO"; then :
   4764   BITS_RUN_32=yes
   4765 else
   4766   BITS_RUN_32=no
   4767 fi
   4768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4769   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4770 fi
   4771 
   4772                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5
   4773 $as_echo "$BITS_RUN_32" >&6; };
   4774                 CFLAGS_32="${CFLAGS}"
   4775                 CXXFLAGS_32="${CXXFLAGS}"
   4776                 LDFLAGS_32="${LDFLAGS}"
   4777                 ARFLAGS_32="${ARFLAGS}"
   4778             fi
   4779             # put it back.
   4780             CFLAGS="${CFLAGS_OLD}"
   4781             CXXFLAGS="${CXXFLAGS_OLD}"
   4782             LDFLAGS="${LDFLAGS_OLD}"
   4783             ARFLAGS="${ARFLAGS_OLD}"
   4784         fi
   4785 
   4786         ##
   4787         # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.
   4788         #
   4789 
   4790         # First, implement 64else32
   4791         if test "$BITS_REQ" = "64else32"; then
   4792             if test "$BITS_RUN_64" = "yes"; then
   4793                 BITS_REQ=64
   4794             else
   4795                 # no changes.
   4796                 BITS_OK=yes
   4797             fi
   4798         fi
   4799 
   4800         # implement.
   4801         if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then
   4802             CFLAGS="${CFLAGS_32}"
   4803             CXXFLAGS="${CXXFLAGS_32}"
   4804             LDFLAGS="${LDFLAGS_32}"
   4805             ARFLAGS="${ARFLAGS_32}"
   4806             BITS_OK=yes
   4807         elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then
   4808             CFLAGS="${CFLAGS_64}"
   4809             CXXFLAGS="${CXXFLAGS_64}"
   4810             LDFLAGS="${LDFLAGS_64}"
   4811             ARFLAGS="${ARFLAGS_64}"
   4812             BITS_OK=yes
   4813         elif test "$BITS_OK" != "yes"; then
   4814             as_fn_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." "$LINENO" 5
   4815         fi
   4816      fi
   4817 
   4818 
   4819 
   4820 
   4821 # Determine the Makefile fragment
   4822 
   4823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5
   4824 $as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }
   4825 if ${icu_cv_host_frag+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828 
   4829 case "${host}" in
   4830 *-*-solaris*)
   4831 	if test "$GCC" = yes; then
   4832 		icu_cv_host_frag=mh-solaris-gcc
   4833 	else
   4834 		icu_cv_host_frag=mh-solaris
   4835 	fi ;;
   4836 alpha*-*-linux-gnu)
   4837 	if test "$GCC" = yes; then
   4838 		icu_cv_host_frag=mh-alpha-linux-gcc
   4839 	else
   4840 		icu_cv_host_frag=mh-alpha-linux-cc
   4841 	fi ;;
   4842 powerpc*-*-linux*)
   4843 	if test "$GCC" = yes; then
   4844 		icu_cv_host_frag=mh-linux
   4845 	else
   4846 		icu_cv_host_frag=mh-linux-va
   4847 	fi ;;
   4848 *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
   4849 *-*-cygwin|*-*-mingw32)
   4850 	if test "$GCC" = yes; then
   4851 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4852 /* end confdefs.h.  */
   4853 
   4854 #ifndef __MINGW32__
   4855 #error This is not MinGW
   4856 #endif
   4857 int
   4858 main ()
   4859 {
   4860 
   4861   ;
   4862   return 0;
   4863 }
   4864 _ACEOF
   4865 if ac_fn_c_try_compile "$LINENO"; then :
   4866   icu_cv_host_frag=mh-mingw
   4867 else
   4868   icu_cv_host_frag=mh-cygwin
   4869 fi
   4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4871 	else
   4872 		icu_cv_host_frag=mh-cygwin-msvc
   4873 	fi ;;
   4874 *-*-*bsd*|*-*-dragonfly*) 	icu_cv_host_frag=mh-bsd-gcc ;;
   4875 *-*-aix*)
   4876 	if test "$GCC" = yes; then
   4877 		icu_cv_host_frag=mh-aix-gcc
   4878 	else
   4879 		icu_cv_host_frag=mh-aix-va
   4880 	fi ;;
   4881 *-*-hpux*)
   4882 	if test "$GCC" = yes; then
   4883 		icu_cv_host_frag=mh-hpux-gcc
   4884 	else
   4885 		case "$CXX" in
   4886 		*aCC)    icu_cv_host_frag=mh-hpux-acc ;;
   4887 		esac
   4888 	fi ;;
   4889 *-*ibm-openedition*|*-*-os390*)	icu_cv_host_frag=mh-os390 ;;
   4890 *-*-os400*)	icu_cv_host_frag=mh-os400 ;;
   4891 *-apple-rhapsody*)	icu_cv_host_frag=mh-darwin ;;
   4892 *-apple-darwin*)	icu_cv_host_frag=mh-darwin ;;
   4893 *-*-beos)       icu_cv_host_frag=mh-beos ;;
   4894 *-*-haiku)      icu_cv_host_frag=mh-haiku ;;
   4895 *-*-irix*)	icu_cv_host_frag=mh-irix ;;
   4896 *-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
   4897 *-*-nto*)	icu_cv_host_frag=mh-qnx ;;
   4898 *-ncr-*)	icu_cv_host_frag=mh-mpras ;;
   4899 *) 		icu_cv_host_frag=mh-unknown ;;
   4900 esac
   4901 
   4902 
   4903 fi
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5
   4905 $as_echo "$icu_cv_host_frag" >&6; }
   4906 
   4907 
   4908 # Checks for libraries and other host specific stuff
   4909 # On HP/UX, don't link to -lm from a shared lib because it isn't
   4910 #  PIC (at least on 10.2)
   4911 case "${host}" in
   4912 	*-*-hpux*) 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
   4913 $as_echo_n "checking for floor in -lm... " >&6; }
   4914 if ${ac_cv_lib_m_floor+:} false; then :
   4915   $as_echo_n "(cached) " >&6
   4916 else
   4917   ac_check_lib_save_LIBS=$LIBS
   4918 LIBS="-lm  $LIBS"
   4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4920 /* end confdefs.h.  */
   4921 
   4922 /* Override any GCC internal prototype to avoid an error.
   4923    Use char because int might match the return type of a GCC
   4924    builtin and then its argument prototype would still apply.  */
   4925 #ifdef __cplusplus
   4926 extern "C"
   4927 #endif
   4928 char floor ();
   4929 int
   4930 main ()
   4931 {
   4932 return floor ();
   4933   ;
   4934   return 0;
   4935 }
   4936 _ACEOF
   4937 if ac_fn_c_try_link "$LINENO"; then :
   4938   ac_cv_lib_m_floor=yes
   4939 else
   4940   ac_cv_lib_m_floor=no
   4941 fi
   4942 rm -f core conftest.err conftest.$ac_objext \
   4943     conftest$ac_exeext conftest.$ac_ext
   4944 LIBS=$ac_check_lib_save_LIBS
   4945 fi
   4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
   4947 $as_echo "$ac_cv_lib_m_floor" >&6; }
   4948 if test "x$ac_cv_lib_m_floor" = xyes; then :
   4949   LIB_M="-lm"
   4950 fi
   4951  ;;
   4952 
   4953 	*) 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
   4954 $as_echo_n "checking for floor in -lm... " >&6; }
   4955 if ${ac_cv_lib_m_floor+:} false; then :
   4956   $as_echo_n "(cached) " >&6
   4957 else
   4958   ac_check_lib_save_LIBS=$LIBS
   4959 LIBS="-lm  $LIBS"
   4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4961 /* end confdefs.h.  */
   4962 
   4963 /* Override any GCC internal prototype to avoid an error.
   4964    Use char because int might match the return type of a GCC
   4965    builtin and then its argument prototype would still apply.  */
   4966 #ifdef __cplusplus
   4967 extern "C"
   4968 #endif
   4969 char floor ();
   4970 int
   4971 main ()
   4972 {
   4973 return floor ();
   4974   ;
   4975   return 0;
   4976 }
   4977 _ACEOF
   4978 if ac_fn_c_try_link "$LINENO"; then :
   4979   ac_cv_lib_m_floor=yes
   4980 else
   4981   ac_cv_lib_m_floor=no
   4982 fi
   4983 rm -f core conftest.err conftest.$ac_objext \
   4984     conftest$ac_exeext conftest.$ac_ext
   4985 LIBS=$ac_check_lib_save_LIBS
   4986 fi
   4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
   4988 $as_echo "$ac_cv_lib_m_floor" >&6; }
   4989 if test "x$ac_cv_lib_m_floor" = xyes; then :
   4990   cat >>confdefs.h <<_ACEOF
   4991 #define HAVE_LIBM 1
   4992 _ACEOF
   4993 
   4994   LIBS="-lm $LIBS"
   4995 
   4996 fi
   4997 
   4998 			LIB_M="" ;;
   4999 esac
   5000 
   5001 
   5002 # Check whether to build shared libraries
   5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   5004 $as_echo_n "checking whether to build shared libraries... " >&6; }
   5005 enabled=no
   5006 # Check whether --enable-shared was given.
   5007 if test "${enable_shared+set}" = set; then :
   5008   enableval=$enable_shared;  case "${enableval}" in
   5009 	     yes|"") enabled=yes; ENABLE_SHARED=YES ;;
   5010 	     no);;
   5011 	     *) ;;
   5012     esac
   5013 else
   5014   enabled=yes; ENABLE_SHARED=YES
   5015 
   5016 fi
   5017 
   5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5019 $as_echo "$enabled" >&6; }
   5020 
   5021 
   5022 # Check whether to build static libraries
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   5024 $as_echo_n "checking whether to build static libraries... " >&6; }
   5025 enabled=no
   5026 # Check whether --enable-static was given.
   5027 if test "${enable_static+set}" = set; then :
   5028   enableval=$enable_static;  case "${enableval}" in
   5029 	     yes|"") enabled=yes; ENABLE_STATIC=YES ;;
   5030 	     no) ;;
   5031 	     *) ;;
   5032     esac
   5033 fi
   5034 
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5036 $as_echo "$enabled" >&6; }
   5037 
   5038 
   5039 # When building release static library, there might be some optimization flags we can use
   5040 if test "$ENABLE_STATIC" = "YES"; then
   5041     if test "$ENABLE_SHARED" != "YES"; then
   5042         if test "$ENABLE_RELEASE" = 1; then
   5043             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use static library optimization option" >&5
   5044 $as_echo_n "checking whether we can use static library optimization option... " >&6; }
   5045             CHECK_STATIC_OPT_FLAG=no
   5046 
   5047             OLD_CPPFLAGS="${CPPFLAGS}"
   5048             OLD_LDFLAGS="${LDFLAGS}"
   5049 
   5050             case "${host}" in
   5051             *-linux*|i*86-*-*bsd*|i*86-pc-gnu)
   5052                 if test "$GCC" = yes; then
   5053                     CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections"
   5054                     LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
   5055                 fi
   5056                 ;;
   5057             *)
   5058                 ;;
   5059             esac
   5060 
   5061             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5062 /* end confdefs.h.  */
   5063 
   5064 int
   5065 main ()
   5066 {
   5067 
   5068   ;
   5069   return 0;
   5070 }
   5071 _ACEOF
   5072 if ac_fn_c_try_link "$LINENO"; then :
   5073   CHECK_STATIC_OPT_FLAG=yes
   5074 else
   5075   CHECK_STATIC_OPT_FLAG=no
   5076 fi
   5077 rm -f core conftest.err conftest.$ac_objext \
   5078     conftest$ac_exeext conftest.$ac_ext
   5079             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_STATIC_OPT_FLAG" >&5
   5080 $as_echo "$CHECK_STATIC_OPT_FLAG" >&6; }
   5081             if test "$CHECK_STATIC_OPT_FLAG" = no; then
   5082                 CPPFLAGS="${OLD_CPPFLAGS}"
   5083                 LDFLAGS="${OLD_LDFLAGS}"
   5084             fi
   5085         fi
   5086     fi
   5087 fi
   5088 
   5089 
   5090 # Check whether to enable auto cleanup of libraries
   5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5
   5092 $as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; }
   5093 enabled=no
   5094 UCLN_NO_AUTO_CLEANUP=1
   5095 # Check whether --enable-auto-cleanup was given.
   5096 if test "${enable_auto_cleanup+set}" = set; then :
   5097   enableval=$enable_auto_cleanup;  case "${enableval}" in
   5098          yes) enabled=yes;
   5099          CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DUCLN_NO_AUTO_CLEANUP=0";
   5100          UCLN_NO_AUTO_CLEANUP=0
   5101           ;;
   5102          *) ;;
   5103     esac
   5104 fi
   5105 
   5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5107 $as_echo "$enabled" >&6; }
   5108 
   5109 
   5110 # MSVC floating-point option
   5111 MSVC_RELEASE_FLAG=""
   5112 if test $enabled = yes
   5113 then
   5114     if test $icu_cv_host_frag = mh-cygwin-msvc
   5115     then
   5116         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5117 /* end confdefs.h.  */
   5118 
   5119     #if defined _MSC_VER && _MSC_VER >= 1400
   5120     #else
   5121     Microsoft Visual C++ < 2005
   5122     #endif
   5123 
   5124 int
   5125 main ()
   5126 {
   5127 
   5128   ;
   5129   return 0;
   5130 }
   5131 _ACEOF
   5132 if ac_fn_c_try_compile "$LINENO"; then :
   5133   MSVC_RELEASE_FLAG="/fp:precise"
   5134 else
   5135   MSVC_RELEASE_FLAG="/Op"
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5138 
   5139         CFLAGS="${CFLAGS} ${MSVC_RELEASE_FLAG}"
   5140         CXXFLAGS="${CXXFLAGS} ${MSVC_RELEASE_FLAG}"
   5141     fi
   5142 fi
   5143 
   5144 # Check whether to enabled draft APIs
   5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5
   5146 $as_echo_n "checking whether to enable draft APIs... " >&6; }
   5147 enabled=yes
   5148 U_DEFAULT_SHOW_DRAFT=1
   5149 # Check whether --enable-draft was given.
   5150 if test "${enable_draft+set}" = set; then :
   5151   enableval=$enable_draft;  case "${enableval}" in
   5152          no) enabled=no; U_DEFAULT_SHOW_DRAFT=0;
   5153          CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEFAULT_SHOW_DRAFT=0"
   5154           ;;
   5155          *) ;;
   5156     esac
   5157 fi
   5158 
   5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5160 $as_echo "$enabled" >&6; }
   5161 # Make sure that we can use draft API in ICU.
   5162 if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
   5163     CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_SHOW_DRAFT_API"
   5164 fi
   5165 
   5166 
   5167 if test -n "$ac_tool_prefix"; then
   5168   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5169 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5171 $as_echo_n "checking for $ac_word... " >&6; }
   5172 if ${ac_cv_prog_RANLIB+:} false; then :
   5173   $as_echo_n "(cached) " >&6
   5174 else
   5175   if test -n "$RANLIB"; then
   5176   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5177 else
   5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5179 for as_dir in $PATH
   5180 do
   5181   IFS=$as_save_IFS
   5182   test -z "$as_dir" && as_dir=.
   5183     for ac_exec_ext in '' $ac_executable_extensions; do
   5184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5185     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5187     break 2
   5188   fi
   5189 done
   5190   done
   5191 IFS=$as_save_IFS
   5192 
   5193 fi
   5194 fi
   5195 RANLIB=$ac_cv_prog_RANLIB
   5196 if test -n "$RANLIB"; then
   5197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5198 $as_echo "$RANLIB" >&6; }
   5199 else
   5200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5201 $as_echo "no" >&6; }
   5202 fi
   5203 
   5204 
   5205 fi
   5206 if test -z "$ac_cv_prog_RANLIB"; then
   5207   ac_ct_RANLIB=$RANLIB
   5208   # Extract the first word of "ranlib", so it can be a program name with args.
   5209 set dummy ranlib; ac_word=$2
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5211 $as_echo_n "checking for $ac_word... " >&6; }
   5212 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5213   $as_echo_n "(cached) " >&6
   5214 else
   5215   if test -n "$ac_ct_RANLIB"; then
   5216   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5217 else
   5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5219 for as_dir in $PATH
   5220 do
   5221   IFS=$as_save_IFS
   5222   test -z "$as_dir" && as_dir=.
   5223     for ac_exec_ext in '' $ac_executable_extensions; do
   5224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5225     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5227     break 2
   5228   fi
   5229 done
   5230   done
   5231 IFS=$as_save_IFS
   5232 
   5233 fi
   5234 fi
   5235 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5236 if test -n "$ac_ct_RANLIB"; then
   5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5238 $as_echo "$ac_ct_RANLIB" >&6; }
   5239 else
   5240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5241 $as_echo "no" >&6; }
   5242 fi
   5243 
   5244   if test "x$ac_ct_RANLIB" = x; then
   5245     RANLIB=":"
   5246   else
   5247     case $cross_compiling:$ac_tool_warned in
   5248 yes:)
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5251 ac_tool_warned=yes ;;
   5252 esac
   5253     RANLIB=$ac_ct_RANLIB
   5254   fi
   5255 else
   5256   RANLIB="$ac_cv_prog_RANLIB"
   5257 fi
   5258 
   5259 
   5260 # look for 'ar' the proper way
   5261 if test -n "$ac_tool_prefix"; then
   5262   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   5263 set dummy ${ac_tool_prefix}ar; ac_word=$2
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5265 $as_echo_n "checking for $ac_word... " >&6; }
   5266 if ${ac_cv_prog_AR+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   if test -n "$AR"; then
   5270   ac_cv_prog_AR="$AR" # Let the user override the test.
   5271 else
   5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5273 for as_dir in $PATH
   5274 do
   5275   IFS=$as_save_IFS
   5276   test -z "$as_dir" && as_dir=.
   5277     for ac_exec_ext in '' $ac_executable_extensions; do
   5278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5279     ac_cv_prog_AR="${ac_tool_prefix}ar"
   5280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5281     break 2
   5282   fi
   5283 done
   5284   done
   5285 IFS=$as_save_IFS
   5286 
   5287 fi
   5288 fi
   5289 AR=$ac_cv_prog_AR
   5290 if test -n "$AR"; then
   5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5292 $as_echo "$AR" >&6; }
   5293 else
   5294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5295 $as_echo "no" >&6; }
   5296 fi
   5297 
   5298 
   5299 fi
   5300 if test -z "$ac_cv_prog_AR"; then
   5301   ac_ct_AR=$AR
   5302   # Extract the first word of "ar", so it can be a program name with args.
   5303 set dummy ar; ac_word=$2
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5305 $as_echo_n "checking for $ac_word... " >&6; }
   5306 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5307   $as_echo_n "(cached) " >&6
   5308 else
   5309   if test -n "$ac_ct_AR"; then
   5310   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5311 else
   5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5313 for as_dir in $PATH
   5314 do
   5315   IFS=$as_save_IFS
   5316   test -z "$as_dir" && as_dir=.
   5317     for ac_exec_ext in '' $ac_executable_extensions; do
   5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5319     ac_cv_prog_ac_ct_AR="ar"
   5320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5321     break 2
   5322   fi
   5323 done
   5324   done
   5325 IFS=$as_save_IFS
   5326 
   5327 fi
   5328 fi
   5329 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5330 if test -n "$ac_ct_AR"; then
   5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5332 $as_echo "$ac_ct_AR" >&6; }
   5333 else
   5334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5335 $as_echo "no" >&6; }
   5336 fi
   5337 
   5338   if test "x$ac_ct_AR" = x; then
   5339     AR="false"
   5340   else
   5341     case $cross_compiling:$ac_tool_warned in
   5342 yes:)
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5345 ac_tool_warned=yes ;;
   5346 esac
   5347     AR=$ac_ct_AR
   5348   fi
   5349 else
   5350   AR="$ac_cv_prog_AR"
   5351 fi
   5352 
   5353 
   5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5
   5355 $as_echo_n "checking whether to enable renaming of symbols... " >&6; }
   5356 enabled=yes
   5357 U_DISABLE_RENAMING=0
   5358 # Check whether --enable-renaming was given.
   5359 if test "${enable_renaming+set}" = set; then :
   5360   enableval=$enable_renaming;  case "${enableval}" in
   5361 	     yes|"") enabled=yes ;;
   5362 	     no) enabled=no; U_DISABLE_RENAMING=1;
   5363              UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_DISABLE_RENAMING=1"
   5364               ;;
   5365 	     *) ;;
   5366     esac
   5367 fi
   5368 
   5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5370 $as_echo "$enabled" >&6; }
   5371 
   5372 
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5
   5374 $as_echo_n "checking whether to enable function and data tracing... " >&6; }
   5375 enabled=no
   5376 U_ENABLE_TRACING=0
   5377 # Check whether --enable-tracing was given.
   5378 if test "${enable_tracing+set}" = set; then :
   5379   enableval=$enable_tracing;  case "${enableval}" in
   5380 	     yes|"") enabled=yes;
   5381                      CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_TRACING=1";
   5382                      U_ENABLE_TRACING=1 ;;
   5383 	     no) enabled=no; U_ENABLE_TRACING=0 ;;
   5384 	     *) ;;
   5385     esac
   5386 fi
   5387 
   5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
   5389 $as_echo "$enabled" >&6; }
   5390 
   5391 
   5392 
   5393 U_ENABLE_DYLOAD=1
   5394 enable=yes
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5
   5396 $as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; }
   5397 # Check whether --enable-dyload was given.
   5398 if test "${enable_dyload+set}" = set; then :
   5399   enableval=$enable_dyload;  case "${enableval}" in
   5400 	     yes|"")
   5401 		     U_ENABLE_DYLOAD=1
   5402                      enable=yes
   5403                      ;;
   5404 	     no)
   5405 	     	 U_ENABLE_DYLOAD=0;
   5406                  enable=no;
   5407                  CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_DYLOAD=0";
   5408                  ;;
   5409 	     *) ;;
   5410     esac
   5411 fi
   5412 
   5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable" >&5
   5414 $as_echo "$enable" >&6; }
   5415 
   5416 
   5417 if test "$enable" = "yes"; then
   5418    for ac_header in dlfcn.h
   5419 do :
   5420   ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   5421 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   5422   cat >>confdefs.h <<_ACEOF
   5423 #define HAVE_DLFCN_H 1
   5424 _ACEOF
   5425 
   5426 fi
   5427 
   5428 done
   5429 
   5430    #AC_MSG_RESULT($enabled)
   5431    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   5432 $as_echo_n "checking for library containing dlopen... " >&6; }
   5433 if ${ac_cv_search_dlopen+:} false; then :
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   ac_func_search_save_LIBS=$LIBS
   5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5438 /* end confdefs.h.  */
   5439 
   5440 /* Override any GCC internal prototype to avoid an error.
   5441    Use char because int might match the return type of a GCC
   5442    builtin and then its argument prototype would still apply.  */
   5443 #ifdef __cplusplus
   5444 extern "C"
   5445 #endif
   5446 char dlopen ();
   5447 int
   5448 main ()
   5449 {
   5450 return dlopen ();
   5451   ;
   5452   return 0;
   5453 }
   5454 _ACEOF
   5455 for ac_lib in '' dl; do
   5456   if test -z "$ac_lib"; then
   5457     ac_res="none required"
   5458   else
   5459     ac_res=-l$ac_lib
   5460     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   5461   fi
   5462   if ac_fn_c_try_link "$LINENO"; then :
   5463   ac_cv_search_dlopen=$ac_res
   5464 fi
   5465 rm -f core conftest.err conftest.$ac_objext \
   5466     conftest$ac_exeext
   5467   if ${ac_cv_search_dlopen+:} false; then :
   5468   break
   5469 fi
   5470 done
   5471 if ${ac_cv_search_dlopen+:} false; then :
   5472 
   5473 else
   5474   ac_cv_search_dlopen=no
   5475 fi
   5476 rm conftest.$ac_ext
   5477 LIBS=$ac_func_search_save_LIBS
   5478 fi
   5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   5480 $as_echo "$ac_cv_search_dlopen" >&6; }
   5481 ac_res=$ac_cv_search_dlopen
   5482 if test "$ac_res" != no; then :
   5483   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   5484 
   5485 fi
   5486 
   5487    for ac_func in dlopen
   5488 do :
   5489   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   5490 if test "x$ac_cv_func_dlopen" = xyes; then :
   5491   cat >>confdefs.h <<_ACEOF
   5492 #define HAVE_DLOPEN 1
   5493 _ACEOF
   5494 
   5495 fi
   5496 done
   5497 
   5498 
   5499    if test "x$ac_cv_func_dlopen" != xyes; then
   5500       CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DHAVE_DLOPEN=0"
   5501    fi
   5502 fi
   5503 
   5504 # Check for miscellanous functions.
   5505 # So, use for putil / tools only.
   5506 # Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY
   5507 for ac_func in gettimeofday
   5508 do :
   5509   ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
   5510 if test "x$ac_cv_func_gettimeofday" = xyes; then :
   5511   cat >>confdefs.h <<_ACEOF
   5512 #define HAVE_GETTIMEOFDAY 1
   5513 _ACEOF
   5514 
   5515 fi
   5516 done
   5517 
   5518 
   5519 
   5520 # Check whether to use the evil rpath or not
   5521 # Check whether --enable-rpath was given.
   5522 if test "${enable_rpath+set}" = set; then :
   5523   enableval=$enable_rpath;  case "${enableval}" in
   5524 	     yes|"") ENABLE_RPATH=YES ;;
   5525 	     no) ;;
   5526 	     *) ;;
   5527     esac
   5528 else
   5529   ENABLE_RPATH=NO
   5530 
   5531 fi
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 ac_ext=cpp
   5538 ac_cpp='$CXXCPP $CPPFLAGS'
   5539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5542 
   5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5
   5544 $as_echo_n "checking if we have a C++ compiler... " >&6; }
   5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5546 /* end confdefs.h.  */
   5547 
   5548 int
   5549 main ()
   5550 {
   5551 
   5552   ;
   5553   return 0;
   5554 }
   5555 _ACEOF
   5556 if ac_fn_cxx_try_compile "$LINENO"; then :
   5557   cxx_okay=yes
   5558 else
   5559   cxx_okay=no
   5560 fi
   5561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5562 if test $cxx_okay = yes
   5563 then
   5564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Good" >&5
   5565 $as_echo "Good" >&6; }
   5566 else
   5567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5568 $as_echo "no" >&6; }
   5569 	as_fn_error $? "C++ compiler $CXX does not work or no compiler found" "$LINENO" 5
   5570 fi
   5571 
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if #include <string> works" >&5
   5573 $as_echo_n "checking if #include <string> works... " >&6; }
   5574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5575 /* end confdefs.h.  */
   5576 #include <string>
   5577 int
   5578 main ()
   5579 {
   5580 
   5581   ;
   5582   return 0;
   5583 }
   5584 _ACEOF
   5585 if ac_fn_cxx_try_compile "$LINENO"; then :
   5586   ac_cv_header_stdstring=yes
   5587 else
   5588   ac_cv_header_stdstring=no
   5589 fi
   5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdstring" >&5
   5592 $as_echo "$ac_cv_header_stdstring" >&6; }
   5593 if test $ac_cv_header_stdstring = yes
   5594 then
   5595 	U_HAVE_STD_STRING=1
   5596 else
   5597         U_HAVE_STD_STRING=0
   5598         CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STD_STRING=0"
   5599 fi
   5600 
   5601 ac_ext=c
   5602 ac_cpp='$CPP $CPPFLAGS'
   5603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5606 
   5607 
   5608 # Always build ICU with multi-threading support.
   5609 threads=true
   5610 ICU_USE_THREADS=1
   5611 OLD_LIBS=${LIBS}
   5612 
   5613 if test $threads = true; then
   5614   # For Compaq Tru64 (OSF1), we must look for pthread_attr_init
   5615   # and must do this before seaching for pthread_mutex_destroy, or
   5616   # we will pick up libpthreads.so not libpthread.so
   5617   # If this fails, then we must test for HPUX specials, before
   5618   # moving on to a more generic test
   5619 
   5620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
   5621 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
   5622 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625   ac_check_lib_save_LIBS=$LIBS
   5626 LIBS="-lpthread  $LIBS"
   5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5628 /* end confdefs.h.  */
   5629 
   5630 /* Override any GCC internal prototype to avoid an error.
   5631    Use char because int might match the return type of a GCC
   5632    builtin and then its argument prototype would still apply.  */
   5633 #ifdef __cplusplus
   5634 extern "C"
   5635 #endif
   5636 char pthread_attr_init ();
   5637 int
   5638 main ()
   5639 {
   5640 return pthread_attr_init ();
   5641   ;
   5642   return 0;
   5643 }
   5644 _ACEOF
   5645 if ac_fn_c_try_link "$LINENO"; then :
   5646   ac_cv_lib_pthread_pthread_attr_init=yes
   5647 else
   5648   ac_cv_lib_pthread_pthread_attr_init=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext \
   5651     conftest$ac_exeext conftest.$ac_ext
   5652 LIBS=$ac_check_lib_save_LIBS
   5653 fi
   5654 { $as_echo "$as_me:${as_lineno-$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" = xyes; 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:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5
   5676 $as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
   5677 if ${ac_cv_search_pthread_mutex_destroy+:} false; 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 confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 
   5687 /* Override any GCC internal prototype to avoid an error.
   5688    Use char because int might match the return type of a GCC
   5689    builtin and then its argument prototype would still apply.  */
   5690 #ifdef __cplusplus
   5691 extern "C"
   5692 #endif
   5693 char pthread_mutex_destroy ();
   5694 int
   5695 main ()
   5696 {
   5697 return pthread_mutex_destroy ();
   5698   ;
   5699   return 0;
   5700 }
   5701 _ACEOF
   5702 if ac_fn_c_try_link "$LINENO"; then :
   5703   ac_cv_search_pthread_mutex_destroy="-l$i"
   5704 break
   5705 fi
   5706 rm -f core conftest.err conftest.$ac_objext \
   5707     conftest$ac_exeext conftest.$ac_ext
   5708 done
   5709 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
   5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5711 /* end confdefs.h.  */
   5712 
   5713 /* Override any GCC internal prototype to avoid an error.
   5714    Use char because int might match the return type of a GCC
   5715    builtin and then its argument prototype would still apply.  */
   5716 #ifdef __cplusplus
   5717 extern "C"
   5718 #endif
   5719 char pthread_mutex_destroy ();
   5720 int
   5721 main ()
   5722 {
   5723 return pthread_mutex_destroy ();
   5724   ;
   5725   return 0;
   5726 }
   5727 _ACEOF
   5728 if ac_fn_c_try_link "$LINENO"; then :
   5729   ac_cv_search_pthread_mutex_destroy="none required"
   5730 fi
   5731 rm -f core conftest.err conftest.$ac_objext \
   5732     conftest$ac_exeext conftest.$ac_ext
   5733 fi
   5734 LIBS="$ac_func_search_save_LIBS"
   5735 fi
   5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5
   5737 $as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
   5738 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
   5739   test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"
   5740 
   5741 else :
   5742 
   5743 fi
   5744 
   5745     if test "$ac_cv_search_pthread_mutex_destroy" != no; then
   5746       ICU_USE_THREADS=1
   5747     else
   5748       # For HP 11
   5749       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
   5750 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
   5751 if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
   5752   $as_echo_n "(cached) " >&6
   5753 else
   5754   ac_check_lib_save_LIBS=$LIBS
   5755 LIBS="-lpthread  $LIBS"
   5756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5757 /* end confdefs.h.  */
   5758 
   5759 /* Override any GCC internal prototype to avoid an error.
   5760    Use char because int might match the return type of a GCC
   5761    builtin and then its argument prototype would still apply.  */
   5762 #ifdef __cplusplus
   5763 extern "C"
   5764 #endif
   5765 char pthread_mutex_init ();
   5766 int
   5767 main ()
   5768 {
   5769 return pthread_mutex_init ();
   5770   ;
   5771   return 0;
   5772 }
   5773 _ACEOF
   5774 if ac_fn_c_try_link "$LINENO"; then :
   5775   ac_cv_lib_pthread_pthread_mutex_init=yes
   5776 else
   5777   ac_cv_lib_pthread_pthread_mutex_init=no
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext \
   5780     conftest$ac_exeext conftest.$ac_ext
   5781 LIBS=$ac_check_lib_save_LIBS
   5782 fi
   5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
   5784 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
   5785 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
   5786   cat >>confdefs.h <<_ACEOF
   5787 #define HAVE_LIBPTHREAD 1
   5788 _ACEOF
   5789 
   5790   LIBS="-lpthread $LIBS"
   5791 
   5792 fi
   5793 
   5794       if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
   5795         ICU_USE_THREADS=1
   5796       fi
   5797     fi
   5798 
   5799     ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
   5800 if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :
   5801 
   5802 fi
   5803 
   5804 
   5805     if test $ac_cv_func_pthread_mutex_lock = yes; then
   5806       ICU_USE_THREADS=1
   5807     fi
   5808   fi
   5809   # Check to see if we are using CygWin with MSVC
   5810   case "${host}" in
   5811   *-pc-cygwin*|*-pc-mingw*)
   5812     # For gcc, the thread options are set by mh-mingw/mh-cygwin
   5813     # For msvc, the thread options are set by runConfigureICU
   5814     ICU_USE_THREADS=1
   5815     ;;
   5816   *-*-hpux*)
   5817     # Add -mt because it does several nice things on newer compilers.
   5818     case "${icu_cv_host_frag}" in
   5819       mh-hpux-acc)
   5820         OLD_CXXFLAGS="${CXXFLAGS}"
   5821         CXXFLAGS="${CXXFLAGS} -mt"
   5822         if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
   5823            CXXFLAGS="${OLD_CXXFLAGS}"
   5824        fi
   5825       ;;
   5826     esac
   5827     ;;
   5828   *-*-solaris*)
   5829     case "${icu_cv_host_frag}" in
   5830       mh-solaris)
   5831            LIBS="${LIBS} -mt"
   5832       ;;
   5833     esac
   5834     ;;
   5835   esac
   5836 fi
   5837 
   5838 # Check whether --enable-weak-threads was given.
   5839 if test "${enable_weak_threads+set}" = set; then :
   5840   enableval=$enable_weak_threads; case "${enableval}" in
   5841 		yes)
   5842             LIB_THREAD="${LIBS%${OLD_LIBS}}"
   5843             LIBS=${OLD_LIBS}
   5844             ;;
   5845 		no)  ;;
   5846 		*) as_fn_error $? "bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;;
   5847 		esac
   5848 fi
   5849 
   5850 
   5851 
   5852 # Check for mmap()
   5853 
   5854 # The AC_FUNC_MMAP macro doesn't work properly.  It seems to be too specific.
   5855 # Do this check instead.
   5856 HAVE_MMAP=0
   5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5
   5858 $as_echo_n "checking for mmap... " >&6; }
   5859 if ${ac_cv_func_mmap_ok+:} false; then :
   5860   $as_echo_n "(cached) " >&6
   5861 else
   5862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5863 /* end confdefs.h.  */
   5864 #include <unistd.h>
   5865 #include <sys/mman.h>
   5866 #include <sys/stat.h>
   5867 #include <fcntl.h>
   5868 int
   5869 main ()
   5870 {
   5871 mmap((void *)0, 0, PROT_READ, 0, 0, 0);
   5872   ;
   5873   return 0;
   5874 }
   5875 _ACEOF
   5876 if ac_fn_c_try_link "$LINENO"; then :
   5877   ac_cv_func_mmap_ok=yes
   5878 else
   5879   ac_cv_func_mmap_ok=no
   5880 fi
   5881 rm -f core conftest.err conftest.$ac_objext \
   5882     conftest$ac_exeext conftest.$ac_ext
   5883 fi
   5884 
   5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5
   5886 $as_echo "$ac_cv_func_mmap_ok" >&6; }
   5887 if test $ac_cv_func_mmap_ok = yes
   5888 then
   5889     HAVE_MMAP=1
   5890 else
   5891     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_MMAP=0"
   5892 fi
   5893 
   5894 
   5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5
   5896 $as_echo_n "checking for genccode assembly... " >&6; }
   5897 
   5898 # Check to see if genccode can generate simple assembly.
   5899 GENCCODE_ASSEMBLY=
   5900 case "${host}" in
   5901 *-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
   5902     if test "$GCC" = yes; then
   5903         # We're using gcc, and the simple -a gcc command line works for genccode
   5904         GENCCODE_ASSEMBLY="-a gcc"
   5905     fi ;;
   5906 i*86-*-solaris*)
   5907     if test "$GCC" = yes; then
   5908         # When using gcc, look if we're also using GNU as.
   5909         # When using GNU as, the simple -a gcc command line works for genccode.
   5910         asv=`"${CC}" -print-prog-name=as 2>/dev/null`
   5911         asv=`"${asv}" --version 2>/dev/null`
   5912         case "X${asv}" in
   5913         X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;
   5914         X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;
   5915         esac
   5916         unset asv
   5917     else
   5918         GENCCODE_ASSEMBLY="-a sun-x86"
   5919     fi ;;
   5920 sparc-*-solaris*)
   5921     GENCCODE_ASSEMBLY="-a sun"
   5922     ;;
   5923 ia64-*-hpux*)
   5924     GENCCODE_ASSEMBLY="-a aCC-ia64"
   5925     ;;
   5926 esac
   5927 
   5928 
   5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5
   5930 $as_echo "$GENCCODE_ASSEMBLY" >&6; }
   5931 
   5932 # Checks for header files
   5933 for ac_header in inttypes.h
   5934 do :
   5935   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
   5936 if test "x$ac_cv_header_inttypes_h" = xyes; then :
   5937   cat >>confdefs.h <<_ACEOF
   5938 #define HAVE_INTTYPES_H 1
   5939 _ACEOF
   5940 
   5941 fi
   5942 
   5943 done
   5944 
   5945 if test $ac_cv_header_inttypes_h = no; then
   5946  U_HAVE_INTTYPES_H=0
   5947  CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
   5948 else
   5949  U_HAVE_INTTYPES_H=1
   5950 fi
   5951 if test "$CC" = ccc; then
   5952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5
   5953 $as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
   5954  case "${host}" in
   5955         alpha*-*-*) U_HAVE_INTTYPES_H=0;
   5956         CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
   5957  esac
   5958 fi
   5959 
   5960 
   5961 
   5962 for ac_header in dirent.h
   5963 do :
   5964   ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
   5965 if test "x$ac_cv_header_dirent_h" = xyes; then :
   5966   cat >>confdefs.h <<_ACEOF
   5967 #define HAVE_DIRENT_H 1
   5968 _ACEOF
   5969 
   5970 fi
   5971 
   5972 done
   5973 
   5974 if test $ac_cv_header_dirent_h = no; then
   5975  U_HAVE_DIRENT_H=0
   5976  CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_DIRENT_H=0"
   5977 else
   5978  U_HAVE_DIRENT_H=1
   5979 fi
   5980 
   5981 
   5982 
   5983 # Check for endianness
   5984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   5985 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   5986 if ${ac_cv_c_bigendian+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   ac_cv_c_bigendian=unknown
   5990     # See if we're dealing with a universal compiler.
   5991     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5992 /* end confdefs.h.  */
   5993 #ifndef __APPLE_CC__
   5994 	       not a universal capable compiler
   5995 	     #endif
   5996 	     typedef int dummy;
   5997 
   5998 _ACEOF
   5999 if ac_fn_c_try_compile "$LINENO"; then :
   6000 
   6001 	# Check for potential -arch flags.  It is not universal unless
   6002 	# there are at least two -arch flags with different values.
   6003 	ac_arch=
   6004 	ac_prev=
   6005 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   6006 	 if test -n "$ac_prev"; then
   6007 	   case $ac_word in
   6008 	     i?86 | x86_64 | ppc | ppc64)
   6009 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   6010 		 ac_arch=$ac_word
   6011 	       else
   6012 		 ac_cv_c_bigendian=universal
   6013 		 break
   6014 	       fi
   6015 	       ;;
   6016 	   esac
   6017 	   ac_prev=
   6018 	 elif test "x$ac_word" = "x-arch"; then
   6019 	   ac_prev=arch
   6020 	 fi
   6021        done
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6024     if test $ac_cv_c_bigendian = unknown; then
   6025       # See if sys/param.h defines the BYTE_ORDER macro.
   6026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6027 /* end confdefs.h.  */
   6028 #include <sys/types.h>
   6029 	     #include <sys/param.h>
   6030 
   6031 int
   6032 main ()
   6033 {
   6034 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   6035 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   6036 		     && LITTLE_ENDIAN)
   6037 	      bogus endian macros
   6038 	     #endif
   6039 
   6040   ;
   6041   return 0;
   6042 }
   6043 _ACEOF
   6044 if ac_fn_c_try_compile "$LINENO"; then :
   6045   # It does; now see whether it defined to BIG_ENDIAN or not.
   6046 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 #include <sys/types.h>
   6049 		#include <sys/param.h>
   6050 
   6051 int
   6052 main ()
   6053 {
   6054 #if BYTE_ORDER != BIG_ENDIAN
   6055 		 not big endian
   6056 		#endif
   6057 
   6058   ;
   6059   return 0;
   6060 }
   6061 _ACEOF
   6062 if ac_fn_c_try_compile "$LINENO"; then :
   6063   ac_cv_c_bigendian=yes
   6064 else
   6065   ac_cv_c_bigendian=no
   6066 fi
   6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6070     fi
   6071     if test $ac_cv_c_bigendian = unknown; then
   6072       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   6073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6074 /* end confdefs.h.  */
   6075 #include <limits.h>
   6076 
   6077 int
   6078 main ()
   6079 {
   6080 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   6081 	      bogus endian macros
   6082 	     #endif
   6083 
   6084   ;
   6085   return 0;
   6086 }
   6087 _ACEOF
   6088 if ac_fn_c_try_compile "$LINENO"; then :
   6089   # It does; now see whether it defined to _BIG_ENDIAN or not.
   6090 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6091 /* end confdefs.h.  */
   6092 #include <limits.h>
   6093 
   6094 int
   6095 main ()
   6096 {
   6097 #ifndef _BIG_ENDIAN
   6098 		 not big endian
   6099 		#endif
   6100 
   6101   ;
   6102   return 0;
   6103 }
   6104 _ACEOF
   6105 if ac_fn_c_try_compile "$LINENO"; then :
   6106   ac_cv_c_bigendian=yes
   6107 else
   6108   ac_cv_c_bigendian=no
   6109 fi
   6110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6111 fi
   6112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6113     fi
   6114     if test $ac_cv_c_bigendian = unknown; then
   6115       # Compile a test program.
   6116       if test "$cross_compiling" = yes; then :
   6117   # Try to guess by grepping values from an object file.
   6118 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6119 /* end confdefs.h.  */
   6120 short int ascii_mm[] =
   6121 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   6122 		short int ascii_ii[] =
   6123 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   6124 		int use_ascii (int i) {
   6125 		  return ascii_mm[i] + ascii_ii[i];
   6126 		}
   6127 		short int ebcdic_ii[] =
   6128 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   6129 		short int ebcdic_mm[] =
   6130 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   6131 		int use_ebcdic (int i) {
   6132 		  return ebcdic_mm[i] + ebcdic_ii[i];
   6133 		}
   6134 		extern int foo;
   6135 
   6136 int
   6137 main ()
   6138 {
   6139 return use_ascii (foo) == use_ebcdic (foo);
   6140   ;
   6141   return 0;
   6142 }
   6143 _ACEOF
   6144 if ac_fn_c_try_compile "$LINENO"; then :
   6145   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   6146 	      ac_cv_c_bigendian=yes
   6147 	    fi
   6148 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   6149 	      if test "$ac_cv_c_bigendian" = unknown; then
   6150 		ac_cv_c_bigendian=no
   6151 	      else
   6152 		# finding both strings is unlikely to happen, but who knows?
   6153 		ac_cv_c_bigendian=unknown
   6154 	      fi
   6155 	    fi
   6156 fi
   6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6158 else
   6159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6160 /* end confdefs.h.  */
   6161 $ac_includes_default
   6162 int
   6163 main ()
   6164 {
   6165 
   6166 	     /* Are we little or big endian?  From Harbison&Steele.  */
   6167 	     union
   6168 	     {
   6169 	       long int l;
   6170 	       char c[sizeof (long int)];
   6171 	     } u;
   6172 	     u.l = 1;
   6173 	     return u.c[sizeof (long int) - 1] == 1;
   6174 
   6175   ;
   6176   return 0;
   6177 }
   6178 _ACEOF
   6179 if ac_fn_c_try_run "$LINENO"; then :
   6180   ac_cv_c_bigendian=no
   6181 else
   6182   ac_cv_c_bigendian=yes
   6183 fi
   6184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6185   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6186 fi
   6187 
   6188     fi
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   6191 $as_echo "$ac_cv_c_bigendian" >&6; }
   6192  case $ac_cv_c_bigendian in #(
   6193    yes)
   6194      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   6195 ;; #(
   6196    no)
   6197       ;; #(
   6198    universal)
   6199 
   6200 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   6201 
   6202      ;; #(
   6203    *)
   6204      as_fn_error $? "unknown endianness
   6205  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   6206  esac
   6207 
   6208 if test $ac_cv_c_bigendian = no; then
   6209 U_IS_BIG_ENDIAN=0
   6210 U_ENDIAN_CHAR="l"
   6211 else
   6212 U_IS_BIG_ENDIAN=1
   6213 U_ENDIAN_CHAR="b"
   6214 fi
   6215 
   6216 
   6217 # Do various POSIX related checks
   6218 U_HAVE_NL_LANGINFO_CODESET=0
   6219 U_NL_LANGINFO_CODESET=-1
   6220 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   6221 if test "x$ac_cv_func_nl_langinfo" = xyes; then :
   6222   U_HAVE_NL_LANGINFO=1
   6223 else
   6224   U_HAVE_NL_LANGINFO=0
   6225 fi
   6226 
   6227 if test $U_HAVE_NL_LANGINFO -eq 1; then
   6228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5
   6229 $as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
   6230 if ${ac_cv_nl_langinfo_codeset+:} false; then :
   6231   $as_echo_n "(cached) " >&6
   6232 else
   6233   ac_cv_nl_langinfo_codeset="unknown"
   6234   for a in CODESET _NL_CTYPE_CODESET_NAME; do
   6235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6236 /* end confdefs.h.  */
   6237 #include <langinfo.h>
   6238 int
   6239 main ()
   6240 {
   6241 nl_langinfo($a);
   6242   ;
   6243   return 0;
   6244 }
   6245 _ACEOF
   6246 if ac_fn_c_try_link "$LINENO"; then :
   6247   ac_cv_nl_langinfo_codeset="$a"; break
   6248 fi
   6249 rm -f core conftest.err conftest.$ac_objext \
   6250     conftest$ac_exeext conftest.$ac_ext
   6251   done
   6252 fi
   6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5
   6254 $as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
   6255   if test x$ac_cv_nl_langinfo_codeset != xunknown
   6256   then
   6257       U_HAVE_NL_LANGINFO_CODESET=1
   6258       U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset
   6259       if test "x${ac_cv_nl_langinfo_codeset}" != "xCODESET"
   6260       then
   6261         CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DNL_LANGINFO_CODESET=${ac_cv_nl_langinfo_codeset}"
   6262       fi
   6263   else
   6264       CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_NL_LANGINFO_CODESET=0"
   6265   fi
   6266 fi
   6267 
   6268 
   6269 
   6270 # Namespace support checks
   6271 ac_ext=cpp
   6272 ac_cpp='$CXXCPP $CPPFLAGS'
   6273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6276 
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5
   6278 $as_echo_n "checking for namespace support... " >&6; }
   6279 if ${ac_cv_namespace_ok+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 namespace x_version {void f(){}}
   6285     namespace x = x_version;
   6286     using namespace x_version;
   6287 
   6288 int
   6289 main ()
   6290 {
   6291 f();
   6292   ;
   6293   return 0;
   6294 }
   6295 _ACEOF
   6296 if ac_fn_cxx_try_link "$LINENO"; then :
   6297   ac_cv_namespace_ok=yes
   6298 else
   6299   ac_cv_namespace_ok=no
   6300 fi
   6301 rm -f core conftest.err conftest.$ac_objext \
   6302     conftest$ac_exeext conftest.$ac_ext
   6303 fi
   6304 
   6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5
   6306 $as_echo "$ac_cv_namespace_ok" >&6; }
   6307 if test $ac_cv_namespace_ok = no
   6308 then
   6309     as_fn_error $? "Namespace support is required to build ICU." "$LINENO" 5
   6310 fi
   6311 
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5
   6313 $as_echo_n "checking for properly overriding new and delete... " >&6; }
   6314 U_OVERRIDE_CXX_ALLOCATION=0
   6315 U_HAVE_PLACEMENT_NEW=0
   6316 if ${ac_cv_override_cxx_allocation_ok+:} false; then :
   6317   $as_echo_n "(cached) " >&6
   6318 else
   6319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6320 /* end confdefs.h.  */
   6321 #include <stdlib.h>
   6322     class UMemory {
   6323     public:
   6324     void *operator new(size_t size) {return malloc(size);}
   6325     void *operator new[](size_t size) {return malloc(size);}
   6326     void operator delete(void *p) {free(p);}
   6327     void operator delete[](void *p) {free(p);}
   6328     };
   6329 
   6330 int
   6331 main ()
   6332 {
   6333 
   6334   ;
   6335   return 0;
   6336 }
   6337 _ACEOF
   6338 if ac_fn_cxx_try_link "$LINENO"; then :
   6339   ac_cv_override_cxx_allocation_ok=yes
   6340 else
   6341   ac_cv_override_cxx_allocation_ok=no
   6342 fi
   6343 rm -f core conftest.err conftest.$ac_objext \
   6344     conftest$ac_exeext conftest.$ac_ext
   6345 fi
   6346 
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5
   6348 $as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
   6349 if test $ac_cv_override_cxx_allocation_ok = yes
   6350 then
   6351     U_OVERRIDE_CXX_ALLOCATION=1
   6352     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5
   6353 $as_echo_n "checking for placement new and delete... " >&6; }
   6354     if ${ac_cv_override_placement_new_ok+:} false; then :
   6355   $as_echo_n "(cached) " >&6
   6356 else
   6357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6358 /* end confdefs.h.  */
   6359 #include <stdlib.h>
   6360         class UMemory {
   6361         public:
   6362         void *operator new(size_t size) {return malloc(size);}
   6363         void *operator new[](size_t size) {return malloc(size);}
   6364         void operator delete(void *p) {free(p);}
   6365         void operator delete[](void *p) {free(p);}
   6366         void * operator new(size_t, void *ptr) { return ptr; }
   6367         void operator delete(void *, void *) {}
   6368         };
   6369 
   6370 int
   6371 main ()
   6372 {
   6373 
   6374   ;
   6375   return 0;
   6376 }
   6377 _ACEOF
   6378 if ac_fn_cxx_try_link "$LINENO"; then :
   6379   ac_cv_override_placement_new_ok=yes
   6380 else
   6381   ac_cv_override_placement_new_ok=no
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext \
   6384     conftest$ac_exeext conftest.$ac_ext
   6385 fi
   6386 
   6387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5
   6388 $as_echo "$ac_cv_override_placement_new_ok" >&6; }
   6389     if test $ac_cv_override_placement_new_ok = yes
   6390     then
   6391         U_HAVE_PLACEMENT_NEW=1
   6392     else
   6393         CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_PLACEMENT_NEW=0"
   6394     fi
   6395 else
   6396     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_OVERRIDE_CXX_ALLOCATION=0"
   6397 fi
   6398 
   6399 
   6400 
   6401 ac_ext=c
   6402 ac_cpp='$CPP $CPPFLAGS'
   6403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6406 
   6407 ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen"
   6408 if test "x$ac_cv_func_popen" = xyes; then :
   6409 
   6410 fi
   6411 
   6412 if test x$ac_cv_func_popen = xyes
   6413 then
   6414      U_HAVE_POPEN=1
   6415 else
   6416      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_POPEN=0"
   6417      U_HAVE_POPEN=0
   6418 fi
   6419 
   6420 
   6421 ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
   6422 if test "x$ac_cv_func_tzset" = xyes; then :
   6423 
   6424 fi
   6425 
   6426 U_HAVE_TZSET=0
   6427 if test x$ac_cv_func_tzset = xyes
   6428 then
   6429     U_TZSET=tzset
   6430     U_HAVE_TZSET=1
   6431 else
   6432     ac_fn_c_check_func "$LINENO" "_tzset" "ac_cv_func__tzset"
   6433 if test "x$ac_cv_func__tzset" = xyes; then :
   6434 
   6435 fi
   6436 
   6437     if test x$ac_cv_func__tzset = xyes
   6438     then
   6439         U_TZSET=_tzset
   6440         U_HAVE_TZSET=1
   6441     else
   6442       CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZSET=0"
   6443     fi
   6444 fi
   6445 
   6446 
   6447 
   6448 U_HAVE_TZNAME=0
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
   6450 $as_echo_n "checking for tzname... " >&6; }
   6451 if ${ac_cv_var_tzname+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 #ifndef __USE_POSIX
   6457 #define __USE_POSIX
   6458 #endif
   6459 #include <stdlib.h>
   6460 #include <time.h>
   6461 #ifndef tzname /* For SGI.  */
   6462 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
   6463 #endif
   6464 int
   6465 main ()
   6466 {
   6467 atoi(*tzname);
   6468   ;
   6469   return 0;
   6470 }
   6471 _ACEOF
   6472 if ac_fn_c_try_link "$LINENO"; then :
   6473   ac_cv_var_tzname=yes
   6474 else
   6475   ac_cv_var_tzname=no
   6476 fi
   6477 rm -f core conftest.err conftest.$ac_objext \
   6478     conftest$ac_exeext conftest.$ac_ext
   6479 fi
   6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
   6481 $as_echo "$ac_cv_var_tzname" >&6; }
   6482 if test $ac_cv_var_tzname = yes; then
   6483   U_TZNAME=tzname
   6484   U_HAVE_TZNAME=1
   6485 else
   6486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5
   6487 $as_echo_n "checking for _tzname... " >&6; }
   6488 if ${ac_cv_var__tzname+:} false; then :
   6489   $as_echo_n "(cached) " >&6
   6490 else
   6491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6492 /* end confdefs.h.  */
   6493 #include <stdlib.h>
   6494   #include <time.h>
   6495   extern char *_tzname[];
   6496 int
   6497 main ()
   6498 {
   6499 atoi(*_tzname);
   6500   ;
   6501   return 0;
   6502 }
   6503 _ACEOF
   6504 if ac_fn_c_try_link "$LINENO"; then :
   6505   ac_cv_var__tzname=yes
   6506 else
   6507   ac_cv_var__tzname=no
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext \
   6510     conftest$ac_exeext conftest.$ac_ext
   6511 fi
   6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5
   6513 $as_echo "$ac_cv_var__tzname" >&6; }
   6514     if test $ac_cv_var__tzname = yes; then
   6515       U_TZNAME=_tzname
   6516       U_HAVE_TZNAME=1
   6517     else
   6518      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZNAME=0"
   6519     fi
   6520 fi
   6521 
   6522 
   6523 
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5
   6525 $as_echo_n "checking for timezone... " >&6; }
   6526 if ${ac_cv_var_timezone+:} false; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6530 /* end confdefs.h.  */
   6531 #ifndef __USE_POSIX
   6532 #define __USE_POSIX
   6533 #endif
   6534 #ifndef __USE_XOPEN
   6535 #define __USE_XOPEN
   6536 #endif
   6537 #include <time.h>
   6538 
   6539 int
   6540 main ()
   6541 {
   6542 timezone = 1;
   6543   ;
   6544   return 0;
   6545 }
   6546 _ACEOF
   6547 if ac_fn_c_try_link "$LINENO"; then :
   6548   ac_cv_var_timezone=yes
   6549 else
   6550   ac_cv_var_timezone=no
   6551 fi
   6552 rm -f core conftest.err conftest.$ac_objext \
   6553     conftest$ac_exeext conftest.$ac_ext
   6554 fi
   6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
   6556 $as_echo "$ac_cv_var_timezone" >&6; }
   6557 U_HAVE_TIMEZONE=0
   6558 if test $ac_cv_var_timezone = yes; then
   6559   U_TIMEZONE=timezone
   6560   U_HAVE_TIMEZONE=1
   6561 else
   6562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5
   6563 $as_echo_n "checking for __timezone... " >&6; }
   6564 if ${ac_cv_var___timezone+:} false; then :
   6565   $as_echo_n "(cached) " >&6
   6566 else
   6567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6568 /* end confdefs.h.  */
   6569 #include <time.h>
   6570 int
   6571 main ()
   6572 {
   6573 __timezone = 1;
   6574   ;
   6575   return 0;
   6576 }
   6577 _ACEOF
   6578 if ac_fn_c_try_link "$LINENO"; then :
   6579   ac_cv_var___timezone=yes
   6580 else
   6581   ac_cv_var___timezone=no
   6582 fi
   6583 rm -f core conftest.err conftest.$ac_objext \
   6584     conftest$ac_exeext conftest.$ac_ext
   6585 fi
   6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5
   6587 $as_echo "$ac_cv_var___timezone" >&6; }
   6588   if test $ac_cv_var___timezone = yes; then
   6589     U_TIMEZONE=__timezone
   6590     U_HAVE_TIMEZONE=1
   6591   else
   6592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5
   6593 $as_echo_n "checking for _timezone... " >&6; }
   6594 if ${ac_cv_var__timezone+:} false; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6598 /* end confdefs.h.  */
   6599 #include <time.h>
   6600 int
   6601 main ()
   6602 {
   6603 _timezone = 1;
   6604   ;
   6605   return 0;
   6606 }
   6607 _ACEOF
   6608 if ac_fn_c_try_link "$LINENO"; then :
   6609   ac_cv_var__timezone=yes
   6610 else
   6611   ac_cv_var__timezone=no
   6612 fi
   6613 rm -f core conftest.err conftest.$ac_objext \
   6614     conftest$ac_exeext conftest.$ac_ext
   6615 fi
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5
   6617 $as_echo "$ac_cv_var__timezone" >&6; }
   6618     if test $ac_cv_var__timezone = yes; then
   6619       U_TIMEZONE=_timezone
   6620       U_HAVE_TIMEZONE=1
   6621     else
   6622      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0"
   6623     fi
   6624   fi
   6625 fi
   6626 
   6627 
   6628 
   6629 # Checks for typedefs
   6630 ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
   6631 if test "x$ac_cv_type_int8_t" = xyes; then :
   6632 
   6633 else
   6634 
   6635 cat >>confdefs.h <<_ACEOF
   6636 #define int8_t signed char
   6637 _ACEOF
   6638 
   6639 fi
   6640 
   6641 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
   6642 if test "x$ac_cv_type_uint8_t" = xyes; then :
   6643 
   6644 else
   6645 
   6646 cat >>confdefs.h <<_ACEOF
   6647 #define uint8_t unsigned char
   6648 _ACEOF
   6649 
   6650 fi
   6651 
   6652 ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
   6653 if test "x$ac_cv_type_int16_t" = xyes; then :
   6654 
   6655 else
   6656 
   6657 cat >>confdefs.h <<_ACEOF
   6658 #define int16_t signed short
   6659 _ACEOF
   6660 
   6661 fi
   6662 
   6663 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
   6664 if test "x$ac_cv_type_uint16_t" = xyes; then :
   6665 
   6666 else
   6667 
   6668 cat >>confdefs.h <<_ACEOF
   6669 #define uint16_t unsigned short
   6670 _ACEOF
   6671 
   6672 fi
   6673 
   6674 ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
   6675 if test "x$ac_cv_type_int32_t" = xyes; then :
   6676 
   6677 else
   6678 
   6679 cat >>confdefs.h <<_ACEOF
   6680 #define int32_t signed long
   6681 _ACEOF
   6682 
   6683 fi
   6684 
   6685 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
   6686 if test "x$ac_cv_type_uint32_t" = xyes; then :
   6687 
   6688 else
   6689 
   6690 cat >>confdefs.h <<_ACEOF
   6691 #define uint32_t unsigned long
   6692 _ACEOF
   6693 
   6694 fi
   6695 
   6696 ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
   6697 if test "x$ac_cv_type_int64_t" = xyes; then :
   6698 
   6699 else
   6700 
   6701 cat >>confdefs.h <<_ACEOF
   6702 #define int64_t signed long long
   6703 _ACEOF
   6704 
   6705 fi
   6706 
   6707 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
   6708 if test "x$ac_cv_type_uint64_t" = xyes; then :
   6709 
   6710 else
   6711 
   6712 cat >>confdefs.h <<_ACEOF
   6713 #define uint64_t unsigned long long
   6714 _ACEOF
   6715 
   6716 fi
   6717 
   6718 
   6719 if test $ac_cv_type_int8_t = no; then
   6720 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT8_T=0"
   6721 fi
   6722 
   6723 if test $ac_cv_type_uint8_t = no; then
   6724 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT8_T=0"
   6725 fi
   6726 
   6727 if test $ac_cv_type_int16_t = no; then
   6728 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT16_T=0"
   6729 fi
   6730 
   6731 if test $ac_cv_type_uint16_t = no; then
   6732 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT16_T=0"
   6733 fi
   6734 
   6735 if test $ac_cv_type_int32_t = no; then
   6736 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT32_T=0"
   6737 fi
   6738 
   6739 if test $ac_cv_type_uint32_t = no; then
   6740 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT32_T=0"
   6741 fi
   6742 
   6743 if test $ac_cv_type_int64_t = no; then
   6744 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT64_T=0"
   6745 fi
   6746 
   6747 if test $ac_cv_type_uint64_t = no; then
   6748 CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT64_T=0"
   6749 fi
   6750 
   6751 # Do various wchar_t related checks
   6752 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
   6753 if test "x$ac_cv_header_wchar_h" = xyes; then :
   6754 
   6755 fi
   6756 
   6757 
   6758 if test "$ac_cv_header_wchar_h" = no
   6759 then
   6760     U_HAVE_WCHAR_H=0
   6761     U_HAVE_WCSCPY=0
   6762     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCHAR_H=0 -DU_HAVE_WCSCPY=0"
   6763 else
   6764 
   6765 $as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
   6766 
   6767     U_HAVE_WCHAR_H=1
   6768     # Some broken systems have wchar.h but not some of its functions...
   6769     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5
   6770 $as_echo_n "checking for library containing wcscpy... " >&6; }
   6771 if ${ac_cv_search_wcscpy+:} false; then :
   6772   $as_echo_n "(cached) " >&6
   6773 else
   6774   ac_func_search_save_LIBS=$LIBS
   6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6776 /* end confdefs.h.  */
   6777 
   6778 /* Override any GCC internal prototype to avoid an error.
   6779    Use char because int might match the return type of a GCC
   6780    builtin and then its argument prototype would still apply.  */
   6781 #ifdef __cplusplus
   6782 extern "C"
   6783 #endif
   6784 char wcscpy ();
   6785 int
   6786 main ()
   6787 {
   6788 return wcscpy ();
   6789   ;
   6790   return 0;
   6791 }
   6792 _ACEOF
   6793 for ac_lib in '' wcs w; do
   6794   if test -z "$ac_lib"; then
   6795     ac_res="none required"
   6796   else
   6797     ac_res=-l$ac_lib
   6798     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6799   fi
   6800   if ac_fn_c_try_link "$LINENO"; then :
   6801   ac_cv_search_wcscpy=$ac_res
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext \
   6804     conftest$ac_exeext
   6805   if ${ac_cv_search_wcscpy+:} false; then :
   6806   break
   6807 fi
   6808 done
   6809 if ${ac_cv_search_wcscpy+:} false; then :
   6810 
   6811 else
   6812   ac_cv_search_wcscpy=no
   6813 fi
   6814 rm conftest.$ac_ext
   6815 LIBS=$ac_func_search_save_LIBS
   6816 fi
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5
   6818 $as_echo "$ac_cv_search_wcscpy" >&6; }
   6819 ac_res=$ac_cv_search_wcscpy
   6820 if test "$ac_res" != no; then :
   6821   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6822 
   6823 fi
   6824 
   6825     if test "$ac_cv_search_wcscpy" != no; then
   6826       U_HAVE_WCSCPY=1
   6827     else
   6828       U_HAVE_WCSCPY=0
   6829       CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCSCPY=0"
   6830     fi
   6831 fi
   6832 
   6833 
   6834 
   6835 # The cast to long int works around a bug in the HP C Compiler
   6836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   6837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   6838 # This bug is HP SR number 8606223364.
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
   6840 $as_echo_n "checking size of wchar_t... " >&6; }
   6841 if ${ac_cv_sizeof_wchar_t+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
   6845 #if STDC_HEADERS
   6846 #include <stddef.h>
   6847 #endif
   6848 #include <stdlib.h>
   6849 #if HAVE_WCHAR_H
   6850 #include <string.h>
   6851 #include <wchar.h>
   6852 #endif
   6853 "; then :
   6854 
   6855 else
   6856   if test "$ac_cv_type_wchar_t" = yes; then
   6857      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6859 as_fn_error 77 "cannot compute sizeof (wchar_t)
   6860 See \`config.log' for more details" "$LINENO" 5; }
   6861    else
   6862      ac_cv_sizeof_wchar_t=0
   6863    fi
   6864 fi
   6865 
   6866 fi
   6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
   6868 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
   6869 
   6870 
   6871 
   6872 cat >>confdefs.h <<_ACEOF
   6873 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
   6874 _ACEOF
   6875 
   6876 
   6877 U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
   6878 # We do this check to verify that everything is okay.
   6879 if test $U_SIZEOF_WCHAR_T = 0; then
   6880     if test $U_HAVE_WCHAR_H=1; then
   6881        as_fn_error $? "There is wchar.h but the size of wchar_t is 0" "$LINENO" 5
   6882     fi
   6883 fi
   6884 
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5
   6886 $as_echo_n "checking for UTF-16 string literal support... " >&6; }
   6887 U_CHECK_UTF16_STRING=1
   6888 CHECK_UTF16_STRING_RESULT="unknown"
   6889 
   6890 case "${host}" in
   6891 *-*-aix*|powerpc64-*-linux*)
   6892     if test "$GCC" = no; then
   6893         OLD_CFLAGS="${CFLAGS}"
   6894         OLD_CXXFLAGS="${CXXFLAGS}"
   6895         CFLAGS="${CFLAGS} -qutf"
   6896         CXXFLAGS="${CXXFLAGS} -qutf"
   6897         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6898 /* end confdefs.h.  */
   6899 const unsigned short hello[] = u"hello";
   6900 int
   6901 main ()
   6902 {
   6903 
   6904   ;
   6905   return 0;
   6906 }
   6907 _ACEOF
   6908 if ac_fn_c_try_compile "$LINENO"; then :
   6909   U_CHECK_UTF16_STRING=1
   6910 else
   6911   U_CHECK_UTF16_STRING=0
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6914         if test "$U_CHECK_UTF16_STRING" = 0; then
   6915             CFLAGS="${OLD_CFLAGS}"
   6916             CXXFLAGS="${OLD_CXXFLAGS}"
   6917         else
   6918             CHECK_UTF16_STRING_RESULT="-qutf"
   6919         fi
   6920     fi
   6921     ;;
   6922 *-*-solaris*)
   6923     if test "$GCC" = no; then
   6924         OLD_CFLAGS="${CFLAGS}"
   6925         OLD_CXXFLAGS="${CXXFLAGS}"
   6926         CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort"
   6927         CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort"
   6928         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6929 /* end confdefs.h.  */
   6930 const unsigned short hello[] = U"hello";
   6931 int
   6932 main ()
   6933 {
   6934 
   6935   ;
   6936   return 0;
   6937 }
   6938 _ACEOF
   6939 if ac_fn_c_try_compile "$LINENO"; then :
   6940   U_CHECK_UTF16_STRING=1
   6941 else
   6942   U_CHECK_UTF16_STRING=0
   6943 fi
   6944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6945         if test "$U_CHECK_UTF16_STRING" = 0; then
   6946             CFLAGS="${OLD_CFLAGS}"
   6947             CXXFLAGS="${OLD_CXXFLAGS}"
   6948         else
   6949             CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort"
   6950 
   6951             # Since we can't detect the availability of this UTF-16 syntax at compile time,
   6952             # we depend on configure telling us that we can use it.
   6953             # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
   6954             # we only use this macro within ICU.
   6955             # If an ICU user uses icu-config, this feature will be enabled.
   6956             CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
   6957             U_CHECK_UTF16_STRING=0
   6958         fi
   6959     fi
   6960     ;;
   6961 *-*-hpux*)
   6962     if test "$GCC" = no; then
   6963         # The option will be detected at compile time without additional compiler options.
   6964         CHECK_UTF16_STRING_RESULT="available"
   6965     fi
   6966     ;;
   6967 *-*-cygwin)
   6968     # wchar_t can be used
   6969     CHECK_UTF16_STRING_RESULT="available"
   6970     ;;
   6971 *)
   6972     ;;
   6973 esac
   6974 
   6975 # GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
   6976 if test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then
   6977     if test "$GCC" = yes; then
   6978         OLD_CFLAGS="${CFLAGS}"
   6979         CFLAGS="${CFLAGS} -std=gnu99"
   6980         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6981 /* end confdefs.h.  */
   6982 
   6983 static const char16_t test[] = u"This is a UTF16 literal string.";
   6984 
   6985 int
   6986 main ()
   6987 {
   6988 
   6989   ;
   6990   return 0;
   6991 }
   6992 _ACEOF
   6993 if ac_fn_c_try_compile "$LINENO"; then :
   6994   CC_UTF16_STRING=1
   6995 else
   6996   CC_UTF16_STRING=0
   6997 fi
   6998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6999         if test "$CC_UTF16_STRING" = 1; then
   7000             CHECK_UTF16_STRING_RESULT="C only";
   7001         else
   7002             CFLAGS="${OLD_CFLAGS}"
   7003         fi
   7004     fi
   7005     if test "$GXX" = yes; then
   7006         OLD_CXXFLAGS="${CXXFLAGS}"
   7007         # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
   7008         CXXFLAGS="${CXXFLAGS} -std=c++11"
   7009         ac_ext=cpp
   7010 ac_cpp='$CXXCPP $CPPFLAGS'
   7011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7014 
   7015         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 
   7018 static const char16_t test[] = u"This is a UTF16 literal string.";
   7019 
   7020 int
   7021 main ()
   7022 {
   7023 
   7024   ;
   7025   return 0;
   7026 }
   7027 _ACEOF
   7028 if ac_fn_cxx_try_compile "$LINENO"; then :
   7029   CXX_UTF16_STRING=1
   7030 else
   7031   CXX_UTF16_STRING=0
   7032 fi
   7033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7034         ac_ext=c
   7035 ac_cpp='$CPP $CPPFLAGS'
   7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7039 
   7040         if test "$CXX_UTF16_STRING" = 1; then
   7041             if test "$CC_UTF16_STRING" = 1; then
   7042                 CHECK_UTF16_STRING_RESULT="available";
   7043             else
   7044                 CHECK_UTF16_STRING_RESULT="C++ only";
   7045             fi
   7046         else
   7047             CXXFLAGS="${OLD_CXXFLAGS}"
   7048         fi
   7049     fi
   7050 fi
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5
   7052 $as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }
   7053 
   7054 # Enable/disable extras
   7055 # Check whether --enable-extras was given.
   7056 if test "${enable_extras+set}" = set; then :
   7057   enableval=$enable_extras; case "${enableval}" in
   7058 		yes) extras=true ;;
   7059 		no)  extras=false ;;
   7060 		*) as_fn_error $? "bad value ${enableval} for --enable-extras" "$LINENO" 5 ;;
   7061 		esac
   7062 else
   7063   extras=true
   7064 fi
   7065 
   7066 
   7067 if test "$extras" = true; then
   7068   EXTRAS_TRUE=
   7069 else
   7070   EXTRAS_TRUE='#'
   7071 fi
   7072 # Check whether --enable-icuio was given.
   7073 if test "${enable_icuio+set}" = set; then :
   7074   enableval=$enable_icuio; case "${enableval}" in
   7075 		yes) icuio=true ;;
   7076 		no)  icuio=false ;;
   7077 		*) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;;
   7078 		esac
   7079 else
   7080   icuio=true
   7081 fi
   7082 
   7083 
   7084 if test "$icuio" = true; then
   7085   ICUIO_TRUE=
   7086 else
   7087   ICUIO_TRUE='#'
   7088 fi
   7089 
   7090 # Enable/disable layout
   7091 # Check whether --enable-layout was given.
   7092 if test "${enable_layout+set}" = set; then :
   7093   enableval=$enable_layout; case "${enableval}" in
   7094 		yes) layout=true ;;
   7095 		no)  layout=false ;;
   7096 		*) as_fn_error $? "bad value ${enableval} for --enable-layout" "$LINENO" 5 ;;
   7097 		esac
   7098 else
   7099   layout=true
   7100 fi
   7101 
   7102 
   7103 if test "$layout" = true; then
   7104   LAYOUT_TRUE=
   7105 else
   7106   LAYOUT_TRUE='#'
   7107 fi
   7108 
   7109 
   7110 # Check whether --with-data-packaging was given.
   7111 if test "${with_data_packaging+set}" = set; then :
   7112   withval=$with_data_packaging; case "${withval}" in
   7113                 files|archive|library) datapackaging=$withval ;;
   7114 		auto) datapackaging=$withval ;;
   7115 		common) datapackaging=archive ;;
   7116 		dll) datapackaging=library ;;
   7117 		static) datapackaging=static ;;
   7118 		*) as_fn_error $? "bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;;
   7119 		esac
   7120 else
   7121   datapackaging=
   7122 fi
   7123 
   7124 
   7125 # Note:  'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..
   7126 # thesysconfdir=`eval echo $sysconfdir`
   7127 thedatadir=`eval echo $datadir`
   7128 # 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}.
   7129 pkgicudatadir=$datadir
   7130 thepkgicudatadir=$thedatadir
   7131 
   7132 
   7133 
   7134 
   7135 if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then
   7136 	# default to library
   7137 	datapackaging=library
   7138 	if test "$ENABLE_STATIC" = "YES"; then
   7139 		if test "$ENABLE_SHARED" != "YES"; then
   7140 			datapackaging=static
   7141 		fi
   7142 	fi
   7143 fi
   7144 
   7145 datapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}"
   7146 
   7147 datapackaging_msg="(No explaination for mode $datapackaging.)"
   7148 
   7149 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."
   7150 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."
   7151 datapackaging_howfound="(unknown)"
   7152 
   7153 case "$datapackaging" in
   7154     files)
   7155     DATA_PACKAGING_MODE=files
   7156     datapackaging_msg="ICU data will be stored in individual files."
   7157     datapackaging_howfound="$datapackaging_msg_path"
   7158     ;;
   7159     archive)
   7160     DATA_PACKAGING_MODE=common
   7161     datapackaging_msg="ICU data will be stored in a single .dat file."
   7162     datapackaging_howfound="$datapackaging_msg_path"
   7163     ;;
   7164     library)
   7165     DATA_PACKAGING_MODE=dll
   7166     datapackaging_msg="ICU data will be linked with ICU."
   7167     if test "$ENABLE_STATIC" = "YES"; then
   7168         datapackaging_msg="$datapackaging_msg A static data library will be built. "
   7169     fi
   7170     if test "$ENABLE_SHARED" = "YES"; then
   7171         datapackaging_msg="$datapackaging_msg A shared data library will be built. "
   7172     fi
   7173     datapackaging_howfound="$datapackaging_msg_set"
   7174     ;;
   7175     static)
   7176     DATA_PACKAGING_MODE=static
   7177     datapackaging_msg="ICU data will be stored in a static library."
   7178     datapackaging_howfound="$datapackaging_msg_set"
   7179     ;;
   7180 esac
   7181 
   7182 
   7183 # Sets a library suffix
   7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5
   7185 $as_echo_n "checking for a library suffix to use... " >&6; }
   7186 
   7187 # Check whether --with-library-suffix was given.
   7188 if test "${with_library_suffix+set}" = set; then :
   7189   withval=$with_library_suffix; ICULIBSUFFIX="${withval}"
   7190 else
   7191   ICULIBSUFFIX=
   7192 fi
   7193 
   7194 msg=$ICULIBSUFFIX
   7195 if test "$msg" = ""; then
   7196     msg=none
   7197 fi
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5
   7199 $as_echo "$msg" >&6; }
   7200 
   7201 if test "$ICULIBSUFFIX" != ""
   7202 then
   7203     U_HAVE_LIB_SUFFIX=1
   7204     ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`
   7205     UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_HAVE_LIB_SUFFIX=1 -DU_LIB_SUFFIX_C_NAME=${ICULIBSUFFIXCNAME} "
   7206 else
   7207     U_HAVE_LIB_SUFFIX=0
   7208 fi
   7209 
   7210 
   7211 
   7212 # Enable/disable tests
   7213 # Check whether --enable-tests was given.
   7214 if test "${enable_tests+set}" = set; then :
   7215   enableval=$enable_tests; case "${enableval}" in
   7216 		yes) tests=true ;;
   7217 		no)  tests=false ;;
   7218 		*) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
   7219 		esac
   7220 else
   7221   tests=true
   7222 fi
   7223 
   7224 
   7225 if test "$tests" = true; then
   7226   TESTS_TRUE=
   7227 else
   7228   TESTS_TRUE='#'
   7229 fi
   7230 
   7231 # Enable/disable samples
   7232 # Check whether --enable-samples was given.
   7233 if test "${enable_samples+set}" = set; then :
   7234   enableval=$enable_samples; case "${enableval}" in
   7235 		yes) samples=true ;;
   7236 		no)  samples=false ;;
   7237 		*) as_fn_error $? "bad value ${enableval} for --enable-samples" "$LINENO" 5 ;;
   7238 		esac
   7239 else
   7240   samples=true
   7241 fi
   7242 
   7243 
   7244 if test "$samples" = true; then
   7245   SAMPLES_TRUE=
   7246 else
   7247   SAMPLES_TRUE='#'
   7248 fi
   7249 
   7250 ICUDATA_CHAR=$U_ENDIAN_CHAR
   7251 
   7252 # Platform-specific Makefile setup
   7253 # set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
   7254 case "${host}" in
   7255 	*-*-solaris*) 	platform=U_SOLARIS ;;
   7256 	*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu)        platform=U_LINUX ;;
   7257 	*-*-*bsd*|*-*-dragonfly*) 	platform=U_BSD ;;
   7258 	*-*-aix*) 	platform=U_AIX ;;
   7259 	*-*-hpux*) 	platform=U_HPUX ;;
   7260 	*-apple-darwin*|*-apple-rhapsody*)	platform=U_DARWIN ;;
   7261 	*-*-cygwin*)	platform=U_CYGWIN ;;
   7262 	*-*-mingw*)	platform=U_MINGW ;;
   7263 	*-*ibm-openedition*|*-*-os390*)	platform=OS390
   7264 			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
   7265 				ICUDATA_CHAR="e"
   7266 			fi ;;
   7267 	*-*-os400*)	platform=OS400
   7268 			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
   7269 				ICUDATA_CHAR="e"
   7270 			fi ;;
   7271 	*-*-nto*)	platform=U_QNX ;;
   7272 	*-dec-osf*) 	platform=U_OSF ;;
   7273 	*-*-beos)		platform=U_BEOS ;;
   7274 	*-*-irix*)		platform=U_IRIX ;;
   7275 	*-ncr-*)		platform=U_MPRAS ;;
   7276 	*) 		platform=U_UNKNOWN_PLATFORM ;;
   7277 esac
   7278 
   7279 
   7280 platform_make_fragment_name="$icu_cv_host_frag"
   7281 platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"
   7282 
   7283 
   7284 
   7285 if test "${FORCE_LIBS}" != ""; then
   7286    echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}"  1>&6
   7287    LIBS=${FORCE_LIBS}
   7288 fi
   7289 
   7290 # Now that we're done using CPPFLAGS etc. for tests, we can change it
   7291 # for build.
   7292 
   7293 CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"
   7294 CFLAGS="$CFLAGS \$(THREADSCFLAGS)"
   7295 CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)"
   7296 
   7297 
   7298 
   7299 
   7300 # append all config cppflags
   7301 CPPFLAGS="$CPPFLAGS $CONFIG_CPPFLAGS $UCONFIG_CPPFLAGS"
   7302 
   7303 echo "CPPFLAGS=$CPPFLAGS"
   7304 echo "CFLAGS=$CFLAGS"
   7305 echo "CXXFLAGS=$CXXFLAGS"
   7306 
   7307 
   7308 # output the Makefiles
   7309 ac_config_files="$ac_config_files icudefs.mk Makefile data/pkgdataMakefile config/Makefile.inc config/icu.pc 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/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/gendict/Makefile tools/gentest/Makefile tools/gennorm2/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icuinfo/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/collperf/Makefile test/perf/dicttrieperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/DateFmtPerf/Makefile test/perf/howExpensiveIs/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"
   7310 
   7311 cat >confcache <<\_ACEOF
   7312 # This file is a shell script that caches the results of configure
   7313 # tests run on this system so they can be shared between configure
   7314 # scripts and configure runs, see configure's option --config-cache.
   7315 # It is not useful on other systems.  If it contains results you don't
   7316 # want to keep, you may remove or edit it.
   7317 #
   7318 # config.status only pays attention to the cache file if you give it
   7319 # the --recheck option to rerun configure.
   7320 #
   7321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   7322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   7323 # following values.
   7324 
   7325 _ACEOF
   7326 
   7327 # The following way of writing the cache mishandles newlines in values,
   7328 # but we know of no workaround that is simple, portable, and efficient.
   7329 # So, we kill variables containing newlines.
   7330 # Ultrix sh set writes to stderr and can't be redirected directly,
   7331 # and sets the high bit in the cache file unless we assign to the vars.
   7332 (
   7333   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   7334     eval ac_val=\$$ac_var
   7335     case $ac_val in #(
   7336     *${as_nl}*)
   7337       case $ac_var in #(
   7338       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   7339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   7340       esac
   7341       case $ac_var in #(
   7342       _ | IFS | as_nl) ;; #(
   7343       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   7344       *) { eval $ac_var=; unset $ac_var;} ;;
   7345       esac ;;
   7346     esac
   7347   done
   7348 
   7349   (set) 2>&1 |
   7350     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   7351     *${as_nl}ac_space=\ *)
   7352       # `set' does not quote correctly, so add quotes: double-quote
   7353       # substitution turns \\\\ into \\, and sed turns \\ into \.
   7354       sed -n \
   7355 	"s/'/'\\\\''/g;
   7356 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   7357       ;; #(
   7358     *)
   7359       # `set' quotes correctly as required by POSIX, so do not add quotes.
   7360       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   7361       ;;
   7362     esac |
   7363     sort
   7364 ) |
   7365   sed '
   7366      /^ac_cv_env_/b end
   7367      t clear
   7368      :clear
   7369      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   7370      t end
   7371      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   7372      :end' >>confcache
   7373 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   7374   if test -w "$cache_file"; then
   7375     if test "x$cache_file" != "x/dev/null"; then
   7376       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   7377 $as_echo "$as_me: updating cache $cache_file" >&6;}
   7378       if test ! -f "$cache_file" || test -h "$cache_file"; then
   7379 	cat confcache >"$cache_file"
   7380       else
   7381         case $cache_file in #(
   7382         */* | ?:*)
   7383 	  mv -f confcache "$cache_file"$$ &&
   7384 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   7385         *)
   7386 	  mv -f confcache "$cache_file" ;;
   7387 	esac
   7388       fi
   7389     fi
   7390   else
   7391     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   7392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   7393   fi
   7394 fi
   7395 rm -f confcache
   7396 
   7397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7398 # Let make expand exec_prefix.
   7399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7400 
   7401 # Transform confdefs.h into DEFS.
   7402 # Protect against shell expansion while executing Makefile rules.
   7403 # Protect against Makefile macro expansion.
   7404 #
   7405 # If the first sed substitution is executed (which looks for macros that
   7406 # take arguments), then branch to the quote section.  Otherwise,
   7407 # look for a macro that doesn't take arguments.
   7408 ac_script='
   7409 :mline
   7410 /\\$/{
   7411  N
   7412  s,\\\n,,
   7413  b mline
   7414 }
   7415 t clear
   7416 :clear
   7417 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   7418 t quote
   7419 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   7420 t quote
   7421 b any
   7422 :quote
   7423 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   7424 s/\[/\\&/g
   7425 s/\]/\\&/g
   7426 s/\$/$$/g
   7427 H
   7428 :any
   7429 ${
   7430 	g
   7431 	s/^\n//
   7432 	s/\n/ /g
   7433 	p
   7434 }
   7435 '
   7436 DEFS=`sed -n "$ac_script" confdefs.h`
   7437 
   7438 
   7439 ac_libobjs=
   7440 ac_ltlibobjs=
   7441 U=
   7442 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7443   # 1. Remove the extension, and $U if already installed.
   7444   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   7445   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   7446   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   7447   #    will be set to the directory where LIBOBJS objects are built.
   7448   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   7449   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   7450 done
   7451 LIBOBJS=$ac_libobjs
   7452 
   7453 LTLIBOBJS=$ac_ltlibobjs
   7454 
   7455 
   7456 
   7457 
   7458 : "${CONFIG_STATUS=./config.status}"
   7459 ac_write_fail=0
   7460 ac_clean_files_save=$ac_clean_files
   7461 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   7463 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7464 as_write_fail=0
   7465 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   7466 #! $SHELL
   7467 # Generated by $as_me.
   7468 # Run this file to recreate the current configuration.
   7469 # Compiler output produced by configure, useful for debugging
   7470 # configure, is in config.log if it exists.
   7471 
   7472 debug=false
   7473 ac_cs_recheck=false
   7474 ac_cs_silent=false
   7475 
   7476 SHELL=\${CONFIG_SHELL-$SHELL}
   7477 export SHELL
   7478 _ASEOF
   7479 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   7480 ## -------------------- ##
   7481 ## M4sh Initialization. ##
   7482 ## -------------------- ##
   7483 
   7484 # Be more Bourne compatible
   7485 DUALCASE=1; export DUALCASE # for MKS sh
   7486 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   7487   emulate sh
   7488   NULLCMD=:
   7489   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   7490   # is contrary to our usage.  Disable this feature.
   7491   alias -g '${1+"$@"}'='"$@"'
   7492   setopt NO_GLOB_SUBST
   7493 else
   7494   case `(set -o) 2>/dev/null` in #(
   7495   *posix*) :
   7496     set -o posix ;; #(
   7497   *) :
   7498      ;;
   7499 esac
   7500 fi
   7501 
   7502 
   7503 as_nl='
   7504 '
   7505 export as_nl
   7506 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   7507 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   7508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   7509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   7510 # Prefer a ksh shell builtin over an external printf program on Solaris,
   7511 # but without wasting forks for bash or zsh.
   7512 if test -z "$BASH_VERSION$ZSH_VERSION" \
   7513     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   7514   as_echo='print -r --'
   7515   as_echo_n='print -rn --'
   7516 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   7517   as_echo='printf %s\n'
   7518   as_echo_n='printf %s'
   7519 else
   7520   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   7521     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   7522     as_echo_n='/usr/ucb/echo -n'
   7523   else
   7524     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   7525     as_echo_n_body='eval
   7526       arg=$1;
   7527       case $arg in #(
   7528       *"$as_nl"*)
   7529 	expr "X$arg" : "X\\(.*\\)$as_nl";
   7530 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   7531       esac;
   7532       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   7533     '
   7534     export as_echo_n_body
   7535     as_echo_n='sh -c $as_echo_n_body as_echo'
   7536   fi
   7537   export as_echo_body
   7538   as_echo='sh -c $as_echo_body as_echo'
   7539 fi
   7540 
   7541 # The user is always right.
   7542 if test "${PATH_SEPARATOR+set}" != set; then
   7543   PATH_SEPARATOR=:
   7544   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   7545     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   7546       PATH_SEPARATOR=';'
   7547   }
   7548 fi
   7549 
   7550 
   7551 # IFS
   7552 # We need space, tab and new line, in precisely that order.  Quoting is
   7553 # there to prevent editors from complaining about space-tab.
   7554 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   7555 # splitting by setting IFS to empty value.)
   7556 IFS=" ""	$as_nl"
   7557 
   7558 # Find who we are.  Look in the path if we contain no directory separator.
   7559 as_myself=
   7560 case $0 in #((
   7561   *[\\/]* ) as_myself=$0 ;;
   7562   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7563 for as_dir in $PATH
   7564 do
   7565   IFS=$as_save_IFS
   7566   test -z "$as_dir" && as_dir=.
   7567     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7568   done
   7569 IFS=$as_save_IFS
   7570 
   7571      ;;
   7572 esac
   7573 # We did not find ourselves, most probably we were run as `sh COMMAND'
   7574 # in which case we are not to be found in the path.
   7575 if test "x$as_myself" = x; then
   7576   as_myself=$0
   7577 fi
   7578 if test ! -f "$as_myself"; then
   7579   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   7580   exit 1
   7581 fi
   7582 
   7583 # Unset variables that we do not need and which cause bugs (e.g. in
   7584 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   7585 # suppresses any "Segmentation fault" message there.  '((' could
   7586 # trigger a bug in pdksh 5.2.14.
   7587 for as_var in BASH_ENV ENV MAIL MAILPATH
   7588 do eval test x\${$as_var+set} = xset \
   7589   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   7590 done
   7591 PS1='$ '
   7592 PS2='> '
   7593 PS4='+ '
   7594 
   7595 # NLS nuisances.
   7596 LC_ALL=C
   7597 export LC_ALL
   7598 LANGUAGE=C
   7599 export LANGUAGE
   7600 
   7601 # CDPATH.
   7602 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   7603 
   7604 
   7605 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   7606 # ----------------------------------------
   7607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   7608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   7609 # script with STATUS, using 1 if that was 0.
   7610 as_fn_error ()
   7611 {
   7612   as_status=$1; test $as_status -eq 0 && as_status=1
   7613   if test "$4"; then
   7614     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   7615     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   7616   fi
   7617   $as_echo "$as_me: error: $2" >&2
   7618   as_fn_exit $as_status
   7619 } # as_fn_error
   7620 
   7621 
   7622 # as_fn_set_status STATUS
   7623 # -----------------------
   7624 # Set $? to STATUS, without forking.
   7625 as_fn_set_status ()
   7626 {
   7627   return $1
   7628 } # as_fn_set_status
   7629 
   7630 # as_fn_exit STATUS
   7631 # -----------------
   7632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   7633 as_fn_exit ()
   7634 {
   7635   set +e
   7636   as_fn_set_status $1
   7637   exit $1
   7638 } # as_fn_exit
   7639 
   7640 # as_fn_unset VAR
   7641 # ---------------
   7642 # Portably unset VAR.
   7643 as_fn_unset ()
   7644 {
   7645   { eval $1=; unset $1;}
   7646 }
   7647 as_unset=as_fn_unset
   7648 # as_fn_append VAR VALUE
   7649 # ----------------------
   7650 # Append the text in VALUE to the end of the definition contained in VAR. Take
   7651 # advantage of any shell optimizations that allow amortized linear growth over
   7652 # repeated appends, instead of the typical quadratic growth present in naive
   7653 # implementations.
   7654 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   7655   eval 'as_fn_append ()
   7656   {
   7657     eval $1+=\$2
   7658   }'
   7659 else
   7660   as_fn_append ()
   7661   {
   7662     eval $1=\$$1\$2
   7663   }
   7664 fi # as_fn_append
   7665 
   7666 # as_fn_arith ARG...
   7667 # ------------------
   7668 # Perform arithmetic evaluation on the ARGs, and store the result in the
   7669 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   7670 # must be portable across $(()) and expr.
   7671 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   7672   eval 'as_fn_arith ()
   7673   {
   7674     as_val=$(( $* ))
   7675   }'
   7676 else
   7677   as_fn_arith ()
   7678   {
   7679     as_val=`expr "$@" || test $? -eq 1`
   7680   }
   7681 fi # as_fn_arith
   7682 
   7683 
   7684 if expr a : '\(a\)' >/dev/null 2>&1 &&
   7685    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   7686   as_expr=expr
   7687 else
   7688   as_expr=false
   7689 fi
   7690 
   7691 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   7692   as_basename=basename
   7693 else
   7694   as_basename=false
   7695 fi
   7696 
   7697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   7698   as_dirname=dirname
   7699 else
   7700   as_dirname=false
   7701 fi
   7702 
   7703 as_me=`$as_basename -- "$0" ||
   7704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7705 	 X"$0" : 'X\(//\)$' \| \
   7706 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   7707 $as_echo X/"$0" |
   7708     sed '/^.*\/\([^/][^/]*\)\/*$/{
   7709 	    s//\1/
   7710 	    q
   7711 	  }
   7712 	  /^X\/\(\/\/\)$/{
   7713 	    s//\1/
   7714 	    q
   7715 	  }
   7716 	  /^X\/\(\/\).*/{
   7717 	    s//\1/
   7718 	    q
   7719 	  }
   7720 	  s/.*/./; q'`
   7721 
   7722 # Avoid depending upon Character Ranges.
   7723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7726 as_cr_digits='0123456789'
   7727 as_cr_alnum=$as_cr_Letters$as_cr_digits
   7728 
   7729 ECHO_C= ECHO_N= ECHO_T=
   7730 case `echo -n x` in #(((((
   7731 -n*)
   7732   case `echo 'xy\c'` in
   7733   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   7734   xy)  ECHO_C='\c';;
   7735   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   7736        ECHO_T='	';;
   7737   esac;;
   7738 *)
   7739   ECHO_N='-n';;
   7740 esac
   7741 
   7742 rm -f conf$$ conf$$.exe conf$$.file
   7743 if test -d conf$$.dir; then
   7744   rm -f conf$$.dir/conf$$.file
   7745 else
   7746   rm -f conf$$.dir
   7747   mkdir conf$$.dir 2>/dev/null
   7748 fi
   7749 if (echo >conf$$.file) 2>/dev/null; then
   7750   if ln -s conf$$.file conf$$ 2>/dev/null; then
   7751     as_ln_s='ln -s'
   7752     # ... but there are two gotchas:
   7753     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   7754     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   7755     # In both cases, we have to default to `cp -p'.
   7756     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   7757       as_ln_s='cp -p'
   7758   elif ln conf$$.file conf$$ 2>/dev/null; then
   7759     as_ln_s=ln
   7760   else
   7761     as_ln_s='cp -p'
   7762   fi
   7763 else
   7764   as_ln_s='cp -p'
   7765 fi
   7766 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   7767 rmdir conf$$.dir 2>/dev/null
   7768 
   7769 
   7770 # as_fn_mkdir_p
   7771 # -------------
   7772 # Create "$as_dir" as a directory, including parents if necessary.
   7773 as_fn_mkdir_p ()
   7774 {
   7775 
   7776   case $as_dir in #(
   7777   -*) as_dir=./$as_dir;;
   7778   esac
   7779   test -d "$as_dir" || eval $as_mkdir_p || {
   7780     as_dirs=
   7781     while :; do
   7782       case $as_dir in #(
   7783       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7784       *) as_qdir=$as_dir;;
   7785       esac
   7786       as_dirs="'$as_qdir' $as_dirs"
   7787       as_dir=`$as_dirname -- "$as_dir" ||
   7788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7789 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7790 	 X"$as_dir" : 'X\(//\)$' \| \
   7791 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7792 $as_echo X"$as_dir" |
   7793     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7794 	    s//\1/
   7795 	    q
   7796 	  }
   7797 	  /^X\(\/\/\)[^/].*/{
   7798 	    s//\1/
   7799 	    q
   7800 	  }
   7801 	  /^X\(\/\/\)$/{
   7802 	    s//\1/
   7803 	    q
   7804 	  }
   7805 	  /^X\(\/\).*/{
   7806 	    s//\1/
   7807 	    q
   7808 	  }
   7809 	  s/.*/./; q'`
   7810       test -d "$as_dir" && break
   7811     done
   7812     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7813   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   7814 
   7815 
   7816 } # as_fn_mkdir_p
   7817 if mkdir -p . 2>/dev/null; then
   7818   as_mkdir_p='mkdir -p "$as_dir"'
   7819 else
   7820   test -d ./-p && rmdir ./-p
   7821   as_mkdir_p=false
   7822 fi
   7823 
   7824 if test -x / >/dev/null 2>&1; then
   7825   as_test_x='test -x'
   7826 else
   7827   if ls -dL / >/dev/null 2>&1; then
   7828     as_ls_L_option=L
   7829   else
   7830     as_ls_L_option=
   7831   fi
   7832   as_test_x='
   7833     eval sh -c '\''
   7834       if test -d "$1"; then
   7835 	test -d "$1/.";
   7836       else
   7837 	case $1 in #(
   7838 	-*)set "./$1";;
   7839 	esac;
   7840 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   7841 	???[sx]*):;;*)false;;esac;fi
   7842     '\'' sh
   7843   '
   7844 fi
   7845 as_executable_p=$as_test_x
   7846 
   7847 # Sed expression to map a string onto a valid CPP name.
   7848 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   7849 
   7850 # Sed expression to map a string onto a valid variable name.
   7851 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   7852 
   7853 
   7854 exec 6>&1
   7855 ## ----------------------------------- ##
   7856 ## Main body of $CONFIG_STATUS script. ##
   7857 ## ----------------------------------- ##
   7858 _ASEOF
   7859 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   7860 
   7861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7862 # Save the log message, to keep $0 and so on meaningful, and to
   7863 # report actual input values of CONFIG_FILES etc. instead of their
   7864 # values after options handling.
   7865 ac_log="
   7866 This file was extended by $as_me, which was
   7867 generated by GNU Autoconf 2.68.  Invocation command line was
   7868 
   7869   CONFIG_FILES    = $CONFIG_FILES
   7870   CONFIG_HEADERS  = $CONFIG_HEADERS
   7871   CONFIG_LINKS    = $CONFIG_LINKS
   7872   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7873   $ $0 $@
   7874 
   7875 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   7876 "
   7877 
   7878 _ACEOF
   7879 
   7880 case $ac_config_files in *"
   7881 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   7882 esac
   7883 
   7884 
   7885 
   7886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7887 # Files that config.status was made for.
   7888 config_files="$ac_config_files"
   7889 
   7890 _ACEOF
   7891 
   7892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7893 ac_cs_usage="\
   7894 \`$as_me' instantiates files and other configuration actions
   7895 from templates according to the current configuration.  Unless the files
   7896 and actions are specified as TAGs, all are instantiated by default.
   7897 
   7898 Usage: $0 [OPTION]... [TAG]...
   7899 
   7900   -h, --help       print this help, then exit
   7901   -V, --version    print version number and configuration settings, then exit
   7902       --config     print configuration, then exit
   7903   -q, --quiet, --silent
   7904                    do not print progress messages
   7905   -d, --debug      don't remove temporary files
   7906       --recheck    update $as_me by reconfiguring in the same conditions
   7907       --file=FILE[:TEMPLATE]
   7908                    instantiate the configuration file FILE
   7909 
   7910 Configuration files:
   7911 $config_files
   7912 
   7913 Report bugs to the package provider."
   7914 
   7915 _ACEOF
   7916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7917 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   7918 ac_cs_version="\\
   7919 config.status
   7920 configured by $0, generated by GNU Autoconf 2.68,
   7921   with options \\"\$ac_cs_config\\"
   7922 
   7923 Copyright (C) 2010 Free Software Foundation, Inc.
   7924 This config.status script is free software; the Free Software Foundation
   7925 gives unlimited permission to copy, distribute and modify it."
   7926 
   7927 ac_pwd='$ac_pwd'
   7928 srcdir='$srcdir'
   7929 INSTALL='$INSTALL'
   7930 test -n "\$AWK" || AWK=awk
   7931 _ACEOF
   7932 
   7933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7934 # The default lists apply if the user does not specify any file.
   7935 ac_need_defaults=:
   7936 while test $# != 0
   7937 do
   7938   case $1 in
   7939   --*=?*)
   7940     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   7941     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   7942     ac_shift=:
   7943     ;;
   7944   --*=)
   7945     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   7946     ac_optarg=
   7947     ac_shift=:
   7948     ;;
   7949   *)
   7950     ac_option=$1
   7951     ac_optarg=$2
   7952     ac_shift=shift
   7953     ;;
   7954   esac
   7955 
   7956   case $ac_option in
   7957   # Handling of the options.
   7958   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   7959     ac_cs_recheck=: ;;
   7960   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   7961     $as_echo "$ac_cs_version"; exit ;;
   7962   --config | --confi | --conf | --con | --co | --c )
   7963     $as_echo "$ac_cs_config"; exit ;;
   7964   --debug | --debu | --deb | --de | --d | -d )
   7965     debug=: ;;
   7966   --file | --fil | --fi | --f )
   7967     $ac_shift
   7968     case $ac_optarg in
   7969     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   7970     '') as_fn_error $? "missing file argument" ;;
   7971     esac
   7972     as_fn_append CONFIG_FILES " '$ac_optarg'"
   7973     ac_need_defaults=false;;
   7974   --he | --h |  --help | --hel | -h )
   7975     $as_echo "$ac_cs_usage"; exit ;;
   7976   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   7977   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   7978     ac_cs_silent=: ;;
   7979 
   7980   # This is an error.
   7981   -*) as_fn_error $? "unrecognized option: \`$1'
   7982 Try \`$0 --help' for more information." ;;
   7983 
   7984   *) as_fn_append ac_config_targets " $1"
   7985      ac_need_defaults=false ;;
   7986 
   7987   esac
   7988   shift
   7989 done
   7990 
   7991 ac_configure_extra_args=
   7992 
   7993 if $ac_cs_silent; then
   7994   exec 6>/dev/null
   7995   ac_configure_extra_args="$ac_configure_extra_args --silent"
   7996 fi
   7997 
   7998 _ACEOF
   7999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8000 if \$ac_cs_recheck; then
   8001   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   8002   shift
   8003   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   8004   CONFIG_SHELL='$SHELL'
   8005   export CONFIG_SHELL
   8006   exec "\$@"
   8007 fi
   8008 
   8009 _ACEOF
   8010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8011 exec 5>>config.log
   8012 {
   8013   echo
   8014   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   8015 ## Running $as_me. ##
   8016 _ASBOX
   8017   $as_echo "$ac_log"
   8018 } >&5
   8019 
   8020 _ACEOF
   8021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8022 _ACEOF
   8023 
   8024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8025 
   8026 # Handling of arguments.
   8027 for ac_config_target in $ac_config_targets
   8028 do
   8029   case $ac_config_target in
   8030     "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;
   8031     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   8032     "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;;
   8033     "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;
   8034     "config/icu.pc") CONFIG_FILES="$CONFIG_FILES config/icu.pc" ;;
   8035     "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;;
   8036     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
   8037     "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;
   8038     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
   8039     "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
   8040     "layout/Makefile") CONFIG_FILES="$CONFIG_FILES layout/Makefile" ;;
   8041     "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;
   8042     "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
   8043     "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
   8044     "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;
   8045     "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;
   8046     "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;
   8047     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   8048     "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;
   8049     "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;
   8050     "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;
   8051     "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;
   8052     "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;
   8053     "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;
   8054     "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;
   8055     "tools/gendict/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gendict/Makefile" ;;
   8056     "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;
   8057     "tools/gennorm2/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm2/Makefile" ;;
   8058     "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;
   8059     "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;
   8060     "tools/icuinfo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuinfo/Makefile" ;;
   8061     "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;;
   8062     "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;
   8063     "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;
   8064     "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;;
   8065     "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;;
   8066     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   8067     "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;;
   8068     "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;
   8069     "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;
   8070     "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;
   8071     "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;
   8072     "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;
   8073     "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;
   8074     "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;
   8075     "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;;
   8076     "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
   8077     "test/perf/collperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf/Makefile" ;;
   8078     "test/perf/dicttrieperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/dicttrieperf/Makefile" ;;
   8079     "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
   8080     "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;;
   8081     "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;;
   8082     "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;;
   8083     "test/perf/DateFmtPerf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;;
   8084     "test/perf/howExpensiveIs/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/howExpensiveIs/Makefile" ;;
   8085     "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;
   8086     "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
   8087     "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
   8088     "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
   8089     "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
   8090     "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;
   8091     "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
   8092     "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;
   8093     "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;
   8094     "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
   8095 
   8096   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   8097   esac
   8098 done
   8099 
   8100 
   8101 # If the user did not use the arguments to specify the items to instantiate,
   8102 # then the envvar interface is used.  Set only those that are not.
   8103 # We use the long form for the default assignment because of an extremely
   8104 # bizarre bug on SunOS 4.1.3.
   8105 if $ac_need_defaults; then
   8106   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   8107 fi
   8108 
   8109 # Have a temporary directory for convenience.  Make it in the build tree
   8110 # simply because there is no reason against having it here, and in addition,
   8111 # creating and moving files from /tmp can sometimes cause problems.
   8112 # Hook for its removal unless debugging.
   8113 # Note that there is a small window in which the directory will not be cleaned:
   8114 # after its creation but before its name has been assigned to `$tmp'.
   8115 $debug ||
   8116 {
   8117   tmp= ac_tmp=
   8118   trap 'exit_status=$?
   8119   : "${ac_tmp:=$tmp}"
   8120   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   8121 ' 0
   8122   trap 'as_fn_exit 1' 1 2 13 15
   8123 }
   8124 # Create a (secure) tmp directory for tmp files.
   8125 
   8126 {
   8127   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   8128   test -d "$tmp"
   8129 }  ||
   8130 {
   8131   tmp=./conf$$-$RANDOM
   8132   (umask 077 && mkdir "$tmp")
   8133 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   8134 ac_tmp=$tmp
   8135 
   8136 # Set up the scripts for CONFIG_FILES section.
   8137 # No need to generate them if there are no CONFIG_FILES.
   8138 # This happens for instance with `./config.status config.h'.
   8139 if test -n "$CONFIG_FILES"; then
   8140 
   8141 
   8142 ac_cr=`echo X | tr X '\015'`
   8143 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   8144 # But we know of no other shell where ac_cr would be empty at this
   8145 # point, so we can use a bashism as a fallback.
   8146 if test "x$ac_cr" = x; then
   8147   eval ac_cr=\$\'\\r\'
   8148 fi
   8149 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   8150 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   8151   ac_cs_awk_cr='\\r'
   8152 else
   8153   ac_cs_awk_cr=$ac_cr
   8154 fi
   8155 
   8156 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   8157 _ACEOF
   8158 
   8159 
   8160 {
   8161   echo "cat >conf$$subs.awk <<_ACEOF" &&
   8162   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   8163   echo "_ACEOF"
   8164 } >conf$$subs.sh ||
   8165   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8166 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   8167 ac_delim='%!_!# '
   8168 for ac_last_try in false false false false false :; do
   8169   . ./conf$$subs.sh ||
   8170     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8171 
   8172   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   8173   if test $ac_delim_n = $ac_delim_num; then
   8174     break
   8175   elif $ac_last_try; then
   8176     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8177   else
   8178     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   8179   fi
   8180 done
   8181 rm -f conf$$subs.sh
   8182 
   8183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8184 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   8185 _ACEOF
   8186 sed -n '
   8187 h
   8188 s/^/S["/; s/!.*/"]=/
   8189 p
   8190 g
   8191 s/^[^!]*!//
   8192 :repl
   8193 t repl
   8194 s/'"$ac_delim"'$//
   8195 t delim
   8196 :nl
   8197 h
   8198 s/\(.\{148\}\)..*/\1/
   8199 t more1
   8200 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   8201 p
   8202 n
   8203 b repl
   8204 :more1
   8205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8206 p
   8207 g
   8208 s/.\{148\}//
   8209 t nl
   8210 :delim
   8211 h
   8212 s/\(.\{148\}\)..*/\1/
   8213 t more2
   8214 s/["\\]/\\&/g; s/^/"/; s/$/"/
   8215 p
   8216 b
   8217 :more2
   8218 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8219 p
   8220 g
   8221 s/.\{148\}//
   8222 t delim
   8223 ' <conf$$subs.awk | sed '
   8224 /^[^""]/{
   8225   N
   8226   s/\n//
   8227 }
   8228 ' >>$CONFIG_STATUS || ac_write_fail=1
   8229 rm -f conf$$subs.awk
   8230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8231 _ACAWK
   8232 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   8233   for (key in S) S_is_set[key] = 1
   8234   FS = ""
   8235 
   8236 }
   8237 {
   8238   line = $ 0
   8239   nfields = split(line, field, "@")
   8240   substed = 0
   8241   len = length(field[1])
   8242   for (i = 2; i < nfields; i++) {
   8243     key = field[i]
   8244     keylen = length(key)
   8245     if (S_is_set[key]) {
   8246       value = S[key]
   8247       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   8248       len += length(value) + length(field[++i])
   8249       substed = 1
   8250     } else
   8251       len += 1 + keylen
   8252   }
   8253 
   8254   print line
   8255 }
   8256 
   8257 _ACAWK
   8258 _ACEOF
   8259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8260 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   8261   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   8262 else
   8263   cat
   8264 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   8265   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   8266 _ACEOF
   8267 
   8268 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   8269 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   8270 # trailing colons and then remove the whole line if VPATH becomes empty
   8271 # (actually we leave an empty line to preserve line numbers).
   8272 if test "x$srcdir" = x.; then
   8273   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   8274 h
   8275 s///
   8276 s/^/:/
   8277 s/[	 ]*$/:/
   8278 s/:\$(srcdir):/:/g
   8279 s/:\${srcdir}:/:/g
   8280 s/:@srcdir@:/:/g
   8281 s/^:*//
   8282 s/:*$//
   8283 x
   8284 s/\(=[	 ]*\).*/\1/
   8285 G
   8286 s/\n//
   8287 s/^[^=]*=[	 ]*$//
   8288 }'
   8289 fi
   8290 
   8291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8292 fi # test -n "$CONFIG_FILES"
   8293 
   8294 
   8295 eval set X "  :F $CONFIG_FILES      "
   8296 shift
   8297 for ac_tag
   8298 do
   8299   case $ac_tag in
   8300   :[FHLC]) ac_mode=$ac_tag; continue;;
   8301   esac
   8302   case $ac_mode$ac_tag in
   8303   :[FHL]*:*);;
   8304   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   8305   :[FH]-) ac_tag=-:-;;
   8306   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   8307   esac
   8308   ac_save_IFS=$IFS
   8309   IFS=:
   8310   set x $ac_tag
   8311   IFS=$ac_save_IFS
   8312   shift
   8313   ac_file=$1
   8314   shift
   8315 
   8316   case $ac_mode in
   8317   :L) ac_source=$1;;
   8318   :[FH])
   8319     ac_file_inputs=
   8320     for ac_f
   8321     do
   8322       case $ac_f in
   8323       -) ac_f="$ac_tmp/stdin";;
   8324       *) # Look for the file first in the build tree, then in the source tree
   8325 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   8326 	 # because $ac_f cannot contain `:'.
   8327 	 test -f "$ac_f" ||
   8328 	   case $ac_f in
   8329 	   [\\/$]*) false;;
   8330 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   8331 	   esac ||
   8332 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   8333       esac
   8334       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   8335       as_fn_append ac_file_inputs " '$ac_f'"
   8336     done
   8337 
   8338     # Let's still pretend it is `configure' which instantiates (i.e., don't
   8339     # use $as_me), people would be surprised to read:
   8340     #    /* config.h.  Generated by config.status.  */
   8341     configure_input='Generated from '`
   8342 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   8343 	`' by configure.'
   8344     if test x"$ac_file" != x-; then
   8345       configure_input="$ac_file.  $configure_input"
   8346       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   8347 $as_echo "$as_me: creating $ac_file" >&6;}
   8348     fi
   8349     # Neutralize special characters interpreted by sed in replacement strings.
   8350     case $configure_input in #(
   8351     *\&* | *\|* | *\\* )
   8352        ac_sed_conf_input=`$as_echo "$configure_input" |
   8353        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   8354     *) ac_sed_conf_input=$configure_input;;
   8355     esac
   8356 
   8357     case $ac_tag in
   8358     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   8359       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   8360     esac
   8361     ;;
   8362   esac
   8363 
   8364   ac_dir=`$as_dirname -- "$ac_file" ||
   8365 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8366 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   8367 	 X"$ac_file" : 'X\(//\)$' \| \
   8368 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   8369 $as_echo X"$ac_file" |
   8370     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8371 	    s//\1/
   8372 	    q
   8373 	  }
   8374 	  /^X\(\/\/\)[^/].*/{
   8375 	    s//\1/
   8376 	    q
   8377 	  }
   8378 	  /^X\(\/\/\)$/{
   8379 	    s//\1/
   8380 	    q
   8381 	  }
   8382 	  /^X\(\/\).*/{
   8383 	    s//\1/
   8384 	    q
   8385 	  }
   8386 	  s/.*/./; q'`
   8387   as_dir="$ac_dir"; as_fn_mkdir_p
   8388   ac_builddir=.
   8389 
   8390 case "$ac_dir" in
   8391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8392 *)
   8393   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   8394   # A ".." for each directory in $ac_dir_suffix.
   8395   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   8396   case $ac_top_builddir_sub in
   8397   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8398   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   8399   esac ;;
   8400 esac
   8401 ac_abs_top_builddir=$ac_pwd
   8402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   8403 # for backward compatibility:
   8404 ac_top_builddir=$ac_top_build_prefix
   8405 
   8406 case $srcdir in
   8407   .)  # We are building in place.
   8408     ac_srcdir=.
   8409     ac_top_srcdir=$ac_top_builddir_sub
   8410     ac_abs_top_srcdir=$ac_pwd ;;
   8411   [\\/]* | ?:[\\/]* )  # Absolute name.
   8412     ac_srcdir=$srcdir$ac_dir_suffix;
   8413     ac_top_srcdir=$srcdir
   8414     ac_abs_top_srcdir=$srcdir ;;
   8415   *) # Relative name.
   8416     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   8417     ac_top_srcdir=$ac_top_build_prefix$srcdir
   8418     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   8419 esac
   8420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   8421 
   8422 
   8423   case $ac_mode in
   8424   :F)
   8425   #
   8426   # CONFIG_FILE
   8427   #
   8428 
   8429   case $INSTALL in
   8430   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   8431   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   8432   esac
   8433 _ACEOF
   8434 
   8435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8436 # If the template does not know about datarootdir, expand it.
   8437 # FIXME: This hack should be removed a few years after 2.60.
   8438 ac_datarootdir_hack=; ac_datarootdir_seen=
   8439 ac_sed_dataroot='
   8440 /datarootdir/ {
   8441   p
   8442   q
   8443 }
   8444 /@datadir@/p
   8445 /@docdir@/p
   8446 /@infodir@/p
   8447 /@localedir@/p
   8448 /@mandir@/p'
   8449 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   8450 *datarootdir*) ac_datarootdir_seen=yes;;
   8451 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   8452   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   8453 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   8454 _ACEOF
   8455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8456   ac_datarootdir_hack='
   8457   s&@datadir@&$datadir&g
   8458   s&@docdir@&$docdir&g
   8459   s&@infodir@&$infodir&g
   8460   s&@localedir@&$localedir&g
   8461   s&@mandir@&$mandir&g
   8462   s&\\\${datarootdir}&$datarootdir&g' ;;
   8463 esac
   8464 _ACEOF
   8465 
   8466 # Neutralize VPATH when `$srcdir' = `.'.
   8467 # Shell code in configure.ac might set extrasub.
   8468 # FIXME: do we really want to maintain this feature?
   8469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8470 ac_sed_extra="$ac_vpsub
   8471 $extrasub
   8472 _ACEOF
   8473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8474 :t
   8475 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   8476 s|@configure_input@|$ac_sed_conf_input|;t t
   8477 s&@top_builddir@&$ac_top_builddir_sub&;t t
   8478 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   8479 s&@srcdir@&$ac_srcdir&;t t
   8480 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   8481 s&@top_srcdir@&$ac_top_srcdir&;t t
   8482 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   8483 s&@builddir@&$ac_builddir&;t t
   8484 s&@abs_builddir@&$ac_abs_builddir&;t t
   8485 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   8486 s&@INSTALL@&$ac_INSTALL&;t t
   8487 $ac_datarootdir_hack
   8488 "
   8489 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   8490   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8491 
   8492 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   8493   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   8494   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   8495       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   8496   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8497 which seems to be undefined.  Please make sure it is defined" >&5
   8498 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8499 which seems to be undefined.  Please make sure it is defined" >&2;}
   8500 
   8501   rm -f "$ac_tmp/stdin"
   8502   case $ac_file in
   8503   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   8504   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   8505   esac \
   8506   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8507  ;;
   8508 
   8509 
   8510 
   8511   esac
   8512 
   8513 done # for ac_tag
   8514 
   8515 
   8516 as_fn_exit 0
   8517 _ACEOF
   8518 ac_clean_files=$ac_clean_files_save
   8519 
   8520 test $ac_write_fail = 0 ||
   8521   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   8522 
   8523 
   8524 # configure is writing to config.log, and then calls config.status.
   8525 # config.status does its own redirection, appending to config.log.
   8526 # Unfortunately, on DOS this fails, as config.log is still kept open
   8527 # by configure, so config.status won't be able to write to it; its
   8528 # output is simply discarded.  So we exec the FD to /dev/null,
   8529 # effectively closing config.log, so it can be properly (re)opened and
   8530 # appended to by config.status.  When coming back to configure, we
   8531 # need to make the FD available again.
   8532 if test "$no_create" != yes; then
   8533   ac_cs_success=:
   8534   ac_config_status_args=
   8535   test "$silent" = yes &&
   8536     ac_config_status_args="$ac_config_status_args --quiet"
   8537   exec 5>/dev/null
   8538   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8539   exec 5>>config.log
   8540   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   8541   # would make configure fail if this is the last instruction.
   8542   $ac_cs_success || as_fn_exit 1
   8543 fi
   8544 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   8545   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   8546 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   8547 fi
   8548 
   8549 
   8550 echo
   8551 echo "ICU for C/C++ $VERSION is ready to be built."
   8552 echo "=== Important Notes: ==="
   8553 
   8554 echo "Data Packaging: $datapackaging"
   8555 echo " This means: $datapackaging_msg"
   8556 echo " To locate data: $datapackaging_howfound"
   8557 
   8558 if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
   8559 echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."
   8560 else
   8561 echo "** WARNING: $U_MAKE may not be GNU make."
   8562 echo "This may cause ICU to fail to build. Please make sure that GNU make"
   8563 echo "is in your PATH so that the configure script can detect its location."
   8564 fi
   8565 if test "x$AR" = "xfalse"; then
   8566   echo "*** WARNING: Archiver ar not found. Set AR= or fix PATH. Some builds (such as static) may fail."
   8567 fi
   8568 
   8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5
   8570 $as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }
   8571 if "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM="$platform"; then
   8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8573 $as_echo "ok" >&6; }
   8574 else
   8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5
   8576 $as_echo "too old or test failed - try upgrading GNU Make" >&6; }
   8577 fi
   8578 
   8579 if test -n "$UCONFIG_CPPFLAGS"; then
   8580    HDRFILE="uconfig.h.prepend"
   8581    echo "*** WARNING: You must set the following flags before code compiled against this ICU will function properly:"
   8582    echo
   8583    echo "   ${UCONFIG_CPPFLAGS}"
   8584    echo
   8585    echo 'The recommended way to do this is to prepend the following lines to source/common/unicode/uconfig.h or #include them near the top of that file.'
   8586    echo "Creating the file ${HDRFILE}"
   8587    echo
   8588    echo '---------------   ' "${HDRFILE}"
   8589    echo > "${HDRFILE}"
   8590    echo '/* ICU customizations: put these lines at the top of uconfig.h */' >> "${HDRFILE}"
   8591    echo >> "${HDRFILE}"
   8592    for flag in ${UCONFIG_CPPFLAGS};
   8593    do
   8594         echo " /* $flag */" >> "${HDRFILE}"
   8595         case "${flag}" in
   8596         -D*=*)
   8597            \echo "${flag}" | sed -n 's%-D\([^=]*\)=%#define \1 %p' >> "${HDRFILE}"
   8598           \echo >> "${HDRFILE}"
   8599           ;;
   8600         -D*)
   8601            \echo "${flag}" | sed -n 's%-D\([^=]*\)%#define \1 %p' >> "${HDRFILE}"
   8602           \echo >> "${HDRFILE}"
   8603           ;;
   8604         *)
   8605           \echo "/*  Not sure how to handle this argument: ${flag} */" >> "${HDRFILE}"
   8606           \echo >> "${HDRFILE}"
   8607           ;;
   8608         esac
   8609    done
   8610    cat "${HDRFILE}"
   8611    \echo  "/* End of ${HDRFILE} ------------ */" >> "${HDRFILE}"
   8612    echo >> "${HDRFILE}"
   8613    echo '--------------- end ' "${HDRFILE}"
   8614 fi
   8615 
   8616 $as_unset _CXX_CXXSUFFIX
   8617