2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
5 # Copyright (c) 1999-2010, International Business Machines Corporation and others. All Rights Reserved.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
234 $0: including any error possibly output before this
235 $0: message. Then install a modern shell, or manually run
236 $0: the script under such a shell if you do have one."
242 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE
= GREP_OPTIONS
=
246 unset CLICOLOR_FORCE GREP_OPTIONS
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
253 # Portably unset VAR.
256 { eval $1=; unset $1;}
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 # Create "$as_dir" as a directory, including parents if necessary.
285 -*) as_dir
=.
/$as_dir;;
287 test -d "$as_dir" || eval $as_mkdir_p || {
291 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 as_dirs
="'$as_qdir' $as_dirs"
295 as_dir
=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318 test -d "$as_dir" && break
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
332 eval 'as_fn_append ()
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
356 as_val
=`expr "$@" || test $? -eq 1`
361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with STATUS, using 1 if that was 0.
368 as_status
=$1; test $as_status -eq 0 && as_status
=1
370 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit
$as_status
377 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
384 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
396 as_me
=`$as_basename -- "$0" ||
397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398 X"$0" : 'X\(//\)$' \| \
399 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 sed '/^.*\/\([^/][^/]*\)\/*$/{
415 # Avoid depending upon Character Ranges.
416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits
='0123456789'
420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
423 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
424 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
443 chmod +x
"$as_me.lineno" ||
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
446 # Don't try to exec as it changes $[0], causing all sort of problems
447 # (the dirname of $[0] is not the place where we might find the
448 # original and so on. Autoconf is especially sensitive to this).
450 # Exit status is that of the last command.
454 ECHO_C
= ECHO_N
= ECHO_T
=
455 case `echo -n x` in #(((((
457 case `echo 'xy\c'` in
458 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
467 rm -f conf$$ conf$$.exe conf$$.
file
468 if test -d conf$$.dir
; then
469 rm -f conf$$.dir
/conf$$.
file
472 mkdir conf$$.dir
2>/dev
/null
474 if (echo >conf$$.
file) 2>/dev
/null
; then
475 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
477 # ... but there are two gotchas:
478 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480 # In both cases, we have to default to `cp -p'.
481 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
483 elif ln conf$$.
file conf$$
2>/dev
/null
; then
491 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
492 rmdir conf$$.dir
2>/dev
/null
494 if mkdir -p .
2>/dev
/null
; then
495 as_mkdir_p
='mkdir -p "$as_dir"'
497 test -d .
/-p && rmdir .
/-p
501 if test -x / >/dev
/null
2>&1; then
504 if ls -dL / >/dev
/null
2>&1; then
511 if test -d "$1"; then
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518 ???[sx]*):;;*)false;;esac;fi
522 as_executable_p
=$as_test_x
524 # Sed expression to map a string onto a valid CPP name.
525 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527 # Sed expression to map a string onto a valid variable name.
528 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 test -n "$DJDIR" || exec 7<&0 </dev
/null
535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too.
537 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
542 ac_default_prefix
=/usr
/local
544 ac_config_libobj_dir
=.
551 # Identity of this package.
559 ac_unique_file
="common/unicode/utypes.h"
560 # Factoring default headers for most tests.
561 ac_includes_default
="\
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
573 # ifdef HAVE_STDLIB_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
596 ac_subst_vars
='LTLIBOBJS
598 platform_make_fragment
599 platform_make_fragment_name
614 U_CHECK_GNUC_UTF16_STRING
635 U_OVERRIDE_CXX_ALLOCATION
637 U_NL_LANGINFO_CODESET
638 U_HAVE_NL_LANGINFO_CODESET
659 U_USE_GCC_VISIBILITY_ATTRIBUTE
736 program_transform_name
749 enable_option_checking
775 ac_precious_vars
='build_alias
789 # Initialize some variables set by options.
791 ac_init_version
=false
792 ac_unrecognized_opts
=
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
803 program_transform_name
=s
,x
,x
,
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir
='${exec_prefix}/bin'
818 sbindir
='${exec_prefix}/sbin'
819 libexecdir
='${exec_prefix}/libexec'
820 datarootdir
='${prefix}/share'
821 datadir
='${datarootdir}'
822 sysconfdir
='${prefix}/etc'
823 sharedstatedir
='${prefix}/com'
824 localstatedir
='${prefix}/var'
825 includedir
='${prefix}/include'
826 oldincludedir
='/usr/include'
827 docdir
='${datarootdir}/doc/${PACKAGE}'
828 infodir
='${datarootdir}/info'
833 libdir
='${exec_prefix}/lib'
834 localedir
='${datarootdir}/locale'
835 mandir
='${datarootdir}/man'
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\
$ac_option
849 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 -build | --build | --buil | --bui | --bu)
866 ac_prev
=build_alias
;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias
=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev
=cache_file
;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file
=$ac_optarg ;;
878 cache_file
=config.cache
;;
880 -datadir | --datadir | --datadi | --datad)
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir
=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev
=datarootdir
;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir
=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
896 as_fn_error $?
"invalid feature name: $ac_useropt"
897 ac_useropt_orig
=$ac_useropt
898 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
899 case $ac_user_opts in
903 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
904 ac_unrecognized_sep
=', ';;
906 eval enable_
$ac_useropt=no
;;
908 -docdir | --docdir | --docdi | --doc | --do)
910 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
915 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918 -enable-* | --enable-*)
919 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
922 as_fn_error $?
"invalid feature name: $ac_useropt"
923 ac_useropt_orig
=$ac_useropt
924 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
925 case $ac_user_opts in
929 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
930 ac_unrecognized_sep
=', ';;
932 eval enable_
$ac_useropt=\
$ac_optarg ;;
934 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
935 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
936 | --exec | --exe | --ex)
937 ac_prev
=exec_prefix
;;
938 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
939 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
940 | --exec=* | --exe=* | --ex=*)
941 exec_prefix
=$ac_optarg ;;
943 -gas | --gas | --ga | --g)
944 # Obsolete; use --with-gas.
947 -help | --help | --hel | --he | -h)
949 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
950 ac_init_help
=recursive
;;
951 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
952 ac_init_help
=short
;;
954 -host | --host | --hos | --ho)
955 ac_prev
=host_alias
;;
956 -host=* | --host=* | --hos=* | --ho=*)
957 host_alias
=$ac_optarg ;;
959 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
961 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
963 htmldir
=$ac_optarg ;;
965 -includedir | --includedir | --includedi | --included | --include \
966 | --includ | --inclu | --incl | --inc)
967 ac_prev
=includedir
;;
968 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
969 | --includ=* | --inclu=* | --incl=* | --inc=*)
970 includedir
=$ac_optarg ;;
972 -infodir | --infodir | --infodi | --infod | --info | --inf)
974 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
975 infodir
=$ac_optarg ;;
977 -libdir | --libdir | --libdi | --libd)
979 -libdir=* | --libdir=* | --libdi=* | --libd=*)
982 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
983 | --libexe | --libex | --libe)
984 ac_prev
=libexecdir
;;
985 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
986 | --libexe=* | --libex=* | --libe=*)
987 libexecdir
=$ac_optarg ;;
989 -localedir | --localedir | --localedi | --localed | --locale)
991 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
992 localedir
=$ac_optarg ;;
994 -localstatedir | --localstatedir | --localstatedi | --localstated \
995 | --localstate | --localstat | --localsta | --localst | --locals)
996 ac_prev
=localstatedir
;;
997 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
998 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
999 localstatedir
=$ac_optarg ;;
1001 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1003 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1004 mandir
=$ac_optarg ;;
1006 -nfp | --nfp | --nf)
1007 # Obsolete; use --without-fp.
1010 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1011 | --no-cr | --no-c | -n)
1014 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1015 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1018 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1019 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1020 | --oldin | --oldi | --old | --ol | --o)
1021 ac_prev
=oldincludedir
;;
1022 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1023 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1024 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1025 oldincludedir
=$ac_optarg ;;
1027 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1029 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1030 prefix
=$ac_optarg ;;
1032 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1033 | --program-pre | --program-pr | --program-p)
1034 ac_prev
=program_prefix
;;
1035 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1036 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1037 program_prefix
=$ac_optarg ;;
1039 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1040 | --program-suf | --program-su | --program-s)
1041 ac_prev
=program_suffix
;;
1042 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1043 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1044 program_suffix
=$ac_optarg ;;
1046 -program-transform-name | --program-transform-name \
1047 | --program-transform-nam | --program-transform-na \
1048 | --program-transform-n | --program-transform- \
1049 | --program-transform | --program-transfor \
1050 | --program-transfo | --program-transf \
1051 | --program-trans | --program-tran \
1052 | --progr-tra | --program-tr | --program-t)
1053 ac_prev
=program_transform_name
;;
1054 -program-transform-name=* | --program-transform-name=* \
1055 | --program-transform-nam=* | --program-transform-na=* \
1056 | --program-transform-n=* | --program-transform-=* \
1057 | --program-transform=* | --program-transfor=* \
1058 | --program-transfo=* | --program-transf=* \
1059 | --program-trans=* | --program-tran=* \
1060 | --progr-tra=* | --program-tr=* | --program-t=*)
1061 program_transform_name
=$ac_optarg ;;
1063 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1065 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1066 pdfdir
=$ac_optarg ;;
1068 -psdir | --psdir | --psdi | --psd | --ps)
1070 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1077 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1079 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1081 sbindir
=$ac_optarg ;;
1083 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1084 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1085 | --sharedst | --shareds | --shared | --share | --shar \
1087 ac_prev
=sharedstatedir
;;
1088 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1089 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1090 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1092 sharedstatedir
=$ac_optarg ;;
1094 -site | --site | --sit)
1096 -site=* | --site=* | --sit=*)
1099 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1101 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1102 srcdir
=$ac_optarg ;;
1104 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1105 | --syscon | --sysco | --sysc | --sys | --sy)
1106 ac_prev
=sysconfdir
;;
1107 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1108 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1109 sysconfdir
=$ac_optarg ;;
1111 -target | --target | --targe | --targ | --tar | --ta | --t)
1112 ac_prev
=target_alias
;;
1113 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1114 target_alias
=$ac_optarg ;;
1116 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1119 -version | --version | --versio | --versi | --vers | -V)
1120 ac_init_version
=: ;;
1123 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1126 as_fn_error $?
"invalid package name: $ac_useropt"
1127 ac_useropt_orig
=$ac_useropt
1128 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1134 ac_unrecognized_sep
=', ';;
1136 eval with_
$ac_useropt=\
$ac_optarg ;;
1138 -without-* | --without-*)
1139 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1142 as_fn_error $?
"invalid package name: $ac_useropt"
1143 ac_useropt_orig
=$ac_useropt
1144 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145 case $ac_user_opts in
1149 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1150 ac_unrecognized_sep
=', ';;
1152 eval with_
$ac_useropt=no
;;
1155 # Obsolete; use --with-x.
1158 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1159 | --x-incl | --x-inc | --x-in | --x-i)
1160 ac_prev
=x_includes
;;
1161 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1162 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1163 x_includes
=$ac_optarg ;;
1165 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1166 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1167 ac_prev
=x_libraries
;;
1168 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1169 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1170 x_libraries
=$ac_optarg ;;
1172 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1173 Try \`$0 --help' for more information"
1177 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1178 # Reject names that are not valid shell variable names.
1179 case $ac_envvar in #(
1180 '' | [0-9]* | *[!_$as_cr_alnum]* )
1181 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1183 eval $ac_envvar=\
$ac_optarg
1184 export $ac_envvar ;;
1187 # FIXME: should be removed in autoconf 3.0.
1188 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1189 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1190 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1191 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1197 if test -n "$ac_prev"; then
1198 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1199 as_fn_error $?
"missing argument to $ac_option"
1202 if test -n "$ac_unrecognized_opts"; then
1203 case $enable_option_checking in
1205 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1206 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 # Check all directory arguments for consistency.
1211 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1212 datadir sysconfdir sharedstatedir localstatedir includedir \
1213 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1214 libdir localedir mandir
1216 eval ac_val
=\$
$ac_var
1217 # Remove trailing slashes.
1220 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1221 eval $ac_var=\
$ac_val;;
1223 # Be sure to have absolute directory names.
1225 [\\/$
]* | ?
:[\\/]* ) continue;;
1226 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1228 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used" >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error $?
"working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error $?
"pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted
=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir
=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted
=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1299 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var
in $ac_precious_vars; do
1316 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1317 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1318 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1319 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures this package to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking ...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1378 --htmldir=DIR html documentation [DOCDIR]
1379 --dvidir=DIR dvi documentation [DOCDIR]
1380 --pdfdir=DIR pdf documentation [DOCDIR]
1381 --psdir=DIR ps documentation [DOCDIR]
1387 --build=BUILD configure
for building on BUILD
[guessed
]
1388 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1389 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1393 if test -n "$ac_init_help"; then
1398 --disable-option-checking ignore unrecognized
--enable/--with options
1399 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1400 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1401 --enable-debug build debug libraries default
=no
1402 --enable-release build release libraries default
=yes
1403 --enable-strict compile with strict compiler options default
=yes
1404 --enable-64bit-libs (deprecated
, use
--with-library-bits) build
64-bit libraries default
= platform default
1405 --enable-shared build shared libraries default
=yes
1406 --enable-static build static libraries default
=no
1407 --enable-auto-cleanup enable auto cleanup of libraries default
=no
1408 --enable-draft enable draft APIs
(and internal APIs
) default
=yes
1409 --enable-renaming add a version suffix to symbols default
=yes
1410 --enable-tracing enable function and data tracing default
=no
1411 --disable-dyload disable dynamic loading default
=no
1412 --enable-rpath use rpath when linking default is only
if necessary
1413 --enable-threads build ICU with thread safety default
=yes
1414 --enable-weak-threads weakly reference the threading library default
=no
1415 --enable-extras build ICU extras default
=yes
1416 --enable-icuio build ICU
's icuio library default=yes
1417 --enable-layout build ICU's layout library default
=yes
1418 --enable-tests build ICU tests default
=yes
1419 --enable-samples build ICU samples default
=yes
1421 Additionally
, the variable FORCE_LIBS may be
set before calling configure.
1422 If
set, it will REPLACE any automatic list of libraries.
1425 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1426 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1427 --with-cross-build=dir specify an absolute path to the build directory of an ICU built
for the current platform default
=no cross dir
1428 --with-library-bits=bits specify how many bits to use
for the library
(32, 64, 64else32
, nochange
) default
=nochange
1429 --with-iostream=version specify the version of iostream to use
(none
, old
, std
, auto
) default
=auto
1430 --with-data-packaging=type specify how to package ICU data
(files
, archive
, library
, static
, auto
) default
=auto
1431 --with-library-suffix=suffix tag a suffix to the library names default
=
1433 Some influential environment variables
:
1434 CC C compiler
command
1435 CFLAGS C compiler flags
1436 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1437 nonstandard directory
<lib dir
>
1438 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1439 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1440 you have headers
in a nonstandard directory
<include dir
>
1441 CXX C
++ compiler
command
1442 CXXFLAGS C
++ compiler flags
1445 Use these variables to override the choices made by
`configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to the package provider.
1453 if test "$ac_init_help" = "recursive"; then
1454 # If there are subdirs, report their specific --help.
1455 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456 test -d "$ac_dir" ||
1457 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1465 # A ".." for each directory in $ac_dir_suffix.
1466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467 case $ac_top_builddir_sub in
1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472 ac_abs_top_builddir=$ac_pwd
1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474 # for backward compatibility:
1475 ac_top_builddir=$ac_top_build_prefix
1478 .) # We are building in place.
1480 ac_top_srcdir=$ac_top_builddir_sub
1481 ac_abs_top_srcdir=$ac_pwd ;;
1482 [\\/]* | ?:[\\/]* ) # Absolute name.
1483 ac_srcdir=$srcdir$ac_dir_suffix;
1484 ac_top_srcdir=$srcdir
1485 ac_abs_top_srcdir=$srcdir ;;
1487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488 ac_top_srcdir=$ac_top_build_prefix$srcdir
1489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1493 cd "$ac_dir" || { ac_status=$?; continue; }
1494 # Check for guested configure.
1495 if test -f "$ac_srcdir/configure.gnu"; then
1497 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1498 elif test -f "$ac_srcdir/configure"; then
1500 $SHELL "$ac_srcdir/configure" --help=recursive
1502 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504 cd "$ac_pwd" || { ac_status=$?; break; }
1508 test -n "$ac_init_help" && exit $ac_status
1509 if $ac_init_version; then
1512 generated by GNU Autoconf 2.67
1514 Copyright (C) 2010 Free Software Foundation, Inc.
1515 This configure script is free software; the Free Software Foundation
1516 gives unlimited permission to copy, distribute and modify it.
1518 Copyright (c) 1999-2010, International Business Machines Corporation and others. All Rights Reserved.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1537 *) ac_try_echo
=$ac_try;;
1539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err
; then
1544 grep -v '^ *+' conftest.err
>conftest.er1
1545 cat conftest.er1
>&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.
$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.
$ac_ext >&5
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1561 as_fn_set_status
$ac_retval
1563 } # ac_fn_c_try_compile
1565 # ac_fn_cxx_try_compile LINENO
1566 # ----------------------------
1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_cxx_try_compile
()
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 rm -f conftest.
$ac_objext
1572 if { { ac_try
="$ac_compile"
1574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1575 *) ac_try_echo=$ac_try;;
1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578 $as_echo "$ac_try_echo"; } >&5
1579 (eval "$ac_compile") 2>conftest.err
1581 if test -s conftest.err; then
1582 grep -v '^ *+' conftest.err >conftest.er1
1583 cat conftest.er1 >&5
1584 mv -f conftest.er1 conftest.err
1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587 test $ac_status = 0; } && {
1588 test -z "$ac_cxx_werror_flag" ||
1589 test ! -s conftest.err
1590 } && test -s conftest.$ac_objext; then :
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.$ac_ext >&5
1598 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1599 as_fn_set_status $ac_retval
1601 } # ac_fn_cxx_try_compile
1603 # ac_fn_c_try_cpp LINENO
1604 # ----------------------
1605 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 if { { ac_try="$ac_cpp conftest.$ac_ext"
1611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1612 *) ac_try_echo
=$ac_try;;
1614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1618 if test -s conftest.err
; then
1619 grep -v '^ *+' conftest.err
>conftest.er1
1620 cat conftest.er1
>&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } > conftest.i
&& {
1625 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.
$ac_ext >&5
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1636 as_fn_set_status
$ac_retval
1640 # ac_fn_cxx_try_link LINENO
1641 # -------------------------
1642 # Try to link conftest.$ac_ext, and return whether this succeeded.
1643 ac_fn_cxx_try_link
()
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 rm -f conftest.
$ac_objext conftest
$ac_exeext
1647 if { { ac_try
="$ac_link"
1649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_link") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && {
1663 test -z "$ac_cxx_werror_flag" ||
1664 test ! -s conftest.err
1665 } && test -s conftest$ac_exeext && {
1666 test "$cross_compiling" = yes ||
1667 $as_test_x conftest$ac_exeext
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1677 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1678 # interfere with the next link command; also delete a directory that is
1679 # left behind by Apple's compiler. We do this before executing the actions.
1680 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682 as_fn_set_status $ac_retval
1684 } # ac_fn_cxx_try_link
1686 # ac_fn_c_try_run LINENO
1687 # ----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689 # that executables *can* be run.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { { ac_try="$ac_link"
1695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1696 *) ac_try_echo
=$ac_try;;
1698 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1704 { { case "(($ac_try" in
1705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1706 *) ac_try_echo=$ac_try;;
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710 (eval "$ac_try") 2>&5
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; }; }; then :
1716 $as_echo "$as_me: program exited with status $ac_status" >&5
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1720 ac_retval=$ac_status
1722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1724 as_fn_set_status $ac_retval
1728 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1729 # --------------------------------------------
1730 # Tries to find the compile-time value of EXPR in a program that includes
1731 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1733 ac_fn_c_compute_int ()
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 if test "$cross_compiling" = yes; then
1737 # Depending upon the size, compute the lo and hi bounds.
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1744 static int test_array [1 - 2 * !(($2) >= 0)];
1751 if ac_fn_c_try_compile "$LINENO"; then :
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1760 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1767 if ac_fn_c_try_compile "$LINENO"; then :
1768 ac_hi=$ac_mid; break
1770 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1771 if test $ac_lo -le $ac_mid; then
1775 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1786 static int test_array [1 - 2 * !(($2) < 0)];
1793 if ac_fn_c_try_compile "$LINENO"; then :
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1802 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1809 if ac_fn_c_try_compile "$LINENO"; then :
1810 ac_lo=$ac_mid; break
1812 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1813 if test $ac_mid -le $ac_hi; then
1817 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 # Binary search between lo and hi bounds.
1828 while test "x$ac_lo" != "x$ac_hi"; do
1829 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1836 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1843 if ac_fn_c_try_compile "$LINENO"; then :
1846 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1858 static long int longval () { return $2; }
1859 static unsigned long int ulongval () { return $2; }
1866 FILE *f = fopen ("conftest.val", "w");
1871 long int i = longval ();
1874 fprintf (f, "%ld", i);
1878 unsigned long int i = ulongval ();
1881 fprintf (f, "%lu", i);
1883 /* Do not output a trailing newline, as this causes \r\n confusion
1884 on some platforms. */
1885 return ferror (f) || fclose (f) != 0;
1891 if ac_fn_c_try_run "$LINENO"; then :
1892 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1897 conftest.$ac_objext conftest.beam conftest.$ac_ext
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 as_fn_set_status $ac_retval
1904 } # ac_fn_c_compute_int
1906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1907 # -------------------------------------------------------
1908 # Tests whether HEADER exists and can be compiled using the include files in
1909 # INCLUDES, setting the cache variable VAR accordingly.
1910 ac_fn_c_check_header_compile ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval "test \"\${$3+set}\"" = set; then :
1916 $as_echo_n "(cached) " >&6
1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h. */
1923 if ac_fn_c_try_compile "$LINENO"; then :
1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1932 $as_echo "$ac_res" >&6; }
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1935 } # ac_fn_c_check_header_compile
1937 # ac_fn_c_try_link LINENO
1938 # -----------------------
1939 # Try to link conftest.$ac_ext, and return whether this succeeded.
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 rm -f conftest.$ac_objext conftest$ac_exeext
1944 if { { ac_try="$ac_link"
1946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1947 *) ac_try_echo
=$ac_try;;
1949 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950 $as_echo "$ac_try_echo"; } >&5
1951 (eval "$ac_link") 2>conftest.err
1953 if test -s conftest.err
; then
1954 grep -v '^ *+' conftest.err
>conftest.er1
1955 cat conftest.er1
>&5
1956 mv -f conftest.er1 conftest.err
1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 test $ac_status = 0; } && {
1960 test -z "$ac_c_werror_flag" ||
1961 test ! -s conftest.err
1962 } && test -s conftest
$ac_exeext && {
1963 test "$cross_compiling" = yes ||
1964 $as_test_x conftest
$ac_exeext
1968 $as_echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.
$ac_ext >&5
1973 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1974 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1975 # interfere with the next link command; also delete a directory that is
1976 # left behind by Apple's compiler. We do this before executing the actions.
1977 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1978 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1979 as_fn_set_status
$ac_retval
1981 } # ac_fn_c_try_link
1983 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1984 # -------------------------------------------------------
1985 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1986 # the include files in INCLUDES and setting the cache variable VAR
1988 ac_fn_c_check_header_mongrel
()
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 if eval "test \"\${$3+set}\"" = set; then :
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if eval "test \"\${$3+set}\"" = set; then :
1995 $as_echo_n "(cached) " >&6
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999 $as_echo "$ac_res" >&6; }
2001 # Is the header compilable?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2003 $as_echo_n "checking $2 usability... " >&6; }
2004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2009 if ac_fn_c_try_compile
"$LINENO"; then :
2010 ac_header_compiler
=yes
2012 ac_header_compiler
=no
2014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2016 $as_echo "$ac_header_compiler" >&6; }
2018 # Is the header present?
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2020 $as_echo_n "checking $2 presence... " >&6; }
2021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2022 /* end confdefs.h. */
2025 if ac_fn_c_try_cpp
"$LINENO"; then :
2026 ac_header_preproc
=yes
2028 ac_header_preproc
=no
2030 rm -f conftest.err conftest.i conftest.
$ac_ext
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2032 $as_echo "$ac_header_preproc" >&6; }
2034 # So? What about this header?
2035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2038 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2040 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2044 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2046 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2048 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2050 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2052 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval "test \"\${$3+set}\"" = set; then :
2058 $as_echo_n "(cached) " >&6
2060 eval "$3=\$ac_header_compiler"
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2064 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2068 } # ac_fn_c_check_header_mongrel
2070 # ac_fn_c_check_func LINENO FUNC VAR
2071 # ----------------------------------
2072 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2073 ac_fn_c_check_func
()
2075 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2077 $as_echo_n "checking for $2... " >&6; }
2078 if eval "test \"\${$3+set}\"" = set; then :
2079 $as_echo_n "(cached) " >&6
2081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2085 #define $2 innocuous_$2
2087 /* System header to define __stub macros and hopefully few prototypes,
2088 which can conflict with char $2 (); below.
2089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2090 <limits.h> exists even on freestanding compilers. */
2093 # include <limits.h>
2095 # include <assert.h>
2100 /* Override any GCC internal prototype to avoid an error.
2101 Use char because int might match the return type of a GCC
2102 builtin and then its argument prototype would still apply. */
2107 /* The GNU C library defines this for functions which it implements
2108 to always fail with ENOSYS. Some functions are actually named
2109 something starting with __ and the normal name is an alias. */
2110 #if defined __stub_$2 || defined __stub___$2
2122 if ac_fn_c_try_link
"$LINENO"; then :
2127 rm -f core conftest.err conftest.
$ac_objext \
2128 conftest
$ac_exeext conftest.
$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2135 } # ac_fn_c_check_func
2137 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2138 # -------------------------------------------
2139 # Tests whether TYPE exists after having included INCLUDES, setting cache
2140 # variable VAR accordingly.
2141 ac_fn_c_check_type
()
2143 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if eval "test \"\${$3+set}\"" = set; then :
2147 $as_echo_n "(cached) " >&6
2150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2162 if ac_fn_c_try_compile
"$LINENO"; then :
2163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2175 if ac_fn_c_try_compile
"$LINENO"; then :
2180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2189 } # ac_fn_c_check_type
2190 cat >config.log
<<_ACEOF
2191 This file contains any messages produced by compilers while
2192 running configure, to aid debugging if configure makes a mistake.
2194 It was created by $as_me, which was
2195 generated by GNU Autoconf 2.67. Invocation command line was
2207 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2208 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2209 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2210 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2211 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2213 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2214 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2216 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2217 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2218 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2219 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2220 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2221 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2222 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 $as_echo "PATH: $as_dir"
2247 # Keep a trace of the command line.
2248 # Strip out --no-create and --no-recursion so they do not pile up.
2249 # Strip out --silent because we don't want to record it for future runs.
2250 # Also quote any args containing shell meta-characters.
2251 # Make two passes to allow for proper duplicate-argument suppression.
2255 ac_must_keep_next
=false
2261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2263 | -silent | --silent | --silen | --sile | --sil)
2266 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2269 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2271 as_fn_append ac_configure_args1
" '$ac_arg'"
2272 if test $ac_must_keep_next = true
; then
2273 ac_must_keep_next
=false
# Got value, back to normal.
2276 *=* | --config-cache | -C | -disable-* | --disable-* \
2277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2279 | -with-* | --with-* | -without-* | --without-* | --x)
2280 case "$ac_configure_args0 " in
2281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2284 -* ) ac_must_keep_next
=true
;;
2287 as_fn_append ac_configure_args
" '$ac_arg'"
2292 { ac_configure_args0
=; unset ac_configure_args0
;}
2293 { ac_configure_args1
=; unset ac_configure_args1
;}
2295 # When interrupted or exit'd, cleanup temporary files, and complete
2296 # config.log. We remove comments because anyway the quotes in there
2297 # would cause problems or look ugly.
2298 # WARNING: Use '\'' to represent an apostrophe within the trap.
2299 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2300 trap 'exit_status=$?
2301 # Save into config.log some information that might help in debugging.
2305 $as_echo "## ---------------- ##
2306 ## Cache variables. ##
2307 ## ---------------- ##"
2309 # The following way of writing the cache mishandles newlines in values,
2311 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2312 eval ac_val=\$$ac_var
2316 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2317 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2320 _ | IFS | as_nl) ;; #(
2321 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2322 *) { eval $ac_var=; unset $ac_var;} ;;
2327 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2328 *${as_nl}ac_space=\ *)
2330 "s/'\''/'\''\\\\'\'''\''/g;
2331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2341 $as_echo "## ----------------- ##
2342 ## Output variables. ##
2343 ## ----------------- ##"
2345 for ac_var in $ac_subst_vars
2347 eval ac_val=\$$ac_var
2349 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2351 $as_echo "$ac_var='\''$ac_val'\''"
2355 if test -n "$ac_subst_files"; then
2356 $as_echo "## ------------------- ##
2357 ## File substitutions. ##
2358 ## ------------------- ##"
2360 for ac_var
in $ac_subst_files
2362 eval ac_val
=\$
$ac_var
2364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2371 if test -s confdefs.h; then
2372 $as_echo "## ----------- ##
2379 test "$ac_signal" != 0 &&
2380 $as_echo "$as_me: caught signal $ac_signal"
2381 $as_echo "$as_me: exit $exit_status"
2383 rm -f core *.core core.conftest.* &&
2384 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2387 for ac_signal
in 1 2 13 15; do
2388 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2393 rm -f -r conftest
* confdefs.h
2395 $as_echo "/* confdefs.h */" > confdefs.h
2397 # Predefined preprocessor variables.
2399 cat >>confdefs.h
<<_ACEOF
2400 #define PACKAGE_NAME "$PACKAGE_NAME"
2403 cat >>confdefs.h
<<_ACEOF
2404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2407 cat >>confdefs.h
<<_ACEOF
2408 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2411 cat >>confdefs.h
<<_ACEOF
2412 #define PACKAGE_STRING "$PACKAGE_STRING"
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2419 cat >>confdefs.h
<<_ACEOF
2420 #define PACKAGE_URL "$PACKAGE_URL"
2424 # Let the site file select an alternate cache file if it wants to.
2425 # Prefer an explicitly selected file to automatically selected ones.
2428 if test -n "$CONFIG_SITE"; then
2429 # We do not want a PATH search for config.site.
2430 case $CONFIG_SITE in #((
2431 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2432 */*) ac_site_file1
=$CONFIG_SITE;;
2433 *) ac_site_file1
=.
/$CONFIG_SITE;;
2435 elif test "x$prefix" != xNONE
; then
2436 ac_site_file1
=$prefix/share
/config.site
2437 ac_site_file2
=$prefix/etc
/config.site
2439 ac_site_file1
=$ac_default_prefix/share
/config.site
2440 ac_site_file2
=$ac_default_prefix/etc
/config.site
2442 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2444 test "x$ac_site_file" = xNONE
&& continue
2445 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2447 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2448 sed 's/^/| /' "$ac_site_file" >&5
2450 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 as_fn_error $?
"failed to load site script $ac_site_file
2453 See \`config.log' for more details" "$LINENO" 5; }
2457 if test -r "$cache_file"; then
2458 # Some versions of bash will fail to source /dev/null (special files
2459 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2460 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2462 $as_echo "$as_me: loading cache $cache_file" >&6;}
2464 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2465 *) .
"./$cache_file";;
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2470 $as_echo "$as_me: creating cache $cache_file" >&6;}
2474 # Check that the precious variables saved in the cache have kept the same
2476 ac_cache_corrupted
=false
2477 for ac_var
in $ac_precious_vars; do
2478 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2479 eval ac_new_set
=\
$ac_env_${ac_var}_set
2480 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2481 eval ac_new_val
=\
$ac_env_${ac_var}_value
2482 case $ac_old_set,$ac_new_set in
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2485 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2486 ac_cache_corrupted
=: ;;
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2489 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2490 ac_cache_corrupted
=: ;;
2493 if test "x$ac_old_val" != "x$ac_new_val"; then
2494 # differences in whitespace do not lead to failure.
2495 ac_old_val_w
=`echo x $ac_old_val`
2496 ac_new_val_w
=`echo x $ac_new_val`
2497 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2499 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2500 ac_cache_corrupted
=:
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2503 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2504 eval $ac_var=\
$ac_old_val
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2507 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2509 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2512 # Pass precious variables to config.status.
2513 if test "$ac_new_set" = set; then
2515 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2516 *) ac_arg
=$ac_var=$ac_new_val ;;
2518 case " $ac_configure_args " in
2519 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2520 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2524 if $ac_cache_corrupted; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2528 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2529 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2531 ## -------------------- ##
2532 ## Main body of script. ##
2533 ## -------------------- ##
2536 ac_cpp
='$CPP $CPPFLAGS'
2537 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2538 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2539 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2544 ac_config_headers
="$ac_config_headers common/icucfg.h"
2549 # Use custom echo test for newline option
2550 # Current autoconf (2.65) gives incorrect echo newline option
2552 # This may be removed later - mow (June 17, 2010)
2553 ICU_ECHO_C
= ICU_ECHO_N
= ICU_ECHO_T
=
2554 case `/bin/sh -c "echo -n x"` in
2556 case `/bin/sh -c "echo 'x\c'"` in
2557 *c
*) ICU_ECHO_T
=' ';; # ECHO_T is single tab character.
2558 *) ICU_ECHO_C
='\c';;
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU version numbers" >&5
2568 $as_echo_n "checking for ICU version numbers... " >&6; }
2570 # Get the ICU version from uversion.h or other headers
2572 sed -n 's/^[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
2575 sed -n 's/^[ ]*#[ ]*define[ ]*U_UNICODE_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
2577 VERSION
=`geticuversion $srcdir/common/unicode/uvernum.h`
2578 if test x
"$VERSION" = x
; then
2579 VERSION
=`geticuversion $srcdir/common/unicode/*.h`
2580 if test x
"$VERSION" = x
; then
2581 as_fn_error $?
"Cannot determine ICU version number from uvernum.h header file" "$LINENO" 5
2585 UNICODE_VERSION
=`getuversion $srcdir/common/unicode/uchar.h`
2586 if test x
"$UNICODE_VERSION" = x
; then
2587 UNICODE_VERSION
=`getuversion $srcdir/common/unicode/*.h`
2588 if test x
"$UNICODE_VERSION" = x
; then
2589 as_fn_error $?
"Cannot determine Unicode version number from uchar.h header file" "$LINENO" 5
2592 # Compute a reasonable library version from the release version. This is
2593 # very bad, but that's wanted... We want to make sure that the LIB_VERSION
2594 # has at least a dot in it, so we'll add a .0 if needed.
2595 LIB_VERSION
=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
2596 LIB_VERSION_MAJOR
=`echo $LIB_VERSION | sed 's/\..*//'`
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&5
2601 $as_echo "release $VERSION, library $LIB_VERSION, unicode version $UNICODE_VERSION" >&6; }
2605 # Determine the host system
2607 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2608 if test -f "$ac_dir/install-sh"; then
2610 ac_install_sh
="$ac_aux_dir/install-sh -c"
2612 elif test -f "$ac_dir/install.sh"; then
2614 ac_install_sh
="$ac_aux_dir/install.sh -c"
2616 elif test -f "$ac_dir/shtool"; then
2618 ac_install_sh
="$ac_aux_dir/shtool install -c"
2622 if test -z "$ac_aux_dir"; then
2623 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2626 # These three variables are undocumented and unsupported,
2627 # and are intended to be withdrawn in a future Autoconf release.
2628 # They can cause serious problems if a builder's source tree is in a directory
2629 # whose full name contains unusual characters.
2630 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2631 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2632 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2635 # Make sure we can run config.sub.
2636 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2637 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2640 $as_echo_n "checking build system type... " >&6; }
2641 if test "${ac_cv_build+set}" = set; then :
2642 $as_echo_n "(cached) " >&6
2644 ac_build_alias
=$build_alias
2645 test "x$ac_build_alias" = x
&&
2646 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2647 test "x$ac_build_alias" = x
&&
2648 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2649 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2650 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2654 $as_echo "$ac_cv_build" >&6; }
2655 case $ac_cv_build in
2657 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2660 ac_save_IFS
=$IFS; IFS
='-'
2666 # Remember, the first character of IFS is used to create $*,
2667 # except with old shells:
2670 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2674 $as_echo_n "checking host system type... " >&6; }
2675 if test "${ac_cv_host+set}" = set; then :
2676 $as_echo_n "(cached) " >&6
2678 if test "x$host_alias" = x
; then
2679 ac_cv_host
=$ac_cv_build
2681 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2682 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2687 $as_echo "$ac_cv_host" >&6; }
2690 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2693 ac_save_IFS
=$IFS; IFS
='-'
2699 # Remember, the first character of IFS is used to create $*,
2700 # except with old shells:
2703 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2707 $as_echo_n "checking target system type... " >&6; }
2708 if test "${ac_cv_target+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 if test "x$target_alias" = x
; then
2712 ac_cv_target
=$ac_cv_host
2714 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2715 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2720 $as_echo "$ac_cv_target" >&6; }
2721 case $ac_cv_target in
2723 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2725 target
=$ac_cv_target
2726 ac_save_IFS
=$IFS; IFS
='-'
2732 # Remember, the first character of IFS is used to create $*,
2733 # except with old shells:
2736 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2739 # The aliases save the names the user supplied, while $host etc.
2740 # will get canonicalized.
2741 test -n "$target_alias" &&
2742 test "$program_prefix$program_suffix$program_transform_name" = \
2744 program_prefix
=${target_alias}-
2749 # This variable is needed on z/OS because the C++ compiler only recognizes .C
2751 export _CXX_CXXSUFFIX
2753 # Check whether to build debug libraries
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build debug libraries" >&5
2755 $as_echo_n "checking whether to build debug libraries... " >&6; }
2758 # Check whether --enable-debug was given.
2759 if test "${enable_debug+set}" = set; then :
2760 enableval
=$enable_debug; case "${enableval}" in
2761 yes|"") enabled
=yes; ENABLE_DEBUG
=1 ;;
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
2767 $as_echo "$enabled" >&6; }
2770 # Check whether to build release libraries
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build release libraries" >&5
2772 $as_echo_n "checking whether to build release libraries... " >&6; }
2775 # Check whether --enable-release was given.
2776 if test "${enable_release+set}" = set; then :
2777 enableval
=$enable_release; case "${enableval}" in
2778 no
) enabled
=no
; ENABLE_RELEASE
=0 ;;
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
2784 $as_echo "$enabled" >&6; }
2787 # Don't use the default C/CXXFLags
2791 # Checks for programs
2793 ac_cpp
='$CPP $CPPFLAGS'
2794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2797 if test -n "$ac_tool_prefix"; then
2798 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2799 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if test "${ac_cv_prog_CC+set}" = set; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC
="$CC" # Let the user override the test.
2808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir
=.
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 if test -n "$CC"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2828 $as_echo "$CC" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2836 if test -z "$ac_cv_prog_CC"; then
2838 # Extract the first word of "gcc", so it can be a program name with args.
2839 set dummy gcc
; ac_word
=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$ac_ct_CC"; then
2846 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855 ac_cv_prog_ac_ct_CC
="gcc"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2866 if test -n "$ac_ct_CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2868 $as_echo "$ac_ct_CC" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2874 if test "x$ac_ct_CC" = x
; then
2877 case $cross_compiling:$ac_tool_warned in
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881 ac_tool_warned
=yes ;;
2889 if test -z "$CC"; then
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2892 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_CC+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC
="$CC" # Let the user override the test.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_exec_ext
in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2930 if test -z "$CC"; then
2931 # Extract the first word of "cc", so it can be a program name with args.
2932 set dummy cc
; ac_word
=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if test "${ac_cv_prog_CC+set}" = set; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC
="$CC" # Let the user override the test.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_exec_ext
in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2950 ac_prog_rejected
=yes
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 if test $ac_prog_rejected = yes; then
2962 # We found a bogon in the path, so make sure we never use it.
2963 set dummy
$ac_cv_prog_CC
2965 if test $# != 0; then
2966 # We chose a different compiler from the bogus one.
2967 # However, it has the same basename, so the bogon will be chosen
2968 # first if we set CC to just the basename; use the full file name.
2970 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2976 if test -n "$CC"; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2978 $as_echo "$CC" >&6; }
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2981 $as_echo "no" >&6; }
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 for ac_prog
in cl.exe
2990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2991 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if test "${ac_cv_prog_CC+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2997 if test -n "$CC"; then
2998 ac_cv_prog_CC
="$CC" # Let the user override the test.
3000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3004 test -z "$as_dir" && as_dir
=.
3005 for ac_exec_ext
in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3018 if test -n "$CC"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3020 $as_echo "$CC" >&6; }
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3027 test -n "$CC" && break
3030 if test -z "$CC"; then
3032 for ac_prog
in cl.exe
3034 # Extract the first word of "$ac_prog", so it can be a program name with args.
3035 set dummy
$ac_prog; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$ac_ct_CC"; then
3042 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3048 test -z "$as_dir" && as_dir
=.
3049 for ac_exec_ext
in '' $ac_executable_extensions; do
3050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3051 ac_cv_prog_ac_ct_CC
="$ac_prog"
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3062 if test -n "$ac_ct_CC"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3064 $as_echo "$ac_ct_CC" >&6; }
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3071 test -n "$ac_ct_CC" && break
3074 if test "x$ac_ct_CC" = x
; then
3077 case $cross_compiling:$ac_tool_warned in
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3081 ac_tool_warned
=yes ;;
3090 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error $?
"no acceptable C compiler found in \$PATH
3093 See \`config.log' for more details" "$LINENO" 5; }
3095 # Provide some information about the compiler.
3096 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3099 for ac_option
in --version -v -V -qversion; do
3100 { { ac_try
="$ac_compiler $ac_option >&5"
3102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3103 *) ac_try_echo=$ac_try;;
3105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3106 $as_echo "$ac_try_echo"; } >&5
3107 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3109 if test -s conftest.err; then
3111 ... rest of stderr output deleted ...
3112 10q' conftest.err >conftest.er1
3113 cat conftest.er1 >&5
3115 rm -f conftest.er1 conftest.err
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3131 ac_clean_files_save=$ac_clean_files
3132 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3133 # Try to create an executable without -o first, disregard a.out.
3134 # It will help us diagnose broken compilers, and finding out an intuition
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3137 $as_echo_n "checking whether the C compiler works... " >&6; }
3138 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3140 # The possible output files:
3141 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3144 for ac_file in $ac_files
3147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3148 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3153 if { { ac_try="$ac_link_default"
3155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3156 *) ac_try_echo
=$ac_try;;
3158 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_link_default") 2>&5
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }; then :
3164 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3165 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3166 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3167 # so that the user can short-circuit this test for compilers unknown to
3169 for ac_file
in $ac_files ''
3171 test -f "$ac_file" || continue
3173 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3176 # We found the default executable, but exeext='' is most
3180 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3182 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3184 # We set ac_cv_exeext here because the later test for it is not
3185 # safe: cross compilers may not add the suffix if given an `-o'
3186 # argument, so we may need to know it at that point already.
3187 # Even if this section looks crufty: it has the advantage of
3194 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3199 if test -z "$ac_file"; then :
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.
$ac_ext >&5
3205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error
77 "C compiler cannot create executables
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211 $as_echo "yes" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3214 $as_echo_n "checking for C compiler default output file name... " >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3216 $as_echo "$ac_file" >&6; }
3217 ac_exeext
=$ac_cv_exeext
3219 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3220 ac_clean_files
=$ac_clean_files_save
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3222 $as_echo_n "checking for suffix of executables... " >&6; }
3223 if { { ac_try
="$ac_link"
3225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_link") 2>&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; then :
3234 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3235 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3236 # work properly (i.e., refer to `conftest.exe'), while it won't with
3238 for ac_file
in conftest.exe conftest conftest.
*; do
3239 test -f "$ac_file" || continue
3241 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3242 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3251 See \`config.log' for more details" "$LINENO" 5; }
3253 rm -f conftest conftest
$ac_cv_exeext
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3255 $as_echo "$ac_cv_exeext" >&6; }
3257 rm -f conftest.
$ac_ext
3258 EXEEXT
=$ac_cv_exeext
3260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3266 FILE *f = fopen ("conftest.out", "w");
3267 return ferror (f) || fclose (f) != 0;
3273 ac_clean_files
="$ac_clean_files conftest.out"
3274 # Check that the compiler produces executables we can run. If not, either
3275 # the compiler is broken, or we cross compile.
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3277 $as_echo_n "checking whether we are cross compiling... " >&6; }
3278 if test "$cross_compiling" != yes; then
3279 { { ac_try
="$ac_link"
3281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3285 $as_echo "$ac_try_echo"; } >&5
3286 (eval "$ac_link") 2>&5
3288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289 test $ac_status = 0; }
3290 if { ac_try='./conftest$ac_cv_exeext'
3291 { { case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3293 *) ac_try_echo
=$ac_try;;
3295 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_try") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }; }; then
3303 if test "$cross_compiling" = maybe
; then
3306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308 as_fn_error $?
"cannot run C compiled programs.
3309 If you meant to cross compile, use \`--host'.
3310 See \`config.log' for more details" "$LINENO" 5; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3315 $as_echo "$cross_compiling" >&6; }
3317 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3318 ac_clean_files
=$ac_clean_files_save
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3320 $as_echo_n "checking for suffix of object files... " >&6; }
3321 if test "${ac_cv_objext+set}" = set; then :
3322 $as_echo_n "(cached) " >&6
3324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3335 rm -f conftest.o conftest.obj
3336 if { { ac_try
="$ac_compile"
3338 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_compile") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }; then :
3347 for ac_file in conftest.o conftest.obj conftest.*; do
3348 test -f "$ac_file" || continue;
3350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3356 $as_echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3362 See \
`config.log' for more details" "$LINENO" 5; }
3364 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3367 $as_echo "$ac_cv_objext" >&6; }
3368 OBJEXT=$ac_cv_objext
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3371 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3372 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3373 $as_echo_n "(cached) " >&6
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3389 if ac_fn_c_try_compile "$LINENO"; then :
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3399 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3400 if test $ac_compiler_gnu = yes; then
3405 ac_test_CFLAGS=${CFLAGS+set}
3406 ac_save_CFLAGS=$CFLAGS
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3408 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3409 if test "${ac_cv_prog_cc_g+set}" = set; then :
3410 $as_echo_n "(cached) " >&6
3412 ac_save_c_werror_flag=$ac_c_werror_flag
3413 ac_c_werror_flag=yes
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3427 if ac_fn_c_try_compile "$LINENO"; then :
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3442 if ac_fn_c_try_compile "$LINENO"; then :
3445 ac_c_werror_flag=$ac_save_c_werror_flag
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3458 if ac_fn_c_try_compile "$LINENO"; then :
3461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 ac_c_werror_flag=$ac_save_c_werror_flag
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3469 $as_echo "$ac_cv_prog_cc_g" >&6; }
3470 if test "$ac_test_CFLAGS" = set; then
3471 CFLAGS=$ac_save_CFLAGS
3472 elif test $ac_cv_prog_cc_g = yes; then
3473 if test "$GCC" = yes; then
3479 if test "$GCC" = yes; then
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3486 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3487 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3488 $as_echo_n "(cached) " >&6
3490 ac_cv_prog_cc_c89=no
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3496 #include <sys/types.h>
3497 #include <sys/stat.h>
3498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3499 struct buf { int x; };
3500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3501 static char *e (p, i)
3507 static char *f (char * (*g) (char **, int), char **p, ...)
3512 s = g (p, va_arg (v,int));
3517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3518 function prototypes and stuff, but not '\xHH' hex character constants.
3519 These don't provoke an error unfortunately, instead are silently treated
3520 as 'x'. The following induces an error, until -std is added to get
3521 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3522 array size at least. It's necessary to write '\x00'==0 to get something
3523 that's true only with -std. */
3524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3527 inside strings and character constants. */
3529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3531 int test (int i, double x);
3532 struct s1 {int (*f) (int a);};
3533 struct s2 {int (*f) (double a);};
3534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3540 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3546 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3548 CC="$ac_save_CC $ac_arg"
3549 if ac_fn_c_try_compile "$LINENO"; then :
3550 ac_cv_prog_cc_c89=$ac_arg
3552 rm -f core conftest.err conftest.$ac_objext
3553 test "x$ac_cv_prog_cc_c89" != "xno" && break
3555 rm -f conftest.$ac_ext
3560 case "x$ac_cv_prog_cc_c89" in
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3563 $as_echo "none needed" >&6; } ;;
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3566 $as_echo "unsupported" >&6; } ;;
3568 CC="$CC $ac_cv_prog_cc_c89"
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3572 if test "x$ac_cv_prog_cc_c89" != xno; then :
3577 ac_cpp='$CPP $CPPFLAGS'
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 ac_cpp='$CXXCPP $CPPFLAGS'
3584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3587 if test -z "$CXX"; then
3588 if test -n "$CCC"; then
3591 if test -n "$ac_tool_prefix"; then
3592 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3594 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3595 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if test "${ac_cv_prog_CXX+set}" = set; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$CXX"; then
3602 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 if test -n "$CXX"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3624 $as_echo "$CXX" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3631 test -n "$CXX" && break
3634 if test -z "$CXX"; then
3636 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3638 # Extract the first word of "$ac_prog", so it can be a program name with args.
3639 set dummy $ac_prog; ac_word=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$ac_ct_CXX"; then
3646 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3655 ac_cv_prog_ac_ct_CXX="$ac_prog"
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3665 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3666 if test -n "$ac_ct_CXX"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3668 $as_echo "$ac_ct_CXX" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3675 test -n "$ac_ct_CXX" && break
3678 if test "x$ac_ct_CXX" = x; then
3681 case $cross_compiling:$ac_tool_warned in
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned=yes ;;
3693 # Provide some information about the compiler.
3694 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3697 for ac_option in --version -v -V -qversion; do
3698 { { ac_try="$ac_compiler $ac_option >&5"
3700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3701 *) ac_try_echo
=$ac_try;;
3703 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3704 $as_echo "$ac_try_echo"; } >&5
3705 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3707 if test -s conftest.err
; then
3709 ... rest of stderr output deleted ...
3710 10q' conftest.err
>conftest.er1
3711 cat conftest.er1
>&5
3713 rm -f conftest.er1 conftest.err
3714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3715 test $ac_status = 0; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3719 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3720 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3737 if ac_fn_cxx_try_compile
"$LINENO"; then :
3742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3743 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3747 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3748 if test $ac_compiler_gnu = yes; then
3753 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3754 ac_save_CXXFLAGS
=$CXXFLAGS
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3756 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3757 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3758 $as_echo_n "(cached) " >&6
3760 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3761 ac_cxx_werror_flag
=yes
3764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h. */
3775 if ac_fn_cxx_try_compile
"$LINENO"; then :
3776 ac_cv_prog_cxx_g
=yes
3779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3790 if ac_fn_cxx_try_compile
"$LINENO"; then :
3793 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3796 /* end confdefs.h. */
3806 if ac_fn_cxx_try_compile
"$LINENO"; then :
3807 ac_cv_prog_cxx_g
=yes
3809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3813 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3814 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3817 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3818 if test "$ac_test_CXXFLAGS" = set; then
3819 CXXFLAGS
=$ac_save_CXXFLAGS
3820 elif test $ac_cv_prog_cxx_g = yes; then
3821 if test "$GXX" = yes; then
3827 if test "$GXX" = yes; then
3834 ac_cpp
='$CPP $CPPFLAGS'
3835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3840 # Ensure that if CXXFLAGS/CFLAGS were not set when calling configure, set it correctly based on (enable/disable) debug or release option
3841 # The release mode use is the default one for autoconf
3842 if test "$GCC" = yes; then
3843 if test "$CFLAGS" = ""; then
3844 if test "$ENABLE_DEBUG" = 1; then
3847 if test "$ENABLE_RELEASE" = 1; then
3848 CFLAGS
="$CFLAGS -O2"
3851 if test "$CXXFLAGS" = ""; then
3852 if test "$ENABLE_DEBUG" = 1; then
3855 if test "$ENABLE_RELEASE" = 1; then
3856 CXXFLAGS
="$CXXFLAGS -O2"
3862 ac_cpp
='$CPP $CPPFLAGS'
3863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3867 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3868 # On Suns, sometimes $CPP names a directory.
3869 if test -n "$CPP" && test -d "$CPP"; then
3872 if test -z "$CPP"; then
3873 if test "${ac_cv_prog_CPP+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 # Double quotes because CPP needs to be expanded
3877 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3880 for ac_c_preproc_warn_flag
in '' yes
3882 # Use a header file that comes with gcc, so configuring glibc
3883 # with a fresh cross-compiler works.
3884 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3885 # <limits.h> exists even on freestanding compilers.
3886 # On the NeXT, cc -E runs the code through the compiler's parser,
3887 # not just through cpp. "Syntax error" is here to catch this case.
3888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3891 # include <limits.h>
3893 # include <assert.h>
3897 if ac_fn_c_try_cpp
"$LINENO"; then :
3900 # Broken: fails on valid input.
3903 rm -f conftest.err conftest.i conftest.
$ac_ext
3905 # OK, works on sane cases. Now check whether nonexistent headers
3906 # can be detected and how.
3907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3909 #include <ac_nonexistent.h>
3911 if ac_fn_c_try_cpp
"$LINENO"; then :
3912 # Broken: success on invalid input.
3915 # Passes both tests.
3919 rm -f conftest.err conftest.i conftest.
$ac_ext
3922 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3923 rm -f conftest.i conftest.err conftest.
$ac_ext
3924 if $ac_preproc_ok; then :
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3937 $as_echo "$CPP" >&6; }
3939 for ac_c_preproc_warn_flag
in '' yes
3941 # Use a header file that comes with gcc, so configuring glibc
3942 # with a fresh cross-compiler works.
3943 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3944 # <limits.h> exists even on freestanding compilers.
3945 # On the NeXT, cc -E runs the code through the compiler's parser,
3946 # not just through cpp. "Syntax error" is here to catch this case.
3947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3948 /* end confdefs.h. */
3950 # include <limits.h>
3952 # include <assert.h>
3956 if ac_fn_c_try_cpp
"$LINENO"; then :
3959 # Broken: fails on valid input.
3962 rm -f conftest.err conftest.i conftest.
$ac_ext
3964 # OK, works on sane cases. Now check whether nonexistent headers
3965 # can be detected and how.
3966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h. */
3968 #include <ac_nonexistent.h>
3970 if ac_fn_c_try_cpp
"$LINENO"; then :
3971 # Broken: success on invalid input.
3974 # Passes both tests.
3978 rm -f conftest.err conftest.i conftest.
$ac_ext
3981 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3982 rm -f conftest.i conftest.err conftest.
$ac_ext
3983 if $ac_preproc_ok; then :
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3989 See \`config.log' for more details" "$LINENO" 5; }
3993 ac_cpp
='$CPP $CPPFLAGS'
3994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3999 # Find a good install program. We prefer a C program (faster),
4000 # so one script is as good as another. But avoid the broken or
4001 # incompatible versions:
4002 # SysV /etc/install, /usr/sbin/install
4003 # SunOS /usr/etc/install
4004 # IRIX /sbin/install
4006 # AmigaOS /C/install, which installs bootblocks on floppy discs
4007 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4008 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4009 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4010 # OS/2's system install, which has a completely different semantic
4011 # ./install, which can be erroneously created by make from ./install.sh.
4012 # Reject install programs that cannot install multiple files.
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4014 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4015 if test -z "$INSTALL"; then
4016 if test "${ac_cv_path_install+set}" = set; then :
4017 $as_echo_n "(cached) " >&6
4019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4023 test -z "$as_dir" && as_dir
=.
4024 # Account for people who put trailing slashes in PATH elements.
4025 case $as_dir/ in #((
4026 .
/ | .
// | /[cC
]/* | \
4027 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
4028 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4031 # OSF1 and SCO ODT 3.0 have their own names for install.
4032 # Don't use installbsd from OSF since it installs stuff as root
4034 for ac_prog
in ginstall scoinst
install; do
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4037 if test $ac_prog = install &&
4038 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4039 # AIX install. It has an incompatible calling convention.
4041 elif test $ac_prog = install &&
4042 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4043 # program-specific install script used by HP pwplus--don't use.
4046 rm -rf conftest.one conftest.two conftest.dir
4047 echo one
> conftest.one
4048 echo two
> conftest.two
4050 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4051 test -s conftest.one
&& test -s conftest.two
&&
4052 test -s conftest.dir
/conftest.one
&&
4053 test -s conftest.dir
/conftest.two
4055 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4068 rm -rf conftest.one conftest.two conftest.dir
4071 if test "${ac_cv_path_install+set}" = set; then
4072 INSTALL
=$ac_cv_path_install
4074 # As a last resort, use the slow shell script. Don't cache a
4075 # value for INSTALL within a source directory, because that will
4076 # break other packages using the cache if that directory is
4077 # removed, or if the value is a relative name.
4078 INSTALL
=$ac_install_sh
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4082 $as_echo "$INSTALL" >&6; }
4084 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4085 # It thinks the first close brace ends the variable substitution.
4086 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4088 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4090 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4096 ac_cpp
='$CXXCPP $CPPFLAGS'
4097 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4098 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4113 if ac_fn_cxx_try_link
"$LINENO"; then :
4116 rm -f core conftest.err conftest.
$ac_objext \
4117 conftest
$ac_exeext conftest.
$ac_ext
4119 ac_cpp
='$CPP $CPPFLAGS'
4120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4125 # make sure install is relative to srcdir - if a script
4126 if test "$srcdir" = "."; then
4127 # If srcdir isn't just ., then (srcdir) is already prepended.
4128 if test "${ac_install_sh}" = "${INSTALL}"; then
4129 INSTALL
="\\\$(top_srcdir)/${ac_install_sh}"
4133 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
4134 #AC_CHECK_PROG(STRIP, strip, strip, true)
4136 # Check for the platform make
4137 for ac_prog
in gmake gnumake
4139 # Extract the first word of "$ac_prog", so it can be a program name with args.
4140 set dummy
$ac_prog; ac_word
=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if test "${ac_cv_path_U_MAKE+set}" = set; then :
4144 $as_echo_n "(cached) " >&6
4148 ac_cv_path_U_MAKE
="$U_MAKE" # Let the user override the test with a path.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4158 ac_cv_path_U_MAKE
="$as_dir/$ac_word$ac_exec_ext"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 U_MAKE
=$ac_cv_path_U_MAKE
4170 if test -n "$U_MAKE"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $U_MAKE" >&5
4172 $as_echo "$U_MAKE" >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4179 test -n "$U_MAKE" && break
4181 test -n "$U_MAKE" || U_MAKE
="make"
4187 # Check whether --with-cross-build was given.
4188 if test "${with_cross_build+set}" = set; then :
4189 withval
=$with_cross_build; cross_buildroot
="${withval}"
4195 if test "X$cross_buildroot" = "X"; then
4196 if test "$cross_compiling" = "yes"; then
4197 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
4200 if test -f "${cross_buildroot}/config/icucross.mk"; then
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using cross buildroot: $cross_buildroot" >&5
4202 $as_echo "Using cross buildroot: $cross_buildroot" >&6; }
4204 if test -d "${cross_buildroot}"; then
4205 as_fn_error $?
"${cross_buildroot}/config/icucross.mk not found. Please build ICU in ${cross_buildroot} first." "$LINENO" 5
4207 as_fn_error $?
"No such directory ${cross_buildroot} supplied as the argument to --with-cross-build. Use an absolute path." "$LINENO" 5
4213 # Check for doxygen to generate documentation
4214 # Extract the first word of "doxygen", so it can be a program name with args.
4215 set dummy doxygen
; ac_word
=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4223 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
4226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4227 as_dummy
="$PATH:/usr/local/bin:/usr/bin"
4228 for as_dir
in $as_dummy
4231 test -z "$as_dir" && as_dir
=.
4232 for ac_exec_ext
in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 DOXYGEN
=$ac_cv_path_DOXYGEN
4246 if test -n "$DOXYGEN"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
4248 $as_echo "$DOXYGEN" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4256 # Check that the linker is usable
4259 *-*-cygwin*|*-*-mingw*)
4260 if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
4261 as_fn_error $?
"link.exe is not a valid linker. Your PATH is incorrect.
4262 Please follow the directions in ICU's readme." "$LINENO" 5
4267 # Determine the executable suffix
4268 # We don't use AC_EXEEXT because some compilers output separate debugging
4269 # files, which confuses the AC_EXEEXT macro.
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking checking for executable suffix" >&5
4271 $as_echo_n "checking checking for executable suffix... " >&6; }
4273 *-*-cygwin*|*-*-mingw*) EXEEXT
=.exe
;;
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
4278 $as_echo "$EXEEXT" >&6; }
4281 # Determine how strict we want to be when compiling
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strict compiling is on" >&5
4284 $as_echo_n "checking whether strict compiling is on... " >&6; }
4285 # Check whether --enable-strict was given.
4286 if test "${enable_strict+set}" = set; then :
4287 enableval
=$enable_strict;
4288 if test "$enableval" = no
4290 ac_use_strict_options
=no
4292 ac_use_strict_options
=yes
4296 ac_use_strict_options
=yes
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_use_strict_options" >&5
4300 $as_echo "$ac_use_strict_options" >&6; }
4302 if test "$ac_use_strict_options" = yes
4304 if test "$GCC" = yes
4306 CFLAGS
="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
4309 CFLAGS
="$CFLAGS -D__STDC__=0";;
4314 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
4316 CFLAGS
="$CFLAGS /W4"
4320 if test "$GXX" = yes
4322 CXXFLAGS
="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
4325 CXXFLAGS
="$CXXFLAGS -D__STDC__=0";;
4330 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
4332 CXXFLAGS
="$CXXFLAGS /W4"
4339 # Check if we can build and use 64-bit libraries
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4343 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4344 if test "${ac_cv_path_GREP+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -z "$GREP"; then
4348 ac_path_GREP_found
=false
4349 # Loop through the user's path and test for each of PROGNAME-LIST
4350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4354 test -z "$as_dir" && as_dir
=.
4355 for ac_prog
in grep ggrep
; do
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4358 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4359 # Check for GNU ac_path_GREP and select it if it is found.
4360 # Check for GNU $ac_path_GREP
4361 case `"$ac_path_GREP" --version 2>&1` in
4363 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4366 $as_echo_n 0123456789 >"conftest.in"
4369 cat "conftest.in" "conftest.in" >"conftest.tmp"
4370 mv "conftest.tmp" "conftest.in"
4371 cp "conftest.in" "conftest.nl"
4372 $as_echo 'GREP' >> "conftest.nl"
4373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4374 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4375 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4376 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4377 # Best one so far, save it but keep looking for a better one
4378 ac_cv_path_GREP
="$ac_path_GREP"
4379 ac_path_GREP_max
=$ac_count
4381 # 10*(2^10) chars as input seems more than enough
4382 test $ac_count -gt 10 && break
4384 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4387 $ac_path_GREP_found && break 3
4392 if test -z "$ac_cv_path_GREP"; then
4393 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4396 ac_cv_path_GREP
=$GREP
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4401 $as_echo "$ac_cv_path_GREP" >&6; }
4402 GREP
="$ac_cv_path_GREP"
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4406 $as_echo_n "checking for egrep... " >&6; }
4407 if test "${ac_cv_path_EGREP+set}" = set; then :
4408 $as_echo_n "(cached) " >&6
4410 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
4411 then ac_cv_path_EGREP
="$GREP -E"
4413 if test -z "$EGREP"; then
4414 ac_path_EGREP_found
=false
4415 # Loop through the user's path and test for each of PROGNAME-LIST
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4417 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_prog
in egrep; do
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4424 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4425 # Check for GNU ac_path_EGREP and select it if it is found.
4426 # Check for GNU $ac_path_EGREP
4427 case `"$ac_path_EGREP" --version 2>&1` in
4429 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4432 $as_echo_n 0123456789 >"conftest.in"
4435 cat "conftest.in" "conftest.in" >"conftest.tmp"
4436 mv "conftest.tmp" "conftest.in"
4437 cp "conftest.in" "conftest.nl"
4438 $as_echo 'EGREP' >> "conftest.nl"
4439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
4440 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
4441 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4443 # Best one so far, save it but keep looking for a better one
4444 ac_cv_path_EGREP
="$ac_path_EGREP"
4445 ac_path_EGREP_max
=$ac_count
4447 # 10*(2^10) chars as input seems more than enough
4448 test $ac_count -gt 10 && break
4450 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4453 $ac_path_EGREP_found && break 3
4458 if test -z "$ac_cv_path_EGREP"; then
4459 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4462 ac_cv_path_EGREP
=$EGREP
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4468 $as_echo "$ac_cv_path_EGREP" >&6; }
4469 EGREP
="$ac_cv_path_EGREP"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4473 $as_echo_n "checking for ANSI C header files... " >&6; }
4474 if test "${ac_cv_header_stdc+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4492 if ac_fn_c_try_compile
"$LINENO"; then :
4493 ac_cv_header_stdc
=yes
4495 ac_cv_header_stdc
=no
4497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4499 if test $ac_cv_header_stdc = yes; then
4500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4507 $EGREP "memchr" >/dev
/null
2>&1; then :
4510 ac_cv_header_stdc
=no
4516 if test $ac_cv_header_stdc = yes; then
4517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4524 $EGREP "free" >/dev
/null
2>&1; then :
4527 ac_cv_header_stdc
=no
4533 if test $ac_cv_header_stdc = yes; then
4534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4535 if test "$cross_compiling" = yes; then :
4538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 #if ((' ' & 0x0FF) == 0x020)
4543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4546 # define ISLOWER(c) \
4547 (('a' <= (c) && (c) <= 'i') \
4548 || ('j' <= (c) && (c) <= 'r') \
4549 || ('s' <= (c) && (c) <= 'z'))
4550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4558 for (i = 0; i < 256; i++)
4559 if (XOR (islower (i), ISLOWER (i))
4560 || toupper (i) != TOUPPER (i))
4565 if ac_fn_c_try_run
"$LINENO"; then :
4568 ac_cv_header_stdc
=no
4570 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4571 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4577 $as_echo "$ac_cv_header_stdc" >&6; }
4578 if test $ac_cv_header_stdc = yes; then
4580 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4584 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4585 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4586 inttypes.h stdint.h unistd.h
4588 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4589 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4591 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4592 cat >>confdefs.h
<<_ACEOF
4593 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4603 ENABLE_64BIT_LIBS
=unknown
4604 ## revisit this for cross-compile.
4606 # Check whether --enable-64bit-libs was given.
4607 if test "${enable_64bit_libs+set}" = set; then :
4608 enableval
=$enable_64bit_libs; echo "note, use --with-library-bits instead of --*-64bit-libs"
4609 case "${enableval}" in
4610 no
|false
|32) with_library_bits
=32; ;;
4611 yes|true
|64) with_library_bits
=64else32
;;
4612 nochange
) with_library_bits
=nochange
; ;;
4613 *) as_fn_error $?
"bad value ${enableval} for '--*-64bit-libs'" "$LINENO" 5 ;;
4620 # Check whether --with-library-bits was given.
4621 if test "${with_library_bits+set}" = set; then :
4622 withval
=$with_library_bits; case "${withval}" in
4623 ""|nochange
) BITS_REQ
=$withval ;;
4624 32|64|64else32
) BITS_REQ
=$withval ;;
4625 *) as_fn_error $?
"bad value ${withval} for --with-library-bits" "$LINENO" 5 ;;
4630 # don't use these for cross compiling
4631 if test "$cross_compiling" = "yes" -a "${BITS_REQ}" != "nochange"; then
4632 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
4634 # The cast to long int works around a bug in the HP C Compiler
4635 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4636 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4637 # This bug is HP SR number 8606223364.
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4639 $as_echo_n "checking size of void *... " >&6; }
4640 if test "${ac_cv_sizeof_void_p+set}" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
4646 if test "$ac_cv_type_void_p" = yes; then
4647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4649 as_fn_error
77 "cannot compute sizeof (void *)
4650 See \`config.log' for more details" "$LINENO" 5; }
4652 ac_cv_sizeof_void_p
=0
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4658 $as_echo "$ac_cv_sizeof_void_p" >&6; }
4662 cat >>confdefs.h
<<_ACEOF
4663 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64 bit binaries are built by default" >&5
4668 $as_echo_n "checking whether runnable 64 bit binaries are built by default... " >&6; }
4669 case $ac_cv_sizeof_void_p in
4670 8) DEFAULT_64BIT
=yes ;;
4671 4) DEFAULT_64BIT
=no
;;
4672 *) DEFAULT_64BIT
=unknown
4676 # 'OK' here means, we can exit any further checking, everything's copa
4679 # do we need to check for buildable/runnable 32 or 64 bit?
4683 # later, can we run the 32/64 bit binaries so made?
4687 if test "$DEFAULT_64BIT" = "yes"; then
4688 # we get 64 bits by default.
4692 # need to look for 32 bit support.
4696 # everyone else is happy.
4700 elif test "$DEFAULT_64BIT" = "no"; then
4701 # not 64 bit by default.
4711 elif test "$DEFAULT_64BIT" = "unknown"; then
4715 64|64else32
) BITS_OK
=no
4717 BITS_CHECK_64
=yes ;;
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEFAULT_64BIT" >&5
4725 $as_echo "$DEFAULT_64BIT" >&6; };
4727 if test "$BITS_OK" != "yes"; then
4728 # not copa. back these up.
4729 CFLAGS_OLD
="${CFLAGS}"
4730 CXXFLAGS_OLD
="${CXXFLAGS}"
4731 LDFLAGS_OLD
="${LDFLAGS}"
4732 ARFLAGS_OLD
="${ARFLAGS}"
4734 CFLAGS_32
="${CFLAGS}"
4735 CXXFLAGS_32
="${CXXFLAGS}"
4736 LDFLAGS_32
="${LDFLAGS}"
4737 ARFLAGS_32
="${ARFLAGS}"
4739 CFLAGS_64
="${CFLAGS}"
4740 CXXFLAGS_64
="${CXXFLAGS}"
4741 LDFLAGS_64
="${LDFLAGS}"
4742 ARFLAGS_64
="${ARFLAGS}"
4744 CAN_BUILD_64
=unknown
4745 CAN_BUILD_32
=unknown
4746 # These results can't be cached because is sets compiler flags.
4747 if test "$BITS_CHECK_64" = "yes"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 64-bit executables" >&5
4749 $as_echo_n "checking how to build 64-bit executables... " >&6; }
4752 # Find out if we think we can *build* for 64 bit. Doesn't check whether we can run it.
4753 # Note, we don't have to actually check if the options work- we'll try them before using them.
4754 # So, only try actually testing the options, if you are trying to decide between multiple options.
4755 # On exit from the following clauses:
4756 # if CAN_BUILD_64=yes:
4757 # *FLAGS are assumed to contain the right settings for 64bit
4758 # else if CAN_BUILD_64=no: (default)
4759 # *FLAGS are assumed to be trashed, and will be reset from *FLAGS_OLD
4761 if test "$GCC" = yes; then
4762 CFLAGS
="${CFLAGS} -m64"
4763 CXXFLAGS
="${CXXFLAGS} -m64"
4764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4766 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4768 if ac_fn_c_try_compile
"$LINENO"; then :
4773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4778 CFLAGS
="${CFLAGS} -m64"
4779 CXXFLAGS
="${CXXFLAGS} -m64"
4780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4782 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4784 if ac_fn_c_try_compile
"$LINENO"; then :
4789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 if test "$CAN_BUILD_64" != yes; then
4791 # Nope. back out changes.
4792 CFLAGS
="${CFLAGS_OLD}"
4793 CXXFLAGS
="${CFLAGS_OLD}"
4794 # 2. try xarch=v9 [deprecated]
4795 ## TODO: cross compile: the following won't work.
4796 SPARCV9
=`isainfo -n 2>&1 | grep sparcv9`
4797 SOL64
=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
4798 # "Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs"
4799 if test -z "$SOL64" && test -n "$SPARCV9"; then
4800 CFLAGS
="${CFLAGS} -xtarget=ultra -xarch=v9"
4801 CXXFLAGS
="${CXXFLAGS} -xtarget=ultra -xarch=v9"
4802 LDFLAGS
="${LDFLAGS} -xtarget=ultra -xarch=v9"
4809 CFLAGS
="${CFLAGS} -m64"
4810 CXXFLAGS
="${CXXFLAGS} -m64"
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4813 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4815 if ac_fn_c_try_compile
"$LINENO"; then :
4820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 if test "$CAN_BUILD_64" != yes; then
4822 # Nope. back out changes.
4823 CFLAGS
="${CFLAGS_OLD}"
4824 CXXFLAGS
="${CXXFLAGS_OLD}"
4825 # 2. try the older compiler option
4826 ## TODO: cross compile problem
4827 SOL64
=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
4828 if test -z "$SOL64" && test -n "$AMD64"; then
4829 CFLAGS
="${CFLAGS} -xtarget=generic64"
4830 CXXFLAGS
="${CXXFLAGS} -xtarget=generic64"
4836 # check for ecc/ecpc compiler support
4837 ## TODO: cross compiler problem
4838 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
4839 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
4845 # vcvarsamd64.bat should have been used to enable 64-bit builds.
4846 # We only do this check to display the correct answer.
4847 ## TODO: cross compiler problem
4848 if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
4852 *-*-aix*|powerpc64
-*-linux*)
4853 CFLAGS
="${CFLAGS} -q64"
4854 CXXFLAGS
="${CXXFLAGS} -q64"
4855 LDFLAGS
="${LDFLAGS} -q64"
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4858 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4860 if ac_fn_c_try_compile
"$LINENO"; then :
4865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4866 if test "$CAN_BUILD_64" = yes; then
4867 # worked- set other options.
4870 # tell AIX what executable mode to use.
4871 ARFLAGS
="${ARFLAGS} -X64"
4876 # First we try the newer +DD64, if that doesn't work,
4877 # try other options.
4879 CFLAGS
="${CFLAGS} +DD64"
4880 CXXFLAGS
="${CXXFLAGS} +DD64"
4881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4882 /* end confdefs.h. */
4883 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4885 if ac_fn_c_try_compile
"$LINENO"; then :
4890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4891 if test "$CAN_BUILD_64" != yes; then
4893 CFLAGS
="${CFLAGS_OLD}"
4894 CXXFLAGS
="${CXXFLAGS_OLD}"
4896 CFLAGS
="${CFLAGS} +DA2.0W"
4897 CXXFLAGS
="${CXXFLAGS} +DA2.0W"
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4900 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4902 if ac_fn_c_try_compile
"$LINENO"; then :
4907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4910 *-*ibm
-openedition*|*-*-os390*)
4911 CFLAGS
="${CFLAGS} -Wc,lp64"
4912 CXXFLAGS
="${CXXFLAGS} -Wc,lp64"
4913 LDFLAGS
="${LDFLAGS} -Wl,lp64"
4914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4916 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4918 if ac_fn_c_try_compile
"$LINENO"; then :
4923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_64" >&5
4931 $as_echo "$CAN_BUILD_64" >&6; }
4932 if test "$CAN_BUILD_64" = yes; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 64-bit binaries are being built " >&5
4934 $as_echo_n "checking whether runnable 64-bit binaries are being built ... " >&6; }
4935 if test "$cross_compiling" = yes; then :
4938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4939 /* end confdefs.h. */
4940 int main(void) {return (sizeof(void*)*8==64)?0:1;}
4942 if ac_fn_c_try_run
"$LINENO"; then :
4947 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4948 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_64" >&5
4952 $as_echo "$BITS_RUN_64" >&6; };
4954 CFLAGS_64
="${CFLAGS}"
4955 CXXFLAGS_64
="${CXXFLAGS}"
4956 LDFLAGS_64
="${LDFLAGS}"
4957 ARFLAGS_64
="${ARFLAGS}"
4960 CFLAGS
="${CFLAGS_OLD}"
4961 CXXFLAGS
="${CXXFLAGS_OLD}"
4962 LDFLAGS
="${LDFLAGS_OLD}"
4963 ARFLAGS
="${ARFLAGS_OLD}"
4965 if test "$BITS_CHECK_32" = "yes"; then
4966 # see comment under 'if BITS_CHECK_64', above.
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build 32-bit executables" >&5
4968 $as_echo_n "checking how to build 32-bit executables... " >&6; }
4969 if test "$GCC" = yes; then
4970 CFLAGS
="${CFLAGS} -m32"
4971 CXXFLAGS
="${CXXFLAGS} -m32"
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974 int main(void) {return (sizeof(void*)*8==32)?0:1;}
4976 if ac_fn_c_try_compile
"$LINENO"; then :
4981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAN_BUILD_32" >&5
4984 $as_echo "$CAN_BUILD_32" >&6; }
4985 if test "$CAN_BUILD_32" = yes; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether runnable 32-bit binaries are being built " >&5
4987 $as_echo_n "checking whether runnable 32-bit binaries are being built ... " >&6; }
4988 if test "$cross_compiling" = yes; then :
4991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4993 int main(void) {return (sizeof(void*)*8==32)?0:1;}
4995 if ac_fn_c_try_run
"$LINENO"; then :
5000 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5001 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BITS_RUN_32" >&5
5005 $as_echo "$BITS_RUN_32" >&6; };
5006 CFLAGS_32
="${CFLAGS}"
5007 CXXFLAGS_32
="${CXXFLAGS}"
5008 LDFLAGS_32
="${LDFLAGS}"
5009 ARFLAGS_32
="${ARFLAGS}"
5012 CFLAGS
="${CFLAGS_OLD}"
5013 CXXFLAGS
="${CXXFLAGS_OLD}"
5014 LDFLAGS
="${LDFLAGS_OLD}"
5015 ARFLAGS
="${ARFLAGS_OLD}"
5019 # OK. Now, we've tested for 32 and 64 bitness. Let's see what we'll do.
5022 # First, implement 64else32
5023 if test "$BITS_REQ" = "64else32"; then
5024 if test "$BITS_RUN_64" = "yes"; then
5033 if test "$BITS_REQ" = "32" -a "$BITS_RUN_32" = "yes"; then
5034 CFLAGS
="${CFLAGS_32}"
5035 CXXFLAGS
="${CXXFLAGS_32}"
5036 LDFLAGS
="${LDFLAGS_32}"
5037 ARFLAGS
="${ARFLAGS_32}"
5039 elif test "$BITS_REQ" = "64" -a "$BITS_RUN_64" = "yes"; then
5040 CFLAGS
="${CFLAGS_64}"
5041 CXXFLAGS
="${CXXFLAGS_64}"
5042 LDFLAGS
="${LDFLAGS_64}"
5043 ARFLAGS
="${ARFLAGS_64}"
5045 elif test "$BITS_OK" != "yes"; then
5046 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
5053 # Determine the Makefile fragment
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which Makefile fragment to use for ${host}" >&5
5056 $as_echo_n "checking which Makefile fragment to use for ${host}... " >&6; }
5057 if test "${icu_cv_host_frag+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5063 if test "$GCC" = yes; then
5064 icu_cv_host_frag
=mh
-solaris-gcc
5066 icu_cv_host_frag
=mh
-solaris
5069 if test "$GCC" = yes; then
5070 icu_cv_host_frag
=mh
-alpha-linux-gcc
5072 icu_cv_host_frag
=mh
-alpha-linux-cc
5075 if test "$GCC" = yes; then
5076 icu_cv_host_frag
=mh
-linux
5078 icu_cv_host_frag
=mh
-linux-va
5080 *-*-linux*|*-*-gnu|*-*-k*bsd
*-gnu|*-*-kopensolaris*-gnu) icu_cv_host_frag
=mh
-linux ;;
5081 *-*-cygwin|*-*-mingw32)
5082 if test "$GCC" = yes; then
5083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5087 #error This is not MinGW
5097 if ac_fn_c_try_compile
"$LINENO"; then :
5098 icu_cv_host_frag
=mh
-mingw
5100 icu_cv_host_frag
=mh
-cygwin
5102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5104 icu_cv_host_frag
=mh
-cygwin-msvc
5106 *-*-*bsd
*|*-*-dragonfly*) icu_cv_host_frag
=mh
-bsd-gcc ;;
5108 if test "$GCC" = yes; then
5109 icu_cv_host_frag
=mh
-aix-gcc
5111 icu_cv_host_frag
=mh
-aix-va
5114 if test "$GCC" = yes; then
5115 icu_cv_host_frag
=mh
-hpux-gcc
5118 *aCC
) icu_cv_host_frag
=mh
-hpux-acc ;;
5121 *-*ibm
-openedition*|*-*-os390*) icu_cv_host_frag
=mh
-os390 ;;
5122 *-*-os400*) icu_cv_host_frag
=mh
-os400 ;;
5123 *-apple-rhapsody*) icu_cv_host_frag
=mh
-darwin ;;
5124 *-apple-darwin*) icu_cv_host_frag
=mh
-darwin ;;
5125 *-*-beos) icu_cv_host_frag
=mh
-beos ;;
5126 *-*-haiku) icu_cv_host_frag
=mh
-haiku ;;
5127 *-*-irix*) icu_cv_host_frag
=mh
-irix ;;
5128 *-dec-osf*) icu_cv_host_frag
=mh
-alpha-osf ;;
5129 *-*-nto*) icu_cv_host_frag
=mh
-qnx ;;
5130 *-ncr-*) icu_cv_host_frag
=mh
-mpras ;;
5131 *) icu_cv_host_frag
=mh
-unknown ;;
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icu_cv_host_frag" >&5
5137 $as_echo "$icu_cv_host_frag" >&6; }
5140 # Checks for libraries and other host specific stuff
5141 # On HP/UX, don't link to -lm from a shared lib because it isn't
5142 # PIC (at least on 10.2)
5144 *-*-hpux*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
5145 $as_echo_n "checking for floor in -lm... " >&6; }
5146 if test "${ac_cv_lib_m_floor+set}" = set; then :
5147 $as_echo_n "(cached) " >&6
5149 ac_check_lib_save_LIBS
=$LIBS
5151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5154 /* Override any GCC internal prototype to avoid an error.
5155 Use char because int might match the return type of a GCC
5156 builtin and then its argument prototype would still apply. */
5169 if ac_fn_c_try_link
"$LINENO"; then :
5170 ac_cv_lib_m_floor
=yes
5172 ac_cv_lib_m_floor
=no
5174 rm -f core conftest.err conftest.
$ac_objext \
5175 conftest
$ac_exeext conftest.
$ac_ext
5176 LIBS
=$ac_check_lib_save_LIBS
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
5179 $as_echo "$ac_cv_lib_m_floor" >&6; }
5180 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
5185 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
5186 $as_echo_n "checking for floor in -lm... " >&6; }
5187 if test "${ac_cv_lib_m_floor+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 ac_check_lib_save_LIBS
=$LIBS
5192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5195 /* Override any GCC internal prototype to avoid an error.
5196 Use char because int might match the return type of a GCC
5197 builtin and then its argument prototype would still apply. */
5210 if ac_fn_c_try_link
"$LINENO"; then :
5211 ac_cv_lib_m_floor
=yes
5213 ac_cv_lib_m_floor
=no
5215 rm -f core conftest.err conftest.
$ac_objext \
5216 conftest
$ac_exeext conftest.
$ac_ext
5217 LIBS
=$ac_check_lib_save_LIBS
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
5220 $as_echo "$ac_cv_lib_m_floor" >&6; }
5221 if test "x$ac_cv_lib_m_floor" = x
""yes; then :
5222 cat >>confdefs.h
<<_ACEOF
5234 # Check whether to build shared libraries
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
5236 $as_echo_n "checking whether to build shared libraries... " >&6; }
5238 # Check whether --enable-shared was given.
5239 if test "${enable_shared+set}" = set; then :
5240 enableval
=$enable_shared; case "${enableval}" in
5241 yes|"") enabled
=yes; ENABLE_SHARED
=YES
;;
5246 enabled
=yes; ENABLE_SHARED
=YES
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5251 $as_echo "$enabled" >&6; }
5254 # Check whether to build static libraries
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
5256 $as_echo_n "checking whether to build static libraries... " >&6; }
5258 # Check whether --enable-static was given.
5259 if test "${enable_static+set}" = set; then :
5260 enableval
=$enable_static; case "${enableval}" in
5261 yes|"") enabled
=yes; ENABLE_STATIC
=YES
;;
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5268 $as_echo "$enabled" >&6; }
5271 # Check whether to enable auto cleanup of libraries
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable auto cleanup of libraries" >&5
5273 $as_echo_n "checking whether to enable auto cleanup of libraries... " >&6; }
5275 UCLN_NO_AUTO_CLEANUP
=1
5276 # Check whether --enable-auto-cleanup was given.
5277 if test "${enable_auto_cleanup+set}" = set; then :
5278 enableval
=$enable_auto_cleanup; case "${enableval}" in
5279 yes) enabled
=yes; UCLN_NO_AUTO_CLEANUP
=0 ;;
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5285 $as_echo "$enabled" >&6; }
5288 # MSVC floating-point option
5289 MSVC_RELEASE_FLAG
=""
5290 if test $enabled = yes
5292 if test $icu_cv_host_frag = mh
-cygwin-msvc
5294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5295 /* end confdefs.h. */
5297 #if defined _MSC_VER && _MSC_VER >= 1400
5299 Microsoft Visual C++ < 2005
5310 if ac_fn_c_try_compile
"$LINENO"; then :
5311 MSVC_RELEASE_FLAG
="/fp:precise"
5313 MSVC_RELEASE_FLAG
="/Op"
5315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5317 CFLAGS
="${CFLAGS} ${MSVC_RELEASE_FLAG}"
5318 CXXFLAGS
="${CXXFLAGS} ${MSVC_RELEASE_FLAG}"
5322 # Check whether to enabled draft APIs
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable draft APIs" >&5
5324 $as_echo_n "checking whether to enable draft APIs... " >&6; }
5326 U_DEFAULT_SHOW_DRAFT
=1
5327 # Check whether --enable-draft was given.
5328 if test "${enable_draft+set}" = set; then :
5329 enableval
=$enable_draft; case "${enableval}" in
5330 no
) enabled
=no
; U_DEFAULT_SHOW_DRAFT
=0 ;;
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5336 $as_echo "$enabled" >&6; }
5337 # Make sure that we can use draft API in ICU.
5338 if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
5339 CPPFLAGS
="$CPPFLAGS -DU_SHOW_DRAFT_API"
5343 # Check if we can hide variables from
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library API export" >&5
5345 $as_echo_n "checking for library API export... " >&6; }
5347 U_USE_GCC_VISIBILITY_ATTRIBUTE
=0
5348 OLD_CFLAGS
="${CFLAGS}"
5349 OLD_CXXFLAGS
="${CXXFLAGS}"
5350 if test "$ac_cv_c_compiler_gnu" = yes; then
5351 LIBCFLAGS
="-fvisibility=hidden"
5352 LIBCXXFLAGS
="-fvisibility=hidden"
5353 CFLAGS
="${CFLAGS} ${LIBCFLAGS}"
5354 CXXFLAGS
="${CXXFLAGS} ${LIBCXXFLAGS}"
5355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5356 /* end confdefs.h. */
5357 __attribute__ ((visibility ("default"))) void f(void);
5367 if ac_fn_c_try_link
"$LINENO"; then :
5372 rm -f core conftest.err conftest.
$ac_objext \
5373 conftest
$ac_exeext conftest.
$ac_ext
5374 if test "$SHAREDLIBEXPORT" = no
; then
5378 U_USE_GCC_VISIBILITY_ATTRIBUTE
=1
5383 LIBCFLAGS
="-xldscope=hidden"
5384 LIBCXXFLAGS
="-xldscope=hidden"
5385 CFLAGS
="${CFLAGS} ${LIBCFLAGS}"
5386 CXXFLAGS
="${CXXFLAGS} ${LIBCXXFLAGS}"
5387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5389 __global void f(void);
5399 if ac_fn_c_try_link
"$LINENO"; then :
5404 rm -f core conftest.err conftest.
$ac_objext \
5405 conftest
$ac_exeext conftest.
$ac_ext
5406 if test "$SHAREDLIBEXPORT" = no
; then
5412 # ICU isn't set up to follow the HP syntax yet.
5417 # Restore to their original state because the Intel compiler chokes
5418 # on this option when checking for the wchar_t size, but the
5419 # option otherwise works.
5420 CFLAGS
="${OLD_CFLAGS}"
5421 CXXFLAGS
="${OLD_CXXFLAGS}"
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHAREDLIBEXPORT" >&5
5423 $as_echo "$SHAREDLIBEXPORT" >&6; }
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5430 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5434 $as_echo_n "(cached) " >&6
5436 if test -n "$RANLIB"; then
5437 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5443 test -z "$as_dir" && as_dir
=.
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 RANLIB
=$ac_cv_prog_RANLIB
5457 if test -n "$RANLIB"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5459 $as_echo "$RANLIB" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_RANLIB"; then
5468 ac_ct_RANLIB
=$RANLIB
5469 # Extract the first word of "ranlib", so it can be a program name with args.
5470 set dummy ranlib
; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_RANLIB"; then
5477 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5497 if test -n "$ac_ct_RANLIB"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5499 $as_echo "$ac_ct_RANLIB" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_RANLIB" = x
; then
5508 case $cross_compiling:$ac_tool_warned in
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned
=yes ;;
5514 RANLIB
=$ac_ct_RANLIB
5517 RANLIB
="$ac_cv_prog_RANLIB"
5521 # look for 'ar' the proper way
5522 #AC_PATH_PROG(AR,ar,[echo archiver ar not found re-run configure ; false],$PATH:/bin:/usr/bin:/usr/ccs/bin)
5523 if test -n "$ac_tool_prefix"; then
5524 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5525 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if test "${ac_cv_prog_AR+set}" = set; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -n "$AR"; then
5532 ac_cv_prog_AR
="$AR" # Let the user override the test.
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_exec_ext
in '' $ac_executable_extensions; do
5540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 if test -n "$AR"; then
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5554 $as_echo "$AR" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5562 if test -z "$ac_cv_prog_AR"; then
5564 # Extract the first word of "ar", so it can be a program name with args.
5565 set dummy
ar; ac_word
=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5569 $as_echo_n "(cached) " >&6
5571 if test -n "$ac_ct_AR"; then
5572 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5578 test -z "$as_dir" && as_dir
=.
5579 for ac_exec_ext
in '' $ac_executable_extensions; do
5580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5581 ac_cv_prog_ac_ct_AR
="ar"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5592 if test -n "$ac_ct_AR"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5594 $as_echo "$ac_ct_AR" >&6; }
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5600 if test "x$ac_ct_AR" = x
; then
5603 case $cross_compiling:$ac_tool_warned in
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5607 ac_tool_warned
=yes ;;
5615 if test "x$AR" = "x"; then
5616 as_fn_error $?
"Archiver ar not found. Set AR= or fix PATH" "$LINENO" 5
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable renaming of symbols" >&5
5621 $as_echo_n "checking whether to enable renaming of symbols... " >&6; }
5623 U_DISABLE_RENAMING
=0
5624 # Check whether --enable-renaming was given.
5625 if test "${enable_renaming+set}" = set; then :
5626 enableval
=$enable_renaming; case "${enableval}" in
5627 yes|"") enabled
=yes ;;
5628 no
) enabled
=no
; U_DISABLE_RENAMING
=1 ;;
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5634 $as_echo "$enabled" >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable function and data tracing" >&5
5638 $as_echo_n "checking whether to enable function and data tracing... " >&6; }
5641 # Check whether --enable-tracing was given.
5642 if test "${enable_tracing+set}" = set; then :
5643 enableval
=$enable_tracing; case "${enableval}" in
5644 yes|"") enabled
=yes; U_ENABLE_TRACING
=1 ;;
5645 no
) enabled
=no
; U_ENABLE_TRACING
=0 ;;
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enabled" >&5
5651 $as_echo "$enabled" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dynamic loading of plugins" >&5
5657 $as_echo_n "checking whether to enable dynamic loading of plugins... " >&6; }
5659 # Check whether --enable-dyload was given.
5660 if test "${enable_dyload+set}" = set; then :
5661 enableval
=$enable_dyload; case "${enableval}" in
5674 # goes into icucfg.h
5675 for ac_header
in dlfcn.h
5677 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
5678 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
5679 cat >>confdefs.h
<<_ACEOF
5680 #define HAVE_DLFCN_H 1
5688 #AC_MSG_RESULT($enabled)
5689 if test "$enabled" = "check"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
5691 $as_echo_n "checking for library containing dlopen... " >&6; }
5692 if test "${ac_cv_search_dlopen+set}" = set; then :
5693 $as_echo_n "(cached) " >&6
5695 ac_func_search_save_LIBS
=$LIBS
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5699 /* Override any GCC internal prototype to avoid an error.
5700 Use char because int might match the return type of a GCC
5701 builtin and then its argument prototype would still apply. */
5714 for ac_lib
in '' dl
; do
5715 if test -z "$ac_lib"; then
5716 ac_res
="none required"
5719 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5721 if ac_fn_c_try_link
"$LINENO"; then :
5722 ac_cv_search_dlopen
=$ac_res
5724 rm -f core conftest.err conftest.
$ac_objext \
5726 if test "${ac_cv_search_dlopen+set}" = set; then :
5730 if test "${ac_cv_search_dlopen+set}" = set; then :
5733 ac_cv_search_dlopen
=no
5736 LIBS
=$ac_func_search_save_LIBS
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
5739 $as_echo "$ac_cv_search_dlopen" >&6; }
5740 ac_res
=$ac_cv_search_dlopen
5741 if test "$ac_res" != no
; then :
5742 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5746 for ac_func
in dlopen
5748 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
5749 if test "x$ac_cv_func_dlopen" = x
""yes; then :
5750 cat >>confdefs.h
<<_ACEOF
5751 #define HAVE_DLOPEN 1
5761 # Check for miscellanous functions.
5762 # These only go into common/icucfg.h and are NOT exported with ICU builds.
5763 # So, use for putil / tools only.
5764 # Note that this will generate HAVE_GETTIMEOFDAY, not U_HAVE_GETTIMEOFDAY
5765 # rerun 'autoheader' to regenerate icucfg.h.in
5766 for ac_func
in gettimeofday
5768 ac_fn_c_check_func
"$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
5769 if test "x$ac_cv_func_gettimeofday" = x
""yes; then :
5770 cat >>confdefs.h
<<_ACEOF
5771 #define HAVE_GETTIMEOFDAY 1
5778 # Check whether to use the evil rpath or not
5779 # Check whether --enable-rpath was given.
5780 if test "${enable_rpath+set}" = set; then :
5781 enableval
=$enable_rpath; case "${enableval}" in
5782 yes|"") ENABLE_RPATH
=YES
;;
5795 # Copy the definition of AC_C_INLINE, with slight mods.
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for definition of U_INLINE for C" >&5
5798 $as_echo_n "checking for definition of U_INLINE for C... " >&6; }
5799 if test "${ac_cv_c_inline+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5803 for ac_kw
in inline __inline__ __inline
; do
5804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5810 return 0;} $ac_kw int foo() {
5815 if ac_fn_c_try_compile
"$LINENO"; then :
5816 ac_cv_c_inline
=$ac_kw; break
5818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5823 $as_echo "$ac_cv_c_inline" >&6; }
5824 case "$ac_cv_c_inline" in
5825 yes) U_INLINE
= "inline" ;;
5827 *) U_INLINE
=$ac_cv_c_inline ;;
5831 # set up U_HAVE_STD_STRING.
5832 # Copy the definition of AC_C_INLINE, with slight mods.
5836 ac_cpp
='$CXXCPP $CPPFLAGS'
5837 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5838 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5839 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have a C++ compiler" >&5
5842 $as_echo_n "checking if we have a C++ compiler... " >&6; }
5843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5854 if ac_fn_cxx_try_compile
"$LINENO"; then :
5859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5860 if test $cxx_okay = yes
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: congratulations" >&5
5863 $as_echo "congratulations" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5867 as_fn_error $?
"C++ compiler $CXX does not work or no compiler found" "$LINENO" 5
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if #include <string> works" >&5
5871 $as_echo_n "checking if #include <string> works... " >&6; }
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5883 if ac_fn_cxx_try_compile
"$LINENO"; then :
5884 ac_cv_header_stdstring
=yes
5886 ac_cv_header_stdstring
=no
5888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdstring" >&5
5890 $as_echo "$ac_cv_header_stdstring" >&6; }
5891 if test $ac_cv_header_stdstring = yes
5897 ac_cpp
='$CPP $CPPFLAGS'
5898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5905 # Enable/disable threads
5906 # Check whether --enable-threads was given.
5907 if test "${enable_threads+set}" = set; then :
5908 enableval
=$enable_threads; case "${enableval}" in
5909 yes) threads
=true
;;
5910 no
) threads
=false
;;
5911 *) as_fn_error $?
"bad value ${enableval} for --enable-threads" "$LINENO" 5 ;;
5918 if test "$threads" = true
; then
5927 if test $threads = true
; then
5928 # For Compaq Tru64 (OSF1), we must look for pthread_attr_init
5929 # and must do this before seaching for pthread_mutex_destroy, or
5930 # we will pick up libpthreads.so not libpthread.so
5931 # If this fails, then we must test for HPUX specials, before
5932 # moving on to a more generic test
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5
5935 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
5936 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5939 ac_check_lib_save_LIBS
=$LIBS
5940 LIBS
="-lpthread $LIBS"
5941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5944 /* Override any GCC internal prototype to avoid an error.
5945 Use char because int might match the return type of a GCC
5946 builtin and then its argument prototype would still apply. */
5950 char pthread_attr_init ();
5954 return pthread_attr_init ();
5959 if ac_fn_c_try_link
"$LINENO"; then :
5960 ac_cv_lib_pthread_pthread_attr_init
=yes
5962 ac_cv_lib_pthread_pthread_attr_init
=no
5964 rm -f core conftest.err conftest.
$ac_objext \
5965 conftest
$ac_exeext conftest.
$ac_ext
5966 LIBS
=$ac_check_lib_save_LIBS
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
5969 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
5970 if test "x$ac_cv_lib_pthread_pthread_attr_init" = x
""yes; then :
5971 cat >>confdefs.h
<<_ACEOF
5972 #define HAVE_LIBPTHREAD 1
5975 LIBS
="-lpthread $LIBS"
5979 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
5982 # Locate the right library for POSIX threads. We look for the
5983 # symbols in the libraries first, because on Solaris libc provides
5984 # pthread_create but libpthread has the real code :(
5985 # AIX uses libpthreads instead of libpthread, and HP/UX uses libpthread
5986 # FreeBSD users may need libpthread if they do not have libc_r.
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_mutex_destroy" >&5
5990 $as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
5991 if test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 ac_func_search_save_LIBS
="$LIBS"
5995 ac_cv_search_pthread_mutex_destroy
="no"
5996 for i
in pthread pthreads c_r
; do
5997 LIBS
="-l$i $ac_func_search_save_LIBS"
5998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6001 /* Override any GCC internal prototype to avoid an error.
6002 Use char because int might match the return type of a GCC
6003 builtin and then its argument prototype would still apply. */
6007 char pthread_mutex_destroy ();
6011 return pthread_mutex_destroy ();
6016 if ac_fn_c_try_link
"$LINENO"; then :
6017 ac_cv_search_pthread_mutex_destroy
="-l$i"
6020 rm -f core conftest.err conftest.
$ac_objext \
6021 conftest
$ac_exeext conftest.
$ac_ext
6023 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
6024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6027 /* Override any GCC internal prototype to avoid an error.
6028 Use char because int might match the return type of a GCC
6029 builtin and then its argument prototype would still apply. */
6033 char pthread_mutex_destroy ();
6037 return pthread_mutex_destroy ();
6042 if ac_fn_c_try_link
"$LINENO"; then :
6043 ac_cv_search_pthread_mutex_destroy
="none required"
6045 rm -f core conftest.err conftest.
$ac_objext \
6046 conftest
$ac_exeext conftest.
$ac_ext
6048 LIBS
="$ac_func_search_save_LIBS"
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_mutex_destroy" >&5
6051 $as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
6052 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
6053 test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS
="$ac_cv_search_pthread_mutex_destroy $LIBS"
6059 if test "$ac_cv_search_pthread_mutex_destroy" != no
; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
6064 $as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
6065 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6068 ac_check_lib_save_LIBS
=$LIBS
6069 LIBS
="-lpthread $LIBS"
6070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6073 /* Override any GCC internal prototype to avoid an error.
6074 Use char because int might match the return type of a GCC
6075 builtin and then its argument prototype would still apply. */
6079 char pthread_mutex_init ();
6083 return pthread_mutex_init ();
6088 if ac_fn_c_try_link
"$LINENO"; then :
6089 ac_cv_lib_pthread_pthread_mutex_init
=yes
6091 ac_cv_lib_pthread_pthread_mutex_init
=no
6093 rm -f core conftest.err conftest.
$ac_objext \
6094 conftest
$ac_exeext conftest.
$ac_ext
6095 LIBS
=$ac_check_lib_save_LIBS
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
6098 $as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
6099 if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x
""yes; then :
6100 cat >>confdefs.h
<<_ACEOF
6101 #define HAVE_LIBPTHREAD 1
6104 LIBS
="-lpthread $LIBS"
6108 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
6113 ac_fn_c_check_func
"$LINENO" "pthread_mutex_lock" "ac_cv_func_pthread_mutex_lock"
6114 if test "x$ac_cv_func_pthread_mutex_lock" = x
""yes; then :
6119 if test $ac_cv_func_pthread_mutex_lock = yes; then
6123 # Check to see if we are using CygWin with MSVC
6125 *-pc-cygwin*|*-pc-mingw*)
6126 # For gcc, the thread options are set by mh-mingw/mh-cygwin
6127 # For msvc, the thread options are set by runConfigureICU
6131 # Add -mt because it does several nice things on newer compilers.
6132 case "${icu_cv_host_frag}" in
6134 OLD_CXXFLAGS
="${CXXFLAGS}"
6135 CXXFLAGS
="${CXXFLAGS} -mt"
6136 if test x
"`${CXX} ${CXXFLAGS} 2>&1`" != x
""; then
6137 CXXFLAGS
="${OLD_CXXFLAGS}"
6143 case "${icu_cv_host_frag}" in
6154 # Check whether --enable-weak-threads was given.
6155 if test "${enable_weak_threads+set}" = set; then :
6156 enableval
=$enable_weak_threads; case "${enableval}" in
6158 LIB_THREAD
="${LIBS%${OLD_LIBS}}"
6162 *) as_fn_error $?
"bad value ${enableval} for --enable-weak-threads" "$LINENO" 5 ;;
6170 # The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
6171 # Do this check instead.
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmap" >&5
6174 $as_echo_n "checking for mmap... " >&6; }
6175 if test "${ac_cv_func_mmap_ok+set}" = set; then :
6176 $as_echo_n "(cached) " >&6
6178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6181 #include <sys/mman.h>
6182 #include <sys/stat.h>
6187 mmap((void *)0, 0, PROT_READ, 0, 0, 0);
6192 if ac_fn_c_try_link
"$LINENO"; then :
6193 ac_cv_func_mmap_ok
=yes
6195 ac_cv_func_mmap_ok
=no
6197 rm -f core conftest.err conftest.
$ac_objext \
6198 conftest
$ac_exeext conftest.
$ac_ext
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_ok" >&5
6202 $as_echo "$ac_cv_func_mmap_ok" >&6; }
6203 if test $ac_cv_func_mmap_ok = yes
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genccode assembly" >&5
6210 $as_echo_n "checking for genccode assembly... " >&6; }
6212 # Check to see if genccode can generate simple assembly.
6215 *-linux*|i
*86-*-*bsd
*|i
*86-pc-gnu)
6216 if test "$GCC" = yes; then
6217 # We're using gcc, and the simple -a gcc command line works for genccode
6218 GENCCODE_ASSEMBLY
="-a gcc"
6221 if test "$GCC" = yes; then
6222 # When using gcc, look if we're also using GNU as.
6223 # When using GNU as, the simple -a gcc command line works for genccode.
6224 asv
=`"${CC}" -print-prog-name=as 2>/dev/null`
6225 asv
=`"${asv}" --version 2>/dev/null`
6227 X
*GNU
*) GENCCODE_ASSEMBLY
="-a gcc" ;;
6228 X
*) GENCCODE_ASSEMBLY
="-a sun-x86" ;;
6232 GENCCODE_ASSEMBLY
="-a sun-x86"
6235 GENCCODE_ASSEMBLY
="-a sun"
6238 GENCCODE_ASSEMBLY
="-a aCC-ia64"
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENCCODE_ASSEMBLY" >&5
6244 $as_echo "$GENCCODE_ASSEMBLY" >&6; }
6246 # Checks for header files
6247 for ac_header
in inttypes.h
6249 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
6250 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
6251 cat >>confdefs.h
<<_ACEOF
6252 #define HAVE_INTTYPES_H 1
6259 if test $ac_cv_header_inttypes_h = no
; then
6264 if test "$CC" = ccc
; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"C compiler set to CCC ${CC}\" " >&5
6266 $as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
6268 alpha
*-*-*) U_HAVE_INTTYPES_H
=0;
6274 for ac_header
in dirent.h
6276 ac_fn_c_check_header_mongrel
"$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
6277 if test "x$ac_cv_header_dirent_h" = x
""yes; then :
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_DIRENT_H 1
6286 if test $ac_cv_header_dirent_h = no
; then
6296 # Check whether --with-iostream was given.
6297 if test "${with_iostream+set}" = set; then :
6298 withval
=$with_iostream; case "${withval}" in
6299 none
) streams
=none
;;
6300 old
) streams
=198506 ;;
6301 std
) streams
=199711 ;;
6303 *) as_fn_error $?
"bad value ${withval} for --with-iostream" "$LINENO" 5 ;;
6311 if test x
$streams != xnone
6314 ac_cpp
='$CXXCPP $CPPFLAGS'
6315 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6316 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6317 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6319 OLD_CXXFLAGS
="${CXXFLAGS}"
6320 case "${icu_cv_host_frag}" in
6322 CXXFLAGS
="${CXXFLAGS} -AA"
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iostream usability" >&5
6326 $as_echo_n "checking for iostream usability... " >&6; }
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6338 if ac_fn_cxx_try_compile
"$LINENO"; then :
6339 ac_cv_header_iostream
=yes
6341 ac_cv_header_iostream
=no
6343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6344 if test $icu_cv_host_frag = mh
-cygwin-msvc
6346 # <iostream> is always there on Windows.
6347 # We do this to prevent the C++ preprocessor from being used because
6348 # autoconf can't deal with the Windows C++ preprocessor
6349 ac_cv_header_iostream
=yes
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_iostream" >&5
6352 $as_echo "$ac_cv_header_iostream" >&6; }
6353 if test $ac_cv_header_iostream = yes
6355 U_IOSTREAM_SOURCE
=199711
6357 CXXFLAGS
="${OLD_CXXFLAGS}"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ostream in iostream.h is really defined" >&5
6359 $as_echo_n "checking whether ostream in iostream.h is really defined... " >&6; }
6360 if test "${ac_cv_iostream_ok+set}" = set; then :
6361 $as_echo_n "(cached) " >&6
6363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6364 /* end confdefs.h. */
6365 #include <iostream.h>
6369 ostream &testout = cout; testout << "test" << endl;
6374 if ac_fn_cxx_try_link
"$LINENO"; then :
6375 ac_cv_iostream_ok
=yes
6377 ac_cv_iostream_ok
=no
6379 rm -f core conftest.err conftest.
$ac_objext \
6380 conftest
$ac_exeext conftest.
$ac_ext
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_iostream_ok" >&5
6384 $as_echo "$ac_cv_iostream_ok" >&6; }
6385 if test $ac_cv_iostream_ok = yes
6387 U_IOSTREAM_SOURCE
=198506
6390 if test x
$streams != x
6392 if test $U_IOSTREAM_SOURCE -ge $streams
6394 U_IOSTREAM_SOURCE
=$streams
6395 case "${icu_cv_host_frag}" in
6397 if test $U_IOSTREAM_SOURCE -lt 199711; then
6398 CXXFLAGS
=${OLD_CXXFLAGS}
6403 as_fn_error $?
"${withval} iostream is not available" "$LINENO" 5
6409 ac_cpp
='$CPP $CPPFLAGS'
6410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6415 # Check for endianness
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6417 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6418 if test "${ac_cv_c_bigendian+set}" = set; then :
6419 $as_echo_n "(cached) " >&6
6421 ac_cv_c_bigendian
=unknown
6422 # See if we're dealing with a universal compiler.
6423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6425 #ifndef __APPLE_CC__
6426 not a universal capable compiler
6431 if ac_fn_c_try_compile
"$LINENO"; then :
6433 # Check for potential -arch flags. It is not universal unless
6434 # there are at least two -arch flags with different values.
6437 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6438 if test -n "$ac_prev"; then
6440 i?
86 | x86_64
| ppc
| ppc64
)
6441 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6444 ac_cv_c_bigendian
=universal
6450 elif test "x$ac_word" = "x-arch"; then
6455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6456 if test $ac_cv_c_bigendian = unknown
; then
6457 # See if sys/param.h defines the BYTE_ORDER macro.
6458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 #include <sys/types.h>
6461 #include <sys/param.h>
6466 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6467 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6476 if ac_fn_c_try_compile
"$LINENO"; then :
6477 # It does; now see whether it defined to BIG_ENDIAN or not.
6478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6480 #include <sys/types.h>
6481 #include <sys/param.h>
6486 #if BYTE_ORDER != BIG_ENDIAN
6494 if ac_fn_c_try_compile
"$LINENO"; then :
6495 ac_cv_c_bigendian
=yes
6497 ac_cv_c_bigendian
=no
6499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6503 if test $ac_cv_c_bigendian = unknown
; then
6504 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6512 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6520 if ac_fn_c_try_compile
"$LINENO"; then :
6521 # It does; now see whether it defined to _BIG_ENDIAN or not.
6522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6537 if ac_fn_c_try_compile
"$LINENO"; then :
6538 ac_cv_c_bigendian
=yes
6540 ac_cv_c_bigendian
=no
6542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6546 if test $ac_cv_c_bigendian = unknown
; then
6547 # Compile a test program.
6548 if test "$cross_compiling" = yes; then :
6549 # Try to guess by grepping values from an object file.
6550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 short int ascii_mm[] =
6553 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6554 short int ascii_ii[] =
6555 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6556 int use_ascii (int i) {
6557 return ascii_mm[i] + ascii_ii[i];
6559 short int ebcdic_ii[] =
6560 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6561 short int ebcdic_mm[] =
6562 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6563 int use_ebcdic (int i) {
6564 return ebcdic_mm[i] + ebcdic_ii[i];
6571 return use_ascii (foo) == use_ebcdic (foo);
6576 if ac_fn_c_try_compile
"$LINENO"; then :
6577 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
6578 ac_cv_c_bigendian
=yes
6580 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
6581 if test "$ac_cv_c_bigendian" = unknown
; then
6582 ac_cv_c_bigendian
=no
6584 # finding both strings is unlikely to happen, but who knows?
6585 ac_cv_c_bigendian
=unknown
6589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6592 /* end confdefs.h. */
6593 $ac_includes_default
6598 /* Are we little or big endian? From Harbison&Steele. */
6602 char c[sizeof (long int)];
6605 return u.c[sizeof (long int) - 1] == 1;
6611 if ac_fn_c_try_run
"$LINENO"; then :
6612 ac_cv_c_bigendian
=no
6614 ac_cv_c_bigendian
=yes
6616 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6617 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6623 $as_echo "$ac_cv_c_bigendian" >&6; }
6624 case $ac_cv_c_bigendian in #(
6626 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6632 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6636 as_fn_error $?
"unknown endianness
6637 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6640 if test $ac_cv_c_bigendian = no
; then
6649 # Do various POSIX related checks
6650 U_HAVE_NL_LANGINFO_CODESET
=0
6651 U_NL_LANGINFO_CODESET
=-1
6652 ac_fn_c_check_func
"$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
6653 if test "x$ac_cv_func_nl_langinfo" = x
""yes; then :
6654 U_HAVE_NL_LANGINFO
=1
6656 U_HAVE_NL_LANGINFO
=0
6659 if test $U_HAVE_NL_LANGINFO -eq 1; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo's argument to obtain the codeset" >&5
6661 $as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
6662 if test "${ac_cv_nl_langinfo_codeset+set}" = set; then :
6663 $as_echo_n "(cached) " >&6
6665 ac_cv_nl_langinfo_codeset
="unknown"
6666 for a
in CODESET _NL_CTYPE_CODESET_NAME
; do
6667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6669 #include <langinfo.h>
6678 if ac_fn_c_try_link
"$LINENO"; then :
6679 ac_cv_nl_langinfo_codeset
="$a"; break
6681 rm -f core conftest.err conftest.
$ac_objext \
6682 conftest
$ac_exeext conftest.
$ac_ext
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_nl_langinfo_codeset" >&5
6686 $as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
6687 if test x
$ac_cv_nl_langinfo_codeset != xunknown
6689 U_HAVE_NL_LANGINFO_CODESET
=1
6690 U_NL_LANGINFO_CODESET
=$ac_cv_nl_langinfo_codeset
6696 # Namespace support checks
6698 ac_cpp
='$CXXCPP $CPPFLAGS'
6699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for namespace support" >&5
6704 $as_echo_n "checking for namespace support... " >&6; }
6705 if test "${ac_cv_namespace_ok+set}" = set; then :
6706 $as_echo_n "(cached) " >&6
6708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 namespace x_version {void f(){}}
6711 namespace x = x_version;
6712 using namespace x_version;
6722 if ac_fn_cxx_try_link
"$LINENO"; then :
6723 ac_cv_namespace_ok
=yes
6725 ac_cv_namespace_ok
=no
6727 rm -f core conftest.err conftest.
$ac_objext \
6728 conftest
$ac_exeext conftest.
$ac_ext
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_namespace_ok" >&5
6732 $as_echo "$ac_cv_namespace_ok" >&6; }
6734 if test $ac_cv_namespace_ok = no
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for properly overriding new and delete" >&5
6741 $as_echo_n "checking for properly overriding new and delete... " >&6; }
6742 U_OVERRIDE_CXX_ALLOCATION
=0
6743 U_HAVE_PLACEMENT_NEW
=0
6744 if test "${ac_cv_override_cxx_allocation_ok+set}" = set; then :
6745 $as_echo_n "(cached) " >&6
6747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6752 void *operator new(size_t size) {return malloc(size);}
6753 void *operator new[](size_t size) {return malloc(size);}
6754 void operator delete(void *p) {free(p);}
6755 void operator delete[](void *p) {free(p);}
6766 if ac_fn_cxx_try_link
"$LINENO"; then :
6767 ac_cv_override_cxx_allocation_ok
=yes
6769 ac_cv_override_cxx_allocation_ok
=no
6771 rm -f core conftest.err conftest.
$ac_objext \
6772 conftest
$ac_exeext conftest.
$ac_ext
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_cxx_allocation_ok" >&5
6776 $as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
6777 if test $ac_cv_override_cxx_allocation_ok = yes
6779 U_OVERRIDE_CXX_ALLOCATION
=1
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for placement new and delete" >&5
6781 $as_echo_n "checking for placement new and delete... " >&6; }
6782 if test "${ac_cv_override_placement_new_ok+set}" = set; then :
6783 $as_echo_n "(cached) " >&6
6785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6790 void *operator new(size_t size) {return malloc(size);}
6791 void *operator new[](size_t size) {return malloc(size);}
6792 void operator delete(void *p) {free(p);}
6793 void operator delete[](void *p) {free(p);}
6794 void * operator new(size_t, void *ptr) { return ptr; }
6795 void operator delete(void *, void *) {}
6806 if ac_fn_cxx_try_link
"$LINENO"; then :
6807 ac_cv_override_placement_new_ok
=yes
6809 ac_cv_override_placement_new_ok
=no
6811 rm -f core conftest.err conftest.
$ac_objext \
6812 conftest
$ac_exeext conftest.
$ac_ext
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_override_placement_new_ok" >&5
6816 $as_echo "$ac_cv_override_placement_new_ok" >&6; }
6817 if test $ac_cv_override_placement_new_ok = yes
6819 U_HAVE_PLACEMENT_NEW
=1
6825 # gcc atomic built-in functions check
6826 # AC_TRY_LINK([], [int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);],,
6828 ac_cpp
='$CPP $CPPFLAGS'
6829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc atomic functions" >&5
6834 $as_echo_n "checking for gcc atomic functions... " >&6; }
6835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6845 __sync_fetch_and_add(&i, 1);
6846 __sync_fetch_and_sub(&i, 1);
6847 __sync_val_compare_and_swap(&p, 0, 0);
6854 if ac_fn_c_try_link
"$LINENO"; then :
6855 U_HAVE_GCC_ATOMICS
=1; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6856 $as_echo "yes" >&6; }
6858 U_HAVE_GCC_ATOMICS
=0; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6861 rm -f core conftest.err conftest.
$ac_objext \
6862 conftest
$ac_exeext conftest.
$ac_ext
6866 ac_cpp
='$CPP $CPPFLAGS'
6867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6871 ac_fn_c_check_func
"$LINENO" "popen" "ac_cv_func_popen"
6872 if test "x$ac_cv_func_popen" = x
""yes; then :
6876 if test x
$ac_cv_func_popen = xyes
6884 ac_fn_c_check_func
"$LINENO" "tzset" "ac_cv_func_tzset"
6885 if test "x$ac_cv_func_tzset" = x
""yes; then :
6890 if test x
$ac_cv_func_tzset = xyes
6895 ac_fn_c_check_func
"$LINENO" "_tzset" "ac_cv_func__tzset"
6896 if test "x$ac_cv_func__tzset" = x
""yes; then :
6900 if test x
$ac_cv_func__tzset = xyes
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6911 $as_echo_n "checking for tzname... " >&6; }
6912 if test "${ac_cv_var_tzname+set}" = set; then :
6913 $as_echo_n "(cached) " >&6
6915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6922 #ifndef tzname /* For SGI. */
6923 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6933 if ac_fn_c_try_link
"$LINENO"; then :
6934 ac_cv_var_tzname
=yes
6938 rm -f core conftest.err conftest.
$ac_objext \
6939 conftest
$ac_exeext conftest.
$ac_ext
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6942 $as_echo "$ac_cv_var_tzname" >&6; }
6943 if test $ac_cv_var_tzname = yes; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _tzname" >&5
6948 $as_echo_n "checking for _tzname... " >&6; }
6949 if test "${ac_cv_var__tzname+set}" = set; then :
6950 $as_echo_n "(cached) " >&6
6952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6956 extern char *_tzname[];
6965 if ac_fn_c_try_link
"$LINENO"; then :
6966 ac_cv_var__tzname
=yes
6968 ac_cv_var__tzname
=no
6970 rm -f core conftest.err conftest.
$ac_objext \
6971 conftest
$ac_exeext conftest.
$ac_ext
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__tzname" >&5
6974 $as_echo "$ac_cv_var__tzname" >&6; }
6975 if test $ac_cv_var__tzname = yes; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone" >&5
6984 $as_echo_n "checking for timezone... " >&6; }
6985 if test "${ac_cv_var_timezone+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h. */
7006 if ac_fn_c_try_link
"$LINENO"; then :
7007 ac_cv_var_timezone
=yes
7009 ac_cv_var_timezone
=no
7011 rm -f core conftest.err conftest.
$ac_objext \
7012 conftest
$ac_exeext conftest.
$ac_ext
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_timezone" >&5
7015 $as_echo "$ac_cv_var_timezone" >&6; }
7017 if test $ac_cv_var_timezone = yes; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __timezone" >&5
7022 $as_echo_n "checking for __timezone... " >&6; }
7023 if test "${ac_cv_var___timezone+set}" = set; then :
7024 $as_echo_n "(cached) " >&6
7026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7037 if ac_fn_c_try_link
"$LINENO"; then :
7038 ac_cv_var___timezone
=yes
7040 ac_cv_var___timezone
=no
7042 rm -f core conftest.err conftest.
$ac_objext \
7043 conftest
$ac_exeext conftest.
$ac_ext
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var___timezone" >&5
7046 $as_echo "$ac_cv_var___timezone" >&6; }
7047 if test $ac_cv_var___timezone = yes; then
7048 U_TIMEZONE
=__timezone
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _timezone" >&5
7052 $as_echo_n "checking for _timezone... " >&6; }
7053 if test "${ac_cv_var__timezone+set}" = set; then :
7054 $as_echo_n "(cached) " >&6
7056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7067 if ac_fn_c_try_link
"$LINENO"; then :
7068 ac_cv_var__timezone
=yes
7070 ac_cv_var__timezone
=no
7072 rm -f core conftest.err conftest.
$ac_objext \
7073 conftest
$ac_exeext conftest.
$ac_ext
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var__timezone" >&5
7076 $as_echo "$ac_cv_var__timezone" >&6; }
7077 if test $ac_cv_var__timezone = yes; then
7078 U_TIMEZONE
=_timezone
7086 # Checks for typedefs
7087 ac_fn_c_check_type
"$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
7088 if test "x$ac_cv_type_int8_t" = x
""yes; then :
7092 cat >>confdefs.h
<<_ACEOF
7093 #define int8_t signed char
7098 ac_fn_c_check_type
"$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
7099 if test "x$ac_cv_type_uint8_t" = x
""yes; then :
7103 cat >>confdefs.h
<<_ACEOF
7104 #define uint8_t unsigned char
7109 ac_fn_c_check_type
"$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
7110 if test "x$ac_cv_type_int16_t" = x
""yes; then :
7114 cat >>confdefs.h
<<_ACEOF
7115 #define int16_t signed short
7120 ac_fn_c_check_type
"$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
7121 if test "x$ac_cv_type_uint16_t" = x
""yes; then :
7125 cat >>confdefs.h
<<_ACEOF
7126 #define uint16_t unsigned short
7131 ac_fn_c_check_type
"$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
7132 if test "x$ac_cv_type_int32_t" = x
""yes; then :
7136 cat >>confdefs.h
<<_ACEOF
7137 #define int32_t signed long
7142 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
7143 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
7147 cat >>confdefs.h
<<_ACEOF
7148 #define uint32_t unsigned long
7153 ac_fn_c_check_type
"$LINENO" "int64_t" "ac_cv_type_int64_t" "$ac_includes_default"
7154 if test "x$ac_cv_type_int64_t" = x
""yes; then :
7158 cat >>confdefs.h
<<_ACEOF
7159 #define int64_t signed long long
7164 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default"
7165 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
7169 cat >>confdefs.h
<<_ACEOF
7170 #define uint64_t unsigned long long
7176 if test $ac_cv_type_int8_t = no
; then
7183 if test $ac_cv_type_uint8_t = no
; then
7190 if test $ac_cv_type_int16_t = no
; then
7197 if test $ac_cv_type_uint16_t = no
; then
7204 if test $ac_cv_type_int32_t = no
; then
7211 if test $ac_cv_type_uint32_t = no
; then
7218 if test $ac_cv_type_int64_t = no
; then
7225 if test $ac_cv_type_uint64_t = no
; then
7232 # Do various wchar_t related checks
7233 ac_fn_c_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
7234 if test "x$ac_cv_header_wchar_h" = x
""yes; then :
7239 if test "$ac_cv_header_wchar_h" = no
7245 $as_echo "#define HAVE_WCHAR_H 1" >>confdefs.h
7248 # Some broken systems have wchar.h but not some of its functions...
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing wcscpy" >&5
7250 $as_echo_n "checking for library containing wcscpy... " >&6; }
7251 if test "${ac_cv_search_wcscpy+set}" = set; then :
7252 $as_echo_n "(cached) " >&6
7254 ac_func_search_save_LIBS
=$LIBS
7255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7258 /* Override any GCC internal prototype to avoid an error.
7259 Use char because int might match the return type of a GCC
7260 builtin and then its argument prototype would still apply. */
7273 for ac_lib
in '' wcs w
; do
7274 if test -z "$ac_lib"; then
7275 ac_res
="none required"
7278 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7280 if ac_fn_c_try_link
"$LINENO"; then :
7281 ac_cv_search_wcscpy
=$ac_res
7283 rm -f core conftest.err conftest.
$ac_objext \
7285 if test "${ac_cv_search_wcscpy+set}" = set; then :
7289 if test "${ac_cv_search_wcscpy+set}" = set; then :
7292 ac_cv_search_wcscpy
=no
7295 LIBS
=$ac_func_search_save_LIBS
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_wcscpy" >&5
7298 $as_echo "$ac_cv_search_wcscpy" >&6; }
7299 ac_res
=$ac_cv_search_wcscpy
7300 if test "$ac_res" != no
; then :
7301 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7305 if test "$ac_cv_search_wcscpy" != no
; then
7314 # The cast to long int works around a bug in the HP C Compiler
7315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7317 # This bug is HP SR number 8606223364.
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
7319 $as_echo_n "checking size of wchar_t... " >&6; }
7320 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
7321 $as_echo_n "(cached) " >&6
7323 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
7335 if test "$ac_cv_type_wchar_t" = yes; then
7336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7338 as_fn_error
77 "cannot compute sizeof (wchar_t)
7339 See \`config.log' for more details" "$LINENO" 5; }
7341 ac_cv_sizeof_wchar_t
=0
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
7347 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
7351 cat >>confdefs.h
<<_ACEOF
7352 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
7356 U_SIZEOF_WCHAR_T
=$ac_cv_sizeof_wchar_t
7357 # We do this check to verify that everything is okay.
7358 if test $U_SIZEOF_WCHAR_T = 0; then
7359 if test $U_HAVE_WCHAR_H=1; then
7360 as_fn_error $?
"There is wchar.h but the size of wchar_t is 0" "$LINENO" 5
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UTF-16 string literal support" >&5
7366 $as_echo_n "checking for UTF-16 string literal support... " >&6; }
7367 U_CHECK_UTF16_STRING
=1
7368 CHECK_UTF16_STRING_RESULT
="unknown"
7371 *-*-aix*|powerpc64
-*-linux*)
7372 if test "$ac_cv_c_compiler_gnu" = no
; then
7373 OLD_CFLAGS
="${CFLAGS}"
7374 OLD_CXXFLAGS
="${CXXFLAGS}"
7375 CFLAGS
="${CFLAGS} -qutf"
7376 CXXFLAGS
="${CXXFLAGS} -qutf"
7377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7379 const unsigned short hello[] = u"hello";
7388 if ac_fn_c_try_compile
"$LINENO"; then :
7389 U_CHECK_UTF16_STRING
=1
7391 U_CHECK_UTF16_STRING
=0
7393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7394 if test "$U_CHECK_UTF16_STRING" = 0; then
7395 CFLAGS
="${OLD_CFLAGS}"
7396 CXXFLAGS
="${OLD_CXXFLAGS}"
7398 CHECK_UTF16_STRING_RESULT
="-qutf"
7403 if test "$ac_cv_c_compiler_gnu" = no
; then
7404 OLD_CFLAGS
="${CFLAGS}"
7405 OLD_CXXFLAGS
="${CXXFLAGS}"
7406 CFLAGS
="${CFLAGS} -xustr=ascii_utf16_ushort"
7407 CXXFLAGS
="${CXXFLAGS} -xustr=ascii_utf16_ushort"
7408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7410 const unsigned short hello[] = U"hello";
7419 if ac_fn_c_try_compile
"$LINENO"; then :
7420 U_CHECK_UTF16_STRING
=1
7422 U_CHECK_UTF16_STRING
=0
7424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7425 if test "$U_CHECK_UTF16_STRING" = 0; then
7426 CFLAGS
="${OLD_CFLAGS}"
7427 CXXFLAGS
="${OLD_CXXFLAGS}"
7429 CHECK_UTF16_STRING_RESULT
="-xustr=ascii_utf16_ushort"
7431 # Since we can't detect the availability of this UTF-16 syntax at compile time,
7432 # we depend on configure telling us that we can use it.
7433 # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
7434 # we only use this macro within ICU.
7435 # If an ICU user uses icu-config, this feature will be enabled.
7436 CPPFLAGS
="${CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
7437 U_CHECK_UTF16_STRING
=0
7442 if test "$ac_cv_c_compiler_gnu" = no
; then
7443 # The option will be detected at compile time without additional compiler options.
7444 CHECK_UTF16_STRING_RESULT
="available"
7448 # wchar_t can be used
7449 CHECK_UTF16_STRING_RESULT
="available"
7455 # GCC >= 4.4 supports UTF16 string literals. The CFLAGS and CXXFLAGS may change in the future.
7456 # Since we have to use a different standard, if strict is enable, don't enable UTF16 string literals.
7457 U_CHECK_GNUC_UTF16_STRING
=0
7458 if test "$ac_use_strict_options" = no
&& test "$CHECK_UTF16_STRING_RESULT" = "unknown"; then
7459 if test "$ac_cv_c_compiler_gnu" = yes; then
7460 OLD_CFLAGS
="${CFLAGS}"
7461 OLD_CXXFLAGS
="${CXXFLAGS}"
7462 CFLAGS
="${CFLAGS} -std=gnu99 -D_GCC_"
7463 CXXFLAGS
="${CXXFLAGS} -std=c++0x"
7464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7467 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
7469 typedef __CHAR16_TYPE__ char16_t;
7471 char16_t test[] = u"This is a UTF16 literal string.";
7484 if ac_fn_c_try_compile
"$LINENO"; then :
7485 U_CHECK_UTF16_STRING
=1
7487 U_CHECK_UTF16_STRING
=0
7489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7490 if test "$U_CHECK_UTF16_STRING" = 1; then
7491 CHECK_UTF16_STRING_RESULT
="available";
7492 U_CHECK_GNUC_UTF16_STRING
=1
7494 CFLAGS
="${OLD_CFLAGS}"
7495 CXXFLAGS
="${OLD_CXXFLAGS}"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHECK_UTF16_STRING_RESULT" >&5
7502 $as_echo "$CHECK_UTF16_STRING_RESULT" >&6; }
7505 # Enable/disable extras
7506 # Check whether --enable-extras was given.
7507 if test "${enable_extras+set}" = set; then :
7508 enableval
=$enable_extras; case "${enableval}" in
7511 *) as_fn_error $?
"bad value ${enableval} for --enable-extras" "$LINENO" 5 ;;
7518 if test "$extras" = true
; then
7523 # Check whether --enable-icuio was given.
7524 if test "${enable_icuio+set}" = set; then :
7525 enableval
=$enable_icuio; case "${enableval}" in
7528 *) as_fn_error $?
"bad value ${enableval} for --enable-icuio" "$LINENO" 5 ;;
7535 if test "$icuio" = true
; then
7541 # Enable/disable layout
7542 # Check whether --enable-layout was given.
7543 if test "${enable_layout+set}" = set; then :
7544 enableval
=$enable_layout; case "${enableval}" in
7547 *) as_fn_error $?
"bad value ${enableval} for --enable-layout" "$LINENO" 5 ;;
7554 if test "$layout" = true
; then
7561 # Check whether --with-data-packaging was given.
7562 if test "${with_data_packaging+set}" = set; then :
7563 withval
=$with_data_packaging; case "${withval}" in
7564 files
|archive
|library
) datapackaging
=$withval ;;
7565 auto
) datapackaging
=$withval ;;
7566 common
) datapackaging
=archive
;;
7567 dll
) datapackaging
=library
;;
7568 static
) datapackaging
=static
;;
7569 *) as_fn_error $?
"bad value ${withval} for --with-data-packaging" "$LINENO" 5 ;;
7576 # Note: 'thesysconfdir' is an evaluated version, for Man pages, so also for thedatadir, thelibdir, etc..
7577 # thesysconfdir=`eval echo $sysconfdir`
7578 thedatadir
=`eval echo $datadir`
7579 # 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}.
7580 pkgicudatadir
=$datadir
7581 thepkgicudatadir
=$thedatadir
7586 if test x
"$datapackaging" = x
-o x
"$datapackaging" = xauto
; then
7587 # default to library
7588 datapackaging
=library
7589 if test "$ENABLE_STATIC" = "YES"; then
7590 if test "$ENABLE_SHARED" != "YES"; then
7591 datapackaging
=static
7596 datapackaging_dir
=`eval echo $thedatadir`"/icu/${VERSION}"
7598 datapackaging_msg
="(No explaination for mode $datapackaging.)"
7600 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."
7601 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."
7602 datapackaging_howfound
="(unknown)"
7604 case "$datapackaging" in
7606 DATA_PACKAGING_MODE
=files
7607 datapackaging_msg
="ICU data will be stored in individual files."
7608 datapackaging_howfound
="$datapackaging_msg_path"
7611 DATA_PACKAGING_MODE
=common
7612 datapackaging_msg
="ICU data will be stored in a single .dat file."
7613 datapackaging_howfound
="$datapackaging_msg_path"
7616 DATA_PACKAGING_MODE
=dll
7617 datapackaging_msg
="ICU data will be linked with ICU."
7618 if test "$ENABLE_STATIC" = "YES"; then
7619 datapackaging_msg
="$datapackaging_msg A static data library will be built. "
7621 if test "$ENABLE_SHARED" = "YES"; then
7622 datapackaging_msg
="$datapackaging_msg A shared data library will be built. "
7624 datapackaging_howfound
="$datapackaging_msg_set"
7627 DATA_PACKAGING_MODE
=static
7628 datapackaging_msg
="ICU data will be stored in a static library."
7629 datapackaging_howfound
="$datapackaging_msg_set"
7634 # Sets a library suffix
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a library suffix to use" >&5
7636 $as_echo_n "checking for a library suffix to use... " >&6; }
7638 # Check whether --with-library-suffix was given.
7639 if test "${with_library_suffix+set}" = set; then :
7640 withval
=$with_library_suffix; ICULIBSUFFIX
="${withval}"
7646 if test "$msg" = ""; then
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $msg" >&5
7650 $as_echo "$msg" >&6; }
7652 if test "$ICULIBSUFFIX" != ""
7655 ICULIBSUFFIXCNAME
=`echo _$ICULIBSUFFIX | sed 's/^A-Za-z0-9_/_/g'`
7662 # Enable/disable tests
7663 # Check whether --enable-tests was given.
7664 if test "${enable_tests+set}" = set; then :
7665 enableval
=$enable_tests; case "${enableval}" in
7668 *) as_fn_error $?
"bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
7675 if test "$tests" = true
; then
7681 # Enable/disable samples
7682 # Check whether --enable-samples was given.
7683 if test "${enable_samples+set}" = set; then :
7684 enableval
=$enable_samples; case "${enableval}" in
7685 yes) samples
=true
;;
7686 no
) samples
=false
;;
7687 *) as_fn_error $?
"bad value ${enableval} for --enable-samples" "$LINENO" 5 ;;
7694 if test "$samples" = true
; then
7700 ICUDATA_CHAR
=$U_ENDIAN_CHAR
7702 # Platform-specific Makefile setup
7703 # set ICUDATA_CHAR to 'e' for any EBCDIC (which should be big endian) platform.
7705 *-*-solaris*) platform
=U_SOLARIS
;;
7706 *-*-linux*|*-*-gnu|*-*-k*bsd
*-gnu|*-*-kopensolaris*-gnu) platform
=U_LINUX
;;
7707 *-*-*bsd
*|*-*-dragonfly*) platform
=U_BSD
;;
7708 *-*-aix*) platform
=U_AIX
;;
7709 *-*-hpux*) platform
=U_HPUX
;;
7710 *-apple-darwin*|*-apple-rhapsody*) platform
=U_DARWIN
;;
7711 *-*-cygwin*|*-*-mingw*) platform
=U_CYGWIN
;;
7712 *-*ibm
-openedition*|*-*-os390*) platform
=OS390
7713 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
7716 *-*-os400*) platform
=OS400
7717 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
7720 *-*-nto*) platform
=U_QNX
;;
7721 *-dec-osf*) platform
=U_OSF
;;
7722 *-*-beos) platform
=U_BEOS
;;
7723 *-*-irix*) platform
=U_IRIX
;;
7724 *-ncr-*) platform
=U_MPRAS
;;
7725 *) platform
=U_UNKNOWN_PLATFORM
;;
7729 platform_make_fragment_name
="$icu_cv_host_frag"
7730 platform_make_fragment
='$(top_srcdir)/config/'"$platform_make_fragment_name"
7734 if test "${FORCE_LIBS}" != ""; then
7735 echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6
7740 # Now that we're done using CPPFLAGS etc. for tests, we can change it
7743 if test $ICU_USE_THREADS -ne 0
7745 CPPFLAGS
="$CPPFLAGS \$(THREADSCPPFLAGS)"
7746 CFLAGS
="$CFLAGS \$(THREADSCFLAGS)"
7747 CXXFLAGS
="$CXXFLAGS \$(THREADSCXXFLAGS)"
7750 # output the Makefiles
7751 ac_config_files
="$ac_config_files icudefs.mk Makefile data/pkgdataMakefile config/Makefile.inc config/icu.pc config/pkgdataMakefile data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/uconv/pkgdataMakefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gentest/Makefile tools/gennorm2/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icuinfo/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile tools/gencfu/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdataMakefile test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile test/perf/Makefile test/perf/collationperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/DateFmtPerf/Makefile test/perf/strsrchperf/Makefile test/perf/unisetperf/Makefile test/perf/usetperf/Makefile test/perf/ustrperf/Makefile test/perf/utfperf/Makefile test/perf/utrie2perf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile common/unicode/platform.h"
7753 cat >confcache
<<\_ACEOF
7754 # This file is a shell script that caches the results of configure
7755 # tests run on this system so they can be shared between configure
7756 # scripts and configure runs, see configure's option --config-cache.
7757 # It is not useful on other systems. If it contains results you don't
7758 # want to keep, you may remove or edit it.
7760 # config.status only pays attention to the cache file if you give it
7761 # the --recheck option to rerun configure.
7763 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7764 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7769 # The following way of writing the cache mishandles newlines in values,
7770 # but we know of no workaround that is simple, portable, and efficient.
7771 # So, we kill variables containing newlines.
7772 # Ultrix sh set writes to stderr and can't be redirected directly,
7773 # and sets the high bit in the cache file unless we assign to the vars.
7775 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7776 eval ac_val
=\$
$ac_var
7780 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7784 _
| IFS
| as_nl
) ;; #(
7785 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
7786 *) { eval $ac_var=; unset $ac_var;} ;;
7792 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7793 *${as_nl}ac_space
=\
*)
7794 # `set' does not quote correctly, so add quotes: double-quote
7795 # substitution turns \\\\ into \\, and sed turns \\ into \.
7798 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7801 # `set' quotes correctly as required by POSIX, so do not add quotes.
7802 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7813 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7815 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7816 if test -w "$cache_file"; then
7817 test "x$cache_file" != "x/dev/null" &&
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7819 $as_echo "$as_me: updating cache $cache_file" >&6;}
7820 cat confcache
>$cache_file
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7823 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7828 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7829 # Let make expand exec_prefix.
7830 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7832 DEFS
=-DHAVE_CONFIG_H
7837 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7838 # 1. Remove the extension, and $U if already installed.
7839 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7840 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7841 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7842 # will be set to the directory where LIBOBJS objects are built.
7843 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7844 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7848 LTLIBOBJS
=$ac_ltlibobjs
7853 : ${CONFIG_STATUS=./config.status}
7855 ac_clean_files_save
=$ac_clean_files
7856 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7858 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7860 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7862 # Generated by $as_me.
7863 # Run this file to recreate the current configuration.
7864 # Compiler output produced by configure, useful for debugging
7865 # configure, is in config.log if it exists.
7871 SHELL=\${CONFIG_SHELL-$SHELL}
7874 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
7875 ## -------------------- ##
7876 ## M4sh Initialization. ##
7877 ## -------------------- ##
7879 # Be more Bourne compatible
7880 DUALCASE
=1; export DUALCASE
# for MKS sh
7881 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7884 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7885 # is contrary to our usage. Disable this feature.
7886 alias -g '${1+"$@"}'='"$@"'
7887 setopt NO_GLOB_SUBST
7889 case `(set -o) 2>/dev/null` in #(
7901 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7902 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7904 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7905 # Prefer a ksh shell builtin over an external printf program on Solaris,
7906 # but without wasting forks for bash or zsh.
7907 if test -z "$BASH_VERSION$ZSH_VERSION" \
7908 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7909 as_echo='print
-r --'
7910 as_echo_n='print
-rn --'
7911 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7912 as_echo='printf %s
\n'
7913 as_echo_n='printf %s
'
7915 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7916 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7917 as_echo_n='/usr
/ucb
/echo -n'
7919 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7920 as_echo_n_body='eval
7924 expr "X$arg" : "X\\(.*\\)$as_nl";
7925 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7927 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7929 export as_echo_n_body
7930 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7933 as_echo='sh
-c $as_echo_body as_echo
'
7936 # The user is always right.
7937 if test "${PATH_SEPARATOR+set}" != set; then
7939 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7940 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7947 # We need space, tab and new line, in precisely that order. Quoting is
7948 # there to prevent editors from complaining about space-tab.
7949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7950 # splitting by setting IFS to empty value.)
7953 # Find who we are. Look in the path if we contain no directory separator.
7955 *[\\/]* ) as_myself=$0 ;;
7956 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7967 # We did not find ourselves, most probably we were run as `sh COMMAND'
7968 # in which case we are not to be found in the path.
7969 if test "x$as_myself" = x
; then
7972 if test ! -f "$as_myself"; then
7973 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7977 # Unset variables that we do not need and which cause bugs (e.g. in
7978 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7979 # suppresses any "Segmentation fault" message there. '((' could
7980 # trigger a bug in pdksh 5.2.14.
7981 for as_var
in BASH_ENV ENV MAIL MAILPATH
7982 do eval test x\
${$as_var+set} = xset \
7983 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
7996 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7999 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8000 # ----------------------------------------
8001 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8003 # script with STATUS, using 1 if that was 0.
8006 as_status
=$1; test $as_status -eq 0 && as_status
=1
8008 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8009 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8011 $as_echo "$as_me: error: $2" >&2
8012 as_fn_exit
$as_status
8016 # as_fn_set_status STATUS
8017 # -----------------------
8018 # Set $? to STATUS, without forking.
8022 } # as_fn_set_status
8026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8036 # Portably unset VAR.
8039 { eval $1=; unset $1;}
8041 as_unset
=as_fn_unset
8042 # as_fn_append VAR VALUE
8043 # ----------------------
8044 # Append the text in VALUE to the end of the definition contained in VAR. Take
8045 # advantage of any shell optimizations that allow amortized linear growth over
8046 # repeated appends, instead of the typical quadratic growth present in naive
8048 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8049 eval 'as_fn_append ()
8060 # as_fn_arith ARG...
8061 # ------------------
8062 # Perform arithmetic evaluation on the ARGs, and store the result in the
8063 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8064 # must be portable across $(()) and expr.
8065 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8066 eval 'as_fn_arith ()
8073 as_val
=`expr "$@" || test $? -eq 1`
8078 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8079 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8085 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8086 as_basename
=basename
8091 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8097 as_me
=`$as_basename -- "$0" ||
8098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8099 X"$0" : 'X\(//\)$' \| \
8100 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8102 sed '/^.*\/\([^/][^/]*\)\/*$/{
8116 # Avoid depending upon Character Ranges.
8117 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8118 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8119 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8120 as_cr_digits
='0123456789'
8121 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8123 ECHO_C
= ECHO_N
= ECHO_T
=
8124 case `echo -n x` in #(((((
8126 case `echo 'xy\c'` in
8127 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8129 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8136 rm -f conf$$ conf$$.exe conf$$.
file
8137 if test -d conf$$.dir
; then
8138 rm -f conf$$.dir
/conf$$.
file
8141 mkdir conf$$.dir
2>/dev
/null
8143 if (echo >conf$$.
file) 2>/dev
/null
; then
8144 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8146 # ... but there are two gotchas:
8147 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8148 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8149 # In both cases, we have to default to `cp -p'.
8150 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
8152 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8160 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8161 rmdir conf$$.dir
2>/dev
/null
8166 # Create "$as_dir" as a directory, including parents if necessary.
8171 -*) as_dir
=.
/$as_dir;;
8173 test -d "$as_dir" || eval $as_mkdir_p || {
8177 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8178 *) as_qdir
=$as_dir;;
8180 as_dirs
="'$as_qdir' $as_dirs"
8181 as_dir
=`$as_dirname -- "$as_dir" ||
8182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8183 X"$as_dir" : 'X\(//\)[^/]' \| \
8184 X"$as_dir" : 'X\(//\)$' \| \
8185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8186 $as_echo X"$as_dir" |
8187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8204 test -d "$as_dir" && break
8206 test -z "$as_dirs" || eval "mkdir $as_dirs"
8207 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
8211 if mkdir -p .
2>/dev
/null
; then
8212 as_mkdir_p
='mkdir -p "$as_dir"'
8214 test -d .
/-p && rmdir .
/-p
8218 if test -x / >/dev
/null
2>&1; then
8221 if ls -dL / >/dev
/null
2>&1; then
8228 if test -d "$1"; then
8234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8235 ???[sx]*):;;*)false;;esac;fi
8239 as_executable_p
=$as_test_x
8241 # Sed expression to map a string onto a valid CPP name.
8242 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8244 # Sed expression to map a string onto a valid variable name.
8245 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8249 ## ----------------------------------- ##
8250 ## Main body of $CONFIG_STATUS script. ##
8251 ## ----------------------------------- ##
8253 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8255 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8256 # Save the log message, to keep $0 and so on meaningful, and to
8257 # report actual input values of CONFIG_FILES etc. instead of their
8258 # values after options handling.
8260 This file was extended by $as_me, which was
8261 generated by GNU Autoconf 2.67. Invocation command line was
8263 CONFIG_FILES = $CONFIG_FILES
8264 CONFIG_HEADERS = $CONFIG_HEADERS
8265 CONFIG_LINKS = $CONFIG_LINKS
8266 CONFIG_COMMANDS = $CONFIG_COMMANDS
8269 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8274 case $ac_config_files in *"
8275 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8278 case $ac_config_headers in *"
8279 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
8283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8284 # Files that config.status was made for.
8285 config_files="$ac_config_files"
8286 config_headers="$ac_config_headers"
8290 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8292 \`$as_me' instantiates files and other configuration actions
8293 from templates according to the current configuration. Unless the files
8294 and actions are specified as TAGs, all are instantiated by default.
8296 Usage: $0 [OPTION]... [TAG]...
8298 -h, --help print this help, then exit
8299 -V, --version print version number and configuration settings, then exit
8300 --config print configuration, then exit
8301 -q, --quiet, --silent
8302 do not print progress messages
8303 -d, --debug don't remove temporary files
8304 --recheck update $as_me by reconfiguring in the same conditions
8305 --file=FILE[:TEMPLATE]
8306 instantiate the configuration file FILE
8307 --header=FILE[:TEMPLATE]
8308 instantiate the configuration header FILE
8310 Configuration files:
8313 Configuration headers:
8316 Report bugs to the package provider."
8319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8320 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8323 configured by $0, generated by GNU Autoconf 2.67,
8324 with options \\"\$ac_cs_config\\"
8326 Copyright (C) 2010 Free Software Foundation, Inc.
8327 This config.status script is free software; the Free Software Foundation
8328 gives unlimited permission to copy, distribute and modify it."
8333 test -n "\$AWK" || AWK=awk
8336 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8337 # The default lists apply if the user does not specify any file.
8343 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8344 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8348 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8360 # Handling of the options.
8361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8363 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8364 $as_echo "$ac_cs_version"; exit ;;
8365 --config | --confi | --conf | --con | --co | --c )
8366 $as_echo "$ac_cs_config"; exit ;;
8367 --debug | --debu | --deb | --de | --d | -d )
8369 --file | --fil | --fi | --f )
8372 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8373 '') as_fn_error $?
"missing file argument" ;;
8375 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8376 ac_need_defaults
=false
;;
8377 --header | --heade | --head | --hea )
8380 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8382 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
8383 ac_need_defaults
=false
;;
8385 # Conflict between --help and --header
8386 as_fn_error $?
"ambiguous option: \`$1'
8387 Try \`$0 --help' for more information.";;
8388 --help | --hel | -h )
8389 $as_echo "$ac_cs_usage"; exit ;;
8390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8391 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8395 -*) as_fn_error $?
"unrecognized option: \`$1'
8396 Try \`$0 --help' for more information." ;;
8398 *) as_fn_append ac_config_targets
" $1"
8399 ac_need_defaults
=false
;;
8405 ac_configure_extra_args
=
8407 if $ac_cs_silent; then
8409 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8414 if \$ac_cs_recheck; then
8415 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8417 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8418 CONFIG_SHELL='$SHELL'
8424 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8428 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8429 ## Running $as_me. ##
8435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8438 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8440 # Handling of arguments.
8441 for ac_config_target
in $ac_config_targets
8443 case $ac_config_target in
8444 "common/icucfg.h") CONFIG_HEADERS
="$CONFIG_HEADERS common/icucfg.h" ;;
8445 "icudefs.mk") CONFIG_FILES
="$CONFIG_FILES icudefs.mk" ;;
8446 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8447 "data/pkgdataMakefile") CONFIG_FILES
="$CONFIG_FILES data/pkgdataMakefile" ;;
8448 "config/Makefile.inc") CONFIG_FILES
="$CONFIG_FILES config/Makefile.inc" ;;
8449 "config/icu.pc") CONFIG_FILES
="$CONFIG_FILES config/icu.pc" ;;
8450 "config/pkgdataMakefile") CONFIG_FILES
="$CONFIG_FILES config/pkgdataMakefile" ;;
8451 "data/Makefile") CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
8452 "stubdata/Makefile") CONFIG_FILES
="$CONFIG_FILES stubdata/Makefile" ;;
8453 "common/Makefile") CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
8454 "i18n/Makefile") CONFIG_FILES
="$CONFIG_FILES i18n/Makefile" ;;
8455 "layout/Makefile") CONFIG_FILES
="$CONFIG_FILES layout/Makefile" ;;
8456 "layoutex/Makefile") CONFIG_FILES
="$CONFIG_FILES layoutex/Makefile" ;;
8457 "io/Makefile") CONFIG_FILES
="$CONFIG_FILES io/Makefile" ;;
8458 "extra/Makefile") CONFIG_FILES
="$CONFIG_FILES extra/Makefile" ;;
8459 "extra/uconv/Makefile") CONFIG_FILES
="$CONFIG_FILES extra/uconv/Makefile" ;;
8460 "extra/uconv/pkgdataMakefile") CONFIG_FILES
="$CONFIG_FILES extra/uconv/pkgdataMakefile" ;;
8461 "extra/scrptrun/Makefile") CONFIG_FILES
="$CONFIG_FILES extra/scrptrun/Makefile" ;;
8462 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
8463 "tools/ctestfw/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/ctestfw/Makefile" ;;
8464 "tools/toolutil/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/toolutil/Makefile" ;;
8465 "tools/makeconv/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/makeconv/Makefile" ;;
8466 "tools/genrb/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/genrb/Makefile" ;;
8467 "tools/genccode/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/genccode/Makefile" ;;
8468 "tools/gencmn/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gencmn/Makefile" ;;
8469 "tools/gencnval/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gencnval/Makefile" ;;
8470 "tools/genctd/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/genctd/Makefile" ;;
8471 "tools/gentest/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gentest/Makefile" ;;
8472 "tools/gennorm2/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gennorm2/Makefile" ;;
8473 "tools/genbrk/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/genbrk/Makefile" ;;
8474 "tools/gensprep/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gensprep/Makefile" ;;
8475 "tools/icuinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/icuinfo/Makefile" ;;
8476 "tools/icupkg/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/icupkg/Makefile" ;;
8477 "tools/icuswap/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/icuswap/Makefile" ;;
8478 "tools/pkgdata/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/pkgdata/Makefile" ;;
8479 "tools/tzcode/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/tzcode/Makefile" ;;
8480 "tools/gencfu/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/gencfu/Makefile" ;;
8481 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
8482 "test/compat/Makefile") CONFIG_FILES
="$CONFIG_FILES test/compat/Makefile" ;;
8483 "test/testdata/Makefile") CONFIG_FILES
="$CONFIG_FILES test/testdata/Makefile" ;;
8484 "test/testdata/pkgdataMakefile") CONFIG_FILES
="$CONFIG_FILES test/testdata/pkgdataMakefile" ;;
8485 "test/hdrtst/Makefile") CONFIG_FILES
="$CONFIG_FILES test/hdrtst/Makefile" ;;
8486 "test/intltest/Makefile") CONFIG_FILES
="$CONFIG_FILES test/intltest/Makefile" ;;
8487 "test/cintltst/Makefile") CONFIG_FILES
="$CONFIG_FILES test/cintltst/Makefile" ;;
8488 "test/iotest/Makefile") CONFIG_FILES
="$CONFIG_FILES test/iotest/Makefile" ;;
8489 "test/letest/Makefile") CONFIG_FILES
="$CONFIG_FILES test/letest/Makefile" ;;
8490 "test/perf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/Makefile" ;;
8491 "test/perf/collationperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
8492 "test/perf/ubrkperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
8493 "test/perf/charperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/charperf/Makefile" ;;
8494 "test/perf/convperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/convperf/Makefile" ;;
8495 "test/perf/normperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/normperf/Makefile" ;;
8496 "test/perf/DateFmtPerf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/DateFmtPerf/Makefile" ;;
8497 "test/perf/strsrchperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/strsrchperf/Makefile" ;;
8498 "test/perf/unisetperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
8499 "test/perf/usetperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
8500 "test/perf/ustrperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
8501 "test/perf/utfperf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
8502 "test/perf/utrie2perf/Makefile") CONFIG_FILES
="$CONFIG_FILES test/perf/utrie2perf/Makefile" ;;
8503 "samples/Makefile") CONFIG_FILES
="$CONFIG_FILES samples/Makefile" ;;
8504 "samples/date/Makefile") CONFIG_FILES
="$CONFIG_FILES samples/date/Makefile" ;;
8505 "samples/cal/Makefile") CONFIG_FILES
="$CONFIG_FILES samples/cal/Makefile" ;;
8506 "samples/layout/Makefile") CONFIG_FILES
="$CONFIG_FILES samples/layout/Makefile" ;;
8507 "common/unicode/platform.h") CONFIG_FILES
="$CONFIG_FILES common/unicode/platform.h" ;;
8509 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8514 # If the user did not use the arguments to specify the items to instantiate,
8515 # then the envvar interface is used. Set only those that are not.
8516 # We use the long form for the default assignment because of an extremely
8517 # bizarre bug on SunOS 4.1.3.
8518 if $ac_need_defaults; then
8519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8523 # Have a temporary directory for convenience. Make it in the build tree
8524 # simply because there is no reason against having it here, and in addition,
8525 # creating and moving files from /tmp can sometimes cause problems.
8526 # Hook for its removal unless debugging.
8527 # Note that there is a small window in which the directory will not be cleaned:
8528 # after its creation but before its name has been assigned to `$tmp'.
8532 trap 'exit_status=$?
8533 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8535 trap 'as_fn_exit 1' 1 2 13 15
8537 # Create a (secure) tmp directory for tmp files.
8540 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8541 test -n "$tmp" && test -d "$tmp"
8544 tmp
=.
/conf$$
-$RANDOM
8545 (umask 077 && mkdir "$tmp")
8546 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8548 # Set up the scripts for CONFIG_FILES section.
8549 # No need to generate them if there are no CONFIG_FILES.
8550 # This happens for instance with `./config.status config.h'.
8551 if test -n "$CONFIG_FILES"; then
8554 ac_cr
=`echo X | tr X '\015'`
8555 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8556 # But we know of no other shell where ac_cr would be empty at this
8557 # point, so we can use a bashism as a fallback.
8558 if test "x$ac_cr" = x
; then
8559 eval ac_cr
=\$
\'\\r
\'
8561 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8562 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8568 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8573 echo "cat >conf$$subs.awk <<_ACEOF" &&
8574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8577 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8578 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8580 for ac_last_try in false false false false false :; do
8581 . ./conf$$subs.sh ||
8582 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8584 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8585 if test $ac_delim_n = $ac_delim_num; then
8587 elif $ac_last_try; then
8588 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8590 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8596 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8600 s/^/S["/; s
/!.
*/"]=/
8610 s/\(.\{148\}\)..*/\1/
8612 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8624 s/\(.\{148\}\)..*/\1/
8626 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8630 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8635 ' <conf$$subs.awk | sed '
8640 ' >>$CONFIG_STATUS || ac_write_fail=1
8641 rm -f conf$$subs.awk
8642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8644 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8645 for (key in S) S_is_set[key] = 1
8651 nfields = split(line, field, "@
")
8653 len = length(field[1])
8654 for (i = 2; i < nfields; i++) {
8656 keylen = length(key)
8657 if (S_is_set[key]) {
8659 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8660 len += length(value) + length(field[++i])
8671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8672 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8673 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8676 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8677 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8680 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8681 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8682 # trailing colons and then remove the whole line if VPATH becomes empty
8683 # (actually we leave an empty line to preserve line numbers).
8684 if test "x
$srcdir" = x.; then
8685 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8704 fi # test -n "$CONFIG_FILES"
8706 # Set up the scripts for CONFIG_HEADERS section.
8707 # No need to generate them if there are no CONFIG_HEADERS.
8708 # This happens for instance with `./config.status Makefile'.
8709 if test -n "$CONFIG_HEADERS"; then
8710 cat >"$tmp/defines.
awk" <<\_ACAWK ||
8714 # Transform confdefs.h into an awk script `defines.awk', embedded as
8715 # here-document in config.status, that substitutes the proper values into
8716 # config.h.in to produce config.h.
8718 # Create a delimiter string that does not exist in confdefs.h, to ease
8719 # handling of long lines.
8721 for ac_last_try in false false :; do
8722 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
8723 if test -z "$ac_t"; then
8725 elif $ac_last_try; then
8726 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8728 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8732 # For the awk script, D is an array of macro values keyed by name,
8733 # likewise P contains macro parameters if any. Preserve backslash
8734 # newline sequences.
8736 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8738 s/.\{148\}/&'"$ac_delim"'/g
8741 s/^[ ]*#[ ]*define[ ][ ]*/ /
8748 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8750 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8754 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8755 D["\
1"]=" \
3\\\\\\n
"\\/p
8757 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8762 s/.\{148\}/&'"$ac_delim"'/g
8767 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8770 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8772 ' <confdefs.h | sed '
8773 s/'"$ac_delim"'/"\\\
8774 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8777 for (key in D) D_is_set[key] = 1
8780 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8782 split(line, arg, " ")
8783 if (arg[1] == "#") {
8787 defundef
= substr
(arg
[1], 2)
8790 split(mac1
, mac2
, "(") #)
8792 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8793 if (D_is_set
[macro
]) {
8794 # Preserve the white space surrounding the "#".
8795 print prefix
"define", macro P
[macro
] D
[macro
]
8798 # Replace #undef with comments. This is necessary, for example,
8799 # in the case of _POSIX_SOURCE, which is predefined and required
8800 # on some systems where configure will not decide to define it.
8801 if (defundef
== "undef") {
8802 print
"/*", prefix defundef
, macro
, "*/"
8810 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8811 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8812 fi # test -n "$CONFIG_HEADERS"
8815 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
8820 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8822 case $ac_mode$ac_tag in
8824 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8825 :[FH
]-) ac_tag
=-:-;;
8826 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8843 -) ac_f
="$tmp/stdin";;
8844 *) # Look for the file first in the build tree, then in the source tree
8845 # (if the path is not absolute). The absolute path cannot be DOS-style,
8846 # because $ac_f cannot contain `:'.
8850 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8852 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8854 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8855 as_fn_append ac_file_inputs
" '$ac_f'"
8858 # Let's still pretend it is `configure' which instantiates (i.e., don't
8859 # use $as_me), people would be surprised to read:
8860 # /* config.h. Generated by config.status. */
8861 configure_input
='Generated from '`
8862 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8864 if test x
"$ac_file" != x
-; then
8865 configure_input
="$ac_file. $configure_input"
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8867 $as_echo "$as_me: creating $ac_file" >&6;}
8869 # Neutralize special characters interpreted by sed in replacement strings.
8870 case $configure_input in #(
8871 *\
&* | *\
|* | *\\* )
8872 ac_sed_conf_input
=`$as_echo "$configure_input" |
8873 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8874 *) ac_sed_conf_input
=$configure_input;;
8878 *:-:* | *:-) cat >"$tmp/stdin" \
8879 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8884 ac_dir
=`$as_dirname -- "$ac_file" ||
8885 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8886 X"$ac_file" : 'X\(//\)[^/]' \| \
8887 X"$ac_file" : 'X\(//\)$' \| \
8888 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8889 $as_echo X"$ac_file" |
8890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8907 as_dir
="$ac_dir"; as_fn_mkdir_p
8911 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8913 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8914 # A ".." for each directory in $ac_dir_suffix.
8915 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8916 case $ac_top_builddir_sub in
8917 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8918 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8921 ac_abs_top_builddir
=$ac_pwd
8922 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8923 # for backward compatibility:
8924 ac_top_builddir
=$ac_top_build_prefix
8927 .
) # We are building in place.
8929 ac_top_srcdir
=$ac_top_builddir_sub
8930 ac_abs_top_srcdir
=$ac_pwd ;;
8931 [\\/]* | ?
:[\\/]* ) # Absolute name.
8932 ac_srcdir
=$srcdir$ac_dir_suffix;
8933 ac_top_srcdir
=$srcdir
8934 ac_abs_top_srcdir
=$srcdir ;;
8936 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8937 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8938 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8940 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8950 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8951 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8955 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8956 # If the template does not know about datarootdir, expand it.
8957 # FIXME: This hack should be removed a few years after 2.60.
8958 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8969 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8970 *datarootdir
*) ac_datarootdir_seen
=yes;;
8971 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8973 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8976 ac_datarootdir_hack='
8977 s&@datadir@&$datadir&g
8978 s&@docdir@&$docdir&g
8979 s&@infodir@&$infodir&g
8980 s&@localedir@&$localedir&g
8981 s&@mandir@&$mandir&g
8982 s&\\\${datarootdir}&$datarootdir&g' ;;
8986 # Neutralize VPATH when `$srcdir' = `.'.
8987 # Shell code in configure.ac might set extrasub.
8988 # FIXME: do we really want to maintain this feature?
8989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8990 ac_sed_extra="$ac_vpsub
8993 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
8995 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8996 s
|@configure_input@
|$ac_sed_conf_input|;t t
8997 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8998 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8999 s
&@srcdir@
&$ac_srcdir&;t t
9000 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9001 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9002 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9003 s
&@builddir@
&$ac_builddir&;t t
9004 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9005 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9006 s
&@INSTALL@
&$ac_INSTALL&;t t
9007 $ac_datarootdir_hack
9009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9010 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
9012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9013 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9014 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9016 which seems to be undefined. Please make sure it is defined" >&5
9017 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9018 which seems to be undefined. Please make sure it is defined" >&2;}
9022 -) cat "$tmp/out" && rm -f "$tmp/out";;
9023 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9025 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9031 if test x"$ac_file" != x-; then
9033 $as_echo "/* $configure_input */" \
9034 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
9035 } >"$tmp/config.h" \
9036 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9037 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
9039 $as_echo "$as_me: $ac_file is unchanged" >&6;}
9042 mv "$tmp/config.h" "$ac_file" \
9043 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9046 $as_echo "/* $configure_input */" \
9047 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
9048 || as_fn_error $? "could not create -" "$LINENO" 5
9060 ac_clean_files=$ac_clean_files_save
9062 test $ac_write_fail = 0 ||
9063 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9066 # configure is writing to config.log, and then calls config.status.
9067 # config.status does its own redirection, appending to config.log.
9068 # Unfortunately, on DOS this fails, as config.log is still kept open
9069 # by configure, so config.status won't be able to
write to it
; its
9070 # output is simply discarded. So we exec the FD to /dev/null,
9071 # effectively closing config.log, so it can be properly (re)opened and
9072 # appended to by config.status. When coming back to configure, we
9073 # need to make the FD available again.
9074 if test "$no_create" != yes; then
9076 ac_config_status_args
=
9077 test "$silent" = yes &&
9078 ac_config_status_args
="$ac_config_status_args --quiet"
9080 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9082 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9083 # would make configure fail if this is the last instruction.
9084 $ac_cs_success || as_fn_exit
1
9086 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9088 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9093 echo "ICU for C/C++ $VERSION is ready to be built."
9094 echo "=== Important Notes: ==="
9096 if test $ICU_USE_THREADS = 0; then
9098 echo "** ICU was configured without mutex or thread support. Multithread-safe operation will not be tested. If this is unexpected, then run configure with --enable-threads=yes or check the messages above to see why thread support was not found." 1>&6
9102 echo "Data Packaging: $datapackaging"
9103 echo " This means: $datapackaging_msg"
9104 echo " To locate data: $datapackaging_howfound"
9106 if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
9107 echo "Building ICU: Use a GNU make such as $U_MAKE to build ICU."
9109 echo "** WARNING: $U_MAKE may not be GNU make."
9110 echo "This may cause ICU to fail to build. Please make sure that GNU make"
9111 echo "is in your PATH so that the configure script can detect its location."
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of \"$U_MAKE\"" >&5
9115 $as_echo_n "checking the version of \"$U_MAKE\"... " >&6; }
9116 if "$U_MAKE" -f "$srcdir/config/gmakever.mk" PLATFORM
="$platform"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9118 $as_echo "ok" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old or test failed - try upgrading GNU Make" >&5
9121 $as_echo "too old or test failed - try upgrading GNU Make" >&6; }
9124 $as_unset _CXX_CXXSUFFIX