-#! /bin/sh\r
-# Guess values for system-dependent variables and create Makefiles.\r
-# Generated by GNU Autoconf 2.69 for ICU 70.1.\r
-#\r
-# Report bugs to <http://icu-project.org/bugs>.\r
-#\r
-# Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html\r
-#\r
-#\r
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.\r
-#\r
-#\r
-# This configure script is free software; the Free Software Foundation\r
-# gives unlimited permission to copy, distribute and modify it.\r
-## -------------------- ##\r
-## M4sh Initialization. ##\r
-## -------------------- ##\r
-\r
-# Be more Bourne compatible\r
-DUALCASE=1; export DUALCASE # for MKS sh\r
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :\r
- emulate sh\r
- NULLCMD=:\r
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
- # is contrary to our usage. Disable this feature.\r
- alias -g '${1+"$@"}'='"$@"'\r
- setopt NO_GLOB_SUBST\r
-else\r
- case `(set -o) 2>/dev/null` in #(\r
- *posix*) :\r
- set -o posix ;; #(\r
- *) :\r
- ;;\r
-esac\r
-fi\r
-\r
-\r
-as_nl='\r
-'\r
-export as_nl\r
-# Printing a long string crashes Solaris 7 /usr/bin/printf.\r
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\r
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\r
-# Prefer a ksh shell builtin over an external printf program on Solaris,\r
-# but without wasting forks for bash or zsh.\r
-if test -z "$BASH_VERSION$ZSH_VERSION" \\r
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then\r
- as_echo='print -r --'\r
- as_echo_n='print -rn --'\r
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then\r
- as_echo='printf %s\n'\r
- as_echo_n='printf %s'\r
-else\r
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then\r
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'\r
- as_echo_n='/usr/ucb/echo -n'\r
- else\r
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'\r
- as_echo_n_body='eval\r
- arg=$1;\r
- case $arg in #(\r
- *"$as_nl"*)\r
- expr "X$arg" : "X\\(.*\\)$as_nl";\r
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;\r
- esac;\r
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"\r
- '\r
- export as_echo_n_body\r
- as_echo_n='sh -c $as_echo_n_body as_echo'\r
- fi\r
- export as_echo_body\r
- as_echo='sh -c $as_echo_body as_echo'\r
-fi\r
-\r
-# The user is always right.\r
-if test "${PATH_SEPARATOR+set}" != set; then\r
- PATH_SEPARATOR=:\r
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\r
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\r
- PATH_SEPARATOR=';'\r
- }\r
-fi\r
-\r
-\r
-# IFS\r
-# We need space, tab and new line, in precisely that order. Quoting is\r
-# there to prevent editors from complaining about space-tab.\r
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
-# splitting by setting IFS to empty value.)\r
-IFS=" "" $as_nl"\r
-\r
-# Find who we are. Look in the path if we contain no directory separator.\r
-as_myself=\r
-case $0 in #((\r
- *[\\/]* ) as_myself=$0 ;;\r
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-# We did not find ourselves, most probably we were run as `sh COMMAND'\r
-# in which case we are not to be found in the path.\r
-if test "x$as_myself" = x; then\r
- as_myself=$0\r
-fi\r
-if test ! -f "$as_myself"; then\r
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
- exit 1\r
-fi\r
-\r
-# Unset variables that we do not need and which cause bugs (e.g. in\r
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"\r
-# suppresses any "Segmentation fault" message there. '((' could\r
-# trigger a bug in pdksh 5.2.14.\r
-for as_var in BASH_ENV ENV MAIL MAILPATH\r
-do eval test x\${$as_var+set} = xset \\r
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :\r
-done\r
-PS1='$ '\r
-PS2='> '\r
-PS4='+ '\r
-\r
-# NLS nuisances.\r
-LC_ALL=C\r
-export LC_ALL\r
-LANGUAGE=C\r
-export LANGUAGE\r
-\r
-# CDPATH.\r
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\r
-\r
-# Use a proper internal environment variable to ensure we don't fall\r
- # into an infinite loop, continuously re-executing ourselves.\r
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then\r
- _as_can_reexec=no; export _as_can_reexec;\r
- # We cannot yet assume a decent shell, so we have to provide a\r
-# neutralization value for shells without unset; and this also\r
-# works around shells that cannot unset nonexistent variables.\r
-# Preserve -v and -x to the replacement shell.\r
-BASH_ENV=/dev/null\r
-ENV=/dev/null\r
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV\r
-case $- in # ((((\r
- *v*x* | *x*v* ) as_opts=-vx ;;\r
- *v* ) as_opts=-v ;;\r
- *x* ) as_opts=-x ;;\r
- * ) as_opts= ;;\r
-esac\r
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}\r
-# Admittedly, this is quite paranoid, since all the known shells bail\r
-# out after a failed `exec'.\r
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2\r
-as_fn_exit 255\r
- fi\r
- # We don't want this to propagate to other subprocesses.\r
- { _as_can_reexec=; unset _as_can_reexec;}\r
-if test "x$CONFIG_SHELL" = x; then\r
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :\r
- emulate sh\r
- NULLCMD=:\r
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which\r
- # is contrary to our usage. Disable this feature.\r
- alias -g '\${1+\"\$@\"}'='\"\$@\"'\r
- setopt NO_GLOB_SUBST\r
-else\r
- case \`(set -o) 2>/dev/null\` in #(\r
- *posix*) :\r
- set -o posix ;; #(\r
- *) :\r
- ;;\r
-esac\r
-fi\r
-"\r
- as_required="as_fn_return () { (exit \$1); }\r
-as_fn_success () { as_fn_return 0; }\r
-as_fn_failure () { as_fn_return 1; }\r
-as_fn_ret_success () { return 0; }\r
-as_fn_ret_failure () { return 1; }\r
-\r
-exitcode=0\r
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }\r
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }\r
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }\r
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }\r
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :\r
-\r
-else\r
- exitcode=1; echo positional parameters were not saved.\r
-fi\r
-test x\$exitcode = x0 || exit 1\r
-test -x / || exit 1"\r
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO\r
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO\r
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&\r
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1\r
-test \$(( 1 + 1 )) = 2 || exit 1"\r
- if (eval "$as_required") 2>/dev/null; then :\r
- as_have_required=yes\r
-else\r
- as_have_required=no\r
-fi\r
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :\r
-\r
-else\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-as_found=false\r
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- as_found=:\r
- case $as_dir in #(\r
- /*)\r
- for as_base in sh bash ksh sh5; do\r
- # Try only shells that exist, to save several forks.\r
- as_shell=$as_dir/$as_base\r
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&\r
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :\r
- CONFIG_SHELL=$as_shell as_have_required=yes\r
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :\r
- break 2\r
-fi\r
-fi\r
- done;;\r
- esac\r
- as_found=false\r
-done\r
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&\r
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :\r
- CONFIG_SHELL=$SHELL as_have_required=yes\r
-fi; }\r
-IFS=$as_save_IFS\r
-\r
-\r
- if test "x$CONFIG_SHELL" != x; then :\r
- export CONFIG_SHELL\r
- # We cannot yet assume a decent shell, so we have to provide a\r
-# neutralization value for shells without unset; and this also\r
-# works around shells that cannot unset nonexistent variables.\r
-# Preserve -v and -x to the replacement shell.\r
-BASH_ENV=/dev/null\r
-ENV=/dev/null\r
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV\r
-case $- in # ((((\r
- *v*x* | *x*v* ) as_opts=-vx ;;\r
- *v* ) as_opts=-v ;;\r
- *x* ) as_opts=-x ;;\r
- * ) as_opts= ;;\r
-esac\r
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}\r
-# Admittedly, this is quite paranoid, since all the known shells bail\r
-# out after a failed `exec'.\r
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2\r
-exit 255\r
-fi\r
-\r
- if test x$as_have_required = xno; then :\r
- $as_echo "$0: This script requires a shell more modern than all"\r
- $as_echo "$0: the shells that I found on your system."\r
- if test x${ZSH_VERSION+set} = xset ; then\r
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"\r
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."\r
- else\r
- $as_echo "$0: Please tell bug-autoconf@gnu.org and\r
-$0: http://icu-project.org/bugs about your system,\r
-$0: including any error possibly output before this\r
-$0: message. Then install a modern shell, or manually run\r
-$0: the script under such a shell if you do have one."\r
- fi\r
- exit 1\r
-fi\r
-fi\r
-fi\r
-SHELL=${CONFIG_SHELL-/bin/sh}\r
-export SHELL\r
-# Unset more variables known to interfere with behavior of common tools.\r
-CLICOLOR_FORCE= GREP_OPTIONS=\r
-unset CLICOLOR_FORCE GREP_OPTIONS\r
-\r
-## --------------------- ##\r
-## M4sh Shell Functions. ##\r
-## --------------------- ##\r
-# as_fn_unset VAR\r
-# ---------------\r
-# Portably unset VAR.\r
-as_fn_unset ()\r
-{\r
- { eval $1=; unset $1;}\r
-}\r
-as_unset=as_fn_unset\r
-\r
-# as_fn_set_status STATUS\r
-# -----------------------\r
-# Set $? to STATUS, without forking.\r
-as_fn_set_status ()\r
-{\r
- return $1\r
-} # as_fn_set_status\r
-\r
-# as_fn_exit STATUS\r
-# -----------------\r
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.\r
-as_fn_exit ()\r
-{\r
- set +e\r
- as_fn_set_status $1\r
- exit $1\r
-} # as_fn_exit\r
-\r
-# as_fn_mkdir_p\r
-# -------------\r
-# Create "$as_dir" as a directory, including parents if necessary.\r
-as_fn_mkdir_p ()\r
-{\r
-\r
- case $as_dir in #(\r
- -*) as_dir=./$as_dir;;\r
- esac\r
- test -d "$as_dir" || eval $as_mkdir_p || {\r
- as_dirs=\r
- while :; do\r
- case $as_dir in #(\r
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(\r
- *) as_qdir=$as_dir;;\r
- esac\r
- as_dirs="'$as_qdir' $as_dirs"\r
- as_dir=`$as_dirname -- "$as_dir" ||\r
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
- X"$as_dir" : 'X\(//\)[^/]' \| \\r
- X"$as_dir" : 'X\(//\)$' \| \\r
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X"$as_dir" |\r
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)[^/].*/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
- test -d "$as_dir" && break\r
- done\r
- test -z "$as_dirs" || eval "mkdir $as_dirs"\r
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"\r
-\r
-\r
-} # as_fn_mkdir_p\r
-\r
-# as_fn_executable_p FILE\r
-# -----------------------\r
-# Test if FILE is an executable regular file.\r
-as_fn_executable_p ()\r
-{\r
- test -f "$1" && test -x "$1"\r
-} # as_fn_executable_p\r
-# as_fn_append VAR VALUE\r
-# ----------------------\r
-# Append the text in VALUE to the end of the definition contained in VAR. Take\r
-# advantage of any shell optimizations that allow amortized linear growth over\r
-# repeated appends, instead of the typical quadratic growth present in naive\r
-# implementations.\r
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :\r
- eval 'as_fn_append ()\r
- {\r
- eval $1+=\$2\r
- }'\r
-else\r
- as_fn_append ()\r
- {\r
- eval $1=\$$1\$2\r
- }\r
-fi # as_fn_append\r
-\r
-# as_fn_arith ARG...\r
-# ------------------\r
-# Perform arithmetic evaluation on the ARGs, and store the result in the\r
-# global $as_val. Take advantage of shells that can avoid forks. The arguments\r
-# must be portable across $(()) and expr.\r
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :\r
- eval 'as_fn_arith ()\r
- {\r
- as_val=$(( $* ))\r
- }'\r
-else\r
- as_fn_arith ()\r
- {\r
- as_val=`expr "$@" || test $? -eq 1`\r
- }\r
-fi # as_fn_arith\r
-\r
-\r
-# as_fn_error STATUS ERROR [LINENO LOG_FD]\r
-# ----------------------------------------\r
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are\r
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the\r
-# script with STATUS, using 1 if that was 0.\r
-as_fn_error ()\r
-{\r
- as_status=$1; test $as_status -eq 0 && as_status=1\r
- if test "$4"; then\r
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4\r
- fi\r
- $as_echo "$as_me: error: $2" >&2\r
- as_fn_exit $as_status\r
-} # as_fn_error\r
-\r
-if expr a : '\(a\)' >/dev/null 2>&1 &&\r
- test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
- as_expr=expr\r
-else\r
- as_expr=false\r
-fi\r
-\r
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
- as_basename=basename\r
-else\r
- as_basename=false\r
-fi\r
-\r
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
- as_dirname=dirname\r
-else\r
- as_dirname=false\r
-fi\r
-\r
-as_me=`$as_basename -- "$0" ||\r
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
- X"$0" : 'X\(//\)$' \| \\r
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X/"$0" |\r
- sed '/^.*\/\([^/][^/]*\)\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\/\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\/\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
-\r
-# Avoid depending upon Character Ranges.\r
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
-as_cr_digits='0123456789'\r
-as_cr_alnum=$as_cr_Letters$as_cr_digits\r
-\r
-\r
- as_lineno_1=$LINENO as_lineno_1a=$LINENO\r
- as_lineno_2=$LINENO as_lineno_2a=$LINENO\r
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&\r
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {\r
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)\r
- sed -n '\r
- p\r
- /[$]LINENO/=\r
- ' <$as_myself |\r
- sed '\r
- s/[$]LINENO.*/&-/\r
- t lineno\r
- b\r
- :lineno\r
- N\r
- :loop\r
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
- t loop\r
- s/-\n.*//\r
- ' >$as_me.lineno &&\r
- chmod +x "$as_me.lineno" ||\r
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }\r
-\r
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have\r
- # already done that, so ensure we don't try to do so again and fall\r
- # in an infinite loop. This has already happened in practice.\r
- _as_can_reexec=no; export _as_can_reexec\r
- # Don't try to exec as it changes $[0], causing all sort of problems\r
- # (the dirname of $[0] is not the place where we might find the\r
- # original and so on. Autoconf is especially sensitive to this).\r
- . "./$as_me.lineno"\r
- # Exit status is that of the last command.\r
- exit\r
-}\r
-\r
-ECHO_C= ECHO_N= ECHO_T=\r
-case `echo -n x` in #(((((\r
--n*)\r
- case `echo 'xy\c'` in\r
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.\r
- xy) ECHO_C='\c';;\r
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null\r
- ECHO_T=' ';;\r
- esac;;\r
-*)\r
- ECHO_N='-n';;\r
-esac\r
-\r
-rm -f conf$$ conf$$.exe conf$$.file\r
-if test -d conf$$.dir; then\r
- rm -f conf$$.dir/conf$$.file\r
-else\r
- rm -f conf$$.dir\r
- mkdir conf$$.dir 2>/dev/null\r
-fi\r
-if (echo >conf$$.file) 2>/dev/null; then\r
- if ln -s conf$$.file conf$$ 2>/dev/null; then\r
- as_ln_s='ln -s'\r
- # ... but there are two gotchas:\r
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
- # In both cases, we have to default to `cp -pR'.\r
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
- as_ln_s='cp -pR'\r
- elif ln conf$$.file conf$$ 2>/dev/null; then\r
- as_ln_s=ln\r
- else\r
- as_ln_s='cp -pR'\r
- fi\r
-else\r
- as_ln_s='cp -pR'\r
-fi\r
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
-rmdir conf$$.dir 2>/dev/null\r
-\r
-if mkdir -p . 2>/dev/null; then\r
- as_mkdir_p='mkdir -p "$as_dir"'\r
-else\r
- test -d ./-p && rmdir ./-p\r
- as_mkdir_p=false\r
-fi\r
-\r
-as_test_x='test -x'\r
-as_executable_p=as_fn_executable_p\r
-\r
-# Sed expression to map a string onto a valid CPP name.\r
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
-\r
-# Sed expression to map a string onto a valid variable name.\r
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
-\r
-\r
-test -n "$DJDIR" || exec 7<&0 </dev/null\r
-exec 6>&1\r
-\r
-# Name of the host.\r
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,\r
-# so uname gets run too.\r
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`\r
-\r
-#\r
-# Initializations.\r
-#\r
-ac_default_prefix=/usr/local\r
-ac_clean_files=\r
-ac_config_libobj_dir=.\r
-LIBOBJS=\r
-cross_compiling=no\r
-subdirs=\r
-MFLAGS=\r
-MAKEFLAGS=\r
-\r
-# Identity of this package.\r
-PACKAGE_NAME='ICU'\r
-PACKAGE_TARNAME='International Components for Unicode'\r
-PACKAGE_VERSION='70.1'\r
-PACKAGE_STRING='ICU 70.1'\r
-PACKAGE_BUGREPORT='http://icu-project.org/bugs'\r
-PACKAGE_URL='http://icu-project.org'\r
-\r
-ac_unique_file="common/unicode/utypes.h"\r
-# Factoring default headers for most tests.\r
-ac_includes_default="\\r
-#include <stdio.h>\r
-#ifdef HAVE_SYS_TYPES_H\r
-# include <sys/types.h>\r
-#endif\r
-#ifdef HAVE_SYS_STAT_H\r
-# include <sys/stat.h>\r
-#endif\r
-#ifdef STDC_HEADERS\r
-# include <stdlib.h>\r
-# include <stddef.h>\r
-#else\r
-# ifdef HAVE_STDLIB_H\r
-# include <stdlib.h>\r
-# endif\r
-#endif\r
-#ifdef HAVE_STRING_H\r
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H\r
-# include <memory.h>\r
-# endif\r
-# include <string.h>\r
-#endif\r
-#ifdef HAVE_STRINGS_H\r
-# include <strings.h>\r
-#endif\r
-#ifdef HAVE_INTTYPES_H\r
-# include <inttypes.h>\r
-#endif\r
-#ifdef HAVE_STDINT_H\r
-# include <stdint.h>\r
-#endif\r
-#ifdef HAVE_UNISTD_H\r
-# include <unistd.h>\r
-#endif"\r
-\r
-ac_subst_vars='UCONFIG_CXXFLAGS\r
-UCONFIG_CFLAGS\r
-UCONFIG_CPPFLAGS\r
-LTLIBOBJS\r
-LIBOBJS\r
-LIBCXXFLAGS\r
-LIBCFLAGS\r
-platform_make_fragment\r
-platform_make_fragment_name\r
-platform\r
-ICUDATA_CHAR\r
-U_HAVE_SAMPLES\r
-SAMPLES_TRUE\r
-U_HAVE_TESTS\r
-TESTS_TRUE\r
-ICULIBSUFFIXCNAME\r
-U_HAVE_LIB_SUFFIX\r
-ICULIBSUFFIX\r
-DATA_PACKAGING_MODE\r
-thepkgicudatadir\r
-pkgicudatadir\r
-U_HAVE_DATA\r
-DATA_TRUE\r
-U_HAVE_FUZZER\r
-FUZZER_TRUE\r
-U_HAVE_TOOLS\r
-TOOLS_TRUE\r
-U_HAVE_LAYOUTEX\r
-LAYOUTEX_TRUE\r
-U_HAVE_ICUIO\r
-ICUIO_TRUE\r
-U_HAVE_EXTRAS\r
-EXTRAS_TRUE\r
-U_HAVE_WCSCPY\r
-U_HAVE_WCHAR_H\r
-U_HAVE_STRTOD_L\r
-U_TIMEZONE\r
-U_HAVE_TIMEZONE\r
-U_TZNAME\r
-U_HAVE_TZNAME\r
-U_TZSET\r
-U_HAVE_TZSET\r
-U_HAVE_POPEN\r
-U_HAVE_PLACEMENT_NEW\r
-U_OVERRIDE_CXX_ALLOCATION\r
-U_NL_LANGINFO_CODESET\r
-U_HAVE_NL_LANGINFO_CODESET\r
-U_IS_BIG_ENDIAN\r
-U_HAVE_DIRENT_H\r
-U_HAVE_INTTYPES_H\r
-GENCCODE_ASSEMBLY\r
-HAVE_MMAP\r
-LIB_THREAD\r
-ENABLE_RPATH\r
-U_ENABLE_DYLOAD\r
-U_HAVE_PLUGINS\r
-PLUGINS_TRUE\r
-U_ENABLE_TRACING\r
-U_DISABLE_RENAMING\r
-AR\r
-SED\r
-RANLIB\r
-U_DEFAULT_SHOW_DRAFT\r
-UCLN_NO_AUTO_CLEANUP\r
-ENABLE_STATIC\r
-ENABLE_SHARED\r
-LIB_M\r
-COMPILE_LINK_ENVVAR\r
-ARFLAGS\r
-EGREP\r
-GREP\r
-DOXYGEN\r
-cross_buildroot\r
-U_MAKE\r
-PYTHON\r
-cross_compiling\r
-INSTALL_DATA\r
-INSTALL_SCRIPT\r
-INSTALL_PROGRAM\r
-CPP\r
-ICULEHB_LIBS\r
-ICULEHB_CFLAGS\r
-PKG_CONFIG_LIBDIR\r
-PKG_CONFIG_PATH\r
-PKG_CONFIG\r
-ac_ct_CXX\r
-CXXFLAGS\r
-CXX\r
-OBJEXT\r
-EXEEXT\r
-ac_ct_CC\r
-LDFLAGS\r
-CFLAGS\r
-CC\r
-ENABLE_RELEASE\r
-ENABLE_DEBUG\r
-INSTALL_ICU_CONFIG\r
-CPPFLAGS\r
-host_os\r
-host_vendor\r
-host_cpu\r
-host\r
-build_os\r
-build_vendor\r
-build_cpu\r
-build\r
-UNICODE_VERSION\r
-LIB_VERSION_MAJOR\r
-LIB_VERSION\r
-VERSION\r
-ICU_ECHO_T\r
-ICU_ECHO_C\r
-ICU_ECHO_N\r
-PACKAGE\r
-target_alias\r
-host_alias\r
-build_alias\r
-LIBS\r
-ECHO_T\r
-ECHO_N\r
-ECHO_C\r
-DEFS\r
-mandir\r
-localedir\r
-libdir\r
-psdir\r
-pdfdir\r
-dvidir\r
-htmldir\r
-infodir\r
-docdir\r
-oldincludedir\r
-includedir\r
-runstatedir\r
-localstatedir\r
-sharedstatedir\r
-sysconfdir\r
-datadir\r
-datarootdir\r
-libexecdir\r
-sbindir\r
-bindir\r
-program_transform_name\r
-prefix\r
-exec_prefix\r
-PACKAGE_URL\r
-PACKAGE_BUGREPORT\r
-PACKAGE_STRING\r
-PACKAGE_VERSION\r
-PACKAGE_TARNAME\r
-PACKAGE_NAME\r
-PATH_SEPARATOR\r
-SHELL'\r
-ac_subst_files=''\r
-ac_user_opts='\r
-enable_option_checking\r
-enable_icu_config\r
-enable_debug\r
-enable_release\r
-with_cross_build\r
-enable_strict\r
-enable_64bit_libs\r
-with_library_bits\r
-enable_shared\r
-enable_static\r
-enable_auto_cleanup\r
-enable_draft\r
-enable_renaming\r
-enable_tracing\r
-enable_plugins\r
-enable_dyload\r
-enable_rpath\r
-enable_weak_threads\r
-enable_extras\r
-enable_icuio\r
-enable_layoutex\r
-enable_layout\r
-enable_tools\r
-enable_fuzzer\r
-with_data_packaging\r
-with_library_suffix\r
-enable_tests\r
-enable_samples\r
-'\r
- ac_precious_vars='build_alias\r
-host_alias\r
-target_alias\r
-CC\r
-CFLAGS\r
-LDFLAGS\r
-LIBS\r
-CPPFLAGS\r
-CXX\r
-CXXFLAGS\r
-CCC\r
-PKG_CONFIG\r
-PKG_CONFIG_PATH\r
-PKG_CONFIG_LIBDIR\r
-ICULEHB_CFLAGS\r
-ICULEHB_LIBS\r
-CPP'\r
-\r
-\r
-# Initialize some variables set by options.\r
-ac_init_help=\r
-ac_init_version=false\r
-ac_unrecognized_opts=\r
-ac_unrecognized_sep=\r
-# The variables have the same names as the options, with\r
-# dashes changed to underlines.\r
-cache_file=/dev/null\r
-exec_prefix=NONE\r
-no_create=\r
-no_recursion=\r
-prefix=NONE\r
-program_prefix=NONE\r
-program_suffix=NONE\r
-program_transform_name=s,x,x,\r
-silent=\r
-site=\r
-srcdir=\r
-verbose=\r
-x_includes=NONE\r
-x_libraries=NONE\r
-\r
-# Installation directory options.\r
-# These are left unexpanded so users can "make install exec_prefix=/foo"\r
-# and all the variables that are supposed to be based on exec_prefix\r
-# by default will actually change.\r
-# Use braces instead of parens because sh, perl, etc. also accept them.\r
-# (The list follows the same order as the GNU Coding Standards.)\r
-bindir='${exec_prefix}/bin'\r
-sbindir='${exec_prefix}/sbin'\r
-libexecdir='${exec_prefix}/libexec'\r
-datarootdir='${prefix}/share'\r
-datadir='${datarootdir}'\r
-sysconfdir='${prefix}/etc'\r
-sharedstatedir='${prefix}/com'\r
-localstatedir='${prefix}/var'\r
-runstatedir='${localstatedir}/run'\r
-includedir='${prefix}/include'\r
-oldincludedir='/usr/include'\r
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'\r
-infodir='${datarootdir}/info'\r
-htmldir='${docdir}'\r
-dvidir='${docdir}'\r
-pdfdir='${docdir}'\r
-psdir='${docdir}'\r
-libdir='${exec_prefix}/lib'\r
-localedir='${datarootdir}/locale'\r
-mandir='${datarootdir}/man'\r
-\r
-ac_prev=\r
-ac_dashdash=\r
-for ac_option\r
-do\r
- # If the previous option needs an argument, assign it.\r
- if test -n "$ac_prev"; then\r
- eval $ac_prev=\$ac_option\r
- ac_prev=\r
- continue\r
- fi\r
-\r
- case $ac_option in\r
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;\r
- *=) ac_optarg= ;;\r
- *) ac_optarg=yes ;;\r
- esac\r
-\r
- # Accept the important Cygnus configure options, so we can diagnose typos.\r
-\r
- case $ac_dashdash$ac_option in\r
- --)\r
- ac_dashdash=yes ;;\r
-\r
- -bindir | --bindir | --bindi | --bind | --bin | --bi)\r
- ac_prev=bindir ;;\r
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)\r
- bindir=$ac_optarg ;;\r
-\r
- -build | --build | --buil | --bui | --bu)\r
- ac_prev=build_alias ;;\r
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)\r
- build_alias=$ac_optarg ;;\r
-\r
- -cache-file | --cache-file | --cache-fil | --cache-fi \\r
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)\r
- ac_prev=cache_file ;;\r
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \\r
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)\r
- cache_file=$ac_optarg ;;\r
-\r
- --config-cache | -C)\r
- cache_file=config.cache ;;\r
-\r
- -datadir | --datadir | --datadi | --datad)\r
- ac_prev=datadir ;;\r
- -datadir=* | --datadir=* | --datadi=* | --datad=*)\r
- datadir=$ac_optarg ;;\r
-\r
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \\r
- | --dataroo | --dataro | --datar)\r
- ac_prev=datarootdir ;;\r
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \\r
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)\r
- datarootdir=$ac_optarg ;;\r
-\r
- -disable-* | --disable-*)\r
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`\r
- # Reject names that are not valid shell variable names.\r
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
- as_fn_error $? "invalid feature name: $ac_useropt"\r
- ac_useropt_orig=$ac_useropt\r
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
- case $ac_user_opts in\r
- *"\r
-"enable_$ac_useropt"\r
-"*) ;;\r
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"\r
- ac_unrecognized_sep=', ';;\r
- esac\r
- eval enable_$ac_useropt=no ;;\r
-\r
- -docdir | --docdir | --docdi | --doc | --do)\r
- ac_prev=docdir ;;\r
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)\r
- docdir=$ac_optarg ;;\r
-\r
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)\r
- ac_prev=dvidir ;;\r
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)\r
- dvidir=$ac_optarg ;;\r
-\r
- -enable-* | --enable-*)\r
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`\r
- # Reject names that are not valid shell variable names.\r
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
- as_fn_error $? "invalid feature name: $ac_useropt"\r
- ac_useropt_orig=$ac_useropt\r
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
- case $ac_user_opts in\r
- *"\r
-"enable_$ac_useropt"\r
-"*) ;;\r
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"\r
- ac_unrecognized_sep=', ';;\r
- esac\r
- eval enable_$ac_useropt=\$ac_optarg ;;\r
-\r
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \\r
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \\r
- | --exec | --exe | --ex)\r
- ac_prev=exec_prefix ;;\r
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \\r
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \\r
- | --exec=* | --exe=* | --ex=*)\r
- exec_prefix=$ac_optarg ;;\r
-\r
- -gas | --gas | --ga | --g)\r
- # Obsolete; use --with-gas.\r
- with_gas=yes ;;\r
-\r
- -help | --help | --hel | --he | -h)\r
- ac_init_help=long ;;\r
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)\r
- ac_init_help=recursive ;;\r
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)\r
- ac_init_help=short ;;\r
-\r
- -host | --host | --hos | --ho)\r
- ac_prev=host_alias ;;\r
- -host=* | --host=* | --hos=* | --ho=*)\r
- host_alias=$ac_optarg ;;\r
-\r
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)\r
- ac_prev=htmldir ;;\r
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \\r
- | --ht=*)\r
- htmldir=$ac_optarg ;;\r
-\r
- -includedir | --includedir | --includedi | --included | --include \\r
- | --includ | --inclu | --incl | --inc)\r
- ac_prev=includedir ;;\r
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \\r
- | --includ=* | --inclu=* | --incl=* | --inc=*)\r
- includedir=$ac_optarg ;;\r
-\r
- -infodir | --infodir | --infodi | --infod | --info | --inf)\r
- ac_prev=infodir ;;\r
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)\r
- infodir=$ac_optarg ;;\r
-\r
- -libdir | --libdir | --libdi | --libd)\r
- ac_prev=libdir ;;\r
- -libdir=* | --libdir=* | --libdi=* | --libd=*)\r
- libdir=$ac_optarg ;;\r
-\r
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \\r
- | --libexe | --libex | --libe)\r
- ac_prev=libexecdir ;;\r
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \\r
- | --libexe=* | --libex=* | --libe=*)\r
- libexecdir=$ac_optarg ;;\r
-\r
- -localedir | --localedir | --localedi | --localed | --locale)\r
- ac_prev=localedir ;;\r
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)\r
- localedir=$ac_optarg ;;\r
-\r
- -localstatedir | --localstatedir | --localstatedi | --localstated \\r
- | --localstate | --localstat | --localsta | --localst | --locals)\r
- ac_prev=localstatedir ;;\r
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \\r
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)\r
- localstatedir=$ac_optarg ;;\r
-\r
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)\r
- ac_prev=mandir ;;\r
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)\r
- mandir=$ac_optarg ;;\r
-\r
- -nfp | --nfp | --nf)\r
- # Obsolete; use --without-fp.\r
- with_fp=no ;;\r
-\r
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \\r
- | --no-cr | --no-c | -n)\r
- no_create=yes ;;\r
-\r
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \\r
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)\r
- no_recursion=yes ;;\r
-\r
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \\r
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \\r
- | --oldin | --oldi | --old | --ol | --o)\r
- ac_prev=oldincludedir ;;\r
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \\r
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \\r
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)\r
- oldincludedir=$ac_optarg ;;\r
-\r
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)\r
- ac_prev=prefix ;;\r
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)\r
- prefix=$ac_optarg ;;\r
-\r
- -program-prefix | --program-prefix | --program-prefi | --program-pref \\r
- | --program-pre | --program-pr | --program-p)\r
- ac_prev=program_prefix ;;\r
- -program-prefix=* | --program-prefix=* | --program-prefi=* \\r
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)\r
- program_prefix=$ac_optarg ;;\r
-\r
- -program-suffix | --program-suffix | --program-suffi | --program-suff \\r
- | --program-suf | --program-su | --program-s)\r
- ac_prev=program_suffix ;;\r
- -program-suffix=* | --program-suffix=* | --program-suffi=* \\r
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)\r
- program_suffix=$ac_optarg ;;\r
-\r
- -program-transform-name | --program-transform-name \\r
- | --program-transform-nam | --program-transform-na \\r
- | --program-transform-n | --program-transform- \\r
- | --program-transform | --program-transfor \\r
- | --program-transfo | --program-transf \\r
- | --program-trans | --program-tran \\r
- | --progr-tra | --program-tr | --program-t)\r
- ac_prev=program_transform_name ;;\r
- -program-transform-name=* | --program-transform-name=* \\r
- | --program-transform-nam=* | --program-transform-na=* \\r
- | --program-transform-n=* | --program-transform-=* \\r
- | --program-transform=* | --program-transfor=* \\r
- | --program-transfo=* | --program-transf=* \\r
- | --program-trans=* | --program-tran=* \\r
- | --progr-tra=* | --program-tr=* | --program-t=*)\r
- program_transform_name=$ac_optarg ;;\r
-\r
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)\r
- ac_prev=pdfdir ;;\r
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)\r
- pdfdir=$ac_optarg ;;\r
-\r
- -psdir | --psdir | --psdi | --psd | --ps)\r
- ac_prev=psdir ;;\r
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)\r
- psdir=$ac_optarg ;;\r
-\r
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
- | -silent | --silent | --silen | --sile | --sil)\r
- silent=yes ;;\r
-\r
- -runstatedir | --runstatedir | --runstatedi | --runstated \\r
- | --runstate | --runstat | --runsta | --runst | --runs \\r
- | --run | --ru | --r)\r
- ac_prev=runstatedir ;;\r
- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \\r
- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \\r
- | --run=* | --ru=* | --r=*)\r
- runstatedir=$ac_optarg ;;\r
-\r
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)\r
- ac_prev=sbindir ;;\r
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \\r
- | --sbi=* | --sb=*)\r
- sbindir=$ac_optarg ;;\r
-\r
- -sharedstatedir | --sharedstatedir | --sharedstatedi \\r
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \\r
- | --sharedst | --shareds | --shared | --share | --shar \\r
- | --sha | --sh)\r
- ac_prev=sharedstatedir ;;\r
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \\r
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \\r
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \\r
- | --sha=* | --sh=*)\r
- sharedstatedir=$ac_optarg ;;\r
-\r
- -site | --site | --sit)\r
- ac_prev=site ;;\r
- -site=* | --site=* | --sit=*)\r
- site=$ac_optarg ;;\r
-\r
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)\r
- ac_prev=srcdir ;;\r
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)\r
- srcdir=$ac_optarg ;;\r
-\r
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \\r
- | --syscon | --sysco | --sysc | --sys | --sy)\r
- ac_prev=sysconfdir ;;\r
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \\r
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)\r
- sysconfdir=$ac_optarg ;;\r
-\r
- -target | --target | --targe | --targ | --tar | --ta | --t)\r
- ac_prev=target_alias ;;\r
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)\r
- target_alias=$ac_optarg ;;\r
-\r
- -v | -verbose | --verbose | --verbos | --verbo | --verb)\r
- verbose=yes ;;\r
-\r
- -version | --version | --versio | --versi | --vers | -V)\r
- ac_init_version=: ;;\r
-\r
- -with-* | --with-*)\r
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`\r
- # Reject names that are not valid shell variable names.\r
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
- as_fn_error $? "invalid package name: $ac_useropt"\r
- ac_useropt_orig=$ac_useropt\r
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
- case $ac_user_opts in\r
- *"\r
-"with_$ac_useropt"\r
-"*) ;;\r
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"\r
- ac_unrecognized_sep=', ';;\r
- esac\r
- eval with_$ac_useropt=\$ac_optarg ;;\r
-\r
- -without-* | --without-*)\r
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`\r
- # Reject names that are not valid shell variable names.\r
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&\r
- as_fn_error $? "invalid package name: $ac_useropt"\r
- ac_useropt_orig=$ac_useropt\r
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`\r
- case $ac_user_opts in\r
- *"\r
-"with_$ac_useropt"\r
-"*) ;;\r
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"\r
- ac_unrecognized_sep=', ';;\r
- esac\r
- eval with_$ac_useropt=no ;;\r
-\r
- --x)\r
- # Obsolete; use --with-x.\r
- with_x=yes ;;\r
-\r
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \\r
- | --x-incl | --x-inc | --x-in | --x-i)\r
- ac_prev=x_includes ;;\r
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \\r
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)\r
- x_includes=$ac_optarg ;;\r
-\r
- -x-libraries | --x-libraries | --x-librarie | --x-librari \\r
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)\r
- ac_prev=x_libraries ;;\r
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \\r
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)\r
- x_libraries=$ac_optarg ;;\r
-\r
- -*) as_fn_error $? "unrecognized option: \`$ac_option'\r
-Try \`$0 --help' for more information"\r
- ;;\r
-\r
- *=*)\r
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`\r
- # Reject names that are not valid shell variable names.\r
- case $ac_envvar in #(\r
- '' | [0-9]* | *[!_$as_cr_alnum]* )\r
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;\r
- esac\r
- eval $ac_envvar=\$ac_optarg\r
- export $ac_envvar ;;\r
-\r
- *)\r
- # FIXME: should be removed in autoconf 3.0.\r
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2\r
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2\r
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"\r
- ;;\r
-\r
- esac\r
-done\r
-\r
-if test -n "$ac_prev"; then\r
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`\r
- as_fn_error $? "missing argument to $ac_option"\r
-fi\r
-\r
-if test -n "$ac_unrecognized_opts"; then\r
- case $enable_option_checking in\r
- no) ;;\r
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;\r
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;\r
- esac\r
-fi\r
-\r
-# Check all directory arguments for consistency.\r
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \\r
- datadir sysconfdir sharedstatedir localstatedir includedir \\r
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \\r
- libdir localedir mandir runstatedir\r
-do\r
- eval ac_val=\$$ac_var\r
- # Remove trailing slashes.\r
- case $ac_val in\r
- */ )\r
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`\r
- eval $ac_var=\$ac_val;;\r
- esac\r
- # Be sure to have absolute directory names.\r
- case $ac_val in\r
- [\\/$]* | ?:[\\/]* ) continue;;\r
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;\r
- esac\r
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"\r
-done\r
-\r
-# There might be people who depend on the old broken behavior: `$host'\r
-# used to hold the argument of --host etc.\r
-# FIXME: To remove some day.\r
-build=$build_alias\r
-host=$host_alias\r
-target=$target_alias\r
-\r
-# FIXME: To remove some day.\r
-if test "x$host_alias" != x; then\r
- if test "x$build_alias" = x; then\r
- cross_compiling=maybe\r
- elif test "x$build_alias" != "x$host_alias"; then\r
- cross_compiling=yes\r
- fi\r
-fi\r
-\r
-ac_tool_prefix=\r
-test -n "$host_alias" && ac_tool_prefix=$host_alias-\r
-\r
-test "$silent" = yes && exec 6>/dev/null\r
-\r
-\r
-ac_pwd=`pwd` && test -n "$ac_pwd" &&\r
-ac_ls_di=`ls -di .` &&\r
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||\r
- as_fn_error $? "working directory cannot be determined"\r
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||\r
- as_fn_error $? "pwd does not report name of working directory"\r
-\r
-\r
-# Find the source files, if location was not specified.\r
-if test -z "$srcdir"; then\r
- ac_srcdir_defaulted=yes\r
- # Try the directory containing this script, then the parent directory.\r
- ac_confdir=`$as_dirname -- "$as_myself" ||\r
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
- X"$as_myself" : 'X\(//\)[^/]' \| \\r
- X"$as_myself" : 'X\(//\)$' \| \\r
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X"$as_myself" |\r
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)[^/].*/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
- srcdir=$ac_confdir\r
- if test ! -r "$srcdir/$ac_unique_file"; then\r
- srcdir=..\r
- fi\r
-else\r
- ac_srcdir_defaulted=no\r
-fi\r
-if test ! -r "$srcdir/$ac_unique_file"; then\r
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."\r
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"\r
-fi\r
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"\r
-ac_abs_confdir=`(\r
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"\r
- pwd)`\r
-# When building in place, set srcdir=.\r
-if test "$ac_abs_confdir" = "$ac_pwd"; then\r
- srcdir=.\r
-fi\r
-# Remove unnecessary trailing slashes from srcdir.\r
-# Double slashes in file names in object file debugging info\r
-# mess up M-x gdb in Emacs.\r
-case $srcdir in\r
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;\r
-esac\r
-for ac_var in $ac_precious_vars; do\r
- eval ac_env_${ac_var}_set=\${${ac_var}+set}\r
- eval ac_env_${ac_var}_value=\$${ac_var}\r
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}\r
- eval ac_cv_env_${ac_var}_value=\$${ac_var}\r
-done\r
-\r
-#\r
-# Report the --help message.\r
-#\r
-if test "$ac_init_help" = "long"; then\r
- # Omit some internal or obsolete options to make the list less imposing.\r
- # This message is too long to be a string in the A/UX 3.1 sh.\r
- cat <<_ACEOF\r
-\`configure' configures ICU 70.1 to adapt to many kinds of systems.\r
-\r
-Usage: $0 [OPTION]... [VAR=VALUE]...\r
-\r
-To assign environment variables (e.g., CC, CFLAGS...), specify them as\r
-VAR=VALUE. See below for descriptions of some of the useful variables.\r
-\r
-Defaults for the options are specified in brackets.\r
-\r
-Configuration:\r
- -h, --help display this help and exit\r
- --help=short display options specific to this package\r
- --help=recursive display the short help of all the included packages\r
- -V, --version display version information and exit\r
- -q, --quiet, --silent do not print \`checking ...' messages\r
- --cache-file=FILE cache test results in FILE [disabled]\r
- -C, --config-cache alias for \`--cache-file=config.cache'\r
- -n, --no-create do not create output files\r
- --srcdir=DIR find the sources in DIR [configure dir or \`..']\r
-\r
-Installation directories:\r
- --prefix=PREFIX install architecture-independent files in PREFIX\r
- [$ac_default_prefix]\r
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX\r
- [PREFIX]\r
-\r
-By default, \`make install' will install all the files in\r
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify\r
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',\r
-for instance \`--prefix=\$HOME'.\r
-\r
-For better control, use the options below.\r
-\r
-Fine tuning of the installation directories:\r
- --bindir=DIR user executables [EPREFIX/bin]\r
- --sbindir=DIR system admin executables [EPREFIX/sbin]\r
- --libexecdir=DIR program executables [EPREFIX/libexec]\r
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]\r
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]\r
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]\r
- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]\r
- --libdir=DIR object code libraries [EPREFIX/lib]\r
- --includedir=DIR C header files [PREFIX/include]\r
- --oldincludedir=DIR C header files for non-gcc [/usr/include]\r
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]\r
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]\r
- --infodir=DIR info documentation [DATAROOTDIR/info]\r
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]\r
- --mandir=DIR man documentation [DATAROOTDIR/man]\r
- --docdir=DIR documentation root [DATAROOTDIR/doc/International\r
- Components for Unicode]\r
- --htmldir=DIR html documentation [DOCDIR]\r
- --dvidir=DIR dvi documentation [DOCDIR]\r
- --pdfdir=DIR pdf documentation [DOCDIR]\r
- --psdir=DIR ps documentation [DOCDIR]\r
-_ACEOF\r
-\r
- cat <<\_ACEOF\r
-\r
-System types:\r
- --build=BUILD configure for building on BUILD [guessed]\r
- --host=HOST cross-compile to build programs to run on HOST [BUILD]\r
-_ACEOF\r
-fi\r
-\r
-if test -n "$ac_init_help"; then\r
- case $ac_init_help in\r
- short | recursive ) echo "Configuration of ICU 70.1:";;\r
- esac\r
- cat <<\_ACEOF\r
-\r
-Optional Features:\r
- --disable-option-checking ignore unrecognized --enable/--with options\r
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)\r
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]\r
- --enable-icu-config install icu-config\r
- --enable-debug build debug libraries and enable the U_DEBUG define default=no\r
- --enable-release build release libraries default=yes\r
- --enable-strict compile with strict compiler options default=yes\r
- --enable-64bit-libs (deprecated, use --with-library-bits) build 64-bit libraries default= platform default\r
- --enable-shared build shared libraries default=yes\r
- --enable-static build static libraries default=no\r
- --enable-auto-cleanup enable auto cleanup of libraries default=no\r
- --enable-draft enable draft APIs (and internal APIs) default=yes\r
- --enable-renaming add a version suffix to symbols default=yes\r
- --enable-tracing enable function and data tracing default=no\r
- --enable-plugins enable plugins default=no\r
- --disable-dyload disable dynamic loading default=no\r
- --enable-rpath use rpath when linking default is only if necessary\r
- --enable-weak-threads weakly reference the threading library default=no\r
- --enable-extras build ICU extras default=yes\r
- --enable-icuio build ICU's icuio library default=yes\r
- --enable-layoutex build ICU's Paragraph Layout library default=no.\r
- icu-le-hb must be installed via pkg-config. See http://harfbuzz.org\r
-\r
- --enable-tools build ICU's tools default=yes\r
- --enable-fuzzer build ICU's fuzzer test targets default=no\r
- --enable-tests build ICU tests default=yes\r
- --enable-samples build ICU samples default=yes\r
-\r
-Additionally, the variable FORCE_LIBS may be set before calling configure.\r
-If set, it will REPLACE any automatic list of libraries.\r
-\r
-Optional Packages:\r
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]\r
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)\r
- --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir\r
- --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange\r
- --with-data-packaging specify how to package ICU data. Possible values:\r
- files raw files (.res, etc)\r
- archive build a single icudtXX.dat file\r
- library shared library (.dll/.so/etc.)\r
- static static library (.a/.lib/etc.)\r
- auto build shared if possible (default)\r
- See https://unicode-org.github.io/icu/userguide/icudata for more info.\r
- --with-library-suffix=suffix tag a suffix to the library names default=\r
-\r
-Some influential environment variables:\r
- CC C compiler command\r
- CFLAGS C compiler flags\r
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a\r
- nonstandard directory <lib dir>\r
- LIBS libraries to pass to the linker, e.g. -l<library>\r
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if\r
- you have headers in a nonstandard directory <include dir>\r
- CXX C++ compiler command\r
- CXXFLAGS C++ compiler flags\r
- PKG_CONFIG path to pkg-config utility\r
- PKG_CONFIG_PATH\r
- directories to add to pkg-config's search path\r
- PKG_CONFIG_LIBDIR\r
- path overriding pkg-config's built-in search path\r
- ICULEHB_CFLAGS\r
- C compiler flags for ICULEHB, overriding pkg-config\r
- ICULEHB_LIBS\r
- linker flags for ICULEHB, overriding pkg-config\r
- CPP C preprocessor\r
-\r
-Use these variables to override the choices made by `configure' or to help\r
-it to find libraries and programs with nonstandard names/locations.\r
-\r
-Report bugs to <http://icu-project.org/bugs>.\r
-ICU home page: <http://icu-project.org>.\r
-_ACEOF\r
-ac_status=$?\r
-fi\r
-\r
-if test "$ac_init_help" = "recursive"; then\r
- # If there are subdirs, report their specific --help.\r
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue\r
- test -d "$ac_dir" ||\r
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||\r
- continue\r
- ac_builddir=.\r
-\r
-case "$ac_dir" in\r
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
-*)\r
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`\r
- # A ".." for each directory in $ac_dir_suffix.\r
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`\r
- case $ac_top_builddir_sub in\r
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
- esac ;;\r
-esac\r
-ac_abs_top_builddir=$ac_pwd\r
-ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
-# for backward compatibility:\r
-ac_top_builddir=$ac_top_build_prefix\r
-\r
-case $srcdir in\r
- .) # We are building in place.\r
- ac_srcdir=.\r
- ac_top_srcdir=$ac_top_builddir_sub\r
- ac_abs_top_srcdir=$ac_pwd ;;\r
- [\\/]* | ?:[\\/]* ) # Absolute name.\r
- ac_srcdir=$srcdir$ac_dir_suffix;\r
- ac_top_srcdir=$srcdir\r
- ac_abs_top_srcdir=$srcdir ;;\r
- *) # Relative name.\r
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
- ac_top_srcdir=$ac_top_build_prefix$srcdir\r
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
-esac\r
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
-\r
- cd "$ac_dir" || { ac_status=$?; continue; }\r
- # Check for guested configure.\r
- if test -f "$ac_srcdir/configure.gnu"; then\r
- echo &&\r
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive\r
- elif test -f "$ac_srcdir/configure"; then\r
- echo &&\r
- $SHELL "$ac_srcdir/configure" --help=recursive\r
- else\r
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2\r
- fi || ac_status=$?\r
- cd "$ac_pwd" || { ac_status=$?; break; }\r
- done\r
-fi\r
-\r
-test -n "$ac_init_help" && exit $ac_status\r
-if $ac_init_version; then\r
- cat <<\_ACEOF\r
-ICU configure 70.1\r
-generated by GNU Autoconf 2.69\r
-\r
-Copyright (C) 2012 Free Software Foundation, Inc.\r
-This configure script is free software; the Free Software Foundation\r
-gives unlimited permission to copy, distribute and modify it.\r
-\r
- Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html\r
-_ACEOF\r
- exit\r
-fi\r
-\r
-## ------------------------ ##\r
-## Autoconf initialization. ##\r
-## ------------------------ ##\r
-\r
-# ac_fn_c_try_compile LINENO\r
-# --------------------------\r
-# Try to compile conftest.$ac_ext, and return whether this succeeded.\r
-ac_fn_c_try_compile ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- rm -f conftest.$ac_objext\r
- if { { ac_try="$ac_compile"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_compile") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- grep -v '^ *+' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- mv -f conftest.er1 conftest.err\r
- fi\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } && {\r
- test -z "$ac_c_werror_flag" ||\r
- test ! -s conftest.err\r
- } && test -s conftest.$ac_objext; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=1\r
-fi\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_c_try_compile\r
-\r
-# ac_fn_cxx_try_compile LINENO\r
-# ----------------------------\r
-# Try to compile conftest.$ac_ext, and return whether this succeeded.\r
-ac_fn_cxx_try_compile ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- rm -f conftest.$ac_objext\r
- if { { ac_try="$ac_compile"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_compile") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- grep -v '^ *+' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- mv -f conftest.er1 conftest.err\r
- fi\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } && {\r
- test -z "$ac_cxx_werror_flag" ||\r
- test ! -s conftest.err\r
- } && test -s conftest.$ac_objext; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=1\r
-fi\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_cxx_try_compile\r
-\r
-# ac_fn_c_try_cpp LINENO\r
-# ----------------------\r
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.\r
-ac_fn_c_try_cpp ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- if { { ac_try="$ac_cpp conftest.$ac_ext"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- grep -v '^ *+' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- mv -f conftest.er1 conftest.err\r
- fi\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } > conftest.i && {\r
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
- test ! -s conftest.err\r
- }; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=1\r
-fi\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_c_try_cpp\r
-\r
-# ac_fn_cxx_try_link LINENO\r
-# -------------------------\r
-# Try to link conftest.$ac_ext, and return whether this succeeded.\r
-ac_fn_cxx_try_link ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- rm -f conftest.$ac_objext conftest$ac_exeext\r
- if { { ac_try="$ac_link"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- grep -v '^ *+' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- mv -f conftest.er1 conftest.err\r
- fi\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } && {\r
- test -z "$ac_cxx_werror_flag" ||\r
- test ! -s conftest.err\r
- } && test -s conftest$ac_exeext && {\r
- test "$cross_compiling" = yes ||\r
- test -x conftest$ac_exeext\r
- }; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=1\r
-fi\r
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information\r
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would\r
- # interfere with the next link command; also delete a directory that is\r
- # left behind by Apple's compiler. We do this before executing the actions.\r
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_cxx_try_link\r
-\r
-# ac_fn_c_try_run LINENO\r
-# ----------------------\r
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes\r
-# that executables *can* be run.\r
-ac_fn_c_try_run ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- if { { ac_try="$ac_link"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'\r
- { { case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_try") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; }; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: program exited with status $ac_status" >&5\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=$ac_status\r
-fi\r
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_c_try_run\r
-\r
-# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES\r
-# --------------------------------------------\r
-# Tries to find the compile-time value of EXPR in a program that includes\r
-# INCLUDES, setting VAR accordingly. Returns whether the value could be\r
-# computed\r
-ac_fn_c_compute_int ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- if test "$cross_compiling" = yes; then\r
- # Depending upon the size, compute the lo and hi bounds.\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-static int test_array [1 - 2 * !(($2) >= 0)];\r
-test_array [0] = 0;\r
-return test_array [0];\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_lo=0 ac_mid=0\r
- while :; do\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-static int test_array [1 - 2 * !(($2) <= $ac_mid)];\r
-test_array [0] = 0;\r
-return test_array [0];\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_hi=$ac_mid; break\r
-else\r
- as_fn_arith $ac_mid + 1 && ac_lo=$as_val\r
- if test $ac_lo -le $ac_mid; then\r
- ac_lo= ac_hi=\r
- break\r
- fi\r
- as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- done\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-static int test_array [1 - 2 * !(($2) < 0)];\r
-test_array [0] = 0;\r
-return test_array [0];\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_hi=-1 ac_mid=-1\r
- while :; do\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-static int test_array [1 - 2 * !(($2) >= $ac_mid)];\r
-test_array [0] = 0;\r
-return test_array [0];\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_lo=$ac_mid; break\r
-else\r
- as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val\r
- if test $ac_mid -le $ac_hi; then\r
- ac_lo= ac_hi=\r
- break\r
- fi\r
- as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- done\r
-else\r
- ac_lo= ac_hi=\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-# Binary search between lo and hi bounds.\r
-while test "x$ac_lo" != "x$ac_hi"; do\r
- as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-static int test_array [1 - 2 * !(($2) <= $ac_mid)];\r
-test_array [0] = 0;\r
-return test_array [0];\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_hi=$ac_mid\r
-else\r
- as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-done\r
-case $ac_lo in #((\r
-?*) eval "$3=\$ac_lo"; ac_retval=0 ;;\r
-'') ac_retval=1 ;;\r
-esac\r
- else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-static long int longval () { return $2; }\r
-static unsigned long int ulongval () { return $2; }\r
-#include <stdio.h>\r
-#include <stdlib.h>\r
-int\r
-main ()\r
-{\r
-\r
- FILE *f = fopen ("conftest.val", "w");\r
- if (! f)\r
- return 1;\r
- if (($2) < 0)\r
- {\r
- long int i = longval ();\r
- if (i != ($2))\r
- return 1;\r
- fprintf (f, "%ld", i);\r
- }\r
- else\r
- {\r
- unsigned long int i = ulongval ();\r
- if (i != ($2))\r
- return 1;\r
- fprintf (f, "%lu", i);\r
- }\r
- /* Do not output a trailing newline, as this causes \r\n confusion\r
- on some platforms. */\r
- return ferror (f) || fclose (f) != 0;\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- echo >>conftest.val; read $3 <conftest.val; ac_retval=0\r
-else\r
- ac_retval=1\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-rm -f conftest.val\r
-\r
- fi\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_c_compute_int\r
-\r
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES\r
-# -------------------------------------------------------\r
-# Tests whether HEADER exists and can be compiled using the include files in\r
-# INCLUDES, setting the cache variable VAR accordingly.\r
-ac_fn_c_check_header_compile ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-#include <$2>\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- eval "$3=yes"\r
-else\r
- eval "$3=no"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
-\r
-} # ac_fn_c_check_header_compile\r
-\r
-# ac_fn_c_try_link LINENO\r
-# -----------------------\r
-# Try to link conftest.$ac_ext, and return whether this succeeded.\r
-ac_fn_c_try_link ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- rm -f conftest.$ac_objext conftest$ac_exeext\r
- if { { ac_try="$ac_link"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- grep -v '^ *+' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- mv -f conftest.er1 conftest.err\r
- fi\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; } && {\r
- test -z "$ac_c_werror_flag" ||\r
- test ! -s conftest.err\r
- } && test -s conftest$ac_exeext && {\r
- test "$cross_compiling" = yes ||\r
- test -x conftest$ac_exeext\r
- }; then :\r
- ac_retval=0\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
- ac_retval=1\r
-fi\r
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information\r
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would\r
- # interfere with the next link command; also delete a directory that is\r
- # left behind by Apple's compiler. We do this before executing the actions.\r
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
- as_fn_set_status $ac_retval\r
-\r
-} # ac_fn_c_try_link\r
-\r
-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES\r
-# -------------------------------------------------------\r
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using\r
-# the include files in INCLUDES and setting the cache variable VAR\r
-# accordingly.\r
-ac_fn_c_check_header_mongrel ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- if eval \${$3+:} false; then :\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
-else\r
- # Is the header compilable?\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5\r
-$as_echo_n "checking $2 usability... " >&6; }\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-#include <$2>\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_header_compiler=yes\r
-else\r
- ac_header_compiler=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5\r
-$as_echo "$ac_header_compiler" >&6; }\r
-\r
-# Is the header present?\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5\r
-$as_echo_n "checking $2 presence... " >&6; }\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <$2>\r
-_ACEOF\r
-if ac_fn_c_try_cpp "$LINENO"; then :\r
- ac_header_preproc=yes\r
-else\r
- ac_header_preproc=no\r
-fi\r
-rm -f conftest.err conftest.i conftest.$ac_ext\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5\r
-$as_echo "$ac_header_preproc" >&6; }\r
-\r
-# So? What about this header?\r
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((\r
- yes:no: )\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5\r
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5\r
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}\r
- ;;\r
- no:yes:* )\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5\r
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5\r
-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5\r
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5\r
-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5\r
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}\r
-( $as_echo "## ------------------------------------------ ##\r
-## Report this to http://icu-project.org/bugs ##\r
-## ------------------------------------------ ##"\r
- ) | sed "s/^/$as_me: WARNING: /" >&2\r
- ;;\r
-esac\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- eval "$3=\$ac_header_compiler"\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
-fi\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
-\r
-} # ac_fn_c_check_header_mongrel\r
-\r
-# ac_fn_c_check_func LINENO FUNC VAR\r
-# ----------------------------------\r
-# Tests whether FUNC exists, setting the cache variable VAR accordingly\r
-ac_fn_c_check_func ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-/* Define $2 to an innocuous variant, in case <limits.h> declares $2.\r
- For example, HP-UX 11i <limits.h> declares gettimeofday. */\r
-#define $2 innocuous_$2\r
-\r
-/* System header to define __stub macros and hopefully few prototypes,\r
- which can conflict with char $2 (); below.\r
- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
- <limits.h> exists even on freestanding compilers. */\r
-\r
-#ifdef __STDC__\r
-# include <limits.h>\r
-#else\r
-# include <assert.h>\r
-#endif\r
-\r
-#undef $2\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char $2 ();\r
-/* The GNU C library defines this for functions which it implements\r
- to always fail with ENOSYS. Some functions are actually named\r
- something starting with __ and the normal name is an alias. */\r
-#if defined __stub_$2 || defined __stub___$2\r
-choke me\r
-#endif\r
-\r
-int\r
-main ()\r
-{\r
-return $2 ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- eval "$3=yes"\r
-else\r
- eval "$3=no"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
-\r
-} # ac_fn_c_check_func\r
-\r
-# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES\r
-# ---------------------------------------------\r
-# Tests whether TYPE exists after having included INCLUDES, setting cache\r
-# variable VAR accordingly.\r
-ac_fn_cxx_check_type ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- eval "$3=no"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-if (sizeof ($2))\r
- return 0;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-if (sizeof (($2)))\r
- return 0;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
-\r
-else\r
- eval "$3=yes"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
-\r
-} # ac_fn_cxx_check_type\r
-\r
-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES\r
-# -------------------------------------------\r
-# Tests whether TYPE exists after having included INCLUDES, setting cache\r
-# variable VAR accordingly.\r
-ac_fn_c_check_type ()\r
-{\r
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5\r
-$as_echo_n "checking for $2... " >&6; }\r
-if eval \${$3+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- eval "$3=no"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-if (sizeof ($2))\r
- return 0;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$4\r
-int\r
-main ()\r
-{\r
-if (sizeof (($2)))\r
- return 0;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
-\r
-else\r
- eval "$3=yes"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-eval ac_res=\$$3\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5\r
-$as_echo "$ac_res" >&6; }\r
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno\r
-\r
-} # ac_fn_c_check_type\r
-cat >config.log <<_ACEOF\r
-This file contains any messages produced by compilers while\r
-running configure, to aid debugging if configure makes a mistake.\r
-\r
-It was created by ICU $as_me 70.1, which was\r
-generated by GNU Autoconf 2.69. Invocation command line was\r
-\r
- $ $0 $@\r
-\r
-_ACEOF\r
-exec 5>>config.log\r
-{\r
-cat <<_ASUNAME\r
-## --------- ##\r
-## Platform. ##\r
-## --------- ##\r
-\r
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`\r
-uname -m = `(uname -m) 2>/dev/null || echo unknown`\r
-uname -r = `(uname -r) 2>/dev/null || echo unknown`\r
-uname -s = `(uname -s) 2>/dev/null || echo unknown`\r
-uname -v = `(uname -v) 2>/dev/null || echo unknown`\r
-\r
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`\r
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`\r
-\r
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`\r
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`\r
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`\r
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`\r
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`\r
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`\r
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`\r
-\r
-_ASUNAME\r
-\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- $as_echo "PATH: $as_dir"\r
- done\r
-IFS=$as_save_IFS\r
-\r
-} >&5\r
-\r
-cat >&5 <<_ACEOF\r
-\r
-\r
-## ----------- ##\r
-## Core tests. ##\r
-## ----------- ##\r
-\r
-_ACEOF\r
-\r
-\r
-# Keep a trace of the command line.\r
-# Strip out --no-create and --no-recursion so they do not pile up.\r
-# Strip out --silent because we don't want to record it for future runs.\r
-# Also quote any args containing shell meta-characters.\r
-# Make two passes to allow for proper duplicate-argument suppression.\r
-ac_configure_args=\r
-ac_configure_args0=\r
-ac_configure_args1=\r
-ac_must_keep_next=false\r
-for ac_pass in 1 2\r
-do\r
- for ac_arg\r
- do\r
- case $ac_arg in\r
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;\r
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
- | -silent | --silent | --silen | --sile | --sil)\r
- continue ;;\r
- *\'*)\r
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
- esac\r
- case $ac_pass in\r
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;\r
- 2)\r
- as_fn_append ac_configure_args1 " '$ac_arg'"\r
- if test $ac_must_keep_next = true; then\r
- ac_must_keep_next=false # Got value, back to normal.\r
- else\r
- case $ac_arg in\r
- *=* | --config-cache | -C | -disable-* | --disable-* \\r
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \\r
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \\r
- | -with-* | --with-* | -without-* | --without-* | --x)\r
- case "$ac_configure_args0 " in\r
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;\r
- esac\r
- ;;\r
- -* ) ac_must_keep_next=true ;;\r
- esac\r
- fi\r
- as_fn_append ac_configure_args " '$ac_arg'"\r
- ;;\r
- esac\r
- done\r
-done\r
-{ ac_configure_args0=; unset ac_configure_args0;}\r
-{ ac_configure_args1=; unset ac_configure_args1;}\r
-\r
-# When interrupted or exit'd, cleanup temporary files, and complete\r
-# config.log. We remove comments because anyway the quotes in there\r
-# would cause problems or look ugly.\r
-# WARNING: Use '\'' to represent an apostrophe within the trap.\r
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.\r
-trap 'exit_status=$?\r
- # Save into config.log some information that might help in debugging.\r
- {\r
- echo\r
-\r
- $as_echo "## ---------------- ##\r
-## Cache variables. ##\r
-## ---------------- ##"\r
- echo\r
- # The following way of writing the cache mishandles newlines in values,\r
-(\r
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do\r
- eval ac_val=\$$ac_var\r
- case $ac_val in #(\r
- *${as_nl}*)\r
- case $ac_var in #(\r
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5\r
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;\r
- esac\r
- case $ac_var in #(\r
- _ | IFS | as_nl) ;; #(\r
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\r
- *) { eval $ac_var=; unset $ac_var;} ;;\r
- esac ;;\r
- esac\r
- done\r
- (set) 2>&1 |\r
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(\r
- *${as_nl}ac_space=\ *)\r
- sed -n \\r
- "s/'\''/'\''\\\\'\'''\''/g;\r
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"\r
- ;; #(\r
- *)\r
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
- ;;\r
- esac |\r
- sort\r
-)\r
- echo\r
-\r
- $as_echo "## ----------------- ##\r
-## Output variables. ##\r
-## ----------------- ##"\r
- echo\r
- for ac_var in $ac_subst_vars\r
- do\r
- eval ac_val=\$$ac_var\r
- case $ac_val in\r
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
- esac\r
- $as_echo "$ac_var='\''$ac_val'\''"\r
- done | sort\r
- echo\r
-\r
- if test -n "$ac_subst_files"; then\r
- $as_echo "## ------------------- ##\r
-## File substitutions. ##\r
-## ------------------- ##"\r
- echo\r
- for ac_var in $ac_subst_files\r
- do\r
- eval ac_val=\$$ac_var\r
- case $ac_val in\r
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
- esac\r
- $as_echo "$ac_var='\''$ac_val'\''"\r
- done | sort\r
- echo\r
- fi\r
-\r
- if test -s confdefs.h; then\r
- $as_echo "## ----------- ##\r
-## confdefs.h. ##\r
-## ----------- ##"\r
- echo\r
- cat confdefs.h\r
- echo\r
- fi\r
- test "$ac_signal" != 0 &&\r
- $as_echo "$as_me: caught signal $ac_signal"\r
- $as_echo "$as_me: exit $exit_status"\r
- } >&5\r
- rm -f core *.core core.conftest.* &&\r
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&\r
- exit $exit_status\r
-' 0\r
-for ac_signal in 1 2 13 15; do\r
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal\r
-done\r
-ac_signal=0\r
-\r
-# confdefs.h avoids OS command line length limits that DEFS can exceed.\r
-rm -f -r conftest* confdefs.h\r
-\r
-$as_echo "/* confdefs.h */" > confdefs.h\r
-\r
-# Predefined preprocessor variables.\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_NAME "$PACKAGE_NAME"\r
-_ACEOF\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"\r
-_ACEOF\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_VERSION "$PACKAGE_VERSION"\r
-_ACEOF\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_STRING "$PACKAGE_STRING"\r
-_ACEOF\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"\r
-_ACEOF\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define PACKAGE_URL "$PACKAGE_URL"\r
-_ACEOF\r
-\r
-\r
-# Let the site file select an alternate cache file if it wants to.\r
-# Prefer an explicitly selected file to automatically selected ones.\r
-ac_site_file1=NONE\r
-ac_site_file2=NONE\r
-if test -n "$CONFIG_SITE"; then\r
- # We do not want a PATH search for config.site.\r
- case $CONFIG_SITE in #((\r
- -*) ac_site_file1=./$CONFIG_SITE;;\r
- */*) ac_site_file1=$CONFIG_SITE;;\r
- *) ac_site_file1=./$CONFIG_SITE;;\r
- esac\r
-elif test "x$prefix" != xNONE; then\r
- ac_site_file1=$prefix/share/config.site\r
- ac_site_file2=$prefix/etc/config.site\r
-else\r
- ac_site_file1=$ac_default_prefix/share/config.site\r
- ac_site_file2=$ac_default_prefix/etc/config.site\r
-fi\r
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"\r
-do\r
- test "x$ac_site_file" = xNONE && continue\r
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5\r
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}\r
- sed 's/^/| /' "$ac_site_file" >&5\r
- . "$ac_site_file" \\r
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "failed to load site script $ac_site_file\r
-See \`config.log' for more details" "$LINENO" 5; }\r
- fi\r
-done\r
-\r
-if test -r "$cache_file"; then\r
- # Some versions of bash will fail to source /dev/null (special files\r
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.\r
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5\r
-$as_echo "$as_me: loading cache $cache_file" >&6;}\r
- case $cache_file in\r
- [\\/]* | ?:[\\/]* ) . "$cache_file";;\r
- *) . "./$cache_file";;\r
- esac\r
- fi\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5\r
-$as_echo "$as_me: creating cache $cache_file" >&6;}\r
- >$cache_file\r
-fi\r
-\r
-# Check that the precious variables saved in the cache have kept the same\r
-# value.\r
-ac_cache_corrupted=false\r
-for ac_var in $ac_precious_vars; do\r
- eval ac_old_set=\$ac_cv_env_${ac_var}_set\r
- eval ac_new_set=\$ac_env_${ac_var}_set\r
- eval ac_old_val=\$ac_cv_env_${ac_var}_value\r
- eval ac_new_val=\$ac_env_${ac_var}_value\r
- case $ac_old_set,$ac_new_set in\r
- set,)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5\r
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}\r
- ac_cache_corrupted=: ;;\r
- ,set)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5\r
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}\r
- ac_cache_corrupted=: ;;\r
- ,);;\r
- *)\r
- if test "x$ac_old_val" != "x$ac_new_val"; then\r
- # differences in whitespace do not lead to failure.\r
- ac_old_val_w=`echo x $ac_old_val`\r
- ac_new_val_w=`echo x $ac_new_val`\r
- if test "$ac_old_val_w" != "$ac_new_val_w"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5\r
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}\r
- ac_cache_corrupted=:\r
- else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5\r
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}\r
- eval $ac_var=\$ac_old_val\r
- fi\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5\r
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5\r
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}\r
- fi;;\r
- esac\r
- # Pass precious variables to config.status.\r
- if test "$ac_new_set" = set; then\r
- case $ac_new_val in\r
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;\r
- *) ac_arg=$ac_var=$ac_new_val ;;\r
- esac\r
- case " $ac_configure_args " in\r
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.\r
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;\r
- esac\r
- fi\r
-done\r
-if $ac_cache_corrupted; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5\r
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}\r
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5\r
-fi\r
-## -------------------- ##\r
-## Main body of script. ##\r
-## -------------------- ##\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-\r
-# Instruct Python to never write any byte code to the ICU source tree.\r
-PYTHONDONTWRITEBYTECODE=1\r
-export PYTHONDONTWRITEBYTECODE\r
-\r
-\r
-\r
-\r
-PACKAGE="icu"\r
-\r
-\r
-# Use custom echo test for newline option\r
-# Current autoconf (2.65) gives incorrect echo newline option\r
-# for icu-config\r
-# This may be removed later - mow (June 17, 2010)\r
-ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=\r
-case `/bin/sh -c "echo -n x"` in\r
--n*)\r
- case `/bin/sh -c "echo 'x\c'"` in\r
- *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character.\r
- *) ICU_ECHO_C='\c';;\r
- esac;;\r
-*)\r
- ICU_ECHO_N='-n';;\r
-esac\r
-\r
-\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5\r
-$as_echo_n "checking for ICU version numbers... " >&6; }\r
-\r
-# Get the ICU version from uversion.h or other headers\r
-geticuversion() {\r
- sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"\r
-}\r
-getuversion() {\r
- sed -n 's/^[ ]*#[ ]*define[ ]*U_UNICODE_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"\r
-}\r
-VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`\r
-if test x"$VERSION" = x; then\r
- as_fn_error $? "Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5\r
-fi\r
-\r
-#TODO: IcuBug:8502\r
-#if test "$VERSION" != "$PACKAGE_VERSION"; then\r
-# AC_MSG_ERROR([configure was generated for $PACKAGE_VERSION but uvernum.h has $VERSION - please rerun autoconf])\r
-#fi\r
-\r
-UNICODE_VERSION=`getuversion $srcdir/common/unicode/uchar.h`\r
-if test x"$UNICODE_VERSION" = x; then\r
- as_fn_error $? "Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5\r
-fi\r
-# Compute a reasonable library version from the release version. This is\r
-# very bad, but that's wanted... We want to make sure that the LIB_VERSION\r
-# has at least a dot in it, so we'll add a .0 if needed.\r
-#[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]\r
-LIB_VERSION=$VERSION\r
-LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`\r
-\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5\r
-$as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; }\r
-\r
-\r
-\r
-# Determine the host system\r
-ac_aux_dir=\r
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do\r
- if test -f "$ac_dir/install-sh"; then\r
- ac_aux_dir=$ac_dir\r
- ac_install_sh="$ac_aux_dir/install-sh -c"\r
- break\r
- elif test -f "$ac_dir/install.sh"; then\r
- ac_aux_dir=$ac_dir\r
- ac_install_sh="$ac_aux_dir/install.sh -c"\r
- break\r
- elif test -f "$ac_dir/shtool"; then\r
- ac_aux_dir=$ac_dir\r
- ac_install_sh="$ac_aux_dir/shtool install -c"\r
- break\r
- fi\r
-done\r
-if test -z "$ac_aux_dir"; then\r
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5\r
-fi\r
-\r
-# These three variables are undocumented and unsupported,\r
-# and are intended to be withdrawn in a future Autoconf release.\r
-# They can cause serious problems if a builder's source tree is in a directory\r
-# whose full name contains unusual characters.\r
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.\r
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.\r
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.\r
-\r
-\r
-# Make sure we can run config.sub.\r
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||\r
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5\r
-$as_echo_n "checking build system type... " >&6; }\r
-if ${ac_cv_build+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_build_alias=$build_alias\r
-test "x$ac_build_alias" = x &&\r
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`\r
-test "x$ac_build_alias" = x &&\r
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5\r
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||\r
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5\r
-$as_echo "$ac_cv_build" >&6; }\r
-case $ac_cv_build in\r
-*-*-*) ;;\r
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;\r
-esac\r
-build=$ac_cv_build\r
-ac_save_IFS=$IFS; IFS='-'\r
-set x $ac_cv_build\r
-shift\r
-build_cpu=$1\r
-build_vendor=$2\r
-shift; shift\r
-# Remember, the first character of IFS is used to create $*,\r
-# except with old shells:\r
-build_os=$*\r
-IFS=$ac_save_IFS\r
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5\r
-$as_echo_n "checking host system type... " >&6; }\r
-if ${ac_cv_host+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test "x$host_alias" = x; then\r
- ac_cv_host=$ac_cv_build\r
-else\r
- ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||\r
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5\r
-fi\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5\r
-$as_echo "$ac_cv_host" >&6; }\r
-case $ac_cv_host in\r
-*-*-*) ;;\r
-*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;\r
-esac\r
-host=$ac_cv_host\r
-ac_save_IFS=$IFS; IFS='-'\r
-set x $ac_cv_host\r
-shift\r
-host_cpu=$1\r
-host_vendor=$2\r
-shift; shift\r
-# Remember, the first character of IFS is used to create $*,\r
-# except with old shells:\r
-host_os=$*\r
-IFS=$ac_save_IFS\r
-case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac\r
-\r
-\r
-\r
-\r
-\r
-# This variable is needed on z/OS because the C++ compiler only recognizes .C\r
-_CXX_CXXSUFFIX=cpp\r
-export _CXX_CXXSUFFIX\r
-\r
-# Accumulate #defines\r
-\r
-# CONFIG_CPPFLAGS: These are defines that are set for ICU Build time only.\r
-# They are only needed for building ICU itself. Example: platform stuff\r
-CONFIG_CPPFLAGS=""\r
-# UCONFIG_CPPFLAGS: These are defines which are set for ICU build time,\r
-# and also a notice is output that they need to be set\r
-# for end-users of ICU also. uconfig.h.prepend is generated\r
-# with, for example, "#define U_DISABLE_RENAMING 1"\r
-# Example: ICU configuration stuff\r
-UCONFIG_CPPFLAGS=""\r
-# UCONFIG_CFLAGS: contains a copy of anything that needs to be set by end users\r
-# such as -std\r
-UCONFIG_CFLAGS=""\r
-\r
-# Check whether to install icu-config\r
-# Check whether --enable-icu-config was given.\r
-if test "${enable_icu_config+set}" = set; then :\r
- enableval=$enable_icu_config; case "${enableval}" in\r
- yes) enable_icu_config=true ;;\r
- no) enable_icu_config=false ;;\r
- *) as_fn_error $? "bad value '${enableval}' for --enable-icu-config" "$LINENO" 5 ;;\r
- esac\r
-else\r
- enable_icu_config=true\r
-fi\r
-\r
-INSTALL_ICU_CONFIG=$enable_icu_config\r
-\r
-\r
-# Check whether to build debug libraries\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5\r
-$as_echo_n "checking whether to build debug libraries... " >&6; }\r
-enabled=no\r
-ENABLE_DEBUG=0\r
-# Check whether --enable-debug was given.\r
-if test "${enable_debug+set}" = set; then :\r
- enableval=$enable_debug; case "${enableval}" in\r
- yes|"") enabled=yes; ENABLE_DEBUG=1; CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEBUG=1" ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# Check whether to build release libraries\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5\r
-$as_echo_n "checking whether to build release libraries... " >&6; }\r
-enabled=yes\r
-ENABLE_RELEASE=1\r
-# Check whether --enable-release was given.\r
-if test "${enable_release+set}" = set; then :\r
- enableval=$enable_release; case "${enableval}" in\r
- no) enabled=no; ENABLE_RELEASE=0 ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# Don't use the default C/CXXFLags\r
-: ${CFLAGS=""}\r
-: ${CXXFLAGS=""}\r
-\r
-# Checks for compilers\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-if test -n "$ac_tool_prefix"; then\r
- for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc\r
- do\r
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_CC+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$CC"; then\r
- ac_cv_prog_CC="$CC" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-CC=$ac_cv_prog_CC\r
-if test -n "$CC"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5\r
-$as_echo "$CC" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$CC" && break\r
- done\r
-fi\r
-if test -z "$CC"; then\r
- ac_ct_CC=$CC\r
- for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc\r
-do\r
- # Extract the first word of "$ac_prog", so it can be a program name with args.\r
-set dummy $ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_ac_ct_CC+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$ac_ct_CC"; then\r
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_ac_ct_CC="$ac_prog"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
-if test -n "$ac_ct_CC"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5\r
-$as_echo "$ac_ct_CC" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$ac_ct_CC" && break\r
-done\r
-\r
- if test "x$ac_ct_CC" = x; then\r
- CC=""\r
- else\r
- case $cross_compiling:$ac_tool_warned in\r
-yes:)\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5\r
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
-ac_tool_warned=yes ;;\r
-esac\r
- CC=$ac_ct_CC\r
- fi\r
-fi\r
-\r
-\r
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "no acceptable C compiler found in \$PATH\r
-See \`config.log' for more details" "$LINENO" 5; }\r
-\r
-# Provide some information about the compiler.\r
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5\r
-set X $ac_compile\r
-ac_compiler=$2\r
-for ac_option in --version -v -V -qversion; do\r
- { { ac_try="$ac_compiler $ac_option >&5"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- sed '10a\\r
-... rest of stderr output deleted ...\r
- 10q' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- fi\r
- rm -f conftest.er1 conftest.err\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }\r
-done\r
-\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-ac_clean_files_save=$ac_clean_files\r
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"\r
-# Try to create an executable without -o first, disregard a.out.\r
-# It will help us diagnose broken compilers, and finding out an intuition\r
-# of exeext.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5\r
-$as_echo_n "checking whether the C compiler works... " >&6; }\r
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`\r
-\r
-# The possible output files:\r
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"\r
-\r
-ac_rmfiles=\r
-for ac_file in $ac_files\r
-do\r
- case $ac_file in\r
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;\r
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;\r
- esac\r
-done\r
-rm -f $ac_rmfiles\r
-\r
-if { { ac_try="$ac_link_default"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link_default") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; then :\r
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.\r
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'\r
-# in a Makefile. We should not override ac_cv_exeext if it was cached,\r
-# so that the user can short-circuit this test for compilers unknown to\r
-# Autoconf.\r
-for ac_file in $ac_files ''\r
-do\r
- test -f "$ac_file" || continue\r
- case $ac_file in\r
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )\r
- ;;\r
- [ab].out )\r
- # We found the default executable, but exeext='' is most\r
- # certainly right.\r
- break;;\r
- *.* )\r
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;\r
- then :; else\r
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
- fi\r
- # We set ac_cv_exeext here because the later test for it is not\r
- # safe: cross compilers may not add the suffix if given an `-o'\r
- # argument, so we may need to know it at that point already.\r
- # Even if this section looks crufty: it has the advantage of\r
- # actually working.\r
- break;;\r
- * )\r
- break;;\r
- esac\r
-done\r
-test "$ac_cv_exeext" = no && ac_cv_exeext=\r
-\r
-else\r
- ac_file=''\r
-fi\r
-if test -z "$ac_file"; then :\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-$as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error 77 "C compiler cannot create executables\r
-See \`config.log' for more details" "$LINENO" 5; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5\r
-$as_echo "yes" >&6; }\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5\r
-$as_echo_n "checking for C compiler default output file name... " >&6; }\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5\r
-$as_echo "$ac_file" >&6; }\r
-ac_exeext=$ac_cv_exeext\r
-\r
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out\r
-ac_clean_files=$ac_clean_files_save\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5\r
-$as_echo_n "checking for suffix of executables... " >&6; }\r
-if { { ac_try="$ac_link"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; then :\r
- # If both `conftest.exe' and `conftest' are `present' (well, observable)\r
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will\r
-# work properly (i.e., refer to `conftest.exe'), while it won't with\r
-# `rm'.\r
-for ac_file in conftest.exe conftest conftest.*; do\r
- test -f "$ac_file" || continue\r
- case $ac_file in\r
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;\r
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
- break;;\r
- * ) break;;\r
- esac\r
-done\r
-else\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link\r
-See \`config.log' for more details" "$LINENO" 5; }\r
-fi\r
-rm -f conftest conftest$ac_cv_exeext\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5\r
-$as_echo "$ac_cv_exeext" >&6; }\r
-\r
-rm -f conftest.$ac_ext\r
-EXEEXT=$ac_cv_exeext\r
-ac_exeext=$EXEEXT\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdio.h>\r
-int\r
-main ()\r
-{\r
-FILE *f = fopen ("conftest.out", "w");\r
- return ferror (f) || fclose (f) != 0;\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-ac_clean_files="$ac_clean_files conftest.out"\r
-# Check that the compiler produces executables we can run. If not, either\r
-# the compiler is broken, or we cross compile.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5\r
-$as_echo_n "checking whether we are cross compiling... " >&6; }\r
-if test "$cross_compiling" != yes; then\r
- { { ac_try="$ac_link"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_link") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }\r
- if { ac_try='./conftest$ac_cv_exeext'\r
- { { case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_try") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; }; then\r
- cross_compiling=no\r
- else\r
- if test "$cross_compiling" = maybe; then\r
- cross_compiling=yes\r
- else\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "cannot run C compiled programs.\r
-If you meant to cross compile, use \`--host'.\r
-See \`config.log' for more details" "$LINENO" 5; }\r
- fi\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5\r
-$as_echo "$cross_compiling" >&6; }\r
-\r
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out\r
-ac_clean_files=$ac_clean_files_save\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5\r
-$as_echo_n "checking for suffix of object files... " >&6; }\r
-if ${ac_cv_objext+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-rm -f conftest.o conftest.obj\r
-if { { ac_try="$ac_compile"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_compile") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; then :\r
- for ac_file in conftest.o conftest.obj conftest.*; do\r
- test -f "$ac_file" || continue;\r
- case $ac_file in\r
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;\r
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`\r
- break;;\r
- esac\r
-done\r
-else\r
- $as_echo "$as_me: failed program was:" >&5\r
-sed 's/^/| /' conftest.$ac_ext >&5\r
-\r
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "cannot compute suffix of object files: cannot compile\r
-See \`config.log' for more details" "$LINENO" 5; }\r
-fi\r
-rm -f conftest.$ac_cv_objext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5\r
-$as_echo "$ac_cv_objext" >&6; }\r
-OBJEXT=$ac_cv_objext\r
-ac_objext=$OBJEXT\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5\r
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }\r
-if ${ac_cv_c_compiler_gnu+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-#ifndef __GNUC__\r
- choke me\r
-#endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_compiler_gnu=yes\r
-else\r
- ac_compiler_gnu=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-ac_cv_c_compiler_gnu=$ac_compiler_gnu\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5\r
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }\r
-if test $ac_compiler_gnu = yes; then\r
- GCC=yes\r
-else\r
- GCC=\r
-fi\r
-ac_test_CFLAGS=${CFLAGS+set}\r
-ac_save_CFLAGS=$CFLAGS\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5\r
-$as_echo_n "checking whether $CC accepts -g... " >&6; }\r
-if ${ac_cv_prog_cc_g+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_save_c_werror_flag=$ac_c_werror_flag\r
- ac_c_werror_flag=yes\r
- ac_cv_prog_cc_g=no\r
- CFLAGS="-g"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_prog_cc_g=yes\r
-else\r
- CFLAGS=""\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
-\r
-else\r
- ac_c_werror_flag=$ac_save_c_werror_flag\r
- CFLAGS="-g"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_prog_cc_g=yes\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- ac_c_werror_flag=$ac_save_c_werror_flag\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5\r
-$as_echo "$ac_cv_prog_cc_g" >&6; }\r
-if test "$ac_test_CFLAGS" = set; then\r
- CFLAGS=$ac_save_CFLAGS\r
-elif test $ac_cv_prog_cc_g = yes; then\r
- if test "$GCC" = yes; then\r
- CFLAGS="-g -O2"\r
- else\r
- CFLAGS="-g"\r
- fi\r
-else\r
- if test "$GCC" = yes; then\r
- CFLAGS="-O2"\r
- else\r
- CFLAGS=\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5\r
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }\r
-if ${ac_cv_prog_cc_c89+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_cv_prog_cc_c89=no\r
-ac_save_CC=$CC\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdarg.h>\r
-#include <stdio.h>\r
-struct stat;\r
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */\r
-struct buf { int x; };\r
-FILE * (*rcsopen) (struct buf *, struct stat *, int);\r
-static char *e (p, i)\r
- char **p;\r
- int i;\r
-{\r
- return p[i];\r
-}\r
-static char *f (char * (*g) (char **, int), char **p, ...)\r
-{\r
- char *s;\r
- va_list v;\r
- va_start (v,p);\r
- s = g (p, va_arg (v,int));\r
- va_end (v);\r
- return s;\r
-}\r
-\r
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has\r
- function prototypes and stuff, but not '\xHH' hex character constants.\r
- These don't provoke an error unfortunately, instead are silently treated\r
- as 'x'. The following induces an error, until -std is added to get\r
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an\r
- array size at least. It's necessary to write '\x00'==0 to get something\r
- that's true only with -std. */\r
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];\r
-\r
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters\r
- inside strings and character constants. */\r
-#define FOO(x) 'x'\r
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];\r
-\r
-int test (int i, double x);\r
-struct s1 {int (*f) (int a);};\r
-struct s2 {int (*f) (double a);};\r
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);\r
-int argc;\r
-char **argv;\r
-int\r
-main ()\r
-{\r
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \\r
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"\r
-do\r
- CC="$ac_save_CC $ac_arg"\r
- if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_prog_cc_c89=$ac_arg\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext\r
- test "x$ac_cv_prog_cc_c89" != "xno" && break\r
-done\r
-rm -f conftest.$ac_ext\r
-CC=$ac_save_CC\r
-\r
-fi\r
-# AC_CACHE_VAL\r
-case "x$ac_cv_prog_cc_c89" in\r
- x)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5\r
-$as_echo "none needed" >&6; } ;;\r
- xno)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5\r
-$as_echo "unsupported" >&6; } ;;\r
- *)\r
- CC="$CC $ac_cv_prog_cc_c89"\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5\r
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;\r
-esac\r
-if test "x$ac_cv_prog_cc_c89" != xno; then :\r
-\r
-fi\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-# Make sure that we try clang++ first, which provides C++11 support.\r
-# The g++ compiler is less likely to support C++11.\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-if test -z "$CXX"; then\r
- if test -n "$CCC"; then\r
- CXX=$CCC\r
- else\r
- if test -n "$ac_tool_prefix"; then\r
- for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC\r
- do\r
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_CXX+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$CXX"; then\r
- ac_cv_prog_CXX="$CXX" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-CXX=$ac_cv_prog_CXX\r
-if test -n "$CXX"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5\r
-$as_echo "$CXX" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$CXX" && break\r
- done\r
-fi\r
-if test -z "$CXX"; then\r
- ac_ct_CXX=$CXX\r
- for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC\r
-do\r
- # Extract the first word of "$ac_prog", so it can be a program name with args.\r
-set dummy $ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_ac_ct_CXX+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$ac_ct_CXX"; then\r
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_ac_ct_CXX="$ac_prog"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX\r
-if test -n "$ac_ct_CXX"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5\r
-$as_echo "$ac_ct_CXX" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$ac_ct_CXX" && break\r
-done\r
-\r
- if test "x$ac_ct_CXX" = x; then\r
- CXX="g++"\r
- else\r
- case $cross_compiling:$ac_tool_warned in\r
-yes:)\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5\r
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
-ac_tool_warned=yes ;;\r
-esac\r
- CXX=$ac_ct_CXX\r
- fi\r
-fi\r
-\r
- fi\r
-fi\r
-# Provide some information about the compiler.\r
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5\r
-set X $ac_compile\r
-ac_compiler=$2\r
-for ac_option in --version -v -V -qversion; do\r
- { { ac_try="$ac_compiler $ac_option >&5"\r
-case "(($ac_try" in\r
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
- *) ac_try_echo=$ac_try;;\r
-esac\r
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""\r
-$as_echo "$ac_try_echo"; } >&5\r
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err\r
- ac_status=$?\r
- if test -s conftest.err; then\r
- sed '10a\\r
-... rest of stderr output deleted ...\r
- 10q' conftest.err >conftest.er1\r
- cat conftest.er1 >&5\r
- fi\r
- rm -f conftest.er1 conftest.err\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }\r
-done\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5\r
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }\r
-if ${ac_cv_cxx_compiler_gnu+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-#ifndef __GNUC__\r
- choke me\r
-#endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- ac_compiler_gnu=yes\r
-else\r
- ac_compiler_gnu=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5\r
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }\r
-if test $ac_compiler_gnu = yes; then\r
- GXX=yes\r
-else\r
- GXX=\r
-fi\r
-ac_test_CXXFLAGS=${CXXFLAGS+set}\r
-ac_save_CXXFLAGS=$CXXFLAGS\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5\r
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }\r
-if ${ac_cv_prog_cxx_g+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag\r
- ac_cxx_werror_flag=yes\r
- ac_cv_prog_cxx_g=no\r
- CXXFLAGS="-g"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- ac_cv_prog_cxx_g=yes\r
-else\r
- CXXFLAGS=""\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
-\r
-else\r
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag\r
- CXXFLAGS="-g"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- ac_cv_prog_cxx_g=yes\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5\r
-$as_echo "$ac_cv_prog_cxx_g" >&6; }\r
-if test "$ac_test_CXXFLAGS" = set; then\r
- CXXFLAGS=$ac_save_CXXFLAGS\r
-elif test $ac_cv_prog_cxx_g = yes; then\r
- if test "$GXX" = yes; then\r
- CXXFLAGS="-g -O2"\r
- else\r
- CXXFLAGS="-g"\r
- fi\r
-else\r
- if test "$GXX" = yes; then\r
- CXXFLAGS="-O2"\r
- else\r
- CXXFLAGS=\r
- fi\r
-fi\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-# pkg-config is needed for harfbuzz support\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then\r
- if test -n "$ac_tool_prefix"; then\r
- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.\r
-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_path_PKG_CONFIG+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- case $PKG_CONFIG in\r
- [\\/]* | ?:[\\/]*)\r
- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.\r
- ;;\r
- *)\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-fi\r
-PKG_CONFIG=$ac_cv_path_PKG_CONFIG\r
-if test -n "$PKG_CONFIG"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5\r
-$as_echo "$PKG_CONFIG" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
-fi\r
-if test -z "$ac_cv_path_PKG_CONFIG"; then\r
- ac_pt_PKG_CONFIG=$PKG_CONFIG\r
- # Extract the first word of "pkg-config", so it can be a program name with args.\r
-set dummy pkg-config; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- case $ac_pt_PKG_CONFIG in\r
- [\\/]* | ?:[\\/]*)\r
- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.\r
- ;;\r
- *)\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-fi\r
-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG\r
-if test -n "$ac_pt_PKG_CONFIG"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5\r
-$as_echo "$ac_pt_PKG_CONFIG" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
- if test "x$ac_pt_PKG_CONFIG" = x; then\r
- PKG_CONFIG=""\r
- else\r
- case $cross_compiling:$ac_tool_warned in\r
-yes:)\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5\r
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
-ac_tool_warned=yes ;;\r
-esac\r
- PKG_CONFIG=$ac_pt_PKG_CONFIG\r
- fi\r
-else\r
- PKG_CONFIG="$ac_cv_path_PKG_CONFIG"\r
-fi\r
-\r
-fi\r
-if test -n "$PKG_CONFIG"; then\r
- _pkg_min_version=0.20\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5\r
-$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }\r
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5\r
-$as_echo "yes" >&6; }\r
- else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
- PKG_CONFIG=""\r
- fi\r
-fi\r
-\r
-pkg_failed=no\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICULEHB" >&5\r
-$as_echo_n "checking for ICULEHB... " >&6; }\r
-\r
-if test -n "$ICULEHB_CFLAGS"; then\r
- pkg_cv_ICULEHB_CFLAGS="$ICULEHB_CFLAGS"\r
- elif test -n "$PKG_CONFIG"; then\r
- if test -n "$PKG_CONFIG" && \\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le-hb\""; } >&5\r
- ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; then\r
- pkg_cv_ICULEHB_CFLAGS=`$PKG_CONFIG --cflags "icu-le-hb" 2>/dev/null`\r
- test "x$?" != "x0" && pkg_failed=yes\r
-else\r
- pkg_failed=yes\r
-fi\r
- else\r
- pkg_failed=untried\r
-fi\r
-if test -n "$ICULEHB_LIBS"; then\r
- pkg_cv_ICULEHB_LIBS="$ICULEHB_LIBS"\r
- elif test -n "$PKG_CONFIG"; then\r
- if test -n "$PKG_CONFIG" && \\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le-hb\""; } >&5\r
- ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5\r
- ac_status=$?\r
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5\r
- test $ac_status = 0; }; then\r
- pkg_cv_ICULEHB_LIBS=`$PKG_CONFIG --libs "icu-le-hb" 2>/dev/null`\r
- test "x$?" != "x0" && pkg_failed=yes\r
-else\r
- pkg_failed=yes\r
-fi\r
- else\r
- pkg_failed=untried\r
-fi\r
-\r
-\r
-\r
-if test $pkg_failed = yes; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-\r
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then\r
- _pkg_short_errors_supported=yes\r
-else\r
- _pkg_short_errors_supported=no\r
-fi\r
- if test $_pkg_short_errors_supported = yes; then\r
- ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-le-hb" 2>&1`\r
- else\r
- ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-le-hb" 2>&1`\r
- fi\r
- # Put the nasty error message in config.log where it belongs\r
- echo "$ICULEHB_PKG_ERRORS" >&5\r
-\r
- :\r
-elif test $pkg_failed = untried; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
- :\r
-else\r
- ICULEHB_CFLAGS=$pkg_cv_ICULEHB_CFLAGS\r
- ICULEHB_LIBS=$pkg_cv_ICULEHB_LIBS\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5\r
-$as_echo "yes" >&6; }\r
- have_icu_le_hb=true\r
-fi\r
-\r
-# Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option\r
-# The release mode use is the default one for autoconf\r
-if test "$GCC" = yes; then\r
- if test "$CFLAGS" = ""; then\r
- if test "$ENABLE_DEBUG" = 1; then\r
- CFLAGS=-g\r
- fi\r
- if test "$ENABLE_RELEASE" = 1; then\r
- CFLAGS="$CFLAGS -O2"\r
- fi\r
- fi\r
- if test "$CXXFLAGS" = ""; then\r
- if test "$ENABLE_DEBUG" = 1; then\r
- CXXFLAGS=-g\r
- fi\r
- if test "$ENABLE_RELEASE" = 1; then\r
- CXXFLAGS="$CXXFLAGS -O2"\r
- fi\r
- fi\r
-fi\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5\r
-$as_echo_n "checking how to run the C preprocessor... " >&6; }\r
-# On Suns, sometimes $CPP names a directory.\r
-if test -n "$CPP" && test -d "$CPP"; then\r
- CPP=\r
-fi\r
-if test -z "$CPP"; then\r
- if ${ac_cv_prog_CPP+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- # Double quotes because CPP needs to be expanded\r
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"\r
- do\r
- ac_preproc_ok=false\r
-for ac_c_preproc_warn_flag in '' yes\r
-do\r
- # Use a header file that comes with gcc, so configuring glibc\r
- # with a fresh cross-compiler works.\r
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
- # <limits.h> exists even on freestanding compilers.\r
- # On the NeXT, cc -E runs the code through the compiler's parser,\r
- # not just through cpp. "Syntax error" is here to catch this case.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#ifdef __STDC__\r
-# include <limits.h>\r
-#else\r
-# include <assert.h>\r
-#endif\r
- Syntax error\r
-_ACEOF\r
-if ac_fn_c_try_cpp "$LINENO"; then :\r
-\r
-else\r
- # Broken: fails on valid input.\r
-continue\r
-fi\r
-rm -f conftest.err conftest.i conftest.$ac_ext\r
-\r
- # OK, works on sane cases. Now check whether nonexistent headers\r
- # can be detected and how.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <ac_nonexistent.h>\r
-_ACEOF\r
-if ac_fn_c_try_cpp "$LINENO"; then :\r
- # Broken: success on invalid input.\r
-continue\r
-else\r
- # Passes both tests.\r
-ac_preproc_ok=:\r
-break\r
-fi\r
-rm -f conftest.err conftest.i conftest.$ac_ext\r
-\r
-done\r
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
-rm -f conftest.i conftest.err conftest.$ac_ext\r
-if $ac_preproc_ok; then :\r
- break\r
-fi\r
-\r
- done\r
- ac_cv_prog_CPP=$CPP\r
-\r
-fi\r
- CPP=$ac_cv_prog_CPP\r
-else\r
- ac_cv_prog_CPP=$CPP\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5\r
-$as_echo "$CPP" >&6; }\r
-ac_preproc_ok=false\r
-for ac_c_preproc_warn_flag in '' yes\r
-do\r
- # Use a header file that comes with gcc, so configuring glibc\r
- # with a fresh cross-compiler works.\r
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
- # <limits.h> exists even on freestanding compilers.\r
- # On the NeXT, cc -E runs the code through the compiler's parser,\r
- # not just through cpp. "Syntax error" is here to catch this case.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#ifdef __STDC__\r
-# include <limits.h>\r
-#else\r
-# include <assert.h>\r
-#endif\r
- Syntax error\r
-_ACEOF\r
-if ac_fn_c_try_cpp "$LINENO"; then :\r
-\r
-else\r
- # Broken: fails on valid input.\r
-continue\r
-fi\r
-rm -f conftest.err conftest.i conftest.$ac_ext\r
-\r
- # OK, works on sane cases. Now check whether nonexistent headers\r
- # can be detected and how.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <ac_nonexistent.h>\r
-_ACEOF\r
-if ac_fn_c_try_cpp "$LINENO"; then :\r
- # Broken: success on invalid input.\r
-continue\r
-else\r
- # Passes both tests.\r
-ac_preproc_ok=:\r
-break\r
-fi\r
-rm -f conftest.err conftest.i conftest.$ac_ext\r
-\r
-done\r
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
-rm -f conftest.i conftest.err conftest.$ac_ext\r
-if $ac_preproc_ok; then :\r
-\r
-else\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check\r
-See \`config.log' for more details" "$LINENO" 5; }\r
-fi\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-# Find a good install program. We prefer a C program (faster),\r
-# so one script is as good as another. But avoid the broken or\r
-# incompatible versions:\r
-# SysV /etc/install, /usr/sbin/install\r
-# SunOS /usr/etc/install\r
-# IRIX /sbin/install\r
-# AIX /bin/install\r
-# AmigaOS /C/install, which installs bootblocks on floppy discs\r
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\r
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args\r
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"\r
-# OS/2's system install, which has a completely different semantic\r
-# ./install, which can be erroneously created by make from ./install.sh.\r
-# Reject install programs that cannot install multiple files.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5\r
-$as_echo_n "checking for a BSD-compatible install... " >&6; }\r
-if test -z "$INSTALL"; then\r
-if ${ac_cv_path_install+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- # Account for people who put trailing slashes in PATH elements.\r
-case $as_dir/ in #((\r
- ./ | .// | /[cC]/* | \\r
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\r
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \\r
- /usr/ucb/* ) ;;\r
- *)\r
- # OSF1 and SCO ODT 3.0 have their own names for install.\r
- # Don't use installbsd from OSF since it installs stuff as root\r
- # by default.\r
- for ac_prog in ginstall scoinst install; do\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then\r
- if test $ac_prog = install &&\r
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
- # AIX install. It has an incompatible calling convention.\r
- :\r
- elif test $ac_prog = install &&\r
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
- # program-specific install script used by HP pwplus--don't use.\r
- :\r
- else\r
- rm -rf conftest.one conftest.two conftest.dir\r
- echo one > conftest.one\r
- echo two > conftest.two\r
- mkdir conftest.dir\r
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&\r
- test -s conftest.one && test -s conftest.two &&\r
- test -s conftest.dir/conftest.one &&\r
- test -s conftest.dir/conftest.two\r
- then\r
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"\r
- break 3\r
- fi\r
- fi\r
- fi\r
- done\r
- done\r
- ;;\r
-esac\r
-\r
- done\r
-IFS=$as_save_IFS\r
-\r
-rm -rf conftest.one conftest.two conftest.dir\r
-\r
-fi\r
- if test "${ac_cv_path_install+set}" = set; then\r
- INSTALL=$ac_cv_path_install\r
- else\r
- # As a last resort, use the slow shell script. Don't cache a\r
- # value for INSTALL within a source directory, because that will\r
- # break other packages using the cache if that directory is\r
- # removed, or if the value is a relative name.\r
- INSTALL=$ac_install_sh\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5\r
-$as_echo "$INSTALL" >&6; }\r
-\r
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.\r
-# It thinks the first close brace ends the variable substitution.\r
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'\r
-\r
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'\r
-\r
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'\r
-\r
-\r
-\r
-\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
-\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_link "$LINENO"; then :\r
-\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-# make sure install is relative to srcdir - if a script\r
-if test "$srcdir" = "."; then\r
- # If srcdir isn't just ., then (srcdir) is already prepended.\r
- if test "${ac_install_sh}" = "${INSTALL}"; then\r
- INSTALL="\\\$(top_srcdir)/${ac_install_sh}"\r
- fi\r
-fi\r
-\r
-#AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)\r
-#AC_CHECK_PROG(STRIP, strip, strip, true)\r
-\r
-# TODO(ICU-20301): Remove fallback to Python 2.\r
-for ac_prog in python3 "py -3" python "py"\r
-do\r
- # Extract the first word of "$ac_prog", so it can be a program name with args.\r
-set dummy $ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_PYTHON+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$PYTHON"; then\r
- ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_PYTHON="$ac_prog"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-PYTHON=$ac_cv_prog_PYTHON\r
-if test -n "$PYTHON"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5\r
-$as_echo "$PYTHON" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$PYTHON" && break\r
-done\r
-\r
-\r
-\r
-# Check for the platform make\r
-for ac_prog in gmake gnumake\r
-do\r
- # Extract the first word of "$ac_prog", so it can be a program name with args.\r
-set dummy $ac_prog; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_path_U_MAKE+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- case $U_MAKE in\r
- [\\/]* | ?:[\\/]*)\r
- ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.\r
- ;;\r
- *)\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-fi\r
-U_MAKE=$ac_cv_path_U_MAKE\r
-if test -n "$U_MAKE"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5\r
-$as_echo "$U_MAKE" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
- test -n "$U_MAKE" && break\r
-done\r
-test -n "$U_MAKE" || U_MAKE="make"\r
-\r
-\r
-\r
-\r
-\r
-# Check whether --with-cross-build was given.\r
-if test "${with_cross_build+set}" = set; then :\r
- withval=$with_cross_build; cross_buildroot="${withval}"\r
-else\r
- cross_buildroot=""\r
-fi\r
-\r
-\r
-if test "X$cross_buildroot" = "X"; then\r
- if test "$cross_compiling" = "yes"; then\r
- 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\r
- fi\r
-else\r
- if test -f "${cross_buildroot}/config/icucross.mk"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5\r
-$as_echo "Using cross buildroot: $cross_buildroot" >&6; }\r
- else\r
- if test -d "${cross_buildroot}"; then\r
- as_fn_error $? "${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5\r
- else\r
- as_fn_error $? "No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5\r
- fi\r
- fi\r
-fi\r
-\r
-\r
-# Check for doxygen to generate documentation\r
-# Extract the first word of "doxygen", so it can be a program name with args.\r
-set dummy doxygen; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_path_DOXYGEN+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- case $DOXYGEN in\r
- [\\/]* | ?:[\\/]*)\r
- ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.\r
- ;;\r
- *)\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-as_dummy="$PATH:/usr/local/bin:/usr/bin"\r
-for as_dir in $as_dummy\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-fi\r
-DOXYGEN=$ac_cv_path_DOXYGEN\r
-if test -n "$DOXYGEN"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5\r
-$as_echo "$DOXYGEN" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
-\r
-# Check that the linker is usable\r
-\r
-case "${host}" in\r
- *-*-cygwin*|*-*-mingw*)\r
- if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then\r
- as_fn_error $? "link.exe is not a valid linker. Your PATH is incorrect.\r
- Please follow the directions in ICU's readme." "$LINENO" 5\r
- fi;;\r
- *);;\r
-esac\r
-\r
-# Determine the executable suffix\r
-# We don't use AC_EXEEXT because some compilers output separate debugging\r
-# files, which confuses the AC_EXEEXT macro.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5\r
-$as_echo_n "checking checking for executable suffix... " >&6; }\r
-case "${host}" in\r
- *-*-cygwin*|*-*-mingw*) EXEEXT=.exe ;;\r
- *) EXEEXT="" ;;\r
-esac\r
-ac_exeext=$EXEEXT\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5\r
-$as_echo "$EXEEXT" >&6; }\r
-\r
-\r
-# Determine how strict we want to be when compiling\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5\r
-$as_echo_n "checking whether strict compiling is on... " >&6; }\r
- # Check whether --enable-strict was given.\r
-if test "${enable_strict+set}" = set; then :\r
- enableval=$enable_strict;\r
- if test "$enableval" = no\r
- then\r
- ac_use_strict_options=no\r
- else\r
- ac_use_strict_options=yes\r
- fi\r
-\r
-else\r
- ac_use_strict_options=yes\r
-fi\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5\r
-$as_echo "$ac_use_strict_options" >&6; }\r
-\r
- if test "$ac_use_strict_options" = yes\r
- then\r
- if test "$GCC" = yes\r
- then\r
- case "${host}" in\r
- *-*-solaris*)\r
- # Don't use -std=c11 on Solaris because of timezone check fails\r
- ;;\r
- *)\r
- # Do not use -ansi. It limits us to C90, and it breaks some platforms.\r
- # We use -std=c11 to disable the gnu99 defaults and its associated warnings\r
- CFLAGS="$CFLAGS -std=c11"\r
- ;;\r
- esac\r
-\r
- CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"\r
- else\r
- case "${host}" in\r
- *-*-cygwin)\r
- if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"\r
- then\r
- CFLAGS="$CFLAGS /W4"\r
- fi ;;\r
- *-*-mingw*)\r
- CFLAGS="$CFLAGS -W4" ;;\r
- esac\r
- fi\r
- if test "$GXX" = yes\r
- then\r
- CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"\r
- else\r
- case "${host}" in\r
- *-*-cygwin)\r
- if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"\r
- then\r
- CXXFLAGS="$CXXFLAGS /W4"\r
- fi ;;\r
- *-*-mingw*)\r
- CFLAGS="$CFLAGS -W4" ;;\r
- esac\r
- fi\r
- fi\r
-\r
-\r
-# Check if we can build and use 64-bit libraries\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5\r
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }\r
-if ${ac_cv_path_GREP+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -z "$GREP"; then\r
- ac_path_GREP_found=false\r
- # Loop through the user's path and test for each of PROGNAME-LIST\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_prog in grep ggrep; do\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"\r
- as_fn_executable_p "$ac_path_GREP" || continue\r
-# Check for GNU ac_path_GREP and select it if it is found.\r
- # Check for GNU $ac_path_GREP\r
-case `"$ac_path_GREP" --version 2>&1` in\r
-*GNU*)\r
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;\r
-*)\r
- ac_count=0\r
- $as_echo_n 0123456789 >"conftest.in"\r
- while :\r
- do\r
- cat "conftest.in" "conftest.in" >"conftest.tmp"\r
- mv "conftest.tmp" "conftest.in"\r
- cp "conftest.in" "conftest.nl"\r
- $as_echo 'GREP' >> "conftest.nl"\r
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
- as_fn_arith $ac_count + 1 && ac_count=$as_val\r
- if test $ac_count -gt ${ac_path_GREP_max-0}; then\r
- # Best one so far, save it but keep looking for a better one\r
- ac_cv_path_GREP="$ac_path_GREP"\r
- ac_path_GREP_max=$ac_count\r
- fi\r
- # 10*(2^10) chars as input seems more than enough\r
- test $ac_count -gt 10 && break\r
- done\r
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
-esac\r
-\r
- $ac_path_GREP_found && break 3\r
- done\r
- done\r
- done\r
-IFS=$as_save_IFS\r
- if test -z "$ac_cv_path_GREP"; then\r
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5\r
- fi\r
-else\r
- ac_cv_path_GREP=$GREP\r
-fi\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5\r
-$as_echo "$ac_cv_path_GREP" >&6; }\r
- GREP="$ac_cv_path_GREP"\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5\r
-$as_echo_n "checking for egrep... " >&6; }\r
-if ${ac_cv_path_EGREP+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1\r
- then ac_cv_path_EGREP="$GREP -E"\r
- else\r
- if test -z "$EGREP"; then\r
- ac_path_EGREP_found=false\r
- # Loop through the user's path and test for each of PROGNAME-LIST\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_prog in egrep; do\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"\r
- as_fn_executable_p "$ac_path_EGREP" || continue\r
-# Check for GNU ac_path_EGREP and select it if it is found.\r
- # Check for GNU $ac_path_EGREP\r
-case `"$ac_path_EGREP" --version 2>&1` in\r
-*GNU*)\r
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;\r
-*)\r
- ac_count=0\r
- $as_echo_n 0123456789 >"conftest.in"\r
- while :\r
- do\r
- cat "conftest.in" "conftest.in" >"conftest.tmp"\r
- mv "conftest.tmp" "conftest.in"\r
- cp "conftest.in" "conftest.nl"\r
- $as_echo 'EGREP' >> "conftest.nl"\r
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
- as_fn_arith $ac_count + 1 && ac_count=$as_val\r
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then\r
- # Best one so far, save it but keep looking for a better one\r
- ac_cv_path_EGREP="$ac_path_EGREP"\r
- ac_path_EGREP_max=$ac_count\r
- fi\r
- # 10*(2^10) chars as input seems more than enough\r
- test $ac_count -gt 10 && break\r
- done\r
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
-esac\r
-\r
- $ac_path_EGREP_found && break 3\r
- done\r
- done\r
- done\r
-IFS=$as_save_IFS\r
- if test -z "$ac_cv_path_EGREP"; then\r
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5\r
- fi\r
-else\r
- ac_cv_path_EGREP=$EGREP\r
-fi\r
-\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5\r
-$as_echo "$ac_cv_path_EGREP" >&6; }\r
- EGREP="$ac_cv_path_EGREP"\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5\r
-$as_echo_n "checking for ANSI C header files... " >&6; }\r
-if ${ac_cv_header_stdc+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdlib.h>\r
-#include <stdarg.h>\r
-#include <string.h>\r
-#include <float.h>\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_header_stdc=yes\r
-else\r
- ac_cv_header_stdc=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-\r
-if test $ac_cv_header_stdc = yes; then\r
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <string.h>\r
-\r
-_ACEOF\r
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
- $EGREP "memchr" >/dev/null 2>&1; then :\r
-\r
-else\r
- ac_cv_header_stdc=no\r
-fi\r
-rm -f conftest*\r
-\r
-fi\r
-\r
-if test $ac_cv_header_stdc = yes; then\r
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdlib.h>\r
-\r
-_ACEOF\r
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
- $EGREP "free" >/dev/null 2>&1; then :\r
-\r
-else\r
- ac_cv_header_stdc=no\r
-fi\r
-rm -f conftest*\r
-\r
-fi\r
-\r
-if test $ac_cv_header_stdc = yes; then\r
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.\r
- if test "$cross_compiling" = yes; then :\r
- :\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <ctype.h>\r
-#include <stdlib.h>\r
-#if ((' ' & 0x0FF) == 0x020)\r
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')\r
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))\r
-#else\r
-# define ISLOWER(c) \\r
- (('a' <= (c) && (c) <= 'i') \\r
- || ('j' <= (c) && (c) <= 'r') \\r
- || ('s' <= (c) && (c) <= 'z'))\r
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))\r
-#endif\r
-\r
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))\r
-int\r
-main ()\r
-{\r
- int i;\r
- for (i = 0; i < 256; i++)\r
- if (XOR (islower (i), ISLOWER (i))\r
- || toupper (i) != TOUPPER (i))\r
- return 2;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
-\r
-else\r
- ac_cv_header_stdc=no\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
-fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5\r
-$as_echo "$ac_cv_header_stdc" >&6; }\r
-if test $ac_cv_header_stdc = yes; then\r
-\r
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h\r
-\r
-fi\r
-\r
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.\r
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \\r
- inttypes.h stdint.h unistd.h\r
-do :\r
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default\r
-"\r
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
-_ACEOF\r
-\r
-fi\r
-\r
-done\r
-\r
-\r
-\r
- BITS_REQ=nochange\r
- ENABLE_64BIT_LIBS=unknown\r
- ## revisit this for cross-compile.\r
-\r
- # Check whether --enable-64bit-libs was given.\r
-if test "${enable_64bit_libs+set}" = set; then :\r
- enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"\r
- case "${enableval}" in\r
- no|false|32) with_library_bits=32; ;;\r
- yes|true|64) with_library_bits=64else32 ;;\r
- nochange) with_library_bits=nochange; ;;\r
- *) as_fn_error $? "bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;;\r
- esac\r
-fi\r
-\r
-\r
-\r
-\r
-# Check whether --with-library-bits was given.\r
-if test "${with_library_bits+set}" = set; then :\r
- withval=$with_library_bits; case "${withval}" in\r
- ""|nochange) BITS_REQ=$withval ;;\r
- 32|64|64else32) BITS_REQ=$withval ;;\r
- *) as_fn_error $? "bad value ${withval} for --with-library-bits" "$LINENO" 5 ;;\r
- esac\r
-fi\r
-\r
-\r
- # don't use these for cross compiling\r
- if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then\r
- 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\r
- fi\r
- # The cast to long int works around a bug in the HP C Compiler\r
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects\r
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.\r
-# This bug is HP SR number 8606223364.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5\r
-$as_echo_n "checking size of void *... " >&6; }\r
-if ${ac_cv_sizeof_void_p+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :\r
-\r
-else\r
- if test "$ac_cv_type_void_p" = yes; then\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error 77 "cannot compute sizeof (void *)\r
-See \`config.log' for more details" "$LINENO" 5; }\r
- else\r
- ac_cv_sizeof_void_p=0\r
- fi\r
-fi\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5\r
-$as_echo "$ac_cv_sizeof_void_p" >&6; }\r
-\r
-\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define SIZEOF_VOID_P $ac_cv_sizeof_void_p\r
-_ACEOF\r
-\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5\r
-$as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }\r
- case $ac_cv_sizeof_void_p in\r
- 8) DEFAULT_64BIT=yes ;;\r
- 4) DEFAULT_64BIT=no ;;\r
- *) DEFAULT_64BIT=unknown\r
- esac\r
- BITS_GOT=unknown\r
-\r
- # 'OK' here means, we can exit any further checking, everything's copa\r
- BITS_OK=yes\r
-\r
- # do we need to check for buildable/runnable 32 or 64 bit?\r
- BITS_CHECK_32=no\r
- BITS_CHECK_64=no\r
-\r
- # later, can we run the 32/64 bit binaries so made?\r
- BITS_RUN_32=no\r
- BITS_RUN_64=no\r
-\r
- if test "$DEFAULT_64BIT" = "yes"; then\r
- # we get 64 bits by default.\r
- BITS_GOT=64\r
- case "$BITS_REQ" in\r
- 32)\r
- # need to look for 32 bit support.\r
- BITS_CHECK_32=yes\r
- # not copa.\r
- BITS_OK=no;;\r
- # everyone else is happy.\r
- nochange) ;;\r
- *) ;;\r
- esac\r
- elif test "$DEFAULT_64BIT" = "no"; then\r
- # not 64 bit by default.\r
- BITS_GOT=32\r
- case "$BITS_REQ" in\r
- 64|64else32)\r
- BITS_CHECK_64=yes\r
- #BITS_CHECK_32=yes\r
- BITS_OK=no;;\r
- nochange) ;;\r
- *) ;;\r
- esac\r
- elif test "$DEFAULT_64BIT" = "unknown"; then\r
- # cross compiling.\r
- BITS_GOT=unknown\r
- case "$BITS_REQ" in\r
- 64|64else32) BITS_OK=no\r
- BITS_CHECK_32=yes\r
- BITS_CHECK_64=yes ;;\r
- 32) BITS_OK=no;;\r
- nochange) ;;\r
- *) ;;\r
- esac\r
- fi\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5\r
-$as_echo "$DEFAULT_64BIT" >&6; };\r
-\r
- if test "$BITS_OK" != "yes"; then\r
- # not copa. back these up.\r
- CFLAGS_OLD="${CFLAGS}"\r
- CXXFLAGS_OLD="${CXXFLAGS}"\r
- LDFLAGS_OLD="${LDFLAGS}"\r
- ARFLAGS_OLD="${ARFLAGS}"\r
-\r
- CFLAGS_32="${CFLAGS}"\r
- CXXFLAGS_32="${CXXFLAGS}"\r
- LDFLAGS_32="${LDFLAGS}"\r
- ARFLAGS_32="${ARFLAGS}"\r
-\r
- CFLAGS_64="${CFLAGS}"\r
- CXXFLAGS_64="${CXXFLAGS}"\r
- LDFLAGS_64="${LDFLAGS}"\r
- ARFLAGS_64="${ARFLAGS}"\r
-\r
- CAN_BUILD_64=unknown\r
- CAN_BUILD_32=unknown\r
- # These results can't be cached because is sets compiler flags.\r
- if test "$BITS_CHECK_64" = "yes"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5\r
-$as_echo_n "checking how to build 64-bit executables... " >&6; }\r
- CAN_BUILD_64=no\r
- ####\r
- # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.\r
- # Note, we don't have to actually check if the options work- we'll try them before using them.\r
- # So, only try actually testing the options, if you are trying to decide between multiple options.\r
- # On exit from the following clauses:\r
- # if CAN_BUILD_64=yes:\r
- # *FLAGS are assumed to contain the right settings for 64bit\r
- # else if CAN_BUILD_64=no: (default)\r
- # *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD\r
-\r
- if test "$GCC" = yes; then\r
- CFLAGS="${CFLAGS} -m64"\r
- CXXFLAGS="${CXXFLAGS} -m64"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- else\r
- case "${host}" in\r
- sparc*-*-solaris*)\r
- # 1. try -m64\r
- CFLAGS="${CFLAGS} -m64"\r
- CXXFLAGS="${CXXFLAGS} -m64"\r
- if test "$cross_compiling" = yes; then :\r
- CAN_BUILD_64=unknown\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
- if test "$CAN_BUILD_64" != yes; then\r
- # Nope. back out changes.\r
- CFLAGS="${CFLAGS_OLD}"\r
- CXXFLAGS="${CXXFLAGS_OLD}"\r
- # 2. try xarch=v9 [deprecated]\r
- ## TODO: cross compile: the following won't work.\r
- SPARCV9=`isainfo -n 2>&1 | grep sparcv9`\r
- SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`\r
- # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"\r
- if test -z "$SOL64" && test -n "$SPARCV9"; then\r
- CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"\r
- CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"\r
- LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9"\r
- CAN_BUILD_64=yes\r
- fi\r
- fi\r
- ;;\r
- i386-*-solaris*)\r
- # 1. try -m64\r
- CFLAGS="${CFLAGS} -m64"\r
- CXXFLAGS="${CXXFLAGS} -m64"\r
- if test "$cross_compiling" = yes; then :\r
- CAN_BUILD_64=unknown\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
- if test "$CAN_BUILD_64" != yes; then\r
- # Nope. back out changes.\r
- CFLAGS="${CFLAGS_OLD}"\r
- CXXFLAGS="${CXXFLAGS_OLD}"\r
- # 2. try the older compiler option\r
- ## TODO: cross compile problem\r
- AMD64=`isainfo -n 2>&1 | grep amd64`\r
- SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`\r
- if test -z "$SOL64" && test -n "$AMD64"; then\r
- CFLAGS="${CFLAGS} -xtarget=generic64"\r
- CXXFLAGS="${CXXFLAGS} -xtarget=generic64"\r
- CAN_BUILD_64=yes\r
- fi\r
- fi\r
- ;;\r
- ia64-*-linux*)\r
- # check for ecc/ecpc compiler support\r
- ## TODO: cross compiler problem\r
- if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then\r
- if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then\r
- CAN_BUILD_64=yes\r
- fi\r
- fi\r
- ;;\r
- *-*-cygwin)\r
- # vcvarsamd64.bat should have been used to enable 64-bit builds.\r
- # We only do this check to display the correct answer.\r
- ## TODO: cross compiler problem\r
- if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then\r
- CAN_BUILD_64=yes\r
- fi\r
- ;;\r
- *-*-aix*|powerpc64-*-linux*)\r
- CFLAGS="${CFLAGS} -q64"\r
- CXXFLAGS="${CXXFLAGS} -q64"\r
- LDFLAGS="${LDFLAGS} -q64"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test "$CAN_BUILD_64" = yes; then\r
- # worked- set other options.\r
- case "${host}" in\r
- *-*-aix*)\r
- # tell AIX what executable mode to use.\r
- ARFLAGS="${ARFLAGS} -X64"\r
- esac\r
- fi\r
- ;;\r
- *-*-hpux*)\r
- # First we try the newer +DD64, if that doesn't work,\r
- # try other options.\r
-\r
- CFLAGS="${CFLAGS} +DD64"\r
- CXXFLAGS="${CXXFLAGS} +DD64"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test "$CAN_BUILD_64" != yes; then\r
- # reset\r
- CFLAGS="${CFLAGS_OLD}"\r
- CXXFLAGS="${CXXFLAGS_OLD}"\r
- # append\r
- CFLAGS="${CFLAGS} +DA2.0W"\r
- CXXFLAGS="${CXXFLAGS} +DA2.0W"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- fi\r
- ;;\r
- *-*ibm-openedition*|*-*-os390*)\r
- CFLAGS="${CFLAGS} -Wc,lp64"\r
- CXXFLAGS="${CXXFLAGS} -Wc,lp64"\r
- LDFLAGS="${LDFLAGS} -Wl,lp64"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_64=yes\r
-else\r
- CAN_BUILD_64=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- ;;\r
- *)\r
- # unknown platform.\r
- ;;\r
- esac\r
- fi\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5\r
-$as_echo "$CAN_BUILD_64" >&6; }\r
- if test "$CAN_BUILD_64" = yes; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5\r
-$as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }\r
- if test "$cross_compiling" = yes; then :\r
- BITS_RUN_64=unknown\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==64)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- BITS_RUN_64=yes\r
-else\r
- BITS_RUN_64=no\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5\r
-$as_echo "$BITS_RUN_64" >&6; };\r
-\r
- CFLAGS_64="${CFLAGS}"\r
- CXXFLAGS_64="${CXXFLAGS}"\r
- LDFLAGS_64="${LDFLAGS}"\r
- ARFLAGS_64="${ARFLAGS}"\r
- fi\r
- # put it back.\r
- CFLAGS="${CFLAGS_OLD}"\r
- CXXFLAGS="${CXXFLAGS_OLD}"\r
- LDFLAGS="${LDFLAGS_OLD}"\r
- ARFLAGS="${ARFLAGS_OLD}"\r
- fi\r
- if test "$BITS_CHECK_32" = "yes"; then\r
- # see comment under 'if BITS_CHECK_64', above.\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5\r
-$as_echo_n "checking how to build 32-bit executables... " >&6; }\r
- if test "$GCC" = yes; then\r
- CFLAGS="${CFLAGS} -m32"\r
- CXXFLAGS="${CXXFLAGS} -m32"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==32)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CAN_BUILD_32=yes\r
-else\r
- CAN_BUILD_32=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- fi\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5\r
-$as_echo "$CAN_BUILD_32" >&6; }\r
- if test "$CAN_BUILD_32" = yes; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5\r
-$as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }\r
- if test "$cross_compiling" = yes; then :\r
- BITS_RUN_32=unknown\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-int main(void) {return (sizeof(void*)*8==32)?0:1;}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- BITS_RUN_32=yes\r
-else\r
- BITS_RUN_32=no\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5\r
-$as_echo "$BITS_RUN_32" >&6; };\r
- CFLAGS_32="${CFLAGS}"\r
- CXXFLAGS_32="${CXXFLAGS}"\r
- LDFLAGS_32="${LDFLAGS}"\r
- ARFLAGS_32="${ARFLAGS}"\r
- fi\r
- # put it back.\r
- CFLAGS="${CFLAGS_OLD}"\r
- CXXFLAGS="${CXXFLAGS_OLD}"\r
- LDFLAGS="${LDFLAGS_OLD}"\r
- ARFLAGS="${ARFLAGS_OLD}"\r
- fi\r
-\r
- ##\r
- # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.\r
- #\r
-\r
- # First, implement 64else32\r
- if test "$BITS_REQ" = "64else32"; then\r
- if test "$BITS_RUN_64" = "yes"; then\r
- BITS_REQ=64\r
- else\r
- # no changes.\r
- BITS_OK=yes\r
- fi\r
- fi\r
-\r
- # implement.\r
- if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then\r
- CFLAGS="${CFLAGS_32}"\r
- CXXFLAGS="${CXXFLAGS_32}"\r
- LDFLAGS="${LDFLAGS_32}"\r
- ARFLAGS="${ARFLAGS_32}"\r
- BITS_OK=yes\r
- elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then\r
- CFLAGS="${CFLAGS_64}"\r
- CXXFLAGS="${CXXFLAGS_64}"\r
- LDFLAGS="${LDFLAGS_64}"\r
- ARFLAGS="${ARFLAGS_64}"\r
- BITS_OK=yes\r
- elif test "$BITS_OK" != "yes"; then\r
- 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\r
- fi\r
- fi\r
-\r
-\r
-\r
-\r
-# Determine the Makefile fragment\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5\r
-$as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }\r
-if ${icu_cv_host_frag+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
-\r
-case "${host}" in\r
-*-*-solaris*)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-solaris-gcc\r
- else\r
- icu_cv_host_frag=mh-solaris\r
- fi ;;\r
-alpha*-*-linux-gnu)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-alpha-linux-gcc\r
- else\r
- icu_cv_host_frag=mh-alpha-linux-cc\r
- fi ;;\r
-powerpc*-*-linux*)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-linux\r
- else\r
- icu_cv_host_frag=mh-linux-va\r
- fi ;;\r
-*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;\r
-i[34567]86-*-cygwin)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-cygwin\r
- else\r
- icu_cv_host_frag=mh-cygwin-msvc\r
- fi ;;\r
-x86_64-*-cygwin)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-cygwin64\r
- else\r
- icu_cv_host_frag=mh-cygwin-msvc\r
- fi ;;\r
-*-*-mingw*)\r
- if test "$GCC" = yes; then\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-#ifndef __MINGW64__\r
-#error This is not MinGW64\r
-#endif\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- icu_cv_host_frag=mh-mingw64\r
-else\r
- icu_cv_host_frag=mh-mingw\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- else\r
- case "${host}" in\r
- *-*-mingw*) icu_cv_host_frag=mh-msys-msvc ;;\r
- *-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;\r
- esac\r
- fi ;;\r
-*-*-*bsd*|*-*-dragonfly*) icu_cv_host_frag=mh-bsd-gcc ;;\r
-*-*-aix*)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-aix-gcc\r
- else\r
- icu_cv_host_frag=mh-aix-va\r
- fi ;;\r
-*-*-hpux*)\r
- if test "$GCC" = yes; then\r
- icu_cv_host_frag=mh-hpux-gcc\r
- else\r
- case "$CXX" in\r
- *aCC) icu_cv_host_frag=mh-hpux-acc ;;\r
- esac\r
- fi ;;\r
-*-*ibm-openedition*|*-*-os390*) icu_cv_host_frag=mh-os390 ;;\r
-*-*-os400*) icu_cv_host_frag=mh-os400 ;;\r
-*-apple-rhapsody*) icu_cv_host_frag=mh-darwin ;;\r
-*-apple-darwin*) icu_cv_host_frag=mh-darwin ;;\r
-*-*-beos) icu_cv_host_frag=mh-beos ;;\r
-*-*-haiku) icu_cv_host_frag=mh-haiku ;;\r
-*-*-irix*) icu_cv_host_frag=mh-irix ;;\r
-*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;\r
-*-*-nto*) icu_cv_host_frag=mh-qnx ;;\r
-*-ncr-*) icu_cv_host_frag=mh-mpras ;;\r
-*) icu_cv_host_frag=mh-unknown ;;\r
-esac\r
-\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5\r
-$as_echo "$icu_cv_host_frag" >&6; }\r
-\r
-\r
-# Checks for libraries and other host specific stuff\r
-# On HP/UX, don't link to -lm from a shared lib because it isn't\r
-# PIC (at least on 10.2)\r
-case "${host}" in\r
- *-*-hpux*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5\r
-$as_echo_n "checking for floor in -lm... " >&6; }\r
-if ${ac_cv_lib_m_floor+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_check_lib_save_LIBS=$LIBS\r
-LIBS="-lm $LIBS"\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char floor ();\r
-int\r
-main ()\r
-{\r
-return floor ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_lib_m_floor=yes\r
-else\r
- ac_cv_lib_m_floor=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-LIBS=$ac_check_lib_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5\r
-$as_echo "$ac_cv_lib_m_floor" >&6; }\r
-if test "x$ac_cv_lib_m_floor" = xyes; then :\r
- LIB_M="-lm"\r
-fi\r
- ;;\r
-\r
- *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5\r
-$as_echo_n "checking for floor in -lm... " >&6; }\r
-if ${ac_cv_lib_m_floor+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_check_lib_save_LIBS=$LIBS\r
-LIBS="-lm $LIBS"\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char floor ();\r
-int\r
-main ()\r
-{\r
-return floor ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_lib_m_floor=yes\r
-else\r
- ac_cv_lib_m_floor=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-LIBS=$ac_check_lib_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5\r
-$as_echo "$ac_cv_lib_m_floor" >&6; }\r
-if test "x$ac_cv_lib_m_floor" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_LIBM 1\r
-_ACEOF\r
-\r
- LIBS="-lm $LIBS"\r
-\r
-fi\r
-\r
- LIB_M="" ;;\r
-esac\r
-\r
-\r
-# Check whether to build shared libraries\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5\r
-$as_echo_n "checking whether to build shared libraries... " >&6; }\r
-enabled=no\r
-# Check whether --enable-shared was given.\r
-if test "${enable_shared+set}" = set; then :\r
- enableval=$enable_shared; case "${enableval}" in\r
- yes|"") enabled=yes; ENABLE_SHARED=YES ;;\r
- no);;\r
- *) ;;\r
- esac\r
-else\r
- enabled=yes; ENABLE_SHARED=YES\r
-\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# Check whether to build static libraries\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5\r
-$as_echo_n "checking whether to build static libraries... " >&6; }\r
-enabled=no\r
-# Check whether --enable-static was given.\r
-if test "${enable_static+set}" = set; then :\r
- enableval=$enable_static; case "${enableval}" in\r
- yes|"") enabled=yes; ENABLE_STATIC=YES ;;\r
- no) ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# When building release static library, there might be some optimization flags we can use\r
-if test "$ENABLE_STATIC" = "YES"; then\r
- if test "$ENABLE_SHARED" != "YES"; then\r
- if test "$ENABLE_RELEASE" = 1; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use static library optimization option" >&5\r
-$as_echo_n "checking whether we can use static library optimization option... " >&6; }\r
- CHECK_STATIC_OPT_FLAG=no\r
-\r
- OLD_CPPFLAGS="${CPPFLAGS}"\r
- OLD_LDFLAGS="${LDFLAGS}"\r
-\r
- case "${host}" in\r
- *-linux*|i*86-*-*bsd*|i*86-pc-gnu)\r
- if test "$GCC" = yes; then\r
- CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections"\r
- LDFLAGS="${LDFLAGS} -Wl,--gc-sections"\r
- fi\r
- ;;\r
- *)\r
- ;;\r
- esac\r
-\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- CHECK_STATIC_OPT_FLAG=yes\r
-else\r
- CHECK_STATIC_OPT_FLAG=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_STATIC_OPT_FLAG" >&5\r
-$as_echo "$CHECK_STATIC_OPT_FLAG" >&6; }\r
- if test "$CHECK_STATIC_OPT_FLAG" = no; then\r
- CPPFLAGS="${OLD_CPPFLAGS}"\r
- LDFLAGS="${OLD_LDFLAGS}"\r
- fi\r
- fi\r
- fi\r
-fi\r
-\r
-\r
-# Check whether to enable auto cleanup of libraries\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5\r
-$as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; }\r
-enabled=no\r
-UCLN_NO_AUTO_CLEANUP=1\r
-# Check whether --enable-auto-cleanup was given.\r
-if test "${enable_auto_cleanup+set}" = set; then :\r
- enableval=$enable_auto_cleanup; case "${enableval}" in\r
- yes) enabled=yes;\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DUCLN_NO_AUTO_CLEANUP=0";\r
- UCLN_NO_AUTO_CLEANUP=0\r
- ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# MSVC floating-point option\r
-MSVC_RELEASE_FLAG=""\r
-if test $enabled = yes\r
-then\r
- if test $icu_cv_host_frag = mh-cygwin-msvc -o $icu_cv_host_frag = mh-msys-msvc\r
- then\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
- #if defined _MSC_VER && _MSC_VER >= 1400\r
- #else\r
- Microsoft Visual C++ < 2005\r
- #endif\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- MSVC_RELEASE_FLAG="/fp:precise"\r
-else\r
- MSVC_RELEASE_FLAG="/Op"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-\r
- CFLAGS="${CFLAGS} ${MSVC_RELEASE_FLAG}"\r
- CXXFLAGS="${CXXFLAGS} ${MSVC_RELEASE_FLAG}"\r
- fi\r
-fi\r
-\r
-# Check whether to enabled draft APIs\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5\r
-$as_echo_n "checking whether to enable draft APIs... " >&6; }\r
-enabled=yes\r
-U_DEFAULT_SHOW_DRAFT=1\r
-# Check whether --enable-draft was given.\r
-if test "${enable_draft+set}" = set; then :\r
- enableval=$enable_draft; case "${enableval}" in\r
- no) enabled=no; U_DEFAULT_SHOW_DRAFT=0;\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEFAULT_SHOW_DRAFT=0"\r
- ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-# Make sure that we can use draft API in ICU.\r
-if test "$U_DEFAULT_SHOW_DRAFT" = 0; then\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_SHOW_DRAFT_API -DU_SHOW_INTERNAL_API"\r
-fi\r
-\r
-\r
-if test -n "$ac_tool_prefix"; then\r
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.\r
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_RANLIB+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$RANLIB"; then\r
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-RANLIB=$ac_cv_prog_RANLIB\r
-if test -n "$RANLIB"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5\r
-$as_echo "$RANLIB" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
-fi\r
-if test -z "$ac_cv_prog_RANLIB"; then\r
- ac_ct_RANLIB=$RANLIB\r
- # Extract the first word of "ranlib", so it can be a program name with args.\r
-set dummy ranlib; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$ac_ct_RANLIB"; then\r
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_ac_ct_RANLIB="ranlib"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB\r
-if test -n "$ac_ct_RANLIB"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5\r
-$as_echo "$ac_ct_RANLIB" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
- if test "x$ac_ct_RANLIB" = x; then\r
- RANLIB=":"\r
- else\r
- case $cross_compiling:$ac_tool_warned in\r
-yes:)\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5\r
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
-ac_tool_warned=yes ;;\r
-esac\r
- RANLIB=$ac_ct_RANLIB\r
- fi\r
-else\r
- RANLIB="$ac_cv_prog_RANLIB"\r
-fi\r
-\r
-\r
-# need sed\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5\r
-$as_echo_n "checking for a sed that does not truncate output... " >&6; }\r
-if ${ac_cv_path_SED+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/\r
- for ac_i in 1 2 3 4 5 6 7; do\r
- ac_script="$ac_script$as_nl$ac_script"\r
- done\r
- echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed\r
- { ac_script=; unset ac_script;}\r
- if test -z "$SED"; then\r
- ac_path_SED_found=false\r
- # Loop through the user's path and test for each of PROGNAME-LIST\r
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_prog in sed gsed; do\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"\r
- as_fn_executable_p "$ac_path_SED" || continue\r
-# Check for GNU ac_path_SED and select it if it is found.\r
- # Check for GNU $ac_path_SED\r
-case `"$ac_path_SED" --version 2>&1` in\r
-*GNU*)\r
- ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;\r
-*)\r
- ac_count=0\r
- $as_echo_n 0123456789 >"conftest.in"\r
- while :\r
- do\r
- cat "conftest.in" "conftest.in" >"conftest.tmp"\r
- mv "conftest.tmp" "conftest.in"\r
- cp "conftest.in" "conftest.nl"\r
- $as_echo '' >> "conftest.nl"\r
- "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
- as_fn_arith $ac_count + 1 && ac_count=$as_val\r
- if test $ac_count -gt ${ac_path_SED_max-0}; then\r
- # Best one so far, save it but keep looking for a better one\r
- ac_cv_path_SED="$ac_path_SED"\r
- ac_path_SED_max=$ac_count\r
- fi\r
- # 10*(2^10) chars as input seems more than enough\r
- test $ac_count -gt 10 && break\r
- done\r
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
-esac\r
-\r
- $ac_path_SED_found && break 3\r
- done\r
- done\r
- done\r
-IFS=$as_save_IFS\r
- if test -z "$ac_cv_path_SED"; then\r
- as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5\r
- fi\r
-else\r
- ac_cv_path_SED=$SED\r
-fi\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5\r
-$as_echo "$ac_cv_path_SED" >&6; }\r
- SED="$ac_cv_path_SED"\r
- rm -f conftest.sed\r
-\r
-\r
-# look for 'ar' the proper way\r
-if test -n "$ac_tool_prefix"; then\r
- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.\r
-set dummy ${ac_tool_prefix}ar; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_AR+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$AR"; then\r
- ac_cv_prog_AR="$AR" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_AR="${ac_tool_prefix}ar"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-AR=$ac_cv_prog_AR\r
-if test -n "$AR"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5\r
-$as_echo "$AR" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
-\r
-fi\r
-if test -z "$ac_cv_prog_AR"; then\r
- ac_ct_AR=$AR\r
- # Extract the first word of "ar", so it can be a program name with args.\r
-set dummy ar; ac_word=$2\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5\r
-$as_echo_n "checking for $ac_word... " >&6; }\r
-if ${ac_cv_prog_ac_ct_AR+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if test -n "$ac_ct_AR"; then\r
- ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.\r
-else\r
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- for ac_exec_ext in '' $ac_executable_extensions; do\r
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then\r
- ac_cv_prog_ac_ct_AR="ar"\r
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5\r
- break 2\r
- fi\r
-done\r
- done\r
-IFS=$as_save_IFS\r
-\r
-fi\r
-fi\r
-ac_ct_AR=$ac_cv_prog_ac_ct_AR\r
-if test -n "$ac_ct_AR"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5\r
-$as_echo "$ac_ct_AR" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
-fi\r
-\r
- if test "x$ac_ct_AR" = x; then\r
- AR="false"\r
- else\r
- case $cross_compiling:$ac_tool_warned in\r
-yes:)\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5\r
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}\r
-ac_tool_warned=yes ;;\r
-esac\r
- AR=$ac_ct_AR\r
- fi\r
-else\r
- AR="$ac_cv_prog_AR"\r
-fi\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5\r
-$as_echo_n "checking whether to enable renaming of symbols... " >&6; }\r
-enabled=yes\r
-U_DISABLE_RENAMING=0\r
-# Check whether --enable-renaming was given.\r
-if test "${enable_renaming+set}" = set; then :\r
- enableval=$enable_renaming; case "${enableval}" in\r
- yes|"") enabled=yes ;;\r
- no) enabled=no; U_DISABLE_RENAMING=1;\r
- UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_DISABLE_RENAMING=1"\r
- ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5\r
-$as_echo_n "checking whether to enable function and data tracing... " >&6; }\r
-enabled=no\r
-U_ENABLE_TRACING=0\r
-# Check whether --enable-tracing was given.\r
-if test "${enable_tracing+set}" = set; then :\r
- enableval=$enable_tracing; case "${enableval}" in\r
- yes|"") enabled=yes;\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_TRACING=1";\r
- U_ENABLE_TRACING=1 ;;\r
- no) enabled=no; U_ENABLE_TRACING=0 ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5\r
-$as_echo "$enabled" >&6; }\r
-\r
-\r
-# check if elf.h is present.\r
-for ac_header in elf.h\r
-do :\r
- ac_fn_c_check_header_mongrel "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_elf_h" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_ELF_H 1\r
-_ACEOF\r
-\r
-fi\r
-\r
-done\r
-\r
-if test "x$ac_cv_header_elf_h" = "xyes"; then\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1";\r
-fi\r
-\r
-# Enable/disable plugins\r
-# Check whether --enable-plugins was given.\r
-if test "${enable_plugins+set}" = set; then :\r
- enableval=$enable_plugins; case "${enableval}" in\r
- yes) plugins=true ;;\r
- no) plugins=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-plugins" "$LINENO" 5 ;;\r
- esac\r
-else\r
- plugins=false\r
-fi\r
-\r
-\r
-\r
-if test "$plugins" = true; then\r
- PLUGINS_TRUE=\r
- U_HAVE_PLUGINS=1\r
-else\r
- PLUGINS_TRUE='#'\r
- U_HAVE_PLUGINS=0\r
-fi\r
-\r
-if test "x$plugins" = "xtrue"; then\r
- UCONFIG_CPPFLAGS="$UCONFIG_CPPFLAGS -DUCONFIG_ENABLE_PLUGINS=1"\r
-fi\r
-\r
-\r
-U_ENABLE_DYLOAD=1\r
-enable=yes\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5\r
-$as_echo_n "checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... " >&6; }\r
-# Check whether --enable-dyload was given.\r
-if test "${enable_dyload+set}" = set; then :\r
- enableval=$enable_dyload; case "${enableval}" in\r
- yes|"")\r
- U_ENABLE_DYLOAD=1\r
- enable=yes\r
- ;;\r
- no)\r
- U_ENABLE_DYLOAD=0;\r
- enable=no;\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_DYLOAD=0";\r
- ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable" >&5\r
-$as_echo "$enable" >&6; }\r
-\r
-\r
-if test "$enable" = "yes"; then\r
- for ac_header in dlfcn.h\r
-do :\r
- ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_dlfcn_h" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_DLFCN_H 1\r
-_ACEOF\r
-\r
-fi\r
-\r
-done\r
-\r
- #AC_MSG_RESULT($enabled)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5\r
-$as_echo_n "checking for library containing dlopen... " >&6; }\r
-if ${ac_cv_search_dlopen+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_func_search_save_LIBS=$LIBS\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char dlopen ();\r
-int\r
-main ()\r
-{\r
-return dlopen ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-for ac_lib in '' dl; do\r
- if test -z "$ac_lib"; then\r
- ac_res="none required"\r
- else\r
- ac_res=-l$ac_lib\r
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"\r
- fi\r
- if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_search_dlopen=$ac_res\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext\r
- if ${ac_cv_search_dlopen+:} false; then :\r
- break\r
-fi\r
-done\r
-if ${ac_cv_search_dlopen+:} false; then :\r
-\r
-else\r
- ac_cv_search_dlopen=no\r
-fi\r
-rm conftest.$ac_ext\r
-LIBS=$ac_func_search_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5\r
-$as_echo "$ac_cv_search_dlopen" >&6; }\r
-ac_res=$ac_cv_search_dlopen\r
-if test "$ac_res" != no; then :\r
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"\r
-\r
-fi\r
-\r
- for ac_func in dlopen\r
-do :\r
- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"\r
-if test "x$ac_cv_func_dlopen" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_DLOPEN 1\r
-_ACEOF\r
-\r
-fi\r
-done\r
-\r
-\r
- if test "x$ac_cv_func_dlopen" != xyes; then\r
- CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DHAVE_DLOPEN=0"\r
- fi\r
-fi\r
-\r
-# Check for miscellaneous functions.\r
-# So, use for putil / tools only.\r
-# Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY\r
-for ac_func in gettimeofday\r
-do :\r
- ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"\r
-if test "x$ac_cv_func_gettimeofday" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_GETTIMEOFDAY 1\r
-_ACEOF\r
-\r
-fi\r
-done\r
-\r
-\r
-\r
-# Check whether to use the evil rpath or not\r
-# Check whether --enable-rpath was given.\r
-if test "${enable_rpath+set}" = set; then :\r
- enableval=$enable_rpath; case "${enableval}" in\r
- yes|"") ENABLE_RPATH=YES ;;\r
- no) ;;\r
- *) ;;\r
- esac\r
-else\r
- ENABLE_RPATH=NO\r
-\r
-fi\r
-\r
-\r
-\r
-\r
-\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5\r
-$as_echo_n "checking if we have a C++ compiler... " >&6; }\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- cxx_okay=yes\r
-else\r
- cxx_okay=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-if test $cxx_okay = yes\r
-then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: Good" >&5\r
-$as_echo "Good" >&6; }\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5\r
-$as_echo "no" >&6; }\r
- as_fn_error $? "C++ compiler $CXX does not work or no compiler found" "$LINENO" 5\r
-fi\r
-\r
-if [ "$GXX" = yes ]; then\r
- # if CXXFLAGS does not have a "-std=" setting, set it now to -std=c++11,\r
- # and check that the compiler still works.\r
- if ! echo "$CXXFLAGS" | grep '\-std=' >/dev/null 2>&1; then\r
- OLD_CXXFLAGS="${CXXFLAGS}"\r
- CXXFLAGS="$CXXFLAGS -std=c++11"\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++11 compiler" >&5\r
-$as_echo_n "checking if we have a C++11 compiler... " >&6; }\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- cxx11_okay=yes\r
-else\r
- cxx11_okay=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx11_okay" >&5\r
-$as_echo "$cxx11_okay" >&6; }\r
- if [ $cxx11_okay = yes ]; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: Adding CXXFLAGS option -std=c++11" >&5\r
-$as_echo "$as_me: Adding CXXFLAGS option -std=c++11" >&6;}\r
- UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -std=c++11"\r
- else\r
- CXXFLAGS="$OLD_CXXFLAGS"\r
- fi\r
- case "${host}" in\r
- *-*-solaris*)\r
- CXXFLAGS="$OLD_CXXFLAGS"\r
- ;;\r
- esac\r
- fi\r
-fi\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-# Always build ICU with multi-threading support.\r
-OLD_LIBS=${LIBS}\r
-\r
-# For Compaq Tru64 (OSF1), we must look for pthread_attr_init\r
-# and must do this before searching for pthread_mutex_destroy, or\r
-# we will pick up libpthreads.so not libpthread.so\r
-# If this fails, then we must test for HPUX specials, before\r
-# moving on to a more generic test\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5\r
-$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }\r
-if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_check_lib_save_LIBS=$LIBS\r
-LIBS="-lpthread $LIBS"\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char pthread_attr_init ();\r
-int\r
-main ()\r
-{\r
-return pthread_attr_init ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_lib_pthread_pthread_attr_init=yes\r
-else\r
- ac_cv_lib_pthread_pthread_attr_init=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-LIBS=$ac_check_lib_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5\r
-$as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }\r
-if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_LIBPTHREAD 1\r
-_ACEOF\r
-\r
- LIBS="-lpthread $LIBS"\r
-\r
-fi\r
-\r
-if test $ac_cv_lib_pthread_pthread_attr_init = yes; then\r
- :\r
-else\r
- # Locate the right library for POSIX threads. We look for the\r
- # symbols in the libraries first, because on Solaris libc provides\r
- # pthread_create but libpthread has the real code :(\r
- # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread\r
- # FreeBSD users may need libpthread if they do not have libc_r.\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5\r
-$as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }\r
-if ${ac_cv_search_pthread_mutex_destroy+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_func_search_save_LIBS="$LIBS"\r
-ac_cv_search_pthread_mutex_destroy="no"\r
-for i in pthread pthreads c_r ; do\r
-LIBS="-l$i $ac_func_search_save_LIBS"\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char pthread_mutex_destroy ();\r
-int\r
-main ()\r
-{\r
-return pthread_mutex_destroy ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_search_pthread_mutex_destroy="-l$i"\r
-break\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-done\r
-if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char pthread_mutex_destroy ();\r
-int\r
-main ()\r
-{\r
-return pthread_mutex_destroy ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_search_pthread_mutex_destroy="none required"\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-LIBS="$ac_func_search_save_LIBS"\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5\r
-$as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }\r
-if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then\r
- test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"\r
-\r
-else :\r
-\r
-fi\r
-\r
- if test "$ac_cv_search_pthread_mutex_destroy" != no; then\r
- :\r
- else\r
- # For HP 11\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5\r
-$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }\r
-if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_check_lib_save_LIBS=$LIBS\r
-LIBS="-lpthread $LIBS"\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char pthread_mutex_init ();\r
-int\r
-main ()\r
-{\r
-return pthread_mutex_init ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_lib_pthread_pthread_mutex_init=yes\r
-else\r
- ac_cv_lib_pthread_pthread_mutex_init=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-LIBS=$ac_check_lib_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5\r
-$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }\r
-if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_LIBPTHREAD 1\r
-_ACEOF\r
-\r
- LIBS="-lpthread $LIBS"\r
-\r
-fi\r
-\r
- if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then\r
- :\r
- fi\r
- fi\r
-\r
- ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"\r
-if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :\r
-\r
-fi\r
-\r
-\r
- if test $ac_cv_func_pthread_mutex_lock = yes; then\r
- :\r
- fi\r
-fi\r
-# Check to see if we are using CygWin with MSVC\r
-case "${host}" in\r
-*-pc-cygwin*|*-pc-mingw*)\r
- # For gcc, the thread options are set by mh-mingw/mh-cygwin\r
- # For msvc, the thread options are set by runConfigureICU\r
- :\r
- ;;\r
-*-*-hpux*)\r
- # Add -mt because it does several nice things on newer compilers.\r
- case "${icu_cv_host_frag}" in\r
- mh-hpux-acc)\r
- OLD_CXXFLAGS="${CXXFLAGS}"\r
- CXXFLAGS="${CXXFLAGS} -mt"\r
- if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then\r
- CXXFLAGS="${OLD_CXXFLAGS}"\r
- else\r
- UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt"\r
- fi\r
- ;;\r
- esac\r
- ;;\r
-*-*-solaris*)\r
- case "${icu_cv_host_frag}" in\r
- mh-solaris)\r
- LIBS="${LIBS} -mt"\r
- ;;\r
- esac\r
- ;;\r
-esac\r
-\r
-# Check whether --enable-weak-threads was given.\r
-if test "${enable_weak_threads+set}" = set; then :\r
- enableval=$enable_weak_threads; case "${enableval}" in\r
- yes)\r
- LIB_THREAD="${LIBS%${OLD_LIBS}}"\r
- LIBS=${OLD_LIBS}\r
- ;;\r
- no) ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;;\r
- esac\r
-fi\r
-\r
-\r
-\r
-# Check for mmap()\r
-\r
-# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.\r
-# Do this check instead.\r
-HAVE_MMAP=0\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5\r
-$as_echo_n "checking for mmap... " >&6; }\r
-if ${ac_cv_func_mmap_ok+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <unistd.h>\r
-#include <sys/mman.h>\r
-#include <sys/stat.h>\r
-#include <fcntl.h>\r
-int\r
-main ()\r
-{\r
-mmap((void *)0, 0, PROT_READ, 0, 0, 0);\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_func_mmap_ok=yes\r
-else\r
- ac_cv_func_mmap_ok=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5\r
-$as_echo "$ac_cv_func_mmap_ok" >&6; }\r
-if test $ac_cv_func_mmap_ok = yes\r
-then\r
- HAVE_MMAP=1\r
-else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_MMAP=0"\r
-fi\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5\r
-$as_echo_n "checking for genccode assembly... " >&6; }\r
-\r
-# Check to see if genccode can generate simple assembly.\r
-GENCCODE_ASSEMBLY=\r
-case "${host}" in\r
-*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)\r
- if test "$GCC" = yes; then\r
- # We're using gcc, and the simple -a gcc command line works for genccode\r
- GENCCODE_ASSEMBLY="-a gcc"\r
- fi ;;\r
-i*86-*-solaris*)\r
- if test "$GCC" = yes; then\r
- # When using gcc, look if we're also using GNU as.\r
- # When using GNU as, the simple -a gcc command line works for genccode.\r
- asv=`"${CC}" -print-prog-name=as 2>/dev/null`\r
- asv=`"${asv}" --version 2>/dev/null`\r
- case "X${asv}" in\r
- X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;\r
- X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;\r
- esac\r
- unset asv\r
- else\r
- GENCCODE_ASSEMBLY="-a sun-x86"\r
- fi ;;\r
-sparc-*-solaris*)\r
- GENCCODE_ASSEMBLY="-a sun"\r
- ;;\r
-ia64-*-hpux*)\r
-# There has been some issues with building ICU data on HPUX ia64 aCC\r
-# when using the assemble code setting below. For now, build without\r
-# assemble code for this platform. This will increase the build time.\r
-# GENCCODE_ASSEMBLY="-a aCC-ia64"\r
- ;;\r
-esac\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5\r
-$as_echo "$GENCCODE_ASSEMBLY" >&6; }\r
-\r
-# Checks for header files\r
-for ac_header in inttypes.h\r
-do :\r
- ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_inttypes_h" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_INTTYPES_H 1\r
-_ACEOF\r
-\r
-fi\r
-\r
-done\r
-\r
-if test $ac_cv_header_inttypes_h = no; then\r
- U_HAVE_INTTYPES_H=0\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"\r
-else\r
- U_HAVE_INTTYPES_H=1\r
-fi\r
-if test "$CC" = ccc; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5\r
-$as_echo "\"C compiler set to CCC ${CC}\" " >&6; }\r
- case "${host}" in\r
- alpha*-*-*) U_HAVE_INTTYPES_H=0;\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"\r
- esac\r
-fi\r
-\r
-\r
-\r
-for ac_header in dirent.h\r
-do :\r
- ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_dirent_h" = xyes; then :\r
- cat >>confdefs.h <<_ACEOF\r
-#define HAVE_DIRENT_H 1\r
-_ACEOF\r
-\r
-fi\r
-\r
-done\r
-\r
-if test $ac_cv_header_dirent_h = no; then\r
- U_HAVE_DIRENT_H=0\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_DIRENT_H=0"\r
-else\r
- U_HAVE_DIRENT_H=1\r
-fi\r
-\r
-\r
-\r
-# Check for endianness\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5\r
-$as_echo_n "checking whether byte ordering is bigendian... " >&6; }\r
-if ${ac_cv_c_bigendian+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_cv_c_bigendian=unknown\r
- # See if we're dealing with a universal compiler.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#ifndef __APPLE_CC__\r
- not a universal capable compiler\r
- #endif\r
- typedef int dummy;\r
-\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
-\r
- # Check for potential -arch flags. It is not universal unless\r
- # there are at least two -arch flags with different values.\r
- ac_arch=\r
- ac_prev=\r
- for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do\r
- if test -n "$ac_prev"; then\r
- case $ac_word in\r
- i?86 | x86_64 | ppc | ppc64)\r
- if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then\r
- ac_arch=$ac_word\r
- else\r
- ac_cv_c_bigendian=universal\r
- break\r
- fi\r
- ;;\r
- esac\r
- ac_prev=\r
- elif test "x$ac_word" = "x-arch"; then\r
- ac_prev=arch\r
- fi\r
- done\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test $ac_cv_c_bigendian = unknown; then\r
- # See if sys/param.h defines the BYTE_ORDER macro.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <sys/types.h>\r
- #include <sys/param.h>\r
-\r
-int\r
-main ()\r
-{\r
-#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\r
- && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\r
- && LITTLE_ENDIAN)\r
- bogus endian macros\r
- #endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- # It does; now see whether it defined to BIG_ENDIAN or not.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <sys/types.h>\r
- #include <sys/param.h>\r
-\r
-int\r
-main ()\r
-{\r
-#if BYTE_ORDER != BIG_ENDIAN\r
- not big endian\r
- #endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_c_bigendian=yes\r
-else\r
- ac_cv_c_bigendian=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- fi\r
- if test $ac_cv_c_bigendian = unknown; then\r
- # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <limits.h>\r
-\r
-int\r
-main ()\r
-{\r
-#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)\r
- bogus endian macros\r
- #endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- # It does; now see whether it defined to _BIG_ENDIAN or not.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <limits.h>\r
-\r
-int\r
-main ()\r
-{\r
-#ifndef _BIG_ENDIAN\r
- not big endian\r
- #endif\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- ac_cv_c_bigendian=yes\r
-else\r
- ac_cv_c_bigendian=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- fi\r
- if test $ac_cv_c_bigendian = unknown; then\r
- # Compile a test program.\r
- if test "$cross_compiling" = yes; then :\r
- # Try to guess by grepping values from an object file.\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-short int ascii_mm[] =\r
- { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };\r
- short int ascii_ii[] =\r
- { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };\r
- int use_ascii (int i) {\r
- return ascii_mm[i] + ascii_ii[i];\r
- }\r
- short int ebcdic_ii[] =\r
- { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };\r
- short int ebcdic_mm[] =\r
- { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };\r
- int use_ebcdic (int i) {\r
- return ebcdic_mm[i] + ebcdic_ii[i];\r
- }\r
- extern int foo;\r
-\r
-int\r
-main ()\r
-{\r
-return use_ascii (foo) == use_ebcdic (foo);\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then\r
- ac_cv_c_bigendian=yes\r
- fi\r
- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then\r
- if test "$ac_cv_c_bigendian" = unknown; then\r
- ac_cv_c_bigendian=no\r
- else\r
- # finding both strings is unlikely to happen, but who knows?\r
- ac_cv_c_bigendian=unknown\r
- fi\r
- fi\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-$ac_includes_default\r
-int\r
-main ()\r
-{\r
-\r
- /* Are we little or big endian? From Harbison&Steele. */\r
- union\r
- {\r
- long int l;\r
- char c[sizeof (long int)];\r
- } u;\r
- u.l = 1;\r
- return u.c[sizeof (long int) - 1] == 1;\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_run "$LINENO"; then :\r
- ac_cv_c_bigendian=no\r
-else\r
- ac_cv_c_bigendian=yes\r
-fi\r
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \\r
- conftest.$ac_objext conftest.beam conftest.$ac_ext\r
-fi\r
-\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5\r
-$as_echo "$ac_cv_c_bigendian" >&6; }\r
- case $ac_cv_c_bigendian in #(\r
- yes)\r
- $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h\r
-;; #(\r
- no)\r
- ;; #(\r
- universal)\r
-\r
-$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h\r
-\r
- ;; #(\r
- *)\r
- as_fn_error $? "unknown endianness\r
- presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;\r
- esac\r
-\r
-if test $ac_cv_c_bigendian = no; then\r
-U_IS_BIG_ENDIAN=0\r
-U_ENDIAN_CHAR="l"\r
-else\r
-U_IS_BIG_ENDIAN=1\r
-U_ENDIAN_CHAR="b"\r
-fi\r
-\r
-\r
-# Do various POSIX related checks\r
-U_HAVE_NL_LANGINFO_CODESET=0\r
-U_NL_LANGINFO_CODESET=-1\r
-ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"\r
-if test "x$ac_cv_func_nl_langinfo" = xyes; then :\r
- U_HAVE_NL_LANGINFO=1\r
-else\r
- U_HAVE_NL_LANGINFO=0\r
-fi\r
-\r
-if test $U_HAVE_NL_LANGINFO -eq 1; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5\r
-$as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }\r
-if ${ac_cv_nl_langinfo_codeset+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_cv_nl_langinfo_codeset="unknown"\r
- for a in CODESET _NL_CTYPE_CODESET_NAME; do\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <langinfo.h>\r
-int\r
-main ()\r
-{\r
-nl_langinfo($a);\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_nl_langinfo_codeset="$a"; break\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
- done\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5\r
-$as_echo "$ac_cv_nl_langinfo_codeset" >&6; }\r
- if test x$ac_cv_nl_langinfo_codeset != xunknown\r
- then\r
- U_HAVE_NL_LANGINFO_CODESET=1\r
- U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset\r
- if test "x${ac_cv_nl_langinfo_codeset}" != "xCODESET"\r
- then\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DNL_LANGINFO_CODESET=${ac_cv_nl_langinfo_codeset}"\r
- fi\r
- else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_NL_LANGINFO_CODESET=0"\r
- fi\r
-fi\r
-\r
-\r
-\r
-# Namespace support checks\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5\r
-$as_echo_n "checking for namespace support... " >&6; }\r
-if ${ac_cv_namespace_ok+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-namespace x_version {void f(){}}\r
- namespace x = x_version;\r
- using namespace x_version;\r
-\r
-int\r
-main ()\r
-{\r
-f();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_link "$LINENO"; then :\r
- ac_cv_namespace_ok=yes\r
-else\r
- ac_cv_namespace_ok=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5\r
-$as_echo "$ac_cv_namespace_ok" >&6; }\r
-if test $ac_cv_namespace_ok = no\r
-then\r
- as_fn_error $? "Namespace support is required to build ICU." "$LINENO" 5\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5\r
-$as_echo_n "checking for properly overriding new and delete... " >&6; }\r
-U_OVERRIDE_CXX_ALLOCATION=0\r
-U_HAVE_PLACEMENT_NEW=0\r
-if ${ac_cv_override_cxx_allocation_ok+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdlib.h>\r
- class UMemory {\r
- public:\r
- void *operator new(size_t size) {return malloc(size);}\r
- void *operator new[](size_t size) {return malloc(size);}\r
- void operator delete(void *p) {free(p);}\r
- void operator delete[](void *p) {free(p);}\r
- };\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_link "$LINENO"; then :\r
- ac_cv_override_cxx_allocation_ok=yes\r
-else\r
- ac_cv_override_cxx_allocation_ok=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5\r
-$as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }\r
-if test $ac_cv_override_cxx_allocation_ok = yes\r
-then\r
- U_OVERRIDE_CXX_ALLOCATION=1\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5\r
-$as_echo_n "checking for placement new and delete... " >&6; }\r
- if ${ac_cv_override_placement_new_ok+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdlib.h>\r
- class UMemory {\r
- public:\r
- void *operator new(size_t size) {return malloc(size);}\r
- void *operator new[](size_t size) {return malloc(size);}\r
- void operator delete(void *p) {free(p);}\r
- void operator delete[](void *p) {free(p);}\r
- void * operator new(size_t, void *ptr) { return ptr; }\r
- void operator delete(void *, void *) {}\r
- };\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_link "$LINENO"; then :\r
- ac_cv_override_placement_new_ok=yes\r
-else\r
- ac_cv_override_placement_new_ok=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5\r
-$as_echo "$ac_cv_override_placement_new_ok" >&6; }\r
- if test $ac_cv_override_placement_new_ok = yes\r
- then\r
- U_HAVE_PLACEMENT_NEW=1\r
- else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_PLACEMENT_NEW=0"\r
- fi\r
-else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_OVERRIDE_CXX_ALLOCATION=0"\r
-fi\r
-\r
-\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen"\r
-if test "x$ac_cv_func_popen" = xyes; then :\r
-\r
-fi\r
-\r
-if test x$ac_cv_func_popen = xyes\r
-then\r
- U_HAVE_POPEN=1\r
-else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_POPEN=0"\r
- U_HAVE_POPEN=0\r
-fi\r
-\r
-\r
-ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"\r
-if test "x$ac_cv_func_tzset" = xyes; then :\r
-\r
-fi\r
-\r
-U_HAVE_TZSET=0\r
-if test x$ac_cv_func_tzset = xyes\r
-then\r
- U_TZSET=tzset\r
- U_HAVE_TZSET=1\r
-else\r
- ac_fn_c_check_func "$LINENO" "_tzset" "ac_cv_func__tzset"\r
-if test "x$ac_cv_func__tzset" = xyes; then :\r
-\r
-fi\r
-\r
- if test x$ac_cv_func__tzset = xyes\r
- then\r
- U_TZSET=_tzset\r
- U_HAVE_TZSET=1\r
- else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZSET=0"\r
- fi\r
-fi\r
-\r
-\r
-\r
-U_HAVE_TZNAME=0\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5\r
-$as_echo_n "checking for tzname... " >&6; }\r
-if ${ac_cv_var_tzname+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#ifndef _XOPEN_SOURCE\r
-#define _XOPEN_SOURCE\r
-#endif\r
-#include <stdlib.h>\r
-#include <time.h>\r
-#ifndef tzname /* For SGI. */\r
-extern char *tzname[]; /* RS6000 and others reject char **tzname. */\r
-#endif\r
-int\r
-main ()\r
-{\r
-atoi(*tzname);\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_var_tzname=yes\r
-else\r
- ac_cv_var_tzname=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5\r
-$as_echo "$ac_cv_var_tzname" >&6; }\r
-if test $ac_cv_var_tzname = yes; then\r
- U_TZNAME=tzname\r
- U_HAVE_TZNAME=1\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5\r
-$as_echo_n "checking for _tzname... " >&6; }\r
-if ${ac_cv_var__tzname+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <stdlib.h>\r
- #include <time.h>\r
- extern char *_tzname[];\r
-int\r
-main ()\r
-{\r
-atoi(*_tzname);\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_var__tzname=yes\r
-else\r
- ac_cv_var__tzname=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5\r
-$as_echo "$ac_cv_var__tzname" >&6; }\r
- if test $ac_cv_var__tzname = yes; then\r
- U_TZNAME=_tzname\r
- U_HAVE_TZNAME=1\r
- else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZNAME=0"\r
- fi\r
-fi\r
-\r
-\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5\r
-$as_echo_n "checking for timezone... " >&6; }\r
-if ${ac_cv_var_timezone+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#ifndef _XOPEN_SOURCE\r
-#define _XOPEN_SOURCE\r
-#endif\r
-#include <time.h>\r
-\r
-int\r
-main ()\r
-{\r
-timezone = 1;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_var_timezone=yes\r
-else\r
- ac_cv_var_timezone=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5\r
-$as_echo "$ac_cv_var_timezone" >&6; }\r
-U_HAVE_TIMEZONE=0\r
-if test $ac_cv_var_timezone = yes; then\r
- U_TIMEZONE=timezone\r
- U_HAVE_TIMEZONE=1\r
-else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5\r
-$as_echo_n "checking for __timezone... " >&6; }\r
-if ${ac_cv_var___timezone+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <time.h>\r
-int\r
-main ()\r
-{\r
-__timezone = 1;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_var___timezone=yes\r
-else\r
- ac_cv_var___timezone=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5\r
-$as_echo "$ac_cv_var___timezone" >&6; }\r
- if test $ac_cv_var___timezone = yes; then\r
- U_TIMEZONE=__timezone\r
- U_HAVE_TIMEZONE=1\r
- else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5\r
-$as_echo_n "checking for _timezone... " >&6; }\r
-if ${ac_cv_var__timezone+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-#include <time.h>\r
-int\r
-main ()\r
-{\r
-_timezone = 1;\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_var__timezone=yes\r
-else\r
- ac_cv_var__timezone=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext conftest.$ac_ext\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5\r
-$as_echo "$ac_cv_var__timezone" >&6; }\r
- if test $ac_cv_var__timezone = yes; then\r
- U_TIMEZONE=_timezone\r
- U_HAVE_TIMEZONE=1\r
- else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0"\r
- fi\r
- fi\r
-fi\r
-\r
-\r
-\r
-ac_fn_c_check_func "$LINENO" "strtod_l" "ac_cv_func_strtod_l"\r
-if test "x$ac_cv_func_strtod_l" = xyes; then :\r
-\r
-fi\r
-\r
-if test x$ac_cv_func_strtod_l = xyes\r
-then\r
- U_HAVE_STRTOD_L=1\r
- ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_xlocale_h" = xyes; then :\r
-\r
-fi\r
-\r
-\r
- if test "$ac_cv_header_xlocale_h" = yes; then\r
- U_HAVE_XLOCALE_H=1\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1"\r
- else\r
- U_HAVE_XLOCALE_H=0\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0"\r
- fi\r
-else\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"\r
- U_HAVE_STRTOD_L=0\r
-fi\r
-\r
-\r
-# Check if C++17 std::string_view is available.\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
-ac_fn_cxx_check_type "$LINENO" "std::string_view" "ac_cv_type_std__string_view" "#include <string_view>\r
-"\r
-if test "x$ac_cv_type_std__string_view" = xyes; then :\r
-\r
-fi\r
-\r
-if test "x$ac_cv_type_std__string_view" = xyes; then :\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRING_VIEW=1"\r
-fi\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-# Checks for typedefs\r
-ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_int8_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define int8_t signed char\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_uint8_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define uint8_t unsigned char\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_int16_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define int16_t signed short\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_uint16_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define uint16_t unsigned short\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_int32_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define int32_t signed long\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_uint32_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define uint32_t unsigned long\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_int64_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define int64_t signed long long\r
-_ACEOF\r
-\r
-fi\r
-\r
-ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"\r
-if test "x$ac_cv_type_uint64_t" = xyes; then :\r
-\r
-else\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define uint64_t unsigned long long\r
-_ACEOF\r
-\r
-fi\r
-\r
-\r
-if test $ac_cv_type_int8_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT8_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_uint8_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT8_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_int16_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT16_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_uint16_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT16_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_int32_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT32_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_uint32_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT32_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_int64_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT64_T=0"\r
-fi\r
-\r
-if test $ac_cv_type_uint64_t = no; then\r
-CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT64_T=0"\r
-fi\r
-\r
-# Do various wchar_t related checks\r
-ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"\r
-if test "x$ac_cv_header_wchar_h" = xyes; then :\r
-\r
-fi\r
-\r
-\r
-if test "$ac_cv_header_wchar_h" = no\r
-then\r
- U_HAVE_WCHAR_H=0\r
- U_HAVE_WCSCPY=0\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCHAR_H=0 -DU_HAVE_WCSCPY=0"\r
-else\r
-\r
-$as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h\r
-\r
- U_HAVE_WCHAR_H=1\r
- # Some broken systems have wchar.h but not some of its functions...\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5\r
-$as_echo_n "checking for library containing wcscpy... " >&6; }\r
-if ${ac_cv_search_wcscpy+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- ac_func_search_save_LIBS=$LIBS\r
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-/* Override any GCC internal prototype to avoid an error.\r
- Use char because int might match the return type of a GCC\r
- builtin and then its argument prototype would still apply. */\r
-#ifdef __cplusplus\r
-extern "C"\r
-#endif\r
-char wcscpy ();\r
-int\r
-main ()\r
-{\r
-return wcscpy ();\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-for ac_lib in '' wcs w; do\r
- if test -z "$ac_lib"; then\r
- ac_res="none required"\r
- else\r
- ac_res=-l$ac_lib\r
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"\r
- fi\r
- if ac_fn_c_try_link "$LINENO"; then :\r
- ac_cv_search_wcscpy=$ac_res\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext \\r
- conftest$ac_exeext\r
- if ${ac_cv_search_wcscpy+:} false; then :\r
- break\r
-fi\r
-done\r
-if ${ac_cv_search_wcscpy+:} false; then :\r
-\r
-else\r
- ac_cv_search_wcscpy=no\r
-fi\r
-rm conftest.$ac_ext\r
-LIBS=$ac_func_search_save_LIBS\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5\r
-$as_echo "$ac_cv_search_wcscpy" >&6; }\r
-ac_res=$ac_cv_search_wcscpy\r
-if test "$ac_res" != no; then :\r
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"\r
-\r
-fi\r
-\r
- if test "$ac_cv_search_wcscpy" != no; then\r
- U_HAVE_WCSCPY=1\r
- else\r
- U_HAVE_WCSCPY=0\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCSCPY=0"\r
- fi\r
-fi\r
-\r
-\r
-\r
-# The cast to long int works around a bug in the HP C Compiler\r
-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects\r
-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.\r
-# This bug is HP SR number 8606223364.\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5\r
-$as_echo_n "checking size of wchar_t... " >&6; }\r
-if ${ac_cv_sizeof_wchar_t+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "\r
-#if STDC_HEADERS\r
-#include <stddef.h>\r
-#endif\r
-#include <stdlib.h>\r
-#if HAVE_WCHAR_H\r
-#include <string.h>\r
-#include <wchar.h>\r
-#endif\r
-"; then :\r
-\r
-else\r
- if test "$ac_cv_type_wchar_t" = yes; then\r
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5\r
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}\r
-as_fn_error 77 "cannot compute sizeof (wchar_t)\r
-See \`config.log' for more details" "$LINENO" 5; }\r
- else\r
- ac_cv_sizeof_wchar_t=0\r
- fi\r
-fi\r
-\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5\r
-$as_echo "$ac_cv_sizeof_wchar_t" >&6; }\r
-\r
-\r
-\r
-cat >>confdefs.h <<_ACEOF\r
-#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t\r
-_ACEOF\r
-\r
-\r
-U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t\r
-# We do this check to verify that everything is okay.\r
-if test $U_SIZEOF_WCHAR_T = 0; then\r
- if test $U_HAVE_WCHAR_H=1; then\r
- as_fn_error $? "There is wchar.h but the size of wchar_t is 0" "$LINENO" 5\r
- fi\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5\r
-$as_echo_n "checking for UTF-16 string literal support... " >&6; }\r
-U_CHECK_UTF16_STRING=1\r
-CHECK_UTF16_STRING_RESULT="unknown"\r
-\r
-case "${host}" in\r
-*-*-aix*|powerpc64-*-linux*)\r
- if test "$GCC" = no; then\r
- OLD_CFLAGS="${CFLAGS}"\r
- OLD_CXXFLAGS="${CXXFLAGS}"\r
- CFLAGS="${CFLAGS} -qutf"\r
- CXXFLAGS="${CXXFLAGS} -qutf"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-const unsigned short hello[] = u"hello";\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- U_CHECK_UTF16_STRING=1\r
-else\r
- U_CHECK_UTF16_STRING=0\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test "$U_CHECK_UTF16_STRING" = 0; then\r
- CFLAGS="${OLD_CFLAGS}"\r
- CXXFLAGS="${OLD_CXXFLAGS}"\r
- else\r
- UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -qutf"\r
- CHECK_UTF16_STRING_RESULT="-qutf"\r
- fi\r
- fi\r
- ;;\r
-*-*-solaris*)\r
- if test "$GCC" = no; then\r
- OLD_CFLAGS="${CFLAGS}"\r
- OLD_CXXFLAGS="${CXXFLAGS}"\r
- CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort"\r
- CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-const unsigned short hello[] = U"hello";\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- U_CHECK_UTF16_STRING=1\r
-else\r
- U_CHECK_UTF16_STRING=0\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test "$U_CHECK_UTF16_STRING" = 0; then\r
- CFLAGS="${OLD_CFLAGS}"\r
- CXXFLAGS="${OLD_CXXFLAGS}"\r
- else\r
- CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort"\r
- UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -xustr=ascii_utf16_ushort"\r
- UCONFIG_CFLAGS="${UCONFIG_CFLAGS} -xustr=ascii_utf16_ushort"\r
- # Since we can't detect the availability of this UTF-16 syntax at compile time,\r
- # we depend on configure telling us that we can use it.\r
- # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,\r
- # we only use this macro within ICU.\r
- # If an ICU user uses icu-config, this feature will be enabled.\r
- CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_CHECK_UTF16_STRING=1"\r
- U_CHECK_UTF16_STRING=0\r
- fi\r
- fi\r
- ;;\r
-*-*-hpux*)\r
- if test "$GCC" = no; then\r
- # The option will be detected at compile time without additional compiler options.\r
- CHECK_UTF16_STRING_RESULT="available"\r
- fi\r
- ;;\r
-*-*-cygwin)\r
- # wchar_t can be used\r
- CHECK_UTF16_STRING_RESULT="available"\r
- ;;\r
-*)\r
- ;;\r
-esac\r
-\r
-# GCC >= 4.4 supports UTF16 string literals. As of ICU 62, both C and C++ files require them.\r
-if test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then\r
- if test "$GCC" = yes; then\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-static const unsigned short test[] = u"This is a UTF16 literal string.";\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_c_try_compile "$LINENO"; then :\r
- CC_UTF16_STRING=1\r
-else\r
- CC_UTF16_STRING=0\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- if test "$CC_UTF16_STRING" = 1; then\r
- CHECK_UTF16_STRING_RESULT="C only";\r
- fi\r
- fi\r
- if test "$GXX" = yes; then\r
- # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.\r
- ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-static const char16_t test[] = u"This is a UTF16 literal string.";\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- CXX_UTF16_STRING=1\r
-else\r
- CXX_UTF16_STRING=0\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
- if test "$CXX_UTF16_STRING" = 1; then\r
- if test "$CC_UTF16_STRING" = 1; then\r
- CHECK_UTF16_STRING_RESULT="available";\r
- else\r
- CHECK_UTF16_STRING_RESULT="C++ only";\r
- fi\r
- fi\r
- fi\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5\r
-$as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }\r
-\r
-# Enable/disable extras\r
-# Check whether --enable-extras was given.\r
-if test "${enable_extras+set}" = set; then :\r
- enableval=$enable_extras; case "${enableval}" in\r
- yes) extras=true ;;\r
- no) extras=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-extras" "$LINENO" 5 ;;\r
- esac\r
-else\r
- extras=true\r
-fi\r
-\r
-\r
-\r
-if test "$extras" = true; then\r
- EXTRAS_TRUE=\r
- U_HAVE_EXTRAS=1\r
-else\r
- EXTRAS_TRUE='#'\r
- U_HAVE_EXTRAS=0\r
-fi\r
-# Check whether --enable-icuio was given.\r
-if test "${enable_icuio+set}" = set; then :\r
- enableval=$enable_icuio; case "${enableval}" in\r
- yes) icuio=true ;;\r
- no) icuio=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;;\r
- esac\r
-else\r
- icuio=true\r
-fi\r
-\r
-\r
-\r
-if test "$icuio" = true; then\r
- ICUIO_TRUE=\r
- U_HAVE_ICUIO=1\r
-else\r
- ICUIO_TRUE='#'\r
- U_HAVE_ICUIO=0\r
-fi\r
-\r
-# Enable/disable layoutex\r
-# Check whether --enable-layoutex was given.\r
-if test "${enable_layoutex+set}" = set; then :\r
- enableval=$enable_layoutex; case "${enableval}" in\r
- yes) layoutex=$have_icu_le_hb ;;\r
- no) layoutex=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-layoutex" "$LINENO" 5 ;;\r
- esac\r
-else\r
- layoutex=false\r
-fi\r
-\r
-\r
-\r
-if test "$layoutex" = true; then\r
- LAYOUTEX_TRUE=\r
- U_HAVE_LAYOUTEX=1\r
-else\r
- LAYOUTEX_TRUE='#'\r
- U_HAVE_LAYOUTEX=0\r
-fi\r
-\r
-# Enable/disable layout\r
-# Check whether --enable-layout was given.\r
-if test "${enable_layout+set}" = set; then :\r
- enableval=$enable_layout; case "${enableval}" in\r
- yes) as_fn_error $? "The ICU Layout Engine has been removed." "$LINENO" 5 ;;\r
- no) ;;\r
- *) ;;\r
- esac\r
-fi\r
-\r
-\r
-# Enable/disable tools\r
-# Check whether --enable-tools was given.\r
-if test "${enable_tools+set}" = set; then :\r
- enableval=$enable_tools; case "${enableval}" in\r
- yes) tools=true ;;\r
- no) tools=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;\r
- esac\r
-else\r
- tools=true\r
-fi\r
-\r
-\r
-\r
-if test "$tools" = true; then\r
- TOOLS_TRUE=\r
- U_HAVE_TOOLS=1\r
-else\r
- TOOLS_TRUE='#'\r
- U_HAVE_TOOLS=0\r
-fi\r
-\r
-# Enable/disable fuzzer target tests.\r
-# Check whether --enable-fuzzer was given.\r
-if test "${enable_fuzzer+set}" = set; then :\r
- enableval=$enable_fuzzer; case "${enableval}" in\r
- yes) fuzzer=true ;;\r
- no) fuzzer=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-fuzzer" "$LINENO" 5 ;;\r
- esac\r
-else\r
- fuzzer=false\r
-fi\r
-\r
-\r
-\r
-if test "$fuzzer" = true; then\r
- FUZZER_TRUE=\r
- U_HAVE_FUZZER=1\r
-else\r
- FUZZER_TRUE='#'\r
- U_HAVE_FUZZER=0\r
-fi\r
-\r
-\r
-\r
-if test "$tools" = true || test "$cross_compiling" = "yes"; then\r
- DATA_TRUE=\r
- U_HAVE_DATA=1\r
-else\r
- DATA_TRUE='#'\r
- U_HAVE_DATA=0\r
-fi\r
-\r
-\r
-# Check whether --with-data-packaging was given.\r
-if test "${with_data_packaging+set}" = set; then :\r
- withval=$with_data_packaging; case "${withval}" in\r
- files|archive|library) datapackaging=$withval ;;\r
- auto) datapackaging=$withval ;;\r
- common) datapackaging=archive ;;\r
- dll) datapackaging=library ;;\r
- static) datapackaging=static ;;\r
- *) as_fn_error $? "bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;;\r
- esac\r
-else\r
- datapackaging=\r
-fi\r
-\r
-\r
-# Note: 'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..\r
-# thesysconfdir=`eval echo $sysconfdir`\r
-thedatadir=`eval echo $datadir`\r
-# 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}.\r
-pkgicudatadir=$datadir\r
-thepkgicudatadir=$thedatadir\r
-\r
-\r
-\r
-\r
-if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then\r
- # default to library\r
- datapackaging=library\r
- if test "$ENABLE_STATIC" = "YES"; then\r
- if test "$ENABLE_SHARED" != "YES"; then\r
- datapackaging=static\r
- fi\r
- fi\r
-fi\r
-\r
-datapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}"\r
-\r
-datapackaging_msg="(No explanation for mode $datapackaging.)"\r
-\r
-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."\r
-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."\r
-datapackaging_howfound="(unknown)"\r
-\r
-case "$datapackaging" in\r
- files)\r
- DATA_PACKAGING_MODE=files\r
- datapackaging_msg="ICU data will be stored in individual files."\r
- datapackaging_howfound="$datapackaging_msg_path"\r
- ;;\r
- archive)\r
- DATA_PACKAGING_MODE=common\r
- datapackaging_msg="ICU data will be stored in a single .dat file."\r
- datapackaging_howfound="$datapackaging_msg_path"\r
- ;;\r
- library)\r
- DATA_PACKAGING_MODE=dll\r
- datapackaging_msg="ICU data will be linked with ICU."\r
- if test "$ENABLE_STATIC" = "YES"; then\r
- datapackaging_msg="$datapackaging_msg A static data library will be built. "\r
- fi\r
- if test "$ENABLE_SHARED" = "YES"; then\r
- datapackaging_msg="$datapackaging_msg A shared data library will be built. "\r
- fi\r
- datapackaging_howfound="$datapackaging_msg_set"\r
- ;;\r
- static)\r
- DATA_PACKAGING_MODE=static\r
- datapackaging_msg="ICU data will be stored in a static library."\r
- datapackaging_howfound="$datapackaging_msg_set"\r
- ;;\r
-esac\r
-\r
-\r
-# Sets a library suffix\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5\r
-$as_echo_n "checking for a library suffix to use... " >&6; }\r
-\r
-# Check whether --with-library-suffix was given.\r
-if test "${with_library_suffix+set}" = set; then :\r
- withval=$with_library_suffix; ICULIBSUFFIX="${withval}"\r
-else\r
- ICULIBSUFFIX=\r
-fi\r
-\r
-msg=$ICULIBSUFFIX\r
-if test "$msg" = ""; then\r
- msg=none\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5\r
-$as_echo "$msg" >&6; }\r
-\r
-if test "$ICULIBSUFFIX" != ""\r
-then\r
- U_HAVE_LIB_SUFFIX=1\r
- ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`\r
- UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_HAVE_LIB_SUFFIX=1 -DU_LIB_SUFFIX_C_NAME=${ICULIBSUFFIXCNAME} "\r
-else\r
- U_HAVE_LIB_SUFFIX=0\r
-fi\r
-\r
-\r
-\r
-# Enable/disable tests\r
-# Check whether --enable-tests was given.\r
-if test "${enable_tests+set}" = set; then :\r
- enableval=$enable_tests; case "${enableval}" in\r
- yes) tests=true ;;\r
- no) tests=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;\r
- esac\r
-else\r
- tests=true\r
-fi\r
-\r
-\r
-\r
-if test "$tests" = true; then\r
- TESTS_TRUE=\r
- U_HAVE_TESTS=1\r
-else\r
- TESTS_TRUE='#'\r
- U_HAVE_TESTS=0\r
-fi\r
-\r
-# Enable/disable samples\r
-# Check whether --enable-samples was given.\r
-if test "${enable_samples+set}" = set; then :\r
- enableval=$enable_samples; case "${enableval}" in\r
- yes) samples=true ;;\r
- no) samples=false ;;\r
- *) as_fn_error $? "bad value ${enableval} for --enable-samples" "$LINENO" 5 ;;\r
- esac\r
-else\r
- samples=true\r
-fi\r
-\r
-\r
-\r
-if test "$samples" = true; then\r
- SAMPLES_TRUE=\r
- U_HAVE_SAMPLES=1\r
-else\r
- SAMPLES_TRUE='#'\r
- U_HAVE_SAMPLES=0\r
-fi\r
-\r
-ICUDATA_CHAR=$U_ENDIAN_CHAR\r
-\r
-# Platform-specific Makefile setup\r
-# set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.\r
-case "${host}" in\r
- *-*-solaris*) platform=U_SOLARIS ;;\r
- *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;\r
- *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;;\r
- *-*-aix*) platform=U_AIX ;;\r
- *-*-hpux*) platform=U_HPUX ;;\r
- *-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;\r
- *-*-cygwin*) platform=U_CYGWIN ;;\r
- *-*-mingw*) platform=U_MINGW ;;\r
- *-*ibm-openedition*|*-*-os390*) platform=OS390\r
- if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then\r
- ICUDATA_CHAR="e"\r
- fi ;;\r
- *-*-os400*) platform=OS400\r
- if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then\r
- ICUDATA_CHAR="e"\r
- fi ;;\r
- *-*-nto*) platform=U_QNX ;;\r
- *-dec-osf*) platform=U_OSF ;;\r
- *-*-beos) platform=U_BEOS ;;\r
- *-*-irix*) platform=U_IRIX ;;\r
- *-ncr-*) platform=U_MPRAS ;;\r
- *) platform=U_UNKNOWN_PLATFORM ;;\r
-esac\r
-\r
-\r
-platform_make_fragment_name="$icu_cv_host_frag"\r
-platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"\r
-\r
-\r
-\r
-if test "${FORCE_LIBS}" != ""; then\r
- echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6\r
- LIBS=${FORCE_LIBS}\r
-fi\r
-\r
-# Now that we're done using CPPFLAGS etc. for tests, we can change it\r
-# for build.\r
-\r
-ac_ext=cpp\r
-ac_cpp='$CXXCPP $CPPFLAGS'\r
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu\r
-\r
-# Silence a Clang warning about ambiguous operators with C++20 rewritten\r
-# expressions that possibly or maybe even probably is a mistake (ICU-20973).\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -Wambiguous-reversed-operator" >&5\r
-$as_echo_n "checking whether C++ compiler accepts -Wambiguous-reversed-operator... " >&6; }\r
-if ${ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator+:} false; then :\r
- $as_echo_n "(cached) " >&6\r
-else\r
-\r
- ax_check_save_flags=$CXXFLAGS\r
- CXXFLAGS="$CXXFLAGS -Werror -Wambiguous-reversed-operator"\r
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext\r
-/* end confdefs.h. */\r
-\r
-int\r
-main ()\r
-{\r
-\r
- ;\r
- return 0;\r
-}\r
-_ACEOF\r
-if ac_fn_cxx_try_compile "$LINENO"; then :\r
- ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator=yes\r
-else\r
- ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator=no\r
-fi\r
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
- CXXFLAGS=$ax_check_save_flags\r
-fi\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" >&5\r
-$as_echo "$ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" >&6; }\r
-if test "x$ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" = xyes; then :\r
- CXXFLAGS+=" -Wno-ambiguous-reversed-operator"\r
-else\r
- :\r
-fi\r
-\r
-ac_ext=c\r
-ac_cpp='$CPP $CPPFLAGS'\r
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
-ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
-\r
-\r
-if test "${CC}" = "clang"; then\r
- CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"\r
-else\r
- CLANGCFLAGS=""\r
-fi\r
-\r
-if test "${CXX}" = "clang++"; then\r
- CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"\r
- LIBCXXFLAGS="$LIBCXXFLAGS -Wglobal-constructors"\r
-else\r
- CLANGCXXFLAGS=""\r
-fi\r
-\r
-CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"\r
-CFLAGS="$CFLAGS \$(THREADSCFLAGS) $CLANGCFLAGS"\r
-CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS) $CLANGCXXFLAGS"\r
-\r
-\r
-\r
-\r
-# append all config cppflags\r
-CPPFLAGS="$CPPFLAGS $CONFIG_CPPFLAGS $UCONFIG_CPPFLAGS"\r
-\r
-echo "CPPFLAGS=$CPPFLAGS"\r
-echo "CFLAGS=$CFLAGS"\r
-echo "CXXFLAGS=$CXXFLAGS"\r
-\r
-\r
-# output the Makefiles\r
-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 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/icuexportdata/Makefile tools/tzcode/Makefile tools/gencfu/Makefile tools/escapesrc/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/collperf2/Makefile test/perf/dicttrieperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/localecanperf/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 test/fuzzer/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile"\r
-\r
-cat >confcache <<\_ACEOF\r
-# This file is a shell script that caches the results of configure\r
-# tests run on this system so they can be shared between configure\r
-# scripts and configure runs, see configure's option --config-cache.\r
-# It is not useful on other systems. If it contains results you don't\r
-# want to keep, you may remove or edit it.\r
-#\r
-# config.status only pays attention to the cache file if you give it\r
-# the --recheck option to rerun configure.\r
-#\r
-# `ac_cv_env_foo' variables (set or unset) will be overridden when\r
-# loading this file, other *unset* `ac_cv_foo' will be assigned the\r
-# following values.\r
-\r
-_ACEOF\r
-\r
-# The following way of writing the cache mishandles newlines in values,\r
-# but we know of no workaround that is simple, portable, and efficient.\r
-# So, we kill variables containing newlines.\r
-# Ultrix sh set writes to stderr and can't be redirected directly,\r
-# and sets the high bit in the cache file unless we assign to the vars.\r
-(\r
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do\r
- eval ac_val=\$$ac_var\r
- case $ac_val in #(\r
- *${as_nl}*)\r
- case $ac_var in #(\r
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5\r
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;\r
- esac\r
- case $ac_var in #(\r
- _ | IFS | as_nl) ;; #(\r
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(\r
- *) { eval $ac_var=; unset $ac_var;} ;;\r
- esac ;;\r
- esac\r
- done\r
-\r
- (set) 2>&1 |\r
- case $as_nl`(ac_space=' '; set) 2>&1` in #(\r
- *${as_nl}ac_space=\ *)\r
- # `set' does not quote correctly, so add quotes: double-quote\r
- # substitution turns \\\\ into \\, and sed turns \\ into \.\r
- sed -n \\r
- "s/'/'\\\\''/g;\r
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"\r
- ;; #(\r
- *)\r
- # `set' quotes correctly as required by POSIX, so do not add quotes.\r
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
- ;;\r
- esac |\r
- sort\r
-) |\r
- sed '\r
- /^ac_cv_env_/b end\r
- t clear\r
- :clear\r
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/\r
- t end\r
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/\r
- :end' >>confcache\r
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else\r
- if test -w "$cache_file"; then\r
- if test "x$cache_file" != "x/dev/null"; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5\r
-$as_echo "$as_me: updating cache $cache_file" >&6;}\r
- if test ! -f "$cache_file" || test -h "$cache_file"; then\r
- cat confcache >"$cache_file"\r
- else\r
- case $cache_file in #(\r
- */* | ?:*)\r
- mv -f confcache "$cache_file"$$ &&\r
- mv -f "$cache_file"$$ "$cache_file" ;; #(\r
- *)\r
- mv -f confcache "$cache_file" ;;\r
- esac\r
- fi\r
- fi\r
- else\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5\r
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}\r
- fi\r
-fi\r
-rm -f confcache\r
-\r
-test "x$prefix" = xNONE && prefix=$ac_default_prefix\r
-# Let make expand exec_prefix.\r
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'\r
-\r
-# Transform confdefs.h into DEFS.\r
-# Protect against shell expansion while executing Makefile rules.\r
-# Protect against Makefile macro expansion.\r
-#\r
-# If the first sed substitution is executed (which looks for macros that\r
-# take arguments), then branch to the quote section. Otherwise,\r
-# look for a macro that doesn't take arguments.\r
-ac_script='\r
-:mline\r
-/\\$/{\r
- N\r
- s,\\\n,,\r
- b mline\r
-}\r
-t clear\r
-:clear\r
-s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g\r
-t quote\r
-s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g\r
-t quote\r
-b any\r
-:quote\r
-s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g\r
-s/\[/\\&/g\r
-s/\]/\\&/g\r
-s/\$/$$/g\r
-H\r
-:any\r
-${\r
- g\r
- s/^\n//\r
- s/\n/ /g\r
- p\r
-}\r
-'\r
-DEFS=`sed -n "$ac_script" confdefs.h`\r
-\r
-\r
-ac_libobjs=\r
-ac_ltlibobjs=\r
-U=\r
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue\r
- # 1. Remove the extension, and $U if already installed.\r
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'\r
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`\r
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR\r
- # will be set to the directory where LIBOBJS objects are built.\r
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"\r
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'\r
-done\r
-LIBOBJS=$ac_libobjs\r
-\r
-LTLIBOBJS=$ac_ltlibobjs\r
-\r
-\r
-\r
-\r
-: "${CONFIG_STATUS=./config.status}"\r
-ac_write_fail=0\r
-ac_clean_files_save=$ac_clean_files\r
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5\r
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}\r
-as_write_fail=0\r
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1\r
-#! $SHELL\r
-# Generated by $as_me.\r
-# Run this file to recreate the current configuration.\r
-# Compiler output produced by configure, useful for debugging\r
-# configure, is in config.log if it exists.\r
-\r
-debug=false\r
-ac_cs_recheck=false\r
-ac_cs_silent=false\r
-\r
-SHELL=\${CONFIG_SHELL-$SHELL}\r
-export SHELL\r
-_ASEOF\r
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1\r
-## -------------------- ##\r
-## M4sh Initialization. ##\r
-## -------------------- ##\r
-\r
-# Be more Bourne compatible\r
-DUALCASE=1; export DUALCASE # for MKS sh\r
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :\r
- emulate sh\r
- NULLCMD=:\r
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which\r
- # is contrary to our usage. Disable this feature.\r
- alias -g '${1+"$@"}'='"$@"'\r
- setopt NO_GLOB_SUBST\r
-else\r
- case `(set -o) 2>/dev/null` in #(\r
- *posix*) :\r
- set -o posix ;; #(\r
- *) :\r
- ;;\r
-esac\r
-fi\r
-\r
-\r
-as_nl='\r
-'\r
-export as_nl\r
-# Printing a long string crashes Solaris 7 /usr/bin/printf.\r
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'\r
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo\r
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo\r
-# Prefer a ksh shell builtin over an external printf program on Solaris,\r
-# but without wasting forks for bash or zsh.\r
-if test -z "$BASH_VERSION$ZSH_VERSION" \\r
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then\r
- as_echo='print -r --'\r
- as_echo_n='print -rn --'\r
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then\r
- as_echo='printf %s\n'\r
- as_echo_n='printf %s'\r
-else\r
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then\r
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'\r
- as_echo_n='/usr/ucb/echo -n'\r
- else\r
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'\r
- as_echo_n_body='eval\r
- arg=$1;\r
- case $arg in #(\r
- *"$as_nl"*)\r
- expr "X$arg" : "X\\(.*\\)$as_nl";\r
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;\r
- esac;\r
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"\r
- '\r
- export as_echo_n_body\r
- as_echo_n='sh -c $as_echo_n_body as_echo'\r
- fi\r
- export as_echo_body\r
- as_echo='sh -c $as_echo_body as_echo'\r
-fi\r
-\r
-# The user is always right.\r
-if test "${PATH_SEPARATOR+set}" != set; then\r
- PATH_SEPARATOR=:\r
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {\r
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||\r
- PATH_SEPARATOR=';'\r
- }\r
-fi\r
-\r
-\r
-# IFS\r
-# We need space, tab and new line, in precisely that order. Quoting is\r
-# there to prevent editors from complaining about space-tab.\r
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
-# splitting by setting IFS to empty value.)\r
-IFS=" "" $as_nl"\r
-\r
-# Find who we are. Look in the path if we contain no directory separator.\r
-as_myself=\r
-case $0 in #((\r
- *[\\/]* ) as_myself=$0 ;;\r
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
-for as_dir in $PATH\r
-do\r
- IFS=$as_save_IFS\r
- test -z "$as_dir" && as_dir=.\r
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
- done\r
-IFS=$as_save_IFS\r
-\r
- ;;\r
-esac\r
-# We did not find ourselves, most probably we were run as `sh COMMAND'\r
-# in which case we are not to be found in the path.\r
-if test "x$as_myself" = x; then\r
- as_myself=$0\r
-fi\r
-if test ! -f "$as_myself"; then\r
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
- exit 1\r
-fi\r
-\r
-# Unset variables that we do not need and which cause bugs (e.g. in\r
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"\r
-# suppresses any "Segmentation fault" message there. '((' could\r
-# trigger a bug in pdksh 5.2.14.\r
-for as_var in BASH_ENV ENV MAIL MAILPATH\r
-do eval test x\${$as_var+set} = xset \\r
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :\r
-done\r
-PS1='$ '\r
-PS2='> '\r
-PS4='+ '\r
-\r
-# NLS nuisances.\r
-LC_ALL=C\r
-export LC_ALL\r
-LANGUAGE=C\r
-export LANGUAGE\r
-\r
-# CDPATH.\r
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH\r
-\r
-\r
-# as_fn_error STATUS ERROR [LINENO LOG_FD]\r
-# ----------------------------------------\r
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are\r
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the\r
-# script with STATUS, using 1 if that was 0.\r
-as_fn_error ()\r
-{\r
- as_status=$1; test $as_status -eq 0 && as_status=1\r
- if test "$4"; then\r
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack\r
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4\r
- fi\r
- $as_echo "$as_me: error: $2" >&2\r
- as_fn_exit $as_status\r
-} # as_fn_error\r
-\r
-\r
-# as_fn_set_status STATUS\r
-# -----------------------\r
-# Set $? to STATUS, without forking.\r
-as_fn_set_status ()\r
-{\r
- return $1\r
-} # as_fn_set_status\r
-\r
-# as_fn_exit STATUS\r
-# -----------------\r
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.\r
-as_fn_exit ()\r
-{\r
- set +e\r
- as_fn_set_status $1\r
- exit $1\r
-} # as_fn_exit\r
-\r
-# as_fn_unset VAR\r
-# ---------------\r
-# Portably unset VAR.\r
-as_fn_unset ()\r
-{\r
- { eval $1=; unset $1;}\r
-}\r
-as_unset=as_fn_unset\r
-# as_fn_append VAR VALUE\r
-# ----------------------\r
-# Append the text in VALUE to the end of the definition contained in VAR. Take\r
-# advantage of any shell optimizations that allow amortized linear growth over\r
-# repeated appends, instead of the typical quadratic growth present in naive\r
-# implementations.\r
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :\r
- eval 'as_fn_append ()\r
- {\r
- eval $1+=\$2\r
- }'\r
-else\r
- as_fn_append ()\r
- {\r
- eval $1=\$$1\$2\r
- }\r
-fi # as_fn_append\r
-\r
-# as_fn_arith ARG...\r
-# ------------------\r
-# Perform arithmetic evaluation on the ARGs, and store the result in the\r
-# global $as_val. Take advantage of shells that can avoid forks. The arguments\r
-# must be portable across $(()) and expr.\r
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :\r
- eval 'as_fn_arith ()\r
- {\r
- as_val=$(( $* ))\r
- }'\r
-else\r
- as_fn_arith ()\r
- {\r
- as_val=`expr "$@" || test $? -eq 1`\r
- }\r
-fi # as_fn_arith\r
-\r
-\r
-if expr a : '\(a\)' >/dev/null 2>&1 &&\r
- test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
- as_expr=expr\r
-else\r
- as_expr=false\r
-fi\r
-\r
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
- as_basename=basename\r
-else\r
- as_basename=false\r
-fi\r
-\r
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
- as_dirname=dirname\r
-else\r
- as_dirname=false\r
-fi\r
-\r
-as_me=`$as_basename -- "$0" ||\r
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
- X"$0" : 'X\(//\)$' \| \\r
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X/"$0" |\r
- sed '/^.*\/\([^/][^/]*\)\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\/\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\/\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
-\r
-# Avoid depending upon Character Ranges.\r
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
-as_cr_digits='0123456789'\r
-as_cr_alnum=$as_cr_Letters$as_cr_digits\r
-\r
-ECHO_C= ECHO_N= ECHO_T=\r
-case `echo -n x` in #(((((\r
--n*)\r
- case `echo 'xy\c'` in\r
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.\r
- xy) ECHO_C='\c';;\r
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null\r
- ECHO_T=' ';;\r
- esac;;\r
-*)\r
- ECHO_N='-n';;\r
-esac\r
-\r
-rm -f conf$$ conf$$.exe conf$$.file\r
-if test -d conf$$.dir; then\r
- rm -f conf$$.dir/conf$$.file\r
-else\r
- rm -f conf$$.dir\r
- mkdir conf$$.dir 2>/dev/null\r
-fi\r
-if (echo >conf$$.file) 2>/dev/null; then\r
- if ln -s conf$$.file conf$$ 2>/dev/null; then\r
- as_ln_s='ln -s'\r
- # ... but there are two gotchas:\r
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
- # In both cases, we have to default to `cp -pR'.\r
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
- as_ln_s='cp -pR'\r
- elif ln conf$$.file conf$$ 2>/dev/null; then\r
- as_ln_s=ln\r
- else\r
- as_ln_s='cp -pR'\r
- fi\r
-else\r
- as_ln_s='cp -pR'\r
-fi\r
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
-rmdir conf$$.dir 2>/dev/null\r
-\r
-\r
-# as_fn_mkdir_p\r
-# -------------\r
-# Create "$as_dir" as a directory, including parents if necessary.\r
-as_fn_mkdir_p ()\r
-{\r
-\r
- case $as_dir in #(\r
- -*) as_dir=./$as_dir;;\r
- esac\r
- test -d "$as_dir" || eval $as_mkdir_p || {\r
- as_dirs=\r
- while :; do\r
- case $as_dir in #(\r
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(\r
- *) as_qdir=$as_dir;;\r
- esac\r
- as_dirs="'$as_qdir' $as_dirs"\r
- as_dir=`$as_dirname -- "$as_dir" ||\r
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
- X"$as_dir" : 'X\(//\)[^/]' \| \\r
- X"$as_dir" : 'X\(//\)$' \| \\r
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X"$as_dir" |\r
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)[^/].*/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
- test -d "$as_dir" && break\r
- done\r
- test -z "$as_dirs" || eval "mkdir $as_dirs"\r
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"\r
-\r
-\r
-} # as_fn_mkdir_p\r
-if mkdir -p . 2>/dev/null; then\r
- as_mkdir_p='mkdir -p "$as_dir"'\r
-else\r
- test -d ./-p && rmdir ./-p\r
- as_mkdir_p=false\r
-fi\r
-\r
-\r
-# as_fn_executable_p FILE\r
-# -----------------------\r
-# Test if FILE is an executable regular file.\r
-as_fn_executable_p ()\r
-{\r
- test -f "$1" && test -x "$1"\r
-} # as_fn_executable_p\r
-as_test_x='test -x'\r
-as_executable_p=as_fn_executable_p\r
-\r
-# Sed expression to map a string onto a valid CPP name.\r
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
-\r
-# Sed expression to map a string onto a valid variable name.\r
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
-\r
-\r
-exec 6>&1\r
-## ----------------------------------- ##\r
-## Main body of $CONFIG_STATUS script. ##\r
-## ----------------------------------- ##\r
-_ASEOF\r
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-# Save the log message, to keep $0 and so on meaningful, and to\r
-# report actual input values of CONFIG_FILES etc. instead of their\r
-# values after options handling.\r
-ac_log="\r
-This file was extended by ICU $as_me 70.1, which was\r
-generated by GNU Autoconf 2.69. Invocation command line was\r
-\r
- CONFIG_FILES = $CONFIG_FILES\r
- CONFIG_HEADERS = $CONFIG_HEADERS\r
- CONFIG_LINKS = $CONFIG_LINKS\r
- CONFIG_COMMANDS = $CONFIG_COMMANDS\r
- $ $0 $@\r
-\r
-on `(hostname || uname -n) 2>/dev/null | sed 1q`\r
-"\r
-\r
-_ACEOF\r
-\r
-case $ac_config_files in *"\r
-"*) set x $ac_config_files; shift; ac_config_files=$*;;\r
-esac\r
-\r
-\r
-\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-# Files that config.status was made for.\r
-config_files="$ac_config_files"\r
-\r
-_ACEOF\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-ac_cs_usage="\\r
-\`$as_me' instantiates files and other configuration actions\r
-from templates according to the current configuration. Unless the files\r
-and actions are specified as TAGs, all are instantiated by default.\r
-\r
-Usage: $0 [OPTION]... [TAG]...\r
-\r
- -h, --help print this help, then exit\r
- -V, --version print version number and configuration settings, then exit\r
- --config print configuration, then exit\r
- -q, --quiet, --silent\r
- do not print progress messages\r
- -d, --debug don't remove temporary files\r
- --recheck update $as_me by reconfiguring in the same conditions\r
- --file=FILE[:TEMPLATE]\r
- instantiate the configuration file FILE\r
-\r
-Configuration files:\r
-$config_files\r
-\r
-Report bugs to <http://icu-project.org/bugs>.\r
-ICU home page: <http://icu-project.org>."\r
-\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"\r
-ac_cs_version="\\\r
-ICU config.status 70.1\r
-configured by $0, generated by GNU Autoconf 2.69,\r
- with options \\"\$ac_cs_config\\"\r
-\r
-Copyright (C) 2012 Free Software Foundation, Inc.\r
-This config.status script is free software; the Free Software Foundation\r
-gives unlimited permission to copy, distribute and modify it."\r
-\r
-ac_pwd='$ac_pwd'\r
-srcdir='$srcdir'\r
-INSTALL='$INSTALL'\r
-test -n "\$AWK" || AWK=awk\r
-_ACEOF\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-# The default lists apply if the user does not specify any file.\r
-ac_need_defaults=:\r
-while test $# != 0\r
-do\r
- case $1 in\r
- --*=?*)\r
- ac_option=`expr "X$1" : 'X\([^=]*\)='`\r
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`\r
- ac_shift=:\r
- ;;\r
- --*=)\r
- ac_option=`expr "X$1" : 'X\([^=]*\)='`\r
- ac_optarg=\r
- ac_shift=:\r
- ;;\r
- *)\r
- ac_option=$1\r
- ac_optarg=$2\r
- ac_shift=shift\r
- ;;\r
- esac\r
-\r
- case $ac_option in\r
- # Handling of the options.\r
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)\r
- ac_cs_recheck=: ;;\r
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )\r
- $as_echo "$ac_cs_version"; exit ;;\r
- --config | --confi | --conf | --con | --co | --c )\r
- $as_echo "$ac_cs_config"; exit ;;\r
- --debug | --debu | --deb | --de | --d | -d )\r
- debug=: ;;\r
- --file | --fil | --fi | --f )\r
- $ac_shift\r
- case $ac_optarg in\r
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
- '') as_fn_error $? "missing file argument" ;;\r
- esac\r
- as_fn_append CONFIG_FILES " '$ac_optarg'"\r
- ac_need_defaults=false;;\r
- --he | --h | --help | --hel | -h )\r
- $as_echo "$ac_cs_usage"; exit ;;\r
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
- | -silent | --silent | --silen | --sile | --sil | --si | --s)\r
- ac_cs_silent=: ;;\r
-\r
- # This is an error.\r
- -*) as_fn_error $? "unrecognized option: \`$1'\r
-Try \`$0 --help' for more information." ;;\r
-\r
- *) as_fn_append ac_config_targets " $1"\r
- ac_need_defaults=false ;;\r
-\r
- esac\r
- shift\r
-done\r
-\r
-ac_configure_extra_args=\r
-\r
-if $ac_cs_silent; then\r
- exec 6>/dev/null\r
- ac_configure_extra_args="$ac_configure_extra_args --silent"\r
-fi\r
-\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-if \$ac_cs_recheck; then\r
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion\r
- shift\r
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6\r
- CONFIG_SHELL='$SHELL'\r
- export CONFIG_SHELL\r
- exec "\$@"\r
-fi\r
-\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-exec 5>>config.log\r
-{\r
- echo\r
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX\r
-## Running $as_me. ##\r
-_ASBOX\r
- $as_echo "$ac_log"\r
-} >&5\r
-\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-_ACEOF\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-\r
-# Handling of arguments.\r
-for ac_config_target in $ac_config_targets\r
-do\r
- case $ac_config_target in\r
- "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;\r
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;\r
- "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;;\r
- "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;\r
- "config/icu.pc") CONFIG_FILES="$CONFIG_FILES config/icu.pc" ;;\r
- "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;;\r
- "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;\r
- "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;\r
- "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;\r
- "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;\r
- "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;\r
- "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;\r
- "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;\r
- "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;\r
- "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;\r
- "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;\r
- "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;\r
- "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;\r
- "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;\r
- "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;\r
- "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;\r
- "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;\r
- "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;\r
- "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;\r
- "tools/gendict/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gendict/Makefile" ;;\r
- "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;\r
- "tools/gennorm2/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm2/Makefile" ;;\r
- "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;\r
- "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;\r
- "tools/icuinfo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuinfo/Makefile" ;;\r
- "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;;\r
- "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;\r
- "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;\r
- "tools/icuexportdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuexportdata/Makefile" ;;\r
- "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;;\r
- "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;;\r
- "tools/escapesrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/escapesrc/Makefile" ;;\r
- "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;\r
- "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;;\r
- "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;\r
- "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;\r
- "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;\r
- "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;\r
- "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;\r
- "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;\r
- "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;\r
- "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;;\r
- "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;;\r
- "test/perf/collperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf/Makefile" ;;\r
- "test/perf/collperf2/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf2/Makefile" ;;\r
- "test/perf/dicttrieperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/dicttrieperf/Makefile" ;;\r
- "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;\r
- "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;;\r
- "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;;\r
- "test/perf/localecanperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/localecanperf/Makefile" ;;\r
- "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;;\r
- "test/perf/DateFmtPerf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;;\r
- "test/perf/howExpensiveIs/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/howExpensiveIs/Makefile" ;;\r
- "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;\r
- "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;\r
- "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;;\r
- "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;\r
- "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;;\r
- "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;\r
- "test/perf/leperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/leperf/Makefile" ;;\r
- "test/fuzzer/Makefile") CONFIG_FILES="$CONFIG_FILES test/fuzzer/Makefile" ;;\r
- "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;\r
- "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;\r
- "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;\r
- "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;\r
-\r
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;\r
- esac\r
-done\r
-\r
-\r
-# If the user did not use the arguments to specify the items to instantiate,\r
-# then the envvar interface is used. Set only those that are not.\r
-# We use the long form for the default assignment because of an extremely\r
-# bizarre bug on SunOS 4.1.3.\r
-if $ac_need_defaults; then\r
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files\r
-fi\r
-\r
-# Have a temporary directory for convenience. Make it in the build tree\r
-# simply because there is no reason against having it here, and in addition,\r
-# creating and moving files from /tmp can sometimes cause problems.\r
-# Hook for its removal unless debugging.\r
-# Note that there is a small window in which the directory will not be cleaned:\r
-# after its creation but before its name has been assigned to `$tmp'.\r
-$debug ||\r
-{\r
- tmp= ac_tmp=\r
- trap 'exit_status=$?\r
- : "${ac_tmp:=$tmp}"\r
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status\r
-' 0\r
- trap 'as_fn_exit 1' 1 2 13 15\r
-}\r
-# Create a (secure) tmp directory for tmp files.\r
-\r
-{\r
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&\r
- test -d "$tmp"\r
-} ||\r
-{\r
- tmp=./conf$$-$RANDOM\r
- (umask 077 && mkdir "$tmp")\r
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5\r
-ac_tmp=$tmp\r
-\r
-# Set up the scripts for CONFIG_FILES section.\r
-# No need to generate them if there are no CONFIG_FILES.\r
-# This happens for instance with `./config.status config.h'.\r
-if test -n "$CONFIG_FILES"; then\r
-\r
-\r
-ac_cr=`echo X | tr X '\015'`\r
-# On cygwin, bash can eat \r inside `` if the user requested igncr.\r
-# But we know of no other shell where ac_cr would be empty at this\r
-# point, so we can use a bashism as a fallback.\r
-if test "x$ac_cr" = x; then\r
- eval ac_cr=\$\'\\r\'\r
-fi\r
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`\r
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then\r
- ac_cs_awk_cr='\\r'\r
-else\r
- ac_cs_awk_cr=$ac_cr\r
-fi\r
-\r
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&\r
-_ACEOF\r
-\r
-\r
-{\r
- echo "cat >conf$$subs.awk <<_ACEOF" &&\r
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&\r
- echo "_ACEOF"\r
-} >conf$$subs.sh ||\r
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5\r
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`\r
-ac_delim='%!_!# '\r
-for ac_last_try in false false false false false :; do\r
- . ./conf$$subs.sh ||\r
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5\r
-\r
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`\r
- if test $ac_delim_n = $ac_delim_num; then\r
- break\r
- elif $ac_last_try; then\r
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5\r
- else\r
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
- fi\r
-done\r
-rm -f conf$$subs.sh\r
-\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&\r
-_ACEOF\r
-sed -n '\r
-h\r
-s/^/S["/; s/!.*/"]=/\r
-p\r
-g\r
-s/^[^!]*!//\r
-:repl\r
-t repl\r
-s/'"$ac_delim"'$//\r
-t delim\r
-:nl\r
-h\r
-s/\(.\{148\}\)..*/\1/\r
-t more1\r
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/\r
-p\r
-n\r
-b repl\r
-:more1\r
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/\r
-p\r
-g\r
-s/.\{148\}//\r
-t nl\r
-:delim\r
-h\r
-s/\(.\{148\}\)..*/\1/\r
-t more2\r
-s/["\\]/\\&/g; s/^/"/; s/$/"/\r
-p\r
-b\r
-:more2\r
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/\r
-p\r
-g\r
-s/.\{148\}//\r
-t delim\r
-' <conf$$subs.awk | sed '\r
-/^[^""]/{\r
- N\r
- s/\n//\r
-}\r
-' >>$CONFIG_STATUS || ac_write_fail=1\r
-rm -f conf$$subs.awk\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-_ACAWK\r
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&\r
- for (key in S) S_is_set[key] = 1\r
- FS = "\a"\r
-\r
-}\r
-{\r
- line = $ 0\r
- nfields = split(line, field, "@")\r
- substed = 0\r
- len = length(field[1])\r
- for (i = 2; i < nfields; i++) {\r
- key = field[i]\r
- keylen = length(key)\r
- if (S_is_set[key]) {\r
- value = S[key]\r
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)\r
- len += length(value) + length(field[++i])\r
- substed = 1\r
- } else\r
- len += 1 + keylen\r
- }\r
-\r
- print line\r
-}\r
-\r
-_ACAWK\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then\r
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"\r
-else\r
- cat\r
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \\r
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5\r
-_ACEOF\r
-\r
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),\r
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and\r
-# trailing colons and then remove the whole line if VPATH becomes empty\r
-# (actually we leave an empty line to preserve line numbers).\r
-if test "x$srcdir" = x.; then\r
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{\r
-h\r
-s///\r
-s/^/:/\r
-s/[ ]*$/:/\r
-s/:\$(srcdir):/:/g\r
-s/:\${srcdir}:/:/g\r
-s/:@srcdir@:/:/g\r
-s/^:*//\r
-s/:*$//\r
-x\r
-s/\(=[ ]*\).*/\1/\r
-G\r
-s/\n//\r
-s/^[^=]*=[ ]*$//\r
-}'\r
-fi\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-fi # test -n "$CONFIG_FILES"\r
-\r
-\r
-eval set X " :F $CONFIG_FILES "\r
-shift\r
-for ac_tag\r
-do\r
- case $ac_tag in\r
- :[FHLC]) ac_mode=$ac_tag; continue;;\r
- esac\r
- case $ac_mode$ac_tag in\r
- :[FHL]*:*);;\r
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;\r
- :[FH]-) ac_tag=-:-;;\r
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;\r
- esac\r
- ac_save_IFS=$IFS\r
- IFS=:\r
- set x $ac_tag\r
- IFS=$ac_save_IFS\r
- shift\r
- ac_file=$1\r
- shift\r
-\r
- case $ac_mode in\r
- :L) ac_source=$1;;\r
- :[FH])\r
- ac_file_inputs=\r
- for ac_f\r
- do\r
- case $ac_f in\r
- -) ac_f="$ac_tmp/stdin";;\r
- *) # Look for the file first in the build tree, then in the source tree\r
- # (if the path is not absolute). The absolute path cannot be DOS-style,\r
- # because $ac_f cannot contain `:'.\r
- test -f "$ac_f" ||\r
- case $ac_f in\r
- [\\/$]*) false;;\r
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;\r
- esac ||\r
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;\r
- esac\r
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac\r
- as_fn_append ac_file_inputs " '$ac_f'"\r
- done\r
-\r
- # Let's still pretend it is `configure' which instantiates (i.e., don't\r
- # use $as_me), people would be surprised to read:\r
- # /* config.h. Generated by config.status. */\r
- configure_input='Generated from '`\r
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'\r
- `' by configure.'\r
- if test x"$ac_file" != x-; then\r
- configure_input="$ac_file. $configure_input"\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5\r
-$as_echo "$as_me: creating $ac_file" >&6;}\r
- fi\r
- # Neutralize special characters interpreted by sed in replacement strings.\r
- case $configure_input in #(\r
- *\&* | *\|* | *\\* )\r
- ac_sed_conf_input=`$as_echo "$configure_input" |\r
- sed 's/[\\\\&|]/\\\\&/g'`;; #(\r
- *) ac_sed_conf_input=$configure_input;;\r
- esac\r
-\r
- case $ac_tag in\r
- *:-:* | *:-) cat >"$ac_tmp/stdin" \\r
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;\r
- esac\r
- ;;\r
- esac\r
-\r
- ac_dir=`$as_dirname -- "$ac_file" ||\r
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
- X"$ac_file" : 'X\(//\)[^/]' \| \\r
- X"$ac_file" : 'X\(//\)$' \| \\r
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||\r
-$as_echo X"$ac_file" |\r
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)[^/].*/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\/\)$/{\r
- s//\1/\r
- q\r
- }\r
- /^X\(\/\).*/{\r
- s//\1/\r
- q\r
- }\r
- s/.*/./; q'`\r
- as_dir="$ac_dir"; as_fn_mkdir_p\r
- ac_builddir=.\r
-\r
-case "$ac_dir" in\r
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
-*)\r
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`\r
- # A ".." for each directory in $ac_dir_suffix.\r
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`\r
- case $ac_top_builddir_sub in\r
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
- esac ;;\r
-esac\r
-ac_abs_top_builddir=$ac_pwd\r
-ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
-# for backward compatibility:\r
-ac_top_builddir=$ac_top_build_prefix\r
-\r
-case $srcdir in\r
- .) # We are building in place.\r
- ac_srcdir=.\r
- ac_top_srcdir=$ac_top_builddir_sub\r
- ac_abs_top_srcdir=$ac_pwd ;;\r
- [\\/]* | ?:[\\/]* ) # Absolute name.\r
- ac_srcdir=$srcdir$ac_dir_suffix;\r
- ac_top_srcdir=$srcdir\r
- ac_abs_top_srcdir=$srcdir ;;\r
- *) # Relative name.\r
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
- ac_top_srcdir=$ac_top_build_prefix$srcdir\r
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
-esac\r
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
-\r
-\r
- case $ac_mode in\r
- :F)\r
- #\r
- # CONFIG_FILE\r
- #\r
-\r
- case $INSTALL in\r
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;\r
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;\r
- esac\r
-_ACEOF\r
-\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-# If the template does not know about datarootdir, expand it.\r
-# FIXME: This hack should be removed a few years after 2.60.\r
-ac_datarootdir_hack=; ac_datarootdir_seen=\r
-ac_sed_dataroot='\r
-/datarootdir/ {\r
- p\r
- q\r
-}\r
-/@datadir@/p\r
-/@docdir@/p\r
-/@infodir@/p\r
-/@localedir@/p\r
-/@mandir@/p'\r
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in\r
-*datarootdir*) ac_datarootdir_seen=yes;;\r
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5\r
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
- ac_datarootdir_hack='\r
- s&@datadir@&$datadir&g\r
- s&@docdir@&$docdir&g\r
- s&@infodir@&$infodir&g\r
- s&@localedir@&$localedir&g\r
- s&@mandir@&$mandir&g\r
- s&\\\${datarootdir}&$datarootdir&g' ;;\r
-esac\r
-_ACEOF\r
-\r
-# Neutralize VPATH when `$srcdir' = `.'.\r
-# Shell code in configure.ac might set extrasub.\r
-# FIXME: do we really want to maintain this feature?\r
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1\r
-ac_sed_extra="$ac_vpsub\r
-$extrasub\r
-_ACEOF\r
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1\r
-:t\r
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b\r
-s|@configure_input@|$ac_sed_conf_input|;t t\r
-s&@top_builddir@&$ac_top_builddir_sub&;t t\r
-s&@top_build_prefix@&$ac_top_build_prefix&;t t\r
-s&@srcdir@&$ac_srcdir&;t t\r
-s&@abs_srcdir@&$ac_abs_srcdir&;t t\r
-s&@top_srcdir@&$ac_top_srcdir&;t t\r
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t\r
-s&@builddir@&$ac_builddir&;t t\r
-s&@abs_builddir@&$ac_abs_builddir&;t t\r
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t\r
-s&@INSTALL@&$ac_INSTALL&;t t\r
-$ac_datarootdir_hack\r
-"\r
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \\r
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5\r
-\r
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&\r
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&\r
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \\r
- "$ac_tmp/out"`; test -z "$ac_out"; } &&\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
-which seems to be undefined. Please make sure it is defined" >&5\r
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
-which seems to be undefined. Please make sure it is defined" >&2;}\r
-\r
- rm -f "$ac_tmp/stdin"\r
- case $ac_file in\r
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;\r
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;\r
- esac \\r
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5\r
- ;;\r
-\r
-\r
-\r
- esac\r
-\r
-done # for ac_tag\r
-\r
-\r
-as_fn_exit 0\r
-_ACEOF\r
-ac_clean_files=$ac_clean_files_save\r
-\r
-test $ac_write_fail = 0 ||\r
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5\r
-\r
-\r
-# configure is writing to config.log, and then calls config.status.\r
-# config.status does its own redirection, appending to config.log.\r
-# Unfortunately, on DOS this fails, as config.log is still kept open\r
-# by configure, so config.status won't be able to write to it; its\r
-# output is simply discarded. So we exec the FD to /dev/null,\r
-# effectively closing config.log, so it can be properly (re)opened and\r
-# appended to by config.status. When coming back to configure, we\r
-# need to make the FD available again.\r
-if test "$no_create" != yes; then\r
- ac_cs_success=:\r
- ac_config_status_args=\r
- test "$silent" = yes &&\r
- ac_config_status_args="$ac_config_status_args --quiet"\r
- exec 5>/dev/null\r
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false\r
- exec 5>>config.log\r
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which\r
- # would make configure fail if this is the last instruction.\r
- $ac_cs_success || as_fn_exit 1\r
-fi\r
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then\r
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5\r
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}\r
-fi\r
-\r
-\r
-if test -z "$PYTHON";\r
-then\r
- echo "" > data/rules.mk\r
- echo "" > test/testdata/rules.mk\r
-else\r
- if test -f "$srcdir/data/locales/root.txt";\r
- then\r
- echo "Spawning Python to generate data/rules.mk..."\r
- PYTHONPATH="$srcdir/python" \\r
- $PYTHON -m icutools.databuilder \\r
- --mode gnumake \\r
- --seqmode parallel \\r
- --src_dir "$srcdir/data" \\r
- --filter_file "$ICU_DATA_FILTER_FILE" \\r
- $ICU_DATA_BUILDTOOL_OPTS \\r
- > data/rules.mk\r
- if test "$?" != "0"; then\r
- as_fn_error $? "Python failed to run; see above error." "$LINENO" 5\r
- fi\r
- else\r
- echo "Not rebuilding data/rules.mk, assuming prebuilt data in data/in"\r
- touch data/rules.mk\r
- fi\r
- echo "Spawning Python to generate test/testdata/rules.mk..."\r
- PYTHONPATH="$srcdir/python" \\r
- $PYTHON -m icutools.databuilder \\r
- --mode gnumake \\r
- --seqmode parallel \\r
- --src_dir "$srcdir/test/testdata" \\r
- > test/testdata/rules.mk\r
- if test "$?" != "0"; then\r
- as_fn_error $? "Python failed to run; see above error." "$LINENO" 5\r
- fi\r
-fi\r
-\r
-echo\r
-echo "ICU for C/C++ $VERSION is ready to be built."\r
-echo "=== Important Notes: ==="\r
-\r
-echo "Data Packaging: $datapackaging"\r
-echo " This means: $datapackaging_msg"\r
-echo " To locate data: $datapackaging_howfound"\r
-\r
-if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then\r
-echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."\r
-else\r
-echo "** WARNING: $U_MAKE may not be GNU make."\r
-echo "This may cause ICU to fail to build. Please make sure that GNU make"\r
-echo "is in your PATH so that the configure script can detect its location."\r
-fi\r
-if test "x$AR" = "xfalse"; then\r
- echo "*** WARNING: Archiver ar not found. Set AR= or fix PATH. Some builds (such as static) may fail."\r
-fi\r
-\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5\r
-$as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }\r
-if "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM="$platform"; then\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5\r
-$as_echo "ok" >&6; }\r
-else\r
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5\r
-$as_echo "too old or test failed - try upgrading GNU Make" >&6; }\r
-fi\r
-\r
-\r
-if test -n "$UCONFIG_CPPFLAGS"; then\r
- HDRFILE="uconfig.h.prepend"\r
- echo "*** WARNING: You must set the following flags before code compiled against this ICU will function properly:"\r
- echo\r
- echo " ${UCONFIG_CPPFLAGS}"\r
- echo\r
- 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.'\r
- echo "Creating the file ${HDRFILE}"\r
- echo\r
- echo '--------------- ' "${HDRFILE}"\r
- echo > "${HDRFILE}"\r
- echo '/* ICU customizations: put these lines at the top of uconfig.h */' >> "${HDRFILE}"\r
- echo >> "${HDRFILE}"\r
- for flag in ${UCONFIG_CPPFLAGS};\r
- do\r
- echo " /* $flag */" >> "${HDRFILE}"\r
- case "${flag}" in\r
- -D*=*)\r
- \echo "${flag}" | sed -n 's%-D\([^=]*\)=%#define \1 %p' >> "${HDRFILE}"\r
- \echo >> "${HDRFILE}"\r
- ;;\r
- -D*)\r
- \echo "${flag}" | sed -n 's%-D\([^=]*\)%#define \1 %p' >> "${HDRFILE}"\r
- \echo >> "${HDRFILE}"\r
- ;;\r
- *)\r
- \echo "/* Not sure how to handle this argument: ${flag} */" >> "${HDRFILE}"\r
- \echo >> "${HDRFILE}"\r
- ;;\r
- esac\r
- done\r
- cat "${HDRFILE}"\r
- \echo "/* End of ${HDRFILE} ------------ */" >> "${HDRFILE}"\r
- echo >> "${HDRFILE}"\r
- echo '--------------- end ' "${HDRFILE}"\r
-fi\r
-\r
-\r
-if test -n "$UCONFIG_CFLAGS"; then\r
- echo "C apps may want to build with CFLAGS = ${UCONFIG_CFLAGS}"\r
-fi\r
-\r
-if test -n "$UCONFIG_CXXFLAGS"; then\r
- echo "C++ apps may want to build with CXXFLAGS = ${UCONFIG_CXXFLAGS}"\r
-fi\r
-\r
-if test "$tools" = false;\r
-then\r
- echo "## Note: you have disabled ICU's tools. This ICU cannot build its own data or tests."\r
- echo "## Expect build failures in the 'data', 'test', and other directories."\r
-fi\r
-\r
-if test -z "$PYTHON";\r
-then\r
- echo "** Note: Python not found. You will not be able to build data from source or run tests."\r
-fi\r
-\r
-$as_unset _CXX_CXXSUFFIX\r
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.69 for ICU 70.1.
+#
+# Report bugs to <http://icu-project.org/bugs>.
+#
+# Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
+#
+#
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
+if test "x$CONFIG_SHELL" = x; then
+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '\${1+\"\$@\"}'='\"\$@\"'
+ setopt NO_GLOB_SUBST
+else
+ case \`(set -o) 2>/dev/null\` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+"
+ as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
+
+exitcode=0
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+ exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+ if (eval "$as_required") 2>/dev/null; then :
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
+
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ as_found=:
+ case $as_dir in #(
+ /*)
+ for as_base in sh bash ksh sh5; do
+ # Try only shells that exist, to save several forks.
+ as_shell=$as_dir/$as_base
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ CONFIG_SHELL=$as_shell as_have_required=yes
+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+ break 2
+fi
+fi
+ done;;
+ esac
+ as_found=false
+done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+ CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
+IFS=$as_save_IFS
+
+
+ if test "x$CONFIG_SHELL" != x; then :
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
+fi
+
+ if test x$as_have_required = xno; then :
+ $as_echo "$0: This script requires a shell more modern than all"
+ $as_echo "$0: the shells that I found on your system."
+ if test x${ZSH_VERSION+set} = xset ; then
+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+ $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+ else
+ $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: http://icu-project.org/bugs about your system,
+$0: including any error possibly output before this
+$0: message. Then install a modern shell, or manually run
+$0: the script under such a shell if you do have one."
+ fi
+ exit 1
+fi
+fi
+fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
+
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+
+ as_lineno_1=$LINENO as_lineno_1a=$LINENO
+ as_lineno_2=$LINENO as_lineno_2a=$LINENO
+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+
+# Identity of this package.
+PACKAGE_NAME='ICU'
+PACKAGE_TARNAME='International Components for Unicode'
+PACKAGE_VERSION='70.1'
+PACKAGE_STRING='ICU 70.1'
+PACKAGE_BUGREPORT='http://icu-project.org/bugs'
+PACKAGE_URL='http://icu-project.org'
+
+ac_unique_file="common/unicode/utypes.h"
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='UCONFIG_CXXFLAGS
+UCONFIG_CFLAGS
+UCONFIG_CPPFLAGS
+LTLIBOBJS
+LIBOBJS
+LIBCXXFLAGS
+LIBCFLAGS
+platform_make_fragment
+platform_make_fragment_name
+platform
+ICUDATA_CHAR
+U_HAVE_SAMPLES
+SAMPLES_TRUE
+U_HAVE_TESTS
+TESTS_TRUE
+ICULIBSUFFIXCNAME
+U_HAVE_LIB_SUFFIX
+ICULIBSUFFIX
+DATA_PACKAGING_MODE
+thepkgicudatadir
+pkgicudatadir
+U_HAVE_DATA
+DATA_TRUE
+U_HAVE_FUZZER
+FUZZER_TRUE
+U_HAVE_TOOLS
+TOOLS_TRUE
+U_HAVE_LAYOUTEX
+LAYOUTEX_TRUE
+U_HAVE_ICUIO
+ICUIO_TRUE
+U_HAVE_EXTRAS
+EXTRAS_TRUE
+U_HAVE_WCSCPY
+U_HAVE_WCHAR_H
+U_HAVE_STRTOD_L
+U_TIMEZONE
+U_HAVE_TIMEZONE
+U_TZNAME
+U_HAVE_TZNAME
+U_TZSET
+U_HAVE_TZSET
+U_HAVE_POPEN
+U_HAVE_PLACEMENT_NEW
+U_OVERRIDE_CXX_ALLOCATION
+U_NL_LANGINFO_CODESET
+U_HAVE_NL_LANGINFO_CODESET
+U_IS_BIG_ENDIAN
+U_HAVE_DIRENT_H
+U_HAVE_INTTYPES_H
+GENCCODE_ASSEMBLY
+HAVE_MMAP
+LIB_THREAD
+ENABLE_RPATH
+U_ENABLE_DYLOAD
+U_HAVE_PLUGINS
+PLUGINS_TRUE
+U_ENABLE_TRACING
+U_DISABLE_RENAMING
+AR
+SED
+RANLIB
+U_DEFAULT_SHOW_DRAFT
+UCLN_NO_AUTO_CLEANUP
+ENABLE_STATIC
+ENABLE_SHARED
+LIB_M
+COMPILE_LINK_ENVVAR
+ARFLAGS
+EGREP
+GREP
+DOXYGEN
+cross_buildroot
+U_MAKE
+PYTHON
+cross_compiling
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+CPP
+ICULEHB_LIBS
+ICULEHB_CFLAGS
+PKG_CONFIG_LIBDIR
+PKG_CONFIG_PATH
+PKG_CONFIG
+ac_ct_CXX
+CXXFLAGS
+CXX
+OBJEXT
+EXEEXT
+ac_ct_CC
+LDFLAGS
+CFLAGS
+CC
+ENABLE_RELEASE
+ENABLE_DEBUG
+INSTALL_ICU_CONFIG
+CPPFLAGS
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+UNICODE_VERSION
+LIB_VERSION_MAJOR
+LIB_VERSION
+VERSION
+ICU_ECHO_T
+ICU_ECHO_C
+ICU_ECHO_N
+PACKAGE
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+runstatedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
+ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_icu_config
+enable_debug
+enable_release
+with_cross_build
+enable_strict
+enable_64bit_libs
+with_library_bits
+enable_shared
+enable_static
+enable_auto_cleanup
+enable_draft
+enable_renaming
+enable_tracing
+enable_plugins
+enable_dyload
+enable_rpath
+enable_weak_threads
+enable_extras
+enable_icuio
+enable_layoutex
+enable_layout
+enable_tools
+enable_fuzzer
+with_data_packaging
+with_library_suffix
+enable_tests
+enable_samples
+'
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CXX
+CXXFLAGS
+CCC
+PKG_CONFIG
+PKG_CONFIG_PATH
+PKG_CONFIG_LIBDIR
+ICULEHB_CFLAGS
+ICULEHB_LIBS
+CPP'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *=) ac_optarg= ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid feature name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"enable_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval enable_$ac_useropt=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -runstatedir | --runstatedir | --runstatedi | --runstated \
+ | --runstate | --runstat | --runsta | --runst | --runs \
+ | --run | --ru | --r)
+ ac_prev=runstatedir ;;
+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+ | --run=* | --ru=* | --r=*)
+ runstatedir=$ac_optarg ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+ as_fn_error $? "invalid package name: $ac_useropt"
+ ac_useropt_orig=$ac_useropt
+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+ case $ac_user_opts in
+ *"
+"with_$ac_useropt"
+"*) ;;
+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+ ac_unrecognized_sep=', ';;
+ esac
+ eval with_$ac_useropt=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ case $ac_envvar in #(
+ '' | [0-9]* | *[!_$as_cr_alnum]* )
+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+ esac
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+ case $enable_option_checking in
+ no) ;;
+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+ esac
+fi
+
+# Check all directory arguments for consistency.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir runstatedir
+do
+ eval ac_val=\$$ac_var
+ # Remove trailing slashes.
+ case $ac_val in
+ */ )
+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+ eval $ac_var=\$ac_val;;
+ esac
+ # Be sure to have absolute directory names.
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ as_fn_error $? "working directory cannot be determined"
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ as_fn_error $? "pwd does not report name of working directory"
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_myself" : 'X\(//\)[^/]' \| \
+ X"$as_myself" : 'X\(//\)$' \| \
+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures ICU 70.1 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking ...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/International
+ Components for Unicode]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of ICU 70.1:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-icu-config install icu-config
+ --enable-debug build debug libraries and enable the U_DEBUG define default=no
+ --enable-release build release libraries default=yes
+ --enable-strict compile with strict compiler options default=yes
+ --enable-64bit-libs (deprecated, use --with-library-bits) build 64-bit libraries default= platform default
+ --enable-shared build shared libraries default=yes
+ --enable-static build static libraries default=no
+ --enable-auto-cleanup enable auto cleanup of libraries default=no
+ --enable-draft enable draft APIs (and internal APIs) default=yes
+ --enable-renaming add a version suffix to symbols default=yes
+ --enable-tracing enable function and data tracing default=no
+ --enable-plugins enable plugins default=no
+ --disable-dyload disable dynamic loading default=no
+ --enable-rpath use rpath when linking default is only if necessary
+ --enable-weak-threads weakly reference the threading library default=no
+ --enable-extras build ICU extras default=yes
+ --enable-icuio build ICU's icuio library default=yes
+ --enable-layoutex build ICU's Paragraph Layout library default=no.
+ icu-le-hb must be installed via pkg-config. See http://harfbuzz.org
+
+ --enable-tools build ICU's tools default=yes
+ --enable-fuzzer build ICU's fuzzer test targets default=no
+ --enable-tests build ICU tests default=yes
+ --enable-samples build ICU samples default=yes
+
+Additionally, the variable FORCE_LIBS may be set before calling configure.
+If set, it will REPLACE any automatic list of libraries.
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-cross-build=dir specify an absolute path to the build directory of an ICU built for the current platform default=no cross dir
+ --with-library-bits=bits specify how many bits to use for the library (32, 64, 64else32, nochange) default=nochange
+ --with-data-packaging specify how to package ICU data. Possible values:
+ files raw files (.res, etc)
+ archive build a single icudtXX.dat file
+ library shared library (.dll/.so/etc.)
+ static static library (.a/.lib/etc.)
+ auto build shared if possible (default)
+ See https://unicode-org.github.io/icu/userguide/icudata for more info.
+ --with-library-suffix=suffix tag a suffix to the library names default=
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ PKG_CONFIG path to pkg-config utility
+ PKG_CONFIG_PATH
+ directories to add to pkg-config's search path
+ PKG_CONFIG_LIBDIR
+ path overriding pkg-config's built-in search path
+ ICULEHB_CFLAGS
+ C compiler flags for ICULEHB, overriding pkg-config
+ ICULEHB_LIBS
+ linker flags for ICULEHB, overriding pkg-config
+ CPP C preprocessor
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+Report bugs to <http://icu-project.org/bugs>.
+ICU home page: <http://icu-project.org>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" ||
+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+ continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+ICU configure 70.1
+generated by GNU Autoconf 2.69
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+
+ Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html
+_ACEOF
+ exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext
+ if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_compile
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } > conftest.i && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_cxx_try_link LINENO
+# -------------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_link
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: program exited with status $ac_status" >&5
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=$ac_status
+fi
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
+# --------------------------------------------
+# Tries to find the compile-time value of EXPR in a program that includes
+# INCLUDES, setting VAR accordingly. Returns whether the value could be
+# computed
+ac_fn_c_compute_int ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= 0)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=$ac_mid; break
+else
+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) < 0)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) >= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_lo=$ac_mid; break
+else
+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ ac_lo= ac_hi=
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+static int test_array [1 - 2 * !(($2) <= $ac_mid)];
+test_array [0] = 0;
+return test_array [0];
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_hi=$ac_mid
+else
+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in #((
+?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
+'') ac_retval=1 ;;
+esac
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+static long int longval () { return $2; }
+static unsigned long int ulongval () { return $2; }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (($2) < 0)
+ {
+ long int i = longval ();
+ if (i != ($2))
+ return 1;
+ fprintf (f, "%ld", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ($2))
+ return 1;
+ fprintf (f, "%lu", i);
+ }
+ /* Do not output a trailing newline, as this causes \r\n confusion
+ on some platforms. */
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ echo >>conftest.val; read $3 <conftest.val; ac_retval=0
+else
+ ac_retval=1
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+rm -f conftest.val
+
+ fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_compute_int
+
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_compile
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ grep -v '^ *+' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ mv -f conftest.er1 conftest.err
+ fi
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext && {
+ test "$cross_compiling" = yes ||
+ test -x conftest$ac_exeext
+ }; then :
+ ac_retval=0
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_retval=1
+fi
+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+ # interfere with the next link command; also delete a directory that is
+ # left behind by Apple's compiler. We do this before executing the actions.
+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+ as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ if eval \${$3+:} false; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_header_compiler=yes
+else
+ ac_header_compiler=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ ac_header_preproc=yes
+else
+ ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+ yes:no: )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+ ;;
+ no:yes:* )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## ------------------------------------------ ##
+## Report this to http://icu-project.org/bugs ##
+## ------------------------------------------ ##"
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_header_mongrel
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $2 (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+
+# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
+# ---------------------------------------------
+# Tests whether TYPE exists after having included INCLUDES, setting cache
+# variable VAR accordingly.
+ac_fn_cxx_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_cxx_check_type
+
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+# -------------------------------------------
+# Tests whether TYPE exists after having included INCLUDES, setting cache
+# variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ eval "$3=no"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_type
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by ICU $as_me 70.1, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ $as_echo "PATH: $as_dir"
+ done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
+ 2)
+ as_fn_append ac_configure_args1 " '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ as_fn_append ac_configure_args " '$ac_arg'"
+ ;;
+ esac
+ done
+done
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ $as_echo "## ---------------- ##
+## Cache variables. ##
+## ---------------- ##"
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ $as_echo "## ----------------- ##
+## Output variables. ##
+## ----------------- ##"
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ $as_echo "## ------------------- ##
+## File substitutions. ##
+## ------------------- ##"
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ $as_echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ $as_echo "## ----------- ##
+## confdefs.h. ##
+## ----------- ##"
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ $as_echo "$as_me: caught signal $ac_signal"
+ $as_echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+$as_echo "/* confdefs.h */" > confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
+if test -n "$CONFIG_SITE"; then
+ # We do not want a PATH search for config.site.
+ case $CONFIG_SITE in #((
+ -*) ac_site_file1=./$CONFIG_SITE;;
+ */*) ac_site_file1=$CONFIG_SITE;;
+ *) ac_site_file1=./$CONFIG_SITE;;
+ esac
+elif test "x$prefix" != xNONE; then
+ ac_site_file1=$prefix/share/config.site
+ ac_site_file2=$prefix/etc/config.site
+else
+ ac_site_file1=$ac_default_prefix/share/config.site
+ ac_site_file2=$ac_default_prefix/etc/config.site
+fi
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
+do
+ test "x$ac_site_file" = xNONE && continue
+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file" \
+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special files
+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`
+ if test "$ac_old_val_w" != "$ac_new_val_w"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ ac_cache_corrupted=:
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+ eval $ac_var=\$ac_old_val
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) as_fn_append ac_configure_args " '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+# Instruct Python to never write any byte code to the ICU source tree.
+PYTHONDONTWRITEBYTECODE=1
+export PYTHONDONTWRITEBYTECODE
+
+
+
+
+PACKAGE="icu"
+
+
+# Use custom echo test for newline option
+# Current autoconf (2.65) gives incorrect echo newline option
+# for icu-config
+# This may be removed later - mow (June 17, 2010)
+ICU_ECHO_C= ICU_ECHO_N= ICU_ECHO_T=
+case `/bin/sh -c "echo -n x"` in
+-n*)
+ case `/bin/sh -c "echo 'x\c'"` in
+ *c*) ICU_ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ICU_ECHO_C='\c';;
+ esac;;
+*)
+ ICU_ECHO_N='-n';;
+esac
+
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5
+$as_echo_n "checking for ICU version numbers... " >&6; }
+
+# Get the ICU version from uversion.h or other headers
+geticuversion() {
+ sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
+}
+getuversion() {
+ sed -n 's/^[ ]*#[ ]*define[ ]*U_UNICODE_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
+}
+VERSION=`geticuversion $srcdir/common/unicode/uvernum.h`
+if test x"$VERSION" = x; then
+ as_fn_error $? "Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5
+fi
+
+#TODO: IcuBug:8502
+#if test "$VERSION" != "$PACKAGE_VERSION"; then
+# AC_MSG_ERROR([configure was generated for $PACKAGE_VERSION but uvernum.h has $VERSION - please rerun autoconf])
+#fi
+
+UNICODE_VERSION=`getuversion $srcdir/common/unicode/uchar.h`
+if test x"$UNICODE_VERSION" = x; then
+ as_fn_error $? "Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5
+fi
+# Compute a reasonable library version from the release version. This is
+# very bad, but that's wanted... We want to make sure that the LIB_VERSION
+# has at least a dot in it, so we'll add a .0 if needed.
+#[LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`]
+LIB_VERSION=$VERSION
+LIB_VERSION_MAJOR=`echo $LIB_VERSION | sed 's/\..*//'`
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5
+$as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; }
+
+
+
+# Determine the host system
+ac_aux_dir=
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+
+
+
+# This variable is needed on z/OS because the C++ compiler only recognizes .C
+_CXX_CXXSUFFIX=cpp
+export _CXX_CXXSUFFIX
+
+# Accumulate #defines
+
+# CONFIG_CPPFLAGS: These are defines that are set for ICU Build time only.
+# They are only needed for building ICU itself. Example: platform stuff
+CONFIG_CPPFLAGS=""
+# UCONFIG_CPPFLAGS: These are defines which are set for ICU build time,
+# and also a notice is output that they need to be set
+# for end-users of ICU also. uconfig.h.prepend is generated
+# with, for example, "#define U_DISABLE_RENAMING 1"
+# Example: ICU configuration stuff
+UCONFIG_CPPFLAGS=""
+# UCONFIG_CFLAGS: contains a copy of anything that needs to be set by end users
+# such as -std
+UCONFIG_CFLAGS=""
+
+# Check whether to install icu-config
+# Check whether --enable-icu-config was given.
+if test "${enable_icu_config+set}" = set; then :
+ enableval=$enable_icu_config; case "${enableval}" in
+ yes) enable_icu_config=true ;;
+ no) enable_icu_config=false ;;
+ *) as_fn_error $? "bad value '${enableval}' for --enable-icu-config" "$LINENO" 5 ;;
+ esac
+else
+ enable_icu_config=true
+fi
+
+INSTALL_ICU_CONFIG=$enable_icu_config
+
+
+# Check whether to build debug libraries
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5
+$as_echo_n "checking whether to build debug libraries... " >&6; }
+enabled=no
+ENABLE_DEBUG=0
+# Check whether --enable-debug was given.
+if test "${enable_debug+set}" = set; then :
+ enableval=$enable_debug; case "${enableval}" in
+ yes|"") enabled=yes; ENABLE_DEBUG=1; CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEBUG=1" ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# Check whether to build release libraries
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5
+$as_echo_n "checking whether to build release libraries... " >&6; }
+enabled=yes
+ENABLE_RELEASE=1
+# Check whether --enable-release was given.
+if test "${enable_release+set}" = set; then :
+ enableval=$enable_release; case "${enableval}" in
+ no) enabled=no; ENABLE_RELEASE=0 ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# Don't use the default C/CXXFLags
+: ${CFLAGS=""}
+: ${CXXFLAGS=""}
+
+# Checks for compilers
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in clang gcc cc c99 c89 xlc_r xlc cl.exe icc
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { { ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+if test -z "$ac_file"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
+ac_exeext=$ac_cv_exeext
+
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+ { { ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+ if { ac_try='./conftest$ac_cv_exeext'
+ { { case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { { ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then :
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GCC=yes
+else
+ GCC=
+fi
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+else
+ CFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+struct stat;
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_prog_cc_c89=$ac_arg
+fi
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
+ xno)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
+
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+# Make sure that we try clang++ first, which provides C++11 support.
+# The g++ compiler is less likely to support C++11.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in clang++ g++ c++ gpp xlC_r xlC aCC CC cxx cc++ cl.exe icc FCC KCC RCC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+ { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+ ac_status=$?
+ if test -s conftest.err; then
+ sed '10a\
+... rest of stderr output deleted ...
+ 10q' conftest.err >conftest.er1
+ cat conftest.er1 >&5
+ fi
+ rm -f conftest.er1 conftest.err
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }
+done
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_compiler_gnu=yes
+else
+ ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+ GXX=yes
+else
+ GXX=
+fi
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+else
+ CXXFLAGS=""
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+else
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ac_cv_prog_cxx_g=yes
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# pkg-config is needed for harfbuzz support
+
+
+
+
+
+
+
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_path_PKG_CONFIG"; then
+ ac_pt_PKG_CONFIG=$PKG_CONFIG
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $ac_pt_PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+if test -n "$ac_pt_PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_pt_PKG_CONFIG" = x; then
+ PKG_CONFIG=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ PKG_CONFIG=$ac_pt_PKG_CONFIG
+ fi
+else
+ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+fi
+
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=0.20
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ PKG_CONFIG=""
+ fi
+fi
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICULEHB" >&5
+$as_echo_n "checking for ICULEHB... " >&6; }
+
+if test -n "$ICULEHB_CFLAGS"; then
+ pkg_cv_ICULEHB_CFLAGS="$ICULEHB_CFLAGS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le-hb\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_ICULEHB_CFLAGS=`$PKG_CONFIG --cflags "icu-le-hb" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+if test -n "$ICULEHB_LIBS"; then
+ pkg_cv_ICULEHB_LIBS="$ICULEHB_LIBS"
+ elif test -n "$PKG_CONFIG"; then
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-le-hb\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "icu-le-hb") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_ICULEHB_LIBS=`$PKG_CONFIG --libs "icu-le-hb" 2>/dev/null`
+ test "x$?" != "x0" && pkg_failed=yes
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ ICULEHB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-le-hb" 2>&1`
+ else
+ ICULEHB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-le-hb" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$ICULEHB_PKG_ERRORS" >&5
+
+ :
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ :
+else
+ ICULEHB_CFLAGS=$pkg_cv_ICULEHB_CFLAGS
+ ICULEHB_LIBS=$pkg_cv_ICULEHB_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ have_icu_le_hb=true
+fi
+
+# Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option
+# The release mode use is the default one for autoconf
+if test "$GCC" = yes; then
+ if test "$CFLAGS" = ""; then
+ if test "$ENABLE_DEBUG" = 1; then
+ CFLAGS=-g
+ fi
+ if test "$ENABLE_RELEASE" = 1; then
+ CFLAGS="$CFLAGS -O2"
+ fi
+ fi
+ if test "$CXXFLAGS" = ""; then
+ if test "$ENABLE_DEBUG" = 1; then
+ CXXFLAGS=-g
+ fi
+ if test "$ENABLE_RELEASE" = 1; then
+ CXXFLAGS="$CXXFLAGS -O2"
+ fi
+ fi
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if ${ac_cv_prog_CPP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+
+else
+ # Broken: fails on valid input.
+continue
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ # Broken: success on invalid input.
+continue
+else
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
+else
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
+if test -z "$INSTALL"; then
+if ${ac_cv_path_install+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+ ./ | .// | /[cC]/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ rm -rf conftest.one conftest.two conftest.dir
+ echo one > conftest.one
+ echo two > conftest.two
+ mkdir conftest.dir
+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+ test -s conftest.one && test -s conftest.two &&
+ test -s conftest.dir/conftest.one &&
+ test -s conftest.dir/conftest.two
+ then
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+
+ done
+IFS=$as_save_IFS
+
+rm -rf conftest.one conftest.two conftest.dir
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# make sure install is relative to srcdir - if a script
+if test "$srcdir" = "."; then
+ # If srcdir isn't just ., then (srcdir) is already prepended.
+ if test "${ac_install_sh}" = "${INSTALL}"; then
+ INSTALL="\\\$(top_srcdir)/${ac_install_sh}"
+ fi
+fi
+
+#AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
+#AC_CHECK_PROG(STRIP, strip, strip, true)
+
+# TODO(ICU-20301): Remove fallback to Python 2.
+for ac_prog in python3 "py -3" python "py"
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_PYTHON+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$PYTHON"; then
+ ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_PYTHON="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+PYTHON=$ac_cv_prog_PYTHON
+if test -n "$PYTHON"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
+$as_echo "$PYTHON" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$PYTHON" && break
+done
+
+
+
+# Check for the platform make
+for ac_prog in gmake gnumake
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_U_MAKE+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $U_MAKE in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+U_MAKE=$ac_cv_path_U_MAKE
+if test -n "$U_MAKE"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5
+$as_echo "$U_MAKE" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$U_MAKE" && break
+done
+test -n "$U_MAKE" || U_MAKE="make"
+
+
+
+
+
+# Check whether --with-cross-build was given.
+if test "${with_cross_build+set}" = set; then :
+ withval=$with_cross_build; cross_buildroot="${withval}"
+else
+ cross_buildroot=""
+fi
+
+
+if test "X$cross_buildroot" = "X"; then
+ if test "$cross_compiling" = "yes"; then
+ 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
+ fi
+else
+ if test -f "${cross_buildroot}/config/icucross.mk"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5
+$as_echo "Using cross buildroot: $cross_buildroot" >&6; }
+ else
+ if test -d "${cross_buildroot}"; then
+ as_fn_error $? "${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5
+ else
+ as_fn_error $? "No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5
+ fi
+ fi
+fi
+
+
+# Check for doxygen to generate documentation
+# Extract the first word of "doxygen", so it can be a program name with args.
+set dummy doxygen; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_DOXYGEN+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $DOXYGEN in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="$PATH:/usr/local/bin:/usr/bin"
+for as_dir in $as_dummy
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+DOXYGEN=$ac_cv_path_DOXYGEN
+if test -n "$DOXYGEN"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
+$as_echo "$DOXYGEN" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+# Check that the linker is usable
+
+case "${host}" in
+ *-*-cygwin*|*-*-mingw*)
+ if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
+ as_fn_error $? "link.exe is not a valid linker. Your PATH is incorrect.
+ Please follow the directions in ICU's readme." "$LINENO" 5
+ fi;;
+ *);;
+esac
+
+# Determine the executable suffix
+# We don't use AC_EXEEXT because some compilers output separate debugging
+# files, which confuses the AC_EXEEXT macro.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5
+$as_echo_n "checking checking for executable suffix... " >&6; }
+case "${host}" in
+ *-*-cygwin*|*-*-mingw*) EXEEXT=.exe ;;
+ *) EXEEXT="" ;;
+esac
+ac_exeext=$EXEEXT
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
+$as_echo "$EXEEXT" >&6; }
+
+
+# Determine how strict we want to be when compiling
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5
+$as_echo_n "checking whether strict compiling is on... " >&6; }
+ # Check whether --enable-strict was given.
+if test "${enable_strict+set}" = set; then :
+ enableval=$enable_strict;
+ if test "$enableval" = no
+ then
+ ac_use_strict_options=no
+ else
+ ac_use_strict_options=yes
+ fi
+
+else
+ ac_use_strict_options=yes
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5
+$as_echo "$ac_use_strict_options" >&6; }
+
+ if test "$ac_use_strict_options" = yes
+ then
+ if test "$GCC" = yes
+ then
+ case "${host}" in
+ *-*-solaris*)
+ # Don't use -std=c11 on Solaris because of timezone check fails
+ ;;
+ *)
+ # Do not use -ansi. It limits us to C90, and it breaks some platforms.
+ # We use -std=c11 to disable the gnu99 defaults and its associated warnings
+ CFLAGS="$CFLAGS -std=c11"
+ ;;
+ esac
+
+ CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
+ else
+ case "${host}" in
+ *-*-cygwin)
+ if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
+ then
+ CFLAGS="$CFLAGS /W4"
+ fi ;;
+ *-*-mingw*)
+ CFLAGS="$CFLAGS -W4" ;;
+ esac
+ fi
+ if test "$GXX" = yes
+ then
+ CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
+ else
+ case "${host}" in
+ *-*-cygwin)
+ if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
+ then
+ CXXFLAGS="$CXXFLAGS /W4"
+ fi ;;
+ *-*-mingw*)
+ CFLAGS="$CFLAGS -W4" ;;
+ esac
+ fi
+ fi
+
+
+# Check if we can build and use 64-bit libraries
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -z "$GREP"; then
+ ac_path_GREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_GREP" || continue
+# Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_GREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_GREP"; then
+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ if test -z "$EGREP"; then
+ ac_path_EGREP_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_EGREP" || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_EGREP_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_EGREP"; then
+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+ fi
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_header_stdc=yes
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then :
+ :
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+
+else
+ ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+ BITS_REQ=nochange
+ ENABLE_64BIT_LIBS=unknown
+ ## revisit this for cross-compile.
+
+ # Check whether --enable-64bit-libs was given.
+if test "${enable_64bit_libs+set}" = set; then :
+ enableval=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"
+ case "${enableval}" in
+ no|false|32) with_library_bits=32; ;;
+ yes|true|64) with_library_bits=64else32 ;;
+ nochange) with_library_bits=nochange; ;;
+ *) as_fn_error $? "bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;;
+ esac
+fi
+
+
+
+
+# Check whether --with-library-bits was given.
+if test "${with_library_bits+set}" = set; then :
+ withval=$with_library_bits; case "${withval}" in
+ ""|nochange) BITS_REQ=$withval ;;
+ 32|64|64else32) BITS_REQ=$withval ;;
+ *) as_fn_error $? "bad value ${withval} for --with-library-bits" "$LINENO" 5 ;;
+ esac
+fi
+
+
+ # don't use these for cross compiling
+ if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then
+ 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
+ fi
+ # The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
+$as_echo_n "checking size of void *... " >&6; }
+if ${ac_cv_sizeof_void_p+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
+
+else
+ if test "$ac_cv_type_void_p" = yes; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (void *)
+See \`config.log' for more details" "$LINENO" 5; }
+ else
+ ac_cv_sizeof_void_p=0
+ fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
+$as_echo "$ac_cv_sizeof_void_p" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
+_ACEOF
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5
+$as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }
+ case $ac_cv_sizeof_void_p in
+ 8) DEFAULT_64BIT=yes ;;
+ 4) DEFAULT_64BIT=no ;;
+ *) DEFAULT_64BIT=unknown
+ esac
+ BITS_GOT=unknown
+
+ # 'OK' here means, we can exit any further checking, everything's copa
+ BITS_OK=yes
+
+ # do we need to check for buildable/runnable 32 or 64 bit?
+ BITS_CHECK_32=no
+ BITS_CHECK_64=no
+
+ # later, can we run the 32/64 bit binaries so made?
+ BITS_RUN_32=no
+ BITS_RUN_64=no
+
+ if test "$DEFAULT_64BIT" = "yes"; then
+ # we get 64 bits by default.
+ BITS_GOT=64
+ case "$BITS_REQ" in
+ 32)
+ # need to look for 32 bit support.
+ BITS_CHECK_32=yes
+ # not copa.
+ BITS_OK=no;;
+ # everyone else is happy.
+ nochange) ;;
+ *) ;;
+ esac
+ elif test "$DEFAULT_64BIT" = "no"; then
+ # not 64 bit by default.
+ BITS_GOT=32
+ case "$BITS_REQ" in
+ 64|64else32)
+ BITS_CHECK_64=yes
+ #BITS_CHECK_32=yes
+ BITS_OK=no;;
+ nochange) ;;
+ *) ;;
+ esac
+ elif test "$DEFAULT_64BIT" = "unknown"; then
+ # cross compiling.
+ BITS_GOT=unknown
+ case "$BITS_REQ" in
+ 64|64else32) BITS_OK=no
+ BITS_CHECK_32=yes
+ BITS_CHECK_64=yes ;;
+ 32) BITS_OK=no;;
+ nochange) ;;
+ *) ;;
+ esac
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5
+$as_echo "$DEFAULT_64BIT" >&6; };
+
+ if test "$BITS_OK" != "yes"; then
+ # not copa. back these up.
+ CFLAGS_OLD="${CFLAGS}"
+ CXXFLAGS_OLD="${CXXFLAGS}"
+ LDFLAGS_OLD="${LDFLAGS}"
+ ARFLAGS_OLD="${ARFLAGS}"
+
+ CFLAGS_32="${CFLAGS}"
+ CXXFLAGS_32="${CXXFLAGS}"
+ LDFLAGS_32="${LDFLAGS}"
+ ARFLAGS_32="${ARFLAGS}"
+
+ CFLAGS_64="${CFLAGS}"
+ CXXFLAGS_64="${CXXFLAGS}"
+ LDFLAGS_64="${LDFLAGS}"
+ ARFLAGS_64="${ARFLAGS}"
+
+ CAN_BUILD_64=unknown
+ CAN_BUILD_32=unknown
+ # These results can't be cached because is sets compiler flags.
+ if test "$BITS_CHECK_64" = "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5
+$as_echo_n "checking how to build 64-bit executables... " >&6; }
+ CAN_BUILD_64=no
+ ####
+ # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.
+ # Note, we don't have to actually check if the options work- we'll try them before using them.
+ # So, only try actually testing the options, if you are trying to decide between multiple options.
+ # On exit from the following clauses:
+ # if CAN_BUILD_64=yes:
+ # *FLAGS are assumed to contain the right settings for 64bit
+ # else if CAN_BUILD_64=no: (default)
+ # *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD
+
+ if test "$GCC" = yes; then
+ CFLAGS="${CFLAGS} -m64"
+ CXXFLAGS="${CXXFLAGS} -m64"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ else
+ case "${host}" in
+ sparc*-*-solaris*)
+ # 1. try -m64
+ CFLAGS="${CFLAGS} -m64"
+ CXXFLAGS="${CXXFLAGS} -m64"
+ if test "$cross_compiling" = yes; then :
+ CAN_BUILD_64=unknown
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ if test "$CAN_BUILD_64" != yes; then
+ # Nope. back out changes.
+ CFLAGS="${CFLAGS_OLD}"
+ CXXFLAGS="${CXXFLAGS_OLD}"
+ # 2. try xarch=v9 [deprecated]
+ ## TODO: cross compile: the following won't work.
+ SPARCV9=`isainfo -n 2>&1 | grep sparcv9`
+ SOL64=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
+ # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"
+ if test -z "$SOL64" && test -n "$SPARCV9"; then
+ CFLAGS="${CFLAGS} -xtarget=ultra -xarch=v9"
+ CXXFLAGS="${CXXFLAGS} -xtarget=ultra -xarch=v9"
+ LDFLAGS="${LDFLAGS} -xtarget=ultra -xarch=v9"
+ CAN_BUILD_64=yes
+ fi
+ fi
+ ;;
+ i386-*-solaris*)
+ # 1. try -m64
+ CFLAGS="${CFLAGS} -m64"
+ CXXFLAGS="${CXXFLAGS} -m64"
+ if test "$cross_compiling" = yes; then :
+ CAN_BUILD_64=unknown
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ if test "$CAN_BUILD_64" != yes; then
+ # Nope. back out changes.
+ CFLAGS="${CFLAGS_OLD}"
+ CXXFLAGS="${CXXFLAGS_OLD}"
+ # 2. try the older compiler option
+ ## TODO: cross compile problem
+ AMD64=`isainfo -n 2>&1 | grep amd64`
+ SOL64=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
+ if test -z "$SOL64" && test -n "$AMD64"; then
+ CFLAGS="${CFLAGS} -xtarget=generic64"
+ CXXFLAGS="${CXXFLAGS} -xtarget=generic64"
+ CAN_BUILD_64=yes
+ fi
+ fi
+ ;;
+ ia64-*-linux*)
+ # check for ecc/ecpc compiler support
+ ## TODO: cross compiler problem
+ if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
+ if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
+ CAN_BUILD_64=yes
+ fi
+ fi
+ ;;
+ *-*-cygwin)
+ # vcvarsamd64.bat should have been used to enable 64-bit builds.
+ # We only do this check to display the correct answer.
+ ## TODO: cross compiler problem
+ if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
+ CAN_BUILD_64=yes
+ fi
+ ;;
+ *-*-aix*|powerpc64-*-linux*)
+ CFLAGS="${CFLAGS} -q64"
+ CXXFLAGS="${CXXFLAGS} -q64"
+ LDFLAGS="${LDFLAGS} -q64"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$CAN_BUILD_64" = yes; then
+ # worked- set other options.
+ case "${host}" in
+ *-*-aix*)
+ # tell AIX what executable mode to use.
+ ARFLAGS="${ARFLAGS} -X64"
+ esac
+ fi
+ ;;
+ *-*-hpux*)
+ # First we try the newer +DD64, if that doesn't work,
+ # try other options.
+
+ CFLAGS="${CFLAGS} +DD64"
+ CXXFLAGS="${CXXFLAGS} +DD64"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$CAN_BUILD_64" != yes; then
+ # reset
+ CFLAGS="${CFLAGS_OLD}"
+ CXXFLAGS="${CXXFLAGS_OLD}"
+ # append
+ CFLAGS="${CFLAGS} +DA2.0W"
+ CXXFLAGS="${CXXFLAGS} +DA2.0W"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ ;;
+ *-*ibm-openedition*|*-*-os390*)
+ CFLAGS="${CFLAGS} -Wc,lp64"
+ CXXFLAGS="${CXXFLAGS} -Wc,lp64"
+ LDFLAGS="${LDFLAGS} -Wl,lp64"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_64=yes
+else
+ CAN_BUILD_64=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ;;
+ *)
+ # unknown platform.
+ ;;
+ esac
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5
+$as_echo "$CAN_BUILD_64" >&6; }
+ if test "$CAN_BUILD_64" = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5
+$as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }
+ if test "$cross_compiling" = yes; then :
+ BITS_RUN_64=unknown
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==64)?0:1;}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ BITS_RUN_64=yes
+else
+ BITS_RUN_64=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5
+$as_echo "$BITS_RUN_64" >&6; };
+
+ CFLAGS_64="${CFLAGS}"
+ CXXFLAGS_64="${CXXFLAGS}"
+ LDFLAGS_64="${LDFLAGS}"
+ ARFLAGS_64="${ARFLAGS}"
+ fi
+ # put it back.
+ CFLAGS="${CFLAGS_OLD}"
+ CXXFLAGS="${CXXFLAGS_OLD}"
+ LDFLAGS="${LDFLAGS_OLD}"
+ ARFLAGS="${ARFLAGS_OLD}"
+ fi
+ if test "$BITS_CHECK_32" = "yes"; then
+ # see comment under 'if BITS_CHECK_64', above.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5
+$as_echo_n "checking how to build 32-bit executables... " >&6; }
+ if test "$GCC" = yes; then
+ CFLAGS="${CFLAGS} -m32"
+ CXXFLAGS="${CXXFLAGS} -m32"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==32)?0:1;}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CAN_BUILD_32=yes
+else
+ CAN_BUILD_32=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5
+$as_echo "$CAN_BUILD_32" >&6; }
+ if test "$CAN_BUILD_32" = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5
+$as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }
+ if test "$cross_compiling" = yes; then :
+ BITS_RUN_32=unknown
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main(void) {return (sizeof(void*)*8==32)?0:1;}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ BITS_RUN_32=yes
+else
+ BITS_RUN_32=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5
+$as_echo "$BITS_RUN_32" >&6; };
+ CFLAGS_32="${CFLAGS}"
+ CXXFLAGS_32="${CXXFLAGS}"
+ LDFLAGS_32="${LDFLAGS}"
+ ARFLAGS_32="${ARFLAGS}"
+ fi
+ # put it back.
+ CFLAGS="${CFLAGS_OLD}"
+ CXXFLAGS="${CXXFLAGS_OLD}"
+ LDFLAGS="${LDFLAGS_OLD}"
+ ARFLAGS="${ARFLAGS_OLD}"
+ fi
+
+ ##
+ # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.
+ #
+
+ # First, implement 64else32
+ if test "$BITS_REQ" = "64else32"; then
+ if test "$BITS_RUN_64" = "yes"; then
+ BITS_REQ=64
+ else
+ # no changes.
+ BITS_OK=yes
+ fi
+ fi
+
+ # implement.
+ if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then
+ CFLAGS="${CFLAGS_32}"
+ CXXFLAGS="${CXXFLAGS_32}"
+ LDFLAGS="${LDFLAGS_32}"
+ ARFLAGS="${ARFLAGS_32}"
+ BITS_OK=yes
+ elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then
+ CFLAGS="${CFLAGS_64}"
+ CXXFLAGS="${CXXFLAGS_64}"
+ LDFLAGS="${LDFLAGS_64}"
+ ARFLAGS="${ARFLAGS_64}"
+ BITS_OK=yes
+ elif test "$BITS_OK" != "yes"; then
+ 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
+ fi
+ fi
+
+
+
+
+# Determine the Makefile fragment
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5
+$as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }
+if ${icu_cv_host_frag+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+case "${host}" in
+*-*-solaris*)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-solaris-gcc
+ else
+ icu_cv_host_frag=mh-solaris
+ fi ;;
+alpha*-*-linux-gnu)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-alpha-linux-gcc
+ else
+ icu_cv_host_frag=mh-alpha-linux-cc
+ fi ;;
+powerpc*-*-linux*)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-linux
+ else
+ icu_cv_host_frag=mh-linux-va
+ fi ;;
+*-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag=mh-linux ;;
+i[34567]86-*-cygwin)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-cygwin
+ else
+ icu_cv_host_frag=mh-cygwin-msvc
+ fi ;;
+x86_64-*-cygwin)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-cygwin64
+ else
+ icu_cv_host_frag=mh-cygwin-msvc
+ fi ;;
+*-*-mingw*)
+ if test "$GCC" = yes; then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#ifndef __MINGW64__
+#error This is not MinGW64
+#endif
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ icu_cv_host_frag=mh-mingw64
+else
+ icu_cv_host_frag=mh-mingw
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ else
+ case "${host}" in
+ *-*-mingw*) icu_cv_host_frag=mh-msys-msvc ;;
+ *-*-cygwin) icu_cv_host_frag=mh-cygwin-msvc ;;
+ esac
+ fi ;;
+*-*-*bsd*|*-*-dragonfly*) icu_cv_host_frag=mh-bsd-gcc ;;
+*-*-aix*)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-aix-gcc
+ else
+ icu_cv_host_frag=mh-aix-va
+ fi ;;
+*-*-hpux*)
+ if test "$GCC" = yes; then
+ icu_cv_host_frag=mh-hpux-gcc
+ else
+ case "$CXX" in
+ *aCC) icu_cv_host_frag=mh-hpux-acc ;;
+ esac
+ fi ;;
+*-*ibm-openedition*|*-*-os390*) icu_cv_host_frag=mh-os390 ;;
+*-*-os400*) icu_cv_host_frag=mh-os400 ;;
+*-apple-rhapsody*) icu_cv_host_frag=mh-darwin ;;
+*-apple-darwin*) icu_cv_host_frag=mh-darwin ;;
+*-*-beos) icu_cv_host_frag=mh-beos ;;
+*-*-haiku) icu_cv_host_frag=mh-haiku ;;
+*-*-irix*) icu_cv_host_frag=mh-irix ;;
+*-dec-osf*) icu_cv_host_frag=mh-alpha-osf ;;
+*-*-nto*) icu_cv_host_frag=mh-qnx ;;
+*-ncr-*) icu_cv_host_frag=mh-mpras ;;
+*) icu_cv_host_frag=mh-unknown ;;
+esac
+
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5
+$as_echo "$icu_cv_host_frag" >&6; }
+
+
+# Checks for libraries and other host specific stuff
+# On HP/UX, don't link to -lm from a shared lib because it isn't
+# PIC (at least on 10.2)
+case "${host}" in
+ *-*-hpux*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
+$as_echo_n "checking for floor in -lm... " >&6; }
+if ${ac_cv_lib_m_floor+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char floor ();
+int
+main ()
+{
+return floor ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_floor=yes
+else
+ ac_cv_lib_m_floor=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
+$as_echo "$ac_cv_lib_m_floor" >&6; }
+if test "x$ac_cv_lib_m_floor" = xyes; then :
+ LIB_M="-lm"
+fi
+ ;;
+
+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
+$as_echo_n "checking for floor in -lm... " >&6; }
+if ${ac_cv_lib_m_floor+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char floor ();
+int
+main ()
+{
+return floor ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_m_floor=yes
+else
+ ac_cv_lib_m_floor=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
+$as_echo "$ac_cv_lib_m_floor" >&6; }
+if test "x$ac_cv_lib_m_floor" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBM 1
+_ACEOF
+
+ LIBS="-lm $LIBS"
+
+fi
+
+ LIB_M="" ;;
+esac
+
+
+# Check whether to build shared libraries
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
+$as_echo_n "checking whether to build shared libraries... " >&6; }
+enabled=no
+# Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then :
+ enableval=$enable_shared; case "${enableval}" in
+ yes|"") enabled=yes; ENABLE_SHARED=YES ;;
+ no);;
+ *) ;;
+ esac
+else
+ enabled=yes; ENABLE_SHARED=YES
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# Check whether to build static libraries
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
+$as_echo_n "checking whether to build static libraries... " >&6; }
+enabled=no
+# Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then :
+ enableval=$enable_static; case "${enableval}" in
+ yes|"") enabled=yes; ENABLE_STATIC=YES ;;
+ no) ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# When building release static library, there might be some optimization flags we can use
+if test "$ENABLE_STATIC" = "YES"; then
+ if test "$ENABLE_SHARED" != "YES"; then
+ if test "$ENABLE_RELEASE" = 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use static library optimization option" >&5
+$as_echo_n "checking whether we can use static library optimization option... " >&6; }
+ CHECK_STATIC_OPT_FLAG=no
+
+ OLD_CPPFLAGS="${CPPFLAGS}"
+ OLD_LDFLAGS="${LDFLAGS}"
+
+ case "${host}" in
+ *-linux*|i*86-*-*bsd*|i*86-pc-gnu)
+ if test "$GCC" = yes; then
+ CPPFLAGS="${CPPFLAGS} -ffunction-sections -fdata-sections"
+ LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
+ fi
+ ;;
+ *)
+ ;;
+ esac
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ CHECK_STATIC_OPT_FLAG=yes
+else
+ CHECK_STATIC_OPT_FLAG=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_STATIC_OPT_FLAG" >&5
+$as_echo "$CHECK_STATIC_OPT_FLAG" >&6; }
+ if test "$CHECK_STATIC_OPT_FLAG" = no; then
+ CPPFLAGS="${OLD_CPPFLAGS}"
+ LDFLAGS="${OLD_LDFLAGS}"
+ fi
+ fi
+ fi
+fi
+
+
+# Check whether to enable auto cleanup of libraries
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5
+$as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; }
+enabled=no
+UCLN_NO_AUTO_CLEANUP=1
+# Check whether --enable-auto-cleanup was given.
+if test "${enable_auto_cleanup+set}" = set; then :
+ enableval=$enable_auto_cleanup; case "${enableval}" in
+ yes) enabled=yes;
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DUCLN_NO_AUTO_CLEANUP=0";
+ UCLN_NO_AUTO_CLEANUP=0
+ ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# MSVC floating-point option
+MSVC_RELEASE_FLAG=""
+if test $enabled = yes
+then
+ if test $icu_cv_host_frag = mh-cygwin-msvc -o $icu_cv_host_frag = mh-msys-msvc
+ then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #if defined _MSC_VER && _MSC_VER >= 1400
+ #else
+ Microsoft Visual C++ < 2005
+ #endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ MSVC_RELEASE_FLAG="/fp:precise"
+else
+ MSVC_RELEASE_FLAG="/Op"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ CFLAGS="${CFLAGS} ${MSVC_RELEASE_FLAG}"
+ CXXFLAGS="${CXXFLAGS} ${MSVC_RELEASE_FLAG}"
+ fi
+fi
+
+# Check whether to enabled draft APIs
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5
+$as_echo_n "checking whether to enable draft APIs... " >&6; }
+enabled=yes
+U_DEFAULT_SHOW_DRAFT=1
+# Check whether --enable-draft was given.
+if test "${enable_draft+set}" = set; then :
+ enableval=$enable_draft; case "${enableval}" in
+ no) enabled=no; U_DEFAULT_SHOW_DRAFT=0;
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_DEFAULT_SHOW_DRAFT=0"
+ ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+# Make sure that we can use draft API in ICU.
+if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_SHOW_DRAFT_API -DU_SHOW_INTERNAL_API"
+fi
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
+$as_echo "$RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
+$as_echo "$ac_ct_RANLIB" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+
+# need sed
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
+$as_echo_n "checking for a sed that does not truncate output... " >&6; }
+if ${ac_cv_path_SED+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
+ for ac_i in 1 2 3 4 5 6 7; do
+ ac_script="$ac_script$as_nl$ac_script"
+ done
+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
+ { ac_script=; unset ac_script;}
+ if test -z "$SED"; then
+ ac_path_SED_found=false
+ # Loop through the user's path and test for each of PROGNAME-LIST
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
+ as_fn_executable_p "$ac_path_SED" || continue
+# Check for GNU ac_path_SED and select it if it is found.
+ # Check for GNU $ac_path_SED
+case `"$ac_path_SED" --version 2>&1` in
+*GNU*)
+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
+*)
+ ac_count=0
+ $as_echo_n 0123456789 >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ $as_echo '' >> "conftest.nl"
+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ as_fn_arith $ac_count + 1 && ac_count=$as_val
+ if test $ac_count -gt ${ac_path_SED_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_SED="$ac_path_SED"
+ ac_path_SED_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+ $ac_path_SED_found && break 3
+ done
+ done
+ done
+IFS=$as_save_IFS
+ if test -z "$ac_cv_path_SED"; then
+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
+ fi
+else
+ ac_cv_path_SED=$SED
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
+$as_echo "$ac_cv_path_SED" >&6; }
+ SED="$ac_cv_path_SED"
+ rm -f conftest.sed
+
+
+# look for 'ar' the proper way
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ar; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_AR="${ac_tool_prefix}ar"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
+$as_echo "$AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AR"; then
+ ac_ct_AR=$AR
+ # Extract the first word of "ar", so it can be a program name with args.
+set dummy ar; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_AR="ar"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
+$as_echo "$ac_ct_AR" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+else
+ AR="$ac_cv_prog_AR"
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5
+$as_echo_n "checking whether to enable renaming of symbols... " >&6; }
+enabled=yes
+U_DISABLE_RENAMING=0
+# Check whether --enable-renaming was given.
+if test "${enable_renaming+set}" = set; then :
+ enableval=$enable_renaming; case "${enableval}" in
+ yes|"") enabled=yes ;;
+ no) enabled=no; U_DISABLE_RENAMING=1;
+ UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_DISABLE_RENAMING=1"
+ ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5
+$as_echo_n "checking whether to enable function and data tracing... " >&6; }
+enabled=no
+U_ENABLE_TRACING=0
+# Check whether --enable-tracing was given.
+if test "${enable_tracing+set}" = set; then :
+ enableval=$enable_tracing; case "${enableval}" in
+ yes|"") enabled=yes;
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_TRACING=1";
+ U_ENABLE_TRACING=1 ;;
+ no) enabled=no; U_ENABLE_TRACING=0 ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
+$as_echo "$enabled" >&6; }
+
+
+# check if elf.h is present.
+for ac_header in elf.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
+if test "x$ac_cv_header_elf_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_ELF_H 1
+_ACEOF
+
+fi
+
+done
+
+if test "x$ac_cv_header_elf_h" = "xyes"; then
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_HAVE_ELF_H=1";
+fi
+
+# Enable/disable plugins
+# Check whether --enable-plugins was given.
+if test "${enable_plugins+set}" = set; then :
+ enableval=$enable_plugins; case "${enableval}" in
+ yes) plugins=true ;;
+ no) plugins=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-plugins" "$LINENO" 5 ;;
+ esac
+else
+ plugins=false
+fi
+
+
+
+if test "$plugins" = true; then
+ PLUGINS_TRUE=
+ U_HAVE_PLUGINS=1
+else
+ PLUGINS_TRUE='#'
+ U_HAVE_PLUGINS=0
+fi
+
+if test "x$plugins" = "xtrue"; then
+ UCONFIG_CPPFLAGS="$UCONFIG_CPPFLAGS -DUCONFIG_ENABLE_PLUGINS=1"
+fi
+
+
+U_ENABLE_DYLOAD=1
+enable=yes
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins. Ignored if plugins disabled." >&5
+$as_echo_n "checking whether to enable dynamic loading of plugins. Ignored if plugins disabled.... " >&6; }
+# Check whether --enable-dyload was given.
+if test "${enable_dyload+set}" = set; then :
+ enableval=$enable_dyload; case "${enableval}" in
+ yes|"")
+ U_ENABLE_DYLOAD=1
+ enable=yes
+ ;;
+ no)
+ U_ENABLE_DYLOAD=0;
+ enable=no;
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DU_ENABLE_DYLOAD=0";
+ ;;
+ *) ;;
+ esac
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable" >&5
+$as_echo "$enable" >&6; }
+
+
+if test "$enable" = "yes"; then
+ for ac_header in dlfcn.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLFCN_H 1
+_ACEOF
+
+fi
+
+done
+
+ #AC_MSG_RESULT($enabled)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
+$as_echo_n "checking for library containing dlopen... " >&6; }
+if ${ac_cv_search_dlopen+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' dl; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_dlopen=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_dlopen+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_dlopen+:} false; then :
+
+else
+ ac_cv_search_dlopen=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
+$as_echo "$ac_cv_search_dlopen" >&6; }
+ac_res=$ac_cv_search_dlopen
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
+ for ac_func in dlopen
+do :
+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
+if test "x$ac_cv_func_dlopen" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DLOPEN 1
+_ACEOF
+
+fi
+done
+
+
+ if test "x$ac_cv_func_dlopen" != xyes; then
+ CONFIG_CPPFLAGS="$CONFIG_CPPFLAGS -DHAVE_DLOPEN=0"
+ fi
+fi
+
+# Check for miscellaneous functions.
+# So, use for putil / tools only.
+# Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY
+for ac_func in gettimeofday
+do :
+ ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
+if test "x$ac_cv_func_gettimeofday" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_GETTIMEOFDAY 1
+_ACEOF
+
+fi
+done
+
+
+
+# Check whether to use the evil rpath or not
+# Check whether --enable-rpath was given.
+if test "${enable_rpath+set}" = set; then :
+ enableval=$enable_rpath; case "${enableval}" in
+ yes|"") ENABLE_RPATH=YES ;;
+ no) ;;
+ *) ;;
+ esac
+else
+ ENABLE_RPATH=NO
+
+fi
+
+
+
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5
+$as_echo_n "checking if we have a C++ compiler... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ cxx_okay=yes
+else
+ cxx_okay=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+if test $cxx_okay = yes
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: Good" >&5
+$as_echo "Good" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ as_fn_error $? "C++ compiler $CXX does not work or no compiler found" "$LINENO" 5
+fi
+
+if [ "$GXX" = yes ]; then
+ # if CXXFLAGS does not have a "-std=" setting, set it now to -std=c++11,
+ # and check that the compiler still works.
+ if ! echo "$CXXFLAGS" | grep '\-std=' >/dev/null 2>&1; then
+ OLD_CXXFLAGS="${CXXFLAGS}"
+ CXXFLAGS="$CXXFLAGS -std=c++11"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++11 compiler" >&5
+$as_echo_n "checking if we have a C++11 compiler... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ cxx11_okay=yes
+else
+ cxx11_okay=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cxx11_okay" >&5
+$as_echo "$cxx11_okay" >&6; }
+ if [ $cxx11_okay = yes ]; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Adding CXXFLAGS option -std=c++11" >&5
+$as_echo "$as_me: Adding CXXFLAGS option -std=c++11" >&6;}
+ UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -std=c++11"
+ else
+ CXXFLAGS="$OLD_CXXFLAGS"
+ fi
+ case "${host}" in
+ *-*-solaris*)
+ CXXFLAGS="$OLD_CXXFLAGS"
+ ;;
+ esac
+ fi
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Always build ICU with multi-threading support.
+OLD_LIBS=${LIBS}
+
+# For Compaq Tru64 (OSF1), we must look for pthread_attr_init
+# and must do this before searching for pthread_mutex_destroy, or
+# we will pick up libpthreads.so not libpthread.so
+# If this fails, then we must test for HPUX specials, before
+# moving on to a more generic test
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
+$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
+if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_attr_init ();
+int
+main ()
+{
+return pthread_attr_init ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_pthread_pthread_attr_init=yes
+else
+ ac_cv_lib_pthread_pthread_attr_init=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
+$as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
+if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBPTHREAD 1
+_ACEOF
+
+ LIBS="-lpthread $LIBS"
+
+fi
+
+if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
+ :
+else
+ # Locate the right library for POSIX threads. We look for the
+ # symbols in the libraries first, because on Solaris libc provides
+ # pthread_create but libpthread has the real code :(
+ # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
+ # FreeBSD users may need libpthread if they do not have libc_r.
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5
+$as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
+if ${ac_cv_search_pthread_mutex_destroy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS="$LIBS"
+ac_cv_search_pthread_mutex_destroy="no"
+for i in pthread pthreads c_r ; do
+LIBS="-l$i $ac_func_search_save_LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_mutex_destroy ();
+int
+main ()
+{
+return pthread_mutex_destroy ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_pthread_mutex_destroy="-l$i"
+break
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+done
+if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_mutex_destroy ();
+int
+main ()
+{
+return pthread_mutex_destroy ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_pthread_mutex_destroy="none required"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+LIBS="$ac_func_search_save_LIBS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5
+$as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
+if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
+ test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"
+
+else :
+
+fi
+
+ if test "$ac_cv_search_pthread_mutex_destroy" != no; then
+ :
+ else
+ # For HP 11
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
+$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
+if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_mutex_init ();
+int
+main ()
+{
+return pthread_mutex_init ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_pthread_pthread_mutex_init=yes
+else
+ ac_cv_lib_pthread_pthread_mutex_init=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
+$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
+if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBPTHREAD 1
+_ACEOF
+
+ LIBS="-lpthread $LIBS"
+
+fi
+
+ if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
+ :
+ fi
+ fi
+
+ ac_fn_c_check_func "$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
+if test "x$ac_cv_func_pthread_mutex_lock" = xyes; then :
+
+fi
+
+
+ if test $ac_cv_func_pthread_mutex_lock = yes; then
+ :
+ fi
+fi
+# Check to see if we are using CygWin with MSVC
+case "${host}" in
+*-pc-cygwin*|*-pc-mingw*)
+ # For gcc, the thread options are set by mh-mingw/mh-cygwin
+ # For msvc, the thread options are set by runConfigureICU
+ :
+ ;;
+*-*-hpux*)
+ # Add -mt because it does several nice things on newer compilers.
+ case "${icu_cv_host_frag}" in
+ mh-hpux-acc)
+ OLD_CXXFLAGS="${CXXFLAGS}"
+ CXXFLAGS="${CXXFLAGS} -mt"
+ if test x"`${CXX} ${CXXFLAGS} 2>&1`" != x""; then
+ CXXFLAGS="${OLD_CXXFLAGS}"
+ else
+ UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -mt"
+ fi
+ ;;
+ esac
+ ;;
+*-*-solaris*)
+ case "${icu_cv_host_frag}" in
+ mh-solaris)
+ LIBS="${LIBS} -mt"
+ ;;
+ esac
+ ;;
+esac
+
+# Check whether --enable-weak-threads was given.
+if test "${enable_weak_threads+set}" = set; then :
+ enableval=$enable_weak_threads; case "${enableval}" in
+ yes)
+ LIB_THREAD="${LIBS%${OLD_LIBS}}"
+ LIBS=${OLD_LIBS}
+ ;;
+ no) ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;;
+ esac
+fi
+
+
+
+# Check for mmap()
+
+# The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
+# Do this check instead.
+HAVE_MMAP=0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5
+$as_echo_n "checking for mmap... " >&6; }
+if ${ac_cv_func_mmap_ok+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <unistd.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+int
+main ()
+{
+mmap((void *)0, 0, PROT_READ, 0, 0, 0);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_func_mmap_ok=yes
+else
+ ac_cv_func_mmap_ok=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5
+$as_echo "$ac_cv_func_mmap_ok" >&6; }
+if test $ac_cv_func_mmap_ok = yes
+then
+ HAVE_MMAP=1
+else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_MMAP=0"
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5
+$as_echo_n "checking for genccode assembly... " >&6; }
+
+# Check to see if genccode can generate simple assembly.
+GENCCODE_ASSEMBLY=
+case "${host}" in
+*-linux*|*-kfreebsd*-gnu*|i*86-*-*bsd*|i*86-pc-gnu)
+ if test "$GCC" = yes; then
+ # We're using gcc, and the simple -a gcc command line works for genccode
+ GENCCODE_ASSEMBLY="-a gcc"
+ fi ;;
+i*86-*-solaris*)
+ if test "$GCC" = yes; then
+ # When using gcc, look if we're also using GNU as.
+ # When using GNU as, the simple -a gcc command line works for genccode.
+ asv=`"${CC}" -print-prog-name=as 2>/dev/null`
+ asv=`"${asv}" --version 2>/dev/null`
+ case "X${asv}" in
+ X*GNU*) GENCCODE_ASSEMBLY="-a gcc" ;;
+ X*) GENCCODE_ASSEMBLY="-a sun-x86" ;;
+ esac
+ unset asv
+ else
+ GENCCODE_ASSEMBLY="-a sun-x86"
+ fi ;;
+sparc-*-solaris*)
+ GENCCODE_ASSEMBLY="-a sun"
+ ;;
+ia64-*-hpux*)
+# There has been some issues with building ICU data on HPUX ia64 aCC
+# when using the assemble code setting below. For now, build without
+# assemble code for this platform. This will increase the build time.
+# GENCCODE_ASSEMBLY="-a aCC-ia64"
+ ;;
+esac
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5
+$as_echo "$GENCCODE_ASSEMBLY" >&6; }
+
+# Checks for header files
+for ac_header in inttypes.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
+if test "x$ac_cv_header_inttypes_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_INTTYPES_H 1
+_ACEOF
+
+fi
+
+done
+
+if test $ac_cv_header_inttypes_h = no; then
+ U_HAVE_INTTYPES_H=0
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
+else
+ U_HAVE_INTTYPES_H=1
+fi
+if test "$CC" = ccc; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5
+$as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
+ case "${host}" in
+ alpha*-*-*) U_HAVE_INTTYPES_H=0;
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INTTYPES_H=0"
+ esac
+fi
+
+
+
+for ac_header in dirent.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
+if test "x$ac_cv_header_dirent_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DIRENT_H 1
+_ACEOF
+
+fi
+
+done
+
+if test $ac_cv_header_dirent_h = no; then
+ U_HAVE_DIRENT_H=0
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_DIRENT_H=0"
+else
+ U_HAVE_DIRENT_H=1
+fi
+
+
+
+# Check for endianness
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if ${ac_cv_c_bigendian+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_c_bigendian=unknown
+ # See if we're dealing with a universal compiler.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifndef __APPLE_CC__
+ not a universal capable compiler
+ #endif
+ typedef int dummy;
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+ # Check for potential -arch flags. It is not universal unless
+ # there are at least two -arch flags with different values.
+ ac_arch=
+ ac_prev=
+ for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
+ if test -n "$ac_prev"; then
+ case $ac_word in
+ i?86 | x86_64 | ppc | ppc64)
+ if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
+ ac_arch=$ac_word
+ else
+ ac_cv_c_bigendian=universal
+ break
+ fi
+ ;;
+ esac
+ ac_prev=
+ elif test "x$ac_word" = "x-arch"; then
+ ac_prev=arch
+ fi
+ done
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if sys/param.h defines the BYTE_ORDER macro.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+ #include <sys/param.h>
+
+int
+main ()
+{
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
+ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
+ && LITTLE_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ # It does; now see whether it defined to BIG_ENDIAN or not.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <sys/types.h>
+ #include <sys/param.h>
+
+int
+main ()
+{
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_bigendian=yes
+else
+ ac_cv_c_bigendian=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <limits.h>
+
+int
+main ()
+{
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
+ bogus endian macros
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ # It does; now see whether it defined to _BIG_ENDIAN or not.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <limits.h>
+
+int
+main ()
+{
+#ifndef _BIG_ENDIAN
+ not big endian
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_c_bigendian=yes
+else
+ ac_cv_c_bigendian=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ fi
+ if test $ac_cv_c_bigendian = unknown; then
+ # Compile a test program.
+ if test "$cross_compiling" = yes; then :
+ # Try to guess by grepping values from an object file.
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+short int ascii_mm[] =
+ { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+ short int ascii_ii[] =
+ { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+ int use_ascii (int i) {
+ return ascii_mm[i] + ascii_ii[i];
+ }
+ short int ebcdic_ii[] =
+ { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+ short int ebcdic_mm[] =
+ { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+ int use_ebcdic (int i) {
+ return ebcdic_mm[i] + ebcdic_ii[i];
+ }
+ extern int foo;
+
+int
+main ()
+{
+return use_ascii (foo) == use_ebcdic (foo);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
+ ac_cv_c_bigendian=yes
+ fi
+ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+ if test "$ac_cv_c_bigendian" = unknown; then
+ ac_cv_c_bigendian=no
+ else
+ # finding both strings is unlikely to happen, but who knows?
+ ac_cv_c_bigendian=unknown
+ fi
+ fi
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long int l;
+ char c[sizeof (long int)];
+ } u;
+ u.l = 1;
+ return u.c[sizeof (long int) - 1] == 1;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+ ac_cv_c_bigendian=no
+else
+ ac_cv_c_bigendian=yes
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+ conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
+
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
+ case $ac_cv_c_bigendian in #(
+ yes)
+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
+;; #(
+ no)
+ ;; #(
+ universal)
+
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
+
+ ;; #(
+ *)
+ as_fn_error $? "unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
+ esac
+
+if test $ac_cv_c_bigendian = no; then
+U_IS_BIG_ENDIAN=0
+U_ENDIAN_CHAR="l"
+else
+U_IS_BIG_ENDIAN=1
+U_ENDIAN_CHAR="b"
+fi
+
+
+# Do various POSIX related checks
+U_HAVE_NL_LANGINFO_CODESET=0
+U_NL_LANGINFO_CODESET=-1
+ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
+if test "x$ac_cv_func_nl_langinfo" = xyes; then :
+ U_HAVE_NL_LANGINFO=1
+else
+ U_HAVE_NL_LANGINFO=0
+fi
+
+if test $U_HAVE_NL_LANGINFO -eq 1; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5
+$as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
+if ${ac_cv_nl_langinfo_codeset+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_cv_nl_langinfo_codeset="unknown"
+ for a in CODESET _NL_CTYPE_CODESET_NAME; do
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <langinfo.h>
+int
+main ()
+{
+nl_langinfo($a);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_nl_langinfo_codeset="$a"; break
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ done
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5
+$as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
+ if test x$ac_cv_nl_langinfo_codeset != xunknown
+ then
+ U_HAVE_NL_LANGINFO_CODESET=1
+ U_NL_LANGINFO_CODESET=$ac_cv_nl_langinfo_codeset
+ if test "x${ac_cv_nl_langinfo_codeset}" != "xCODESET"
+ then
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DNL_LANGINFO_CODESET=${ac_cv_nl_langinfo_codeset}"
+ fi
+ else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_NL_LANGINFO_CODESET=0"
+ fi
+fi
+
+
+
+# Namespace support checks
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5
+$as_echo_n "checking for namespace support... " >&6; }
+if ${ac_cv_namespace_ok+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+namespace x_version {void f(){}}
+ namespace x = x_version;
+ using namespace x_version;
+
+int
+main ()
+{
+f();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_namespace_ok=yes
+else
+ ac_cv_namespace_ok=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5
+$as_echo "$ac_cv_namespace_ok" >&6; }
+if test $ac_cv_namespace_ok = no
+then
+ as_fn_error $? "Namespace support is required to build ICU." "$LINENO" 5
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5
+$as_echo_n "checking for properly overriding new and delete... " >&6; }
+U_OVERRIDE_CXX_ALLOCATION=0
+U_HAVE_PLACEMENT_NEW=0
+if ${ac_cv_override_cxx_allocation_ok+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+ class UMemory {
+ public:
+ void *operator new(size_t size) {return malloc(size);}
+ void *operator new[](size_t size) {return malloc(size);}
+ void operator delete(void *p) {free(p);}
+ void operator delete[](void *p) {free(p);}
+ };
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_override_cxx_allocation_ok=yes
+else
+ ac_cv_override_cxx_allocation_ok=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5
+$as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
+if test $ac_cv_override_cxx_allocation_ok = yes
+then
+ U_OVERRIDE_CXX_ALLOCATION=1
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5
+$as_echo_n "checking for placement new and delete... " >&6; }
+ if ${ac_cv_override_placement_new_ok+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+ class UMemory {
+ public:
+ void *operator new(size_t size) {return malloc(size);}
+ void *operator new[](size_t size) {return malloc(size);}
+ void operator delete(void *p) {free(p);}
+ void operator delete[](void *p) {free(p);}
+ void * operator new(size_t, void *ptr) { return ptr; }
+ void operator delete(void *, void *) {}
+ };
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+ ac_cv_override_placement_new_ok=yes
+else
+ ac_cv_override_placement_new_ok=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5
+$as_echo "$ac_cv_override_placement_new_ok" >&6; }
+ if test $ac_cv_override_placement_new_ok = yes
+ then
+ U_HAVE_PLACEMENT_NEW=1
+ else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_PLACEMENT_NEW=0"
+ fi
+else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_OVERRIDE_CXX_ALLOCATION=0"
+fi
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_fn_c_check_func "$LINENO" "popen" "ac_cv_func_popen"
+if test "x$ac_cv_func_popen" = xyes; then :
+
+fi
+
+if test x$ac_cv_func_popen = xyes
+then
+ U_HAVE_POPEN=1
+else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_POPEN=0"
+ U_HAVE_POPEN=0
+fi
+
+
+ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
+if test "x$ac_cv_func_tzset" = xyes; then :
+
+fi
+
+U_HAVE_TZSET=0
+if test x$ac_cv_func_tzset = xyes
+then
+ U_TZSET=tzset
+ U_HAVE_TZSET=1
+else
+ ac_fn_c_check_func "$LINENO" "_tzset" "ac_cv_func__tzset"
+if test "x$ac_cv_func__tzset" = xyes; then :
+
+fi
+
+ if test x$ac_cv_func__tzset = xyes
+ then
+ U_TZSET=_tzset
+ U_HAVE_TZSET=1
+ else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZSET=0"
+ fi
+fi
+
+
+
+U_HAVE_TZNAME=0
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
+$as_echo_n "checking for tzname... " >&6; }
+if ${ac_cv_var_tzname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifndef _XOPEN_SOURCE
+#define _XOPEN_SOURCE
+#endif
+#include <stdlib.h>
+#include <time.h>
+#ifndef tzname /* For SGI. */
+extern char *tzname[]; /* RS6000 and others reject char **tzname. */
+#endif
+int
+main ()
+{
+atoi(*tzname);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_var_tzname=yes
+else
+ ac_cv_var_tzname=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
+$as_echo "$ac_cv_var_tzname" >&6; }
+if test $ac_cv_var_tzname = yes; then
+ U_TZNAME=tzname
+ U_HAVE_TZNAME=1
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5
+$as_echo_n "checking for _tzname... " >&6; }
+if ${ac_cv_var__tzname+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <stdlib.h>
+ #include <time.h>
+ extern char *_tzname[];
+int
+main ()
+{
+atoi(*_tzname);
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_var__tzname=yes
+else
+ ac_cv_var__tzname=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5
+$as_echo "$ac_cv_var__tzname" >&6; }
+ if test $ac_cv_var__tzname = yes; then
+ U_TZNAME=_tzname
+ U_HAVE_TZNAME=1
+ else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TZNAME=0"
+ fi
+fi
+
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5
+$as_echo_n "checking for timezone... " >&6; }
+if ${ac_cv_var_timezone+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#ifndef _XOPEN_SOURCE
+#define _XOPEN_SOURCE
+#endif
+#include <time.h>
+
+int
+main ()
+{
+timezone = 1;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_var_timezone=yes
+else
+ ac_cv_var_timezone=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
+$as_echo "$ac_cv_var_timezone" >&6; }
+U_HAVE_TIMEZONE=0
+if test $ac_cv_var_timezone = yes; then
+ U_TIMEZONE=timezone
+ U_HAVE_TIMEZONE=1
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5
+$as_echo_n "checking for __timezone... " >&6; }
+if ${ac_cv_var___timezone+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <time.h>
+int
+main ()
+{
+__timezone = 1;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_var___timezone=yes
+else
+ ac_cv_var___timezone=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5
+$as_echo "$ac_cv_var___timezone" >&6; }
+ if test $ac_cv_var___timezone = yes; then
+ U_TIMEZONE=__timezone
+ U_HAVE_TIMEZONE=1
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5
+$as_echo_n "checking for _timezone... " >&6; }
+if ${ac_cv_var__timezone+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <time.h>
+int
+main ()
+{
+_timezone = 1;
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_var__timezone=yes
+else
+ ac_cv_var__timezone=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5
+$as_echo "$ac_cv_var__timezone" >&6; }
+ if test $ac_cv_var__timezone = yes; then
+ U_TIMEZONE=_timezone
+ U_HAVE_TIMEZONE=1
+ else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_TIMEZONE=0"
+ fi
+ fi
+fi
+
+
+
+ac_fn_c_check_func "$LINENO" "strtod_l" "ac_cv_func_strtod_l"
+if test "x$ac_cv_func_strtod_l" = xyes; then :
+
+fi
+
+if test x$ac_cv_func_strtod_l = xyes
+then
+ U_HAVE_STRTOD_L=1
+ ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
+if test "x$ac_cv_header_xlocale_h" = xyes; then :
+
+fi
+
+
+ if test "$ac_cv_header_xlocale_h" = yes; then
+ U_HAVE_XLOCALE_H=1
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1"
+ else
+ U_HAVE_XLOCALE_H=0
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=0"
+ fi
+else
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRTOD_L=0"
+ U_HAVE_STRTOD_L=0
+fi
+
+
+# Check if C++17 std::string_view is available.
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_fn_cxx_check_type "$LINENO" "std::string_view" "ac_cv_type_std__string_view" "#include <string_view>
+"
+if test "x$ac_cv_type_std__string_view" = xyes; then :
+
+fi
+
+if test "x$ac_cv_type_std__string_view" = xyes; then :
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_STRING_VIEW=1"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Checks for typedefs
+ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
+if test "x$ac_cv_type_int8_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define int8_t signed char
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
+if test "x$ac_cv_type_uint8_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define uint8_t unsigned char
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
+if test "x$ac_cv_type_int16_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define int16_t signed short
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
+if test "x$ac_cv_type_uint16_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define uint16_t unsigned short
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
+if test "x$ac_cv_type_int32_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define int32_t signed long
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
+if test "x$ac_cv_type_uint32_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define uint32_t unsigned long
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
+if test "x$ac_cv_type_int64_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define int64_t signed long long
+_ACEOF
+
+fi
+
+ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
+if test "x$ac_cv_type_uint64_t" = xyes; then :
+
+else
+
+cat >>confdefs.h <<_ACEOF
+#define uint64_t unsigned long long
+_ACEOF
+
+fi
+
+
+if test $ac_cv_type_int8_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT8_T=0"
+fi
+
+if test $ac_cv_type_uint8_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT8_T=0"
+fi
+
+if test $ac_cv_type_int16_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT16_T=0"
+fi
+
+if test $ac_cv_type_uint16_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT16_T=0"
+fi
+
+if test $ac_cv_type_int32_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT32_T=0"
+fi
+
+if test $ac_cv_type_uint32_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT32_T=0"
+fi
+
+if test $ac_cv_type_int64_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_INT64_T=0"
+fi
+
+if test $ac_cv_type_uint64_t = no; then
+CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_UINT64_T=0"
+fi
+
+# Do various wchar_t related checks
+ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
+if test "x$ac_cv_header_wchar_h" = xyes; then :
+
+fi
+
+
+if test "$ac_cv_header_wchar_h" = no
+then
+ U_HAVE_WCHAR_H=0
+ U_HAVE_WCSCPY=0
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCHAR_H=0 -DU_HAVE_WCSCPY=0"
+else
+
+$as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
+
+ U_HAVE_WCHAR_H=1
+ # Some broken systems have wchar.h but not some of its functions...
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5
+$as_echo_n "checking for library containing wcscpy... " >&6; }
+if ${ac_cv_search_wcscpy+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_func_search_save_LIBS=$LIBS
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char wcscpy ();
+int
+main ()
+{
+return wcscpy ();
+ ;
+ return 0;
+}
+_ACEOF
+for ac_lib in '' wcs w; do
+ if test -z "$ac_lib"; then
+ ac_res="none required"
+ else
+ ac_res=-l$ac_lib
+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
+ fi
+ if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_search_wcscpy=$ac_res
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext
+ if ${ac_cv_search_wcscpy+:} false; then :
+ break
+fi
+done
+if ${ac_cv_search_wcscpy+:} false; then :
+
+else
+ ac_cv_search_wcscpy=no
+fi
+rm conftest.$ac_ext
+LIBS=$ac_func_search_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5
+$as_echo "$ac_cv_search_wcscpy" >&6; }
+ac_res=$ac_cv_search_wcscpy
+if test "$ac_res" != no; then :
+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
+fi
+
+ if test "$ac_cv_search_wcscpy" != no; then
+ U_HAVE_WCSCPY=1
+ else
+ U_HAVE_WCSCPY=0
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_WCSCPY=0"
+ fi
+fi
+
+
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
+$as_echo_n "checking size of wchar_t... " >&6; }
+if ${ac_cv_sizeof_wchar_t+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
+#if STDC_HEADERS
+#include <stddef.h>
+#endif
+#include <stdlib.h>
+#if HAVE_WCHAR_H
+#include <string.h>
+#include <wchar.h>
+#endif
+"; then :
+
+else
+ if test "$ac_cv_type_wchar_t" = yes; then
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "cannot compute sizeof (wchar_t)
+See \`config.log' for more details" "$LINENO" 5; }
+ else
+ ac_cv_sizeof_wchar_t=0
+ fi
+fi
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
+$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
+_ACEOF
+
+
+U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
+# We do this check to verify that everything is okay.
+if test $U_SIZEOF_WCHAR_T = 0; then
+ if test $U_HAVE_WCHAR_H=1; then
+ as_fn_error $? "There is wchar.h but the size of wchar_t is 0" "$LINENO" 5
+ fi
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5
+$as_echo_n "checking for UTF-16 string literal support... " >&6; }
+U_CHECK_UTF16_STRING=1
+CHECK_UTF16_STRING_RESULT="unknown"
+
+case "${host}" in
+*-*-aix*|powerpc64-*-linux*)
+ if test "$GCC" = no; then
+ OLD_CFLAGS="${CFLAGS}"
+ OLD_CXXFLAGS="${CXXFLAGS}"
+ CFLAGS="${CFLAGS} -qutf"
+ CXXFLAGS="${CXXFLAGS} -qutf"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+const unsigned short hello[] = u"hello";
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ U_CHECK_UTF16_STRING=1
+else
+ U_CHECK_UTF16_STRING=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$U_CHECK_UTF16_STRING" = 0; then
+ CFLAGS="${OLD_CFLAGS}"
+ CXXFLAGS="${OLD_CXXFLAGS}"
+ else
+ UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -qutf"
+ CHECK_UTF16_STRING_RESULT="-qutf"
+ fi
+ fi
+ ;;
+*-*-solaris*)
+ if test "$GCC" = no; then
+ OLD_CFLAGS="${CFLAGS}"
+ OLD_CXXFLAGS="${CXXFLAGS}"
+ CFLAGS="${CFLAGS} -xustr=ascii_utf16_ushort"
+ CXXFLAGS="${CXXFLAGS} -xustr=ascii_utf16_ushort"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+const unsigned short hello[] = U"hello";
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ U_CHECK_UTF16_STRING=1
+else
+ U_CHECK_UTF16_STRING=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$U_CHECK_UTF16_STRING" = 0; then
+ CFLAGS="${OLD_CFLAGS}"
+ CXXFLAGS="${OLD_CXXFLAGS}"
+ else
+ CHECK_UTF16_STRING_RESULT="-xustr=ascii_utf16_ushort"
+ UCONFIG_CXXFLAGS="${UCONFIG_CXXFLAGS} -xustr=ascii_utf16_ushort"
+ UCONFIG_CFLAGS="${UCONFIG_CFLAGS} -xustr=ascii_utf16_ushort"
+ # Since we can't detect the availability of this UTF-16 syntax at compile time,
+ # we depend on configure telling us that we can use it.
+ # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
+ # we only use this macro within ICU.
+ # If an ICU user uses icu-config, this feature will be enabled.
+ CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
+ U_CHECK_UTF16_STRING=0
+ fi
+ fi
+ ;;
+*-*-hpux*)
+ if test "$GCC" = no; then
+ # The option will be detected at compile time without additional compiler options.
+ CHECK_UTF16_STRING_RESULT="available"
+ fi
+ ;;
+*-*-cygwin)
+ # wchar_t can be used
+ CHECK_UTF16_STRING_RESULT="available"
+ ;;
+*)
+ ;;
+esac
+
+# GCC >= 4.4 supports UTF16 string literals. As of ICU 62, both C and C++ files require them.
+if test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then
+ if test "$GCC" = yes; then
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+static const unsigned short test[] = u"This is a UTF16 literal string.";
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ CC_UTF16_STRING=1
+else
+ CC_UTF16_STRING=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ if test "$CC_UTF16_STRING" = 1; then
+ CHECK_UTF16_STRING_RESULT="C only";
+ fi
+ fi
+ if test "$GXX" = yes; then
+ # -Wno-return-type-c-linkage is desired so that stable ICU API is not warned about.
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+static const char16_t test[] = u"This is a UTF16 literal string.";
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ CXX_UTF16_STRING=1
+else
+ CXX_UTF16_STRING=0
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ if test "$CXX_UTF16_STRING" = 1; then
+ if test "$CC_UTF16_STRING" = 1; then
+ CHECK_UTF16_STRING_RESULT="available";
+ else
+ CHECK_UTF16_STRING_RESULT="C++ only";
+ fi
+ fi
+ fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5
+$as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }
+
+# Enable/disable extras
+# Check whether --enable-extras was given.
+if test "${enable_extras+set}" = set; then :
+ enableval=$enable_extras; case "${enableval}" in
+ yes) extras=true ;;
+ no) extras=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-extras" "$LINENO" 5 ;;
+ esac
+else
+ extras=true
+fi
+
+
+
+if test "$extras" = true; then
+ EXTRAS_TRUE=
+ U_HAVE_EXTRAS=1
+else
+ EXTRAS_TRUE='#'
+ U_HAVE_EXTRAS=0
+fi
+# Check whether --enable-icuio was given.
+if test "${enable_icuio+set}" = set; then :
+ enableval=$enable_icuio; case "${enableval}" in
+ yes) icuio=true ;;
+ no) icuio=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;;
+ esac
+else
+ icuio=true
+fi
+
+
+
+if test "$icuio" = true; then
+ ICUIO_TRUE=
+ U_HAVE_ICUIO=1
+else
+ ICUIO_TRUE='#'
+ U_HAVE_ICUIO=0
+fi
+
+# Enable/disable layoutex
+# Check whether --enable-layoutex was given.
+if test "${enable_layoutex+set}" = set; then :
+ enableval=$enable_layoutex; case "${enableval}" in
+ yes) layoutex=$have_icu_le_hb ;;
+ no) layoutex=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-layoutex" "$LINENO" 5 ;;
+ esac
+else
+ layoutex=false
+fi
+
+
+
+if test "$layoutex" = true; then
+ LAYOUTEX_TRUE=
+ U_HAVE_LAYOUTEX=1
+else
+ LAYOUTEX_TRUE='#'
+ U_HAVE_LAYOUTEX=0
+fi
+
+# Enable/disable layout
+# Check whether --enable-layout was given.
+if test "${enable_layout+set}" = set; then :
+ enableval=$enable_layout; case "${enableval}" in
+ yes) as_fn_error $? "The ICU Layout Engine has been removed." "$LINENO" 5 ;;
+ no) ;;
+ *) ;;
+ esac
+fi
+
+
+# Enable/disable tools
+# Check whether --enable-tools was given.
+if test "${enable_tools+set}" = set; then :
+ enableval=$enable_tools; case "${enableval}" in
+ yes) tools=true ;;
+ no) tools=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-tools" "$LINENO" 5 ;;
+ esac
+else
+ tools=true
+fi
+
+
+
+if test "$tools" = true; then
+ TOOLS_TRUE=
+ U_HAVE_TOOLS=1
+else
+ TOOLS_TRUE='#'
+ U_HAVE_TOOLS=0
+fi
+
+# Enable/disable fuzzer target tests.
+# Check whether --enable-fuzzer was given.
+if test "${enable_fuzzer+set}" = set; then :
+ enableval=$enable_fuzzer; case "${enableval}" in
+ yes) fuzzer=true ;;
+ no) fuzzer=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-fuzzer" "$LINENO" 5 ;;
+ esac
+else
+ fuzzer=false
+fi
+
+
+
+if test "$fuzzer" = true; then
+ FUZZER_TRUE=
+ U_HAVE_FUZZER=1
+else
+ FUZZER_TRUE='#'
+ U_HAVE_FUZZER=0
+fi
+
+
+
+if test "$tools" = true || test "$cross_compiling" = "yes"; then
+ DATA_TRUE=
+ U_HAVE_DATA=1
+else
+ DATA_TRUE='#'
+ U_HAVE_DATA=0
+fi
+
+
+# Check whether --with-data-packaging was given.
+if test "${with_data_packaging+set}" = set; then :
+ withval=$with_data_packaging; case "${withval}" in
+ files|archive|library) datapackaging=$withval ;;
+ auto) datapackaging=$withval ;;
+ common) datapackaging=archive ;;
+ dll) datapackaging=library ;;
+ static) datapackaging=static ;;
+ *) as_fn_error $? "bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;;
+ esac
+else
+ datapackaging=
+fi
+
+
+# Note: 'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..
+# thesysconfdir=`eval echo $sysconfdir`
+thedatadir=`eval echo $datadir`
+# 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}.
+pkgicudatadir=$datadir
+thepkgicudatadir=$thedatadir
+
+
+
+
+if test x"$datapackaging" = x -o x"$datapackaging" = xauto; then
+ # default to library
+ datapackaging=library
+ if test "$ENABLE_STATIC" = "YES"; then
+ if test "$ENABLE_SHARED" != "YES"; then
+ datapackaging=static
+ fi
+ fi
+fi
+
+datapackaging_dir=`eval echo $thedatadir`"/icu/${VERSION}"
+
+datapackaging_msg="(No explanation for mode $datapackaging.)"
+
+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."
+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."
+datapackaging_howfound="(unknown)"
+
+case "$datapackaging" in
+ files)
+ DATA_PACKAGING_MODE=files
+ datapackaging_msg="ICU data will be stored in individual files."
+ datapackaging_howfound="$datapackaging_msg_path"
+ ;;
+ archive)
+ DATA_PACKAGING_MODE=common
+ datapackaging_msg="ICU data will be stored in a single .dat file."
+ datapackaging_howfound="$datapackaging_msg_path"
+ ;;
+ library)
+ DATA_PACKAGING_MODE=dll
+ datapackaging_msg="ICU data will be linked with ICU."
+ if test "$ENABLE_STATIC" = "YES"; then
+ datapackaging_msg="$datapackaging_msg A static data library will be built. "
+ fi
+ if test "$ENABLE_SHARED" = "YES"; then
+ datapackaging_msg="$datapackaging_msg A shared data library will be built. "
+ fi
+ datapackaging_howfound="$datapackaging_msg_set"
+ ;;
+ static)
+ DATA_PACKAGING_MODE=static
+ datapackaging_msg="ICU data will be stored in a static library."
+ datapackaging_howfound="$datapackaging_msg_set"
+ ;;
+esac
+
+
+# Sets a library suffix
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5
+$as_echo_n "checking for a library suffix to use... " >&6; }
+
+# Check whether --with-library-suffix was given.
+if test "${with_library_suffix+set}" = set; then :
+ withval=$with_library_suffix; ICULIBSUFFIX="${withval}"
+else
+ ICULIBSUFFIX=
+fi
+
+msg=$ICULIBSUFFIX
+if test "$msg" = ""; then
+ msg=none
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5
+$as_echo "$msg" >&6; }
+
+if test "$ICULIBSUFFIX" != ""
+then
+ U_HAVE_LIB_SUFFIX=1
+ ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`
+ UCONFIG_CPPFLAGS="${UCONFIG_CPPFLAGS} -DU_HAVE_LIB_SUFFIX=1 -DU_LIB_SUFFIX_C_NAME=${ICULIBSUFFIXCNAME} "
+else
+ U_HAVE_LIB_SUFFIX=0
+fi
+
+
+
+# Enable/disable tests
+# Check whether --enable-tests was given.
+if test "${enable_tests+set}" = set; then :
+ enableval=$enable_tests; case "${enableval}" in
+ yes) tests=true ;;
+ no) tests=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
+ esac
+else
+ tests=true
+fi
+
+
+
+if test "$tests" = true; then
+ TESTS_TRUE=
+ U_HAVE_TESTS=1
+else
+ TESTS_TRUE='#'
+ U_HAVE_TESTS=0
+fi
+
+# Enable/disable samples
+# Check whether --enable-samples was given.
+if test "${enable_samples+set}" = set; then :
+ enableval=$enable_samples; case "${enableval}" in
+ yes) samples=true ;;
+ no) samples=false ;;
+ *) as_fn_error $? "bad value ${enableval} for --enable-samples" "$LINENO" 5 ;;
+ esac
+else
+ samples=true
+fi
+
+
+
+if test "$samples" = true; then
+ SAMPLES_TRUE=
+ U_HAVE_SAMPLES=1
+else
+ SAMPLES_TRUE='#'
+ U_HAVE_SAMPLES=0
+fi
+
+ICUDATA_CHAR=$U_ENDIAN_CHAR
+
+# Platform-specific Makefile setup
+# set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
+case "${host}" in
+ *-*-solaris*) platform=U_SOLARIS ;;
+ *-*-linux*|*-*-gnu|*-*-k*bsd*-gnu|*-*-kopensolaris*-gnu) platform=U_LINUX ;;
+ *-*-*bsd*|*-*-dragonfly*) platform=U_BSD ;;
+ *-*-aix*) platform=U_AIX ;;
+ *-*-hpux*) platform=U_HPUX ;;
+ *-apple-darwin*|*-apple-rhapsody*) platform=U_DARWIN ;;
+ *-*-cygwin*) platform=U_CYGWIN ;;
+ *-*-mingw*) platform=U_MINGW ;;
+ *-*ibm-openedition*|*-*-os390*) platform=OS390
+ if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
+ ICUDATA_CHAR="e"
+ fi ;;
+ *-*-os400*) platform=OS400
+ if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
+ ICUDATA_CHAR="e"
+ fi ;;
+ *-*-nto*) platform=U_QNX ;;
+ *-dec-osf*) platform=U_OSF ;;
+ *-*-beos) platform=U_BEOS ;;
+ *-*-irix*) platform=U_IRIX ;;
+ *-ncr-*) platform=U_MPRAS ;;
+ *) platform=U_UNKNOWN_PLATFORM ;;
+esac
+
+
+platform_make_fragment_name="$icu_cv_host_frag"
+platform_make_fragment='$(top_srcdir)/config/'"$platform_make_fragment_name"
+
+
+
+if test "${FORCE_LIBS}" != ""; then
+ echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6
+ LIBS=${FORCE_LIBS}
+fi
+
+# Now that we're done using CPPFLAGS etc. for tests, we can change it
+# for build.
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+# Silence a Clang warning about ambiguous operators with C++20 rewritten
+# expressions that possibly or maybe even probably is a mistake (ICU-20973).
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts -Wambiguous-reversed-operator" >&5
+$as_echo_n "checking whether C++ compiler accepts -Wambiguous-reversed-operator... " >&6; }
+if ${ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+
+ ax_check_save_flags=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS -Werror -Wambiguous-reversed-operator"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+ ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator=yes
+else
+ ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ CXXFLAGS=$ax_check_save_flags
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" >&5
+$as_echo "$ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" >&6; }
+if test "x$ax_cv_check_cxxflags__Werror__Wambiguous_reversed_operator" = xyes; then :
+ CXXFLAGS+=" -Wno-ambiguous-reversed-operator"
+else
+ :
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+if test "${CC}" = "clang"; then
+ CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
+else
+ CLANGCFLAGS=""
+fi
+
+if test "${CXX}" = "clang++"; then
+ CLANGCXXFLAGS="-Qunused-arguments -Wno-parentheses-equality"
+ LIBCXXFLAGS="$LIBCXXFLAGS -Wglobal-constructors"
+else
+ CLANGCXXFLAGS=""
+fi
+
+CPPFLAGS="$CPPFLAGS \$(THREADSCPPFLAGS)"
+CFLAGS="$CFLAGS \$(THREADSCFLAGS) $CLANGCFLAGS"
+CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS) $CLANGCXXFLAGS"
+
+
+
+
+# append all config cppflags
+CPPFLAGS="$CPPFLAGS $CONFIG_CPPFLAGS $UCONFIG_CPPFLAGS"
+
+echo "CPPFLAGS=$CPPFLAGS"
+echo "CFLAGS=$CFLAGS"
+echo "CXXFLAGS=$CXXFLAGS"
+
+
+# output the Makefiles
+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 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/icuexportdata/Makefile tools/tzcode/Makefile tools/gencfu/Makefile tools/escapesrc/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/collperf2/Makefile test/perf/dicttrieperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/localecanperf/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 test/fuzzer/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+ *) { eval $ac_var=; unset $ac_var;} ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes: double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \.
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ if test "x$cache_file" != "x/dev/null"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+ if test ! -f "$cache_file" || test -h "$cache_file"; then
+ cat confcache >"$cache_file"
+ else
+ case $cache_file in #(
+ */* | ?:*)
+ mv -f confcache "$cache_file"$$ &&
+ mv -f "$cache_file"$$ "$cache_file" ;; #(
+ *)
+ mv -f confcache "$cache_file" ;;
+ esac
+ fi
+ fi
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section. Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+:mline
+/\\$/{
+ N
+ s,\\\n,,
+ b mline
+}
+t clear
+:clear
+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
+s/\[/\\&/g
+s/\]/\\&/g
+s/\$/$$/g
+H
+:any
+${
+ g
+ s/^\n//
+ s/\n/ /g
+ p
+}
+'
+DEFS=`sed -n "$ac_script" confdefs.h`
+
+
+ac_libobjs=
+ac_ltlibobjs=
+U=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+
+
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
+ emulate sh
+ NULLCMD=:
+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in #(
+ *posix*) :
+ set -o posix ;; #(
+ *) :
+ ;;
+esac
+fi
+
+
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='print -r --'
+ as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+ as_echo='printf %s\n'
+ as_echo_n='printf %s'
+else
+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+ as_echo_n='/usr/ucb/echo -n'
+ else
+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+ as_echo_n_body='eval
+ arg=$1;
+ case $arg in #(
+ *"$as_nl"*)
+ expr "X$arg" : "X\\(.*\\)$as_nl";
+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+ esac;
+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+ '
+ export as_echo_n_body
+ as_echo_n='sh -c $as_echo_n_body as_echo'
+ fi
+ export as_echo_body
+ as_echo='sh -c $as_echo_body as_echo'
+fi
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ PATH_SEPARATOR=:
+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+ PATH_SEPARATOR=';'
+ }
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+as_myself=
+case $0 in #((
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ exit 1
+fi
+
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there. '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+ as_status=$1; test $as_status -eq 0 && as_status=1
+ if test "$4"; then
+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+ fi
+ $as_echo "$as_me: error: $2" >&2
+ as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+ return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+ set +e
+ as_fn_set_status $1
+ exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+ { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+ eval 'as_fn_append ()
+ {
+ eval $1+=\$2
+ }'
+else
+ as_fn_append ()
+ {
+ eval $1=\$$1\$2
+ }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+ eval 'as_fn_arith ()
+ {
+ as_val=$(( $* ))
+ }'
+else
+ as_fn_arith ()
+ {
+ as_val=`expr "$@" || test $? -eq 1`
+ }
+fi # as_fn_arith
+
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in #(((((
+-n*)
+ case `echo 'xy\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ xy) ECHO_C='\c';;
+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
+ ECHO_T=' ';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir 2>/dev/null
+fi
+if (echo >conf$$.file) 2>/dev/null; then
+ if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -pR'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -pR'
+ elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+ else
+ as_ln_s='cp -pR'
+ fi
+else
+ as_ln_s='cp -pR'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || eval $as_mkdir_p || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p='mkdir -p "$as_dir"'
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by ICU $as_me 70.1, which was
+generated by GNU Autoconf 2.69. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+# Files that config.status was made for.
+config_files="$ac_config_files"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+ac_cs_usage="\
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration. Unless the files
+and actions are specified as TAGs, all are instantiated by default.
+
+Usage: $0 [OPTION]... [TAG]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ --config print configuration, then exit
+ -q, --quiet, --silent
+ do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+
+Configuration files:
+$config_files
+
+Report bugs to <http://icu-project.org/bugs>.
+ICU home page: <http://icu-project.org>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
+ac_cs_version="\\
+ICU config.status 70.1
+configured by $0, generated by GNU Autoconf 2.69,
+ with options \\"\$ac_cs_config\\"
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+test -n "\$AWK" || AWK=awk
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=?*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ --*=)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ $as_echo "$ac_cs_version"; exit ;;
+ --config | --confi | --conf | --con | --co | --c )
+ $as_echo "$ac_cs_config"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ case $ac_optarg in
+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ '') as_fn_error $? "missing file argument" ;;
+ esac
+ as_fn_append CONFIG_FILES " '$ac_optarg'"
+ ac_need_defaults=false;;
+ --he | --h | --help | --hel | -h )
+ $as_echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
+
+ *) as_fn_append ac_config_targets " $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+if \$ac_cs_recheck; then
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ shift
+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+ CONFIG_SHELL='$SHELL'
+ export CONFIG_SHELL
+ exec "\$@"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ $as_echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "data/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES data/pkgdataMakefile" ;;
+ "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;
+ "config/icu.pc") CONFIG_FILES="$CONFIG_FILES config/icu.pc" ;;
+ "config/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES config/pkgdataMakefile" ;;
+ "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
+ "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;
+ "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
+ "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
+ "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;
+ "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
+ "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
+ "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;
+ "extra/uconv/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;
+ "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;
+ "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
+ "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;
+ "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;
+ "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;
+ "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;
+ "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;
+ "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;
+ "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;
+ "tools/gendict/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gendict/Makefile" ;;
+ "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;
+ "tools/gennorm2/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm2/Makefile" ;;
+ "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;
+ "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;
+ "tools/icuinfo/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuinfo/Makefile" ;;
+ "tools/icupkg/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icupkg/Makefile" ;;
+ "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;
+ "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;
+ "tools/icuexportdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuexportdata/Makefile" ;;
+ "tools/tzcode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/tzcode/Makefile" ;;
+ "tools/gencfu/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencfu/Makefile" ;;
+ "tools/escapesrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/escapesrc/Makefile" ;;
+ "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
+ "test/compat/Makefile") CONFIG_FILES="$CONFIG_FILES test/compat/Makefile" ;;
+ "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;
+ "test/testdata/pkgdataMakefile") CONFIG_FILES="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;
+ "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;
+ "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;
+ "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;
+ "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;
+ "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;
+ "test/perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/Makefile" ;;
+ "test/perf/collationperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
+ "test/perf/collperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf/Makefile" ;;
+ "test/perf/collperf2/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/collperf2/Makefile" ;;
+ "test/perf/dicttrieperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/dicttrieperf/Makefile" ;;
+ "test/perf/ubrkperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
+ "test/perf/charperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/charperf/Makefile" ;;
+ "test/perf/convperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/convperf/Makefile" ;;
+ "test/perf/localecanperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/localecanperf/Makefile" ;;
+ "test/perf/normperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/normperf/Makefile" ;;
+ "test/perf/DateFmtPerf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;;
+ "test/perf/howExpensiveIs/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/howExpensiveIs/Makefile" ;;
+ "test/perf/strsrchperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;
+ "test/perf/unisetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
+ "test/perf/usetperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
+ "test/perf/ustrperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
+ "test/perf/utfperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
+ "test/perf/utrie2perf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;
+ "test/perf/leperf/Makefile") CONFIG_FILES="$CONFIG_FILES test/perf/leperf/Makefile" ;;
+ "test/fuzzer/Makefile") CONFIG_FILES="$CONFIG_FILES test/fuzzer/Makefile" ;;
+ "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
+ "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;
+ "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;
+ "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
+
+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp= ac_tmp=
+ trap 'exit_status=$?
+ : "${ac_tmp:=$tmp}"
+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
+' 0
+ trap 'as_fn_exit 1' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
+
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
+if test -n "$CONFIG_FILES"; then
+
+
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+ eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+ ac_cs_awk_cr='\\r'
+else
+ ac_cs_awk_cr=$ac_cr
+fi
+
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
+_ACEOF
+
+
+{
+ echo "cat >conf$$subs.awk <<_ACEOF" &&
+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+ echo "_ACEOF"
+} >conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ . ./conf$$subs.sh ||
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+
+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+ if test $ac_delim_n = $ac_delim_num; then
+ break
+ elif $ac_last_try; then
+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+rm -f conf$$subs.sh
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
+_ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+ N
+ s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+ for (key in S) S_is_set[key] = 1
+ FS = "\a"
+
+}
+{
+ line = $ 0
+ nfields = split(line, field, "@")
+ substed = 0
+ len = length(field[1])
+ for (i = 2; i < nfields; i++) {
+ key = field[i]
+ keylen = length(key)
+ if (S_is_set[key]) {
+ value = S[key]
+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+ len += length(value) + length(field[++i])
+ substed = 1
+ } else
+ len += 1 + keylen
+ }
+
+ print line
+}
+
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+ cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
+
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
+h
+s///
+s/^/:/
+s/[ ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
+s/:*$//
+x
+s/\(=[ ]*\).*/\1/
+G
+s/\n//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+fi # test -n "$CONFIG_FILES"
+
+
+eval set X " :F $CONFIG_FILES "
+shift
+for ac_tag
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$ac_tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+ esac
+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+ as_fn_append ac_file_inputs " '$ac_f'"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input='Generated from '`
+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+ `' by configure.'
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
+ fi
+ # Neutralize special characters interpreted by sed in replacement strings.
+ case $configure_input in #(
+ *\&* | *\|* | *\\* )
+ ac_sed_conf_input=`$as_echo "$configure_input" |
+ sed 's/[\\\\&|]/\\\\&/g'`;; #(
+ *) ac_sed_conf_input=$configure_input;;
+ esac
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$ac_tmp/stdin" \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ as_dir="$ac_dir"; as_fn_mkdir_p
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+ac_sed_dataroot='
+/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s|@configure_input@|$ac_sed_conf_input|;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+$ac_datarootdir_hack
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
+ "$ac_tmp/out"`; test -z "$ac_out"; } &&
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined" >&2;}
+
+ rm -f "$ac_tmp/stdin"
+ case $ac_file in
+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+ esac \
+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+ ;;
+
+
+
+ esac
+
+done # for ac_tag
+
+
+as_fn_exit 0
+_ACEOF
+ac_clean_files=$ac_clean_files_save
+
+test $ac_write_fail = 0 ||
+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
+fi
+
+
+if test -z "$PYTHON";
+then
+ echo "" > data/rules.mk
+ echo "" > test/testdata/rules.mk
+else
+ if test -f "$srcdir/data/locales/root.txt";
+ then
+ echo "Spawning Python to generate data/rules.mk..."
+ PYTHONPATH="$srcdir/python" \
+ $PYTHON -m icutools.databuilder \
+ --mode gnumake \
+ --seqmode parallel \
+ --src_dir "$srcdir/data" \
+ --filter_file "$ICU_DATA_FILTER_FILE" \
+ $ICU_DATA_BUILDTOOL_OPTS \
+ > data/rules.mk
+ if test "$?" != "0"; then
+ as_fn_error $? "Python failed to run; see above error." "$LINENO" 5
+ fi
+ else
+ echo "Not rebuilding data/rules.mk, assuming prebuilt data in data/in"
+ touch data/rules.mk
+ fi
+ echo "Spawning Python to generate test/testdata/rules.mk..."
+ PYTHONPATH="$srcdir/python" \
+ $PYTHON -m icutools.databuilder \
+ --mode gnumake \
+ --seqmode parallel \
+ --src_dir "$srcdir/test/testdata" \
+ > test/testdata/rules.mk
+ if test "$?" != "0"; then
+ as_fn_error $? "Python failed to run; see above error." "$LINENO" 5
+ fi
+fi
+
+echo
+echo "ICU for C/C++ $VERSION is ready to be built."
+echo "=== Important Notes: ==="
+
+echo "Data Packaging: $datapackaging"
+echo " This means: $datapackaging_msg"
+echo " To locate data: $datapackaging_howfound"
+
+if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
+echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."
+else
+echo "** WARNING: $U_MAKE may not be GNU make."
+echo "This may cause ICU to fail to build. Please make sure that GNU make"
+echo "is in your PATH so that the configure script can detect its location."
+fi
+if test "x$AR" = "xfalse"; then
+ echo "*** WARNING: Archiver ar not found. Set AR= or fix PATH. Some builds (such as static) may fail."
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5
+$as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }
+if "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM="$platform"; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
+$as_echo "ok" >&6; }
+else
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5
+$as_echo "too old or test failed - try upgrading GNU Make" >&6; }
+fi
+
+
+if test -n "$UCONFIG_CPPFLAGS"; then
+ HDRFILE="uconfig.h.prepend"
+ echo "*** WARNING: You must set the following flags before code compiled against this ICU will function properly:"
+ echo
+ echo " ${UCONFIG_CPPFLAGS}"
+ echo
+ 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.'
+ echo "Creating the file ${HDRFILE}"
+ echo
+ echo '--------------- ' "${HDRFILE}"
+ echo > "${HDRFILE}"
+ echo '/* ICU customizations: put these lines at the top of uconfig.h */' >> "${HDRFILE}"
+ echo >> "${HDRFILE}"
+ for flag in ${UCONFIG_CPPFLAGS};
+ do
+ echo " /* $flag */" >> "${HDRFILE}"
+ case "${flag}" in
+ -D*=*)
+ \echo "${flag}" | sed -n 's%-D\([^=]*\)=%#define \1 %p' >> "${HDRFILE}"
+ \echo >> "${HDRFILE}"
+ ;;
+ -D*)
+ \echo "${flag}" | sed -n 's%-D\([^=]*\)%#define \1 %p' >> "${HDRFILE}"
+ \echo >> "${HDRFILE}"
+ ;;
+ *)
+ \echo "/* Not sure how to handle this argument: ${flag} */" >> "${HDRFILE}"
+ \echo >> "${HDRFILE}"
+ ;;
+ esac
+ done
+ cat "${HDRFILE}"
+ \echo "/* End of ${HDRFILE} ------------ */" >> "${HDRFILE}"
+ echo >> "${HDRFILE}"
+ echo '--------------- end ' "${HDRFILE}"
+fi
+
+
+if test -n "$UCONFIG_CFLAGS"; then
+ echo "C apps may want to build with CFLAGS = ${UCONFIG_CFLAGS}"
+fi
+
+if test -n "$UCONFIG_CXXFLAGS"; then
+ echo "C++ apps may want to build with CXXFLAGS = ${UCONFIG_CXXFLAGS}"
+fi
+
+if test "$tools" = false;
+then
+ echo "## Note: you have disabled ICU's tools. This ICU cannot build its own data or tests."
+ echo "## Expect build failures in the 'data', 'test', and other directories."
+fi
+
+if test -z "$PYTHON";
+then
+ echo "** Note: Python not found. You will not be able to build data from source or run tests."
+fi
+
+$as_unset _CXX_CXXSUFFIX