intl/icu/source/configure

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/configure	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,8804 @@
     1.4 +#! /bin/sh
     1.5 +# Guess values for system-dependent variables and create Makefiles.
     1.6 +# Generated by GNU Autoconf 2.68.
     1.7 +#
     1.8 +#  Copyright (c) 1999-2013, International Business Machines Corporation and others. All Rights Reserved.
     1.9 +#
    1.10 +#
    1.11 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1.12 +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    1.13 +# Foundation, Inc.
    1.14 +#
    1.15 +#
    1.16 +# This configure script is free software; the Free Software Foundation
    1.17 +# gives unlimited permission to copy, distribute and modify it.
    1.18 +## -------------------- ##
    1.19 +## M4sh Initialization. ##
    1.20 +## -------------------- ##
    1.21 +
    1.22 +# Be more Bourne compatible
    1.23 +DUALCASE=1; export DUALCASE # for MKS sh
    1.24 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1.25 +  emulate sh
    1.26 +  NULLCMD=:
    1.27 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1.28 +  # is contrary to our usage.  Disable this feature.
    1.29 +  alias -g '${1+"$@"}'='"$@"'
    1.30 +  setopt NO_GLOB_SUBST
    1.31 +else
    1.32 +  case `(set -o) 2>/dev/null` in #(
    1.33 +  *posix*) :
    1.34 +    set -o posix ;; #(
    1.35 +  *) :
    1.36 +     ;;
    1.37 +esac
    1.38 +fi
    1.39 +
    1.40 +
    1.41 +as_nl='
    1.42 +'
    1.43 +export as_nl
    1.44 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
    1.45 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    1.46 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1.47 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    1.48 +# Prefer a ksh shell builtin over an external printf program on Solaris,
    1.49 +# but without wasting forks for bash or zsh.
    1.50 +if test -z "$BASH_VERSION$ZSH_VERSION" \
    1.51 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.52 +  as_echo='print -r --'
    1.53 +  as_echo_n='print -rn --'
    1.54 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1.55 +  as_echo='printf %s\n'
    1.56 +  as_echo_n='printf %s'
    1.57 +else
    1.58 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    1.59 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    1.60 +    as_echo_n='/usr/ucb/echo -n'
    1.61 +  else
    1.62 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    1.63 +    as_echo_n_body='eval
    1.64 +      arg=$1;
    1.65 +      case $arg in #(
    1.66 +      *"$as_nl"*)
    1.67 +	expr "X$arg" : "X\\(.*\\)$as_nl";
    1.68 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    1.69 +      esac;
    1.70 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    1.71 +    '
    1.72 +    export as_echo_n_body
    1.73 +    as_echo_n='sh -c $as_echo_n_body as_echo'
    1.74 +  fi
    1.75 +  export as_echo_body
    1.76 +  as_echo='sh -c $as_echo_body as_echo'
    1.77 +fi
    1.78 +
    1.79 +# The user is always right.
    1.80 +if test "${PATH_SEPARATOR+set}" != set; then
    1.81 +  PATH_SEPARATOR=:
    1.82 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    1.83 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    1.84 +      PATH_SEPARATOR=';'
    1.85 +  }
    1.86 +fi
    1.87 +
    1.88 +
    1.89 +# IFS
    1.90 +# We need space, tab and new line, in precisely that order.  Quoting is
    1.91 +# there to prevent editors from complaining about space-tab.
    1.92 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    1.93 +# splitting by setting IFS to empty value.)
    1.94 +IFS=" ""	$as_nl"
    1.95 +
    1.96 +# Find who we are.  Look in the path if we contain no directory separator.
    1.97 +as_myself=
    1.98 +case $0 in #((
    1.99 +  *[\\/]* ) as_myself=$0 ;;
   1.100 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.101 +for as_dir in $PATH
   1.102 +do
   1.103 +  IFS=$as_save_IFS
   1.104 +  test -z "$as_dir" && as_dir=.
   1.105 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   1.106 +  done
   1.107 +IFS=$as_save_IFS
   1.108 +
   1.109 +     ;;
   1.110 +esac
   1.111 +# We did not find ourselves, most probably we were run as `sh COMMAND'
   1.112 +# in which case we are not to be found in the path.
   1.113 +if test "x$as_myself" = x; then
   1.114 +  as_myself=$0
   1.115 +fi
   1.116 +if test ! -f "$as_myself"; then
   1.117 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   1.118 +  exit 1
   1.119 +fi
   1.120 +
   1.121 +# Unset variables that we do not need and which cause bugs (e.g. in
   1.122 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   1.123 +# suppresses any "Segmentation fault" message there.  '((' could
   1.124 +# trigger a bug in pdksh 5.2.14.
   1.125 +for as_var in BASH_ENV ENV MAIL MAILPATH
   1.126 +do eval test x\${$as_var+set} = xset \
   1.127 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   1.128 +done
   1.129 +PS1='$ '
   1.130 +PS2='> '
   1.131 +PS4='+ '
   1.132 +
   1.133 +# NLS nuisances.
   1.134 +LC_ALL=C
   1.135 +export LC_ALL
   1.136 +LANGUAGE=C
   1.137 +export LANGUAGE
   1.138 +
   1.139 +# CDPATH.
   1.140 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   1.141 +
   1.142 +if test "x$CONFIG_SHELL" = x; then
   1.143 +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   1.144 +  emulate sh
   1.145 +  NULLCMD=:
   1.146 +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   1.147 +  # is contrary to our usage.  Disable this feature.
   1.148 +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
   1.149 +  setopt NO_GLOB_SUBST
   1.150 +else
   1.151 +  case \`(set -o) 2>/dev/null\` in #(
   1.152 +  *posix*) :
   1.153 +    set -o posix ;; #(
   1.154 +  *) :
   1.155 +     ;;
   1.156 +esac
   1.157 +fi
   1.158 +"
   1.159 +  as_required="as_fn_return () { (exit \$1); }
   1.160 +as_fn_success () { as_fn_return 0; }
   1.161 +as_fn_failure () { as_fn_return 1; }
   1.162 +as_fn_ret_success () { return 0; }
   1.163 +as_fn_ret_failure () { return 1; }
   1.164 +
   1.165 +exitcode=0
   1.166 +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   1.167 +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   1.168 +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   1.169 +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   1.170 +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   1.171 +
   1.172 +else
   1.173 +  exitcode=1; echo positional parameters were not saved.
   1.174 +fi
   1.175 +test x\$exitcode = x0 || exit 1"
   1.176 +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   1.177 +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   1.178 +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   1.179 +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   1.180 +test \$(( 1 + 1 )) = 2 || exit 1"
   1.181 +  if (eval "$as_required") 2>/dev/null; then :
   1.182 +  as_have_required=yes
   1.183 +else
   1.184 +  as_have_required=no
   1.185 +fi
   1.186 +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   1.187 +
   1.188 +else
   1.189 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1.190 +as_found=false
   1.191 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   1.192 +do
   1.193 +  IFS=$as_save_IFS
   1.194 +  test -z "$as_dir" && as_dir=.
   1.195 +  as_found=:
   1.196 +  case $as_dir in #(
   1.197 +	 /*)
   1.198 +	   for as_base in sh bash ksh sh5; do
   1.199 +	     # Try only shells that exist, to save several forks.
   1.200 +	     as_shell=$as_dir/$as_base
   1.201 +	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   1.202 +		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.203 +  CONFIG_SHELL=$as_shell as_have_required=yes
   1.204 +		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   1.205 +  break 2
   1.206 +fi
   1.207 +fi
   1.208 +	   done;;
   1.209 +       esac
   1.210 +  as_found=false
   1.211 +done
   1.212 +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   1.213 +	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   1.214 +  CONFIG_SHELL=$SHELL as_have_required=yes
   1.215 +fi; }
   1.216 +IFS=$as_save_IFS
   1.217 +
   1.218 +
   1.219 +      if test "x$CONFIG_SHELL" != x; then :
   1.220 +  # We cannot yet assume a decent shell, so we have to provide a
   1.221 +	# neutralization value for shells without unset; and this also
   1.222 +	# works around shells that cannot unset nonexistent variables.
   1.223 +	# Preserve -v and -x to the replacement shell.
   1.224 +	BASH_ENV=/dev/null
   1.225 +	ENV=/dev/null
   1.226 +	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   1.227 +	export CONFIG_SHELL
   1.228 +	case $- in # ((((
   1.229 +	  *v*x* | *x*v* ) as_opts=-vx ;;
   1.230 +	  *v* ) as_opts=-v ;;
   1.231 +	  *x* ) as_opts=-x ;;
   1.232 +	  * ) as_opts= ;;
   1.233 +	esac
   1.234 +	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
   1.235 +fi
   1.236 +
   1.237 +    if test x$as_have_required = xno; then :
   1.238 +  $as_echo "$0: This script requires a shell more modern than all"
   1.239 +  $as_echo "$0: the shells that I found on your system."
   1.240 +  if test x${ZSH_VERSION+set} = xset ; then
   1.241 +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   1.242 +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   1.243 +  else
   1.244 +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   1.245 +$0: including any error possibly output before this
   1.246 +$0: message. Then install a modern shell, or manually run
   1.247 +$0: the script under such a shell if you do have one."
   1.248 +  fi
   1.249 +  exit 1
   1.250 +fi
   1.251 +fi
   1.252 +fi
   1.253 +SHELL=${CONFIG_SHELL-/bin/sh}
   1.254 +export SHELL
   1.255 +# Unset more variables known to interfere with behavior of common tools.
   1.256 +CLICOLOR_FORCE= GREP_OPTIONS=
   1.257 +unset CLICOLOR_FORCE GREP_OPTIONS
   1.258 +
   1.259 +## --------------------- ##
   1.260 +## M4sh Shell Functions. ##
   1.261 +## --------------------- ##
   1.262 +# as_fn_unset VAR
   1.263 +# ---------------
   1.264 +# Portably unset VAR.
   1.265 +as_fn_unset ()
   1.266 +{
   1.267 +  { eval $1=; unset $1;}
   1.268 +}
   1.269 +as_unset=as_fn_unset
   1.270 +
   1.271 +# as_fn_set_status STATUS
   1.272 +# -----------------------
   1.273 +# Set $? to STATUS, without forking.
   1.274 +as_fn_set_status ()
   1.275 +{
   1.276 +  return $1
   1.277 +} # as_fn_set_status
   1.278 +
   1.279 +# as_fn_exit STATUS
   1.280 +# -----------------
   1.281 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   1.282 +as_fn_exit ()
   1.283 +{
   1.284 +  set +e
   1.285 +  as_fn_set_status $1
   1.286 +  exit $1
   1.287 +} # as_fn_exit
   1.288 +
   1.289 +# as_fn_mkdir_p
   1.290 +# -------------
   1.291 +# Create "$as_dir" as a directory, including parents if necessary.
   1.292 +as_fn_mkdir_p ()
   1.293 +{
   1.294 +
   1.295 +  case $as_dir in #(
   1.296 +  -*) as_dir=./$as_dir;;
   1.297 +  esac
   1.298 +  test -d "$as_dir" || eval $as_mkdir_p || {
   1.299 +    as_dirs=
   1.300 +    while :; do
   1.301 +      case $as_dir in #(
   1.302 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   1.303 +      *) as_qdir=$as_dir;;
   1.304 +      esac
   1.305 +      as_dirs="'$as_qdir' $as_dirs"
   1.306 +      as_dir=`$as_dirname -- "$as_dir" ||
   1.307 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1.308 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
   1.309 +	 X"$as_dir" : 'X\(//\)$' \| \
   1.310 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   1.311 +$as_echo X"$as_dir" |
   1.312 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1.313 +	    s//\1/
   1.314 +	    q
   1.315 +	  }
   1.316 +	  /^X\(\/\/\)[^/].*/{
   1.317 +	    s//\1/
   1.318 +	    q
   1.319 +	  }
   1.320 +	  /^X\(\/\/\)$/{
   1.321 +	    s//\1/
   1.322 +	    q
   1.323 +	  }
   1.324 +	  /^X\(\/\).*/{
   1.325 +	    s//\1/
   1.326 +	    q
   1.327 +	  }
   1.328 +	  s/.*/./; q'`
   1.329 +      test -d "$as_dir" && break
   1.330 +    done
   1.331 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
   1.332 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   1.333 +
   1.334 +
   1.335 +} # as_fn_mkdir_p
   1.336 +# as_fn_append VAR VALUE
   1.337 +# ----------------------
   1.338 +# Append the text in VALUE to the end of the definition contained in VAR. Take
   1.339 +# advantage of any shell optimizations that allow amortized linear growth over
   1.340 +# repeated appends, instead of the typical quadratic growth present in naive
   1.341 +# implementations.
   1.342 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   1.343 +  eval 'as_fn_append ()
   1.344 +  {
   1.345 +    eval $1+=\$2
   1.346 +  }'
   1.347 +else
   1.348 +  as_fn_append ()
   1.349 +  {
   1.350 +    eval $1=\$$1\$2
   1.351 +  }
   1.352 +fi # as_fn_append
   1.353 +
   1.354 +# as_fn_arith ARG...
   1.355 +# ------------------
   1.356 +# Perform arithmetic evaluation on the ARGs, and store the result in the
   1.357 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
   1.358 +# must be portable across $(()) and expr.
   1.359 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   1.360 +  eval 'as_fn_arith ()
   1.361 +  {
   1.362 +    as_val=$(( $* ))
   1.363 +  }'
   1.364 +else
   1.365 +  as_fn_arith ()
   1.366 +  {
   1.367 +    as_val=`expr "$@" || test $? -eq 1`
   1.368 +  }
   1.369 +fi # as_fn_arith
   1.370 +
   1.371 +
   1.372 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
   1.373 +# ----------------------------------------
   1.374 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   1.375 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   1.376 +# script with STATUS, using 1 if that was 0.
   1.377 +as_fn_error ()
   1.378 +{
   1.379 +  as_status=$1; test $as_status -eq 0 && as_status=1
   1.380 +  if test "$4"; then
   1.381 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1.382 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   1.383 +  fi
   1.384 +  $as_echo "$as_me: error: $2" >&2
   1.385 +  as_fn_exit $as_status
   1.386 +} # as_fn_error
   1.387 +
   1.388 +if expr a : '\(a\)' >/dev/null 2>&1 &&
   1.389 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
   1.390 +  as_expr=expr
   1.391 +else
   1.392 +  as_expr=false
   1.393 +fi
   1.394 +
   1.395 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   1.396 +  as_basename=basename
   1.397 +else
   1.398 +  as_basename=false
   1.399 +fi
   1.400 +
   1.401 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   1.402 +  as_dirname=dirname
   1.403 +else
   1.404 +  as_dirname=false
   1.405 +fi
   1.406 +
   1.407 +as_me=`$as_basename -- "$0" ||
   1.408 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   1.409 +	 X"$0" : 'X\(//\)$' \| \
   1.410 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1.411 +$as_echo X/"$0" |
   1.412 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
   1.413 +	    s//\1/
   1.414 +	    q
   1.415 +	  }
   1.416 +	  /^X\/\(\/\/\)$/{
   1.417 +	    s//\1/
   1.418 +	    q
   1.419 +	  }
   1.420 +	  /^X\/\(\/\).*/{
   1.421 +	    s//\1/
   1.422 +	    q
   1.423 +	  }
   1.424 +	  s/.*/./; q'`
   1.425 +
   1.426 +# Avoid depending upon Character Ranges.
   1.427 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   1.428 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   1.429 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   1.430 +as_cr_digits='0123456789'
   1.431 +as_cr_alnum=$as_cr_Letters$as_cr_digits
   1.432 +
   1.433 +
   1.434 +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
   1.435 +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
   1.436 +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   1.437 +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   1.438 +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   1.439 +  sed -n '
   1.440 +    p
   1.441 +    /[$]LINENO/=
   1.442 +  ' <$as_myself |
   1.443 +    sed '
   1.444 +      s/[$]LINENO.*/&-/
   1.445 +      t lineno
   1.446 +      b
   1.447 +      :lineno
   1.448 +      N
   1.449 +      :loop
   1.450 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   1.451 +      t loop
   1.452 +      s/-\n.*//
   1.453 +    ' >$as_me.lineno &&
   1.454 +  chmod +x "$as_me.lineno" ||
   1.455 +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   1.456 +
   1.457 +  # Don't try to exec as it changes $[0], causing all sort of problems
   1.458 +  # (the dirname of $[0] is not the place where we might find the
   1.459 +  # original and so on.  Autoconf is especially sensitive to this).
   1.460 +  . "./$as_me.lineno"
   1.461 +  # Exit status is that of the last command.
   1.462 +  exit
   1.463 +}
   1.464 +
   1.465 +ECHO_C= ECHO_N= ECHO_T=
   1.466 +case `echo -n x` in #(((((
   1.467 +-n*)
   1.468 +  case `echo 'xy\c'` in
   1.469 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   1.470 +  xy)  ECHO_C='\c';;
   1.471 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   1.472 +       ECHO_T='	';;
   1.473 +  esac;;
   1.474 +*)
   1.475 +  ECHO_N='-n';;
   1.476 +esac
   1.477 +
   1.478 +rm -f conf$$ conf$$.exe conf$$.file
   1.479 +if test -d conf$$.dir; then
   1.480 +  rm -f conf$$.dir/conf$$.file
   1.481 +else
   1.482 +  rm -f conf$$.dir
   1.483 +  mkdir conf$$.dir 2>/dev/null
   1.484 +fi
   1.485 +if (echo >conf$$.file) 2>/dev/null; then
   1.486 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
   1.487 +    as_ln_s='ln -s'
   1.488 +    # ... but there are two gotchas:
   1.489 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   1.490 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   1.491 +    # In both cases, we have to default to `cp -p'.
   1.492 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   1.493 +      as_ln_s='cp -p'
   1.494 +  elif ln conf$$.file conf$$ 2>/dev/null; then
   1.495 +    as_ln_s=ln
   1.496 +  else
   1.497 +    as_ln_s='cp -p'
   1.498 +  fi
   1.499 +else
   1.500 +  as_ln_s='cp -p'
   1.501 +fi
   1.502 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   1.503 +rmdir conf$$.dir 2>/dev/null
   1.504 +
   1.505 +if mkdir -p . 2>/dev/null; then
   1.506 +  as_mkdir_p='mkdir -p "$as_dir"'
   1.507 +else
   1.508 +  test -d ./-p && rmdir ./-p
   1.509 +  as_mkdir_p=false
   1.510 +fi
   1.511 +
   1.512 +if test -x / >/dev/null 2>&1; then
   1.513 +  as_test_x='test -x'
   1.514 +else
   1.515 +  if ls -dL / >/dev/null 2>&1; then
   1.516 +    as_ls_L_option=L
   1.517 +  else
   1.518 +    as_ls_L_option=
   1.519 +  fi
   1.520 +  as_test_x='
   1.521 +    eval sh -c '\''
   1.522 +      if test -d "$1"; then
   1.523 +	test -d "$1/.";
   1.524 +      else
   1.525 +	case $1 in #(
   1.526 +	-*)set "./$1";;
   1.527 +	esac;
   1.528 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   1.529 +	???[sx]*):;;*)false;;esac;fi
   1.530 +    '\'' sh
   1.531 +  '
   1.532 +fi
   1.533 +as_executable_p=$as_test_x
   1.534 +
   1.535 +# Sed expression to map a string onto a valid CPP name.
   1.536 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   1.537 +
   1.538 +# Sed expression to map a string onto a valid variable name.
   1.539 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   1.540 +
   1.541 +
   1.542 +test -n "$DJDIR" || exec 7<&0 </dev/null
   1.543 +exec 6>&1
   1.544 +
   1.545 +# Name of the host.
   1.546 +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
   1.547 +# so uname gets run too.
   1.548 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   1.549 +
   1.550 +#
   1.551 +# Initializations.
   1.552 +#
   1.553 +ac_default_prefix=/usr/local
   1.554 +ac_clean_files=
   1.555 +ac_config_libobj_dir=.
   1.556 +LIBOBJS=
   1.557 +cross_compiling=no
   1.558 +subdirs=
   1.559 +MFLAGS=
   1.560 +MAKEFLAGS=
   1.561 +
   1.562 +# Identity of this package.
   1.563 +PACKAGE_NAME=
   1.564 +PACKAGE_TARNAME=
   1.565 +PACKAGE_VERSION=
   1.566 +PACKAGE_STRING=
   1.567 +PACKAGE_BUGREPORT=
   1.568 +PACKAGE_URL=
   1.569 +
   1.570 +ac_unique_file="ICU"
   1.571 +ac_unique_file="common/unicode/utypes.h"
   1.572 +# Factoring default headers for most tests.
   1.573 +ac_includes_default="\
   1.574 +#include <stdio.h>
   1.575 +#ifdef HAVE_SYS_TYPES_H
   1.576 +# include <sys/types.h>
   1.577 +#endif
   1.578 +#ifdef HAVE_SYS_STAT_H
   1.579 +# include <sys/stat.h>
   1.580 +#endif
   1.581 +#ifdef STDC_HEADERS
   1.582 +# include <stdlib.h>
   1.583 +# include <stddef.h>
   1.584 +#else
   1.585 +# ifdef HAVE_STDLIB_H
   1.586 +#  include <stdlib.h>
   1.587 +# endif
   1.588 +#endif
   1.589 +#ifdef HAVE_STRING_H
   1.590 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   1.591 +#  include <memory.h>
   1.592 +# endif
   1.593 +# include <string.h>
   1.594 +#endif
   1.595 +#ifdef HAVE_STRINGS_H
   1.596 +# include <strings.h>
   1.597 +#endif
   1.598 +#ifdef HAVE_INTTYPES_H
   1.599 +# include <inttypes.h>
   1.600 +#endif
   1.601 +#ifdef HAVE_STDINT_H
   1.602 +# include <stdint.h>
   1.603 +#endif
   1.604 +#ifdef HAVE_UNISTD_H
   1.605 +# include <unistd.h>
   1.606 +#endif"
   1.607 +
   1.608 +ac_subst_vars='UCONFIG_CXXFLAGS
   1.609 +UCONFIG_CFLAGS
   1.610 +UCONFIG_CPPFLAGS
   1.611 +LTLIBOBJS
   1.612 +LIBOBJS
   1.613 +LIBCXXFLAGS
   1.614 +LIBCFLAGS
   1.615 +platform_make_fragment
   1.616 +platform_make_fragment_name
   1.617 +platform
   1.618 +ICUDATA_CHAR
   1.619 +SAMPLES_TRUE
   1.620 +TESTS_TRUE
   1.621 +ICULIBSUFFIXCNAME
   1.622 +U_HAVE_LIB_SUFFIX
   1.623 +ICULIBSUFFIX
   1.624 +DATA_PACKAGING_MODE
   1.625 +thepkgicudatadir
   1.626 +pkgicudatadir
   1.627 +TOOLS_TRUE
   1.628 +LAYOUT_TRUE
   1.629 +ICUIO_TRUE
   1.630 +EXTRAS_TRUE
   1.631 +U_HAVE_WCSCPY
   1.632 +U_HAVE_WCHAR_H
   1.633 +U_TIMEZONE
   1.634 +U_HAVE_TIMEZONE
   1.635 +U_TZNAME
   1.636 +U_HAVE_TZNAME
   1.637 +U_TZSET
   1.638 +U_HAVE_TZSET
   1.639 +U_HAVE_POPEN
   1.640 +U_HAVE_PLACEMENT_NEW
   1.641 +U_OVERRIDE_CXX_ALLOCATION
   1.642 +U_NL_LANGINFO_CODESET
   1.643 +U_HAVE_NL_LANGINFO_CODESET
   1.644 +U_IS_BIG_ENDIAN
   1.645 +U_HAVE_DIRENT_H
   1.646 +U_HAVE_INTTYPES_H
   1.647 +GENCCODE_ASSEMBLY
   1.648 +HAVE_MMAP
   1.649 +LIB_THREAD
   1.650 +U_HAVE_ATOMIC
   1.651 +U_HAVE_STD_STRING
   1.652 +ENABLE_RPATH
   1.653 +U_ENABLE_DYLOAD
   1.654 +U_ENABLE_TRACING
   1.655 +U_DISABLE_RENAMING
   1.656 +AR
   1.657 +RANLIB
   1.658 +U_DEFAULT_SHOW_DRAFT
   1.659 +UCLN_NO_AUTO_CLEANUP
   1.660 +ENABLE_STATIC
   1.661 +ENABLE_SHARED
   1.662 +LIB_M
   1.663 +COMPILE_LINK_ENVVAR
   1.664 +ARFLAGS
   1.665 +EGREP
   1.666 +GREP
   1.667 +DOXYGEN
   1.668 +cross_buildroot
   1.669 +U_MAKE
   1.670 +cross_compiling
   1.671 +INSTALL_DATA
   1.672 +INSTALL_SCRIPT
   1.673 +INSTALL_PROGRAM
   1.674 +CPP
   1.675 +ac_ct_CXX
   1.676 +CXXFLAGS
   1.677 +CXX
   1.678 +OBJEXT
   1.679 +EXEEXT
   1.680 +ac_ct_CC
   1.681 +LDFLAGS
   1.682 +CFLAGS
   1.683 +CC
   1.684 +ENABLE_RELEASE
   1.685 +ENABLE_DEBUG
   1.686 +CPPFLAGS
   1.687 +host_os
   1.688 +host_vendor
   1.689 +host_cpu
   1.690 +host
   1.691 +build_os
   1.692 +build_vendor
   1.693 +build_cpu
   1.694 +build
   1.695 +UNICODE_VERSION
   1.696 +LIB_VERSION_MAJOR
   1.697 +LIB_VERSION
   1.698 +VERSION
   1.699 +ICU_ECHO_T
   1.700 +ICU_ECHO_C
   1.701 +ICU_ECHO_N
   1.702 +PACKAGE
   1.703 +target_alias
   1.704 +host_alias
   1.705 +build_alias
   1.706 +LIBS
   1.707 +ECHO_T
   1.708 +ECHO_N
   1.709 +ECHO_C
   1.710 +DEFS
   1.711 +mandir
   1.712 +localedir
   1.713 +libdir
   1.714 +psdir
   1.715 +pdfdir
   1.716 +dvidir
   1.717 +htmldir
   1.718 +infodir
   1.719 +docdir
   1.720 +oldincludedir
   1.721 +includedir
   1.722 +localstatedir
   1.723 +sharedstatedir
   1.724 +sysconfdir
   1.725 +datadir
   1.726 +datarootdir
   1.727 +libexecdir
   1.728 +sbindir
   1.729 +bindir
   1.730 +program_transform_name
   1.731 +prefix
   1.732 +exec_prefix
   1.733 +PACKAGE_URL
   1.734 +PACKAGE_BUGREPORT
   1.735 +PACKAGE_STRING
   1.736 +PACKAGE_VERSION
   1.737 +PACKAGE_TARNAME
   1.738 +PACKAGE_NAME
   1.739 +PATH_SEPARATOR
   1.740 +SHELL'
   1.741 +ac_subst_files=''
   1.742 +ac_user_opts='
   1.743 +enable_option_checking
   1.744 +enable_debug
   1.745 +enable_release
   1.746 +with_cross_build
   1.747 +enable_strict
   1.748 +enable_64bit_libs
   1.749 +with_library_bits
   1.750 +enable_shared
   1.751 +enable_static
   1.752 +enable_auto_cleanup
   1.753 +enable_draft
   1.754 +enable_renaming
   1.755 +enable_tracing
   1.756 +enable_dyload
   1.757 +enable_rpath
   1.758 +enable_weak_threads
   1.759 +enable_extras
   1.760 +enable_icuio
   1.761 +enable_layout
   1.762 +enable_tools
   1.763 +with_data_packaging
   1.764 +with_library_suffix
   1.765 +enable_tests
   1.766 +enable_samples
   1.767 +'
   1.768 +      ac_precious_vars='build_alias
   1.769 +host_alias
   1.770 +target_alias
   1.771 +CC
   1.772 +CFLAGS
   1.773 +LDFLAGS
   1.774 +LIBS
   1.775 +CPPFLAGS
   1.776 +CXX
   1.777 +CXXFLAGS
   1.778 +CCC
   1.779 +CPP'
   1.780 +
   1.781 +
   1.782 +# Initialize some variables set by options.
   1.783 +ac_init_help=
   1.784 +ac_init_version=false
   1.785 +ac_unrecognized_opts=
   1.786 +ac_unrecognized_sep=
   1.787 +# The variables have the same names as the options, with
   1.788 +# dashes changed to underlines.
   1.789 +cache_file=/dev/null
   1.790 +exec_prefix=NONE
   1.791 +no_create=
   1.792 +no_recursion=
   1.793 +prefix=NONE
   1.794 +program_prefix=NONE
   1.795 +program_suffix=NONE
   1.796 +program_transform_name=s,x,x,
   1.797 +silent=
   1.798 +site=
   1.799 +srcdir=
   1.800 +verbose=
   1.801 +x_includes=NONE
   1.802 +x_libraries=NONE
   1.803 +
   1.804 +# Installation directory options.
   1.805 +# These are left unexpanded so users can "make install exec_prefix=/foo"
   1.806 +# and all the variables that are supposed to be based on exec_prefix
   1.807 +# by default will actually change.
   1.808 +# Use braces instead of parens because sh, perl, etc. also accept them.
   1.809 +# (The list follows the same order as the GNU Coding Standards.)
   1.810 +bindir='${exec_prefix}/bin'
   1.811 +sbindir='${exec_prefix}/sbin'
   1.812 +libexecdir='${exec_prefix}/libexec'
   1.813 +datarootdir='${prefix}/share'
   1.814 +datadir='${datarootdir}'
   1.815 +sysconfdir='${prefix}/etc'
   1.816 +sharedstatedir='${prefix}/com'
   1.817 +localstatedir='${prefix}/var'
   1.818 +includedir='${prefix}/include'
   1.819 +oldincludedir='/usr/include'
   1.820 +docdir='${datarootdir}/doc/${PACKAGE}'
   1.821 +infodir='${datarootdir}/info'
   1.822 +htmldir='${docdir}'
   1.823 +dvidir='${docdir}'
   1.824 +pdfdir='${docdir}'
   1.825 +psdir='${docdir}'
   1.826 +libdir='${exec_prefix}/lib'
   1.827 +localedir='${datarootdir}/locale'
   1.828 +mandir='${datarootdir}/man'
   1.829 +
   1.830 +ac_prev=
   1.831 +ac_dashdash=
   1.832 +for ac_option
   1.833 +do
   1.834 +  # If the previous option needs an argument, assign it.
   1.835 +  if test -n "$ac_prev"; then
   1.836 +    eval $ac_prev=\$ac_option
   1.837 +    ac_prev=
   1.838 +    continue
   1.839 +  fi
   1.840 +
   1.841 +  case $ac_option in
   1.842 +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1.843 +  *=)   ac_optarg= ;;
   1.844 +  *)    ac_optarg=yes ;;
   1.845 +  esac
   1.846 +
   1.847 +  # Accept the important Cygnus configure options, so we can diagnose typos.
   1.848 +
   1.849 +  case $ac_dashdash$ac_option in
   1.850 +  --)
   1.851 +    ac_dashdash=yes ;;
   1.852 +
   1.853 +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1.854 +    ac_prev=bindir ;;
   1.855 +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1.856 +    bindir=$ac_optarg ;;
   1.857 +
   1.858 +  -build | --build | --buil | --bui | --bu)
   1.859 +    ac_prev=build_alias ;;
   1.860 +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1.861 +    build_alias=$ac_optarg ;;
   1.862 +
   1.863 +  -cache-file | --cache-file | --cache-fil | --cache-fi \
   1.864 +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1.865 +    ac_prev=cache_file ;;
   1.866 +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1.867 +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1.868 +    cache_file=$ac_optarg ;;
   1.869 +
   1.870 +  --config-cache | -C)
   1.871 +    cache_file=config.cache ;;
   1.872 +
   1.873 +  -datadir | --datadir | --datadi | --datad)
   1.874 +    ac_prev=datadir ;;
   1.875 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1.876 +    datadir=$ac_optarg ;;
   1.877 +
   1.878 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1.879 +  | --dataroo | --dataro | --datar)
   1.880 +    ac_prev=datarootdir ;;
   1.881 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1.882 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1.883 +    datarootdir=$ac_optarg ;;
   1.884 +
   1.885 +  -disable-* | --disable-*)
   1.886 +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1.887 +    # Reject names that are not valid shell variable names.
   1.888 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1.889 +      as_fn_error $? "invalid feature name: $ac_useropt"
   1.890 +    ac_useropt_orig=$ac_useropt
   1.891 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.892 +    case $ac_user_opts in
   1.893 +      *"
   1.894 +"enable_$ac_useropt"
   1.895 +"*) ;;
   1.896 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1.897 +	 ac_unrecognized_sep=', ';;
   1.898 +    esac
   1.899 +    eval enable_$ac_useropt=no ;;
   1.900 +
   1.901 +  -docdir | --docdir | --docdi | --doc | --do)
   1.902 +    ac_prev=docdir ;;
   1.903 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1.904 +    docdir=$ac_optarg ;;
   1.905 +
   1.906 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1.907 +    ac_prev=dvidir ;;
   1.908 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1.909 +    dvidir=$ac_optarg ;;
   1.910 +
   1.911 +  -enable-* | --enable-*)
   1.912 +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1.913 +    # Reject names that are not valid shell variable names.
   1.914 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1.915 +      as_fn_error $? "invalid feature name: $ac_useropt"
   1.916 +    ac_useropt_orig=$ac_useropt
   1.917 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1.918 +    case $ac_user_opts in
   1.919 +      *"
   1.920 +"enable_$ac_useropt"
   1.921 +"*) ;;
   1.922 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1.923 +	 ac_unrecognized_sep=', ';;
   1.924 +    esac
   1.925 +    eval enable_$ac_useropt=\$ac_optarg ;;
   1.926 +
   1.927 +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1.928 +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1.929 +  | --exec | --exe | --ex)
   1.930 +    ac_prev=exec_prefix ;;
   1.931 +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1.932 +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1.933 +  | --exec=* | --exe=* | --ex=*)
   1.934 +    exec_prefix=$ac_optarg ;;
   1.935 +
   1.936 +  -gas | --gas | --ga | --g)
   1.937 +    # Obsolete; use --with-gas.
   1.938 +    with_gas=yes ;;
   1.939 +
   1.940 +  -help | --help | --hel | --he | -h)
   1.941 +    ac_init_help=long ;;
   1.942 +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1.943 +    ac_init_help=recursive ;;
   1.944 +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1.945 +    ac_init_help=short ;;
   1.946 +
   1.947 +  -host | --host | --hos | --ho)
   1.948 +    ac_prev=host_alias ;;
   1.949 +  -host=* | --host=* | --hos=* | --ho=*)
   1.950 +    host_alias=$ac_optarg ;;
   1.951 +
   1.952 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1.953 +    ac_prev=htmldir ;;
   1.954 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1.955 +  | --ht=*)
   1.956 +    htmldir=$ac_optarg ;;
   1.957 +
   1.958 +  -includedir | --includedir | --includedi | --included | --include \
   1.959 +  | --includ | --inclu | --incl | --inc)
   1.960 +    ac_prev=includedir ;;
   1.961 +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1.962 +  | --includ=* | --inclu=* | --incl=* | --inc=*)
   1.963 +    includedir=$ac_optarg ;;
   1.964 +
   1.965 +  -infodir | --infodir | --infodi | --infod | --info | --inf)
   1.966 +    ac_prev=infodir ;;
   1.967 +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1.968 +    infodir=$ac_optarg ;;
   1.969 +
   1.970 +  -libdir | --libdir | --libdi | --libd)
   1.971 +    ac_prev=libdir ;;
   1.972 +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1.973 +    libdir=$ac_optarg ;;
   1.974 +
   1.975 +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1.976 +  | --libexe | --libex | --libe)
   1.977 +    ac_prev=libexecdir ;;
   1.978 +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1.979 +  | --libexe=* | --libex=* | --libe=*)
   1.980 +    libexecdir=$ac_optarg ;;
   1.981 +
   1.982 +  -localedir | --localedir | --localedi | --localed | --locale)
   1.983 +    ac_prev=localedir ;;
   1.984 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1.985 +    localedir=$ac_optarg ;;
   1.986 +
   1.987 +  -localstatedir | --localstatedir | --localstatedi | --localstated \
   1.988 +  | --localstate | --localstat | --localsta | --localst | --locals)
   1.989 +    ac_prev=localstatedir ;;
   1.990 +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1.991 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1.992 +    localstatedir=$ac_optarg ;;
   1.993 +
   1.994 +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1.995 +    ac_prev=mandir ;;
   1.996 +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1.997 +    mandir=$ac_optarg ;;
   1.998 +
   1.999 +  -nfp | --nfp | --nf)
  1.1000 +    # Obsolete; use --without-fp.
  1.1001 +    with_fp=no ;;
  1.1002 +
  1.1003 +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1.1004 +  | --no-cr | --no-c | -n)
  1.1005 +    no_create=yes ;;
  1.1006 +
  1.1007 +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1.1008 +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1.1009 +    no_recursion=yes ;;
  1.1010 +
  1.1011 +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1.1012 +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1.1013 +  | --oldin | --oldi | --old | --ol | --o)
  1.1014 +    ac_prev=oldincludedir ;;
  1.1015 +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1.1016 +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1.1017 +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1.1018 +    oldincludedir=$ac_optarg ;;
  1.1019 +
  1.1020 +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1.1021 +    ac_prev=prefix ;;
  1.1022 +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1.1023 +    prefix=$ac_optarg ;;
  1.1024 +
  1.1025 +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1.1026 +  | --program-pre | --program-pr | --program-p)
  1.1027 +    ac_prev=program_prefix ;;
  1.1028 +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1.1029 +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1.1030 +    program_prefix=$ac_optarg ;;
  1.1031 +
  1.1032 +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1.1033 +  | --program-suf | --program-su | --program-s)
  1.1034 +    ac_prev=program_suffix ;;
  1.1035 +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1.1036 +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1.1037 +    program_suffix=$ac_optarg ;;
  1.1038 +
  1.1039 +  -program-transform-name | --program-transform-name \
  1.1040 +  | --program-transform-nam | --program-transform-na \
  1.1041 +  | --program-transform-n | --program-transform- \
  1.1042 +  | --program-transform | --program-transfor \
  1.1043 +  | --program-transfo | --program-transf \
  1.1044 +  | --program-trans | --program-tran \
  1.1045 +  | --progr-tra | --program-tr | --program-t)
  1.1046 +    ac_prev=program_transform_name ;;
  1.1047 +  -program-transform-name=* | --program-transform-name=* \
  1.1048 +  | --program-transform-nam=* | --program-transform-na=* \
  1.1049 +  | --program-transform-n=* | --program-transform-=* \
  1.1050 +  | --program-transform=* | --program-transfor=* \
  1.1051 +  | --program-transfo=* | --program-transf=* \
  1.1052 +  | --program-trans=* | --program-tran=* \
  1.1053 +  | --progr-tra=* | --program-tr=* | --program-t=*)
  1.1054 +    program_transform_name=$ac_optarg ;;
  1.1055 +
  1.1056 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1.1057 +    ac_prev=pdfdir ;;
  1.1058 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1.1059 +    pdfdir=$ac_optarg ;;
  1.1060 +
  1.1061 +  -psdir | --psdir | --psdi | --psd | --ps)
  1.1062 +    ac_prev=psdir ;;
  1.1063 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1.1064 +    psdir=$ac_optarg ;;
  1.1065 +
  1.1066 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.1067 +  | -silent | --silent | --silen | --sile | --sil)
  1.1068 +    silent=yes ;;
  1.1069 +
  1.1070 +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1.1071 +    ac_prev=sbindir ;;
  1.1072 +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1.1073 +  | --sbi=* | --sb=*)
  1.1074 +    sbindir=$ac_optarg ;;
  1.1075 +
  1.1076 +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1.1077 +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1.1078 +  | --sharedst | --shareds | --shared | --share | --shar \
  1.1079 +  | --sha | --sh)
  1.1080 +    ac_prev=sharedstatedir ;;
  1.1081 +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1.1082 +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1.1083 +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1.1084 +  | --sha=* | --sh=*)
  1.1085 +    sharedstatedir=$ac_optarg ;;
  1.1086 +
  1.1087 +  -site | --site | --sit)
  1.1088 +    ac_prev=site ;;
  1.1089 +  -site=* | --site=* | --sit=*)
  1.1090 +    site=$ac_optarg ;;
  1.1091 +
  1.1092 +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1.1093 +    ac_prev=srcdir ;;
  1.1094 +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1.1095 +    srcdir=$ac_optarg ;;
  1.1096 +
  1.1097 +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1.1098 +  | --syscon | --sysco | --sysc | --sys | --sy)
  1.1099 +    ac_prev=sysconfdir ;;
  1.1100 +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1.1101 +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1.1102 +    sysconfdir=$ac_optarg ;;
  1.1103 +
  1.1104 +  -target | --target | --targe | --targ | --tar | --ta | --t)
  1.1105 +    ac_prev=target_alias ;;
  1.1106 +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1.1107 +    target_alias=$ac_optarg ;;
  1.1108 +
  1.1109 +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1.1110 +    verbose=yes ;;
  1.1111 +
  1.1112 +  -version | --version | --versio | --versi | --vers | -V)
  1.1113 +    ac_init_version=: ;;
  1.1114 +
  1.1115 +  -with-* | --with-*)
  1.1116 +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1.1117 +    # Reject names that are not valid shell variable names.
  1.1118 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1119 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1120 +    ac_useropt_orig=$ac_useropt
  1.1121 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1122 +    case $ac_user_opts in
  1.1123 +      *"
  1.1124 +"with_$ac_useropt"
  1.1125 +"*) ;;
  1.1126 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1.1127 +	 ac_unrecognized_sep=', ';;
  1.1128 +    esac
  1.1129 +    eval with_$ac_useropt=\$ac_optarg ;;
  1.1130 +
  1.1131 +  -without-* | --without-*)
  1.1132 +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1.1133 +    # Reject names that are not valid shell variable names.
  1.1134 +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1.1135 +      as_fn_error $? "invalid package name: $ac_useropt"
  1.1136 +    ac_useropt_orig=$ac_useropt
  1.1137 +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1.1138 +    case $ac_user_opts in
  1.1139 +      *"
  1.1140 +"with_$ac_useropt"
  1.1141 +"*) ;;
  1.1142 +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1.1143 +	 ac_unrecognized_sep=', ';;
  1.1144 +    esac
  1.1145 +    eval with_$ac_useropt=no ;;
  1.1146 +
  1.1147 +  --x)
  1.1148 +    # Obsolete; use --with-x.
  1.1149 +    with_x=yes ;;
  1.1150 +
  1.1151 +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1.1152 +  | --x-incl | --x-inc | --x-in | --x-i)
  1.1153 +    ac_prev=x_includes ;;
  1.1154 +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1.1155 +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1.1156 +    x_includes=$ac_optarg ;;
  1.1157 +
  1.1158 +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1.1159 +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1.1160 +    ac_prev=x_libraries ;;
  1.1161 +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1.1162 +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1.1163 +    x_libraries=$ac_optarg ;;
  1.1164 +
  1.1165 +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1.1166 +Try \`$0 --help' for more information"
  1.1167 +    ;;
  1.1168 +
  1.1169 +  *=*)
  1.1170 +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1.1171 +    # Reject names that are not valid shell variable names.
  1.1172 +    case $ac_envvar in #(
  1.1173 +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  1.1174 +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1.1175 +    esac
  1.1176 +    eval $ac_envvar=\$ac_optarg
  1.1177 +    export $ac_envvar ;;
  1.1178 +
  1.1179 +  *)
  1.1180 +    # FIXME: should be removed in autoconf 3.0.
  1.1181 +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1.1182 +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1.1183 +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1.1184 +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1.1185 +    ;;
  1.1186 +
  1.1187 +  esac
  1.1188 +done
  1.1189 +
  1.1190 +if test -n "$ac_prev"; then
  1.1191 +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1.1192 +  as_fn_error $? "missing argument to $ac_option"
  1.1193 +fi
  1.1194 +
  1.1195 +if test -n "$ac_unrecognized_opts"; then
  1.1196 +  case $enable_option_checking in
  1.1197 +    no) ;;
  1.1198 +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1.1199 +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1.1200 +  esac
  1.1201 +fi
  1.1202 +
  1.1203 +# Check all directory arguments for consistency.
  1.1204 +for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1.1205 +		datadir sysconfdir sharedstatedir localstatedir includedir \
  1.1206 +		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1.1207 +		libdir localedir mandir
  1.1208 +do
  1.1209 +  eval ac_val=\$$ac_var
  1.1210 +  # Remove trailing slashes.
  1.1211 +  case $ac_val in
  1.1212 +    */ )
  1.1213 +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1.1214 +      eval $ac_var=\$ac_val;;
  1.1215 +  esac
  1.1216 +  # Be sure to have absolute directory names.
  1.1217 +  case $ac_val in
  1.1218 +    [\\/$]* | ?:[\\/]* )  continue;;
  1.1219 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1.1220 +  esac
  1.1221 +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1.1222 +done
  1.1223 +
  1.1224 +# There might be people who depend on the old broken behavior: `$host'
  1.1225 +# used to hold the argument of --host etc.
  1.1226 +# FIXME: To remove some day.
  1.1227 +build=$build_alias
  1.1228 +host=$host_alias
  1.1229 +target=$target_alias
  1.1230 +
  1.1231 +# FIXME: To remove some day.
  1.1232 +if test "x$host_alias" != x; then
  1.1233 +  if test "x$build_alias" = x; then
  1.1234 +    cross_compiling=maybe
  1.1235 +    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
  1.1236 +    If a cross compiler is detected then cross compile mode will be used" >&2
  1.1237 +  elif test "x$build_alias" != "x$host_alias"; then
  1.1238 +    cross_compiling=yes
  1.1239 +  fi
  1.1240 +fi
  1.1241 +
  1.1242 +ac_tool_prefix=
  1.1243 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1.1244 +
  1.1245 +test "$silent" = yes && exec 6>/dev/null
  1.1246 +
  1.1247 +
  1.1248 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1.1249 +ac_ls_di=`ls -di .` &&
  1.1250 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1.1251 +  as_fn_error $? "working directory cannot be determined"
  1.1252 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1.1253 +  as_fn_error $? "pwd does not report name of working directory"
  1.1254 +
  1.1255 +
  1.1256 +# Find the source files, if location was not specified.
  1.1257 +if test -z "$srcdir"; then
  1.1258 +  ac_srcdir_defaulted=yes
  1.1259 +  # Try the directory containing this script, then the parent directory.
  1.1260 +  ac_confdir=`$as_dirname -- "$as_myself" ||
  1.1261 +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.1262 +	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1.1263 +	 X"$as_myself" : 'X\(//\)$' \| \
  1.1264 +	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1.1265 +$as_echo X"$as_myself" |
  1.1266 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.1267 +	    s//\1/
  1.1268 +	    q
  1.1269 +	  }
  1.1270 +	  /^X\(\/\/\)[^/].*/{
  1.1271 +	    s//\1/
  1.1272 +	    q
  1.1273 +	  }
  1.1274 +	  /^X\(\/\/\)$/{
  1.1275 +	    s//\1/
  1.1276 +	    q
  1.1277 +	  }
  1.1278 +	  /^X\(\/\).*/{
  1.1279 +	    s//\1/
  1.1280 +	    q
  1.1281 +	  }
  1.1282 +	  s/.*/./; q'`
  1.1283 +  srcdir=$ac_confdir
  1.1284 +  if test ! -r "$srcdir/$ac_unique_file"; then
  1.1285 +    srcdir=..
  1.1286 +  fi
  1.1287 +else
  1.1288 +  ac_srcdir_defaulted=no
  1.1289 +fi
  1.1290 +if test ! -r "$srcdir/$ac_unique_file"; then
  1.1291 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1.1292 +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1.1293 +fi
  1.1294 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1.1295 +ac_abs_confdir=`(
  1.1296 +	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1.1297 +	pwd)`
  1.1298 +# When building in place, set srcdir=.
  1.1299 +if test "$ac_abs_confdir" = "$ac_pwd"; then
  1.1300 +  srcdir=.
  1.1301 +fi
  1.1302 +# Remove unnecessary trailing slashes from srcdir.
  1.1303 +# Double slashes in file names in object file debugging info
  1.1304 +# mess up M-x gdb in Emacs.
  1.1305 +case $srcdir in
  1.1306 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1.1307 +esac
  1.1308 +for ac_var in $ac_precious_vars; do
  1.1309 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1.1310 +  eval ac_env_${ac_var}_value=\$${ac_var}
  1.1311 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1.1312 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1.1313 +done
  1.1314 +
  1.1315 +#
  1.1316 +# Report the --help message.
  1.1317 +#
  1.1318 +if test "$ac_init_help" = "long"; then
  1.1319 +  # Omit some internal or obsolete options to make the list less imposing.
  1.1320 +  # This message is too long to be a string in the A/UX 3.1 sh.
  1.1321 +  cat <<_ACEOF
  1.1322 +\`configure' configures this package to adapt to many kinds of systems.
  1.1323 +
  1.1324 +Usage: $0 [OPTION]... [VAR=VALUE]...
  1.1325 +
  1.1326 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1.1327 +VAR=VALUE.  See below for descriptions of some of the useful variables.
  1.1328 +
  1.1329 +Defaults for the options are specified in brackets.
  1.1330 +
  1.1331 +Configuration:
  1.1332 +  -h, --help              display this help and exit
  1.1333 +      --help=short        display options specific to this package
  1.1334 +      --help=recursive    display the short help of all the included packages
  1.1335 +  -V, --version           display version information and exit
  1.1336 +  -q, --quiet, --silent   do not print \`checking ...' messages
  1.1337 +      --cache-file=FILE   cache test results in FILE [disabled]
  1.1338 +  -C, --config-cache      alias for \`--cache-file=config.cache'
  1.1339 +  -n, --no-create         do not create output files
  1.1340 +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1.1341 +
  1.1342 +Installation directories:
  1.1343 +  --prefix=PREFIX         install architecture-independent files in PREFIX
  1.1344 +                          [$ac_default_prefix]
  1.1345 +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1.1346 +                          [PREFIX]
  1.1347 +
  1.1348 +By default, \`make install' will install all the files in
  1.1349 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1.1350 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1.1351 +for instance \`--prefix=\$HOME'.
  1.1352 +
  1.1353 +For better control, use the options below.
  1.1354 +
  1.1355 +Fine tuning of the installation directories:
  1.1356 +  --bindir=DIR            user executables [EPREFIX/bin]
  1.1357 +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1.1358 +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  1.1359 +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1.1360 +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1.1361 +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1.1362 +  --libdir=DIR            object code libraries [EPREFIX/lib]
  1.1363 +  --includedir=DIR        C header files [PREFIX/include]
  1.1364 +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1.1365 +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1.1366 +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1.1367 +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  1.1368 +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1.1369 +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  1.1370 +  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1.1371 +  --htmldir=DIR           html documentation [DOCDIR]
  1.1372 +  --dvidir=DIR            dvi documentation [DOCDIR]
  1.1373 +  --pdfdir=DIR            pdf documentation [DOCDIR]
  1.1374 +  --psdir=DIR             ps documentation [DOCDIR]
  1.1375 +_ACEOF
  1.1376 +
  1.1377 +  cat <<\_ACEOF
  1.1378 +
  1.1379 +System types:
  1.1380 +  --build=BUILD     configure for building on BUILD [guessed]
  1.1381 +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1.1382 +_ACEOF
  1.1383 +fi
  1.1384 +
  1.1385 +if test -n "$ac_init_help"; then
  1.1386 +
  1.1387 +  cat <<\_ACEOF
  1.1388 +
  1.1389 +Optional Features:
  1.1390 +  --disable-option-checking  ignore unrecognized --enable/--with options
  1.1391 +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1.1392 +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1.1393 +  --enable-debug          build debug libraries and enable the U_DEBUG define default=no
  1.1394 +  --enable-release        build release libraries default=yes
  1.1395 +  --enable-strict         compile with strict compiler options default=yes
  1.1396 +  --enable-64bit-libs     (deprecated, use --with-library-bits) build 64-bit libraries default= platform default
  1.1397 +  --enable-shared         build shared libraries default=yes
  1.1398 +  --enable-static         build static libraries default=no
  1.1399 +  --enable-auto-cleanup   enable auto cleanup of libraries default=no
  1.1400 +  --enable-draft          enable draft APIs (and internal APIs) default=yes
  1.1401 +  --enable-renaming       add a version suffix to symbols default=yes
  1.1402 +  --enable-tracing        enable function and data tracing default=no
  1.1403 +  --disable-dyload        disable dynamic loading default=no
  1.1404 +  --enable-rpath          use rpath when linking default is only if necessary
  1.1405 +  --enable-weak-threads   weakly reference the threading library default=no
  1.1406 +  --enable-extras         build ICU extras default=yes
  1.1407 +  --enable-icuio          build ICU's icuio library default=yes
  1.1408 +  --enable-layout         build ICU's layout library default=yes
  1.1409 +  --enable-tools         build ICU's tools default=yes
  1.1410 +  --enable-tests          build ICU tests default=yes
  1.1411 +  --enable-samples        build ICU samples default=yes
  1.1412 +
  1.1413 +Additionally, the variable FORCE_LIBS may be set before calling configure.
  1.1414 +If set, it will REPLACE any automatic list of libraries.
  1.1415 +
  1.1416 +Optional Packages:
  1.1417 +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1.1418 +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1.1419 +  --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir
  1.1420 +  --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange
  1.1421 +  --with-data-packaging=type specify how to package ICU data (files, archive, library, static, auto) default=auto
  1.1422 +  --with-library-suffix=suffix    tag a suffix to the library names default=
  1.1423 +
  1.1424 +Some influential environment variables:
  1.1425 +  CC          C compiler command
  1.1426 +  CFLAGS      C compiler flags
  1.1427 +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1.1428 +              nonstandard directory <lib dir>
  1.1429 +  LIBS        libraries to pass to the linker, e.g. -l<library>
  1.1430 +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1.1431 +              you have headers in a nonstandard directory <include dir>
  1.1432 +  CXX         C++ compiler command
  1.1433 +  CXXFLAGS    C++ compiler flags
  1.1434 +  CPP         C preprocessor
  1.1435 +
  1.1436 +Use these variables to override the choices made by `configure' or to help
  1.1437 +it to find libraries and programs with nonstandard names/locations.
  1.1438 +
  1.1439 +Report bugs to the package provider.
  1.1440 +_ACEOF
  1.1441 +ac_status=$?
  1.1442 +fi
  1.1443 +
  1.1444 +if test "$ac_init_help" = "recursive"; then
  1.1445 +  # If there are subdirs, report their specific --help.
  1.1446 +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1.1447 +    test -d "$ac_dir" ||
  1.1448 +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1.1449 +      continue
  1.1450 +    ac_builddir=.
  1.1451 +
  1.1452 +case "$ac_dir" in
  1.1453 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1454 +*)
  1.1455 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.1456 +  # A ".." for each directory in $ac_dir_suffix.
  1.1457 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.1458 +  case $ac_top_builddir_sub in
  1.1459 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.1460 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.1461 +  esac ;;
  1.1462 +esac
  1.1463 +ac_abs_top_builddir=$ac_pwd
  1.1464 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.1465 +# for backward compatibility:
  1.1466 +ac_top_builddir=$ac_top_build_prefix
  1.1467 +
  1.1468 +case $srcdir in
  1.1469 +  .)  # We are building in place.
  1.1470 +    ac_srcdir=.
  1.1471 +    ac_top_srcdir=$ac_top_builddir_sub
  1.1472 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.1473 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.1474 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.1475 +    ac_top_srcdir=$srcdir
  1.1476 +    ac_abs_top_srcdir=$srcdir ;;
  1.1477 +  *) # Relative name.
  1.1478 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.1479 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.1480 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.1481 +esac
  1.1482 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.1483 +
  1.1484 +    cd "$ac_dir" || { ac_status=$?; continue; }
  1.1485 +    # Check for guested configure.
  1.1486 +    if test -f "$ac_srcdir/configure.gnu"; then
  1.1487 +      echo &&
  1.1488 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1.1489 +    elif test -f "$ac_srcdir/configure"; then
  1.1490 +      echo &&
  1.1491 +      $SHELL "$ac_srcdir/configure" --help=recursive
  1.1492 +    else
  1.1493 +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1.1494 +    fi || ac_status=$?
  1.1495 +    cd "$ac_pwd" || { ac_status=$?; break; }
  1.1496 +  done
  1.1497 +fi
  1.1498 +
  1.1499 +test -n "$ac_init_help" && exit $ac_status
  1.1500 +if $ac_init_version; then
  1.1501 +  cat <<\_ACEOF
  1.1502 +configure
  1.1503 +generated by GNU Autoconf 2.68
  1.1504 +
  1.1505 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.1506 +This configure script is free software; the Free Software Foundation
  1.1507 +gives unlimited permission to copy, distribute and modify it.
  1.1508 +
  1.1509 + Copyright (c) 1999-2013, International Business Machines Corporation and others. All Rights Reserved.
  1.1510 +_ACEOF
  1.1511 +  exit
  1.1512 +fi
  1.1513 +
  1.1514 +## ------------------------ ##
  1.1515 +## Autoconf initialization. ##
  1.1516 +## ------------------------ ##
  1.1517 +
  1.1518 +# ac_fn_c_try_compile LINENO
  1.1519 +# --------------------------
  1.1520 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.1521 +ac_fn_c_try_compile ()
  1.1522 +{
  1.1523 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1524 +  rm -f conftest.$ac_objext
  1.1525 +  if { { ac_try="$ac_compile"
  1.1526 +case "(($ac_try" in
  1.1527 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1528 +  *) ac_try_echo=$ac_try;;
  1.1529 +esac
  1.1530 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1531 +$as_echo "$ac_try_echo"; } >&5
  1.1532 +  (eval "$ac_compile") 2>conftest.err
  1.1533 +  ac_status=$?
  1.1534 +  if test -s conftest.err; then
  1.1535 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1536 +    cat conftest.er1 >&5
  1.1537 +    mv -f conftest.er1 conftest.err
  1.1538 +  fi
  1.1539 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1540 +  test $ac_status = 0; } && {
  1.1541 +	 test -z "$ac_c_werror_flag" ||
  1.1542 +	 test ! -s conftest.err
  1.1543 +       } && test -s conftest.$ac_objext; then :
  1.1544 +  ac_retval=0
  1.1545 +else
  1.1546 +  $as_echo "$as_me: failed program was:" >&5
  1.1547 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1548 +
  1.1549 +	ac_retval=1
  1.1550 +fi
  1.1551 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1552 +  as_fn_set_status $ac_retval
  1.1553 +
  1.1554 +} # ac_fn_c_try_compile
  1.1555 +
  1.1556 +# ac_fn_cxx_try_compile LINENO
  1.1557 +# ----------------------------
  1.1558 +# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1.1559 +ac_fn_cxx_try_compile ()
  1.1560 +{
  1.1561 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1562 +  rm -f conftest.$ac_objext
  1.1563 +  if { { ac_try="$ac_compile"
  1.1564 +case "(($ac_try" in
  1.1565 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1566 +  *) ac_try_echo=$ac_try;;
  1.1567 +esac
  1.1568 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1569 +$as_echo "$ac_try_echo"; } >&5
  1.1570 +  (eval "$ac_compile") 2>conftest.err
  1.1571 +  ac_status=$?
  1.1572 +  if test -s conftest.err; then
  1.1573 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1574 +    cat conftest.er1 >&5
  1.1575 +    mv -f conftest.er1 conftest.err
  1.1576 +  fi
  1.1577 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1578 +  test $ac_status = 0; } && {
  1.1579 +	 test -z "$ac_cxx_werror_flag" ||
  1.1580 +	 test ! -s conftest.err
  1.1581 +       } && test -s conftest.$ac_objext; then :
  1.1582 +  ac_retval=0
  1.1583 +else
  1.1584 +  $as_echo "$as_me: failed program was:" >&5
  1.1585 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1586 +
  1.1587 +	ac_retval=1
  1.1588 +fi
  1.1589 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1590 +  as_fn_set_status $ac_retval
  1.1591 +
  1.1592 +} # ac_fn_cxx_try_compile
  1.1593 +
  1.1594 +# ac_fn_c_try_cpp LINENO
  1.1595 +# ----------------------
  1.1596 +# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1.1597 +ac_fn_c_try_cpp ()
  1.1598 +{
  1.1599 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1600 +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  1.1601 +case "(($ac_try" in
  1.1602 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1603 +  *) ac_try_echo=$ac_try;;
  1.1604 +esac
  1.1605 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1606 +$as_echo "$ac_try_echo"; } >&5
  1.1607 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1.1608 +  ac_status=$?
  1.1609 +  if test -s conftest.err; then
  1.1610 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1611 +    cat conftest.er1 >&5
  1.1612 +    mv -f conftest.er1 conftest.err
  1.1613 +  fi
  1.1614 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1615 +  test $ac_status = 0; } > conftest.i && {
  1.1616 +	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1.1617 +	 test ! -s conftest.err
  1.1618 +       }; then :
  1.1619 +  ac_retval=0
  1.1620 +else
  1.1621 +  $as_echo "$as_me: failed program was:" >&5
  1.1622 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1623 +
  1.1624 +    ac_retval=1
  1.1625 +fi
  1.1626 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1627 +  as_fn_set_status $ac_retval
  1.1628 +
  1.1629 +} # ac_fn_c_try_cpp
  1.1630 +
  1.1631 +# ac_fn_cxx_try_link LINENO
  1.1632 +# -------------------------
  1.1633 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.1634 +ac_fn_cxx_try_link ()
  1.1635 +{
  1.1636 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1637 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.1638 +  if { { ac_try="$ac_link"
  1.1639 +case "(($ac_try" in
  1.1640 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1641 +  *) ac_try_echo=$ac_try;;
  1.1642 +esac
  1.1643 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1644 +$as_echo "$ac_try_echo"; } >&5
  1.1645 +  (eval "$ac_link") 2>conftest.err
  1.1646 +  ac_status=$?
  1.1647 +  if test -s conftest.err; then
  1.1648 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1649 +    cat conftest.er1 >&5
  1.1650 +    mv -f conftest.er1 conftest.err
  1.1651 +  fi
  1.1652 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1653 +  test $ac_status = 0; } && {
  1.1654 +	 test -z "$ac_cxx_werror_flag" ||
  1.1655 +	 test ! -s conftest.err
  1.1656 +       } && test -s conftest$ac_exeext && {
  1.1657 +	 test "$cross_compiling" = yes ||
  1.1658 +	 $as_test_x conftest$ac_exeext
  1.1659 +       }; then :
  1.1660 +  ac_retval=0
  1.1661 +else
  1.1662 +  $as_echo "$as_me: failed program was:" >&5
  1.1663 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1664 +
  1.1665 +	ac_retval=1
  1.1666 +fi
  1.1667 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.1668 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.1669 +  # interfere with the next link command; also delete a directory that is
  1.1670 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.1671 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1672 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1673 +  as_fn_set_status $ac_retval
  1.1674 +
  1.1675 +} # ac_fn_cxx_try_link
  1.1676 +
  1.1677 +# ac_fn_c_try_run LINENO
  1.1678 +# ----------------------
  1.1679 +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1.1680 +# that executables *can* be run.
  1.1681 +ac_fn_c_try_run ()
  1.1682 +{
  1.1683 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1684 +  if { { ac_try="$ac_link"
  1.1685 +case "(($ac_try" in
  1.1686 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1687 +  *) ac_try_echo=$ac_try;;
  1.1688 +esac
  1.1689 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1690 +$as_echo "$ac_try_echo"; } >&5
  1.1691 +  (eval "$ac_link") 2>&5
  1.1692 +  ac_status=$?
  1.1693 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1694 +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1.1695 +  { { case "(($ac_try" in
  1.1696 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1697 +  *) ac_try_echo=$ac_try;;
  1.1698 +esac
  1.1699 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1700 +$as_echo "$ac_try_echo"; } >&5
  1.1701 +  (eval "$ac_try") 2>&5
  1.1702 +  ac_status=$?
  1.1703 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1704 +  test $ac_status = 0; }; }; then :
  1.1705 +  ac_retval=0
  1.1706 +else
  1.1707 +  $as_echo "$as_me: program exited with status $ac_status" >&5
  1.1708 +       $as_echo "$as_me: failed program was:" >&5
  1.1709 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1710 +
  1.1711 +       ac_retval=$ac_status
  1.1712 +fi
  1.1713 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1714 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1715 +  as_fn_set_status $ac_retval
  1.1716 +
  1.1717 +} # ac_fn_c_try_run
  1.1718 +
  1.1719 +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1.1720 +# --------------------------------------------
  1.1721 +# Tries to find the compile-time value of EXPR in a program that includes
  1.1722 +# INCLUDES, setting VAR accordingly. Returns whether the value could be
  1.1723 +# computed
  1.1724 +ac_fn_c_compute_int ()
  1.1725 +{
  1.1726 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1727 +  if test "$cross_compiling" = yes; then
  1.1728 +    # Depending upon the size, compute the lo and hi bounds.
  1.1729 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1730 +/* end confdefs.h.  */
  1.1731 +$4
  1.1732 +int
  1.1733 +main ()
  1.1734 +{
  1.1735 +static int test_array [1 - 2 * !(($2) >= 0)];
  1.1736 +test_array [0] = 0
  1.1737 +
  1.1738 +  ;
  1.1739 +  return 0;
  1.1740 +}
  1.1741 +_ACEOF
  1.1742 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1743 +  ac_lo=0 ac_mid=0
  1.1744 +  while :; do
  1.1745 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1746 +/* end confdefs.h.  */
  1.1747 +$4
  1.1748 +int
  1.1749 +main ()
  1.1750 +{
  1.1751 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.1752 +test_array [0] = 0
  1.1753 +
  1.1754 +  ;
  1.1755 +  return 0;
  1.1756 +}
  1.1757 +_ACEOF
  1.1758 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1759 +  ac_hi=$ac_mid; break
  1.1760 +else
  1.1761 +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1.1762 +			if test $ac_lo -le $ac_mid; then
  1.1763 +			  ac_lo= ac_hi=
  1.1764 +			  break
  1.1765 +			fi
  1.1766 +			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1.1767 +fi
  1.1768 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1769 +  done
  1.1770 +else
  1.1771 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1772 +/* end confdefs.h.  */
  1.1773 +$4
  1.1774 +int
  1.1775 +main ()
  1.1776 +{
  1.1777 +static int test_array [1 - 2 * !(($2) < 0)];
  1.1778 +test_array [0] = 0
  1.1779 +
  1.1780 +  ;
  1.1781 +  return 0;
  1.1782 +}
  1.1783 +_ACEOF
  1.1784 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1785 +  ac_hi=-1 ac_mid=-1
  1.1786 +  while :; do
  1.1787 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1788 +/* end confdefs.h.  */
  1.1789 +$4
  1.1790 +int
  1.1791 +main ()
  1.1792 +{
  1.1793 +static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1.1794 +test_array [0] = 0
  1.1795 +
  1.1796 +  ;
  1.1797 +  return 0;
  1.1798 +}
  1.1799 +_ACEOF
  1.1800 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1801 +  ac_lo=$ac_mid; break
  1.1802 +else
  1.1803 +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1.1804 +			if test $ac_mid -le $ac_hi; then
  1.1805 +			  ac_lo= ac_hi=
  1.1806 +			  break
  1.1807 +			fi
  1.1808 +			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1.1809 +fi
  1.1810 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1811 +  done
  1.1812 +else
  1.1813 +  ac_lo= ac_hi=
  1.1814 +fi
  1.1815 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1816 +fi
  1.1817 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1818 +# Binary search between lo and hi bounds.
  1.1819 +while test "x$ac_lo" != "x$ac_hi"; do
  1.1820 +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1.1821 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1822 +/* end confdefs.h.  */
  1.1823 +$4
  1.1824 +int
  1.1825 +main ()
  1.1826 +{
  1.1827 +static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1.1828 +test_array [0] = 0
  1.1829 +
  1.1830 +  ;
  1.1831 +  return 0;
  1.1832 +}
  1.1833 +_ACEOF
  1.1834 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1835 +  ac_hi=$ac_mid
  1.1836 +else
  1.1837 +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1.1838 +fi
  1.1839 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1840 +done
  1.1841 +case $ac_lo in #((
  1.1842 +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1.1843 +'') ac_retval=1 ;;
  1.1844 +esac
  1.1845 +  else
  1.1846 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1847 +/* end confdefs.h.  */
  1.1848 +$4
  1.1849 +static long int longval () { return $2; }
  1.1850 +static unsigned long int ulongval () { return $2; }
  1.1851 +#include <stdio.h>
  1.1852 +#include <stdlib.h>
  1.1853 +int
  1.1854 +main ()
  1.1855 +{
  1.1856 +
  1.1857 +  FILE *f = fopen ("conftest.val", "w");
  1.1858 +  if (! f)
  1.1859 +    return 1;
  1.1860 +  if (($2) < 0)
  1.1861 +    {
  1.1862 +      long int i = longval ();
  1.1863 +      if (i != ($2))
  1.1864 +	return 1;
  1.1865 +      fprintf (f, "%ld", i);
  1.1866 +    }
  1.1867 +  else
  1.1868 +    {
  1.1869 +      unsigned long int i = ulongval ();
  1.1870 +      if (i != ($2))
  1.1871 +	return 1;
  1.1872 +      fprintf (f, "%lu", i);
  1.1873 +    }
  1.1874 +  /* Do not output a trailing newline, as this causes \r\n confusion
  1.1875 +     on some platforms.  */
  1.1876 +  return ferror (f) || fclose (f) != 0;
  1.1877 +
  1.1878 +  ;
  1.1879 +  return 0;
  1.1880 +}
  1.1881 +_ACEOF
  1.1882 +if ac_fn_c_try_run "$LINENO"; then :
  1.1883 +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1.1884 +else
  1.1885 +  ac_retval=1
  1.1886 +fi
  1.1887 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.1888 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.1889 +rm -f conftest.val
  1.1890 +
  1.1891 +  fi
  1.1892 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1893 +  as_fn_set_status $ac_retval
  1.1894 +
  1.1895 +} # ac_fn_c_compute_int
  1.1896 +
  1.1897 +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1.1898 +# -------------------------------------------------------
  1.1899 +# Tests whether HEADER exists and can be compiled using the include files in
  1.1900 +# INCLUDES, setting the cache variable VAR accordingly.
  1.1901 +ac_fn_c_check_header_compile ()
  1.1902 +{
  1.1903 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1905 +$as_echo_n "checking for $2... " >&6; }
  1.1906 +if eval \${$3+:} false; then :
  1.1907 +  $as_echo_n "(cached) " >&6
  1.1908 +else
  1.1909 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1910 +/* end confdefs.h.  */
  1.1911 +$4
  1.1912 +#include <$2>
  1.1913 +_ACEOF
  1.1914 +if ac_fn_c_try_compile "$LINENO"; then :
  1.1915 +  eval "$3=yes"
  1.1916 +else
  1.1917 +  eval "$3=no"
  1.1918 +fi
  1.1919 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.1920 +fi
  1.1921 +eval ac_res=\$$3
  1.1922 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1923 +$as_echo "$ac_res" >&6; }
  1.1924 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1925 +
  1.1926 +} # ac_fn_c_check_header_compile
  1.1927 +
  1.1928 +# ac_fn_c_try_link LINENO
  1.1929 +# -----------------------
  1.1930 +# Try to link conftest.$ac_ext, and return whether this succeeded.
  1.1931 +ac_fn_c_try_link ()
  1.1932 +{
  1.1933 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1934 +  rm -f conftest.$ac_objext conftest$ac_exeext
  1.1935 +  if { { ac_try="$ac_link"
  1.1936 +case "(($ac_try" in
  1.1937 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.1938 +  *) ac_try_echo=$ac_try;;
  1.1939 +esac
  1.1940 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.1941 +$as_echo "$ac_try_echo"; } >&5
  1.1942 +  (eval "$ac_link") 2>conftest.err
  1.1943 +  ac_status=$?
  1.1944 +  if test -s conftest.err; then
  1.1945 +    grep -v '^ *+' conftest.err >conftest.er1
  1.1946 +    cat conftest.er1 >&5
  1.1947 +    mv -f conftest.er1 conftest.err
  1.1948 +  fi
  1.1949 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.1950 +  test $ac_status = 0; } && {
  1.1951 +	 test -z "$ac_c_werror_flag" ||
  1.1952 +	 test ! -s conftest.err
  1.1953 +       } && test -s conftest$ac_exeext && {
  1.1954 +	 test "$cross_compiling" = yes ||
  1.1955 +	 $as_test_x conftest$ac_exeext
  1.1956 +       }; then :
  1.1957 +  ac_retval=0
  1.1958 +else
  1.1959 +  $as_echo "$as_me: failed program was:" >&5
  1.1960 +sed 's/^/| /' conftest.$ac_ext >&5
  1.1961 +
  1.1962 +	ac_retval=1
  1.1963 +fi
  1.1964 +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1.1965 +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1.1966 +  # interfere with the next link command; also delete a directory that is
  1.1967 +  # left behind by Apple's compiler.  We do this before executing the actions.
  1.1968 +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1.1969 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.1970 +  as_fn_set_status $ac_retval
  1.1971 +
  1.1972 +} # ac_fn_c_try_link
  1.1973 +
  1.1974 +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1.1975 +# -------------------------------------------------------
  1.1976 +# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1.1977 +# the include files in INCLUDES and setting the cache variable VAR
  1.1978 +# accordingly.
  1.1979 +ac_fn_c_check_header_mongrel ()
  1.1980 +{
  1.1981 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.1982 +  if eval \${$3+:} false; then :
  1.1983 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.1984 +$as_echo_n "checking for $2... " >&6; }
  1.1985 +if eval \${$3+:} false; then :
  1.1986 +  $as_echo_n "(cached) " >&6
  1.1987 +fi
  1.1988 +eval ac_res=\$$3
  1.1989 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.1990 +$as_echo "$ac_res" >&6; }
  1.1991 +else
  1.1992 +  # Is the header compilable?
  1.1993 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1.1994 +$as_echo_n "checking $2 usability... " >&6; }
  1.1995 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.1996 +/* end confdefs.h.  */
  1.1997 +$4
  1.1998 +#include <$2>
  1.1999 +_ACEOF
  1.2000 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2001 +  ac_header_compiler=yes
  1.2002 +else
  1.2003 +  ac_header_compiler=no
  1.2004 +fi
  1.2005 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2006 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1.2007 +$as_echo "$ac_header_compiler" >&6; }
  1.2008 +
  1.2009 +# Is the header present?
  1.2010 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1.2011 +$as_echo_n "checking $2 presence... " >&6; }
  1.2012 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2013 +/* end confdefs.h.  */
  1.2014 +#include <$2>
  1.2015 +_ACEOF
  1.2016 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.2017 +  ac_header_preproc=yes
  1.2018 +else
  1.2019 +  ac_header_preproc=no
  1.2020 +fi
  1.2021 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.2022 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1.2023 +$as_echo "$ac_header_preproc" >&6; }
  1.2024 +
  1.2025 +# So?  What about this header?
  1.2026 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1.2027 +  yes:no: )
  1.2028 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1.2029 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1.2030 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.2031 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.2032 +    ;;
  1.2033 +  no:yes:* )
  1.2034 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1.2035 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1.2036 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1.2037 +$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1.2038 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1.2039 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1.2040 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1.2041 +$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1.2042 +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1.2043 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1.2044 +    ;;
  1.2045 +esac
  1.2046 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2047 +$as_echo_n "checking for $2... " >&6; }
  1.2048 +if eval \${$3+:} false; then :
  1.2049 +  $as_echo_n "(cached) " >&6
  1.2050 +else
  1.2051 +  eval "$3=\$ac_header_compiler"
  1.2052 +fi
  1.2053 +eval ac_res=\$$3
  1.2054 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2055 +$as_echo "$ac_res" >&6; }
  1.2056 +fi
  1.2057 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2058 +
  1.2059 +} # ac_fn_c_check_header_mongrel
  1.2060 +
  1.2061 +# ac_fn_c_check_func LINENO FUNC VAR
  1.2062 +# ----------------------------------
  1.2063 +# Tests whether FUNC exists, setting the cache variable VAR accordingly
  1.2064 +ac_fn_c_check_func ()
  1.2065 +{
  1.2066 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2067 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2068 +$as_echo_n "checking for $2... " >&6; }
  1.2069 +if eval \${$3+:} false; then :
  1.2070 +  $as_echo_n "(cached) " >&6
  1.2071 +else
  1.2072 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2073 +/* end confdefs.h.  */
  1.2074 +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1.2075 +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1.2076 +#define $2 innocuous_$2
  1.2077 +
  1.2078 +/* System header to define __stub macros and hopefully few prototypes,
  1.2079 +    which can conflict with char $2 (); below.
  1.2080 +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.2081 +    <limits.h> exists even on freestanding compilers.  */
  1.2082 +
  1.2083 +#ifdef __STDC__
  1.2084 +# include <limits.h>
  1.2085 +#else
  1.2086 +# include <assert.h>
  1.2087 +#endif
  1.2088 +
  1.2089 +#undef $2
  1.2090 +
  1.2091 +/* Override any GCC internal prototype to avoid an error.
  1.2092 +   Use char because int might match the return type of a GCC
  1.2093 +   builtin and then its argument prototype would still apply.  */
  1.2094 +#ifdef __cplusplus
  1.2095 +extern "C"
  1.2096 +#endif
  1.2097 +char $2 ();
  1.2098 +/* The GNU C library defines this for functions which it implements
  1.2099 +    to always fail with ENOSYS.  Some functions are actually named
  1.2100 +    something starting with __ and the normal name is an alias.  */
  1.2101 +#if defined __stub_$2 || defined __stub___$2
  1.2102 +choke me
  1.2103 +#endif
  1.2104 +
  1.2105 +int
  1.2106 +main ()
  1.2107 +{
  1.2108 +return $2 ();
  1.2109 +  ;
  1.2110 +  return 0;
  1.2111 +}
  1.2112 +_ACEOF
  1.2113 +if ac_fn_c_try_link "$LINENO"; then :
  1.2114 +  eval "$3=yes"
  1.2115 +else
  1.2116 +  eval "$3=no"
  1.2117 +fi
  1.2118 +rm -f core conftest.err conftest.$ac_objext \
  1.2119 +    conftest$ac_exeext conftest.$ac_ext
  1.2120 +fi
  1.2121 +eval ac_res=\$$3
  1.2122 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2123 +$as_echo "$ac_res" >&6; }
  1.2124 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2125 +
  1.2126 +} # ac_fn_c_check_func
  1.2127 +
  1.2128 +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1.2129 +# -------------------------------------------
  1.2130 +# Tests whether TYPE exists after having included INCLUDES, setting cache
  1.2131 +# variable VAR accordingly.
  1.2132 +ac_fn_c_check_type ()
  1.2133 +{
  1.2134 +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.2135 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1.2136 +$as_echo_n "checking for $2... " >&6; }
  1.2137 +if eval \${$3+:} false; then :
  1.2138 +  $as_echo_n "(cached) " >&6
  1.2139 +else
  1.2140 +  eval "$3=no"
  1.2141 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2142 +/* end confdefs.h.  */
  1.2143 +$4
  1.2144 +int
  1.2145 +main ()
  1.2146 +{
  1.2147 +if (sizeof ($2))
  1.2148 +	 return 0;
  1.2149 +  ;
  1.2150 +  return 0;
  1.2151 +}
  1.2152 +_ACEOF
  1.2153 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2154 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2155 +/* end confdefs.h.  */
  1.2156 +$4
  1.2157 +int
  1.2158 +main ()
  1.2159 +{
  1.2160 +if (sizeof (($2)))
  1.2161 +	    return 0;
  1.2162 +  ;
  1.2163 +  return 0;
  1.2164 +}
  1.2165 +_ACEOF
  1.2166 +if ac_fn_c_try_compile "$LINENO"; then :
  1.2167 +
  1.2168 +else
  1.2169 +  eval "$3=yes"
  1.2170 +fi
  1.2171 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2172 +fi
  1.2173 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.2174 +fi
  1.2175 +eval ac_res=\$$3
  1.2176 +	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1.2177 +$as_echo "$ac_res" >&6; }
  1.2178 +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1.2179 +
  1.2180 +} # ac_fn_c_check_type
  1.2181 +cat >config.log <<_ACEOF
  1.2182 +This file contains any messages produced by compilers while
  1.2183 +running configure, to aid debugging if configure makes a mistake.
  1.2184 +
  1.2185 +It was created by $as_me, which was
  1.2186 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.2187 +
  1.2188 +  $ $0 $@
  1.2189 +
  1.2190 +_ACEOF
  1.2191 +exec 5>>config.log
  1.2192 +{
  1.2193 +cat <<_ASUNAME
  1.2194 +## --------- ##
  1.2195 +## Platform. ##
  1.2196 +## --------- ##
  1.2197 +
  1.2198 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.2199 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1.2200 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1.2201 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1.2202 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1.2203 +
  1.2204 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1.2205 +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1.2206 +
  1.2207 +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1.2208 +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1.2209 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1.2210 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1.2211 +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1.2212 +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1.2213 +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1.2214 +
  1.2215 +_ASUNAME
  1.2216 +
  1.2217 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2218 +for as_dir in $PATH
  1.2219 +do
  1.2220 +  IFS=$as_save_IFS
  1.2221 +  test -z "$as_dir" && as_dir=.
  1.2222 +    $as_echo "PATH: $as_dir"
  1.2223 +  done
  1.2224 +IFS=$as_save_IFS
  1.2225 +
  1.2226 +} >&5
  1.2227 +
  1.2228 +cat >&5 <<_ACEOF
  1.2229 +
  1.2230 +
  1.2231 +## ----------- ##
  1.2232 +## Core tests. ##
  1.2233 +## ----------- ##
  1.2234 +
  1.2235 +_ACEOF
  1.2236 +
  1.2237 +
  1.2238 +# Keep a trace of the command line.
  1.2239 +# Strip out --no-create and --no-recursion so they do not pile up.
  1.2240 +# Strip out --silent because we don't want to record it for future runs.
  1.2241 +# Also quote any args containing shell meta-characters.
  1.2242 +# Make two passes to allow for proper duplicate-argument suppression.
  1.2243 +ac_configure_args=
  1.2244 +ac_configure_args0=
  1.2245 +ac_configure_args1=
  1.2246 +ac_must_keep_next=false
  1.2247 +for ac_pass in 1 2
  1.2248 +do
  1.2249 +  for ac_arg
  1.2250 +  do
  1.2251 +    case $ac_arg in
  1.2252 +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1.2253 +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.2254 +    | -silent | --silent | --silen | --sile | --sil)
  1.2255 +      continue ;;
  1.2256 +    *\'*)
  1.2257 +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2258 +    esac
  1.2259 +    case $ac_pass in
  1.2260 +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  1.2261 +    2)
  1.2262 +      as_fn_append ac_configure_args1 " '$ac_arg'"
  1.2263 +      if test $ac_must_keep_next = true; then
  1.2264 +	ac_must_keep_next=false # Got value, back to normal.
  1.2265 +      else
  1.2266 +	case $ac_arg in
  1.2267 +	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1.2268 +	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1.2269 +	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1.2270 +	  | -with-* | --with-* | -without-* | --without-* | --x)
  1.2271 +	    case "$ac_configure_args0 " in
  1.2272 +	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1.2273 +	    esac
  1.2274 +	    ;;
  1.2275 +	  -* ) ac_must_keep_next=true ;;
  1.2276 +	esac
  1.2277 +      fi
  1.2278 +      as_fn_append ac_configure_args " '$ac_arg'"
  1.2279 +      ;;
  1.2280 +    esac
  1.2281 +  done
  1.2282 +done
  1.2283 +{ ac_configure_args0=; unset ac_configure_args0;}
  1.2284 +{ ac_configure_args1=; unset ac_configure_args1;}
  1.2285 +
  1.2286 +# When interrupted or exit'd, cleanup temporary files, and complete
  1.2287 +# config.log.  We remove comments because anyway the quotes in there
  1.2288 +# would cause problems or look ugly.
  1.2289 +# WARNING: Use '\'' to represent an apostrophe within the trap.
  1.2290 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1.2291 +trap 'exit_status=$?
  1.2292 +  # Save into config.log some information that might help in debugging.
  1.2293 +  {
  1.2294 +    echo
  1.2295 +
  1.2296 +    $as_echo "## ---------------- ##
  1.2297 +## Cache variables. ##
  1.2298 +## ---------------- ##"
  1.2299 +    echo
  1.2300 +    # The following way of writing the cache mishandles newlines in values,
  1.2301 +(
  1.2302 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1.2303 +    eval ac_val=\$$ac_var
  1.2304 +    case $ac_val in #(
  1.2305 +    *${as_nl}*)
  1.2306 +      case $ac_var in #(
  1.2307 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.2308 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.2309 +      esac
  1.2310 +      case $ac_var in #(
  1.2311 +      _ | IFS | as_nl) ;; #(
  1.2312 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.2313 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.2314 +      esac ;;
  1.2315 +    esac
  1.2316 +  done
  1.2317 +  (set) 2>&1 |
  1.2318 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1.2319 +    *${as_nl}ac_space=\ *)
  1.2320 +      sed -n \
  1.2321 +	"s/'\''/'\''\\\\'\'''\''/g;
  1.2322 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1.2323 +      ;; #(
  1.2324 +    *)
  1.2325 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.2326 +      ;;
  1.2327 +    esac |
  1.2328 +    sort
  1.2329 +)
  1.2330 +    echo
  1.2331 +
  1.2332 +    $as_echo "## ----------------- ##
  1.2333 +## Output variables. ##
  1.2334 +## ----------------- ##"
  1.2335 +    echo
  1.2336 +    for ac_var in $ac_subst_vars
  1.2337 +    do
  1.2338 +      eval ac_val=\$$ac_var
  1.2339 +      case $ac_val in
  1.2340 +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2341 +      esac
  1.2342 +      $as_echo "$ac_var='\''$ac_val'\''"
  1.2343 +    done | sort
  1.2344 +    echo
  1.2345 +
  1.2346 +    if test -n "$ac_subst_files"; then
  1.2347 +      $as_echo "## ------------------- ##
  1.2348 +## File substitutions. ##
  1.2349 +## ------------------- ##"
  1.2350 +      echo
  1.2351 +      for ac_var in $ac_subst_files
  1.2352 +      do
  1.2353 +	eval ac_val=\$$ac_var
  1.2354 +	case $ac_val in
  1.2355 +	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1.2356 +	esac
  1.2357 +	$as_echo "$ac_var='\''$ac_val'\''"
  1.2358 +      done | sort
  1.2359 +      echo
  1.2360 +    fi
  1.2361 +
  1.2362 +    if test -s confdefs.h; then
  1.2363 +      $as_echo "## ----------- ##
  1.2364 +## confdefs.h. ##
  1.2365 +## ----------- ##"
  1.2366 +      echo
  1.2367 +      cat confdefs.h
  1.2368 +      echo
  1.2369 +    fi
  1.2370 +    test "$ac_signal" != 0 &&
  1.2371 +      $as_echo "$as_me: caught signal $ac_signal"
  1.2372 +    $as_echo "$as_me: exit $exit_status"
  1.2373 +  } >&5
  1.2374 +  rm -f core *.core core.conftest.* &&
  1.2375 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1.2376 +    exit $exit_status
  1.2377 +' 0
  1.2378 +for ac_signal in 1 2 13 15; do
  1.2379 +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  1.2380 +done
  1.2381 +ac_signal=0
  1.2382 +
  1.2383 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  1.2384 +rm -f -r conftest* confdefs.h
  1.2385 +
  1.2386 +$as_echo "/* confdefs.h */" > confdefs.h
  1.2387 +
  1.2388 +# Predefined preprocessor variables.
  1.2389 +
  1.2390 +cat >>confdefs.h <<_ACEOF
  1.2391 +#define PACKAGE_NAME "$PACKAGE_NAME"
  1.2392 +_ACEOF
  1.2393 +
  1.2394 +cat >>confdefs.h <<_ACEOF
  1.2395 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1.2396 +_ACEOF
  1.2397 +
  1.2398 +cat >>confdefs.h <<_ACEOF
  1.2399 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
  1.2400 +_ACEOF
  1.2401 +
  1.2402 +cat >>confdefs.h <<_ACEOF
  1.2403 +#define PACKAGE_STRING "$PACKAGE_STRING"
  1.2404 +_ACEOF
  1.2405 +
  1.2406 +cat >>confdefs.h <<_ACEOF
  1.2407 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1.2408 +_ACEOF
  1.2409 +
  1.2410 +cat >>confdefs.h <<_ACEOF
  1.2411 +#define PACKAGE_URL "$PACKAGE_URL"
  1.2412 +_ACEOF
  1.2413 +
  1.2414 +
  1.2415 +# Let the site file select an alternate cache file if it wants to.
  1.2416 +# Prefer an explicitly selected file to automatically selected ones.
  1.2417 +ac_site_file1=NONE
  1.2418 +ac_site_file2=NONE
  1.2419 +if test -n "$CONFIG_SITE"; then
  1.2420 +  # We do not want a PATH search for config.site.
  1.2421 +  case $CONFIG_SITE in #((
  1.2422 +    -*)  ac_site_file1=./$CONFIG_SITE;;
  1.2423 +    */*) ac_site_file1=$CONFIG_SITE;;
  1.2424 +    *)   ac_site_file1=./$CONFIG_SITE;;
  1.2425 +  esac
  1.2426 +elif test "x$prefix" != xNONE; then
  1.2427 +  ac_site_file1=$prefix/share/config.site
  1.2428 +  ac_site_file2=$prefix/etc/config.site
  1.2429 +else
  1.2430 +  ac_site_file1=$ac_default_prefix/share/config.site
  1.2431 +  ac_site_file2=$ac_default_prefix/etc/config.site
  1.2432 +fi
  1.2433 +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1.2434 +do
  1.2435 +  test "x$ac_site_file" = xNONE && continue
  1.2436 +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  1.2437 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  1.2438 +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1.2439 +    sed 's/^/| /' "$ac_site_file" >&5
  1.2440 +    . "$ac_site_file" \
  1.2441 +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2442 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2443 +as_fn_error $? "failed to load site script $ac_site_file
  1.2444 +See \`config.log' for more details" "$LINENO" 5; }
  1.2445 +  fi
  1.2446 +done
  1.2447 +
  1.2448 +if test -r "$cache_file"; then
  1.2449 +  # Some versions of bash will fail to source /dev/null (special files
  1.2450 +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  1.2451 +  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  1.2452 +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  1.2453 +$as_echo "$as_me: loading cache $cache_file" >&6;}
  1.2454 +    case $cache_file in
  1.2455 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1.2456 +      *)                      . "./$cache_file";;
  1.2457 +    esac
  1.2458 +  fi
  1.2459 +else
  1.2460 +  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  1.2461 +$as_echo "$as_me: creating cache $cache_file" >&6;}
  1.2462 +  >$cache_file
  1.2463 +fi
  1.2464 +
  1.2465 +# Check that the precious variables saved in the cache have kept the same
  1.2466 +# value.
  1.2467 +ac_cache_corrupted=false
  1.2468 +for ac_var in $ac_precious_vars; do
  1.2469 +  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1.2470 +  eval ac_new_set=\$ac_env_${ac_var}_set
  1.2471 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1.2472 +  eval ac_new_val=\$ac_env_${ac_var}_value
  1.2473 +  case $ac_old_set,$ac_new_set in
  1.2474 +    set,)
  1.2475 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1.2476 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1.2477 +      ac_cache_corrupted=: ;;
  1.2478 +    ,set)
  1.2479 +      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  1.2480 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1.2481 +      ac_cache_corrupted=: ;;
  1.2482 +    ,);;
  1.2483 +    *)
  1.2484 +      if test "x$ac_old_val" != "x$ac_new_val"; then
  1.2485 +	# differences in whitespace do not lead to failure.
  1.2486 +	ac_old_val_w=`echo x $ac_old_val`
  1.2487 +	ac_new_val_w=`echo x $ac_new_val`
  1.2488 +	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1.2489 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  1.2490 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1.2491 +	  ac_cache_corrupted=:
  1.2492 +	else
  1.2493 +	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1.2494 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1.2495 +	  eval $ac_var=\$ac_old_val
  1.2496 +	fi
  1.2497 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  1.2498 +$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1.2499 +	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  1.2500 +$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1.2501 +      fi;;
  1.2502 +  esac
  1.2503 +  # Pass precious variables to config.status.
  1.2504 +  if test "$ac_new_set" = set; then
  1.2505 +    case $ac_new_val in
  1.2506 +    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.2507 +    *) ac_arg=$ac_var=$ac_new_val ;;
  1.2508 +    esac
  1.2509 +    case " $ac_configure_args " in
  1.2510 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1.2511 +      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  1.2512 +    esac
  1.2513 +  fi
  1.2514 +done
  1.2515 +if $ac_cache_corrupted; then
  1.2516 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2517 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2518 +  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  1.2519 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1.2520 +  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  1.2521 +fi
  1.2522 +## -------------------- ##
  1.2523 +## Main body of script. ##
  1.2524 +## -------------------- ##
  1.2525 +
  1.2526 +ac_ext=c
  1.2527 +ac_cpp='$CPP $CPPFLAGS'
  1.2528 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2529 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2530 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2531 +
  1.2532 +
  1.2533 +
  1.2534 +#TODO: IcuBug:8502
  1.2535 +#AC_INIT([ICU],
  1.2536 +#        m4_esyscmd_s([sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "./common/unicode/uvernum.h]"),
  1.2537 +#        [http://icu-project.org/bugs],
  1.2538 +#        [International Components for Unicode],
  1.2539 +#        [http://icu-project.org])
  1.2540 +
  1.2541 +
  1.2542 +
  1.2543 +PACKAGE="icu"
  1.2544 +
  1.2545 +
  1.2546 +# Use custom echo test for newline option
  1.2547 +# Current autoconf (2.65) gives incorrect echo newline option
  1.2548 +# for icu-config
  1.2549 +# This may be removed later - mow (June 17, 2010)
  1.2550 +ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=
  1.2551 +case `/bin/sh -c "echo -n x"` in
  1.2552 +-n*)
  1.2553 +  case `/bin/sh -c "echo 'x\c'"` in
  1.2554 +  *c*) ICU_ECHO_T=' ';;     # ECHO_T is single tab character.
  1.2555 +  *)   ICU_ECHO_C='\c';;
  1.2556 +  esac;;
  1.2557 +*)
  1.2558 +  ICU_ECHO_N='-n';;
  1.2559 +esac
  1.2560 +
  1.2561 +
  1.2562 +
  1.2563 +
  1.2564 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5
  1.2565 +$as_echo_n "checking for ICU version numbers... " >&6; }
  1.2566 +
  1.2567 +# Get the ICU version from uversion.h or other headers
  1.2568 +geticuversion() {
  1.2569 +    sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
  1.2570 +}
  1.2571 +getuversion() {
  1.2572 +    sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_UNICODE_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
  1.2573 +}
  1.2574 +VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`
  1.2575 +if test x"$VERSION" = x; then
  1.2576 +   as_fn_error $? "Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5
  1.2577 +fi
  1.2578 +
  1.2579 +#TODO: IcuBug:8502
  1.2580 +#if test "$VERSION" != "$PACKAGE_VERSION"; then
  1.2581 +#   AC_MSG_ERROR([configure was generated for $PACKAGE_VERSION but uvernum.h has $VERSION - please rerun autoconf])
  1.2582 +#fi
  1.2583 +
  1.2584 +UNICODE_VERSION=`getuversion $srcdir/common/unicode/uchar.h`
  1.2585 +if test x"$UNICODE_VERSION" = x; then
  1.2586 +    as_fn_error $? "Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5
  1.2587 +fi
  1.2588 +# Compute a reasonable library version from the release version. This is
  1.2589 +# very bad, but that's wanted... We want to make sure that the LIB_VERSION
  1.2590 +# has at least a dot in it, so we'll add a .0 if needed.
  1.2591 +#[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]
  1.2592 +LIB_VERSION=$VERSION
  1.2593 +LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
  1.2594 +
  1.2595 +
  1.2596 +
  1.2597 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5
  1.2598 +$as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; }
  1.2599 +
  1.2600 +
  1.2601 +
  1.2602 +# Determine the host system
  1.2603 +ac_aux_dir=
  1.2604 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1.2605 +  if test -f "$ac_dir/install-sh"; then
  1.2606 +    ac_aux_dir=$ac_dir
  1.2607 +    ac_install_sh="$ac_aux_dir/install-sh -c"
  1.2608 +    break
  1.2609 +  elif test -f "$ac_dir/install.sh"; then
  1.2610 +    ac_aux_dir=$ac_dir
  1.2611 +    ac_install_sh="$ac_aux_dir/install.sh -c"
  1.2612 +    break
  1.2613 +  elif test -f "$ac_dir/shtool"; then
  1.2614 +    ac_aux_dir=$ac_dir
  1.2615 +    ac_install_sh="$ac_aux_dir/shtool install -c"
  1.2616 +    break
  1.2617 +  fi
  1.2618 +done
  1.2619 +if test -z "$ac_aux_dir"; then
  1.2620 +  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  1.2621 +fi
  1.2622 +
  1.2623 +# These three variables are undocumented and unsupported,
  1.2624 +# and are intended to be withdrawn in a future Autoconf release.
  1.2625 +# They can cause serious problems if a builder's source tree is in a directory
  1.2626 +# whose full name contains unusual characters.
  1.2627 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1.2628 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1.2629 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1.2630 +
  1.2631 +
  1.2632 +# Make sure we can run config.sub.
  1.2633 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1.2634 +  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  1.2635 +
  1.2636 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  1.2637 +$as_echo_n "checking build system type... " >&6; }
  1.2638 +if ${ac_cv_build+:} false; then :
  1.2639 +  $as_echo_n "(cached) " >&6
  1.2640 +else
  1.2641 +  ac_build_alias=$build_alias
  1.2642 +test "x$ac_build_alias" = x &&
  1.2643 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  1.2644 +test "x$ac_build_alias" = x &&
  1.2645 +  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  1.2646 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  1.2647 +  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  1.2648 +
  1.2649 +fi
  1.2650 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  1.2651 +$as_echo "$ac_cv_build" >&6; }
  1.2652 +case $ac_cv_build in
  1.2653 +*-*-*) ;;
  1.2654 +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  1.2655 +esac
  1.2656 +build=$ac_cv_build
  1.2657 +ac_save_IFS=$IFS; IFS='-'
  1.2658 +set x $ac_cv_build
  1.2659 +shift
  1.2660 +build_cpu=$1
  1.2661 +build_vendor=$2
  1.2662 +shift; shift
  1.2663 +# Remember, the first character of IFS is used to create $*,
  1.2664 +# except with old shells:
  1.2665 +build_os=$*
  1.2666 +IFS=$ac_save_IFS
  1.2667 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  1.2668 +
  1.2669 +
  1.2670 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  1.2671 +$as_echo_n "checking host system type... " >&6; }
  1.2672 +if ${ac_cv_host+:} false; then :
  1.2673 +  $as_echo_n "(cached) " >&6
  1.2674 +else
  1.2675 +  if test "x$host_alias" = x; then
  1.2676 +  ac_cv_host=$ac_cv_build
  1.2677 +else
  1.2678 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  1.2679 +    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  1.2680 +fi
  1.2681 +
  1.2682 +fi
  1.2683 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  1.2684 +$as_echo "$ac_cv_host" >&6; }
  1.2685 +case $ac_cv_host in
  1.2686 +*-*-*) ;;
  1.2687 +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  1.2688 +esac
  1.2689 +host=$ac_cv_host
  1.2690 +ac_save_IFS=$IFS; IFS='-'
  1.2691 +set x $ac_cv_host
  1.2692 +shift
  1.2693 +host_cpu=$1
  1.2694 +host_vendor=$2
  1.2695 +shift; shift
  1.2696 +# Remember, the first character of IFS is used to create $*,
  1.2697 +# except with old shells:
  1.2698 +host_os=$*
  1.2699 +IFS=$ac_save_IFS
  1.2700 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  1.2701 +
  1.2702 +
  1.2703 +
  1.2704 +
  1.2705 +
  1.2706 +# This variable is needed on z/OS because the C++ compiler only recognizes .C
  1.2707 +_CXX_CXXSUFFIX=cpp
  1.2708 +export _CXX_CXXSUFFIX
  1.2709 +
  1.2710 +# Accumulate #defines
  1.2711 +
  1.2712 +# CONFIG_CPPFLAGS: These are defines that are set for ICU Build time only.
  1.2713 +# They are only needed for building ICU itself. Example: platform stuff
  1.2714 +CONFIG_CPPFLAGS=""
  1.2715 +# UCONFIG_CPPFLAGS: These are defines which are set for ICU build time,
  1.2716 +# and also a notice is output that they need to be set
  1.2717 +# for end-users of ICU also. uconfig.h.prepend is generated
  1.2718 +# with, for example, "#define U_DISABLE_RENAMING 1"
  1.2719 +# Example: ICU configuration stuff
  1.2720 +UCONFIG_CPPFLAGS=""
  1.2721 +# UCONFIG_CFLAGS: contains a copy of anything that needs to be set by end users
  1.2722 +# such as -std
  1.2723 +UCONFIG_CFLAGS=""
  1.2724 +
  1.2725 +# Check whether to build debug libraries
  1.2726 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5
  1.2727 +$as_echo_n "checking whether to build debug libraries... " >&6; }
  1.2728 +enabled=no
  1.2729 +ENABLE_DEBUG=0
  1.2730 +# Check whether --enable-debug was given.
  1.2731 +if test "${enable_debug+set}" = set; then :
  1.2732 +  enableval=$enable_debug;  case "${enableval}" in
  1.2733 +         yes|"") enabled=yes; ENABLE_DEBUG=1; CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEBUG=1" ;;
  1.2734 +         *) ;;
  1.2735 +    esac
  1.2736 +fi
  1.2737 +
  1.2738 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.2739 +$as_echo "$enabled" >&6; }
  1.2740 +
  1.2741 +
  1.2742 +# Check whether to build release libraries
  1.2743 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5
  1.2744 +$as_echo_n "checking whether to build release libraries... " >&6; }
  1.2745 +enabled=yes
  1.2746 +ENABLE_RELEASE=1
  1.2747 +# Check whether --enable-release was given.
  1.2748 +if test "${enable_release+set}" = set; then :
  1.2749 +  enableval=$enable_release;  case "${enableval}" in
  1.2750 +         no) enabled=no; ENABLE_RELEASE=0 ;;
  1.2751 +         *) ;;
  1.2752 +    esac
  1.2753 +fi
  1.2754 +
  1.2755 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.2756 +$as_echo "$enabled" >&6; }
  1.2757 +
  1.2758 +
  1.2759 +# Don't use the default C/CXXFLags
  1.2760 +: ${CFLAGS=""}
  1.2761 +: ${CXXFLAGS=""}
  1.2762 +
  1.2763 +# Checks for compilers
  1.2764 +ac_ext=c
  1.2765 +ac_cpp='$CPP $CPPFLAGS'
  1.2766 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.2767 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.2768 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.2769 +if test -n "$ac_tool_prefix"; then
  1.2770 +  for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
  1.2771 +  do
  1.2772 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.2773 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.2774 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2775 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2776 +if ${ac_cv_prog_CC+:} false; then :
  1.2777 +  $as_echo_n "(cached) " >&6
  1.2778 +else
  1.2779 +  if test -n "$CC"; then
  1.2780 +  ac_cv_prog_CC="$CC" # Let the user override the test.
  1.2781 +else
  1.2782 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2783 +for as_dir in $PATH
  1.2784 +do
  1.2785 +  IFS=$as_save_IFS
  1.2786 +  test -z "$as_dir" && as_dir=.
  1.2787 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2788 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2789 +    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  1.2790 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2791 +    break 2
  1.2792 +  fi
  1.2793 +done
  1.2794 +  done
  1.2795 +IFS=$as_save_IFS
  1.2796 +
  1.2797 +fi
  1.2798 +fi
  1.2799 +CC=$ac_cv_prog_CC
  1.2800 +if test -n "$CC"; then
  1.2801 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  1.2802 +$as_echo "$CC" >&6; }
  1.2803 +else
  1.2804 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2805 +$as_echo "no" >&6; }
  1.2806 +fi
  1.2807 +
  1.2808 +
  1.2809 +    test -n "$CC" && break
  1.2810 +  done
  1.2811 +fi
  1.2812 +if test -z "$CC"; then
  1.2813 +  ac_ct_CC=$CC
  1.2814 +  for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
  1.2815 +do
  1.2816 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.2817 +set dummy $ac_prog; ac_word=$2
  1.2818 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.2819 +$as_echo_n "checking for $ac_word... " >&6; }
  1.2820 +if ${ac_cv_prog_ac_ct_CC+:} false; then :
  1.2821 +  $as_echo_n "(cached) " >&6
  1.2822 +else
  1.2823 +  if test -n "$ac_ct_CC"; then
  1.2824 +  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  1.2825 +else
  1.2826 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.2827 +for as_dir in $PATH
  1.2828 +do
  1.2829 +  IFS=$as_save_IFS
  1.2830 +  test -z "$as_dir" && as_dir=.
  1.2831 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.2832 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.2833 +    ac_cv_prog_ac_ct_CC="$ac_prog"
  1.2834 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.2835 +    break 2
  1.2836 +  fi
  1.2837 +done
  1.2838 +  done
  1.2839 +IFS=$as_save_IFS
  1.2840 +
  1.2841 +fi
  1.2842 +fi
  1.2843 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
  1.2844 +if test -n "$ac_ct_CC"; then
  1.2845 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  1.2846 +$as_echo "$ac_ct_CC" >&6; }
  1.2847 +else
  1.2848 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2849 +$as_echo "no" >&6; }
  1.2850 +fi
  1.2851 +
  1.2852 +
  1.2853 +  test -n "$ac_ct_CC" && break
  1.2854 +done
  1.2855 +
  1.2856 +  if test "x$ac_ct_CC" = x; then
  1.2857 +    CC=""
  1.2858 +  else
  1.2859 +    case $cross_compiling:$ac_tool_warned in
  1.2860 +yes:)
  1.2861 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.2862 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.2863 +ac_tool_warned=yes ;;
  1.2864 +esac
  1.2865 +    CC=$ac_ct_CC
  1.2866 +  fi
  1.2867 +fi
  1.2868 +
  1.2869 +
  1.2870 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2871 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2872 +as_fn_error $? "no acceptable C compiler found in \$PATH
  1.2873 +See \`config.log' for more details" "$LINENO" 5; }
  1.2874 +
  1.2875 +# Provide some information about the compiler.
  1.2876 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  1.2877 +set X $ac_compile
  1.2878 +ac_compiler=$2
  1.2879 +for ac_option in --version -v -V -qversion; do
  1.2880 +  { { ac_try="$ac_compiler $ac_option >&5"
  1.2881 +case "(($ac_try" in
  1.2882 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2883 +  *) ac_try_echo=$ac_try;;
  1.2884 +esac
  1.2885 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2886 +$as_echo "$ac_try_echo"; } >&5
  1.2887 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1.2888 +  ac_status=$?
  1.2889 +  if test -s conftest.err; then
  1.2890 +    sed '10a\
  1.2891 +... rest of stderr output deleted ...
  1.2892 +         10q' conftest.err >conftest.er1
  1.2893 +    cat conftest.er1 >&5
  1.2894 +  fi
  1.2895 +  rm -f conftest.er1 conftest.err
  1.2896 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2897 +  test $ac_status = 0; }
  1.2898 +done
  1.2899 +
  1.2900 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.2901 +/* end confdefs.h.  */
  1.2902 +
  1.2903 +int
  1.2904 +main ()
  1.2905 +{
  1.2906 +
  1.2907 +  ;
  1.2908 +  return 0;
  1.2909 +}
  1.2910 +_ACEOF
  1.2911 +ac_clean_files_save=$ac_clean_files
  1.2912 +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  1.2913 +# Try to create an executable without -o first, disregard a.out.
  1.2914 +# It will help us diagnose broken compilers, and finding out an intuition
  1.2915 +# of exeext.
  1.2916 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  1.2917 +$as_echo_n "checking whether the C compiler works... " >&6; }
  1.2918 +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  1.2919 +
  1.2920 +# The possible output files:
  1.2921 +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  1.2922 +
  1.2923 +ac_rmfiles=
  1.2924 +for ac_file in $ac_files
  1.2925 +do
  1.2926 +  case $ac_file in
  1.2927 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.2928 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  1.2929 +  esac
  1.2930 +done
  1.2931 +rm -f $ac_rmfiles
  1.2932 +
  1.2933 +if { { ac_try="$ac_link_default"
  1.2934 +case "(($ac_try" in
  1.2935 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.2936 +  *) ac_try_echo=$ac_try;;
  1.2937 +esac
  1.2938 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.2939 +$as_echo "$ac_try_echo"; } >&5
  1.2940 +  (eval "$ac_link_default") 2>&5
  1.2941 +  ac_status=$?
  1.2942 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.2943 +  test $ac_status = 0; }; then :
  1.2944 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  1.2945 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  1.2946 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
  1.2947 +# so that the user can short-circuit this test for compilers unknown to
  1.2948 +# Autoconf.
  1.2949 +for ac_file in $ac_files ''
  1.2950 +do
  1.2951 +  test -f "$ac_file" || continue
  1.2952 +  case $ac_file in
  1.2953 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  1.2954 +	;;
  1.2955 +    [ab].out )
  1.2956 +	# We found the default executable, but exeext='' is most
  1.2957 +	# certainly right.
  1.2958 +	break;;
  1.2959 +    *.* )
  1.2960 +	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  1.2961 +	then :; else
  1.2962 +	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.2963 +	fi
  1.2964 +	# We set ac_cv_exeext here because the later test for it is not
  1.2965 +	# safe: cross compilers may not add the suffix if given an `-o'
  1.2966 +	# argument, so we may need to know it at that point already.
  1.2967 +	# Even if this section looks crufty: it has the advantage of
  1.2968 +	# actually working.
  1.2969 +	break;;
  1.2970 +    * )
  1.2971 +	break;;
  1.2972 +  esac
  1.2973 +done
  1.2974 +test "$ac_cv_exeext" = no && ac_cv_exeext=
  1.2975 +
  1.2976 +else
  1.2977 +  ac_file=''
  1.2978 +fi
  1.2979 +if test -z "$ac_file"; then :
  1.2980 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.2981 +$as_echo "no" >&6; }
  1.2982 +$as_echo "$as_me: failed program was:" >&5
  1.2983 +sed 's/^/| /' conftest.$ac_ext >&5
  1.2984 +
  1.2985 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.2986 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.2987 +as_fn_error 77 "C compiler cannot create executables
  1.2988 +See \`config.log' for more details" "$LINENO" 5; }
  1.2989 +else
  1.2990 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  1.2991 +$as_echo "yes" >&6; }
  1.2992 +fi
  1.2993 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  1.2994 +$as_echo_n "checking for C compiler default output file name... " >&6; }
  1.2995 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  1.2996 +$as_echo "$ac_file" >&6; }
  1.2997 +ac_exeext=$ac_cv_exeext
  1.2998 +
  1.2999 +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  1.3000 +ac_clean_files=$ac_clean_files_save
  1.3001 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  1.3002 +$as_echo_n "checking for suffix of executables... " >&6; }
  1.3003 +if { { ac_try="$ac_link"
  1.3004 +case "(($ac_try" in
  1.3005 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3006 +  *) ac_try_echo=$ac_try;;
  1.3007 +esac
  1.3008 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3009 +$as_echo "$ac_try_echo"; } >&5
  1.3010 +  (eval "$ac_link") 2>&5
  1.3011 +  ac_status=$?
  1.3012 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3013 +  test $ac_status = 0; }; then :
  1.3014 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
  1.3015 +# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  1.3016 +# work properly (i.e., refer to `conftest.exe'), while it won't with
  1.3017 +# `rm'.
  1.3018 +for ac_file in conftest.exe conftest conftest.*; do
  1.3019 +  test -f "$ac_file" || continue
  1.3020 +  case $ac_file in
  1.3021 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  1.3022 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  1.3023 +	  break;;
  1.3024 +    * ) break;;
  1.3025 +  esac
  1.3026 +done
  1.3027 +else
  1.3028 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3029 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3030 +as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  1.3031 +See \`config.log' for more details" "$LINENO" 5; }
  1.3032 +fi
  1.3033 +rm -f conftest conftest$ac_cv_exeext
  1.3034 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  1.3035 +$as_echo "$ac_cv_exeext" >&6; }
  1.3036 +
  1.3037 +rm -f conftest.$ac_ext
  1.3038 +EXEEXT=$ac_cv_exeext
  1.3039 +ac_exeext=$EXEEXT
  1.3040 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3041 +/* end confdefs.h.  */
  1.3042 +#include <stdio.h>
  1.3043 +int
  1.3044 +main ()
  1.3045 +{
  1.3046 +FILE *f = fopen ("conftest.out", "w");
  1.3047 + return ferror (f) || fclose (f) != 0;
  1.3048 +
  1.3049 +  ;
  1.3050 +  return 0;
  1.3051 +}
  1.3052 +_ACEOF
  1.3053 +ac_clean_files="$ac_clean_files conftest.out"
  1.3054 +# Check that the compiler produces executables we can run.  If not, either
  1.3055 +# the compiler is broken, or we cross compile.
  1.3056 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  1.3057 +$as_echo_n "checking whether we are cross compiling... " >&6; }
  1.3058 +if test "$cross_compiling" != yes; then
  1.3059 +  { { ac_try="$ac_link"
  1.3060 +case "(($ac_try" in
  1.3061 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3062 +  *) ac_try_echo=$ac_try;;
  1.3063 +esac
  1.3064 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3065 +$as_echo "$ac_try_echo"; } >&5
  1.3066 +  (eval "$ac_link") 2>&5
  1.3067 +  ac_status=$?
  1.3068 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3069 +  test $ac_status = 0; }
  1.3070 +  if { ac_try='./conftest$ac_cv_exeext'
  1.3071 +  { { case "(($ac_try" in
  1.3072 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3073 +  *) ac_try_echo=$ac_try;;
  1.3074 +esac
  1.3075 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3076 +$as_echo "$ac_try_echo"; } >&5
  1.3077 +  (eval "$ac_try") 2>&5
  1.3078 +  ac_status=$?
  1.3079 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3080 +  test $ac_status = 0; }; }; then
  1.3081 +    cross_compiling=no
  1.3082 +  else
  1.3083 +    if test "$cross_compiling" = maybe; then
  1.3084 +	cross_compiling=yes
  1.3085 +    else
  1.3086 +	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3087 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3088 +as_fn_error $? "cannot run C compiled programs.
  1.3089 +If you meant to cross compile, use \`--host'.
  1.3090 +See \`config.log' for more details" "$LINENO" 5; }
  1.3091 +    fi
  1.3092 +  fi
  1.3093 +fi
  1.3094 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  1.3095 +$as_echo "$cross_compiling" >&6; }
  1.3096 +
  1.3097 +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  1.3098 +ac_clean_files=$ac_clean_files_save
  1.3099 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  1.3100 +$as_echo_n "checking for suffix of object files... " >&6; }
  1.3101 +if ${ac_cv_objext+:} false; then :
  1.3102 +  $as_echo_n "(cached) " >&6
  1.3103 +else
  1.3104 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3105 +/* end confdefs.h.  */
  1.3106 +
  1.3107 +int
  1.3108 +main ()
  1.3109 +{
  1.3110 +
  1.3111 +  ;
  1.3112 +  return 0;
  1.3113 +}
  1.3114 +_ACEOF
  1.3115 +rm -f conftest.o conftest.obj
  1.3116 +if { { ac_try="$ac_compile"
  1.3117 +case "(($ac_try" in
  1.3118 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3119 +  *) ac_try_echo=$ac_try;;
  1.3120 +esac
  1.3121 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3122 +$as_echo "$ac_try_echo"; } >&5
  1.3123 +  (eval "$ac_compile") 2>&5
  1.3124 +  ac_status=$?
  1.3125 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3126 +  test $ac_status = 0; }; then :
  1.3127 +  for ac_file in conftest.o conftest.obj conftest.*; do
  1.3128 +  test -f "$ac_file" || continue;
  1.3129 +  case $ac_file in
  1.3130 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  1.3131 +    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  1.3132 +       break;;
  1.3133 +  esac
  1.3134 +done
  1.3135 +else
  1.3136 +  $as_echo "$as_me: failed program was:" >&5
  1.3137 +sed 's/^/| /' conftest.$ac_ext >&5
  1.3138 +
  1.3139 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3140 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3141 +as_fn_error $? "cannot compute suffix of object files: cannot compile
  1.3142 +See \`config.log' for more details" "$LINENO" 5; }
  1.3143 +fi
  1.3144 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
  1.3145 +fi
  1.3146 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  1.3147 +$as_echo "$ac_cv_objext" >&6; }
  1.3148 +OBJEXT=$ac_cv_objext
  1.3149 +ac_objext=$OBJEXT
  1.3150 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  1.3151 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  1.3152 +if ${ac_cv_c_compiler_gnu+:} false; then :
  1.3153 +  $as_echo_n "(cached) " >&6
  1.3154 +else
  1.3155 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3156 +/* end confdefs.h.  */
  1.3157 +
  1.3158 +int
  1.3159 +main ()
  1.3160 +{
  1.3161 +#ifndef __GNUC__
  1.3162 +       choke me
  1.3163 +#endif
  1.3164 +
  1.3165 +  ;
  1.3166 +  return 0;
  1.3167 +}
  1.3168 +_ACEOF
  1.3169 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3170 +  ac_compiler_gnu=yes
  1.3171 +else
  1.3172 +  ac_compiler_gnu=no
  1.3173 +fi
  1.3174 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3175 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
  1.3176 +
  1.3177 +fi
  1.3178 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  1.3179 +$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  1.3180 +if test $ac_compiler_gnu = yes; then
  1.3181 +  GCC=yes
  1.3182 +else
  1.3183 +  GCC=
  1.3184 +fi
  1.3185 +ac_test_CFLAGS=${CFLAGS+set}
  1.3186 +ac_save_CFLAGS=$CFLAGS
  1.3187 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  1.3188 +$as_echo_n "checking whether $CC accepts -g... " >&6; }
  1.3189 +if ${ac_cv_prog_cc_g+:} false; then :
  1.3190 +  $as_echo_n "(cached) " >&6
  1.3191 +else
  1.3192 +  ac_save_c_werror_flag=$ac_c_werror_flag
  1.3193 +   ac_c_werror_flag=yes
  1.3194 +   ac_cv_prog_cc_g=no
  1.3195 +   CFLAGS="-g"
  1.3196 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3197 +/* end confdefs.h.  */
  1.3198 +
  1.3199 +int
  1.3200 +main ()
  1.3201 +{
  1.3202 +
  1.3203 +  ;
  1.3204 +  return 0;
  1.3205 +}
  1.3206 +_ACEOF
  1.3207 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3208 +  ac_cv_prog_cc_g=yes
  1.3209 +else
  1.3210 +  CFLAGS=""
  1.3211 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3212 +/* end confdefs.h.  */
  1.3213 +
  1.3214 +int
  1.3215 +main ()
  1.3216 +{
  1.3217 +
  1.3218 +  ;
  1.3219 +  return 0;
  1.3220 +}
  1.3221 +_ACEOF
  1.3222 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3223 +
  1.3224 +else
  1.3225 +  ac_c_werror_flag=$ac_save_c_werror_flag
  1.3226 +	 CFLAGS="-g"
  1.3227 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3228 +/* end confdefs.h.  */
  1.3229 +
  1.3230 +int
  1.3231 +main ()
  1.3232 +{
  1.3233 +
  1.3234 +  ;
  1.3235 +  return 0;
  1.3236 +}
  1.3237 +_ACEOF
  1.3238 +if ac_fn_c_try_compile "$LINENO"; then :
  1.3239 +  ac_cv_prog_cc_g=yes
  1.3240 +fi
  1.3241 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3242 +fi
  1.3243 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3244 +fi
  1.3245 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3246 +   ac_c_werror_flag=$ac_save_c_werror_flag
  1.3247 +fi
  1.3248 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  1.3249 +$as_echo "$ac_cv_prog_cc_g" >&6; }
  1.3250 +if test "$ac_test_CFLAGS" = set; then
  1.3251 +  CFLAGS=$ac_save_CFLAGS
  1.3252 +elif test $ac_cv_prog_cc_g = yes; then
  1.3253 +  if test "$GCC" = yes; then
  1.3254 +    CFLAGS="-g -O2"
  1.3255 +  else
  1.3256 +    CFLAGS="-g"
  1.3257 +  fi
  1.3258 +else
  1.3259 +  if test "$GCC" = yes; then
  1.3260 +    CFLAGS="-O2"
  1.3261 +  else
  1.3262 +    CFLAGS=
  1.3263 +  fi
  1.3264 +fi
  1.3265 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  1.3266 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  1.3267 +if ${ac_cv_prog_cc_c89+:} false; then :
  1.3268 +  $as_echo_n "(cached) " >&6
  1.3269 +else
  1.3270 +  ac_cv_prog_cc_c89=no
  1.3271 +ac_save_CC=$CC
  1.3272 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3273 +/* end confdefs.h.  */
  1.3274 +#include <stdarg.h>
  1.3275 +#include <stdio.h>
  1.3276 +#include <sys/types.h>
  1.3277 +#include <sys/stat.h>
  1.3278 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  1.3279 +struct buf { int x; };
  1.3280 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
  1.3281 +static char *e (p, i)
  1.3282 +     char **p;
  1.3283 +     int i;
  1.3284 +{
  1.3285 +  return p[i];
  1.3286 +}
  1.3287 +static char *f (char * (*g) (char **, int), char **p, ...)
  1.3288 +{
  1.3289 +  char *s;
  1.3290 +  va_list v;
  1.3291 +  va_start (v,p);
  1.3292 +  s = g (p, va_arg (v,int));
  1.3293 +  va_end (v);
  1.3294 +  return s;
  1.3295 +}
  1.3296 +
  1.3297 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  1.3298 +   function prototypes and stuff, but not '\xHH' hex character constants.
  1.3299 +   These don't provoke an error unfortunately, instead are silently treated
  1.3300 +   as 'x'.  The following induces an error, until -std is added to get
  1.3301 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  1.3302 +   array size at least.  It's necessary to write '\x00'==0 to get something
  1.3303 +   that's true only with -std.  */
  1.3304 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  1.3305 +
  1.3306 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  1.3307 +   inside strings and character constants.  */
  1.3308 +#define FOO(x) 'x'
  1.3309 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  1.3310 +
  1.3311 +int test (int i, double x);
  1.3312 +struct s1 {int (*f) (int a);};
  1.3313 +struct s2 {int (*f) (double a);};
  1.3314 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  1.3315 +int argc;
  1.3316 +char **argv;
  1.3317 +int
  1.3318 +main ()
  1.3319 +{
  1.3320 +return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  1.3321 +  ;
  1.3322 +  return 0;
  1.3323 +}
  1.3324 +_ACEOF
  1.3325 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  1.3326 +	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  1.3327 +do
  1.3328 +  CC="$ac_save_CC $ac_arg"
  1.3329 +  if ac_fn_c_try_compile "$LINENO"; then :
  1.3330 +  ac_cv_prog_cc_c89=$ac_arg
  1.3331 +fi
  1.3332 +rm -f core conftest.err conftest.$ac_objext
  1.3333 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
  1.3334 +done
  1.3335 +rm -f conftest.$ac_ext
  1.3336 +CC=$ac_save_CC
  1.3337 +
  1.3338 +fi
  1.3339 +# AC_CACHE_VAL
  1.3340 +case "x$ac_cv_prog_cc_c89" in
  1.3341 +  x)
  1.3342 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  1.3343 +$as_echo "none needed" >&6; } ;;
  1.3344 +  xno)
  1.3345 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  1.3346 +$as_echo "unsupported" >&6; } ;;
  1.3347 +  *)
  1.3348 +    CC="$CC $ac_cv_prog_cc_c89"
  1.3349 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  1.3350 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  1.3351 +esac
  1.3352 +if test "x$ac_cv_prog_cc_c89" != xno; then :
  1.3353 +
  1.3354 +fi
  1.3355 +
  1.3356 +ac_ext=c
  1.3357 +ac_cpp='$CPP $CPPFLAGS'
  1.3358 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3359 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3360 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3361 +
  1.3362 +# Make sure that we try clang++ first, which provides C++11 support.
  1.3363 +# The g++ compiler is less likely to support C++11.
  1.3364 +ac_ext=cpp
  1.3365 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.3366 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3367 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3368 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.3369 +if test -z "$CXX"; then
  1.3370 +  if test -n "$CCC"; then
  1.3371 +    CXX=$CCC
  1.3372 +  else
  1.3373 +    if test -n "$ac_tool_prefix"; then
  1.3374 +  for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
  1.3375 +  do
  1.3376 +    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  1.3377 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  1.3378 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3379 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3380 +if ${ac_cv_prog_CXX+:} false; then :
  1.3381 +  $as_echo_n "(cached) " >&6
  1.3382 +else
  1.3383 +  if test -n "$CXX"; then
  1.3384 +  ac_cv_prog_CXX="$CXX" # Let the user override the test.
  1.3385 +else
  1.3386 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3387 +for as_dir in $PATH
  1.3388 +do
  1.3389 +  IFS=$as_save_IFS
  1.3390 +  test -z "$as_dir" && as_dir=.
  1.3391 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3392 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3393 +    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  1.3394 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3395 +    break 2
  1.3396 +  fi
  1.3397 +done
  1.3398 +  done
  1.3399 +IFS=$as_save_IFS
  1.3400 +
  1.3401 +fi
  1.3402 +fi
  1.3403 +CXX=$ac_cv_prog_CXX
  1.3404 +if test -n "$CXX"; then
  1.3405 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  1.3406 +$as_echo "$CXX" >&6; }
  1.3407 +else
  1.3408 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3409 +$as_echo "no" >&6; }
  1.3410 +fi
  1.3411 +
  1.3412 +
  1.3413 +    test -n "$CXX" && break
  1.3414 +  done
  1.3415 +fi
  1.3416 +if test -z "$CXX"; then
  1.3417 +  ac_ct_CXX=$CXX
  1.3418 +  for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
  1.3419 +do
  1.3420 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3421 +set dummy $ac_prog; ac_word=$2
  1.3422 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3423 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3424 +if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  1.3425 +  $as_echo_n "(cached) " >&6
  1.3426 +else
  1.3427 +  if test -n "$ac_ct_CXX"; then
  1.3428 +  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  1.3429 +else
  1.3430 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3431 +for as_dir in $PATH
  1.3432 +do
  1.3433 +  IFS=$as_save_IFS
  1.3434 +  test -z "$as_dir" && as_dir=.
  1.3435 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3436 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3437 +    ac_cv_prog_ac_ct_CXX="$ac_prog"
  1.3438 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3439 +    break 2
  1.3440 +  fi
  1.3441 +done
  1.3442 +  done
  1.3443 +IFS=$as_save_IFS
  1.3444 +
  1.3445 +fi
  1.3446 +fi
  1.3447 +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  1.3448 +if test -n "$ac_ct_CXX"; then
  1.3449 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  1.3450 +$as_echo "$ac_ct_CXX" >&6; }
  1.3451 +else
  1.3452 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3453 +$as_echo "no" >&6; }
  1.3454 +fi
  1.3455 +
  1.3456 +
  1.3457 +  test -n "$ac_ct_CXX" && break
  1.3458 +done
  1.3459 +
  1.3460 +  if test "x$ac_ct_CXX" = x; then
  1.3461 +    CXX="g++"
  1.3462 +  else
  1.3463 +    case $cross_compiling:$ac_tool_warned in
  1.3464 +yes:)
  1.3465 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.3466 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.3467 +ac_tool_warned=yes ;;
  1.3468 +esac
  1.3469 +    CXX=$ac_ct_CXX
  1.3470 +  fi
  1.3471 +fi
  1.3472 +
  1.3473 +  fi
  1.3474 +fi
  1.3475 +# Provide some information about the compiler.
  1.3476 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  1.3477 +set X $ac_compile
  1.3478 +ac_compiler=$2
  1.3479 +for ac_option in --version -v -V -qversion; do
  1.3480 +  { { ac_try="$ac_compiler $ac_option >&5"
  1.3481 +case "(($ac_try" in
  1.3482 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1.3483 +  *) ac_try_echo=$ac_try;;
  1.3484 +esac
  1.3485 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1.3486 +$as_echo "$ac_try_echo"; } >&5
  1.3487 +  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  1.3488 +  ac_status=$?
  1.3489 +  if test -s conftest.err; then
  1.3490 +    sed '10a\
  1.3491 +... rest of stderr output deleted ...
  1.3492 +         10q' conftest.err >conftest.er1
  1.3493 +    cat conftest.er1 >&5
  1.3494 +  fi
  1.3495 +  rm -f conftest.er1 conftest.err
  1.3496 +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1.3497 +  test $ac_status = 0; }
  1.3498 +done
  1.3499 +
  1.3500 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  1.3501 +$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  1.3502 +if ${ac_cv_cxx_compiler_gnu+:} false; then :
  1.3503 +  $as_echo_n "(cached) " >&6
  1.3504 +else
  1.3505 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3506 +/* end confdefs.h.  */
  1.3507 +
  1.3508 +int
  1.3509 +main ()
  1.3510 +{
  1.3511 +#ifndef __GNUC__
  1.3512 +       choke me
  1.3513 +#endif
  1.3514 +
  1.3515 +  ;
  1.3516 +  return 0;
  1.3517 +}
  1.3518 +_ACEOF
  1.3519 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.3520 +  ac_compiler_gnu=yes
  1.3521 +else
  1.3522 +  ac_compiler_gnu=no
  1.3523 +fi
  1.3524 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3525 +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  1.3526 +
  1.3527 +fi
  1.3528 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  1.3529 +$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  1.3530 +if test $ac_compiler_gnu = yes; then
  1.3531 +  GXX=yes
  1.3532 +else
  1.3533 +  GXX=
  1.3534 +fi
  1.3535 +ac_test_CXXFLAGS=${CXXFLAGS+set}
  1.3536 +ac_save_CXXFLAGS=$CXXFLAGS
  1.3537 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  1.3538 +$as_echo_n "checking whether $CXX accepts -g... " >&6; }
  1.3539 +if ${ac_cv_prog_cxx_g+:} false; then :
  1.3540 +  $as_echo_n "(cached) " >&6
  1.3541 +else
  1.3542 +  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  1.3543 +   ac_cxx_werror_flag=yes
  1.3544 +   ac_cv_prog_cxx_g=no
  1.3545 +   CXXFLAGS="-g"
  1.3546 +   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3547 +/* end confdefs.h.  */
  1.3548 +
  1.3549 +int
  1.3550 +main ()
  1.3551 +{
  1.3552 +
  1.3553 +  ;
  1.3554 +  return 0;
  1.3555 +}
  1.3556 +_ACEOF
  1.3557 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.3558 +  ac_cv_prog_cxx_g=yes
  1.3559 +else
  1.3560 +  CXXFLAGS=""
  1.3561 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3562 +/* end confdefs.h.  */
  1.3563 +
  1.3564 +int
  1.3565 +main ()
  1.3566 +{
  1.3567 +
  1.3568 +  ;
  1.3569 +  return 0;
  1.3570 +}
  1.3571 +_ACEOF
  1.3572 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.3573 +
  1.3574 +else
  1.3575 +  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  1.3576 +	 CXXFLAGS="-g"
  1.3577 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3578 +/* end confdefs.h.  */
  1.3579 +
  1.3580 +int
  1.3581 +main ()
  1.3582 +{
  1.3583 +
  1.3584 +  ;
  1.3585 +  return 0;
  1.3586 +}
  1.3587 +_ACEOF
  1.3588 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.3589 +  ac_cv_prog_cxx_g=yes
  1.3590 +fi
  1.3591 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3592 +fi
  1.3593 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3594 +fi
  1.3595 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.3596 +   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  1.3597 +fi
  1.3598 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  1.3599 +$as_echo "$ac_cv_prog_cxx_g" >&6; }
  1.3600 +if test "$ac_test_CXXFLAGS" = set; then
  1.3601 +  CXXFLAGS=$ac_save_CXXFLAGS
  1.3602 +elif test $ac_cv_prog_cxx_g = yes; then
  1.3603 +  if test "$GXX" = yes; then
  1.3604 +    CXXFLAGS="-g -O2"
  1.3605 +  else
  1.3606 +    CXXFLAGS="-g"
  1.3607 +  fi
  1.3608 +else
  1.3609 +  if test "$GXX" = yes; then
  1.3610 +    CXXFLAGS="-O2"
  1.3611 +  else
  1.3612 +    CXXFLAGS=
  1.3613 +  fi
  1.3614 +fi
  1.3615 +ac_ext=c
  1.3616 +ac_cpp='$CPP $CPPFLAGS'
  1.3617 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3618 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3619 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3620 +
  1.3621 +
  1.3622 +# Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option
  1.3623 +# The release mode use is the default one for autoconf
  1.3624 +if test "$GCC" = yes; then
  1.3625 +    if test "$CFLAGS" = ""; then
  1.3626 +        if test "$ENABLE_DEBUG" = 1; then
  1.3627 +            CFLAGS=-g
  1.3628 +        fi
  1.3629 +        if test "$ENABLE_RELEASE" = 1; then
  1.3630 +            CFLAGS="$CFLAGS -O2"
  1.3631 +        fi
  1.3632 +    fi
  1.3633 +    if test "$CXXFLAGS" = ""; then
  1.3634 +        if test "$ENABLE_DEBUG" = 1; then
  1.3635 +            CXXFLAGS=-g
  1.3636 +        fi
  1.3637 +        if test "$ENABLE_RELEASE" = 1; then
  1.3638 +            CXXFLAGS="$CXXFLAGS -O2"
  1.3639 +        fi
  1.3640 +    fi
  1.3641 +fi
  1.3642 +
  1.3643 +ac_ext=c
  1.3644 +ac_cpp='$CPP $CPPFLAGS'
  1.3645 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3646 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3647 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3648 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  1.3649 +$as_echo_n "checking how to run the C preprocessor... " >&6; }
  1.3650 +# On Suns, sometimes $CPP names a directory.
  1.3651 +if test -n "$CPP" && test -d "$CPP"; then
  1.3652 +  CPP=
  1.3653 +fi
  1.3654 +if test -z "$CPP"; then
  1.3655 +  if ${ac_cv_prog_CPP+:} false; then :
  1.3656 +  $as_echo_n "(cached) " >&6
  1.3657 +else
  1.3658 +      # Double quotes because CPP needs to be expanded
  1.3659 +    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1.3660 +    do
  1.3661 +      ac_preproc_ok=false
  1.3662 +for ac_c_preproc_warn_flag in '' yes
  1.3663 +do
  1.3664 +  # Use a header file that comes with gcc, so configuring glibc
  1.3665 +  # with a fresh cross-compiler works.
  1.3666 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.3667 +  # <limits.h> exists even on freestanding compilers.
  1.3668 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3669 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.3670 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3671 +/* end confdefs.h.  */
  1.3672 +#ifdef __STDC__
  1.3673 +# include <limits.h>
  1.3674 +#else
  1.3675 +# include <assert.h>
  1.3676 +#endif
  1.3677 +		     Syntax error
  1.3678 +_ACEOF
  1.3679 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3680 +
  1.3681 +else
  1.3682 +  # Broken: fails on valid input.
  1.3683 +continue
  1.3684 +fi
  1.3685 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3686 +
  1.3687 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.3688 +  # can be detected and how.
  1.3689 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3690 +/* end confdefs.h.  */
  1.3691 +#include <ac_nonexistent.h>
  1.3692 +_ACEOF
  1.3693 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3694 +  # Broken: success on invalid input.
  1.3695 +continue
  1.3696 +else
  1.3697 +  # Passes both tests.
  1.3698 +ac_preproc_ok=:
  1.3699 +break
  1.3700 +fi
  1.3701 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3702 +
  1.3703 +done
  1.3704 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3705 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.3706 +if $ac_preproc_ok; then :
  1.3707 +  break
  1.3708 +fi
  1.3709 +
  1.3710 +    done
  1.3711 +    ac_cv_prog_CPP=$CPP
  1.3712 +
  1.3713 +fi
  1.3714 +  CPP=$ac_cv_prog_CPP
  1.3715 +else
  1.3716 +  ac_cv_prog_CPP=$CPP
  1.3717 +fi
  1.3718 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  1.3719 +$as_echo "$CPP" >&6; }
  1.3720 +ac_preproc_ok=false
  1.3721 +for ac_c_preproc_warn_flag in '' yes
  1.3722 +do
  1.3723 +  # Use a header file that comes with gcc, so configuring glibc
  1.3724 +  # with a fresh cross-compiler works.
  1.3725 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1.3726 +  # <limits.h> exists even on freestanding compilers.
  1.3727 +  # On the NeXT, cc -E runs the code through the compiler's parser,
  1.3728 +  # not just through cpp. "Syntax error" is here to catch this case.
  1.3729 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3730 +/* end confdefs.h.  */
  1.3731 +#ifdef __STDC__
  1.3732 +# include <limits.h>
  1.3733 +#else
  1.3734 +# include <assert.h>
  1.3735 +#endif
  1.3736 +		     Syntax error
  1.3737 +_ACEOF
  1.3738 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3739 +
  1.3740 +else
  1.3741 +  # Broken: fails on valid input.
  1.3742 +continue
  1.3743 +fi
  1.3744 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3745 +
  1.3746 +  # OK, works on sane cases.  Now check whether nonexistent headers
  1.3747 +  # can be detected and how.
  1.3748 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3749 +/* end confdefs.h.  */
  1.3750 +#include <ac_nonexistent.h>
  1.3751 +_ACEOF
  1.3752 +if ac_fn_c_try_cpp "$LINENO"; then :
  1.3753 +  # Broken: success on invalid input.
  1.3754 +continue
  1.3755 +else
  1.3756 +  # Passes both tests.
  1.3757 +ac_preproc_ok=:
  1.3758 +break
  1.3759 +fi
  1.3760 +rm -f conftest.err conftest.i conftest.$ac_ext
  1.3761 +
  1.3762 +done
  1.3763 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  1.3764 +rm -f conftest.i conftest.err conftest.$ac_ext
  1.3765 +if $ac_preproc_ok; then :
  1.3766 +
  1.3767 +else
  1.3768 +  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.3769 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.3770 +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  1.3771 +See \`config.log' for more details" "$LINENO" 5; }
  1.3772 +fi
  1.3773 +
  1.3774 +ac_ext=c
  1.3775 +ac_cpp='$CPP $CPPFLAGS'
  1.3776 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3777 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3778 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3779 +
  1.3780 +
  1.3781 +# Find a good install program.  We prefer a C program (faster),
  1.3782 +# so one script is as good as another.  But avoid the broken or
  1.3783 +# incompatible versions:
  1.3784 +# SysV /etc/install, /usr/sbin/install
  1.3785 +# SunOS /usr/etc/install
  1.3786 +# IRIX /sbin/install
  1.3787 +# AIX /bin/install
  1.3788 +# AmigaOS /C/install, which installs bootblocks on floppy discs
  1.3789 +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1.3790 +# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1.3791 +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1.3792 +# OS/2's system install, which has a completely different semantic
  1.3793 +# ./install, which can be erroneously created by make from ./install.sh.
  1.3794 +# Reject install programs that cannot install multiple files.
  1.3795 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  1.3796 +$as_echo_n "checking for a BSD-compatible install... " >&6; }
  1.3797 +if test -z "$INSTALL"; then
  1.3798 +if ${ac_cv_path_install+:} false; then :
  1.3799 +  $as_echo_n "(cached) " >&6
  1.3800 +else
  1.3801 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3802 +for as_dir in $PATH
  1.3803 +do
  1.3804 +  IFS=$as_save_IFS
  1.3805 +  test -z "$as_dir" && as_dir=.
  1.3806 +    # Account for people who put trailing slashes in PATH elements.
  1.3807 +case $as_dir/ in #((
  1.3808 +  ./ | .// | /[cC]/* | \
  1.3809 +  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1.3810 +  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  1.3811 +  /usr/ucb/* ) ;;
  1.3812 +  *)
  1.3813 +    # OSF1 and SCO ODT 3.0 have their own names for install.
  1.3814 +    # Don't use installbsd from OSF since it installs stuff as root
  1.3815 +    # by default.
  1.3816 +    for ac_prog in ginstall scoinst install; do
  1.3817 +      for ac_exec_ext in '' $ac_executable_extensions; do
  1.3818 +	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1.3819 +	  if test $ac_prog = install &&
  1.3820 +	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.3821 +	    # AIX install.  It has an incompatible calling convention.
  1.3822 +	    :
  1.3823 +	  elif test $ac_prog = install &&
  1.3824 +	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1.3825 +	    # program-specific install script used by HP pwplus--don't use.
  1.3826 +	    :
  1.3827 +	  else
  1.3828 +	    rm -rf conftest.one conftest.two conftest.dir
  1.3829 +	    echo one > conftest.one
  1.3830 +	    echo two > conftest.two
  1.3831 +	    mkdir conftest.dir
  1.3832 +	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  1.3833 +	      test -s conftest.one && test -s conftest.two &&
  1.3834 +	      test -s conftest.dir/conftest.one &&
  1.3835 +	      test -s conftest.dir/conftest.two
  1.3836 +	    then
  1.3837 +	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1.3838 +	      break 3
  1.3839 +	    fi
  1.3840 +	  fi
  1.3841 +	fi
  1.3842 +      done
  1.3843 +    done
  1.3844 +    ;;
  1.3845 +esac
  1.3846 +
  1.3847 +  done
  1.3848 +IFS=$as_save_IFS
  1.3849 +
  1.3850 +rm -rf conftest.one conftest.two conftest.dir
  1.3851 +
  1.3852 +fi
  1.3853 +  if test "${ac_cv_path_install+set}" = set; then
  1.3854 +    INSTALL=$ac_cv_path_install
  1.3855 +  else
  1.3856 +    # As a last resort, use the slow shell script.  Don't cache a
  1.3857 +    # value for INSTALL within a source directory, because that will
  1.3858 +    # break other packages using the cache if that directory is
  1.3859 +    # removed, or if the value is a relative name.
  1.3860 +    INSTALL=$ac_install_sh
  1.3861 +  fi
  1.3862 +fi
  1.3863 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  1.3864 +$as_echo "$INSTALL" >&6; }
  1.3865 +
  1.3866 +# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1.3867 +# It thinks the first close brace ends the variable substitution.
  1.3868 +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1.3869 +
  1.3870 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1.3871 +
  1.3872 +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1.3873 +
  1.3874 +
  1.3875 +
  1.3876 +
  1.3877 +ac_ext=cpp
  1.3878 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.3879 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3880 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3881 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.3882 +
  1.3883 +
  1.3884 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.3885 +/* end confdefs.h.  */
  1.3886 +
  1.3887 +int
  1.3888 +main ()
  1.3889 +{
  1.3890 +
  1.3891 +  ;
  1.3892 +  return 0;
  1.3893 +}
  1.3894 +_ACEOF
  1.3895 +if ac_fn_cxx_try_link "$LINENO"; then :
  1.3896 +
  1.3897 +fi
  1.3898 +rm -f core conftest.err conftest.$ac_objext \
  1.3899 +    conftest$ac_exeext conftest.$ac_ext
  1.3900 +ac_ext=c
  1.3901 +ac_cpp='$CPP $CPPFLAGS'
  1.3902 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.3903 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.3904 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.3905 +
  1.3906 +
  1.3907 +# make sure install is relative to srcdir - if a script
  1.3908 +if test "$srcdir" = "."; then
  1.3909 +  # If srcdir isn't just ., then (srcdir) is already prepended.
  1.3910 +  if test "${ac_install_sh}" = "${INSTALL}"; then
  1.3911 +   INSTALL="\\\$(top_srcdir)/${ac_install_sh}"
  1.3912 +  fi
  1.3913 +fi
  1.3914 +
  1.3915 +#AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
  1.3916 +#AC_CHECK_PROG(STRIP, strip, strip, true)
  1.3917 +
  1.3918 +# Check for the platform make
  1.3919 +for ac_prog in gmake gnumake
  1.3920 +do
  1.3921 +  # Extract the first word of "$ac_prog", so it can be a program name with args.
  1.3922 +set dummy $ac_prog; ac_word=$2
  1.3923 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3924 +$as_echo_n "checking for $ac_word... " >&6; }
  1.3925 +if ${ac_cv_path_U_MAKE+:} false; then :
  1.3926 +  $as_echo_n "(cached) " >&6
  1.3927 +else
  1.3928 +  case $U_MAKE in
  1.3929 +  [\\/]* | ?:[\\/]*)
  1.3930 +  ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.
  1.3931 +  ;;
  1.3932 +  *)
  1.3933 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.3934 +for as_dir in $PATH
  1.3935 +do
  1.3936 +  IFS=$as_save_IFS
  1.3937 +  test -z "$as_dir" && as_dir=.
  1.3938 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.3939 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.3940 +    ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"
  1.3941 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.3942 +    break 2
  1.3943 +  fi
  1.3944 +done
  1.3945 +  done
  1.3946 +IFS=$as_save_IFS
  1.3947 +
  1.3948 +  ;;
  1.3949 +esac
  1.3950 +fi
  1.3951 +U_MAKE=$ac_cv_path_U_MAKE
  1.3952 +if test -n "$U_MAKE"; then
  1.3953 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5
  1.3954 +$as_echo "$U_MAKE" >&6; }
  1.3955 +else
  1.3956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.3957 +$as_echo "no" >&6; }
  1.3958 +fi
  1.3959 +
  1.3960 +
  1.3961 +  test -n "$U_MAKE" && break
  1.3962 +done
  1.3963 +test -n "$U_MAKE" || U_MAKE="make"
  1.3964 +
  1.3965 +
  1.3966 +
  1.3967 +
  1.3968 +
  1.3969 +# Check whether --with-cross-build was given.
  1.3970 +if test "${with_cross_build+set}" = set; then :
  1.3971 +  withval=$with_cross_build; cross_buildroot="${withval}"
  1.3972 +else
  1.3973 +  cross_buildroot=""
  1.3974 +fi
  1.3975 +
  1.3976 +
  1.3977 +if test "X$cross_buildroot" = "X"; then
  1.3978 +    if test "$cross_compiling" = "yes"; then
  1.3979 +        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
  1.3980 +	    fi
  1.3981 +else
  1.3982 +    if test -f "${cross_buildroot}/config/icucross.mk"; then
  1.3983 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5
  1.3984 +$as_echo "Using cross buildroot: $cross_buildroot" >&6; }
  1.3985 +    else
  1.3986 +        if test -d "${cross_buildroot}"; then
  1.3987 +            as_fn_error $? "${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5
  1.3988 +        else
  1.3989 +            as_fn_error $? "No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5
  1.3990 +        fi
  1.3991 +    fi
  1.3992 +fi
  1.3993 +
  1.3994 +
  1.3995 +# Check for doxygen to generate documentation
  1.3996 +# Extract the first word of "doxygen", so it can be a program name with args.
  1.3997 +set dummy doxygen; ac_word=$2
  1.3998 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.3999 +$as_echo_n "checking for $ac_word... " >&6; }
  1.4000 +if ${ac_cv_path_DOXYGEN+:} false; then :
  1.4001 +  $as_echo_n "(cached) " >&6
  1.4002 +else
  1.4003 +  case $DOXYGEN in
  1.4004 +  [\\/]* | ?:[\\/]*)
  1.4005 +  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
  1.4006 +  ;;
  1.4007 +  *)
  1.4008 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4009 +as_dummy="$PATH:/usr/local/bin:/usr/bin"
  1.4010 +for as_dir in $as_dummy
  1.4011 +do
  1.4012 +  IFS=$as_save_IFS
  1.4013 +  test -z "$as_dir" && as_dir=.
  1.4014 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4015 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.4016 +    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
  1.4017 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.4018 +    break 2
  1.4019 +  fi
  1.4020 +done
  1.4021 +  done
  1.4022 +IFS=$as_save_IFS
  1.4023 +
  1.4024 +  ;;
  1.4025 +esac
  1.4026 +fi
  1.4027 +DOXYGEN=$ac_cv_path_DOXYGEN
  1.4028 +if test -n "$DOXYGEN"; then
  1.4029 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
  1.4030 +$as_echo "$DOXYGEN" >&6; }
  1.4031 +else
  1.4032 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.4033 +$as_echo "no" >&6; }
  1.4034 +fi
  1.4035 +
  1.4036 +
  1.4037 +
  1.4038 +# Check that the linker is usable
  1.4039 +
  1.4040 +case "${host}" in
  1.4041 +    *-*-cygwin*|*-*-mingw*)
  1.4042 +        if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
  1.4043 +            as_fn_error $? "link.exe is not a valid linker. Your PATH is incorrect.
  1.4044 +                  Please follow the directions in ICU's readme." "$LINENO" 5
  1.4045 +        fi;;
  1.4046 +    *);;
  1.4047 +esac
  1.4048 +
  1.4049 +# Determine the executable suffix
  1.4050 +# We don't use AC_EXEEXT because some compilers output separate debugging
  1.4051 +# files, which confuses the AC_EXEEXT macro.
  1.4052 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5
  1.4053 +$as_echo_n "checking checking for executable suffix... " >&6; }
  1.4054 +case "${host}" in
  1.4055 +    *-*-cygwin*|*-*-mingw*)  EXEEXT=.exe ;;
  1.4056 +    *)      EXEEXT="" ;;
  1.4057 +esac
  1.4058 +ac_exeext=$EXEEXT
  1.4059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
  1.4060 +$as_echo "$EXEEXT" >&6; }
  1.4061 +
  1.4062 +
  1.4063 +# Determine how strict we want to be when compiling
  1.4064 +
  1.4065 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5
  1.4066 +$as_echo_n "checking whether strict compiling is on... " >&6; }
  1.4067 +    # Check whether --enable-strict was given.
  1.4068 +if test "${enable_strict+set}" = set; then :
  1.4069 +  enableval=$enable_strict;
  1.4070 +        if test "$enableval" = no
  1.4071 +        then
  1.4072 +            ac_use_strict_options=no
  1.4073 +        else
  1.4074 +            ac_use_strict_options=yes
  1.4075 +        fi
  1.4076 +
  1.4077 +else
  1.4078 +  ac_use_strict_options=yes
  1.4079 +fi
  1.4080 +
  1.4081 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5
  1.4082 +$as_echo "$ac_use_strict_options" >&6; }
  1.4083 +
  1.4084 +    if test "$ac_use_strict_options" = yes
  1.4085 +    then
  1.4086 +        if test "$GCC" = yes
  1.4087 +        then
  1.4088 +            case "${host}" in
  1.4089 +            *-*-solaris*)
  1.4090 +                # Don't use -std=c99 option on Solaris/GCC
  1.4091 +                ;;
  1.4092 +            *)
  1.4093 +                # Do not use -ansi. It limits us to C90, and it breaks some platforms.
  1.4094 +                # We use -std=c99 to disable the gnu99 defaults and its associated warnings
  1.4095 +                CFLAGS="$CFLAGS -std=c99"
  1.4096 +                ;;
  1.4097 +            esac
  1.4098 +
  1.4099 +            CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
  1.4100 +        else
  1.4101 +            case "${host}" in
  1.4102 +            *-*-cygwin)
  1.4103 +                if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
  1.4104 +                then
  1.4105 +                    CFLAGS="$CFLAGS /W4"
  1.4106 +                fi ;;
  1.4107 +            *-*-mingw32|*-*-mingw64)
  1.4108 +                CFLAGS="$CFLAGS -W4" ;;
  1.4109 +            esac
  1.4110 +        fi
  1.4111 +        if test "$GXX" = yes
  1.4112 +        then
  1.4113 +            CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
  1.4114 +        else
  1.4115 +            case "${host}" in
  1.4116 +            *-*-cygwin)
  1.4117 +                if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
  1.4118 +                then
  1.4119 +                    CXXFLAGS="$CXXFLAGS /W4"
  1.4120 +                fi ;;
  1.4121 +            *-*-mingw32|*-*-mingw64)
  1.4122 +                CFLAGS="$CFLAGS -W4" ;;
  1.4123 +            esac
  1.4124 +        fi
  1.4125 +    fi
  1.4126 +
  1.4127 +
  1.4128 +# Check if we can build and use 64-bit libraries
  1.4129 +
  1.4130 +
  1.4131 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  1.4132 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  1.4133 +if ${ac_cv_path_GREP+:} false; then :
  1.4134 +  $as_echo_n "(cached) " >&6
  1.4135 +else
  1.4136 +  if test -z "$GREP"; then
  1.4137 +  ac_path_GREP_found=false
  1.4138 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4139 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4140 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4141 +do
  1.4142 +  IFS=$as_save_IFS
  1.4143 +  test -z "$as_dir" && as_dir=.
  1.4144 +    for ac_prog in grep ggrep; do
  1.4145 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4146 +      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4147 +      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  1.4148 +# Check for GNU ac_path_GREP and select it if it is found.
  1.4149 +  # Check for GNU $ac_path_GREP
  1.4150 +case `"$ac_path_GREP" --version 2>&1` in
  1.4151 +*GNU*)
  1.4152 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  1.4153 +*)
  1.4154 +  ac_count=0
  1.4155 +  $as_echo_n 0123456789 >"conftest.in"
  1.4156 +  while :
  1.4157 +  do
  1.4158 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4159 +    mv "conftest.tmp" "conftest.in"
  1.4160 +    cp "conftest.in" "conftest.nl"
  1.4161 +    $as_echo 'GREP' >> "conftest.nl"
  1.4162 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4163 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4164 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4165 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
  1.4166 +      # Best one so far, save it but keep looking for a better one
  1.4167 +      ac_cv_path_GREP="$ac_path_GREP"
  1.4168 +      ac_path_GREP_max=$ac_count
  1.4169 +    fi
  1.4170 +    # 10*(2^10) chars as input seems more than enough
  1.4171 +    test $ac_count -gt 10 && break
  1.4172 +  done
  1.4173 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4174 +esac
  1.4175 +
  1.4176 +      $ac_path_GREP_found && break 3
  1.4177 +    done
  1.4178 +  done
  1.4179 +  done
  1.4180 +IFS=$as_save_IFS
  1.4181 +  if test -z "$ac_cv_path_GREP"; then
  1.4182 +    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4183 +  fi
  1.4184 +else
  1.4185 +  ac_cv_path_GREP=$GREP
  1.4186 +fi
  1.4187 +
  1.4188 +fi
  1.4189 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  1.4190 +$as_echo "$ac_cv_path_GREP" >&6; }
  1.4191 + GREP="$ac_cv_path_GREP"
  1.4192 +
  1.4193 +
  1.4194 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  1.4195 +$as_echo_n "checking for egrep... " >&6; }
  1.4196 +if ${ac_cv_path_EGREP+:} false; then :
  1.4197 +  $as_echo_n "(cached) " >&6
  1.4198 +else
  1.4199 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  1.4200 +   then ac_cv_path_EGREP="$GREP -E"
  1.4201 +   else
  1.4202 +     if test -z "$EGREP"; then
  1.4203 +  ac_path_EGREP_found=false
  1.4204 +  # Loop through the user's path and test for each of PROGNAME-LIST
  1.4205 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.4206 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  1.4207 +do
  1.4208 +  IFS=$as_save_IFS
  1.4209 +  test -z "$as_dir" && as_dir=.
  1.4210 +    for ac_prog in egrep; do
  1.4211 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.4212 +      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  1.4213 +      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  1.4214 +# Check for GNU ac_path_EGREP and select it if it is found.
  1.4215 +  # Check for GNU $ac_path_EGREP
  1.4216 +case `"$ac_path_EGREP" --version 2>&1` in
  1.4217 +*GNU*)
  1.4218 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  1.4219 +*)
  1.4220 +  ac_count=0
  1.4221 +  $as_echo_n 0123456789 >"conftest.in"
  1.4222 +  while :
  1.4223 +  do
  1.4224 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
  1.4225 +    mv "conftest.tmp" "conftest.in"
  1.4226 +    cp "conftest.in" "conftest.nl"
  1.4227 +    $as_echo 'EGREP' >> "conftest.nl"
  1.4228 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  1.4229 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  1.4230 +    as_fn_arith $ac_count + 1 && ac_count=$as_val
  1.4231 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  1.4232 +      # Best one so far, save it but keep looking for a better one
  1.4233 +      ac_cv_path_EGREP="$ac_path_EGREP"
  1.4234 +      ac_path_EGREP_max=$ac_count
  1.4235 +    fi
  1.4236 +    # 10*(2^10) chars as input seems more than enough
  1.4237 +    test $ac_count -gt 10 && break
  1.4238 +  done
  1.4239 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  1.4240 +esac
  1.4241 +
  1.4242 +      $ac_path_EGREP_found && break 3
  1.4243 +    done
  1.4244 +  done
  1.4245 +  done
  1.4246 +IFS=$as_save_IFS
  1.4247 +  if test -z "$ac_cv_path_EGREP"; then
  1.4248 +    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  1.4249 +  fi
  1.4250 +else
  1.4251 +  ac_cv_path_EGREP=$EGREP
  1.4252 +fi
  1.4253 +
  1.4254 +   fi
  1.4255 +fi
  1.4256 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  1.4257 +$as_echo "$ac_cv_path_EGREP" >&6; }
  1.4258 + EGREP="$ac_cv_path_EGREP"
  1.4259 +
  1.4260 +
  1.4261 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  1.4262 +$as_echo_n "checking for ANSI C header files... " >&6; }
  1.4263 +if ${ac_cv_header_stdc+:} false; then :
  1.4264 +  $as_echo_n "(cached) " >&6
  1.4265 +else
  1.4266 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4267 +/* end confdefs.h.  */
  1.4268 +#include <stdlib.h>
  1.4269 +#include <stdarg.h>
  1.4270 +#include <string.h>
  1.4271 +#include <float.h>
  1.4272 +
  1.4273 +int
  1.4274 +main ()
  1.4275 +{
  1.4276 +
  1.4277 +  ;
  1.4278 +  return 0;
  1.4279 +}
  1.4280 +_ACEOF
  1.4281 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4282 +  ac_cv_header_stdc=yes
  1.4283 +else
  1.4284 +  ac_cv_header_stdc=no
  1.4285 +fi
  1.4286 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4287 +
  1.4288 +if test $ac_cv_header_stdc = yes; then
  1.4289 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  1.4290 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4291 +/* end confdefs.h.  */
  1.4292 +#include <string.h>
  1.4293 +
  1.4294 +_ACEOF
  1.4295 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.4296 +  $EGREP "memchr" >/dev/null 2>&1; then :
  1.4297 +
  1.4298 +else
  1.4299 +  ac_cv_header_stdc=no
  1.4300 +fi
  1.4301 +rm -f conftest*
  1.4302 +
  1.4303 +fi
  1.4304 +
  1.4305 +if test $ac_cv_header_stdc = yes; then
  1.4306 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  1.4307 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4308 +/* end confdefs.h.  */
  1.4309 +#include <stdlib.h>
  1.4310 +
  1.4311 +_ACEOF
  1.4312 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  1.4313 +  $EGREP "free" >/dev/null 2>&1; then :
  1.4314 +
  1.4315 +else
  1.4316 +  ac_cv_header_stdc=no
  1.4317 +fi
  1.4318 +rm -f conftest*
  1.4319 +
  1.4320 +fi
  1.4321 +
  1.4322 +if test $ac_cv_header_stdc = yes; then
  1.4323 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  1.4324 +  if test "$cross_compiling" = yes; then :
  1.4325 +  :
  1.4326 +else
  1.4327 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4328 +/* end confdefs.h.  */
  1.4329 +#include <ctype.h>
  1.4330 +#include <stdlib.h>
  1.4331 +#if ((' ' & 0x0FF) == 0x020)
  1.4332 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  1.4333 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  1.4334 +#else
  1.4335 +# define ISLOWER(c) \
  1.4336 +		   (('a' <= (c) && (c) <= 'i') \
  1.4337 +		     || ('j' <= (c) && (c) <= 'r') \
  1.4338 +		     || ('s' <= (c) && (c) <= 'z'))
  1.4339 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  1.4340 +#endif
  1.4341 +
  1.4342 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  1.4343 +int
  1.4344 +main ()
  1.4345 +{
  1.4346 +  int i;
  1.4347 +  for (i = 0; i < 256; i++)
  1.4348 +    if (XOR (islower (i), ISLOWER (i))
  1.4349 +	|| toupper (i) != TOUPPER (i))
  1.4350 +      return 2;
  1.4351 +  return 0;
  1.4352 +}
  1.4353 +_ACEOF
  1.4354 +if ac_fn_c_try_run "$LINENO"; then :
  1.4355 +
  1.4356 +else
  1.4357 +  ac_cv_header_stdc=no
  1.4358 +fi
  1.4359 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.4360 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.4361 +fi
  1.4362 +
  1.4363 +fi
  1.4364 +fi
  1.4365 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  1.4366 +$as_echo "$ac_cv_header_stdc" >&6; }
  1.4367 +if test $ac_cv_header_stdc = yes; then
  1.4368 +
  1.4369 +$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  1.4370 +
  1.4371 +fi
  1.4372 +
  1.4373 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  1.4374 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  1.4375 +		  inttypes.h stdint.h unistd.h
  1.4376 +do :
  1.4377 +  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  1.4378 +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  1.4379 +"
  1.4380 +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  1.4381 +  cat >>confdefs.h <<_ACEOF
  1.4382 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  1.4383 +_ACEOF
  1.4384 +
  1.4385 +fi
  1.4386 +
  1.4387 +done
  1.4388 +
  1.4389 +
  1.4390 +
  1.4391 +    BITS_REQ=nochange
  1.4392 +    ENABLE_64BIT_LIBS=unknown
  1.4393 +    ## revisit this for cross-compile.
  1.4394 +
  1.4395 +    # Check whether --enable-64bit-libs was given.
  1.4396 +if test "${enable_64bit_libs+set}" = set; then :
  1.4397 +  enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"
  1.4398 +         case "${enableval}" in
  1.4399 +            no|false|32) with_library_bits=32;  ;;
  1.4400 +            yes|true|64) with_library_bits=64else32 ;;
  1.4401 +            nochange) with_library_bits=nochange; ;;
  1.4402 +            *) as_fn_error $? "bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;;
  1.4403 +            esac
  1.4404 +fi
  1.4405 +
  1.4406 +
  1.4407 +
  1.4408 +
  1.4409 +# Check whether --with-library-bits was given.
  1.4410 +if test "${with_library_bits+set}" = set; then :
  1.4411 +  withval=$with_library_bits; case "${withval}" in
  1.4412 +            ""|nochange) BITS_REQ=$withval ;;
  1.4413 +            32|64|64else32) BITS_REQ=$withval ;;
  1.4414 +            *) as_fn_error $? "bad value ${withval} for --with-library-bits" "$LINENO" 5 ;;
  1.4415 +            esac
  1.4416 +fi
  1.4417 +
  1.4418 +
  1.4419 +    # don't use these for cross compiling
  1.4420 +    if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then
  1.4421 +        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
  1.4422 +    fi
  1.4423 +    # The cast to long int works around a bug in the HP C Compiler
  1.4424 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  1.4425 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  1.4426 +# This bug is HP SR number 8606223364.
  1.4427 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  1.4428 +$as_echo_n "checking size of void *... " >&6; }
  1.4429 +if ${ac_cv_sizeof_void_p+:} false; then :
  1.4430 +  $as_echo_n "(cached) " >&6
  1.4431 +else
  1.4432 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
  1.4433 +
  1.4434 +else
  1.4435 +  if test "$ac_cv_type_void_p" = yes; then
  1.4436 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.4437 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.4438 +as_fn_error 77 "cannot compute sizeof (void *)
  1.4439 +See \`config.log' for more details" "$LINENO" 5; }
  1.4440 +   else
  1.4441 +     ac_cv_sizeof_void_p=0
  1.4442 +   fi
  1.4443 +fi
  1.4444 +
  1.4445 +fi
  1.4446 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  1.4447 +$as_echo "$ac_cv_sizeof_void_p" >&6; }
  1.4448 +
  1.4449 +
  1.4450 +
  1.4451 +cat >>confdefs.h <<_ACEOF
  1.4452 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  1.4453 +_ACEOF
  1.4454 +
  1.4455 +
  1.4456 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5
  1.4457 +$as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }
  1.4458 +    case $ac_cv_sizeof_void_p in
  1.4459 +        8) DEFAULT_64BIT=yes ;;
  1.4460 +        4) DEFAULT_64BIT=no ;;
  1.4461 +        *) DEFAULT_64BIT=unknown
  1.4462 +    esac
  1.4463 +    BITS_GOT=unknown
  1.4464 +
  1.4465 +    # 'OK' here means, we can exit any further checking, everything's copa
  1.4466 +    BITS_OK=yes
  1.4467 +
  1.4468 +    # do we need to check for buildable/runnable 32 or 64 bit?
  1.4469 +    BITS_CHECK_32=no
  1.4470 +    BITS_CHECK_64=no
  1.4471 +
  1.4472 +    # later, can we run the 32/64 bit binaries so made?
  1.4473 +    BITS_RUN_32=no
  1.4474 +    BITS_RUN_64=no
  1.4475 +
  1.4476 +    if test "$DEFAULT_64BIT" = "yes"; then
  1.4477 +        # we get 64 bits by default.
  1.4478 +        BITS_GOT=64
  1.4479 +        case "$BITS_REQ" in
  1.4480 +            32)
  1.4481 +                # need to look for 32 bit support.
  1.4482 +                BITS_CHECK_32=yes
  1.4483 +                # not copa.
  1.4484 +                BITS_OK=no;;
  1.4485 +            # everyone else is happy.
  1.4486 +            nochange) ;;
  1.4487 +            *) ;;
  1.4488 +        esac
  1.4489 +    elif test "$DEFAULT_64BIT" = "no"; then
  1.4490 +        # not 64 bit by default.
  1.4491 +        BITS_GOT=32
  1.4492 +        case "$BITS_REQ" in
  1.4493 +            64|64else32)
  1.4494 +                BITS_CHECK_64=yes
  1.4495 +                #BITS_CHECK_32=yes
  1.4496 +                BITS_OK=no;;
  1.4497 +            nochange) ;;
  1.4498 +            *) ;;
  1.4499 +        esac
  1.4500 +    elif test "$DEFAULT_64BIT" = "unknown"; then
  1.4501 +        # cross compiling.
  1.4502 +        BITS_GOT=unknown
  1.4503 +        case "$BITS_REQ" in
  1.4504 +            64|64else32) BITS_OK=no
  1.4505 +            BITS_CHECK_32=yes
  1.4506 +            BITS_CHECK_64=yes ;;
  1.4507 +            32) BITS_OK=no;;
  1.4508 +            nochange) ;;
  1.4509 +            *) ;;
  1.4510 +        esac
  1.4511 +    fi
  1.4512 +
  1.4513 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5
  1.4514 +$as_echo "$DEFAULT_64BIT" >&6; };
  1.4515 +
  1.4516 +    if test "$BITS_OK" != "yes"; then
  1.4517 +        # not copa. back these up.
  1.4518 +        CFLAGS_OLD="${CFLAGS}"
  1.4519 +        CXXFLAGS_OLD="${CXXFLAGS}"
  1.4520 +        LDFLAGS_OLD="${LDFLAGS}"
  1.4521 +        ARFLAGS_OLD="${ARFLAGS}"
  1.4522 +
  1.4523 +        CFLAGS_32="${CFLAGS}"
  1.4524 +        CXXFLAGS_32="${CXXFLAGS}"
  1.4525 +        LDFLAGS_32="${LDFLAGS}"
  1.4526 +        ARFLAGS_32="${ARFLAGS}"
  1.4527 +
  1.4528 +        CFLAGS_64="${CFLAGS}"
  1.4529 +        CXXFLAGS_64="${CXXFLAGS}"
  1.4530 +        LDFLAGS_64="${LDFLAGS}"
  1.4531 +        ARFLAGS_64="${ARFLAGS}"
  1.4532 +
  1.4533 +        CAN_BUILD_64=unknown
  1.4534 +        CAN_BUILD_32=unknown
  1.4535 +        # These results can't be cached because is sets compiler flags.
  1.4536 +        if test "$BITS_CHECK_64" = "yes"; then
  1.4537 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5
  1.4538 +$as_echo_n "checking how to build 64-bit executables... " >&6; }
  1.4539 +            CAN_BUILD_64=no
  1.4540 +            ####
  1.4541 +            # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.
  1.4542 +            #  Note, we don't have to actually check if the options work- we'll try them before using them.
  1.4543 +            #  So, only try actually testing the options, if you are trying to decide between multiple options.
  1.4544 +            # On exit from the following clauses:
  1.4545 +            # if CAN_BUILD_64=yes:
  1.4546 +            #    *FLAGS are assumed to contain the right settings for 64bit
  1.4547 +            # else if CAN_BUILD_64=no: (default)
  1.4548 +            #    *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD
  1.4549 +
  1.4550 +            if test "$GCC" = yes; then
  1.4551 +                CFLAGS="${CFLAGS} -m64"
  1.4552 +                CXXFLAGS="${CXXFLAGS} -m64"
  1.4553 +                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4554 +/* end confdefs.h.  */
  1.4555 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4556 +_ACEOF
  1.4557 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4558 +  CAN_BUILD_64=yes
  1.4559 +else
  1.4560 +  CAN_BUILD_64=no
  1.4561 +fi
  1.4562 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4563 +            else
  1.4564 +                case "${host}" in
  1.4565 +                sparc*-*-solaris*)
  1.4566 +                    # 1. try -m64
  1.4567 +                    CFLAGS="${CFLAGS} -m64"
  1.4568 +                    CXXFLAGS="${CXXFLAGS} -m64"
  1.4569 +                    if test "$cross_compiling" = yes; then :
  1.4570 +  CAN_BUILD_64=unknown
  1.4571 +else
  1.4572 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4573 +/* end confdefs.h.  */
  1.4574 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4575 +_ACEOF
  1.4576 +if ac_fn_c_try_run "$LINENO"; then :
  1.4577 +  CAN_BUILD_64=yes
  1.4578 +else
  1.4579 +  CAN_BUILD_64=no
  1.4580 +fi
  1.4581 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.4582 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.4583 +fi
  1.4584 +
  1.4585 +                    if test "$CAN_BUILD_64" != yes; then
  1.4586 +                        # Nope. back out changes.
  1.4587 +                        CFLAGS="${CFLAGS_OLD}"
  1.4588 +                        CXXFLAGS="${CFLAGS_OLD}"
  1.4589 +                        # 2. try xarch=v9 [deprecated]
  1.4590 +                        ## TODO: cross compile: the following won't work.
  1.4591 +                        SPARCV9=`isainfo -n 2>&1 | grep sparcv9`
  1.4592 +                        SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
  1.4593 +                        # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"
  1.4594 +                        if test -z "$SOL64" && test -n "$SPARCV9"; then
  1.4595 +                            CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"
  1.4596 +                            CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"
  1.4597 +                            LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9"
  1.4598 +                            CAN_BUILD_64=yes
  1.4599 +                        fi
  1.4600 +                    fi
  1.4601 +                    ;;
  1.4602 +                i386-*-solaris*)
  1.4603 +                    # 1. try -m64
  1.4604 +                    CFLAGS="${CFLAGS} -m64"
  1.4605 +                    CXXFLAGS="${CXXFLAGS} -m64"
  1.4606 +                    if test "$cross_compiling" = yes; then :
  1.4607 +  CAN_BUILD_64=unknown
  1.4608 +else
  1.4609 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4610 +/* end confdefs.h.  */
  1.4611 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4612 +_ACEOF
  1.4613 +if ac_fn_c_try_run "$LINENO"; then :
  1.4614 +  CAN_BUILD_64=yes
  1.4615 +else
  1.4616 +  CAN_BUILD_64=no
  1.4617 +fi
  1.4618 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.4619 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.4620 +fi
  1.4621 +
  1.4622 +                    if test "$CAN_BUILD_64" != yes; then
  1.4623 +                        # Nope. back out changes.
  1.4624 +                        CFLAGS="${CFLAGS_OLD}"
  1.4625 +                        CXXFLAGS="${CXXFLAGS_OLD}"
  1.4626 +                        # 2. try the older compiler option
  1.4627 +                        ## TODO: cross compile problem
  1.4628 +                        AMD64=`isainfo -n 2>&1 | grep amd64`
  1.4629 +                        SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
  1.4630 +                        if test -z "$SOL64" && test -n "$AMD64"; then
  1.4631 +                            CFLAGS="${CFLAGS} -xtarget=generic64"
  1.4632 +                            CXXFLAGS="${CXXFLAGS} -xtarget=generic64"
  1.4633 +                            CAN_BUILD_64=yes
  1.4634 +                        fi
  1.4635 +                    fi
  1.4636 +                    ;;
  1.4637 +                ia64-*-linux*)
  1.4638 +                    # check for ecc/ecpc compiler support
  1.4639 +                    ## TODO: cross compiler problem
  1.4640 +                    if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
  1.4641 +                        if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
  1.4642 +                            CAN_BUILD_64=yes
  1.4643 +                        fi
  1.4644 +                    fi
  1.4645 +                    ;;
  1.4646 +                *-*-cygwin)
  1.4647 +                    # vcvarsamd64.bat should have been used to enable 64-bit builds.
  1.4648 +                    # We only do this check to display the correct answer.
  1.4649 +                    ## TODO: cross compiler problem
  1.4650 +                    if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
  1.4651 +                        CAN_BUILD_64=yes
  1.4652 +                    fi
  1.4653 +                    ;;
  1.4654 +                *-*-aix*|powerpc64-*-linux*)
  1.4655 +                    CFLAGS="${CFLAGS} -q64"
  1.4656 +                    CXXFLAGS="${CXXFLAGS} -q64"
  1.4657 +                    LDFLAGS="${LDFLAGS} -q64"
  1.4658 +                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4659 +/* end confdefs.h.  */
  1.4660 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4661 +_ACEOF
  1.4662 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4663 +  CAN_BUILD_64=yes
  1.4664 +else
  1.4665 +  CAN_BUILD_64=no
  1.4666 +fi
  1.4667 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4668 +                    if test "$CAN_BUILD_64" = yes; then
  1.4669 +                        # worked- set other options.
  1.4670 +                        case "${host}" in
  1.4671 +                        *-*-aix*)
  1.4672 +                            # tell AIX what executable mode to use.
  1.4673 +                            ARFLAGS="${ARFLAGS} -X64"
  1.4674 +                        esac
  1.4675 +                    fi
  1.4676 +                    ;;
  1.4677 +                *-*-hpux*)
  1.4678 +                    # First we try the newer +DD64, if that doesn't work,
  1.4679 +                    # try other options.
  1.4680 +
  1.4681 +                    CFLAGS="${CFLAGS} +DD64"
  1.4682 +                    CXXFLAGS="${CXXFLAGS} +DD64"
  1.4683 +                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4684 +/* end confdefs.h.  */
  1.4685 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4686 +_ACEOF
  1.4687 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4688 +  CAN_BUILD_64=yes
  1.4689 +else
  1.4690 +  CAN_BUILD_64=no
  1.4691 +fi
  1.4692 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4693 +                    if test "$CAN_BUILD_64" != yes; then
  1.4694 +                        # reset
  1.4695 +                        CFLAGS="${CFLAGS_OLD}"
  1.4696 +                        CXXFLAGS="${CXXFLAGS_OLD}"
  1.4697 +                        # append
  1.4698 +                        CFLAGS="${CFLAGS} +DA2.0W"
  1.4699 +                        CXXFLAGS="${CXXFLAGS} +DA2.0W"
  1.4700 +                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4701 +/* end confdefs.h.  */
  1.4702 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4703 +_ACEOF
  1.4704 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4705 +  CAN_BUILD_64=yes
  1.4706 +else
  1.4707 +  CAN_BUILD_64=no
  1.4708 +fi
  1.4709 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4710 +                    fi
  1.4711 +                    ;;
  1.4712 +                *-*ibm-openedition*|*-*-os390*)
  1.4713 +                    CFLAGS="${CFLAGS} -Wc,lp64"
  1.4714 +                    CXXFLAGS="${CXXFLAGS} -Wc,lp64"
  1.4715 +                    LDFLAGS="${LDFLAGS} -Wl,lp64"
  1.4716 +                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4717 +/* end confdefs.h.  */
  1.4718 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4719 +_ACEOF
  1.4720 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4721 +  CAN_BUILD_64=yes
  1.4722 +else
  1.4723 +  CAN_BUILD_64=no
  1.4724 +fi
  1.4725 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4726 +                    ;;
  1.4727 +                *)
  1.4728 +                    # unknown platform.
  1.4729 +                    ;;
  1.4730 +                esac
  1.4731 +            fi
  1.4732 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5
  1.4733 +$as_echo "$CAN_BUILD_64" >&6; }
  1.4734 +            if test "$CAN_BUILD_64" = yes; then
  1.4735 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5
  1.4736 +$as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }
  1.4737 +                if test "$cross_compiling" = yes; then :
  1.4738 +  BITS_RUN_64=unknown
  1.4739 +else
  1.4740 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4741 +/* end confdefs.h.  */
  1.4742 +int main(void) {return (sizeof(void*)*8==64)?0:1;}
  1.4743 +_ACEOF
  1.4744 +if ac_fn_c_try_run "$LINENO"; then :
  1.4745 +  BITS_RUN_64=yes
  1.4746 +else
  1.4747 +  BITS_RUN_64=no
  1.4748 +fi
  1.4749 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.4750 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.4751 +fi
  1.4752 +
  1.4753 +                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5
  1.4754 +$as_echo "$BITS_RUN_64" >&6; };
  1.4755 +
  1.4756 +                CFLAGS_64="${CFLAGS}"
  1.4757 +                CXXFLAGS_64="${CXXFLAGS}"
  1.4758 +                LDFLAGS_64="${LDFLAGS}"
  1.4759 +                ARFLAGS_64="${ARFLAGS}"
  1.4760 +            fi
  1.4761 +            # put it back.
  1.4762 +            CFLAGS="${CFLAGS_OLD}"
  1.4763 +            CXXFLAGS="${CXXFLAGS_OLD}"
  1.4764 +            LDFLAGS="${LDFLAGS_OLD}"
  1.4765 +            ARFLAGS="${ARFLAGS_OLD}"
  1.4766 +        fi
  1.4767 +        if test "$BITS_CHECK_32" = "yes"; then
  1.4768 +            # see comment under 'if BITS_CHECK_64', above.
  1.4769 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5
  1.4770 +$as_echo_n "checking how to build 32-bit executables... " >&6; }
  1.4771 +            if test "$GCC" = yes; then
  1.4772 +                CFLAGS="${CFLAGS} -m32"
  1.4773 +                CXXFLAGS="${CXXFLAGS} -m32"
  1.4774 +                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4775 +/* end confdefs.h.  */
  1.4776 +int main(void) {return (sizeof(void*)*8==32)?0:1;}
  1.4777 +_ACEOF
  1.4778 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4779 +  CAN_BUILD_32=yes
  1.4780 +else
  1.4781 +  CAN_BUILD_32=no
  1.4782 +fi
  1.4783 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4784 +            fi
  1.4785 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5
  1.4786 +$as_echo "$CAN_BUILD_32" >&6; }
  1.4787 +            if test "$CAN_BUILD_32" = yes; then
  1.4788 +                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5
  1.4789 +$as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }
  1.4790 +                if test "$cross_compiling" = yes; then :
  1.4791 +  BITS_RUN_32=unknown
  1.4792 +else
  1.4793 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4794 +/* end confdefs.h.  */
  1.4795 +int main(void) {return (sizeof(void*)*8==32)?0:1;}
  1.4796 +_ACEOF
  1.4797 +if ac_fn_c_try_run "$LINENO"; then :
  1.4798 +  BITS_RUN_32=yes
  1.4799 +else
  1.4800 +  BITS_RUN_32=no
  1.4801 +fi
  1.4802 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.4803 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.4804 +fi
  1.4805 +
  1.4806 +                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5
  1.4807 +$as_echo "$BITS_RUN_32" >&6; };
  1.4808 +                CFLAGS_32="${CFLAGS}"
  1.4809 +                CXXFLAGS_32="${CXXFLAGS}"
  1.4810 +                LDFLAGS_32="${LDFLAGS}"
  1.4811 +                ARFLAGS_32="${ARFLAGS}"
  1.4812 +            fi
  1.4813 +            # put it back.
  1.4814 +            CFLAGS="${CFLAGS_OLD}"
  1.4815 +            CXXFLAGS="${CXXFLAGS_OLD}"
  1.4816 +            LDFLAGS="${LDFLAGS_OLD}"
  1.4817 +            ARFLAGS="${ARFLAGS_OLD}"
  1.4818 +        fi
  1.4819 +
  1.4820 +        ##
  1.4821 +        # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.
  1.4822 +        #
  1.4823 +
  1.4824 +        # First, implement 64else32
  1.4825 +        if test "$BITS_REQ" = "64else32"; then
  1.4826 +            if test "$BITS_RUN_64" = "yes"; then
  1.4827 +                BITS_REQ=64
  1.4828 +            else
  1.4829 +                # no changes.
  1.4830 +                BITS_OK=yes
  1.4831 +            fi
  1.4832 +        fi
  1.4833 +
  1.4834 +        # implement.
  1.4835 +        if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then
  1.4836 +            CFLAGS="${CFLAGS_32}"
  1.4837 +            CXXFLAGS="${CXXFLAGS_32}"
  1.4838 +            LDFLAGS="${LDFLAGS_32}"
  1.4839 +            ARFLAGS="${ARFLAGS_32}"
  1.4840 +            BITS_OK=yes
  1.4841 +        elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then
  1.4842 +            CFLAGS="${CFLAGS_64}"
  1.4843 +            CXXFLAGS="${CXXFLAGS_64}"
  1.4844 +            LDFLAGS="${LDFLAGS_64}"
  1.4845 +            ARFLAGS="${ARFLAGS_64}"
  1.4846 +            BITS_OK=yes
  1.4847 +        elif test "$BITS_OK" != "yes"; then
  1.4848 +            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
  1.4849 +        fi
  1.4850 +     fi
  1.4851 +
  1.4852 +
  1.4853 +
  1.4854 +
  1.4855 +# Determine the Makefile fragment
  1.4856 +
  1.4857 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5
  1.4858 +$as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }
  1.4859 +if ${icu_cv_host_frag+:} false; then :
  1.4860 +  $as_echo_n "(cached) " >&6
  1.4861 +else
  1.4862 +
  1.4863 +case "${host}" in
  1.4864 +*-*-solaris*)
  1.4865 +	if test "$GCC" = yes; then
  1.4866 +		icu_cv_host_frag=mh-solaris-gcc
  1.4867 +	else
  1.4868 +		icu_cv_host_frag=mh-solaris
  1.4869 +	fi ;;
  1.4870 +alpha*-*-linux-gnu)
  1.4871 +	if test "$GCC" = yes; then
  1.4872 +		icu_cv_host_frag=mh-alpha-linux-gcc
  1.4873 +	else
  1.4874 +		icu_cv_host_frag=mh-alpha-linux-cc
  1.4875 +	fi ;;
  1.4876 +powerpc*-*-linux*)
  1.4877 +	if test "$GCC" = yes; then
  1.4878 +		icu_cv_host_frag=mh-linux
  1.4879 +	else
  1.4880 +		icu_cv_host_frag=mh-linux-va
  1.4881 +	fi ;;
  1.4882 +*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
  1.4883 +*-*-cygwin|*-*-mingw32|*-*-mingw64)
  1.4884 +	if test "$GCC" = yes; then
  1.4885 +		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4886 +/* end confdefs.h.  */
  1.4887 +
  1.4888 +#ifndef __MINGW32__
  1.4889 +#error This is not MinGW
  1.4890 +#endif
  1.4891 +int
  1.4892 +main ()
  1.4893 +{
  1.4894 +
  1.4895 +  ;
  1.4896 +  return 0;
  1.4897 +}
  1.4898 +_ACEOF
  1.4899 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4900 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4901 +/* end confdefs.h.  */
  1.4902 +
  1.4903 +#ifndef __MINGW64__
  1.4904 +#error This is not MinGW64
  1.4905 +#endif
  1.4906 +int
  1.4907 +main ()
  1.4908 +{
  1.4909 +
  1.4910 +  ;
  1.4911 +  return 0;
  1.4912 +}
  1.4913 +_ACEOF
  1.4914 +if ac_fn_c_try_compile "$LINENO"; then :
  1.4915 +  icu_cv_host_frag=mh-mingw64
  1.4916 +else
  1.4917 +  icu_cv_host_frag=mh-mingw
  1.4918 +fi
  1.4919 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4920 +else
  1.4921 +  icu_cv_host_frag=mh-cygwin
  1.4922 +fi
  1.4923 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.4924 +	else
  1.4925 +		case "${host}" in
  1.4926 +		*-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
  1.4927 +		*-*-mingw32|*-*-mingw64) icu_cv_host_frag=mh-msys-msvc ;;
  1.4928 +		esac
  1.4929 +	fi ;;
  1.4930 +*-*-*bsd*|*-*-dragonfly*) 	icu_cv_host_frag=mh-bsd-gcc ;;
  1.4931 +*-*-aix*)
  1.4932 +	if test "$GCC" = yes; then
  1.4933 +		icu_cv_host_frag=mh-aix-gcc
  1.4934 +	else
  1.4935 +		icu_cv_host_frag=mh-aix-va
  1.4936 +	fi ;;
  1.4937 +*-*-hpux*)
  1.4938 +	if test "$GCC" = yes; then
  1.4939 +		icu_cv_host_frag=mh-hpux-gcc
  1.4940 +	else
  1.4941 +		case "$CXX" in
  1.4942 +		*aCC)    icu_cv_host_frag=mh-hpux-acc ;;
  1.4943 +		esac
  1.4944 +	fi ;;
  1.4945 +*-*ibm-openedition*|*-*-os390*)	icu_cv_host_frag=mh-os390 ;;
  1.4946 +*-*-os400*)	icu_cv_host_frag=mh-os400 ;;
  1.4947 +*-apple-rhapsody*)	icu_cv_host_frag=mh-darwin ;;
  1.4948 +*-apple-darwin*)	icu_cv_host_frag=mh-darwin ;;
  1.4949 +*-*-beos)       icu_cv_host_frag=mh-beos ;;
  1.4950 +*-*-haiku)      icu_cv_host_frag=mh-haiku ;;
  1.4951 +*-*-irix*)	icu_cv_host_frag=mh-irix ;;
  1.4952 +*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
  1.4953 +*-*-nto*)	icu_cv_host_frag=mh-qnx ;;
  1.4954 +*-ncr-*)	icu_cv_host_frag=mh-mpras ;;
  1.4955 +*) 		icu_cv_host_frag=mh-unknown ;;
  1.4956 +esac
  1.4957 +
  1.4958 +
  1.4959 +fi
  1.4960 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5
  1.4961 +$as_echo "$icu_cv_host_frag" >&6; }
  1.4962 +
  1.4963 +
  1.4964 +# Checks for libraries and other host specific stuff
  1.4965 +# On HP/UX, don't link to -lm from a shared lib because it isn't
  1.4966 +#  PIC (at least on 10.2)
  1.4967 +case "${host}" in
  1.4968 +	*-*-hpux*) 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
  1.4969 +$as_echo_n "checking for floor in -lm... " >&6; }
  1.4970 +if ${ac_cv_lib_m_floor+:} false; then :
  1.4971 +  $as_echo_n "(cached) " >&6
  1.4972 +else
  1.4973 +  ac_check_lib_save_LIBS=$LIBS
  1.4974 +LIBS="-lm  $LIBS"
  1.4975 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.4976 +/* end confdefs.h.  */
  1.4977 +
  1.4978 +/* Override any GCC internal prototype to avoid an error.
  1.4979 +   Use char because int might match the return type of a GCC
  1.4980 +   builtin and then its argument prototype would still apply.  */
  1.4981 +#ifdef __cplusplus
  1.4982 +extern "C"
  1.4983 +#endif
  1.4984 +char floor ();
  1.4985 +int
  1.4986 +main ()
  1.4987 +{
  1.4988 +return floor ();
  1.4989 +  ;
  1.4990 +  return 0;
  1.4991 +}
  1.4992 +_ACEOF
  1.4993 +if ac_fn_c_try_link "$LINENO"; then :
  1.4994 +  ac_cv_lib_m_floor=yes
  1.4995 +else
  1.4996 +  ac_cv_lib_m_floor=no
  1.4997 +fi
  1.4998 +rm -f core conftest.err conftest.$ac_objext \
  1.4999 +    conftest$ac_exeext conftest.$ac_ext
  1.5000 +LIBS=$ac_check_lib_save_LIBS
  1.5001 +fi
  1.5002 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
  1.5003 +$as_echo "$ac_cv_lib_m_floor" >&6; }
  1.5004 +if test "x$ac_cv_lib_m_floor" = xyes; then :
  1.5005 +  LIB_M="-lm"
  1.5006 +fi
  1.5007 + ;;
  1.5008 +
  1.5009 +	*) 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
  1.5010 +$as_echo_n "checking for floor in -lm... " >&6; }
  1.5011 +if ${ac_cv_lib_m_floor+:} false; then :
  1.5012 +  $as_echo_n "(cached) " >&6
  1.5013 +else
  1.5014 +  ac_check_lib_save_LIBS=$LIBS
  1.5015 +LIBS="-lm  $LIBS"
  1.5016 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5017 +/* end confdefs.h.  */
  1.5018 +
  1.5019 +/* Override any GCC internal prototype to avoid an error.
  1.5020 +   Use char because int might match the return type of a GCC
  1.5021 +   builtin and then its argument prototype would still apply.  */
  1.5022 +#ifdef __cplusplus
  1.5023 +extern "C"
  1.5024 +#endif
  1.5025 +char floor ();
  1.5026 +int
  1.5027 +main ()
  1.5028 +{
  1.5029 +return floor ();
  1.5030 +  ;
  1.5031 +  return 0;
  1.5032 +}
  1.5033 +_ACEOF
  1.5034 +if ac_fn_c_try_link "$LINENO"; then :
  1.5035 +  ac_cv_lib_m_floor=yes
  1.5036 +else
  1.5037 +  ac_cv_lib_m_floor=no
  1.5038 +fi
  1.5039 +rm -f core conftest.err conftest.$ac_objext \
  1.5040 +    conftest$ac_exeext conftest.$ac_ext
  1.5041 +LIBS=$ac_check_lib_save_LIBS
  1.5042 +fi
  1.5043 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
  1.5044 +$as_echo "$ac_cv_lib_m_floor" >&6; }
  1.5045 +if test "x$ac_cv_lib_m_floor" = xyes; then :
  1.5046 +  cat >>confdefs.h <<_ACEOF
  1.5047 +#define HAVE_LIBM 1
  1.5048 +_ACEOF
  1.5049 +
  1.5050 +  LIBS="-lm $LIBS"
  1.5051 +
  1.5052 +fi
  1.5053 +
  1.5054 +			LIB_M="" ;;
  1.5055 +esac
  1.5056 +
  1.5057 +
  1.5058 +# Check whether to build shared libraries
  1.5059 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
  1.5060 +$as_echo_n "checking whether to build shared libraries... " >&6; }
  1.5061 +enabled=no
  1.5062 +# Check whether --enable-shared was given.
  1.5063 +if test "${enable_shared+set}" = set; then :
  1.5064 +  enableval=$enable_shared;  case "${enableval}" in
  1.5065 +	     yes|"") enabled=yes; ENABLE_SHARED=YES ;;
  1.5066 +	     no);;
  1.5067 +	     *) ;;
  1.5068 +    esac
  1.5069 +else
  1.5070 +  enabled=yes; ENABLE_SHARED=YES
  1.5071 +
  1.5072 +fi
  1.5073 +
  1.5074 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5075 +$as_echo "$enabled" >&6; }
  1.5076 +
  1.5077 +
  1.5078 +# Check whether to build static libraries
  1.5079 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
  1.5080 +$as_echo_n "checking whether to build static libraries... " >&6; }
  1.5081 +enabled=no
  1.5082 +# Check whether --enable-static was given.
  1.5083 +if test "${enable_static+set}" = set; then :
  1.5084 +  enableval=$enable_static;  case "${enableval}" in
  1.5085 +	     yes|"") enabled=yes; ENABLE_STATIC=YES ;;
  1.5086 +	     no) ;;
  1.5087 +	     *) ;;
  1.5088 +    esac
  1.5089 +fi
  1.5090 +
  1.5091 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5092 +$as_echo "$enabled" >&6; }
  1.5093 +
  1.5094 +
  1.5095 +# When building release static library, there might be some optimization flags we can use
  1.5096 +if test "$ENABLE_STATIC" = "YES"; then
  1.5097 +    if test "$ENABLE_SHARED" != "YES"; then
  1.5098 +        if test "$ENABLE_RELEASE" = 1; then
  1.5099 +            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use static library optimization option" >&5
  1.5100 +$as_echo_n "checking whether we can use static library optimization option... " >&6; }
  1.5101 +            CHECK_STATIC_OPT_FLAG=no
  1.5102 +
  1.5103 +            OLD_CPPFLAGS="${CPPFLAGS}"
  1.5104 +            OLD_LDFLAGS="${LDFLAGS}"
  1.5105 +
  1.5106 +            case "${host}" in
  1.5107 +            *-linux*|i*86-*-*bsd*|i*86-pc-gnu)
  1.5108 +                if test "$GCC" = yes; then
  1.5109 +                    CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections"
  1.5110 +                    LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
  1.5111 +                fi
  1.5112 +                ;;
  1.5113 +            *)
  1.5114 +                ;;
  1.5115 +            esac
  1.5116 +
  1.5117 +            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5118 +/* end confdefs.h.  */
  1.5119 +
  1.5120 +int
  1.5121 +main ()
  1.5122 +{
  1.5123 +
  1.5124 +  ;
  1.5125 +  return 0;
  1.5126 +}
  1.5127 +_ACEOF
  1.5128 +if ac_fn_c_try_link "$LINENO"; then :
  1.5129 +  CHECK_STATIC_OPT_FLAG=yes
  1.5130 +else
  1.5131 +  CHECK_STATIC_OPT_FLAG=no
  1.5132 +fi
  1.5133 +rm -f core conftest.err conftest.$ac_objext \
  1.5134 +    conftest$ac_exeext conftest.$ac_ext
  1.5135 +            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_STATIC_OPT_FLAG" >&5
  1.5136 +$as_echo "$CHECK_STATIC_OPT_FLAG" >&6; }
  1.5137 +            if test "$CHECK_STATIC_OPT_FLAG" = no; then
  1.5138 +                CPPFLAGS="${OLD_CPPFLAGS}"
  1.5139 +                LDFLAGS="${OLD_LDFLAGS}"
  1.5140 +            fi
  1.5141 +        fi
  1.5142 +    fi
  1.5143 +fi
  1.5144 +
  1.5145 +
  1.5146 +# Check whether to enable auto cleanup of libraries
  1.5147 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5
  1.5148 +$as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; }
  1.5149 +enabled=no
  1.5150 +UCLN_NO_AUTO_CLEANUP=1
  1.5151 +# Check whether --enable-auto-cleanup was given.
  1.5152 +if test "${enable_auto_cleanup+set}" = set; then :
  1.5153 +  enableval=$enable_auto_cleanup;  case "${enableval}" in
  1.5154 +         yes) enabled=yes;
  1.5155 +         CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DUCLN_NO_AUTO_CLEANUP=0";
  1.5156 +         UCLN_NO_AUTO_CLEANUP=0
  1.5157 +          ;;
  1.5158 +         *) ;;
  1.5159 +    esac
  1.5160 +fi
  1.5161 +
  1.5162 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5163 +$as_echo "$enabled" >&6; }
  1.5164 +
  1.5165 +
  1.5166 +# MSVC floating-point option
  1.5167 +MSVC_RELEASE_FLAG=""
  1.5168 +if test $enabled = yes
  1.5169 +then
  1.5170 +    if test $icu_cv_host_frag = mh-cygwin-msvc -o $icu_cv_host_frag = mh-msys-msvc
  1.5171 +    then
  1.5172 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5173 +/* end confdefs.h.  */
  1.5174 +
  1.5175 +    #if defined _MSC_VER && _MSC_VER >= 1400
  1.5176 +    #else
  1.5177 +    Microsoft Visual C++ < 2005
  1.5178 +    #endif
  1.5179 +
  1.5180 +int
  1.5181 +main ()
  1.5182 +{
  1.5183 +
  1.5184 +  ;
  1.5185 +  return 0;
  1.5186 +}
  1.5187 +_ACEOF
  1.5188 +if ac_fn_c_try_compile "$LINENO"; then :
  1.5189 +  MSVC_RELEASE_FLAG="/fp:precise"
  1.5190 +else
  1.5191 +  MSVC_RELEASE_FLAG="/Op"
  1.5192 +fi
  1.5193 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5194 +
  1.5195 +        CFLAGS="${CFLAGS} ${MSVC_RELEASE_FLAG}"
  1.5196 +        CXXFLAGS="${CXXFLAGS} ${MSVC_RELEASE_FLAG}"
  1.5197 +    fi
  1.5198 +fi
  1.5199 +
  1.5200 +# Check whether to enabled draft APIs
  1.5201 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5
  1.5202 +$as_echo_n "checking whether to enable draft APIs... " >&6; }
  1.5203 +enabled=yes
  1.5204 +U_DEFAULT_SHOW_DRAFT=1
  1.5205 +# Check whether --enable-draft was given.
  1.5206 +if test "${enable_draft+set}" = set; then :
  1.5207 +  enableval=$enable_draft;  case "${enableval}" in
  1.5208 +         no) enabled=no; U_DEFAULT_SHOW_DRAFT=0;
  1.5209 +         CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEFAULT_SHOW_DRAFT=0"
  1.5210 +          ;;
  1.5211 +         *) ;;
  1.5212 +    esac
  1.5213 +fi
  1.5214 +
  1.5215 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5216 +$as_echo "$enabled" >&6; }
  1.5217 +# Make sure that we can use draft API in ICU.
  1.5218 +if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
  1.5219 +    CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_SHOW_DRAFT_API"
  1.5220 +fi
  1.5221 +
  1.5222 +
  1.5223 +if test -n "$ac_tool_prefix"; then
  1.5224 +  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  1.5225 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  1.5226 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5227 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5228 +if ${ac_cv_prog_RANLIB+:} false; then :
  1.5229 +  $as_echo_n "(cached) " >&6
  1.5230 +else
  1.5231 +  if test -n "$RANLIB"; then
  1.5232 +  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  1.5233 +else
  1.5234 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5235 +for as_dir in $PATH
  1.5236 +do
  1.5237 +  IFS=$as_save_IFS
  1.5238 +  test -z "$as_dir" && as_dir=.
  1.5239 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5240 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5241 +    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  1.5242 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5243 +    break 2
  1.5244 +  fi
  1.5245 +done
  1.5246 +  done
  1.5247 +IFS=$as_save_IFS
  1.5248 +
  1.5249 +fi
  1.5250 +fi
  1.5251 +RANLIB=$ac_cv_prog_RANLIB
  1.5252 +if test -n "$RANLIB"; then
  1.5253 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  1.5254 +$as_echo "$RANLIB" >&6; }
  1.5255 +else
  1.5256 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5257 +$as_echo "no" >&6; }
  1.5258 +fi
  1.5259 +
  1.5260 +
  1.5261 +fi
  1.5262 +if test -z "$ac_cv_prog_RANLIB"; then
  1.5263 +  ac_ct_RANLIB=$RANLIB
  1.5264 +  # Extract the first word of "ranlib", so it can be a program name with args.
  1.5265 +set dummy ranlib; ac_word=$2
  1.5266 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5267 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5268 +if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  1.5269 +  $as_echo_n "(cached) " >&6
  1.5270 +else
  1.5271 +  if test -n "$ac_ct_RANLIB"; then
  1.5272 +  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  1.5273 +else
  1.5274 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5275 +for as_dir in $PATH
  1.5276 +do
  1.5277 +  IFS=$as_save_IFS
  1.5278 +  test -z "$as_dir" && as_dir=.
  1.5279 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5280 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5281 +    ac_cv_prog_ac_ct_RANLIB="ranlib"
  1.5282 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5283 +    break 2
  1.5284 +  fi
  1.5285 +done
  1.5286 +  done
  1.5287 +IFS=$as_save_IFS
  1.5288 +
  1.5289 +fi
  1.5290 +fi
  1.5291 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  1.5292 +if test -n "$ac_ct_RANLIB"; then
  1.5293 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  1.5294 +$as_echo "$ac_ct_RANLIB" >&6; }
  1.5295 +else
  1.5296 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5297 +$as_echo "no" >&6; }
  1.5298 +fi
  1.5299 +
  1.5300 +  if test "x$ac_ct_RANLIB" = x; then
  1.5301 +    RANLIB=":"
  1.5302 +  else
  1.5303 +    case $cross_compiling:$ac_tool_warned in
  1.5304 +yes:)
  1.5305 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5306 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5307 +ac_tool_warned=yes ;;
  1.5308 +esac
  1.5309 +    RANLIB=$ac_ct_RANLIB
  1.5310 +  fi
  1.5311 +else
  1.5312 +  RANLIB="$ac_cv_prog_RANLIB"
  1.5313 +fi
  1.5314 +
  1.5315 +
  1.5316 +# look for 'ar' the proper way
  1.5317 +if test -n "$ac_tool_prefix"; then
  1.5318 +  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  1.5319 +set dummy ${ac_tool_prefix}ar; ac_word=$2
  1.5320 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5321 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5322 +if ${ac_cv_prog_AR+:} false; then :
  1.5323 +  $as_echo_n "(cached) " >&6
  1.5324 +else
  1.5325 +  if test -n "$AR"; then
  1.5326 +  ac_cv_prog_AR="$AR" # Let the user override the test.
  1.5327 +else
  1.5328 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5329 +for as_dir in $PATH
  1.5330 +do
  1.5331 +  IFS=$as_save_IFS
  1.5332 +  test -z "$as_dir" && as_dir=.
  1.5333 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5334 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5335 +    ac_cv_prog_AR="${ac_tool_prefix}ar"
  1.5336 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5337 +    break 2
  1.5338 +  fi
  1.5339 +done
  1.5340 +  done
  1.5341 +IFS=$as_save_IFS
  1.5342 +
  1.5343 +fi
  1.5344 +fi
  1.5345 +AR=$ac_cv_prog_AR
  1.5346 +if test -n "$AR"; then
  1.5347 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  1.5348 +$as_echo "$AR" >&6; }
  1.5349 +else
  1.5350 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5351 +$as_echo "no" >&6; }
  1.5352 +fi
  1.5353 +
  1.5354 +
  1.5355 +fi
  1.5356 +if test -z "$ac_cv_prog_AR"; then
  1.5357 +  ac_ct_AR=$AR
  1.5358 +  # Extract the first word of "ar", so it can be a program name with args.
  1.5359 +set dummy ar; ac_word=$2
  1.5360 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  1.5361 +$as_echo_n "checking for $ac_word... " >&6; }
  1.5362 +if ${ac_cv_prog_ac_ct_AR+:} false; then :
  1.5363 +  $as_echo_n "(cached) " >&6
  1.5364 +else
  1.5365 +  if test -n "$ac_ct_AR"; then
  1.5366 +  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  1.5367 +else
  1.5368 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.5369 +for as_dir in $PATH
  1.5370 +do
  1.5371 +  IFS=$as_save_IFS
  1.5372 +  test -z "$as_dir" && as_dir=.
  1.5373 +    for ac_exec_ext in '' $ac_executable_extensions; do
  1.5374 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  1.5375 +    ac_cv_prog_ac_ct_AR="ar"
  1.5376 +    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  1.5377 +    break 2
  1.5378 +  fi
  1.5379 +done
  1.5380 +  done
  1.5381 +IFS=$as_save_IFS
  1.5382 +
  1.5383 +fi
  1.5384 +fi
  1.5385 +ac_ct_AR=$ac_cv_prog_ac_ct_AR
  1.5386 +if test -n "$ac_ct_AR"; then
  1.5387 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  1.5388 +$as_echo "$ac_ct_AR" >&6; }
  1.5389 +else
  1.5390 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5391 +$as_echo "no" >&6; }
  1.5392 +fi
  1.5393 +
  1.5394 +  if test "x$ac_ct_AR" = x; then
  1.5395 +    AR="false"
  1.5396 +  else
  1.5397 +    case $cross_compiling:$ac_tool_warned in
  1.5398 +yes:)
  1.5399 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  1.5400 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  1.5401 +ac_tool_warned=yes ;;
  1.5402 +esac
  1.5403 +    AR=$ac_ct_AR
  1.5404 +  fi
  1.5405 +else
  1.5406 +  AR="$ac_cv_prog_AR"
  1.5407 +fi
  1.5408 +
  1.5409 +
  1.5410 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5
  1.5411 +$as_echo_n "checking whether to enable renaming of symbols... " >&6; }
  1.5412 +enabled=yes
  1.5413 +U_DISABLE_RENAMING=0
  1.5414 +# Check whether --enable-renaming was given.
  1.5415 +if test "${enable_renaming+set}" = set; then :
  1.5416 +  enableval=$enable_renaming;  case "${enableval}" in
  1.5417 +	     yes|"") enabled=yes ;;
  1.5418 +	     no) enabled=no; U_DISABLE_RENAMING=1;
  1.5419 +             UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_DISABLE_RENAMING=1"
  1.5420 +              ;;
  1.5421 +	     *) ;;
  1.5422 +    esac
  1.5423 +fi
  1.5424 +
  1.5425 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5426 +$as_echo "$enabled" >&6; }
  1.5427 +
  1.5428 +
  1.5429 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5
  1.5430 +$as_echo_n "checking whether to enable function and data tracing... " >&6; }
  1.5431 +enabled=no
  1.5432 +U_ENABLE_TRACING=0
  1.5433 +# Check whether --enable-tracing was given.
  1.5434 +if test "${enable_tracing+set}" = set; then :
  1.5435 +  enableval=$enable_tracing;  case "${enableval}" in
  1.5436 +	     yes|"") enabled=yes;
  1.5437 +                     CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_TRACING=1";
  1.5438 +                     U_ENABLE_TRACING=1 ;;
  1.5439 +	     no) enabled=no; U_ENABLE_TRACING=0 ;;
  1.5440 +	     *) ;;
  1.5441 +    esac
  1.5442 +fi
  1.5443 +
  1.5444 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
  1.5445 +$as_echo "$enabled" >&6; }
  1.5446 +
  1.5447 +
  1.5448 +# check if elf.h is present.
  1.5449 +for ac_header in elf.h
  1.5450 +do :
  1.5451 +  ac_fn_c_check_header_mongrel "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
  1.5452 +if test "x$ac_cv_header_elf_h" = xyes; then :
  1.5453 +  cat >>confdefs.h <<_ACEOF
  1.5454 +#define HAVE_ELF_H 1
  1.5455 +_ACEOF
  1.5456 +
  1.5457 +fi
  1.5458 +
  1.5459 +done
  1.5460 +
  1.5461 +if test "x$ac_cv_header_elf_h" = "xyes"; then
  1.5462 +    CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1";
  1.5463 +fi
  1.5464 +
  1.5465 +U_ENABLE_DYLOAD=1
  1.5466 +enable=yes
  1.5467 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5
  1.5468 +$as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; }
  1.5469 +# Check whether --enable-dyload was given.
  1.5470 +if test "${enable_dyload+set}" = set; then :
  1.5471 +  enableval=$enable_dyload;  case "${enableval}" in
  1.5472 +	     yes|"")
  1.5473 +		     U_ENABLE_DYLOAD=1
  1.5474 +                     enable=yes
  1.5475 +                     ;;
  1.5476 +	     no)
  1.5477 +	     	 U_ENABLE_DYLOAD=0;
  1.5478 +                 enable=no;
  1.5479 +                 CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_DYLOAD=0";
  1.5480 +                 ;;
  1.5481 +	     *) ;;
  1.5482 +    esac
  1.5483 +fi
  1.5484 +
  1.5485 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable" >&5
  1.5486 +$as_echo "$enable" >&6; }
  1.5487 +
  1.5488 +
  1.5489 +if test "$enable" = "yes"; then
  1.5490 +   for ac_header in dlfcn.h
  1.5491 +do :
  1.5492 +  ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
  1.5493 +if test "x$ac_cv_header_dlfcn_h" = xyes; then :
  1.5494 +  cat >>confdefs.h <<_ACEOF
  1.5495 +#define HAVE_DLFCN_H 1
  1.5496 +_ACEOF
  1.5497 +
  1.5498 +fi
  1.5499 +
  1.5500 +done
  1.5501 +
  1.5502 +   #AC_MSG_RESULT($enabled)
  1.5503 +   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  1.5504 +$as_echo_n "checking for library containing dlopen... " >&6; }
  1.5505 +if ${ac_cv_search_dlopen+:} false; then :
  1.5506 +  $as_echo_n "(cached) " >&6
  1.5507 +else
  1.5508 +  ac_func_search_save_LIBS=$LIBS
  1.5509 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5510 +/* end confdefs.h.  */
  1.5511 +
  1.5512 +/* Override any GCC internal prototype to avoid an error.
  1.5513 +   Use char because int might match the return type of a GCC
  1.5514 +   builtin and then its argument prototype would still apply.  */
  1.5515 +#ifdef __cplusplus
  1.5516 +extern "C"
  1.5517 +#endif
  1.5518 +char dlopen ();
  1.5519 +int
  1.5520 +main ()
  1.5521 +{
  1.5522 +return dlopen ();
  1.5523 +  ;
  1.5524 +  return 0;
  1.5525 +}
  1.5526 +_ACEOF
  1.5527 +for ac_lib in '' dl; do
  1.5528 +  if test -z "$ac_lib"; then
  1.5529 +    ac_res="none required"
  1.5530 +  else
  1.5531 +    ac_res=-l$ac_lib
  1.5532 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  1.5533 +  fi
  1.5534 +  if ac_fn_c_try_link "$LINENO"; then :
  1.5535 +  ac_cv_search_dlopen=$ac_res
  1.5536 +fi
  1.5537 +rm -f core conftest.err conftest.$ac_objext \
  1.5538 +    conftest$ac_exeext
  1.5539 +  if ${ac_cv_search_dlopen+:} false; then :
  1.5540 +  break
  1.5541 +fi
  1.5542 +done
  1.5543 +if ${ac_cv_search_dlopen+:} false; then :
  1.5544 +
  1.5545 +else
  1.5546 +  ac_cv_search_dlopen=no
  1.5547 +fi
  1.5548 +rm conftest.$ac_ext
  1.5549 +LIBS=$ac_func_search_save_LIBS
  1.5550 +fi
  1.5551 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  1.5552 +$as_echo "$ac_cv_search_dlopen" >&6; }
  1.5553 +ac_res=$ac_cv_search_dlopen
  1.5554 +if test "$ac_res" != no; then :
  1.5555 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  1.5556 +
  1.5557 +fi
  1.5558 +
  1.5559 +   for ac_func in dlopen
  1.5560 +do :
  1.5561 +  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  1.5562 +if test "x$ac_cv_func_dlopen" = xyes; then :
  1.5563 +  cat >>confdefs.h <<_ACEOF
  1.5564 +#define HAVE_DLOPEN 1
  1.5565 +_ACEOF
  1.5566 +
  1.5567 +fi
  1.5568 +done
  1.5569 +
  1.5570 +
  1.5571 +   if test "x$ac_cv_func_dlopen" != xyes; then
  1.5572 +      CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DHAVE_DLOPEN=0"
  1.5573 +   fi
  1.5574 +fi
  1.5575 +
  1.5576 +# Check for miscellanous functions.
  1.5577 +# So, use for putil / tools only.
  1.5578 +# Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY
  1.5579 +for ac_func in gettimeofday
  1.5580 +do :
  1.5581 +  ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
  1.5582 +if test "x$ac_cv_func_gettimeofday" = xyes; then :
  1.5583 +  cat >>confdefs.h <<_ACEOF
  1.5584 +#define HAVE_GETTIMEOFDAY 1
  1.5585 +_ACEOF
  1.5586 +
  1.5587 +fi
  1.5588 +done
  1.5589 +
  1.5590 +
  1.5591 +
  1.5592 +# Check whether to use the evil rpath or not
  1.5593 +# Check whether --enable-rpath was given.
  1.5594 +if test "${enable_rpath+set}" = set; then :
  1.5595 +  enableval=$enable_rpath;  case "${enableval}" in
  1.5596 +	     yes|"") ENABLE_RPATH=YES ;;
  1.5597 +	     no) ;;
  1.5598 +	     *) ;;
  1.5599 +    esac
  1.5600 +else
  1.5601 +  ENABLE_RPATH=NO
  1.5602 +
  1.5603 +fi
  1.5604 +
  1.5605 +
  1.5606 +
  1.5607 +
  1.5608 +
  1.5609 +ac_ext=cpp
  1.5610 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.5611 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5612 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5613 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.5614 +
  1.5615 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5
  1.5616 +$as_echo_n "checking if we have a C++ compiler... " >&6; }
  1.5617 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5618 +/* end confdefs.h.  */
  1.5619 +
  1.5620 +int
  1.5621 +main ()
  1.5622 +{
  1.5623 +
  1.5624 +  ;
  1.5625 +  return 0;
  1.5626 +}
  1.5627 +_ACEOF
  1.5628 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.5629 +  cxx_okay=yes
  1.5630 +else
  1.5631 +  cxx_okay=no
  1.5632 +fi
  1.5633 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5634 +if test $cxx_okay = yes
  1.5635 +then
  1.5636 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Good" >&5
  1.5637 +$as_echo "Good" >&6; }
  1.5638 +else
  1.5639 +	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  1.5640 +$as_echo "no" >&6; }
  1.5641 +	as_fn_error $? "C++ compiler $CXX does not work or no compiler found" "$LINENO" 5
  1.5642 +fi
  1.5643 +
  1.5644 +if [ "$GXX" = yes ]; then
  1.5645 +    # if CXXFLAGS does not have a "-std=" setting, set it now to -std=c++0x,
  1.5646 +    # and check that the compiler still works.
  1.5647 +    if ! echo "$CXXFLAGS" | grep '\-std=' >/dev/null 2>&1; then
  1.5648 +        OLD_CXXFLAGS="${CXXFLAGS}"
  1.5649 +        CXXFLAGS="$CXXFLAGS --std=c++0x"
  1.5650 +        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++11 compiler" >&5
  1.5651 +$as_echo_n "checking if we have a C++11 compiler... " >&6; }
  1.5652 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5653 +/* end confdefs.h.  */
  1.5654 +
  1.5655 +int
  1.5656 +main ()
  1.5657 +{
  1.5658 +
  1.5659 +  ;
  1.5660 +  return 0;
  1.5661 +}
  1.5662 +_ACEOF
  1.5663 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.5664 +  cxx11_okay=yes
  1.5665 +else
  1.5666 +  cxx11_okay=no
  1.5667 +fi
  1.5668 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5669 +        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx11_okay" >&5
  1.5670 +$as_echo "$cxx11_okay" >&6; }
  1.5671 +        if [ $cxx11_okay = yes ]; then
  1.5672 +            { $as_echo "$as_me:${as_lineno-$LINENO}: Adding CXXFLAGS option --std=c++0x" >&5
  1.5673 +$as_echo "$as_me: Adding CXXFLAGS option --std=c++0x" >&6;}
  1.5674 +            UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} --std=c++0x"
  1.5675 +        else
  1.5676 +            CXXFLAGS="$OLD_CXXFLAGS"
  1.5677 +        fi
  1.5678 +    fi
  1.5679 +fi
  1.5680 +
  1.5681 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if #include <string> works" >&5
  1.5682 +$as_echo_n "checking if #include <string> works... " >&6; }
  1.5683 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5684 +/* end confdefs.h.  */
  1.5685 +#include <string>
  1.5686 +int
  1.5687 +main ()
  1.5688 +{
  1.5689 +
  1.5690 +  ;
  1.5691 +  return 0;
  1.5692 +}
  1.5693 +_ACEOF
  1.5694 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.5695 +  ac_cv_header_stdstring=yes
  1.5696 +else
  1.5697 +  ac_cv_header_stdstring=no
  1.5698 +fi
  1.5699 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5700 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdstring" >&5
  1.5701 +$as_echo "$ac_cv_header_stdstring" >&6; }
  1.5702 +if test $ac_cv_header_stdstring = yes
  1.5703 +then
  1.5704 +	U_HAVE_STD_STRING=1
  1.5705 +else
  1.5706 +        U_HAVE_STD_STRING=0
  1.5707 +        CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STD_STRING=0"
  1.5708 +fi
  1.5709 +
  1.5710 +
  1.5711 +
  1.5712 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if #include <atomic> works" >&5
  1.5713 +$as_echo_n "checking if #include <atomic> works... " >&6; }
  1.5714 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5715 +/* end confdefs.h.  */
  1.5716 +#include <atomic>
  1.5717 +int
  1.5718 +main ()
  1.5719 +{
  1.5720 +
  1.5721 +  ;
  1.5722 +  return 0;
  1.5723 +}
  1.5724 +_ACEOF
  1.5725 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.5726 +  ac_cv_header_atomic=yes
  1.5727 +else
  1.5728 +  ac_cv_header_atomic=no
  1.5729 +fi
  1.5730 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.5731 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_atomic" >&5
  1.5732 +$as_echo "$ac_cv_header_atomic" >&6; }
  1.5733 +if test $ac_cv_header_atomic = yes
  1.5734 +then
  1.5735 +	U_HAVE_ATOMIC=1
  1.5736 +else
  1.5737 +        U_HAVE_ATOMIC=0
  1.5738 +fi
  1.5739 +# Make this available via CPPFLAGS
  1.5740 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_ATOMIC=${U_HAVE_ATOMIC}"
  1.5741 +
  1.5742 +
  1.5743 +ac_ext=c
  1.5744 +ac_cpp='$CPP $CPPFLAGS'
  1.5745 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.5746 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.5747 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.5748 +
  1.5749 +
  1.5750 +# Always build ICU with multi-threading support.
  1.5751 +threads=true
  1.5752 +ICU_USE_THREADS=1
  1.5753 +OLD_LIBS=${LIBS}
  1.5754 +
  1.5755 +if test $threads = true; then
  1.5756 +  # For Compaq Tru64 (OSF1), we must look for pthread_attr_init
  1.5757 +  # and must do this before seaching for pthread_mutex_destroy, or
  1.5758 +  # we will pick up libpthreads.so not libpthread.so
  1.5759 +  # If this fails, then we must test for HPUX specials, before
  1.5760 +  # moving on to a more generic test
  1.5761 +
  1.5762 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
  1.5763 +$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
  1.5764 +if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
  1.5765 +  $as_echo_n "(cached) " >&6
  1.5766 +else
  1.5767 +  ac_check_lib_save_LIBS=$LIBS
  1.5768 +LIBS="-lpthread  $LIBS"
  1.5769 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5770 +/* end confdefs.h.  */
  1.5771 +
  1.5772 +/* Override any GCC internal prototype to avoid an error.
  1.5773 +   Use char because int might match the return type of a GCC
  1.5774 +   builtin and then its argument prototype would still apply.  */
  1.5775 +#ifdef __cplusplus
  1.5776 +extern "C"
  1.5777 +#endif
  1.5778 +char pthread_attr_init ();
  1.5779 +int
  1.5780 +main ()
  1.5781 +{
  1.5782 +return pthread_attr_init ();
  1.5783 +  ;
  1.5784 +  return 0;
  1.5785 +}
  1.5786 +_ACEOF
  1.5787 +if ac_fn_c_try_link "$LINENO"; then :
  1.5788 +  ac_cv_lib_pthread_pthread_attr_init=yes
  1.5789 +else
  1.5790 +  ac_cv_lib_pthread_pthread_attr_init=no
  1.5791 +fi
  1.5792 +rm -f core conftest.err conftest.$ac_objext \
  1.5793 +    conftest$ac_exeext conftest.$ac_ext
  1.5794 +LIBS=$ac_check_lib_save_LIBS
  1.5795 +fi
  1.5796 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
  1.5797 +$as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
  1.5798 +if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
  1.5799 +  cat >>confdefs.h <<_ACEOF
  1.5800 +#define HAVE_LIBPTHREAD 1
  1.5801 +_ACEOF
  1.5802 +
  1.5803 +  LIBS="-lpthread $LIBS"
  1.5804 +
  1.5805 +fi
  1.5806 +
  1.5807 +  if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
  1.5808 +    ICU_USE_THREADS=1
  1.5809 +  else
  1.5810 +    # Locate the right library for POSIX threads. We look for the
  1.5811 +    # symbols in the libraries first, because on Solaris libc provides
  1.5812 +    # pthread_create but libpthread has the real code :(
  1.5813 +    # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
  1.5814 +    # FreeBSD users may need libpthread if they do not have libc_r.
  1.5815 +
  1.5816 +
  1.5817 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5
  1.5818 +$as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
  1.5819 +if ${ac_cv_search_pthread_mutex_destroy+:} false; then :
  1.5820 +  $as_echo_n "(cached) " >&6
  1.5821 +else
  1.5822 +  ac_func_search_save_LIBS="$LIBS"
  1.5823 +ac_cv_search_pthread_mutex_destroy="no"
  1.5824 +for i in pthread pthreads c_r ; do
  1.5825 +LIBS="-l$i  $ac_func_search_save_LIBS"
  1.5826 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5827 +/* end confdefs.h.  */
  1.5828 +
  1.5829 +/* Override any GCC internal prototype to avoid an error.
  1.5830 +   Use char because int might match the return type of a GCC
  1.5831 +   builtin and then its argument prototype would still apply.  */
  1.5832 +#ifdef __cplusplus
  1.5833 +extern "C"
  1.5834 +#endif
  1.5835 +char pthread_mutex_destroy ();
  1.5836 +int
  1.5837 +main ()
  1.5838 +{
  1.5839 +return pthread_mutex_destroy ();
  1.5840 +  ;
  1.5841 +  return 0;
  1.5842 +}
  1.5843 +_ACEOF
  1.5844 +if ac_fn_c_try_link "$LINENO"; then :
  1.5845 +  ac_cv_search_pthread_mutex_destroy="-l$i"
  1.5846 +break
  1.5847 +fi
  1.5848 +rm -f core conftest.err conftest.$ac_objext \
  1.5849 +    conftest$ac_exeext conftest.$ac_ext
  1.5850 +done
  1.5851 +if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
  1.5852 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5853 +/* end confdefs.h.  */
  1.5854 +
  1.5855 +/* Override any GCC internal prototype to avoid an error.
  1.5856 +   Use char because int might match the return type of a GCC
  1.5857 +   builtin and then its argument prototype would still apply.  */
  1.5858 +#ifdef __cplusplus
  1.5859 +extern "C"
  1.5860 +#endif
  1.5861 +char pthread_mutex_destroy ();
  1.5862 +int
  1.5863 +main ()
  1.5864 +{
  1.5865 +return pthread_mutex_destroy ();
  1.5866 +  ;
  1.5867 +  return 0;
  1.5868 +}
  1.5869 +_ACEOF
  1.5870 +if ac_fn_c_try_link "$LINENO"; then :
  1.5871 +  ac_cv_search_pthread_mutex_destroy="none required"
  1.5872 +fi
  1.5873 +rm -f core conftest.err conftest.$ac_objext \
  1.5874 +    conftest$ac_exeext conftest.$ac_ext
  1.5875 +fi
  1.5876 +LIBS="$ac_func_search_save_LIBS"
  1.5877 +fi
  1.5878 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5
  1.5879 +$as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
  1.5880 +if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
  1.5881 +  test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"
  1.5882 +
  1.5883 +else :
  1.5884 +
  1.5885 +fi
  1.5886 +
  1.5887 +    if test "$ac_cv_search_pthread_mutex_destroy" != no; then
  1.5888 +      ICU_USE_THREADS=1
  1.5889 +    else
  1.5890 +      # For HP 11
  1.5891 +      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
  1.5892 +$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
  1.5893 +if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
  1.5894 +  $as_echo_n "(cached) " >&6
  1.5895 +else
  1.5896 +  ac_check_lib_save_LIBS=$LIBS
  1.5897 +LIBS="-lpthread  $LIBS"
  1.5898 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.5899 +/* end confdefs.h.  */
  1.5900 +
  1.5901 +/* Override any GCC internal prototype to avoid an error.
  1.5902 +   Use char because int might match the return type of a GCC
  1.5903 +   builtin and then its argument prototype would still apply.  */
  1.5904 +#ifdef __cplusplus
  1.5905 +extern "C"
  1.5906 +#endif
  1.5907 +char pthread_mutex_init ();
  1.5908 +int
  1.5909 +main ()
  1.5910 +{
  1.5911 +return pthread_mutex_init ();
  1.5912 +  ;
  1.5913 +  return 0;
  1.5914 +}
  1.5915 +_ACEOF
  1.5916 +if ac_fn_c_try_link "$LINENO"; then :
  1.5917 +  ac_cv_lib_pthread_pthread_mutex_init=yes
  1.5918 +else
  1.5919 +  ac_cv_lib_pthread_pthread_mutex_init=no
  1.5920 +fi
  1.5921 +rm -f core conftest.err conftest.$ac_objext \
  1.5922 +    conftest$ac_exeext conftest.$ac_ext
  1.5923 +LIBS=$ac_check_lib_save_LIBS
  1.5924 +fi
  1.5925 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
  1.5926 +$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
  1.5927 +if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
  1.5928 +  cat >>confdefs.h <<_ACEOF
  1.5929 +#define HAVE_LIBPTHREAD 1
  1.5930 +_ACEOF
  1.5931 +
  1.5932 +  LIBS="-lpthread $LIBS"
  1.5933 +
  1.5934 +fi
  1.5935 +
  1.5936 +      if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
  1.5937 +        ICU_USE_THREADS=1
  1.5938 +      fi
  1.5939 +    fi
  1.5940 +
  1.5941 +    ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
  1.5942 +if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :
  1.5943 +
  1.5944 +fi
  1.5945 +
  1.5946 +
  1.5947 +    if test $ac_cv_func_pthread_mutex_lock = yes; then
  1.5948 +      ICU_USE_THREADS=1
  1.5949 +    fi
  1.5950 +  fi
  1.5951 +  # Check to see if we are using CygWin with MSVC
  1.5952 +  case "${host}" in
  1.5953 +  *-pc-cygwin*|*-pc-mingw*)
  1.5954 +    # For gcc, the thread options are set by mh-mingw/mh-cygwin
  1.5955 +    # For msvc, the thread options are set by runConfigureICU
  1.5956 +    ICU_USE_THREADS=1
  1.5957 +    ;;
  1.5958 +  *-*-hpux*)
  1.5959 +    # Add -mt because it does several nice things on newer compilers.
  1.5960 +    case "${icu_cv_host_frag}" in
  1.5961 +      mh-hpux-acc)
  1.5962 +        OLD_CXXFLAGS="${CXXFLAGS}"
  1.5963 +        CXXFLAGS="${CXXFLAGS} -mt"
  1.5964 +        if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
  1.5965 +           CXXFLAGS="${OLD_CXXFLAGS}"
  1.5966 +        else
  1.5967 +           UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt"
  1.5968 +        fi
  1.5969 +      ;;
  1.5970 +    esac
  1.5971 +    ;;
  1.5972 +  *-*-solaris*)
  1.5973 +    case "${icu_cv_host_frag}" in
  1.5974 +      mh-solaris)
  1.5975 +           LIBS="${LIBS} -mt"
  1.5976 +      ;;
  1.5977 +    esac
  1.5978 +    ;;
  1.5979 +  esac
  1.5980 +fi
  1.5981 +
  1.5982 +# Check whether --enable-weak-threads was given.
  1.5983 +if test "${enable_weak_threads+set}" = set; then :
  1.5984 +  enableval=$enable_weak_threads; case "${enableval}" in
  1.5985 +		yes)
  1.5986 +            LIB_THREAD="${LIBS%${OLD_LIBS}}"
  1.5987 +            LIBS=${OLD_LIBS}
  1.5988 +            ;;
  1.5989 +		no)  ;;
  1.5990 +		*) as_fn_error $? "bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;;
  1.5991 +		esac
  1.5992 +fi
  1.5993 +
  1.5994 +
  1.5995 +
  1.5996 +# Check for mmap()
  1.5997 +
  1.5998 +# The AC_FUNC_MMAP macro doesn't work properly.  It seems to be too specific.
  1.5999 +# Do this check instead.
  1.6000 +HAVE_MMAP=0
  1.6001 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5
  1.6002 +$as_echo_n "checking for mmap... " >&6; }
  1.6003 +if ${ac_cv_func_mmap_ok+:} false; then :
  1.6004 +  $as_echo_n "(cached) " >&6
  1.6005 +else
  1.6006 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6007 +/* end confdefs.h.  */
  1.6008 +#include <unistd.h>
  1.6009 +#include <sys/mman.h>
  1.6010 +#include <sys/stat.h>
  1.6011 +#include <fcntl.h>
  1.6012 +int
  1.6013 +main ()
  1.6014 +{
  1.6015 +mmap((void *)0, 0, PROT_READ, 0, 0, 0);
  1.6016 +  ;
  1.6017 +  return 0;
  1.6018 +}
  1.6019 +_ACEOF
  1.6020 +if ac_fn_c_try_link "$LINENO"; then :
  1.6021 +  ac_cv_func_mmap_ok=yes
  1.6022 +else
  1.6023 +  ac_cv_func_mmap_ok=no
  1.6024 +fi
  1.6025 +rm -f core conftest.err conftest.$ac_objext \
  1.6026 +    conftest$ac_exeext conftest.$ac_ext
  1.6027 +fi
  1.6028 +
  1.6029 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5
  1.6030 +$as_echo "$ac_cv_func_mmap_ok" >&6; }
  1.6031 +if test $ac_cv_func_mmap_ok = yes
  1.6032 +then
  1.6033 +    HAVE_MMAP=1
  1.6034 +else
  1.6035 +    CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_MMAP=0"
  1.6036 +fi
  1.6037 +
  1.6038 +
  1.6039 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5
  1.6040 +$as_echo_n "checking for genccode assembly... " >&6; }
  1.6041 +
  1.6042 +# Check to see if genccode can generate simple assembly.
  1.6043 +GENCCODE_ASSEMBLY=
  1.6044 +case "${host}" in
  1.6045 +*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
  1.6046 +    if test "$GCC" = yes; then
  1.6047 +        # We're using gcc, and the simple -a gcc command line works for genccode
  1.6048 +        GENCCODE_ASSEMBLY="-a gcc"
  1.6049 +    fi ;;
  1.6050 +i*86-*-solaris*)
  1.6051 +    if test "$GCC" = yes; then
  1.6052 +        # When using gcc, look if we're also using GNU as.
  1.6053 +        # When using GNU as, the simple -a gcc command line works for genccode.
  1.6054 +        asv=`"${CC}" -print-prog-name=as 2>/dev/null`
  1.6055 +        asv=`"${asv}" --version 2>/dev/null`
  1.6056 +        case "X${asv}" in
  1.6057 +        X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;
  1.6058 +        X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;
  1.6059 +        esac
  1.6060 +        unset asv
  1.6061 +    else
  1.6062 +        GENCCODE_ASSEMBLY="-a sun-x86"
  1.6063 +    fi ;;
  1.6064 +sparc-*-solaris*)
  1.6065 +    GENCCODE_ASSEMBLY="-a sun"
  1.6066 +    ;;
  1.6067 +ia64-*-hpux*)
  1.6068 +    GENCCODE_ASSEMBLY="-a aCC-ia64"
  1.6069 +    ;;
  1.6070 +esac
  1.6071 +
  1.6072 +
  1.6073 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5
  1.6074 +$as_echo "$GENCCODE_ASSEMBLY" >&6; }
  1.6075 +
  1.6076 +# Checks for header files
  1.6077 +for ac_header in inttypes.h
  1.6078 +do :
  1.6079 +  ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
  1.6080 +if test "x$ac_cv_header_inttypes_h" = xyes; then :
  1.6081 +  cat >>confdefs.h <<_ACEOF
  1.6082 +#define HAVE_INTTYPES_H 1
  1.6083 +_ACEOF
  1.6084 +
  1.6085 +fi
  1.6086 +
  1.6087 +done
  1.6088 +
  1.6089 +if test $ac_cv_header_inttypes_h = no; then
  1.6090 + U_HAVE_INTTYPES_H=0
  1.6091 + CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
  1.6092 +else
  1.6093 + U_HAVE_INTTYPES_H=1
  1.6094 +fi
  1.6095 +if test "$CC" = ccc; then
  1.6096 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5
  1.6097 +$as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
  1.6098 + case "${host}" in
  1.6099 +        alpha*-*-*) U_HAVE_INTTYPES_H=0;
  1.6100 +        CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
  1.6101 + esac
  1.6102 +fi
  1.6103 +
  1.6104 +
  1.6105 +
  1.6106 +for ac_header in dirent.h
  1.6107 +do :
  1.6108 +  ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
  1.6109 +if test "x$ac_cv_header_dirent_h" = xyes; then :
  1.6110 +  cat >>confdefs.h <<_ACEOF
  1.6111 +#define HAVE_DIRENT_H 1
  1.6112 +_ACEOF
  1.6113 +
  1.6114 +fi
  1.6115 +
  1.6116 +done
  1.6117 +
  1.6118 +if test $ac_cv_header_dirent_h = no; then
  1.6119 + U_HAVE_DIRENT_H=0
  1.6120 + CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_DIRENT_H=0"
  1.6121 +else
  1.6122 + U_HAVE_DIRENT_H=1
  1.6123 +fi
  1.6124 +
  1.6125 +
  1.6126 +
  1.6127 +# Check for endianness
  1.6128 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  1.6129 +$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  1.6130 +if ${ac_cv_c_bigendian+:} false; then :
  1.6131 +  $as_echo_n "(cached) " >&6
  1.6132 +else
  1.6133 +  ac_cv_c_bigendian=unknown
  1.6134 +    # See if we're dealing with a universal compiler.
  1.6135 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6136 +/* end confdefs.h.  */
  1.6137 +#ifndef __APPLE_CC__
  1.6138 +	       not a universal capable compiler
  1.6139 +	     #endif
  1.6140 +	     typedef int dummy;
  1.6141 +
  1.6142 +_ACEOF
  1.6143 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6144 +
  1.6145 +	# Check for potential -arch flags.  It is not universal unless
  1.6146 +	# there are at least two -arch flags with different values.
  1.6147 +	ac_arch=
  1.6148 +	ac_prev=
  1.6149 +	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  1.6150 +	 if test -n "$ac_prev"; then
  1.6151 +	   case $ac_word in
  1.6152 +	     i?86 | x86_64 | ppc | ppc64)
  1.6153 +	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  1.6154 +		 ac_arch=$ac_word
  1.6155 +	       else
  1.6156 +		 ac_cv_c_bigendian=universal
  1.6157 +		 break
  1.6158 +	       fi
  1.6159 +	       ;;
  1.6160 +	   esac
  1.6161 +	   ac_prev=
  1.6162 +	 elif test "x$ac_word" = "x-arch"; then
  1.6163 +	   ac_prev=arch
  1.6164 +	 fi
  1.6165 +       done
  1.6166 +fi
  1.6167 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6168 +    if test $ac_cv_c_bigendian = unknown; then
  1.6169 +      # See if sys/param.h defines the BYTE_ORDER macro.
  1.6170 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6171 +/* end confdefs.h.  */
  1.6172 +#include <sys/types.h>
  1.6173 +	     #include <sys/param.h>
  1.6174 +
  1.6175 +int
  1.6176 +main ()
  1.6177 +{
  1.6178 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  1.6179 +		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  1.6180 +		     && LITTLE_ENDIAN)
  1.6181 +	      bogus endian macros
  1.6182 +	     #endif
  1.6183 +
  1.6184 +  ;
  1.6185 +  return 0;
  1.6186 +}
  1.6187 +_ACEOF
  1.6188 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6189 +  # It does; now see whether it defined to BIG_ENDIAN or not.
  1.6190 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6191 +/* end confdefs.h.  */
  1.6192 +#include <sys/types.h>
  1.6193 +		#include <sys/param.h>
  1.6194 +
  1.6195 +int
  1.6196 +main ()
  1.6197 +{
  1.6198 +#if BYTE_ORDER != BIG_ENDIAN
  1.6199 +		 not big endian
  1.6200 +		#endif
  1.6201 +
  1.6202 +  ;
  1.6203 +  return 0;
  1.6204 +}
  1.6205 +_ACEOF
  1.6206 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6207 +  ac_cv_c_bigendian=yes
  1.6208 +else
  1.6209 +  ac_cv_c_bigendian=no
  1.6210 +fi
  1.6211 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6212 +fi
  1.6213 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6214 +    fi
  1.6215 +    if test $ac_cv_c_bigendian = unknown; then
  1.6216 +      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  1.6217 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6218 +/* end confdefs.h.  */
  1.6219 +#include <limits.h>
  1.6220 +
  1.6221 +int
  1.6222 +main ()
  1.6223 +{
  1.6224 +#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  1.6225 +	      bogus endian macros
  1.6226 +	     #endif
  1.6227 +
  1.6228 +  ;
  1.6229 +  return 0;
  1.6230 +}
  1.6231 +_ACEOF
  1.6232 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6233 +  # It does; now see whether it defined to _BIG_ENDIAN or not.
  1.6234 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6235 +/* end confdefs.h.  */
  1.6236 +#include <limits.h>
  1.6237 +
  1.6238 +int
  1.6239 +main ()
  1.6240 +{
  1.6241 +#ifndef _BIG_ENDIAN
  1.6242 +		 not big endian
  1.6243 +		#endif
  1.6244 +
  1.6245 +  ;
  1.6246 +  return 0;
  1.6247 +}
  1.6248 +_ACEOF
  1.6249 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6250 +  ac_cv_c_bigendian=yes
  1.6251 +else
  1.6252 +  ac_cv_c_bigendian=no
  1.6253 +fi
  1.6254 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6255 +fi
  1.6256 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6257 +    fi
  1.6258 +    if test $ac_cv_c_bigendian = unknown; then
  1.6259 +      # Compile a test program.
  1.6260 +      if test "$cross_compiling" = yes; then :
  1.6261 +  # Try to guess by grepping values from an object file.
  1.6262 +	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6263 +/* end confdefs.h.  */
  1.6264 +short int ascii_mm[] =
  1.6265 +		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  1.6266 +		short int ascii_ii[] =
  1.6267 +		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  1.6268 +		int use_ascii (int i) {
  1.6269 +		  return ascii_mm[i] + ascii_ii[i];
  1.6270 +		}
  1.6271 +		short int ebcdic_ii[] =
  1.6272 +		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  1.6273 +		short int ebcdic_mm[] =
  1.6274 +		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  1.6275 +		int use_ebcdic (int i) {
  1.6276 +		  return ebcdic_mm[i] + ebcdic_ii[i];
  1.6277 +		}
  1.6278 +		extern int foo;
  1.6279 +
  1.6280 +int
  1.6281 +main ()
  1.6282 +{
  1.6283 +return use_ascii (foo) == use_ebcdic (foo);
  1.6284 +  ;
  1.6285 +  return 0;
  1.6286 +}
  1.6287 +_ACEOF
  1.6288 +if ac_fn_c_try_compile "$LINENO"; then :
  1.6289 +  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  1.6290 +	      ac_cv_c_bigendian=yes
  1.6291 +	    fi
  1.6292 +	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  1.6293 +	      if test "$ac_cv_c_bigendian" = unknown; then
  1.6294 +		ac_cv_c_bigendian=no
  1.6295 +	      else
  1.6296 +		# finding both strings is unlikely to happen, but who knows?
  1.6297 +		ac_cv_c_bigendian=unknown
  1.6298 +	      fi
  1.6299 +	    fi
  1.6300 +fi
  1.6301 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.6302 +else
  1.6303 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6304 +/* end confdefs.h.  */
  1.6305 +$ac_includes_default
  1.6306 +int
  1.6307 +main ()
  1.6308 +{
  1.6309 +
  1.6310 +	     /* Are we little or big endian?  From Harbison&Steele.  */
  1.6311 +	     union
  1.6312 +	     {
  1.6313 +	       long int l;
  1.6314 +	       char c[sizeof (long int)];
  1.6315 +	     } u;
  1.6316 +	     u.l = 1;
  1.6317 +	     return u.c[sizeof (long int) - 1] == 1;
  1.6318 +
  1.6319 +  ;
  1.6320 +  return 0;
  1.6321 +}
  1.6322 +_ACEOF
  1.6323 +if ac_fn_c_try_run "$LINENO"; then :
  1.6324 +  ac_cv_c_bigendian=no
  1.6325 +else
  1.6326 +  ac_cv_c_bigendian=yes
  1.6327 +fi
  1.6328 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1.6329 +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  1.6330 +fi
  1.6331 +
  1.6332 +    fi
  1.6333 +fi
  1.6334 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  1.6335 +$as_echo "$ac_cv_c_bigendian" >&6; }
  1.6336 + case $ac_cv_c_bigendian in #(
  1.6337 +   yes)
  1.6338 +     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  1.6339 +;; #(
  1.6340 +   no)
  1.6341 +      ;; #(
  1.6342 +   universal)
  1.6343 +
  1.6344 +$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  1.6345 +
  1.6346 +     ;; #(
  1.6347 +   *)
  1.6348 +     as_fn_error $? "unknown endianness
  1.6349 + presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  1.6350 + esac
  1.6351 +
  1.6352 +if test $ac_cv_c_bigendian = no; then
  1.6353 +U_IS_BIG_ENDIAN=0
  1.6354 +U_ENDIAN_CHAR="l"
  1.6355 +else
  1.6356 +U_IS_BIG_ENDIAN=1
  1.6357 +U_ENDIAN_CHAR="b"
  1.6358 +fi
  1.6359 +
  1.6360 +
  1.6361 +# Do various POSIX related checks
  1.6362 +U_HAVE_NL_LANGINFO_CODESET=0
  1.6363 +U_NL_LANGINFO_CODESET=-1
  1.6364 +ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
  1.6365 +if test "x$ac_cv_func_nl_langinfo" = xyes; then :
  1.6366 +  U_HAVE_NL_LANGINFO=1
  1.6367 +else
  1.6368 +  U_HAVE_NL_LANGINFO=0
  1.6369 +fi
  1.6370 +
  1.6371 +if test $U_HAVE_NL_LANGINFO -eq 1; then
  1.6372 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5
  1.6373 +$as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
  1.6374 +if ${ac_cv_nl_langinfo_codeset+:} false; then :
  1.6375 +  $as_echo_n "(cached) " >&6
  1.6376 +else
  1.6377 +  ac_cv_nl_langinfo_codeset="unknown"
  1.6378 +  for a in CODESET _NL_CTYPE_CODESET_NAME; do
  1.6379 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6380 +/* end confdefs.h.  */
  1.6381 +#include <langinfo.h>
  1.6382 +int
  1.6383 +main ()
  1.6384 +{
  1.6385 +nl_langinfo($a);
  1.6386 +  ;
  1.6387 +  return 0;
  1.6388 +}
  1.6389 +_ACEOF
  1.6390 +if ac_fn_c_try_link "$LINENO"; then :
  1.6391 +  ac_cv_nl_langinfo_codeset="$a"; break
  1.6392 +fi
  1.6393 +rm -f core conftest.err conftest.$ac_objext \
  1.6394 +    conftest$ac_exeext conftest.$ac_ext
  1.6395 +  done
  1.6396 +fi
  1.6397 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5
  1.6398 +$as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
  1.6399 +  if test x$ac_cv_nl_langinfo_codeset != xunknown
  1.6400 +  then
  1.6401 +      U_HAVE_NL_LANGINFO_CODESET=1
  1.6402 +      U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset
  1.6403 +      if test "x${ac_cv_nl_langinfo_codeset}" != "xCODESET"
  1.6404 +      then
  1.6405 +        CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DNL_LANGINFO_CODESET=${ac_cv_nl_langinfo_codeset}"
  1.6406 +      fi
  1.6407 +  else
  1.6408 +      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_NL_LANGINFO_CODESET=0"
  1.6409 +  fi
  1.6410 +fi
  1.6411 +
  1.6412 +
  1.6413 +
  1.6414 +# Namespace support checks
  1.6415 +ac_ext=cpp
  1.6416 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.6417 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6418 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6419 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.6420 +
  1.6421 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5
  1.6422 +$as_echo_n "checking for namespace support... " >&6; }
  1.6423 +if ${ac_cv_namespace_ok+:} false; then :
  1.6424 +  $as_echo_n "(cached) " >&6
  1.6425 +else
  1.6426 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6427 +/* end confdefs.h.  */
  1.6428 +namespace x_version {void f(){}}
  1.6429 +    namespace x = x_version;
  1.6430 +    using namespace x_version;
  1.6431 +
  1.6432 +int
  1.6433 +main ()
  1.6434 +{
  1.6435 +f();
  1.6436 +  ;
  1.6437 +  return 0;
  1.6438 +}
  1.6439 +_ACEOF
  1.6440 +if ac_fn_cxx_try_link "$LINENO"; then :
  1.6441 +  ac_cv_namespace_ok=yes
  1.6442 +else
  1.6443 +  ac_cv_namespace_ok=no
  1.6444 +fi
  1.6445 +rm -f core conftest.err conftest.$ac_objext \
  1.6446 +    conftest$ac_exeext conftest.$ac_ext
  1.6447 +fi
  1.6448 +
  1.6449 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5
  1.6450 +$as_echo "$ac_cv_namespace_ok" >&6; }
  1.6451 +if test $ac_cv_namespace_ok = no
  1.6452 +then
  1.6453 +    as_fn_error $? "Namespace support is required to build ICU." "$LINENO" 5
  1.6454 +fi
  1.6455 +
  1.6456 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5
  1.6457 +$as_echo_n "checking for properly overriding new and delete... " >&6; }
  1.6458 +U_OVERRIDE_CXX_ALLOCATION=0
  1.6459 +U_HAVE_PLACEMENT_NEW=0
  1.6460 +if ${ac_cv_override_cxx_allocation_ok+:} false; then :
  1.6461 +  $as_echo_n "(cached) " >&6
  1.6462 +else
  1.6463 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6464 +/* end confdefs.h.  */
  1.6465 +#include <stdlib.h>
  1.6466 +    class UMemory {
  1.6467 +    public:
  1.6468 +    void *operator new(size_t size) {return malloc(size);}
  1.6469 +    void *operator new[](size_t size) {return malloc(size);}
  1.6470 +    void operator delete(void *p) {free(p);}
  1.6471 +    void operator delete[](void *p) {free(p);}
  1.6472 +    };
  1.6473 +
  1.6474 +int
  1.6475 +main ()
  1.6476 +{
  1.6477 +
  1.6478 +  ;
  1.6479 +  return 0;
  1.6480 +}
  1.6481 +_ACEOF
  1.6482 +if ac_fn_cxx_try_link "$LINENO"; then :
  1.6483 +  ac_cv_override_cxx_allocation_ok=yes
  1.6484 +else
  1.6485 +  ac_cv_override_cxx_allocation_ok=no
  1.6486 +fi
  1.6487 +rm -f core conftest.err conftest.$ac_objext \
  1.6488 +    conftest$ac_exeext conftest.$ac_ext
  1.6489 +fi
  1.6490 +
  1.6491 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5
  1.6492 +$as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
  1.6493 +if test $ac_cv_override_cxx_allocation_ok = yes
  1.6494 +then
  1.6495 +    U_OVERRIDE_CXX_ALLOCATION=1
  1.6496 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5
  1.6497 +$as_echo_n "checking for placement new and delete... " >&6; }
  1.6498 +    if ${ac_cv_override_placement_new_ok+:} false; then :
  1.6499 +  $as_echo_n "(cached) " >&6
  1.6500 +else
  1.6501 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6502 +/* end confdefs.h.  */
  1.6503 +#include <stdlib.h>
  1.6504 +        class UMemory {
  1.6505 +        public:
  1.6506 +        void *operator new(size_t size) {return malloc(size);}
  1.6507 +        void *operator new[](size_t size) {return malloc(size);}
  1.6508 +        void operator delete(void *p) {free(p);}
  1.6509 +        void operator delete[](void *p) {free(p);}
  1.6510 +        void * operator new(size_t, void *ptr) { return ptr; }
  1.6511 +        void operator delete(void *, void *) {}
  1.6512 +        };
  1.6513 +
  1.6514 +int
  1.6515 +main ()
  1.6516 +{
  1.6517 +
  1.6518 +  ;
  1.6519 +  return 0;
  1.6520 +}
  1.6521 +_ACEOF
  1.6522 +if ac_fn_cxx_try_link "$LINENO"; then :
  1.6523 +  ac_cv_override_placement_new_ok=yes
  1.6524 +else
  1.6525 +  ac_cv_override_placement_new_ok=no
  1.6526 +fi
  1.6527 +rm -f core conftest.err conftest.$ac_objext \
  1.6528 +    conftest$ac_exeext conftest.$ac_ext
  1.6529 +fi
  1.6530 +
  1.6531 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5
  1.6532 +$as_echo "$ac_cv_override_placement_new_ok" >&6; }
  1.6533 +    if test $ac_cv_override_placement_new_ok = yes
  1.6534 +    then
  1.6535 +        U_HAVE_PLACEMENT_NEW=1
  1.6536 +    else
  1.6537 +        CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_PLACEMENT_NEW=0"
  1.6538 +    fi
  1.6539 +else
  1.6540 +    CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_OVERRIDE_CXX_ALLOCATION=0"
  1.6541 +fi
  1.6542 +
  1.6543 +
  1.6544 +
  1.6545 +ac_ext=c
  1.6546 +ac_cpp='$CPP $CPPFLAGS'
  1.6547 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.6548 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.6549 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.6550 +
  1.6551 +ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen"
  1.6552 +if test "x$ac_cv_func_popen" = xyes; then :
  1.6553 +
  1.6554 +fi
  1.6555 +
  1.6556 +if test x$ac_cv_func_popen = xyes
  1.6557 +then
  1.6558 +     U_HAVE_POPEN=1
  1.6559 +else
  1.6560 +     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_POPEN=0"
  1.6561 +     U_HAVE_POPEN=0
  1.6562 +fi
  1.6563 +
  1.6564 +
  1.6565 +ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
  1.6566 +if test "x$ac_cv_func_tzset" = xyes; then :
  1.6567 +
  1.6568 +fi
  1.6569 +
  1.6570 +U_HAVE_TZSET=0
  1.6571 +if test x$ac_cv_func_tzset = xyes
  1.6572 +then
  1.6573 +    U_TZSET=tzset
  1.6574 +    U_HAVE_TZSET=1
  1.6575 +else
  1.6576 +    ac_fn_c_check_func "$LINENO" "_tzset" "ac_cv_func__tzset"
  1.6577 +if test "x$ac_cv_func__tzset" = xyes; then :
  1.6578 +
  1.6579 +fi
  1.6580 +
  1.6581 +    if test x$ac_cv_func__tzset = xyes
  1.6582 +    then
  1.6583 +        U_TZSET=_tzset
  1.6584 +        U_HAVE_TZSET=1
  1.6585 +    else
  1.6586 +      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZSET=0"
  1.6587 +    fi
  1.6588 +fi
  1.6589 +
  1.6590 +
  1.6591 +
  1.6592 +U_HAVE_TZNAME=0
  1.6593 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
  1.6594 +$as_echo_n "checking for tzname... " >&6; }
  1.6595 +if ${ac_cv_var_tzname+:} false; then :
  1.6596 +  $as_echo_n "(cached) " >&6
  1.6597 +else
  1.6598 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6599 +/* end confdefs.h.  */
  1.6600 +#ifndef __USE_POSIX
  1.6601 +#define __USE_POSIX
  1.6602 +#endif
  1.6603 +#include <stdlib.h>
  1.6604 +#include <time.h>
  1.6605 +#ifndef tzname /* For SGI.  */
  1.6606 +extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
  1.6607 +#endif
  1.6608 +int
  1.6609 +main ()
  1.6610 +{
  1.6611 +atoi(*tzname);
  1.6612 +  ;
  1.6613 +  return 0;
  1.6614 +}
  1.6615 +_ACEOF
  1.6616 +if ac_fn_c_try_link "$LINENO"; then :
  1.6617 +  ac_cv_var_tzname=yes
  1.6618 +else
  1.6619 +  ac_cv_var_tzname=no
  1.6620 +fi
  1.6621 +rm -f core conftest.err conftest.$ac_objext \
  1.6622 +    conftest$ac_exeext conftest.$ac_ext
  1.6623 +fi
  1.6624 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
  1.6625 +$as_echo "$ac_cv_var_tzname" >&6; }
  1.6626 +if test $ac_cv_var_tzname = yes; then
  1.6627 +  U_TZNAME=tzname
  1.6628 +  U_HAVE_TZNAME=1
  1.6629 +else
  1.6630 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5
  1.6631 +$as_echo_n "checking for _tzname... " >&6; }
  1.6632 +if ${ac_cv_var__tzname+:} false; then :
  1.6633 +  $as_echo_n "(cached) " >&6
  1.6634 +else
  1.6635 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6636 +/* end confdefs.h.  */
  1.6637 +#include <stdlib.h>
  1.6638 +  #include <time.h>
  1.6639 +  extern char *_tzname[];
  1.6640 +int
  1.6641 +main ()
  1.6642 +{
  1.6643 +atoi(*_tzname);
  1.6644 +  ;
  1.6645 +  return 0;
  1.6646 +}
  1.6647 +_ACEOF
  1.6648 +if ac_fn_c_try_link "$LINENO"; then :
  1.6649 +  ac_cv_var__tzname=yes
  1.6650 +else
  1.6651 +  ac_cv_var__tzname=no
  1.6652 +fi
  1.6653 +rm -f core conftest.err conftest.$ac_objext \
  1.6654 +    conftest$ac_exeext conftest.$ac_ext
  1.6655 +fi
  1.6656 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5
  1.6657 +$as_echo "$ac_cv_var__tzname" >&6; }
  1.6658 +    if test $ac_cv_var__tzname = yes; then
  1.6659 +      U_TZNAME=_tzname
  1.6660 +      U_HAVE_TZNAME=1
  1.6661 +    else
  1.6662 +     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZNAME=0"
  1.6663 +    fi
  1.6664 +fi
  1.6665 +
  1.6666 +
  1.6667 +
  1.6668 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5
  1.6669 +$as_echo_n "checking for timezone... " >&6; }
  1.6670 +if ${ac_cv_var_timezone+:} false; then :
  1.6671 +  $as_echo_n "(cached) " >&6
  1.6672 +else
  1.6673 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6674 +/* end confdefs.h.  */
  1.6675 +#ifndef __USE_POSIX
  1.6676 +#define __USE_POSIX
  1.6677 +#endif
  1.6678 +#ifndef __USE_XOPEN
  1.6679 +#define __USE_XOPEN
  1.6680 +#endif
  1.6681 +#include <time.h>
  1.6682 +
  1.6683 +int
  1.6684 +main ()
  1.6685 +{
  1.6686 +timezone = 1;
  1.6687 +  ;
  1.6688 +  return 0;
  1.6689 +}
  1.6690 +_ACEOF
  1.6691 +if ac_fn_c_try_link "$LINENO"; then :
  1.6692 +  ac_cv_var_timezone=yes
  1.6693 +else
  1.6694 +  ac_cv_var_timezone=no
  1.6695 +fi
  1.6696 +rm -f core conftest.err conftest.$ac_objext \
  1.6697 +    conftest$ac_exeext conftest.$ac_ext
  1.6698 +fi
  1.6699 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
  1.6700 +$as_echo "$ac_cv_var_timezone" >&6; }
  1.6701 +U_HAVE_TIMEZONE=0
  1.6702 +if test $ac_cv_var_timezone = yes; then
  1.6703 +  U_TIMEZONE=timezone
  1.6704 +  U_HAVE_TIMEZONE=1
  1.6705 +else
  1.6706 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5
  1.6707 +$as_echo_n "checking for __timezone... " >&6; }
  1.6708 +if ${ac_cv_var___timezone+:} false; then :
  1.6709 +  $as_echo_n "(cached) " >&6
  1.6710 +else
  1.6711 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6712 +/* end confdefs.h.  */
  1.6713 +#include <time.h>
  1.6714 +int
  1.6715 +main ()
  1.6716 +{
  1.6717 +__timezone = 1;
  1.6718 +  ;
  1.6719 +  return 0;
  1.6720 +}
  1.6721 +_ACEOF
  1.6722 +if ac_fn_c_try_link "$LINENO"; then :
  1.6723 +  ac_cv_var___timezone=yes
  1.6724 +else
  1.6725 +  ac_cv_var___timezone=no
  1.6726 +fi
  1.6727 +rm -f core conftest.err conftest.$ac_objext \
  1.6728 +    conftest$ac_exeext conftest.$ac_ext
  1.6729 +fi
  1.6730 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5
  1.6731 +$as_echo "$ac_cv_var___timezone" >&6; }
  1.6732 +  if test $ac_cv_var___timezone = yes; then
  1.6733 +    U_TIMEZONE=__timezone
  1.6734 +    U_HAVE_TIMEZONE=1
  1.6735 +  else
  1.6736 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5
  1.6737 +$as_echo_n "checking for _timezone... " >&6; }
  1.6738 +if ${ac_cv_var__timezone+:} false; then :
  1.6739 +  $as_echo_n "(cached) " >&6
  1.6740 +else
  1.6741 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6742 +/* end confdefs.h.  */
  1.6743 +#include <time.h>
  1.6744 +int
  1.6745 +main ()
  1.6746 +{
  1.6747 +_timezone = 1;
  1.6748 +  ;
  1.6749 +  return 0;
  1.6750 +}
  1.6751 +_ACEOF
  1.6752 +if ac_fn_c_try_link "$LINENO"; then :
  1.6753 +  ac_cv_var__timezone=yes
  1.6754 +else
  1.6755 +  ac_cv_var__timezone=no
  1.6756 +fi
  1.6757 +rm -f core conftest.err conftest.$ac_objext \
  1.6758 +    conftest$ac_exeext conftest.$ac_ext
  1.6759 +fi
  1.6760 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5
  1.6761 +$as_echo "$ac_cv_var__timezone" >&6; }
  1.6762 +    if test $ac_cv_var__timezone = yes; then
  1.6763 +      U_TIMEZONE=_timezone
  1.6764 +      U_HAVE_TIMEZONE=1
  1.6765 +    else
  1.6766 +     CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0"
  1.6767 +    fi
  1.6768 +  fi
  1.6769 +fi
  1.6770 +
  1.6771 +
  1.6772 +
  1.6773 +# Checks for typedefs
  1.6774 +ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
  1.6775 +if test "x$ac_cv_type_int8_t" = xyes; then :
  1.6776 +
  1.6777 +else
  1.6778 +
  1.6779 +cat >>confdefs.h <<_ACEOF
  1.6780 +#define int8_t signed char
  1.6781 +_ACEOF
  1.6782 +
  1.6783 +fi
  1.6784 +
  1.6785 +ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
  1.6786 +if test "x$ac_cv_type_uint8_t" = xyes; then :
  1.6787 +
  1.6788 +else
  1.6789 +
  1.6790 +cat >>confdefs.h <<_ACEOF
  1.6791 +#define uint8_t unsigned char
  1.6792 +_ACEOF
  1.6793 +
  1.6794 +fi
  1.6795 +
  1.6796 +ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
  1.6797 +if test "x$ac_cv_type_int16_t" = xyes; then :
  1.6798 +
  1.6799 +else
  1.6800 +
  1.6801 +cat >>confdefs.h <<_ACEOF
  1.6802 +#define int16_t signed short
  1.6803 +_ACEOF
  1.6804 +
  1.6805 +fi
  1.6806 +
  1.6807 +ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
  1.6808 +if test "x$ac_cv_type_uint16_t" = xyes; then :
  1.6809 +
  1.6810 +else
  1.6811 +
  1.6812 +cat >>confdefs.h <<_ACEOF
  1.6813 +#define uint16_t unsigned short
  1.6814 +_ACEOF
  1.6815 +
  1.6816 +fi
  1.6817 +
  1.6818 +ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
  1.6819 +if test "x$ac_cv_type_int32_t" = xyes; then :
  1.6820 +
  1.6821 +else
  1.6822 +
  1.6823 +cat >>confdefs.h <<_ACEOF
  1.6824 +#define int32_t signed long
  1.6825 +_ACEOF
  1.6826 +
  1.6827 +fi
  1.6828 +
  1.6829 +ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
  1.6830 +if test "x$ac_cv_type_uint32_t" = xyes; then :
  1.6831 +
  1.6832 +else
  1.6833 +
  1.6834 +cat >>confdefs.h <<_ACEOF
  1.6835 +#define uint32_t unsigned long
  1.6836 +_ACEOF
  1.6837 +
  1.6838 +fi
  1.6839 +
  1.6840 +ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
  1.6841 +if test "x$ac_cv_type_int64_t" = xyes; then :
  1.6842 +
  1.6843 +else
  1.6844 +
  1.6845 +cat >>confdefs.h <<_ACEOF
  1.6846 +#define int64_t signed long long
  1.6847 +_ACEOF
  1.6848 +
  1.6849 +fi
  1.6850 +
  1.6851 +ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
  1.6852 +if test "x$ac_cv_type_uint64_t" = xyes; then :
  1.6853 +
  1.6854 +else
  1.6855 +
  1.6856 +cat >>confdefs.h <<_ACEOF
  1.6857 +#define uint64_t unsigned long long
  1.6858 +_ACEOF
  1.6859 +
  1.6860 +fi
  1.6861 +
  1.6862 +
  1.6863 +if test $ac_cv_type_int8_t = no; then
  1.6864 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT8_T=0"
  1.6865 +fi
  1.6866 +
  1.6867 +if test $ac_cv_type_uint8_t = no; then
  1.6868 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT8_T=0"
  1.6869 +fi
  1.6870 +
  1.6871 +if test $ac_cv_type_int16_t = no; then
  1.6872 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT16_T=0"
  1.6873 +fi
  1.6874 +
  1.6875 +if test $ac_cv_type_uint16_t = no; then
  1.6876 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT16_T=0"
  1.6877 +fi
  1.6878 +
  1.6879 +if test $ac_cv_type_int32_t = no; then
  1.6880 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT32_T=0"
  1.6881 +fi
  1.6882 +
  1.6883 +if test $ac_cv_type_uint32_t = no; then
  1.6884 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT32_T=0"
  1.6885 +fi
  1.6886 +
  1.6887 +if test $ac_cv_type_int64_t = no; then
  1.6888 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT64_T=0"
  1.6889 +fi
  1.6890 +
  1.6891 +if test $ac_cv_type_uint64_t = no; then
  1.6892 +CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT64_T=0"
  1.6893 +fi
  1.6894 +
  1.6895 +# Do various wchar_t related checks
  1.6896 +ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
  1.6897 +if test "x$ac_cv_header_wchar_h" = xyes; then :
  1.6898 +
  1.6899 +fi
  1.6900 +
  1.6901 +
  1.6902 +if test "$ac_cv_header_wchar_h" = no
  1.6903 +then
  1.6904 +    U_HAVE_WCHAR_H=0
  1.6905 +    U_HAVE_WCSCPY=0
  1.6906 +    CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCHAR_H=0 -DU_HAVE_WCSCPY=0"
  1.6907 +else
  1.6908 +
  1.6909 +$as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
  1.6910 +
  1.6911 +    U_HAVE_WCHAR_H=1
  1.6912 +    # Some broken systems have wchar.h but not some of its functions...
  1.6913 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5
  1.6914 +$as_echo_n "checking for library containing wcscpy... " >&6; }
  1.6915 +if ${ac_cv_search_wcscpy+:} false; then :
  1.6916 +  $as_echo_n "(cached) " >&6
  1.6917 +else
  1.6918 +  ac_func_search_save_LIBS=$LIBS
  1.6919 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.6920 +/* end confdefs.h.  */
  1.6921 +
  1.6922 +/* Override any GCC internal prototype to avoid an error.
  1.6923 +   Use char because int might match the return type of a GCC
  1.6924 +   builtin and then its argument prototype would still apply.  */
  1.6925 +#ifdef __cplusplus
  1.6926 +extern "C"
  1.6927 +#endif
  1.6928 +char wcscpy ();
  1.6929 +int
  1.6930 +main ()
  1.6931 +{
  1.6932 +return wcscpy ();
  1.6933 +  ;
  1.6934 +  return 0;
  1.6935 +}
  1.6936 +_ACEOF
  1.6937 +for ac_lib in '' wcs w; do
  1.6938 +  if test -z "$ac_lib"; then
  1.6939 +    ac_res="none required"
  1.6940 +  else
  1.6941 +    ac_res=-l$ac_lib
  1.6942 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  1.6943 +  fi
  1.6944 +  if ac_fn_c_try_link "$LINENO"; then :
  1.6945 +  ac_cv_search_wcscpy=$ac_res
  1.6946 +fi
  1.6947 +rm -f core conftest.err conftest.$ac_objext \
  1.6948 +    conftest$ac_exeext
  1.6949 +  if ${ac_cv_search_wcscpy+:} false; then :
  1.6950 +  break
  1.6951 +fi
  1.6952 +done
  1.6953 +if ${ac_cv_search_wcscpy+:} false; then :
  1.6954 +
  1.6955 +else
  1.6956 +  ac_cv_search_wcscpy=no
  1.6957 +fi
  1.6958 +rm conftest.$ac_ext
  1.6959 +LIBS=$ac_func_search_save_LIBS
  1.6960 +fi
  1.6961 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5
  1.6962 +$as_echo "$ac_cv_search_wcscpy" >&6; }
  1.6963 +ac_res=$ac_cv_search_wcscpy
  1.6964 +if test "$ac_res" != no; then :
  1.6965 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  1.6966 +
  1.6967 +fi
  1.6968 +
  1.6969 +    if test "$ac_cv_search_wcscpy" != no; then
  1.6970 +      U_HAVE_WCSCPY=1
  1.6971 +    else
  1.6972 +      U_HAVE_WCSCPY=0
  1.6973 +      CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCSCPY=0"
  1.6974 +    fi
  1.6975 +fi
  1.6976 +
  1.6977 +
  1.6978 +
  1.6979 +# The cast to long int works around a bug in the HP C Compiler
  1.6980 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  1.6981 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  1.6982 +# This bug is HP SR number 8606223364.
  1.6983 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
  1.6984 +$as_echo_n "checking size of wchar_t... " >&6; }
  1.6985 +if ${ac_cv_sizeof_wchar_t+:} false; then :
  1.6986 +  $as_echo_n "(cached) " >&6
  1.6987 +else
  1.6988 +  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t"        "
  1.6989 +#if STDC_HEADERS
  1.6990 +#include <stddef.h>
  1.6991 +#endif
  1.6992 +#include <stdlib.h>
  1.6993 +#if HAVE_WCHAR_H
  1.6994 +#include <string.h>
  1.6995 +#include <wchar.h>
  1.6996 +#endif
  1.6997 +"; then :
  1.6998 +
  1.6999 +else
  1.7000 +  if test "$ac_cv_type_wchar_t" = yes; then
  1.7001 +     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  1.7002 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1.7003 +as_fn_error 77 "cannot compute sizeof (wchar_t)
  1.7004 +See \`config.log' for more details" "$LINENO" 5; }
  1.7005 +   else
  1.7006 +     ac_cv_sizeof_wchar_t=0
  1.7007 +   fi
  1.7008 +fi
  1.7009 +
  1.7010 +fi
  1.7011 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
  1.7012 +$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
  1.7013 +
  1.7014 +
  1.7015 +
  1.7016 +cat >>confdefs.h <<_ACEOF
  1.7017 +#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
  1.7018 +_ACEOF
  1.7019 +
  1.7020 +
  1.7021 +U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
  1.7022 +# We do this check to verify that everything is okay.
  1.7023 +if test $U_SIZEOF_WCHAR_T = 0; then
  1.7024 +    if test $U_HAVE_WCHAR_H=1; then
  1.7025 +       as_fn_error $? "There is wchar.h but the size of wchar_t is 0" "$LINENO" 5
  1.7026 +    fi
  1.7027 +fi
  1.7028 +
  1.7029 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5
  1.7030 +$as_echo_n "checking for UTF-16 string literal support... " >&6; }
  1.7031 +U_CHECK_UTF16_STRING=1
  1.7032 +CHECK_UTF16_STRING_RESULT="unknown"
  1.7033 +
  1.7034 +case "${host}" in
  1.7035 +*-*-aix*|powerpc64-*-linux*)
  1.7036 +    if test "$GCC" = no; then
  1.7037 +        OLD_CFLAGS="${CFLAGS}"
  1.7038 +        OLD_CXXFLAGS="${CXXFLAGS}"
  1.7039 +        CFLAGS="${CFLAGS} -qutf"
  1.7040 +        CXXFLAGS="${CXXFLAGS} -qutf"
  1.7041 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7042 +/* end confdefs.h.  */
  1.7043 +const unsigned short hello[] = u"hello";
  1.7044 +int
  1.7045 +main ()
  1.7046 +{
  1.7047 +
  1.7048 +  ;
  1.7049 +  return 0;
  1.7050 +}
  1.7051 +_ACEOF
  1.7052 +if ac_fn_c_try_compile "$LINENO"; then :
  1.7053 +  U_CHECK_UTF16_STRING=1
  1.7054 +else
  1.7055 +  U_CHECK_UTF16_STRING=0
  1.7056 +fi
  1.7057 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.7058 +        if test "$U_CHECK_UTF16_STRING" = 0; then
  1.7059 +            CFLAGS="${OLD_CFLAGS}"
  1.7060 +            CXXFLAGS="${OLD_CXXFLAGS}"
  1.7061 +        else
  1.7062 +            UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -qutf"
  1.7063 +            CHECK_UTF16_STRING_RESULT="-qutf"
  1.7064 +        fi
  1.7065 +    fi
  1.7066 +    ;;
  1.7067 +*-*-solaris*)
  1.7068 +    if test "$GCC" = no; then
  1.7069 +        OLD_CFLAGS="${CFLAGS}"
  1.7070 +        OLD_CXXFLAGS="${CXXFLAGS}"
  1.7071 +        CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort"
  1.7072 +        CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort"
  1.7073 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7074 +/* end confdefs.h.  */
  1.7075 +const unsigned short hello[] = U"hello";
  1.7076 +int
  1.7077 +main ()
  1.7078 +{
  1.7079 +
  1.7080 +  ;
  1.7081 +  return 0;
  1.7082 +}
  1.7083 +_ACEOF
  1.7084 +if ac_fn_c_try_compile "$LINENO"; then :
  1.7085 +  U_CHECK_UTF16_STRING=1
  1.7086 +else
  1.7087 +  U_CHECK_UTF16_STRING=0
  1.7088 +fi
  1.7089 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.7090 +        if test "$U_CHECK_UTF16_STRING" = 0; then
  1.7091 +            CFLAGS="${OLD_CFLAGS}"
  1.7092 +            CXXFLAGS="${OLD_CXXFLAGS}"
  1.7093 +        else
  1.7094 +            CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort"
  1.7095 +            UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -xustr=ascii_utf16_ushort"
  1.7096 +            UCONFIG_CFLAGS="${UCONFIG_CFLAGS} -xustr=ascii_utf16_ushort"
  1.7097 +            # Since we can't detect the availability of this UTF-16 syntax at compile time,
  1.7098 +            # we depend on configure telling us that we can use it.
  1.7099 +            # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
  1.7100 +            # we only use this macro within ICU.
  1.7101 +            # If an ICU user uses icu-config, this feature will be enabled.
  1.7102 +            CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
  1.7103 +            U_CHECK_UTF16_STRING=0
  1.7104 +        fi
  1.7105 +    fi
  1.7106 +    ;;
  1.7107 +*-*-hpux*)
  1.7108 +    if test "$GCC" = no; then
  1.7109 +        # The option will be detected at compile time without additional compiler options.
  1.7110 +        CHECK_UTF16_STRING_RESULT="available"
  1.7111 +    fi
  1.7112 +    ;;
  1.7113 +*-*-cygwin)
  1.7114 +    # wchar_t can be used
  1.7115 +    CHECK_UTF16_STRING_RESULT="available"
  1.7116 +    ;;
  1.7117 +*)
  1.7118 +    ;;
  1.7119 +esac
  1.7120 +
  1.7121 +# GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
  1.7122 +if test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then
  1.7123 +    if test "$GCC" = yes; then
  1.7124 +        OLD_CFLAGS="${CFLAGS}"
  1.7125 +        CFLAGS="${CFLAGS} -std=gnu99"
  1.7126 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7127 +/* end confdefs.h.  */
  1.7128 +
  1.7129 +static const char16_t test[] = u"This is a UTF16 literal string.";
  1.7130 +
  1.7131 +int
  1.7132 +main ()
  1.7133 +{
  1.7134 +
  1.7135 +  ;
  1.7136 +  return 0;
  1.7137 +}
  1.7138 +_ACEOF
  1.7139 +if ac_fn_c_try_compile "$LINENO"; then :
  1.7140 +  CC_UTF16_STRING=1
  1.7141 +else
  1.7142 +  CC_UTF16_STRING=0
  1.7143 +fi
  1.7144 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.7145 +        if test "$CC_UTF16_STRING" = 1; then
  1.7146 +            UCONFIG_CFLAGS="${UCONFIG_CFLAGS} -std=gnu99"
  1.7147 +            CHECK_UTF16_STRING_RESULT="C only";
  1.7148 +        else
  1.7149 +            CFLAGS="${OLD_CFLAGS}"
  1.7150 +        fi
  1.7151 +    fi
  1.7152 +    if test "$GXX" = yes; then
  1.7153 +        # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
  1.7154 +        ac_ext=cpp
  1.7155 +ac_cpp='$CXXCPP $CPPFLAGS'
  1.7156 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7157 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7158 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  1.7159 +
  1.7160 +        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1.7161 +/* end confdefs.h.  */
  1.7162 +
  1.7163 +static const char16_t test[] = u"This is a UTF16 literal string.";
  1.7164 +
  1.7165 +int
  1.7166 +main ()
  1.7167 +{
  1.7168 +
  1.7169 +  ;
  1.7170 +  return 0;
  1.7171 +}
  1.7172 +_ACEOF
  1.7173 +if ac_fn_cxx_try_compile "$LINENO"; then :
  1.7174 +  CXX_UTF16_STRING=1
  1.7175 +else
  1.7176 +  CXX_UTF16_STRING=0
  1.7177 +fi
  1.7178 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1.7179 +        ac_ext=c
  1.7180 +ac_cpp='$CPP $CPPFLAGS'
  1.7181 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1.7182 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1.7183 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1.7184 +
  1.7185 +        if test "$CXX_UTF16_STRING" = 1; then
  1.7186 +            if test "$CC_UTF16_STRING" = 1; then
  1.7187 +                CHECK_UTF16_STRING_RESULT="available";
  1.7188 +            else
  1.7189 +                CHECK_UTF16_STRING_RESULT="C++ only";
  1.7190 +            fi
  1.7191 +        fi
  1.7192 +    fi
  1.7193 +fi
  1.7194 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5
  1.7195 +$as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }
  1.7196 +
  1.7197 +# Enable/disable extras
  1.7198 +# Check whether --enable-extras was given.
  1.7199 +if test "${enable_extras+set}" = set; then :
  1.7200 +  enableval=$enable_extras; case "${enableval}" in
  1.7201 +		yes) extras=true ;;
  1.7202 +		no)  extras=false ;;
  1.7203 +		*) as_fn_error $? "bad value ${enableval} for --enable-extras" "$LINENO" 5 ;;
  1.7204 +		esac
  1.7205 +else
  1.7206 +  extras=true
  1.7207 +fi
  1.7208 +
  1.7209 +
  1.7210 +if test "$extras" = true; then
  1.7211 +  EXTRAS_TRUE=
  1.7212 +else
  1.7213 +  EXTRAS_TRUE='#'
  1.7214 +fi
  1.7215 +# Check whether --enable-icuio was given.
  1.7216 +if test "${enable_icuio+set}" = set; then :
  1.7217 +  enableval=$enable_icuio; case "${enableval}" in
  1.7218 +		yes) icuio=true ;;
  1.7219 +		no)  icuio=false ;;
  1.7220 +		*) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;;
  1.7221 +		esac
  1.7222 +else
  1.7223 +  icuio=true
  1.7224 +fi
  1.7225 +
  1.7226 +
  1.7227 +if test "$icuio" = true; then
  1.7228 +  ICUIO_TRUE=
  1.7229 +else
  1.7230 +  ICUIO_TRUE='#'
  1.7231 +fi
  1.7232 +
  1.7233 +# Enable/disable layout
  1.7234 +# Check whether --enable-layout was given.
  1.7235 +if test "${enable_layout+set}" = set; then :
  1.7236 +  enableval=$enable_layout; case "${enableval}" in
  1.7237 +		yes) layout=true ;;
  1.7238 +		no)  layout=false ;;
  1.7239 +		*) as_fn_error $? "bad value ${enableval} for --enable-layout" "$LINENO" 5 ;;
  1.7240 +		esac
  1.7241 +else
  1.7242 +  layout=true
  1.7243 +fi
  1.7244 +
  1.7245 +
  1.7246 +if test "$layout" = true; then
  1.7247 +  LAYOUT_TRUE=
  1.7248 +else
  1.7249 +  LAYOUT_TRUE='#'
  1.7250 +fi
  1.7251 +
  1.7252 +# Enable/disable tools
  1.7253 +# Check whether --enable-tools was given.
  1.7254 +if test "${enable_tools+set}" = set; then :
  1.7255 +  enableval=$enable_tools; case "${enableval}" in
  1.7256 +		yes) tools=true ;;
  1.7257 +		no)  tools=false ;;
  1.7258 +		*) as_fn_error $? "bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
  1.7259 +		esac
  1.7260 +else
  1.7261 +  tools=true
  1.7262 +fi
  1.7263 +
  1.7264 +
  1.7265 +if test "$tools" = true; then
  1.7266 +  TOOLS_TRUE=
  1.7267 +else
  1.7268 +  TOOLS_TRUE='#'
  1.7269 +fi
  1.7270 +
  1.7271 +
  1.7272 +# Check whether --with-data-packaging was given.
  1.7273 +if test "${with_data_packaging+set}" = set; then :
  1.7274 +  withval=$with_data_packaging; case "${withval}" in
  1.7275 +                files|archive|library) datapackaging=$withval ;;
  1.7276 +		auto) datapackaging=$withval ;;
  1.7277 +		common) datapackaging=archive ;;
  1.7278 +		dll) datapackaging=library ;;
  1.7279 +		static) datapackaging=static ;;
  1.7280 +		*) as_fn_error $? "bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;;
  1.7281 +		esac
  1.7282 +else
  1.7283 +  datapackaging=
  1.7284 +fi
  1.7285 +
  1.7286 +
  1.7287 +# Note:  'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..
  1.7288 +# thesysconfdir=`eval echo $sysconfdir`
  1.7289 +thedatadir=`eval echo $datadir`
  1.7290 +# 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}.
  1.7291 +pkgicudatadir=$datadir
  1.7292 +thepkgicudatadir=$thedatadir
  1.7293 +
  1.7294 +
  1.7295 +
  1.7296 +
  1.7297 +if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then
  1.7298 +	# default to library
  1.7299 +	datapackaging=library
  1.7300 +	if test "$ENABLE_STATIC" = "YES"; then
  1.7301 +		if test "$ENABLE_SHARED" != "YES"; then
  1.7302 +			datapackaging=static
  1.7303 +		fi
  1.7304 +	fi
  1.7305 +fi
  1.7306 +
  1.7307 +datapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}"
  1.7308 +
  1.7309 +datapackaging_msg="(No explaination for mode $datapackaging.)"
  1.7310 +
  1.7311 +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."
  1.7312 +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."
  1.7313 +datapackaging_howfound="(unknown)"
  1.7314 +
  1.7315 +case "$datapackaging" in
  1.7316 +    files)
  1.7317 +    DATA_PACKAGING_MODE=files
  1.7318 +    datapackaging_msg="ICU data will be stored in individual files."
  1.7319 +    datapackaging_howfound="$datapackaging_msg_path"
  1.7320 +    ;;
  1.7321 +    archive)
  1.7322 +    DATA_PACKAGING_MODE=common
  1.7323 +    datapackaging_msg="ICU data will be stored in a single .dat file."
  1.7324 +    datapackaging_howfound="$datapackaging_msg_path"
  1.7325 +    ;;
  1.7326 +    library)
  1.7327 +    DATA_PACKAGING_MODE=dll
  1.7328 +    datapackaging_msg="ICU data will be linked with ICU."
  1.7329 +    if test "$ENABLE_STATIC" = "YES"; then
  1.7330 +        datapackaging_msg="$datapackaging_msg A static data library will be built. "
  1.7331 +    fi
  1.7332 +    if test "$ENABLE_SHARED" = "YES"; then
  1.7333 +        datapackaging_msg="$datapackaging_msg A shared data library will be built. "
  1.7334 +    fi
  1.7335 +    datapackaging_howfound="$datapackaging_msg_set"
  1.7336 +    ;;
  1.7337 +    static)
  1.7338 +    DATA_PACKAGING_MODE=static
  1.7339 +    datapackaging_msg="ICU data will be stored in a static library."
  1.7340 +    datapackaging_howfound="$datapackaging_msg_set"
  1.7341 +    ;;
  1.7342 +esac
  1.7343 +
  1.7344 +
  1.7345 +# Sets a library suffix
  1.7346 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5
  1.7347 +$as_echo_n "checking for a library suffix to use... " >&6; }
  1.7348 +
  1.7349 +# Check whether --with-library-suffix was given.
  1.7350 +if test "${with_library_suffix+set}" = set; then :
  1.7351 +  withval=$with_library_suffix; ICULIBSUFFIX="${withval}"
  1.7352 +else
  1.7353 +  ICULIBSUFFIX=
  1.7354 +fi
  1.7355 +
  1.7356 +msg=$ICULIBSUFFIX
  1.7357 +if test "$msg" = ""; then
  1.7358 +    msg=none
  1.7359 +fi
  1.7360 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5
  1.7361 +$as_echo "$msg" >&6; }
  1.7362 +
  1.7363 +if test "$ICULIBSUFFIX" != ""
  1.7364 +then
  1.7365 +    U_HAVE_LIB_SUFFIX=1
  1.7366 +    ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`
  1.7367 +    UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_HAVE_LIB_SUFFIX=1 -DU_LIB_SUFFIX_C_NAME=${ICULIBSUFFIXCNAME} "
  1.7368 +else
  1.7369 +    U_HAVE_LIB_SUFFIX=0
  1.7370 +fi
  1.7371 +
  1.7372 +
  1.7373 +
  1.7374 +# Enable/disable tests
  1.7375 +# Check whether --enable-tests was given.
  1.7376 +if test "${enable_tests+set}" = set; then :
  1.7377 +  enableval=$enable_tests; case "${enableval}" in
  1.7378 +		yes) tests=true ;;
  1.7379 +		no)  tests=false ;;
  1.7380 +		*) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
  1.7381 +		esac
  1.7382 +else
  1.7383 +  tests=true
  1.7384 +fi
  1.7385 +
  1.7386 +
  1.7387 +if test "$tests" = true; then
  1.7388 +  TESTS_TRUE=
  1.7389 +else
  1.7390 +  TESTS_TRUE='#'
  1.7391 +fi
  1.7392 +
  1.7393 +# Enable/disable samples
  1.7394 +# Check whether --enable-samples was given.
  1.7395 +if test "${enable_samples+set}" = set; then :
  1.7396 +  enableval=$enable_samples; case "${enableval}" in
  1.7397 +		yes) samples=true ;;
  1.7398 +		no)  samples=false ;;
  1.7399 +		*) as_fn_error $? "bad value ${enableval} for --enable-samples" "$LINENO" 5 ;;
  1.7400 +		esac
  1.7401 +else
  1.7402 +  samples=true
  1.7403 +fi
  1.7404 +
  1.7405 +
  1.7406 +if test "$samples" = true; then
  1.7407 +  SAMPLES_TRUE=
  1.7408 +else
  1.7409 +  SAMPLES_TRUE='#'
  1.7410 +fi
  1.7411 +
  1.7412 +ICUDATA_CHAR=$U_ENDIAN_CHAR
  1.7413 +
  1.7414 +# Platform-specific Makefile setup
  1.7415 +# set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
  1.7416 +case "${host}" in
  1.7417 +	*-*-solaris*) 	platform=U_SOLARIS ;;
  1.7418 +	*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu)        platform=U_LINUX ;;
  1.7419 +	*-*-*bsd*|*-*-dragonfly*) 	platform=U_BSD ;;
  1.7420 +	*-*-aix*) 	platform=U_AIX ;;
  1.7421 +	*-*-hpux*) 	platform=U_HPUX ;;
  1.7422 +	*-apple-darwin*|*-apple-rhapsody*)	platform=U_DARWIN ;;
  1.7423 +	*-*-cygwin*)	platform=U_CYGWIN ;;
  1.7424 +	*-*-mingw*)	platform=U_MINGW ;;
  1.7425 +	*-*ibm-openedition*|*-*-os390*)	platform=OS390
  1.7426 +			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
  1.7427 +				ICUDATA_CHAR="e"
  1.7428 +			fi ;;
  1.7429 +	*-*-os400*)	platform=OS400
  1.7430 +			if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
  1.7431 +				ICUDATA_CHAR="e"
  1.7432 +			fi ;;
  1.7433 +	*-*-nto*)	platform=U_QNX ;;
  1.7434 +	*-dec-osf*) 	platform=U_OSF ;;
  1.7435 +	*-*-beos)		platform=U_BEOS ;;
  1.7436 +	*-*-irix*)		platform=U_IRIX ;;
  1.7437 +	*-ncr-*)		platform=U_MPRAS ;;
  1.7438 +	*) 		platform=U_UNKNOWN_PLATFORM ;;
  1.7439 +esac
  1.7440 +
  1.7441 +
  1.7442 +platform_make_fragment_name="$icu_cv_host_frag"
  1.7443 +platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"
  1.7444 +
  1.7445 +
  1.7446 +
  1.7447 +if test "${FORCE_LIBS}" != ""; then
  1.7448 +   echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}"  1>&6
  1.7449 +   LIBS=${FORCE_LIBS}
  1.7450 +fi
  1.7451 +
  1.7452 +# Now that we're done using CPPFLAGS etc. for tests, we can change it
  1.7453 +# for build.
  1.7454 +
  1.7455 +if test "${CC}" == "clang"; then
  1.7456 +   CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
  1.7457 +else
  1.7458 +   CLANGCFLAGS=""
  1.7459 +fi
  1.7460 +
  1.7461 +if test "${CXX}" == "clang++"; then
  1.7462 +   CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"
  1.7463 +else
  1.7464 +   CLANGCXXFLAGS=""
  1.7465 +fi
  1.7466 +
  1.7467 +CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"
  1.7468 +CFLAGS="$CFLAGS \$(THREADSCFLAGS) $CLANGCFLAGS"
  1.7469 +CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS) $CLANGCXXFLAGS"
  1.7470 +
  1.7471 +
  1.7472 +
  1.7473 +
  1.7474 +# append all config cppflags
  1.7475 +CPPFLAGS="$CPPFLAGS $CONFIG_CPPFLAGS $UCONFIG_CPPFLAGS"
  1.7476 +
  1.7477 +echo "CPPFLAGS=$CPPFLAGS"
  1.7478 +echo "CFLAGS=$CFLAGS"
  1.7479 +echo "CXXFLAGS=$CXXFLAGS"
  1.7480 +
  1.7481 +
  1.7482 +# output the Makefiles
  1.7483 +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 test/perf/leperf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile"
  1.7484 +
  1.7485 +cat >confcache <<\_ACEOF
  1.7486 +# This file is a shell script that caches the results of configure
  1.7487 +# tests run on this system so they can be shared between configure
  1.7488 +# scripts and configure runs, see configure's option --config-cache.
  1.7489 +# It is not useful on other systems.  If it contains results you don't
  1.7490 +# want to keep, you may remove or edit it.
  1.7491 +#
  1.7492 +# config.status only pays attention to the cache file if you give it
  1.7493 +# the --recheck option to rerun configure.
  1.7494 +#
  1.7495 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
  1.7496 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
  1.7497 +# following values.
  1.7498 +
  1.7499 +_ACEOF
  1.7500 +
  1.7501 +# The following way of writing the cache mishandles newlines in values,
  1.7502 +# but we know of no workaround that is simple, portable, and efficient.
  1.7503 +# So, we kill variables containing newlines.
  1.7504 +# Ultrix sh set writes to stderr and can't be redirected directly,
  1.7505 +# and sets the high bit in the cache file unless we assign to the vars.
  1.7506 +(
  1.7507 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  1.7508 +    eval ac_val=\$$ac_var
  1.7509 +    case $ac_val in #(
  1.7510 +    *${as_nl}*)
  1.7511 +      case $ac_var in #(
  1.7512 +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  1.7513 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1.7514 +      esac
  1.7515 +      case $ac_var in #(
  1.7516 +      _ | IFS | as_nl) ;; #(
  1.7517 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1.7518 +      *) { eval $ac_var=; unset $ac_var;} ;;
  1.7519 +      esac ;;
  1.7520 +    esac
  1.7521 +  done
  1.7522 +
  1.7523 +  (set) 2>&1 |
  1.7524 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
  1.7525 +    *${as_nl}ac_space=\ *)
  1.7526 +      # `set' does not quote correctly, so add quotes: double-quote
  1.7527 +      # substitution turns \\\\ into \\, and sed turns \\ into \.
  1.7528 +      sed -n \
  1.7529 +	"s/'/'\\\\''/g;
  1.7530 +	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1.7531 +      ;; #(
  1.7532 +    *)
  1.7533 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
  1.7534 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1.7535 +      ;;
  1.7536 +    esac |
  1.7537 +    sort
  1.7538 +) |
  1.7539 +  sed '
  1.7540 +     /^ac_cv_env_/b end
  1.7541 +     t clear
  1.7542 +     :clear
  1.7543 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1.7544 +     t end
  1.7545 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1.7546 +     :end' >>confcache
  1.7547 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  1.7548 +  if test -w "$cache_file"; then
  1.7549 +    if test "x$cache_file" != "x/dev/null"; then
  1.7550 +      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  1.7551 +$as_echo "$as_me: updating cache $cache_file" >&6;}
  1.7552 +      if test ! -f "$cache_file" || test -h "$cache_file"; then
  1.7553 +	cat confcache >"$cache_file"
  1.7554 +      else
  1.7555 +        case $cache_file in #(
  1.7556 +        */* | ?:*)
  1.7557 +	  mv -f confcache "$cache_file"$$ &&
  1.7558 +	  mv -f "$cache_file"$$ "$cache_file" ;; #(
  1.7559 +        *)
  1.7560 +	  mv -f confcache "$cache_file" ;;
  1.7561 +	esac
  1.7562 +      fi
  1.7563 +    fi
  1.7564 +  else
  1.7565 +    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  1.7566 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  1.7567 +  fi
  1.7568 +fi
  1.7569 +rm -f confcache
  1.7570 +
  1.7571 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1.7572 +# Let make expand exec_prefix.
  1.7573 +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1.7574 +
  1.7575 +# Transform confdefs.h into DEFS.
  1.7576 +# Protect against shell expansion while executing Makefile rules.
  1.7577 +# Protect against Makefile macro expansion.
  1.7578 +#
  1.7579 +# If the first sed substitution is executed (which looks for macros that
  1.7580 +# take arguments), then branch to the quote section.  Otherwise,
  1.7581 +# look for a macro that doesn't take arguments.
  1.7582 +ac_script='
  1.7583 +:mline
  1.7584 +/\\$/{
  1.7585 + N
  1.7586 + s,\\\n,,
  1.7587 + b mline
  1.7588 +}
  1.7589 +t clear
  1.7590 +:clear
  1.7591 +s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
  1.7592 +t quote
  1.7593 +s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
  1.7594 +t quote
  1.7595 +b any
  1.7596 +:quote
  1.7597 +s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
  1.7598 +s/\[/\\&/g
  1.7599 +s/\]/\\&/g
  1.7600 +s/\$/$$/g
  1.7601 +H
  1.7602 +:any
  1.7603 +${
  1.7604 +	g
  1.7605 +	s/^\n//
  1.7606 +	s/\n/ /g
  1.7607 +	p
  1.7608 +}
  1.7609 +'
  1.7610 +DEFS=`sed -n "$ac_script" confdefs.h`
  1.7611 +
  1.7612 +
  1.7613 +ac_libobjs=
  1.7614 +ac_ltlibobjs=
  1.7615 +U=
  1.7616 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1.7617 +  # 1. Remove the extension, and $U if already installed.
  1.7618 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  1.7619 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  1.7620 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  1.7621 +  #    will be set to the directory where LIBOBJS objects are built.
  1.7622 +  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  1.7623 +  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  1.7624 +done
  1.7625 +LIBOBJS=$ac_libobjs
  1.7626 +
  1.7627 +LTLIBOBJS=$ac_ltlibobjs
  1.7628 +
  1.7629 +
  1.7630 +
  1.7631 +
  1.7632 +: "${CONFIG_STATUS=./config.status}"
  1.7633 +ac_write_fail=0
  1.7634 +ac_clean_files_save=$ac_clean_files
  1.7635 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1.7636 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  1.7637 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1.7638 +as_write_fail=0
  1.7639 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  1.7640 +#! $SHELL
  1.7641 +# Generated by $as_me.
  1.7642 +# Run this file to recreate the current configuration.
  1.7643 +# Compiler output produced by configure, useful for debugging
  1.7644 +# configure, is in config.log if it exists.
  1.7645 +
  1.7646 +debug=false
  1.7647 +ac_cs_recheck=false
  1.7648 +ac_cs_silent=false
  1.7649 +
  1.7650 +SHELL=\${CONFIG_SHELL-$SHELL}
  1.7651 +export SHELL
  1.7652 +_ASEOF
  1.7653 +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  1.7654 +## -------------------- ##
  1.7655 +## M4sh Initialization. ##
  1.7656 +## -------------------- ##
  1.7657 +
  1.7658 +# Be more Bourne compatible
  1.7659 +DUALCASE=1; export DUALCASE # for MKS sh
  1.7660 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  1.7661 +  emulate sh
  1.7662 +  NULLCMD=:
  1.7663 +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  1.7664 +  # is contrary to our usage.  Disable this feature.
  1.7665 +  alias -g '${1+"$@"}'='"$@"'
  1.7666 +  setopt NO_GLOB_SUBST
  1.7667 +else
  1.7668 +  case `(set -o) 2>/dev/null` in #(
  1.7669 +  *posix*) :
  1.7670 +    set -o posix ;; #(
  1.7671 +  *) :
  1.7672 +     ;;
  1.7673 +esac
  1.7674 +fi
  1.7675 +
  1.7676 +
  1.7677 +as_nl='
  1.7678 +'
  1.7679 +export as_nl
  1.7680 +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  1.7681 +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  1.7682 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  1.7683 +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  1.7684 +# Prefer a ksh shell builtin over an external printf program on Solaris,
  1.7685 +# but without wasting forks for bash or zsh.
  1.7686 +if test -z "$BASH_VERSION$ZSH_VERSION" \
  1.7687 +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  1.7688 +  as_echo='print -r --'
  1.7689 +  as_echo_n='print -rn --'
  1.7690 +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  1.7691 +  as_echo='printf %s\n'
  1.7692 +  as_echo_n='printf %s'
  1.7693 +else
  1.7694 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  1.7695 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  1.7696 +    as_echo_n='/usr/ucb/echo -n'
  1.7697 +  else
  1.7698 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  1.7699 +    as_echo_n_body='eval
  1.7700 +      arg=$1;
  1.7701 +      case $arg in #(
  1.7702 +      *"$as_nl"*)
  1.7703 +	expr "X$arg" : "X\\(.*\\)$as_nl";
  1.7704 +	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  1.7705 +      esac;
  1.7706 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  1.7707 +    '
  1.7708 +    export as_echo_n_body
  1.7709 +    as_echo_n='sh -c $as_echo_n_body as_echo'
  1.7710 +  fi
  1.7711 +  export as_echo_body
  1.7712 +  as_echo='sh -c $as_echo_body as_echo'
  1.7713 +fi
  1.7714 +
  1.7715 +# The user is always right.
  1.7716 +if test "${PATH_SEPARATOR+set}" != set; then
  1.7717 +  PATH_SEPARATOR=:
  1.7718 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  1.7719 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  1.7720 +      PATH_SEPARATOR=';'
  1.7721 +  }
  1.7722 +fi
  1.7723 +
  1.7724 +
  1.7725 +# IFS
  1.7726 +# We need space, tab and new line, in precisely that order.  Quoting is
  1.7727 +# there to prevent editors from complaining about space-tab.
  1.7728 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  1.7729 +# splitting by setting IFS to empty value.)
  1.7730 +IFS=" ""	$as_nl"
  1.7731 +
  1.7732 +# Find who we are.  Look in the path if we contain no directory separator.
  1.7733 +as_myself=
  1.7734 +case $0 in #((
  1.7735 +  *[\\/]* ) as_myself=$0 ;;
  1.7736 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1.7737 +for as_dir in $PATH
  1.7738 +do
  1.7739 +  IFS=$as_save_IFS
  1.7740 +  test -z "$as_dir" && as_dir=.
  1.7741 +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1.7742 +  done
  1.7743 +IFS=$as_save_IFS
  1.7744 +
  1.7745 +     ;;
  1.7746 +esac
  1.7747 +# We did not find ourselves, most probably we were run as `sh COMMAND'
  1.7748 +# in which case we are not to be found in the path.
  1.7749 +if test "x$as_myself" = x; then
  1.7750 +  as_myself=$0
  1.7751 +fi
  1.7752 +if test ! -f "$as_myself"; then
  1.7753 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  1.7754 +  exit 1
  1.7755 +fi
  1.7756 +
  1.7757 +# Unset variables that we do not need and which cause bugs (e.g. in
  1.7758 +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  1.7759 +# suppresses any "Segmentation fault" message there.  '((' could
  1.7760 +# trigger a bug in pdksh 5.2.14.
  1.7761 +for as_var in BASH_ENV ENV MAIL MAILPATH
  1.7762 +do eval test x\${$as_var+set} = xset \
  1.7763 +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  1.7764 +done
  1.7765 +PS1='$ '
  1.7766 +PS2='> '
  1.7767 +PS4='+ '
  1.7768 +
  1.7769 +# NLS nuisances.
  1.7770 +LC_ALL=C
  1.7771 +export LC_ALL
  1.7772 +LANGUAGE=C
  1.7773 +export LANGUAGE
  1.7774 +
  1.7775 +# CDPATH.
  1.7776 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1.7777 +
  1.7778 +
  1.7779 +# as_fn_error STATUS ERROR [LINENO LOG_FD]
  1.7780 +# ----------------------------------------
  1.7781 +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  1.7782 +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  1.7783 +# script with STATUS, using 1 if that was 0.
  1.7784 +as_fn_error ()
  1.7785 +{
  1.7786 +  as_status=$1; test $as_status -eq 0 && as_status=1
  1.7787 +  if test "$4"; then
  1.7788 +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1.7789 +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  1.7790 +  fi
  1.7791 +  $as_echo "$as_me: error: $2" >&2
  1.7792 +  as_fn_exit $as_status
  1.7793 +} # as_fn_error
  1.7794 +
  1.7795 +
  1.7796 +# as_fn_set_status STATUS
  1.7797 +# -----------------------
  1.7798 +# Set $? to STATUS, without forking.
  1.7799 +as_fn_set_status ()
  1.7800 +{
  1.7801 +  return $1
  1.7802 +} # as_fn_set_status
  1.7803 +
  1.7804 +# as_fn_exit STATUS
  1.7805 +# -----------------
  1.7806 +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  1.7807 +as_fn_exit ()
  1.7808 +{
  1.7809 +  set +e
  1.7810 +  as_fn_set_status $1
  1.7811 +  exit $1
  1.7812 +} # as_fn_exit
  1.7813 +
  1.7814 +# as_fn_unset VAR
  1.7815 +# ---------------
  1.7816 +# Portably unset VAR.
  1.7817 +as_fn_unset ()
  1.7818 +{
  1.7819 +  { eval $1=; unset $1;}
  1.7820 +}
  1.7821 +as_unset=as_fn_unset
  1.7822 +# as_fn_append VAR VALUE
  1.7823 +# ----------------------
  1.7824 +# Append the text in VALUE to the end of the definition contained in VAR. Take
  1.7825 +# advantage of any shell optimizations that allow amortized linear growth over
  1.7826 +# repeated appends, instead of the typical quadratic growth present in naive
  1.7827 +# implementations.
  1.7828 +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  1.7829 +  eval 'as_fn_append ()
  1.7830 +  {
  1.7831 +    eval $1+=\$2
  1.7832 +  }'
  1.7833 +else
  1.7834 +  as_fn_append ()
  1.7835 +  {
  1.7836 +    eval $1=\$$1\$2
  1.7837 +  }
  1.7838 +fi # as_fn_append
  1.7839 +
  1.7840 +# as_fn_arith ARG...
  1.7841 +# ------------------
  1.7842 +# Perform arithmetic evaluation on the ARGs, and store the result in the
  1.7843 +# global $as_val. Take advantage of shells that can avoid forks. The arguments
  1.7844 +# must be portable across $(()) and expr.
  1.7845 +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  1.7846 +  eval 'as_fn_arith ()
  1.7847 +  {
  1.7848 +    as_val=$(( $* ))
  1.7849 +  }'
  1.7850 +else
  1.7851 +  as_fn_arith ()
  1.7852 +  {
  1.7853 +    as_val=`expr "$@" || test $? -eq 1`
  1.7854 +  }
  1.7855 +fi # as_fn_arith
  1.7856 +
  1.7857 +
  1.7858 +if expr a : '\(a\)' >/dev/null 2>&1 &&
  1.7859 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  1.7860 +  as_expr=expr
  1.7861 +else
  1.7862 +  as_expr=false
  1.7863 +fi
  1.7864 +
  1.7865 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  1.7866 +  as_basename=basename
  1.7867 +else
  1.7868 +  as_basename=false
  1.7869 +fi
  1.7870 +
  1.7871 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  1.7872 +  as_dirname=dirname
  1.7873 +else
  1.7874 +  as_dirname=false
  1.7875 +fi
  1.7876 +
  1.7877 +as_me=`$as_basename -- "$0" ||
  1.7878 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1.7879 +	 X"$0" : 'X\(//\)$' \| \
  1.7880 +	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1.7881 +$as_echo X/"$0" |
  1.7882 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
  1.7883 +	    s//\1/
  1.7884 +	    q
  1.7885 +	  }
  1.7886 +	  /^X\/\(\/\/\)$/{
  1.7887 +	    s//\1/
  1.7888 +	    q
  1.7889 +	  }
  1.7890 +	  /^X\/\(\/\).*/{
  1.7891 +	    s//\1/
  1.7892 +	    q
  1.7893 +	  }
  1.7894 +	  s/.*/./; q'`
  1.7895 +
  1.7896 +# Avoid depending upon Character Ranges.
  1.7897 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1.7898 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1.7899 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1.7900 +as_cr_digits='0123456789'
  1.7901 +as_cr_alnum=$as_cr_Letters$as_cr_digits
  1.7902 +
  1.7903 +ECHO_C= ECHO_N= ECHO_T=
  1.7904 +case `echo -n x` in #(((((
  1.7905 +-n*)
  1.7906 +  case `echo 'xy\c'` in
  1.7907 +  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  1.7908 +  xy)  ECHO_C='\c';;
  1.7909 +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  1.7910 +       ECHO_T='	';;
  1.7911 +  esac;;
  1.7912 +*)
  1.7913 +  ECHO_N='-n';;
  1.7914 +esac
  1.7915 +
  1.7916 +rm -f conf$$ conf$$.exe conf$$.file
  1.7917 +if test -d conf$$.dir; then
  1.7918 +  rm -f conf$$.dir/conf$$.file
  1.7919 +else
  1.7920 +  rm -f conf$$.dir
  1.7921 +  mkdir conf$$.dir 2>/dev/null
  1.7922 +fi
  1.7923 +if (echo >conf$$.file) 2>/dev/null; then
  1.7924 +  if ln -s conf$$.file conf$$ 2>/dev/null; then
  1.7925 +    as_ln_s='ln -s'
  1.7926 +    # ... but there are two gotchas:
  1.7927 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  1.7928 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  1.7929 +    # In both cases, we have to default to `cp -p'.
  1.7930 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  1.7931 +      as_ln_s='cp -p'
  1.7932 +  elif ln conf$$.file conf$$ 2>/dev/null; then
  1.7933 +    as_ln_s=ln
  1.7934 +  else
  1.7935 +    as_ln_s='cp -p'
  1.7936 +  fi
  1.7937 +else
  1.7938 +  as_ln_s='cp -p'
  1.7939 +fi
  1.7940 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  1.7941 +rmdir conf$$.dir 2>/dev/null
  1.7942 +
  1.7943 +
  1.7944 +# as_fn_mkdir_p
  1.7945 +# -------------
  1.7946 +# Create "$as_dir" as a directory, including parents if necessary.
  1.7947 +as_fn_mkdir_p ()
  1.7948 +{
  1.7949 +
  1.7950 +  case $as_dir in #(
  1.7951 +  -*) as_dir=./$as_dir;;
  1.7952 +  esac
  1.7953 +  test -d "$as_dir" || eval $as_mkdir_p || {
  1.7954 +    as_dirs=
  1.7955 +    while :; do
  1.7956 +      case $as_dir in #(
  1.7957 +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  1.7958 +      *) as_qdir=$as_dir;;
  1.7959 +      esac
  1.7960 +      as_dirs="'$as_qdir' $as_dirs"
  1.7961 +      as_dir=`$as_dirname -- "$as_dir" ||
  1.7962 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.7963 +	 X"$as_dir" : 'X\(//\)[^/]' \| \
  1.7964 +	 X"$as_dir" : 'X\(//\)$' \| \
  1.7965 +	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  1.7966 +$as_echo X"$as_dir" |
  1.7967 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.7968 +	    s//\1/
  1.7969 +	    q
  1.7970 +	  }
  1.7971 +	  /^X\(\/\/\)[^/].*/{
  1.7972 +	    s//\1/
  1.7973 +	    q
  1.7974 +	  }
  1.7975 +	  /^X\(\/\/\)$/{
  1.7976 +	    s//\1/
  1.7977 +	    q
  1.7978 +	  }
  1.7979 +	  /^X\(\/\).*/{
  1.7980 +	    s//\1/
  1.7981 +	    q
  1.7982 +	  }
  1.7983 +	  s/.*/./; q'`
  1.7984 +      test -d "$as_dir" && break
  1.7985 +    done
  1.7986 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
  1.7987 +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  1.7988 +
  1.7989 +
  1.7990 +} # as_fn_mkdir_p
  1.7991 +if mkdir -p . 2>/dev/null; then
  1.7992 +  as_mkdir_p='mkdir -p "$as_dir"'
  1.7993 +else
  1.7994 +  test -d ./-p && rmdir ./-p
  1.7995 +  as_mkdir_p=false
  1.7996 +fi
  1.7997 +
  1.7998 +if test -x / >/dev/null 2>&1; then
  1.7999 +  as_test_x='test -x'
  1.8000 +else
  1.8001 +  if ls -dL / >/dev/null 2>&1; then
  1.8002 +    as_ls_L_option=L
  1.8003 +  else
  1.8004 +    as_ls_L_option=
  1.8005 +  fi
  1.8006 +  as_test_x='
  1.8007 +    eval sh -c '\''
  1.8008 +      if test -d "$1"; then
  1.8009 +	test -d "$1/.";
  1.8010 +      else
  1.8011 +	case $1 in #(
  1.8012 +	-*)set "./$1";;
  1.8013 +	esac;
  1.8014 +	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  1.8015 +	???[sx]*):;;*)false;;esac;fi
  1.8016 +    '\'' sh
  1.8017 +  '
  1.8018 +fi
  1.8019 +as_executable_p=$as_test_x
  1.8020 +
  1.8021 +# Sed expression to map a string onto a valid CPP name.
  1.8022 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  1.8023 +
  1.8024 +# Sed expression to map a string onto a valid variable name.
  1.8025 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  1.8026 +
  1.8027 +
  1.8028 +exec 6>&1
  1.8029 +## ----------------------------------- ##
  1.8030 +## Main body of $CONFIG_STATUS script. ##
  1.8031 +## ----------------------------------- ##
  1.8032 +_ASEOF
  1.8033 +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  1.8034 +
  1.8035 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8036 +# Save the log message, to keep $0 and so on meaningful, and to
  1.8037 +# report actual input values of CONFIG_FILES etc. instead of their
  1.8038 +# values after options handling.
  1.8039 +ac_log="
  1.8040 +This file was extended by $as_me, which was
  1.8041 +generated by GNU Autoconf 2.68.  Invocation command line was
  1.8042 +
  1.8043 +  CONFIG_FILES    = $CONFIG_FILES
  1.8044 +  CONFIG_HEADERS  = $CONFIG_HEADERS
  1.8045 +  CONFIG_LINKS    = $CONFIG_LINKS
  1.8046 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
  1.8047 +  $ $0 $@
  1.8048 +
  1.8049 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
  1.8050 +"
  1.8051 +
  1.8052 +_ACEOF
  1.8053 +
  1.8054 +case $ac_config_files in *"
  1.8055 +"*) set x $ac_config_files; shift; ac_config_files=$*;;
  1.8056 +esac
  1.8057 +
  1.8058 +
  1.8059 +
  1.8060 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8061 +# Files that config.status was made for.
  1.8062 +config_files="$ac_config_files"
  1.8063 +
  1.8064 +_ACEOF
  1.8065 +
  1.8066 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8067 +ac_cs_usage="\
  1.8068 +\`$as_me' instantiates files and other configuration actions
  1.8069 +from templates according to the current configuration.  Unless the files
  1.8070 +and actions are specified as TAGs, all are instantiated by default.
  1.8071 +
  1.8072 +Usage: $0 [OPTION]... [TAG]...
  1.8073 +
  1.8074 +  -h, --help       print this help, then exit
  1.8075 +  -V, --version    print version number and configuration settings, then exit
  1.8076 +      --config     print configuration, then exit
  1.8077 +  -q, --quiet, --silent
  1.8078 +                   do not print progress messages
  1.8079 +  -d, --debug      don't remove temporary files
  1.8080 +      --recheck    update $as_me by reconfiguring in the same conditions
  1.8081 +      --file=FILE[:TEMPLATE]
  1.8082 +                   instantiate the configuration file FILE
  1.8083 +
  1.8084 +Configuration files:
  1.8085 +$config_files
  1.8086 +
  1.8087 +Report bugs to the package provider."
  1.8088 +
  1.8089 +_ACEOF
  1.8090 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8091 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  1.8092 +ac_cs_version="\\
  1.8093 +config.status
  1.8094 +configured by $0, generated by GNU Autoconf 2.68,
  1.8095 +  with options \\"\$ac_cs_config\\"
  1.8096 +
  1.8097 +Copyright (C) 2010 Free Software Foundation, Inc.
  1.8098 +This config.status script is free software; the Free Software Foundation
  1.8099 +gives unlimited permission to copy, distribute and modify it."
  1.8100 +
  1.8101 +ac_pwd='$ac_pwd'
  1.8102 +srcdir='$srcdir'
  1.8103 +INSTALL='$INSTALL'
  1.8104 +test -n "\$AWK" || AWK=awk
  1.8105 +_ACEOF
  1.8106 +
  1.8107 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8108 +# The default lists apply if the user does not specify any file.
  1.8109 +ac_need_defaults=:
  1.8110 +while test $# != 0
  1.8111 +do
  1.8112 +  case $1 in
  1.8113 +  --*=?*)
  1.8114 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.8115 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  1.8116 +    ac_shift=:
  1.8117 +    ;;
  1.8118 +  --*=)
  1.8119 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
  1.8120 +    ac_optarg=
  1.8121 +    ac_shift=:
  1.8122 +    ;;
  1.8123 +  *)
  1.8124 +    ac_option=$1
  1.8125 +    ac_optarg=$2
  1.8126 +    ac_shift=shift
  1.8127 +    ;;
  1.8128 +  esac
  1.8129 +
  1.8130 +  case $ac_option in
  1.8131 +  # Handling of the options.
  1.8132 +  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1.8133 +    ac_cs_recheck=: ;;
  1.8134 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  1.8135 +    $as_echo "$ac_cs_version"; exit ;;
  1.8136 +  --config | --confi | --conf | --con | --co | --c )
  1.8137 +    $as_echo "$ac_cs_config"; exit ;;
  1.8138 +  --debug | --debu | --deb | --de | --d | -d )
  1.8139 +    debug=: ;;
  1.8140 +  --file | --fil | --fi | --f )
  1.8141 +    $ac_shift
  1.8142 +    case $ac_optarg in
  1.8143 +    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1.8144 +    '') as_fn_error $? "missing file argument" ;;
  1.8145 +    esac
  1.8146 +    as_fn_append CONFIG_FILES " '$ac_optarg'"
  1.8147 +    ac_need_defaults=false;;
  1.8148 +  --he | --h |  --help | --hel | -h )
  1.8149 +    $as_echo "$ac_cs_usage"; exit ;;
  1.8150 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1.8151 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
  1.8152 +    ac_cs_silent=: ;;
  1.8153 +
  1.8154 +  # This is an error.
  1.8155 +  -*) as_fn_error $? "unrecognized option: \`$1'
  1.8156 +Try \`$0 --help' for more information." ;;
  1.8157 +
  1.8158 +  *) as_fn_append ac_config_targets " $1"
  1.8159 +     ac_need_defaults=false ;;
  1.8160 +
  1.8161 +  esac
  1.8162 +  shift
  1.8163 +done
  1.8164 +
  1.8165 +ac_configure_extra_args=
  1.8166 +
  1.8167 +if $ac_cs_silent; then
  1.8168 +  exec 6>/dev/null
  1.8169 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
  1.8170 +fi
  1.8171 +
  1.8172 +_ACEOF
  1.8173 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8174 +if \$ac_cs_recheck; then
  1.8175 +  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  1.8176 +  shift
  1.8177 +  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  1.8178 +  CONFIG_SHELL='$SHELL'
  1.8179 +  export CONFIG_SHELL
  1.8180 +  exec "\$@"
  1.8181 +fi
  1.8182 +
  1.8183 +_ACEOF
  1.8184 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8185 +exec 5>>config.log
  1.8186 +{
  1.8187 +  echo
  1.8188 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1.8189 +## Running $as_me. ##
  1.8190 +_ASBOX
  1.8191 +  $as_echo "$ac_log"
  1.8192 +} >&5
  1.8193 +
  1.8194 +_ACEOF
  1.8195 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8196 +_ACEOF
  1.8197 +
  1.8198 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8199 +
  1.8200 +# Handling of arguments.
  1.8201 +for ac_config_target in $ac_config_targets
  1.8202 +do
  1.8203 +  case $ac_config_target in
  1.8204 +    "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;
  1.8205 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1.8206 +    "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;;
  1.8207 +    "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;
  1.8208 +    "config/icu.pc") CONFIG_FILES="$CONFIG_FILES config/icu.pc" ;;
  1.8209 +    "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;;
  1.8210 +    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
  1.8211 +    "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;
  1.8212 +    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
  1.8213 +    "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
  1.8214 +    "layout/Makefile") CONFIG_FILES="$CONFIG_FILES layout/Makefile" ;;
  1.8215 +    "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;
  1.8216 +    "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
  1.8217 +    "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
  1.8218 +    "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;
  1.8219 +    "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;
  1.8220 +    "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;
  1.8221 +    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
  1.8222 +    "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;
  1.8223 +    "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;
  1.8224 +    "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;
  1.8225 +    "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;
  1.8226 +    "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;
  1.8227 +    "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;
  1.8228 +    "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;
  1.8229 +    "tools/gendict/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gendict/Makefile" ;;
  1.8230 +    "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;
  1.8231 +    "tools/gennorm2/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm2/Makefile" ;;
  1.8232 +    "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;
  1.8233 +    "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;
  1.8234 +    "tools/icuinfo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuinfo/Makefile" ;;
  1.8235 +    "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;;
  1.8236 +    "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;
  1.8237 +    "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;
  1.8238 +    "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;;
  1.8239 +    "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;;
  1.8240 +    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
  1.8241 +    "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;;
  1.8242 +    "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;
  1.8243 +    "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;
  1.8244 +    "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;
  1.8245 +    "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;
  1.8246 +    "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;
  1.8247 +    "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;
  1.8248 +    "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;
  1.8249 +    "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;;
  1.8250 +    "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
  1.8251 +    "test/perf/collperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf/Makefile" ;;
  1.8252 +    "test/perf/dicttrieperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/dicttrieperf/Makefile" ;;
  1.8253 +    "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
  1.8254 +    "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;;
  1.8255 +    "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;;
  1.8256 +    "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;;
  1.8257 +    "test/perf/DateFmtPerf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;;
  1.8258 +    "test/perf/howExpensiveIs/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/howExpensiveIs/Makefile" ;;
  1.8259 +    "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;
  1.8260 +    "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
  1.8261 +    "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
  1.8262 +    "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
  1.8263 +    "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
  1.8264 +    "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;
  1.8265 +    "test/perf/leperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/leperf/Makefile" ;;
  1.8266 +    "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
  1.8267 +    "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;
  1.8268 +    "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;
  1.8269 +    "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
  1.8270 +
  1.8271 +  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  1.8272 +  esac
  1.8273 +done
  1.8274 +
  1.8275 +
  1.8276 +# If the user did not use the arguments to specify the items to instantiate,
  1.8277 +# then the envvar interface is used.  Set only those that are not.
  1.8278 +# We use the long form for the default assignment because of an extremely
  1.8279 +# bizarre bug on SunOS 4.1.3.
  1.8280 +if $ac_need_defaults; then
  1.8281 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1.8282 +fi
  1.8283 +
  1.8284 +# Have a temporary directory for convenience.  Make it in the build tree
  1.8285 +# simply because there is no reason against having it here, and in addition,
  1.8286 +# creating and moving files from /tmp can sometimes cause problems.
  1.8287 +# Hook for its removal unless debugging.
  1.8288 +# Note that there is a small window in which the directory will not be cleaned:
  1.8289 +# after its creation but before its name has been assigned to `$tmp'.
  1.8290 +$debug ||
  1.8291 +{
  1.8292 +  tmp= ac_tmp=
  1.8293 +  trap 'exit_status=$?
  1.8294 +  : "${ac_tmp:=$tmp}"
  1.8295 +  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  1.8296 +' 0
  1.8297 +  trap 'as_fn_exit 1' 1 2 13 15
  1.8298 +}
  1.8299 +# Create a (secure) tmp directory for tmp files.
  1.8300 +
  1.8301 +{
  1.8302 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  1.8303 +  test -d "$tmp"
  1.8304 +}  ||
  1.8305 +{
  1.8306 +  tmp=./conf$$-$RANDOM
  1.8307 +  (umask 077 && mkdir "$tmp")
  1.8308 +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  1.8309 +ac_tmp=$tmp
  1.8310 +
  1.8311 +# Set up the scripts for CONFIG_FILES section.
  1.8312 +# No need to generate them if there are no CONFIG_FILES.
  1.8313 +# This happens for instance with `./config.status config.h'.
  1.8314 +if test -n "$CONFIG_FILES"; then
  1.8315 +
  1.8316 +
  1.8317 +ac_cr=`echo X | tr X '\015'`
  1.8318 +# On cygwin, bash can eat \r inside `` if the user requested igncr.
  1.8319 +# But we know of no other shell where ac_cr would be empty at this
  1.8320 +# point, so we can use a bashism as a fallback.
  1.8321 +if test "x$ac_cr" = x; then
  1.8322 +  eval ac_cr=\$\'\\r\'
  1.8323 +fi
  1.8324 +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  1.8325 +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  1.8326 +  ac_cs_awk_cr='\\r'
  1.8327 +else
  1.8328 +  ac_cs_awk_cr=$ac_cr
  1.8329 +fi
  1.8330 +
  1.8331 +echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  1.8332 +_ACEOF
  1.8333 +
  1.8334 +
  1.8335 +{
  1.8336 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
  1.8337 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  1.8338 +  echo "_ACEOF"
  1.8339 +} >conf$$subs.sh ||
  1.8340 +  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.8341 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  1.8342 +ac_delim='%!_!# '
  1.8343 +for ac_last_try in false false false false false :; do
  1.8344 +  . ./conf$$subs.sh ||
  1.8345 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.8346 +
  1.8347 +  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  1.8348 +  if test $ac_delim_n = $ac_delim_num; then
  1.8349 +    break
  1.8350 +  elif $ac_last_try; then
  1.8351 +    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  1.8352 +  else
  1.8353 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  1.8354 +  fi
  1.8355 +done
  1.8356 +rm -f conf$$subs.sh
  1.8357 +
  1.8358 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8359 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  1.8360 +_ACEOF
  1.8361 +sed -n '
  1.8362 +h
  1.8363 +s/^/S["/; s/!.*/"]=/
  1.8364 +p
  1.8365 +g
  1.8366 +s/^[^!]*!//
  1.8367 +:repl
  1.8368 +t repl
  1.8369 +s/'"$ac_delim"'$//
  1.8370 +t delim
  1.8371 +:nl
  1.8372 +h
  1.8373 +s/\(.\{148\}\)..*/\1/
  1.8374 +t more1
  1.8375 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  1.8376 +p
  1.8377 +n
  1.8378 +b repl
  1.8379 +:more1
  1.8380 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  1.8381 +p
  1.8382 +g
  1.8383 +s/.\{148\}//
  1.8384 +t nl
  1.8385 +:delim
  1.8386 +h
  1.8387 +s/\(.\{148\}\)..*/\1/
  1.8388 +t more2
  1.8389 +s/["\\]/\\&/g; s/^/"/; s/$/"/
  1.8390 +p
  1.8391 +b
  1.8392 +:more2
  1.8393 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  1.8394 +p
  1.8395 +g
  1.8396 +s/.\{148\}//
  1.8397 +t delim
  1.8398 +' <conf$$subs.awk | sed '
  1.8399 +/^[^""]/{
  1.8400 +  N
  1.8401 +  s/\n//
  1.8402 +}
  1.8403 +' >>$CONFIG_STATUS || ac_write_fail=1
  1.8404 +rm -f conf$$subs.awk
  1.8405 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8406 +_ACAWK
  1.8407 +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  1.8408 +  for (key in S) S_is_set[key] = 1
  1.8409 +  FS = ""
  1.8410 +
  1.8411 +}
  1.8412 +{
  1.8413 +  line = $ 0
  1.8414 +  nfields = split(line, field, "@")
  1.8415 +  substed = 0
  1.8416 +  len = length(field[1])
  1.8417 +  for (i = 2; i < nfields; i++) {
  1.8418 +    key = field[i]
  1.8419 +    keylen = length(key)
  1.8420 +    if (S_is_set[key]) {
  1.8421 +      value = S[key]
  1.8422 +      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  1.8423 +      len += length(value) + length(field[++i])
  1.8424 +      substed = 1
  1.8425 +    } else
  1.8426 +      len += 1 + keylen
  1.8427 +  }
  1.8428 +
  1.8429 +  print line
  1.8430 +}
  1.8431 +
  1.8432 +_ACAWK
  1.8433 +_ACEOF
  1.8434 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8435 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  1.8436 +  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  1.8437 +else
  1.8438 +  cat
  1.8439 +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  1.8440 +  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  1.8441 +_ACEOF
  1.8442 +
  1.8443 +# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  1.8444 +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  1.8445 +# trailing colons and then remove the whole line if VPATH becomes empty
  1.8446 +# (actually we leave an empty line to preserve line numbers).
  1.8447 +if test "x$srcdir" = x.; then
  1.8448 +  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
  1.8449 +h
  1.8450 +s///
  1.8451 +s/^/:/
  1.8452 +s/[	 ]*$/:/
  1.8453 +s/:\$(srcdir):/:/g
  1.8454 +s/:\${srcdir}:/:/g
  1.8455 +s/:@srcdir@:/:/g
  1.8456 +s/^:*//
  1.8457 +s/:*$//
  1.8458 +x
  1.8459 +s/\(=[	 ]*\).*/\1/
  1.8460 +G
  1.8461 +s/\n//
  1.8462 +s/^[^=]*=[	 ]*$//
  1.8463 +}'
  1.8464 +fi
  1.8465 +
  1.8466 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8467 +fi # test -n "$CONFIG_FILES"
  1.8468 +
  1.8469 +
  1.8470 +eval set X "  :F $CONFIG_FILES      "
  1.8471 +shift
  1.8472 +for ac_tag
  1.8473 +do
  1.8474 +  case $ac_tag in
  1.8475 +  :[FHLC]) ac_mode=$ac_tag; continue;;
  1.8476 +  esac
  1.8477 +  case $ac_mode$ac_tag in
  1.8478 +  :[FHL]*:*);;
  1.8479 +  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1.8480 +  :[FH]-) ac_tag=-:-;;
  1.8481 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1.8482 +  esac
  1.8483 +  ac_save_IFS=$IFS
  1.8484 +  IFS=:
  1.8485 +  set x $ac_tag
  1.8486 +  IFS=$ac_save_IFS
  1.8487 +  shift
  1.8488 +  ac_file=$1
  1.8489 +  shift
  1.8490 +
  1.8491 +  case $ac_mode in
  1.8492 +  :L) ac_source=$1;;
  1.8493 +  :[FH])
  1.8494 +    ac_file_inputs=
  1.8495 +    for ac_f
  1.8496 +    do
  1.8497 +      case $ac_f in
  1.8498 +      -) ac_f="$ac_tmp/stdin";;
  1.8499 +      *) # Look for the file first in the build tree, then in the source tree
  1.8500 +	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1.8501 +	 # because $ac_f cannot contain `:'.
  1.8502 +	 test -f "$ac_f" ||
  1.8503 +	   case $ac_f in
  1.8504 +	   [\\/$]*) false;;
  1.8505 +	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1.8506 +	   esac ||
  1.8507 +	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1.8508 +      esac
  1.8509 +      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1.8510 +      as_fn_append ac_file_inputs " '$ac_f'"
  1.8511 +    done
  1.8512 +
  1.8513 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
  1.8514 +    # use $as_me), people would be surprised to read:
  1.8515 +    #    /* config.h.  Generated by config.status.  */
  1.8516 +    configure_input='Generated from '`
  1.8517 +	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1.8518 +	`' by configure.'
  1.8519 +    if test x"$ac_file" != x-; then
  1.8520 +      configure_input="$ac_file.  $configure_input"
  1.8521 +      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1.8522 +$as_echo "$as_me: creating $ac_file" >&6;}
  1.8523 +    fi
  1.8524 +    # Neutralize special characters interpreted by sed in replacement strings.
  1.8525 +    case $configure_input in #(
  1.8526 +    *\&* | *\|* | *\\* )
  1.8527 +       ac_sed_conf_input=`$as_echo "$configure_input" |
  1.8528 +       sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1.8529 +    *) ac_sed_conf_input=$configure_input;;
  1.8530 +    esac
  1.8531 +
  1.8532 +    case $ac_tag in
  1.8533 +    *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1.8534 +      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1.8535 +    esac
  1.8536 +    ;;
  1.8537 +  esac
  1.8538 +
  1.8539 +  ac_dir=`$as_dirname -- "$ac_file" ||
  1.8540 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1.8541 +	 X"$ac_file" : 'X\(//\)[^/]' \| \
  1.8542 +	 X"$ac_file" : 'X\(//\)$' \| \
  1.8543 +	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1.8544 +$as_echo X"$ac_file" |
  1.8545 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1.8546 +	    s//\1/
  1.8547 +	    q
  1.8548 +	  }
  1.8549 +	  /^X\(\/\/\)[^/].*/{
  1.8550 +	    s//\1/
  1.8551 +	    q
  1.8552 +	  }
  1.8553 +	  /^X\(\/\/\)$/{
  1.8554 +	    s//\1/
  1.8555 +	    q
  1.8556 +	  }
  1.8557 +	  /^X\(\/\).*/{
  1.8558 +	    s//\1/
  1.8559 +	    q
  1.8560 +	  }
  1.8561 +	  s/.*/./; q'`
  1.8562 +  as_dir="$ac_dir"; as_fn_mkdir_p
  1.8563 +  ac_builddir=.
  1.8564 +
  1.8565 +case "$ac_dir" in
  1.8566 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.8567 +*)
  1.8568 +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1.8569 +  # A ".." for each directory in $ac_dir_suffix.
  1.8570 +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1.8571 +  case $ac_top_builddir_sub in
  1.8572 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1.8573 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1.8574 +  esac ;;
  1.8575 +esac
  1.8576 +ac_abs_top_builddir=$ac_pwd
  1.8577 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1.8578 +# for backward compatibility:
  1.8579 +ac_top_builddir=$ac_top_build_prefix
  1.8580 +
  1.8581 +case $srcdir in
  1.8582 +  .)  # We are building in place.
  1.8583 +    ac_srcdir=.
  1.8584 +    ac_top_srcdir=$ac_top_builddir_sub
  1.8585 +    ac_abs_top_srcdir=$ac_pwd ;;
  1.8586 +  [\\/]* | ?:[\\/]* )  # Absolute name.
  1.8587 +    ac_srcdir=$srcdir$ac_dir_suffix;
  1.8588 +    ac_top_srcdir=$srcdir
  1.8589 +    ac_abs_top_srcdir=$srcdir ;;
  1.8590 +  *) # Relative name.
  1.8591 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1.8592 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  1.8593 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1.8594 +esac
  1.8595 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1.8596 +
  1.8597 +
  1.8598 +  case $ac_mode in
  1.8599 +  :F)
  1.8600 +  #
  1.8601 +  # CONFIG_FILE
  1.8602 +  #
  1.8603 +
  1.8604 +  case $INSTALL in
  1.8605 +  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1.8606 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1.8607 +  esac
  1.8608 +_ACEOF
  1.8609 +
  1.8610 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8611 +# If the template does not know about datarootdir, expand it.
  1.8612 +# FIXME: This hack should be removed a few years after 2.60.
  1.8613 +ac_datarootdir_hack=; ac_datarootdir_seen=
  1.8614 +ac_sed_dataroot='
  1.8615 +/datarootdir/ {
  1.8616 +  p
  1.8617 +  q
  1.8618 +}
  1.8619 +/@datadir@/p
  1.8620 +/@docdir@/p
  1.8621 +/@infodir@/p
  1.8622 +/@localedir@/p
  1.8623 +/@mandir@/p'
  1.8624 +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1.8625 +*datarootdir*) ac_datarootdir_seen=yes;;
  1.8626 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1.8627 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1.8628 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1.8629 +_ACEOF
  1.8630 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8631 +  ac_datarootdir_hack='
  1.8632 +  s&@datadir@&$datadir&g
  1.8633 +  s&@docdir@&$docdir&g
  1.8634 +  s&@infodir@&$infodir&g
  1.8635 +  s&@localedir@&$localedir&g
  1.8636 +  s&@mandir@&$mandir&g
  1.8637 +  s&\\\${datarootdir}&$datarootdir&g' ;;
  1.8638 +esac
  1.8639 +_ACEOF
  1.8640 +
  1.8641 +# Neutralize VPATH when `$srcdir' = `.'.
  1.8642 +# Shell code in configure.ac might set extrasub.
  1.8643 +# FIXME: do we really want to maintain this feature?
  1.8644 +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  1.8645 +ac_sed_extra="$ac_vpsub
  1.8646 +$extrasub
  1.8647 +_ACEOF
  1.8648 +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  1.8649 +:t
  1.8650 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1.8651 +s|@configure_input@|$ac_sed_conf_input|;t t
  1.8652 +s&@top_builddir@&$ac_top_builddir_sub&;t t
  1.8653 +s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1.8654 +s&@srcdir@&$ac_srcdir&;t t
  1.8655 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1.8656 +s&@top_srcdir@&$ac_top_srcdir&;t t
  1.8657 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1.8658 +s&@builddir@&$ac_builddir&;t t
  1.8659 +s&@abs_builddir@&$ac_abs_builddir&;t t
  1.8660 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1.8661 +s&@INSTALL@&$ac_INSTALL&;t t
  1.8662 +$ac_datarootdir_hack
  1.8663 +"
  1.8664 +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1.8665 +  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1.8666 +
  1.8667 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1.8668 +  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1.8669 +  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
  1.8670 +      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1.8671 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.8672 +which seems to be undefined.  Please make sure it is defined" >&5
  1.8673 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1.8674 +which seems to be undefined.  Please make sure it is defined" >&2;}
  1.8675 +
  1.8676 +  rm -f "$ac_tmp/stdin"
  1.8677 +  case $ac_file in
  1.8678 +  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1.8679 +  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1.8680 +  esac \
  1.8681 +  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1.8682 + ;;
  1.8683 +
  1.8684 +
  1.8685 +
  1.8686 +  esac
  1.8687 +
  1.8688 +done # for ac_tag
  1.8689 +
  1.8690 +
  1.8691 +as_fn_exit 0
  1.8692 +_ACEOF
  1.8693 +ac_clean_files=$ac_clean_files_save
  1.8694 +
  1.8695 +test $ac_write_fail = 0 ||
  1.8696 +  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  1.8697 +
  1.8698 +
  1.8699 +# configure is writing to config.log, and then calls config.status.
  1.8700 +# config.status does its own redirection, appending to config.log.
  1.8701 +# Unfortunately, on DOS this fails, as config.log is still kept open
  1.8702 +# by configure, so config.status won't be able to write to it; its
  1.8703 +# output is simply discarded.  So we exec the FD to /dev/null,
  1.8704 +# effectively closing config.log, so it can be properly (re)opened and
  1.8705 +# appended to by config.status.  When coming back to configure, we
  1.8706 +# need to make the FD available again.
  1.8707 +if test "$no_create" != yes; then
  1.8708 +  ac_cs_success=:
  1.8709 +  ac_config_status_args=
  1.8710 +  test "$silent" = yes &&
  1.8711 +    ac_config_status_args="$ac_config_status_args --quiet"
  1.8712 +  exec 5>/dev/null
  1.8713 +  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  1.8714 +  exec 5>>config.log
  1.8715 +  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  1.8716 +  # would make configure fail if this is the last instruction.
  1.8717 +  $ac_cs_success || as_fn_exit 1
  1.8718 +fi
  1.8719 +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  1.8720 +  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  1.8721 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  1.8722 +fi
  1.8723 +
  1.8724 +
  1.8725 +echo
  1.8726 +echo "ICU for C/C++ $VERSION is ready to be built."
  1.8727 +echo "=== Important Notes: ==="
  1.8728 +
  1.8729 +echo "Data Packaging: $datapackaging"
  1.8730 +echo " This means: $datapackaging_msg"
  1.8731 +echo " To locate data: $datapackaging_howfound"
  1.8732 +
  1.8733 +if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
  1.8734 +echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."
  1.8735 +else
  1.8736 +echo "** WARNING: $U_MAKE may not be GNU make."
  1.8737 +echo "This may cause ICU to fail to build. Please make sure that GNU make"
  1.8738 +echo "is in your PATH so that the configure script can detect its location."
  1.8739 +fi
  1.8740 +if test "x$AR" = "xfalse"; then
  1.8741 +  echo "*** WARNING: Archiver ar not found. Set AR= or fix PATH. Some builds (such as static) may fail."
  1.8742 +fi
  1.8743 +
  1.8744 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5
  1.8745 +$as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }
  1.8746 +if "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM="$platform"; then
  1.8747 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  1.8748 +$as_echo "ok" >&6; }
  1.8749 +else
  1.8750 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5
  1.8751 +$as_echo "too old or test failed - try upgrading GNU Make" >&6; }
  1.8752 +fi
  1.8753 +
  1.8754 +
  1.8755 +if test -n "$UCONFIG_CPPFLAGS"; then
  1.8756 +   HDRFILE="uconfig.h.prepend"
  1.8757 +   echo "*** WARNING: You must set the following flags before code compiled against this ICU will function properly:"
  1.8758 +   echo
  1.8759 +   echo "   ${UCONFIG_CPPFLAGS}"
  1.8760 +   echo
  1.8761 +   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.'
  1.8762 +   echo "Creating the file ${HDRFILE}"
  1.8763 +   echo
  1.8764 +   echo '---------------   ' "${HDRFILE}"
  1.8765 +   echo > "${HDRFILE}"
  1.8766 +   echo '/* ICU customizations: put these lines at the top of uconfig.h */' >> "${HDRFILE}"
  1.8767 +   echo >> "${HDRFILE}"
  1.8768 +   for flag in ${UCONFIG_CPPFLAGS};
  1.8769 +   do
  1.8770 +        echo " /* $flag */" >> "${HDRFILE}"
  1.8771 +        case "${flag}" in
  1.8772 +        -D*=*)
  1.8773 +           \echo "${flag}" | sed -n 's%-D\([^=]*\)=%#define \1 %p' >> "${HDRFILE}"
  1.8774 +          \echo >> "${HDRFILE}"
  1.8775 +          ;;
  1.8776 +        -D*)
  1.8777 +           \echo "${flag}" | sed -n 's%-D\([^=]*\)%#define \1 %p' >> "${HDRFILE}"
  1.8778 +          \echo >> "${HDRFILE}"
  1.8779 +          ;;
  1.8780 +        *)
  1.8781 +          \echo "/*  Not sure how to handle this argument: ${flag} */" >> "${HDRFILE}"
  1.8782 +          \echo >> "${HDRFILE}"
  1.8783 +          ;;
  1.8784 +        esac
  1.8785 +   done
  1.8786 +   cat "${HDRFILE}"
  1.8787 +   \echo  "/* End of ${HDRFILE} ------------ */" >> "${HDRFILE}"
  1.8788 +   echo >> "${HDRFILE}"
  1.8789 +   echo '--------------- end ' "${HDRFILE}"
  1.8790 +fi
  1.8791 +
  1.8792 +
  1.8793 +if test -n "$UCONFIG_CFLAGS"; then
  1.8794 +   echo "C   apps may want to build with CFLAGS   = ${UCONFIG_CFLAGS}"
  1.8795 +fi
  1.8796 +
  1.8797 +if test -n "$UCONFIG_CXXFLAGS"; then
  1.8798 +   echo "C++ apps may want to build with CXXFLAGS = ${UCONFIG_CXXFLAGS}"
  1.8799 +fi
  1.8800 +
  1.8801 +if test "$tools" = false;
  1.8802 +then
  1.8803 +        echo "## Note: you have disabled ICU's tools. This ICU cannot build its own data or tests."
  1.8804 +        echo "## Expect build failures in the 'data', 'test', and other directories."
  1.8805 +fi
  1.8806 +
  1.8807 +$as_unset _CXX_CXXSUFFIX

mercurial