2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno
||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir -p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="common/unicode/utypes.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION LIB_VERSION LIB_VERSION_MAJOR UNICODE_VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPPFLAGS CC CFLAGS LDFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA U_MAKE DOXYGEN ARFLAGS COMPILE_LINK_ENVVAR LIB_M ENABLE_SHARED ENABLE_STATIC ENABLE_DEBUG ENABLE_RELEASE U_DEFAULT_SHOW_DRAFT U_USE_GCC_VISIBILITY_ATTRIBUTE LIBCFLAGS LIBCXXFLAGS RANLIB ac_ct_RANLIB AR U_DISABLE_RENAMING U_ENABLE_TRACING ENABLE_RPATH U_INLINE THREADS_TRUE ICU_USE_THREADS LIB_THREAD HAVE_MMAP GENCCODE_ASSEMBLY CPP EGREP U_HAVE_INTTYPES_H U_IOSTREAM_SOURCE U_IS_BIG_ENDIAN U_HAVE_NL_LANGINFO_CODESET U_NL_LANGINFO_CODESET U_HAVE_NAMESPACE U_OVERRIDE_CXX_ALLOCATION U_HAVE_PLACEMENT_NEW U_HAVE_POPEN U_HAVE_TZSET U_TZSET U_HAVE_TZNAME U_TZNAME U_HAVE_TIMEZONE U_TIMEZONE HAVE_INT8_T HAVE_UINT8_T HAVE_INT16_T HAVE_UINT16_T HAVE_INT32_T HAVE_UINT32_T HAVE_INT64_T HAVE_UINT64_T U_HAVE_WCHAR_H U_HAVE_WCSCPY U_SIZEOF_WCHAR_T U_CHECK_UTF16_STRING EXTRAS_TRUE ICUIO_TRUE LAYOUT_TRUE pkgicudatadir thepkgicudatadir DATA_PACKAGING_MODE ICULIBSUFFIX U_HAVE_LIB_SUFFIX ICULIBSUFFIXCNAME TESTS_TRUE SAMPLES_TRUE ICUDATA_CHAR platform platform_make_fragment_name platform_make_fragment LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datarootdir
='${prefix}/share'
344 datadir
='${datarootdir}'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev
=build_alias
;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev
=cache_file
;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
391 | --dataroo | --dataro | --datar)
392 ac_prev
=datarootdir
;;
393 -dataroot=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
394 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
395 datarootdir
=$ac_optarg ;;
397 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
399 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
401 datadir
=$ac_optarg ;;
403 -disable-* | --disable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
410 eval "enable_$ac_feature=no" ;;
412 -enable-* | --enable-*)
413 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
414 # Reject names that are not valid shell variable names.
415 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
416 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
417 { (exit 1); exit 1; }; }
418 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
420 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
423 eval "enable_$ac_feature='$ac_optarg'" ;;
425 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
426 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
427 | --exec | --exe | --ex)
428 ac_prev
=exec_prefix
;;
429 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
430 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
431 | --exec=* | --exe=* | --ex=*)
432 exec_prefix
=$ac_optarg ;;
434 -gas | --gas | --ga | --g)
435 # Obsolete; use --with-gas.
438 -help | --help | --hel | --he | -h)
440 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
441 ac_init_help
=recursive
;;
442 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
443 ac_init_help
=short
;;
445 -host | --host | --hos | --ho)
446 ac_prev
=host_alias
;;
447 -host=* | --host=* | --hos=* | --ho=*)
448 host_alias
=$ac_optarg ;;
450 -includedir | --includedir | --includedi | --included | --include \
451 | --includ | --inclu | --incl | --inc)
452 ac_prev
=includedir
;;
453 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
454 | --includ=* | --inclu=* | --incl=* | --inc=*)
455 includedir
=$ac_optarg ;;
457 -infodir | --infodir | --infodi | --infod | --info | --inf)
459 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
460 infodir
=$ac_optarg ;;
462 -libdir | --libdir | --libdi | --libd)
464 -libdir=* | --libdir=* | --libdi=* | --libd=*)
467 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
468 | --libexe | --libex | --libe)
469 ac_prev
=libexecdir
;;
470 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
471 | --libexe=* | --libex=* | --libe=*)
472 libexecdir
=$ac_optarg ;;
474 -localstatedir | --localstatedir | --localstatedi | --localstated \
475 | --localstate | --localstat | --localsta | --localst \
476 | --locals | --local | --loca | --loc | --lo)
477 ac_prev
=localstatedir
;;
478 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
479 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
480 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
481 localstatedir
=$ac_optarg ;;
483 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
485 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
489 # Obsolete; use --without-fp.
492 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
493 | --no-cr | --no-c | -n)
496 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
497 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
500 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
501 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
502 | --oldin | --oldi | --old | --ol | --o)
503 ac_prev
=oldincludedir
;;
504 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
505 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
506 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
507 oldincludedir
=$ac_optarg ;;
509 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
511 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
514 -program-prefix | --program-prefix | --program-prefi | --program-pref \
515 | --program-pre | --program-pr | --program-p)
516 ac_prev
=program_prefix
;;
517 -program-prefix=* | --program-prefix=* | --program-prefi=* \
518 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
519 program_prefix
=$ac_optarg ;;
521 -program-suffix | --program-suffix | --program-suffi | --program-suff \
522 | --program-suf | --program-su | --program-s)
523 ac_prev
=program_suffix
;;
524 -program-suffix=* | --program-suffix=* | --program-suffi=* \
525 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
526 program_suffix
=$ac_optarg ;;
528 -program-transform-name | --program-transform-name \
529 | --program-transform-nam | --program-transform-na \
530 | --program-transform-n | --program-transform- \
531 | --program-transform | --program-transfor \
532 | --program-transfo | --program-transf \
533 | --program-trans | --program-tran \
534 | --progr-tra | --program-tr | --program-t)
535 ac_prev
=program_transform_name
;;
536 -program-transform-name=* | --program-transform-name=* \
537 | --program-transform-nam=* | --program-transform-na=* \
538 | --program-transform-n=* | --program-transform-=* \
539 | --program-transform=* | --program-transfor=* \
540 | --program-transfo=* | --program-transf=* \
541 | --program-trans=* | --program-tran=* \
542 | --progr-tra=* | --program-tr=* | --program-t=*)
543 program_transform_name
=$ac_optarg ;;
545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
546 | -silent | --silent | --silen | --sile | --sil)
549 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
551 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
553 sbindir
=$ac_optarg ;;
555 -sharedstatedir | --sharedstatedir | --sharedstatedi \
556 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
557 | --sharedst | --shareds | --shared | --share | --shar \
559 ac_prev
=sharedstatedir
;;
560 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
561 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
562 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
564 sharedstatedir
=$ac_optarg ;;
566 -site | --site | --sit)
568 -site=* | --site=* | --sit=*)
571 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
573 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
576 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
577 | --syscon | --sysco | --sysc | --sys | --sy)
578 ac_prev
=sysconfdir
;;
579 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
580 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
581 sysconfdir
=$ac_optarg ;;
583 -target | --target | --targe | --targ | --tar | --ta | --t)
584 ac_prev
=target_alias
;;
585 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
586 target_alias
=$ac_optarg ;;
588 -v | -verbose | --verbose | --verbos | --verbo | --verb)
591 -version | --version | --versio | --versi | --vers | -V)
595 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid package name: $ac_package" >&2
599 { (exit 1); exit 1; }; }
600 ac_package
=`echo $ac_package| sed 's/-/_/g'`
602 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
605 eval "with_$ac_package='$ac_optarg'" ;;
607 -without-* | --without-*)
608 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
609 # Reject names that are not valid shell variable names.
610 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
611 { echo "$as_me: error: invalid package name: $ac_package" >&2
612 { (exit 1); exit 1; }; }
613 ac_package
=`echo $ac_package | sed 's/-/_/g'`
614 eval "with_$ac_package=no" ;;
617 # Obsolete; use --with-x.
620 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
621 | --x-incl | --x-inc | --x-in | --x-i)
622 ac_prev
=x_includes
;;
623 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
624 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
625 x_includes
=$ac_optarg ;;
627 -x-libraries | --x-libraries | --x-librarie | --x-librari \
628 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
629 ac_prev
=x_libraries
;;
630 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
631 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
632 x_libraries
=$ac_optarg ;;
634 -*) { echo "$as_me: error: unrecognized option: $ac_option
635 Try \`$0 --help' for more information." >&2
636 { (exit 1); exit 1; }; }
640 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
641 # Reject names that are not valid shell variable names.
642 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
643 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
644 { (exit 1); exit 1; }; }
645 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
646 eval "$ac_envvar='$ac_optarg'"
650 # FIXME: should be removed in autoconf 3.0.
651 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
652 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
653 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
654 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
660 if test -n "$ac_prev"; then
661 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
662 { echo "$as_me: error: missing argument to $ac_option" >&2
663 { (exit 1); exit 1; }; }
666 # Be sure to have absolute paths.
667 for ac_var
in exec_prefix prefix
669 eval ac_val
=$
`echo $ac_var`
671 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
672 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
673 { (exit 1); exit 1; }; };;
677 # Be sure to have absolute paths.
678 for ac_var
in bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir \
679 localstatedir libdir includedir oldincludedir infodir mandir
681 eval ac_val
=$
`echo $ac_var`
683 [\\/$
]* | ?
:[\\/]* ) ;;
684 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
685 { (exit 1); exit 1; }; };;
689 # There might be people who depend on the old broken behavior: `$host'
690 # used to hold the argument of --host etc.
691 # FIXME: To remove some day.
696 # FIXME: To remove some day.
697 if test "x$host_alias" != x
; then
698 if test "x$build_alias" = x
; then
699 cross_compiling
=maybe
700 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
701 If a cross compiler is detected then cross compile mode will be used." >&2
702 elif test "x$build_alias" != "x$host_alias"; then
708 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
710 test "$silent" = yes && exec 6>/dev
/null
713 # Find the source files, if location was not specified.
714 if test -z "$srcdir"; then
715 ac_srcdir_defaulted
=yes
716 # Try the directory containing this script, then its parent.
717 ac_confdir
=`(dirname "$0") 2>/dev/null ||
718 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
719 X"$0" : 'X\(//\)[^/]' \| \
720 X"$0" : 'X\(//\)$' \| \
721 X"$0" : 'X\(/\)' \| \
722 . : '\(.\)' 2>/dev/null ||
724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
725 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
726 /^X\(\/\/\)$/{ s//\1/; q; }
727 /^X\(\/\).*/{ s//\1/; q; }
730 if test ! -r $srcdir/$ac_unique_file; then
734 ac_srcdir_defaulted
=no
736 if test ! -r $srcdir/$ac_unique_file; then
737 if test "$ac_srcdir_defaulted" = yes; then
738 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
739 { (exit 1); exit 1; }; }
741 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
742 { (exit 1); exit 1; }; }
745 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
746 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
747 { (exit 1); exit 1; }; }
748 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
749 ac_env_build_alias_set
=${build_alias+set}
750 ac_env_build_alias_value
=$build_alias
751 ac_cv_env_build_alias_set
=${build_alias+set}
752 ac_cv_env_build_alias_value
=$build_alias
753 ac_env_host_alias_set
=${host_alias+set}
754 ac_env_host_alias_value
=$host_alias
755 ac_cv_env_host_alias_set
=${host_alias+set}
756 ac_cv_env_host_alias_value
=$host_alias
757 ac_env_target_alias_set
=${target_alias+set}
758 ac_env_target_alias_value
=$target_alias
759 ac_cv_env_target_alias_set
=${target_alias+set}
760 ac_cv_env_target_alias_value
=$target_alias
761 ac_env_CC_set
=${CC+set}
763 ac_cv_env_CC_set
=${CC+set}
764 ac_cv_env_CC_value
=$CC
765 ac_env_CFLAGS_set
=${CFLAGS+set}
766 ac_env_CFLAGS_value
=$CFLAGS
767 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
768 ac_cv_env_CFLAGS_value
=$CFLAGS
769 ac_env_LDFLAGS_set
=${LDFLAGS+set}
770 ac_env_LDFLAGS_value
=$LDFLAGS
771 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
772 ac_cv_env_LDFLAGS_value
=$LDFLAGS
773 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
774 ac_env_CPPFLAGS_value
=$CPPFLAGS
775 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
776 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CPP_set
=${CPP+set}
786 ac_env_CPP_value
=$CPP
787 ac_cv_env_CPP_set
=${CPP+set}
788 ac_cv_env_CPP_value
=$CPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures this package to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datarootdir=DIR root of the directory tree for read-only architecture-independent data [PREFIX/share]
838 --datadir=DIR read-only architecture-independent data [PREFIX/share]
839 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
840 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
841 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
842 --libdir=DIR object code libraries [EPREFIX/lib]
843 --includedir=DIR C header files [PREFIX/include]
844 --oldincludedir=DIR C header files for non-gcc [/usr/include]
845 --infodir=DIR info documentation [PREFIX/info]
846 --mandir=DIR man documentation [PREFIX/man]
852 --build=BUILD configure
for building on BUILD
[guessed
]
853 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 if test -n "$ac_init_help"; then
862 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
863 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
864 --enable-strict compile with strict compiler options default
=no
865 --enable-64bit-libs build
64-bit libraries default
=yes
866 --enable-shared build shared libraries default
=yes
867 --enable-static build static libraries default
=no
868 --enable-debug build debug libraries default
=no
869 --enable-release build release libraries default
=yes
870 --enable-draft enable draft APIs default
=yes
871 --enable-renaming add a version suffix to symbols default
=yes
872 --enable-tracing enable function and data tracing default
=no
873 --enable-rpath use rpath when linking default is only
if necessary
874 --enable-threads build ICU with thread safety default
=yes
875 --enable-weak-threads weakly reference the threading library default
=no
876 --enable-extras build ICU extras default
=yes
877 --enable-icuio build ICU
's icuio library default=yes
878 --enable-layout build ICU's layout library default
=yes
879 --enable-tests build ICU tests default
=yes
880 --enable-samples build ICU samples default
=yes
882 Additionally
, the variable FORCE_LIBS may be
set before calling configure.
883 If
set, it will REPLACE any automatic list of libraries.
886 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
887 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
888 --with-iostream=version specify the version of iostream to use
(none
, old
, std
, auto
) default
=auto
889 --with-data-packaging=type specify how to package ICU data
(files
, archive
, library
, auto
) default
=auto
890 --with-library-suffix=suffix tag a suffix to the library names default
=
892 Some influential environment variables
:
893 CC C compiler
command
894 CFLAGS C compiler flags
895 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
896 nonstandard directory
<lib dir
>
897 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
898 headers
in a nonstandard directory
<include dir
>
899 CXX C
++ compiler
command
900 CXXFLAGS C
++ compiler flags
903 Use these variables to override the choices made by
`configure' or to help
904 it to find libraries and programs with nonstandard names/locations.
909 if test "$ac_init_help" = "recursive"; then
910 # If there are subdirs, report their specific --help.
912 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
913 test -d $ac_dir || continue
916 if test "$ac_dir" != .; then
917 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
918 # A "../" for each directory in $ac_dir_suffix.
919 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
921 ac_dir_suffix= ac_top_builddir=
925 .) # No --srcdir option. We are building in place.
927 if test -z "$ac_top_builddir"; then
930 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
932 [\\/]* | ?:[\\/]* ) # Absolute path.
933 ac_srcdir=$srcdir$ac_dir_suffix;
934 ac_top_srcdir=$srcdir ;;
936 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
937 ac_top_srcdir=$ac_top_builddir$srcdir ;;
940 # Do not use `cd foo
&& pwd` to compute absolute paths, because
941 # the directories may not exist.
943 .) ac_abs_builddir="$ac_dir";;
946 .) ac_abs_builddir=`pwd`;;
947 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
948 *) ac_abs_builddir=`pwd`/"$ac_dir";;
951 case $ac_abs_builddir in
952 .) ac_abs_top_builddir=${ac_top_builddir}.;;
954 case ${ac_top_builddir}. in
955 .) ac_abs_top_builddir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
957 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
960 case $ac_abs_builddir in
961 .) ac_abs_srcdir=$ac_srcdir;;
964 .) ac_abs_srcdir=$ac_abs_builddir;;
965 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
966 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
969 case $ac_abs_builddir in
970 .) ac_abs_top_srcdir=$ac_top_srcdir;;
972 case $ac_top_srcdir in
973 .) ac_abs_top_srcdir=$ac_abs_builddir;;
974 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
975 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
980 # Check for guested configure; otherwise get Cygnus style configure.
981 if test -f $ac_srcdir/configure.gnu; then
983 $SHELL $ac_srcdir/configure.gnu --help=recursive
984 elif test -f $ac_srcdir/configure; then
986 $SHELL $ac_srcdir/configure --help=recursive
987 elif test -f $ac_srcdir/configure.ac ||
988 test -f $ac_srcdir/configure.in; then
992 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
998 test -n "$ac_init_help" && exit 0
999 if $ac_init_version; then
1002 Copyright (C) 2003 Free Software Foundation, Inc.
1003 This configure script is free software; the Free Software Foundation
1004 gives unlimited permission to copy, distribute and modify it.
1010 This file contains any messages produced by compilers while
1011 running configure, to aid debugging if configure makes a mistake.
1013 It was created by $as_me, which was
1014 generated by GNU Autoconf 2.59. Invocation command line was
1025 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1026 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1027 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1028 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1029 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1031 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1032 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1034 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1035 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1036 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1037 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1038 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1039 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1040 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1048 test -z "$as_dir" && as_dir=.
1049 echo "PATH: $as_dir"
1064 # Keep a trace of the command line.
1065 # Strip out --no-create and --no-recursion so they do not pile up.
1066 # Strip out --silent because we don't want to record it for future runs.
1067 # Also quote any args containing shell meta-characters.
1068 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_must_keep_next=false
1079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil)
1083 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1084 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1090 if test $ac_must_keep_next = true; then
1091 ac_must_keep_next=false # Got value, back to normal.
1094 *=* | --config-cache | -C | -disable-* | --disable-* \
1095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1097 | -with-* | --with-* | -without-* | --without-* | --x)
1098 case "$ac_configure_args0 " in
1099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1102 -* ) ac_must_keep_next=true ;;
1105 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1106 # Get rid of the leading space.
1112 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1113 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1115 # When interrupted or exit'd, cleanup temporary files, and complete
1116 # config.log. We remove comments because anyway the quotes in there
1117 # would cause problems or look ugly.
1118 # WARNING: Be sure not to use single quotes in there, as some shells,
1119 # such as our DU 5.0 friend, will then `close
' the trap.
1120 trap 'exit_status
=$?
1121 # Save into config.log some information that might help in debugging.
1126 ## ---------------- ##
1127 ## Cache variables. ##
1128 ## ---------------- ##
1131 # The following way of writing the cache mishandles newlines in values,
1134 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1137 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1149 ## ----------------- ##
1150 ## Output variables. ##
1151 ## ----------------- ##
1154 for ac_var
in $ac_subst_vars
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -n "$ac_subst_files"; then
1168 for ac_var
in $ac_subst_files
1170 eval ac_val
=$
`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1176 if test -s confdefs.h
; then
1183 sed "/^$/d" confdefs.h
| sort
1186 test "$ac_signal" != 0 &&
1187 echo "$as_me: caught signal $ac_signal"
1188 echo "$as_me: exit $exit_status"
1190 rm -f core
*.core
&&
1191 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1194 for ac_signal in 1 2 13 15; do
1195 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1200 rm -rf conftest* confdefs.h
1201 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1204 # Predefined preprocessor variables.
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_NAME "$PACKAGE_NAME"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_STRING "$PACKAGE_STRING"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1231 # Let the site file select an alternate cache file if it wants to.
1232 # Prefer explicitly selected file to automatically selected ones.
1233 if test -z "$CONFIG_SITE"; then
1234 if test "x$prefix" != xNONE; then
1235 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1237 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1240 for ac_site_file in $CONFIG_SITE; do
1241 if test -r "$ac_site_file"; then
1242 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1243 echo "$as_me: loading site script $ac_site_file" >&6;}
1244 sed 's
/^
/| /' "$ac_site_file" >&5
1249 if test -r "$cache_file"; then
1250 # Some versions of bash will fail to source /dev/null (special
1251 # files actually), so we avoid doing that.
1252 if test -f "$cache_file"; then
1253 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1254 echo "$as_me: loading cache $cache_file" >&6;}
1256 [\\/]* | ?:[\\/]* ) . $cache_file;;
1257 *) . ./$cache_file;;
1261 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1262 echo "$as_me: creating cache $cache_file" >&6;}
1266 # Check that the precious variables saved in the cache have kept the same
1268 ac_cache_corrupted=false
1269 for ac_var in `(set) 2>&1 |
1270 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1272 eval ac_new_set=\$ac_env_${ac_var}_set
1273 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1274 eval ac_new_val="\$ac_env_${ac_var}_value"
1275 case $ac_old_set,$ac_new_set in
1277 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1279 ac_cache_corrupted=: ;;
1281 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1283 ac_cache_corrupted=: ;;
1286 if test "x$ac_old_val" != "x$ac_new_val"; then
1287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1288 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1289 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1290 echo "$as_me: former value: $ac_old_val" >&2;}
1291 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1292 echo "$as_me: current value: $ac_new_val" >&2;}
1293 ac_cache_corrupted=:
1296 # Pass precious variables to config.status.
1297 if test "$ac_new_set" = set; then
1299 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1300 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1301 *) ac_arg=$ac_var=$ac_new_val ;;
1303 case " $ac_configure_args " in
1304 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1305 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1309 if $ac_cache_corrupted; then
1310 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1311 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1312 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1313 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1314 { (exit 1); exit 1; }; }
1318 ac_cpp='$CPP $CPPFLAGS'
1319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1320 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1342 ac_config_headers="$ac_config_headers common/icucfg.h"
1347 echo "$as_me:$LINENO: checking for ICU version numbers" >&5
1348 echo $ECHO_N "checking for ICU version numbers... $ECHO_C" >&6
1351 sed -n 's
/^
[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
1353 VERSION
=`geticuversion $srcdir/common/unicode/uversion.h`
1354 if test x
"$VERSION" = x
; then
1355 VERSION
=`geticuversion $srcdir/common/unicode/*.h`
1356 if test x
"$VERSION" = x
; then
1357 { { echo "$as_me:$LINENO: error: Cannot determine ICU version number from header files" >&5
1358 echo "$as_me: error: Cannot determine ICU version number from header files" >&2;}
1359 { (exit 1); exit 1; }; }
1362 LIB_VERSION
=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
1363 LIB_VERSION_MAJOR
=`echo $LIB_VERSION | sed 's/\..*//'`
1367 echo "$as_me:$LINENO: result: release $VERSION, library $LIB_VERSION" >&5
1368 echo "${ECHO_T}release $VERSION, library $LIB_VERSION" >&6
1370 UNICODE_VERSION
="5.1"
1374 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1375 if test -f $ac_dir/install-sh; then
1377 ac_install_sh
="$ac_aux_dir/install-sh -c"
1379 elif test -f $ac_dir/install.sh
; then
1381 ac_install_sh
="$ac_aux_dir/install.sh -c"
1383 elif test -f $ac_dir/shtool
; then
1385 ac_install_sh
="$ac_aux_dir/shtool install -c"
1389 if test -z "$ac_aux_dir"; then
1390 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1391 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1392 { (exit 1); exit 1; }; }
1394 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1395 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1396 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1398 # Make sure we can run config.sub.
1399 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1400 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1401 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1402 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: checking build system type" >&5
1405 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1406 if test "${ac_cv_build+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 ac_cv_build_alias
=$build_alias
1410 test -z "$ac_cv_build_alias" &&
1411 ac_cv_build_alias
=`$ac_config_guess`
1412 test -z "$ac_cv_build_alias" &&
1413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1415 { (exit 1); exit 1; }; }
1416 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1417 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1418 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1419 { (exit 1); exit 1; }; }
1422 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1423 echo "${ECHO_T}$ac_cv_build" >&6
1425 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1426 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1427 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430 echo "$as_me:$LINENO: checking host system type" >&5
1431 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1432 if test "${ac_cv_host+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 ac_cv_host_alias
=$host_alias
1436 test -z "$ac_cv_host_alias" &&
1437 ac_cv_host_alias
=$ac_cv_build_alias
1438 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1439 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1440 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1441 { (exit 1); exit 1; }; }
1444 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1445 echo "${ECHO_T}$ac_cv_host" >&6
1447 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1448 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1449 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1456 export _CXX_CXXSUFFIX
1458 ac_cpp
='$CPP $CPPFLAGS'
1459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1462 if test -n "$ac_tool_prefix"; then
1463 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1464 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1465 echo "$as_me:$LINENO: checking for $ac_word" >&5
1466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1467 if test "${ac_cv_prog_CC+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 if test -n "$CC"; then
1471 ac_cv_prog_CC
="$CC" # Let the user override the test.
1473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1477 test -z "$as_dir" && as_dir
=.
1478 for ac_exec_ext
in '' $ac_executable_extensions; do
1479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1480 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1490 if test -n "$CC"; then
1491 echo "$as_me:$LINENO: result: $CC" >&5
1492 echo "${ECHO_T}$CC" >&6
1494 echo "$as_me:$LINENO: result: no" >&5
1495 echo "${ECHO_T}no" >&6
1499 if test -z "$ac_cv_prog_CC"; then
1501 # Extract the first word of "gcc", so it can be a program name with args.
1502 set dummy gcc
; ac_word
=$2
1503 echo "$as_me:$LINENO: checking for $ac_word" >&5
1504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1505 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 if test -n "$ac_ct_CC"; then
1509 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir
=.
1516 for ac_exec_ext
in '' $ac_executable_extensions; do
1517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1518 ac_cv_prog_ac_ct_CC
="gcc"
1519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1528 if test -n "$ac_ct_CC"; then
1529 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1530 echo "${ECHO_T}$ac_ct_CC" >&6
1532 echo "$as_me:$LINENO: result: no" >&5
1533 echo "${ECHO_T}no" >&6
1541 if test -z "$CC"; then
1542 if test -n "$ac_tool_prefix"; then
1543 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1544 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1547 if test "${ac_cv_prog_CC+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 if test -n "$CC"; then
1551 ac_cv_prog_CC
="$CC" # Let the user override the test.
1553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir
=.
1558 for ac_exec_ext
in '' $ac_executable_extensions; do
1559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1560 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1570 if test -n "$CC"; then
1571 echo "$as_me:$LINENO: result: $CC" >&5
1572 echo "${ECHO_T}$CC" >&6
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1579 if test -z "$ac_cv_prog_CC"; then
1581 # Extract the first word of "cc", so it can be a program name with args.
1582 set dummy cc
; ac_word
=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 if test -n "$ac_ct_CC"; then
1589 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1595 test -z "$as_dir" && as_dir
=.
1596 for ac_exec_ext
in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_CC
="cc"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1608 if test -n "$ac_ct_CC"; then
1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1610 echo "${ECHO_T}$ac_ct_CC" >&6
1612 echo "$as_me:$LINENO: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1622 if test -z "$CC"; then
1623 # Extract the first word of "cc", so it can be a program name with args.
1624 set dummy cc
; ac_word
=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_CC+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 if test -n "$CC"; then
1631 ac_cv_prog_CC
="$CC" # Let the user override the test.
1634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1638 test -z "$as_dir" && as_dir
=.
1639 for ac_exec_ext
in '' $ac_executable_extensions; do
1640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1642 ac_prog_rejected
=yes
1646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1652 if test $ac_prog_rejected = yes; then
1653 # We found a bogon in the path, so make sure we never use it.
1654 set dummy
$ac_cv_prog_CC
1656 if test $# != 0; then
1657 # We chose a different compiler from the bogus one.
1658 # However, it has the same basename, so the bogon will be chosen
1659 # first if we set CC to just the basename; use the full file name.
1661 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1667 if test -n "$CC"; then
1668 echo "$as_me:$LINENO: result: $CC" >&5
1669 echo "${ECHO_T}$CC" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1676 if test -z "$CC"; then
1677 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1681 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_CC+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$CC"; then
1688 ac_cv_prog_CC
="$CC" # Let the user override the test.
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1707 if test -n "$CC"; then
1708 echo "$as_me:$LINENO: result: $CC" >&5
1709 echo "${ECHO_T}$CC" >&6
1711 echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6
1715 test -n "$CC" && break
1718 if test -z "$CC"; then
1722 # Extract the first word of "$ac_prog", so it can be a program name with args.
1723 set dummy
$ac_prog; ac_word
=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$ac_ct_CC"; then
1730 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir
=.
1737 for ac_exec_ext
in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_ac_ct_CC
="$ac_prog"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1749 if test -n "$ac_ct_CC"; then
1750 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1751 echo "${ECHO_T}$ac_ct_CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1757 test -n "$ac_ct_CC" && break
1766 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1767 See \`config.log' for more details." >&5
1768 echo "$as_me: error: no acceptable C compiler found in \$PATH
1769 See \`config.log' for more details." >&2;}
1770 { (exit 1); exit 1; }; }
1772 # Provide some information about the compiler.
1773 echo "$as_me:$LINENO:" \
1774 "checking for C compiler version" >&5
1775 ac_compiler
=`set X $ac_compile; echo $2`
1776 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1777 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }
1781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1782 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1785 (exit $ac_status); }
1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1787 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }
1792 cat >conftest.
$ac_ext <<_ACEOF
1795 cat confdefs.h
>>conftest.
$ac_ext
1796 cat >>conftest.
$ac_ext <<_ACEOF
1797 /* end confdefs.h. */
1807 ac_clean_files_save
=$ac_clean_files
1808 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1809 # Try to create an executable without -o first, disregard a.out.
1810 # It will help us diagnose broken compilers, and finding out an intuition
1812 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1813 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1814 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1815 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1816 (eval $ac_link_default) 2>&5
1818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1819 (exit $ac_status); }; then
1820 # Find the output, starting from the most likely. This scheme is
1821 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1824 # Be careful to initialize this variable, since it used to be cached.
1825 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1827 # b.out is created by i960 compilers.
1828 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1830 test -f "$ac_file" || continue
1832 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
1835 # This is the source file.
1838 # We found the default executable, but exeext='' is most
1842 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1843 # FIXME: I believe we export ac_cv_exeext for Libtool,
1844 # but it would be cool to find out if it's true. Does anybody
1845 # maintain Libtool? --akim.
1853 echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1856 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1857 See \`config.log' for more details." >&5
1858 echo "$as_me: error: C compiler cannot create executables
1859 See \`config.log' for more details." >&2;}
1860 { (exit 77); exit 77; }; }
1863 ac_exeext
=$ac_cv_exeext
1864 echo "$as_me:$LINENO: result: $ac_file" >&5
1865 echo "${ECHO_T}$ac_file" >&6
1867 # Check the compiler produces executables we can run. If not, either
1868 # the compiler is broken, or we cross compile.
1869 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1870 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1871 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1872 # If not cross compiling, check that we can run a simple program.
1873 if test "$cross_compiling" != yes; then
1874 if { ac_try
='./$ac_file'
1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; }; then
1882 if test "$cross_compiling" = maybe
; then
1885 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1886 If you meant to cross compile, use \`--host'.
1887 See \`config.log' for more details." >&5
1888 echo "$as_me: error: cannot run C compiled programs.
1889 If you meant to cross compile, use \`--host'.
1890 See \`config.log' for more details." >&2;}
1891 { (exit 1); exit 1; }; }
1895 echo "$as_me:$LINENO: result: yes" >&5
1896 echo "${ECHO_T}yes" >&6
1898 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1899 ac_clean_files
=$ac_clean_files_save
1900 # Check the compiler produces executables we can run. If not, either
1901 # the compiler is broken, or we cross compile.
1902 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1903 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1904 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1905 echo "${ECHO_T}$cross_compiling" >&6
1907 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1908 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1910 (eval $ac_link) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }; then
1914 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1915 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1916 # work properly (i.e., refer to `conftest.exe'), while it won't with
1918 for ac_file
in conftest.exe conftest conftest.
*; do
1919 test -f "$ac_file" || continue
1921 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
1922 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1929 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1930 See \`config.log' for more details." >&5
1931 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1932 See \`config.log' for more details." >&2;}
1933 { (exit 1); exit 1; }; }
1936 rm -f conftest
$ac_cv_exeext
1937 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1938 echo "${ECHO_T}$ac_cv_exeext" >&6
1940 rm -f conftest.
$ac_ext
1941 EXEEXT
=$ac_cv_exeext
1943 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1944 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1945 if test "${ac_cv_objext+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 cat >conftest.
$ac_ext <<_ACEOF
1951 cat confdefs.h
>>conftest.
$ac_ext
1952 cat >>conftest.
$ac_ext <<_ACEOF
1953 /* end confdefs.h. */
1963 rm -f conftest.o conftest.obj
1964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1965 (eval $ac_compile) 2>&5
1967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 (exit $ac_status); }; then
1969 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1971 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
1972 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1977 echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.
$ac_ext >&5
1980 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1981 See \`config.log' for more details." >&5
1982 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1983 See \`config.log' for more details." >&2;}
1984 { (exit 1); exit 1; }; }
1987 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1989 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1990 echo "${ECHO_T}$ac_cv_objext" >&6
1991 OBJEXT
=$ac_cv_objext
1993 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1994 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1995 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 cat >conftest.
$ac_ext <<_ACEOF
2001 cat confdefs.h
>>conftest.
$ac_ext
2002 cat >>conftest.
$ac_ext <<_ACEOF
2003 /* end confdefs.h. */
2016 rm -f conftest.
$ac_objext
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>conftest.er1
2020 grep -v '^ *+' conftest.er1
>conftest.err
2022 cat conftest.err
>&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); } &&
2025 { ac_try
='test -z "$ac_c_werror_flag"
2026 || test ! -s conftest.err'
2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); }; } &&
2032 { ac_try
='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2040 echo "$as_me: failed program was:" >&5
2041 sed 's/^/| /' conftest.
$ac_ext >&5
2045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2046 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2049 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2050 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2051 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2052 ac_test_CFLAGS
=${CFLAGS+set}
2053 ac_save_CFLAGS
=$CFLAGS
2055 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2056 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2057 if test "${ac_cv_prog_cc_g+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 cat >conftest.
$ac_ext <<_ACEOF
2063 cat confdefs.h
>>conftest.
$ac_ext
2064 cat >>conftest.
$ac_ext <<_ACEOF
2065 /* end confdefs.h. */
2075 rm -f conftest.
$ac_objext
2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2077 (eval $ac_compile) 2>conftest.er1
2079 grep -v '^ *+' conftest.er1
>conftest.err
2081 cat conftest.err
>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); } &&
2084 { ac_try
='test -z "$ac_c_werror_flag"
2085 || test ! -s conftest.err'
2086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; } &&
2091 { ac_try
='test -s conftest.$ac_objext'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; }; then
2099 echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.
$ac_ext >&5
2104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2107 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2108 if test "$ac_test_CFLAGS" = set; then
2109 CFLAGS
=$ac_save_CFLAGS
2110 elif test $ac_cv_prog_cc_g = yes; then
2111 if test "$GCC" = yes; then
2117 if test "$GCC" = yes; then
2123 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2124 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2125 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 ac_cv_prog_cc_stdc
=no
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2138 #include <sys/types.h>
2139 #include <sys/stat.h>
2140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2141 struct buf { int x; };
2142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2143 static char *e (p, i)
2149 static char *f (char * (*g) (char **, int), char **p, ...)
2154 s = g (p, va_arg (v,int));
2159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2160 function prototypes and stuff, but not '\xHH' hex character constants.
2161 These don't provoke an error unfortunately, instead are silently treated
2162 as 'x'. The following induces an error, until -std1 is added to get
2163 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2164 array size at least. It's necessary to write '\x00'==0 to get something
2165 that's true only with -std1. */
2166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2168 int test (int i, double x);
2169 struct s1 {int (*f) (int a);};
2170 struct s2 {int (*f) (double a);};
2171 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2177 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2182 # Don't try gcc -ansi; that turns off useful extensions and
2183 # breaks some systems' header files.
2184 # AIX -qlanglvl=ansi
2185 # Ultrix and OSF/1 -std1
2186 # HP-UX 10.20 and later -Ae
2187 # HP-UX older versions -Aa -D_HPUX_SOURCE
2188 # SVR4 -Xc -D__EXTENSIONS__
2189 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2191 CC
="$ac_save_CC $ac_arg"
2192 rm -f conftest.
$ac_objext
2193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2194 (eval $ac_compile) 2>conftest.er1
2196 grep -v '^ *+' conftest.er1
>conftest.err
2198 cat conftest.err
>&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); } &&
2201 { ac_try
='test -z "$ac_c_werror_flag"
2202 || test ! -s conftest.err'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; } &&
2208 { ac_try
='test -s conftest.$ac_objext'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; }; then
2214 ac_cv_prog_cc_stdc
=$ac_arg
2217 echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.
$ac_ext >&5
2221 rm -f conftest.err conftest.
$ac_objext
2223 rm -f conftest.
$ac_ext conftest.
$ac_objext
2228 case "x$ac_cv_prog_cc_stdc" in
2230 echo "$as_me:$LINENO: result: none needed" >&5
2231 echo "${ECHO_T}none needed" >&6 ;;
2233 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2234 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2235 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2238 # Some people use a C++ compiler to compile C. Since we use `exit',
2239 # in C++ we need to declare it. In case someone uses the same compiler
2240 # for both compiling C and C++ we need to have the C++ compiler decide
2241 # the declaration of exit, since it's the most demanding environment.
2242 cat >conftest.
$ac_ext <<_ACEOF
2247 rm -f conftest.
$ac_objext
2248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2249 (eval $ac_compile) 2>conftest.er1
2251 grep -v '^ *+' conftest.er1
>conftest.err
2253 cat conftest.err
>&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } &&
2256 { ac_try
='test -z "$ac_c_werror_flag"
2257 || test ! -s conftest.err'
2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; } &&
2263 { ac_try
='test -s conftest.$ac_objext'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; }; then
2269 for ac_declaration
in \
2271 'extern "C" void std::exit (int) throw (); using std::exit;' \
2272 'extern "C" void std::exit (int); using std::exit;' \
2273 'extern "C" void exit (int) throw ();' \
2274 'extern "C" void exit (int);' \
2277 cat >conftest.
$ac_ext <<_ACEOF
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2293 rm -f conftest.
$ac_objext
2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2295 (eval $ac_compile) 2>conftest.er1
2297 grep -v '^ *+' conftest.er1
>conftest.err
2299 cat conftest.err
>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); } &&
2302 { ac_try
='test -z "$ac_c_werror_flag"
2303 || test ! -s conftest.err'
2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; } &&
2309 { ac_try
='test -s conftest.$ac_objext'
2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; }; then
2317 echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.
$ac_ext >&5
2322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2323 cat >conftest.
$ac_ext <<_ACEOF
2326 cat confdefs.h
>>conftest.
$ac_ext
2327 cat >>conftest.
$ac_ext <<_ACEOF
2328 /* end confdefs.h. */
2338 rm -f conftest.
$ac_objext
2339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340 (eval $ac_compile) 2>conftest.er1
2342 grep -v '^ *+' conftest.er1
>conftest.err
2344 cat conftest.err
>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); } &&
2347 { ac_try
='test -z "$ac_c_werror_flag"
2348 || test ! -s conftest.err'
2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; } &&
2354 { ac_try
='test -s conftest.$ac_objext'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; }; then
2362 echo "$as_me: failed program was:" >&5
2363 sed 's/^/| /' conftest.
$ac_ext >&5
2366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2369 if test -n "$ac_declaration"; then
2370 echo '#ifdef __cplusplus' >>confdefs.h
2371 echo $ac_declaration >>confdefs.h
2372 echo '#endif' >>confdefs.h
2376 echo "$as_me: failed program was:" >&5
2377 sed 's/^/| /' conftest.
$ac_ext >&5
2380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2382 ac_cpp
='$CPP $CPPFLAGS'
2383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2388 ac_cpp
='$CXXCPP $CPPFLAGS'
2389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2392 if test -n "$ac_tool_prefix"; then
2393 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2395 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2396 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2397 echo "$as_me:$LINENO: checking for $ac_word" >&5
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2399 if test "${ac_cv_prog_CXX+set}" = set; then
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
2402 if test -n "$CXX"; then
2403 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir
=.
2410 for ac_exec_ext
in '' $ac_executable_extensions; do
2411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2412 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CXX"; then
2423 echo "$as_me:$LINENO: result: $CXX" >&5
2424 echo "${ECHO_T}$CXX" >&6
2426 echo "$as_me:$LINENO: result: no" >&5
2427 echo "${ECHO_T}no" >&6
2430 test -n "$CXX" && break
2433 if test -z "$CXX"; then
2435 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2437 # Extract the first word of "$ac_prog", so it can be a program name with args.
2438 set dummy
$ac_prog; ac_word
=$2
2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$ac_ct_CXX"; then
2445 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir
=.
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2454 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2464 if test -n "$ac_ct_CXX"; then
2465 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2466 echo "${ECHO_T}$ac_ct_CXX" >&6
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2472 test -n "$ac_ct_CXX" && break
2474 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2480 # Provide some information about the compiler.
2481 echo "$as_me:$LINENO:" \
2482 "checking for C++ compiler version" >&5
2483 ac_compiler
=`set X $ac_compile; echo $2`
2484 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2485 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }
2489 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2490 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }
2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2495 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }
2500 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2501 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2502 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 cat >conftest.
$ac_ext <<_ACEOF
2508 cat confdefs.h
>>conftest.
$ac_ext
2509 cat >>conftest.
$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2523 rm -f conftest.
$ac_objext
2524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2525 (eval $ac_compile) 2>conftest.er1
2527 grep -v '^ *+' conftest.er1
>conftest.err
2529 cat conftest.err
>&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); } &&
2532 { ac_try
='test -z "$ac_cxx_werror_flag"
2533 || test ! -s conftest.err'
2534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }; } &&
2539 { ac_try
='test -s conftest.$ac_objext'
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; }; then
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.
$ac_ext >&5
2552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2553 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2556 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2557 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2558 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2559 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2560 ac_save_CXXFLAGS
=$CXXFLAGS
2562 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2563 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2564 if test "${ac_cv_prog_cxx_g+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 cat >conftest.
$ac_ext <<_ACEOF
2570 cat confdefs.h
>>conftest.
$ac_ext
2571 cat >>conftest.
$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2582 rm -f conftest.
$ac_objext
2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2584 (eval $ac_compile) 2>conftest.er1
2586 grep -v '^ *+' conftest.er1
>conftest.err
2588 cat conftest.err
>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } &&
2591 { ac_try
='test -z "$ac_cxx_werror_flag"
2592 || test ! -s conftest.err'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; } &&
2598 { ac_try
='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2604 ac_cv_prog_cxx_g
=yes
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.
$ac_ext >&5
2611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2613 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2614 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2615 if test "$ac_test_CXXFLAGS" = set; then
2616 CXXFLAGS
=$ac_save_CXXFLAGS
2617 elif test $ac_cv_prog_cxx_g = yes; then
2618 if test "$GXX" = yes; then
2624 if test "$GXX" = yes; then
2630 for ac_declaration
in \
2632 'extern "C" void std::exit (int) throw (); using std::exit;' \
2633 'extern "C" void std::exit (int); using std::exit;' \
2634 'extern "C" void exit (int) throw ();' \
2635 'extern "C" void exit (int);' \
2638 cat >conftest.
$ac_ext <<_ACEOF
2641 cat confdefs.h
>>conftest.
$ac_ext
2642 cat >>conftest.
$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2654 rm -f conftest.
$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1
>conftest.err
2660 cat conftest.err
>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try
='test -z "$ac_cxx_werror_flag"
2664 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try
='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.
$ac_ext >&5
2683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2684 cat >conftest.
$ac_ext <<_ACEOF
2687 cat confdefs.h
>>conftest.
$ac_ext
2688 cat >>conftest.
$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag"
2709 || test ! -s conftest.err'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; } &&
2715 { ac_try
='test -s conftest.$ac_objext'
2716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); }; }; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2730 if test -n "$ac_declaration"; then
2731 echo '#ifdef __cplusplus' >>confdefs.h
2732 echo $ac_declaration >>confdefs.h
2733 echo '#endif' >>confdefs.h
2737 ac_cpp
='$CPP $CPPFLAGS'
2738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2742 # Find a good install program. We prefer a C program (faster),
2743 # so one script is as good as another. But avoid the broken or
2744 # incompatible versions:
2745 # SysV /etc/install, /usr/sbin/install
2746 # SunOS /usr/etc/install
2747 # IRIX /sbin/install
2749 # AmigaOS /C/install, which installs bootblocks on floppy discs
2750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2753 # OS/2's system install, which has a completely different semantic
2754 # ./install, which can be erroneously created by make from ./install.sh.
2755 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2756 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2757 if test -z "$INSTALL"; then
2758 if test "${ac_cv_path_install+set}" = set; then
2759 echo $ECHO_N "(cached) $ECHO_C" >&6
2761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2765 test -z "$as_dir" && as_dir
=.
2766 # Account for people who put trailing slashes in PATH elements.
2768 .
/ | .
// | /cC
/* | \
2769 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2770 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2773 # OSF1 and SCO ODT 3.0 have their own names for install.
2774 # Don't use installbsd from OSF since it installs stuff as root
2776 for ac_prog
in ginstall scoinst
install; do
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2779 if test $ac_prog = install &&
2780 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2781 # AIX install. It has an incompatible calling convention.
2783 elif test $ac_prog = install &&
2784 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2785 # program-specific install script used by HP pwplus--don't use.
2788 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2800 if test "${ac_cv_path_install+set}" = set; then
2801 INSTALL
=$ac_cv_path_install
2803 # As a last resort, use the slow shell script. We don't cache a
2804 # path for INSTALL within a source directory, because that will
2805 # break other packages using the cache if that directory is
2806 # removed, or if the path is relative.
2807 INSTALL
=$ac_install_sh
2810 echo "$as_me:$LINENO: result: $INSTALL" >&5
2811 echo "${ECHO_T}$INSTALL" >&6
2813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2814 # It thinks the first close brace ends the variable substitution.
2815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2819 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2822 # make sure install is relative to srcdir - if a script
2823 if test "$srcdir" = "."; then
2824 # If srcdir isn't just ., then (srcdir) is already prepended.
2825 if test "${ac_install_sh}" = "${INSTALL}"; then
2826 INSTALL
="\\\$(top_srcdir)/${ac_install_sh}"
2830 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
2831 #AC_CHECK_PROG(STRIP, strip, strip, true)
2833 for ac_prog
in gmake gnumake
2835 # Extract the first word of "$ac_prog", so it can be a program name with args.
2836 set dummy
$ac_prog; ac_word
=$2
2837 echo "$as_me:$LINENO: checking for $ac_word" >&5
2838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2839 if test "${ac_cv_path_U_MAKE+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 ac_cv_path_U_MAKE
="$U_MAKE" # Let the user override the test with a path.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_path_U_MAKE
="$as_dir/$ac_word$ac_exec_ext"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 U_MAKE
=$ac_cv_path_U_MAKE
2866 if test -n "$U_MAKE"; then
2867 echo "$as_me:$LINENO: result: $U_MAKE" >&5
2868 echo "${ECHO_T}$U_MAKE" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 test -n "$U_MAKE" && break
2876 test -n "$U_MAKE" || U_MAKE
="make"
2880 # Extract the first word of "doxygen", so it can be a program name with args.
2881 set dummy doxygen
; ac_word
=$2
2882 echo "$as_me:$LINENO: checking for $ac_word" >&5
2883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2884 if test "${ac_cv_path_DOXYGEN+set}" = set; then
2885 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 as_dummy
="$PATH:/usr/local/bin:/usr/bin"
2894 for as_dir
in $as_dummy
2897 test -z "$as_dir" && as_dir
=.
2898 for ac_exec_ext
in '' $ac_executable_extensions; do
2899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2900 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
2901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 DOXYGEN
=$ac_cv_path_DOXYGEN
2912 if test -n "$DOXYGEN"; then
2913 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2914 echo "${ECHO_T}$DOXYGEN" >&6
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2923 *-*-cygwin*|*-*-mingw*)
2924 if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
2925 { { echo "$as_me:$LINENO: error: link.exe is not a valid linker. Your PATH is incorrect.
2926 Please follow the directions in ICU's readme." >&5
2927 echo "$as_me: error: link.exe is not a valid linker. Your PATH is incorrect.
2928 Please follow the directions in ICU's readme." >&2;}
2929 { (exit 1); exit 1; }; }
2934 echo "$as_me:$LINENO: checking checking for executable suffix" >&5
2935 echo $ECHO_N "checking checking for executable suffix... $ECHO_C" >&6
2937 *-*-cygwin*|*-*-mingw*) EXEEXT
=.exe
;;
2941 echo "$as_me:$LINENO: result: $EXEEXT" >&5
2942 echo "${ECHO_T}$EXEEXT" >&6
2946 echo "$as_me:$LINENO: checking whether strict compiling is on" >&5
2947 echo $ECHO_N "checking whether strict compiling is on... $ECHO_C" >&6
2948 # Check whether --enable-strict or --disable-strict was given.
2949 if test "${enable_strict+set}" = set; then
2950 enableval
="$enable_strict"
2952 if test "$enableval" = no
2954 ac_use_strict_options
=no
2956 ac_use_strict_options
=yes
2960 ac_use_strict_options
=no
2962 echo "$as_me:$LINENO: result: $ac_use_strict_options" >&5
2963 echo "${ECHO_T}$ac_use_strict_options" >&6
2965 if test "$ac_use_strict_options" = yes
2967 if test "$GCC" = yes
2969 CFLAGS
="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
2972 CFLAGS
="$CFLAGS -D__STDC__=0";;
2977 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
2979 CFLAGS
="$CFLAGS /W4"
2983 if test "$GXX" = yes
2985 CXXFLAGS
="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
2988 CXXFLAGS
="$CXXFLAGS -D__STDC__=0";;
2993 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
2995 CXXFLAGS
="$CXXFLAGS /W4"
3004 # Check whether --enable-64bit-libs or --disable-64bit-libs was given.
3005 if test "${enable_64bit_libs+set}" = set; then
3006 enableval
="$enable_64bit_libs"
3007 ENABLE_64BIT_LIBS
=${enableval}
3009 ENABLE_64BIT_LIBS
=yes
3012 echo "$as_me:$LINENO: checking for 64-bit executable support" >&5
3013 echo $ECHO_N "checking for 64-bit executable support... $ECHO_C" >&6
3014 if test "$ENABLE_64BIT_LIBS" != no
; then
3015 if test "$GCC" = yes; then
3016 if test -n "`$CXX -dumpspecs 2>&1 && $CC -dumpspecs 2>&1 | grep -v __LP64__`"; then
3017 ENABLE_64BIT_LIBS
=yes
3019 OLD_CFLAGS
="${CFLAGS}"
3020 OLD_CXXFLAGS
="${CXXFLAGS}"
3021 CFLAGS
="${CFLAGS} -m64"
3022 CXXFLAGS
="${CXXFLAGS} -m64"
3023 if test "$cross_compiling" = yes; then
3024 ENABLE_64BIT_LIBS
=no
3026 cat >conftest.
$ac_ext <<_ACEOF
3029 cat confdefs.h
>>conftest.
$ac_ext
3030 cat >>conftest.
$ac_ext <<_ACEOF
3031 /* end confdefs.h. */
3032 int main(void) {return 0;}
3034 rm -f conftest
$ac_exeext
3035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3036 (eval $ac_link) 2>&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); }; }; then
3045 ENABLE_64BIT_LIBS
=yes
3047 echo "$as_me: program exited with status $ac_status" >&5
3048 echo "$as_me: failed program was:" >&5
3049 sed 's/^/| /' conftest.
$ac_ext >&5
3052 ENABLE_64BIT_LIBS
=no
3054 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3056 if test "$ENABLE_64BIT_LIBS" = no
; then
3057 # Nope. We're on a 32-bit machine with a 32-bit compiler.
3058 CFLAGS
="${OLD_CFLAGS}"
3059 CXXFLAGS
="${OLD_CXXFLAGS}"
3065 SPARCV9
=`isainfo -n 2>&1 | grep sparcv9`
3066 SOL64
=`$CXX -m64 2>&1 && $CC -m64 2>&1 | grep -v usage:`
3067 if test -n "$SOL64"; then
3068 SOL64
=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
3069 if test -z "$SOL64" && test -n "$SPARCV9"; then
3070 CFLAGS
="${CFLAGS} -xtarget=ultra -xarch=v9"
3071 CXXFLAGS
="${CXXFLAGS} -xtarget=ultra -xarch=v9"
3072 LDFLAGS
="${LDFLAGS} -xtarget=ultra -xarch=v9"
3073 ENABLE_64BIT_LIBS
=yes
3075 ENABLE_64BIT_LIBS
=no
3077 elif test -z "$SOL64" && test -n "$SPARCV9"; then
3078 CFLAGS
="${CFLAGS} -xtarget=ultra -xarch=sparc -m64"
3079 CXXFLAGS
="${CXXFLAGS} -xtarget=ultra -xarch=sparc -m64"
3080 LDFLAGS
="${LDFLAGS} -xtarget=ultra -xarch=sparc -m64"
3081 ENABLE_64BIT_LIBS
=yes
3083 ENABLE_64BIT_LIBS
=no
3087 AMD64
=`isainfo -n 2>&1 | grep amd64`
3088 # The new compiler option
3089 SOL64
=`$CXX -m64 2>&1 && $CC -m64 2>&1 | grep -v usage:`
3090 if test -z "$SOL64" && test -n "$AMD64"; then
3091 CFLAGS
="${CFLAGS} -m64"
3092 CXXFLAGS
="${CXXFLAGS} -m64"
3093 ENABLE_64BIT_LIBS
=yes
3095 # The older compiler option
3096 SOL64
=`$CXX -xtarget=generic64 2>&1 && $CC -xtarget=generic64 2>&1 | grep -v usage:`
3097 if test -z "$SOL64" && test -n "$AMD64"; then
3098 CFLAGS
="${CFLAGS} -xtarget=generic64"
3099 CXXFLAGS
="${CXXFLAGS} -xtarget=generic64"
3100 ENABLE_64BIT_LIBS
=yes
3102 ENABLE_64BIT_LIBS
=no
3107 # check for ecc/ecpc compiler support
3108 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
3109 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
3110 ENABLE_64BIT_LIBS
=yes
3112 ENABLE_64BIT_LIBS
=no
3116 ENABLE_64BIT_LIBS
=no
3120 if test -n "`$CXX -help 2>&1 | grep 'for x64'`"; then
3121 ENABLE_64BIT_LIBS
=yes
3124 ENABLE_64BIT_LIBS
=no
3127 *-*-aix*|powerpc64
-*-linux*)
3128 OLD_CFLAGS
="${CFLAGS}"
3129 OLD_CXXFLAGS
="${CXXFLAGS}"
3130 OLD_LDFLAGS
="${LDFLAGS}"
3131 CFLAGS
="${CFLAGS} -q64"
3132 CXXFLAGS
="${CXXFLAGS} -q64"
3133 LDFLAGS
="${LDFLAGS} -q64"
3134 if test "$cross_compiling" = yes; then
3135 ENABLE_64BIT_LIBS
=no
3137 cat >conftest.
$ac_ext <<_ACEOF
3140 cat confdefs.h
>>conftest.
$ac_ext
3141 cat >>conftest.
$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 int main(void) {return 0;}
3145 rm -f conftest
$ac_exeext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3147 (eval $ac_link) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ENABLE_64BIT_LIBS
=yes
3158 echo "$as_me: program exited with status $ac_status" >&5
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.
$ac_ext >&5
3163 ENABLE_64BIT_LIBS
=no
3165 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3167 if test "$ENABLE_64BIT_LIBS" = no
; then
3168 CFLAGS
="${OLD_CFLAGS}"
3169 CXXFLAGS
="${OLD_CXXFLAGS}"
3170 LDFLAGS
="${OLD_LDFLAGS}"
3174 ARFLAGS
="${ARFLAGS} -X64"
3180 OLD_CFLAGS
="${CFLAGS}"
3181 OLD_CXXFLAGS
="${CXXFLAGS}"
3182 CFLAGS
="${CFLAGS} +DD64"
3183 CXXFLAGS
="${CXXFLAGS} +DD64"
3184 if test "$cross_compiling" = yes; then
3185 ENABLE_64BIT_LIBS
=no
3187 cat >conftest.
$ac_ext <<_ACEOF
3190 cat confdefs.h
>>conftest.
$ac_ext
3191 cat >>conftest.
$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3193 int main(void) {return 0;}
3195 rm -f conftest
$ac_exeext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3197 (eval $ac_link) 2>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3206 ENABLE_64BIT_LIBS
=yes
3208 echo "$as_me: program exited with status $ac_status" >&5
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.
$ac_ext >&5
3213 ENABLE_64BIT_LIBS
=no
3215 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3217 if test "$ENABLE_64BIT_LIBS" = no
; then
3218 CFLAGS
="${OLD_CFLAGS}"
3219 CXXFLAGS
="${OLD_CXXFLAGS}"
3220 CFLAGS
="${CFLAGS} +DA2.0W"
3221 CXXFLAGS
="${CXXFLAGS} +DA2.0W"
3222 if test "$cross_compiling" = yes; then
3223 ENABLE_64BIT_LIBS
=no
3225 cat >conftest.
$ac_ext <<_ACEOF
3228 cat confdefs.h
>>conftest.
$ac_ext
3229 cat >>conftest.
$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3231 int main(void) {return 0;}
3233 rm -f conftest
$ac_exeext
3234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3235 (eval $ac_link) 2>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); }; }; then
3244 ENABLE_64BIT_LIBS
=yes
3246 echo "$as_me: program exited with status $ac_status" >&5
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3251 ENABLE_64BIT_LIBS
=no
3253 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3255 if test "$ENABLE_64BIT_LIBS" = no
; then
3256 CFLAGS
="${OLD_CFLAGS}"
3257 CXXFLAGS
="${OLD_CXXFLAGS}"
3261 *-*ibm
-openedition*|*-*-os390*)
3262 OLD_CFLAGS
="${CFLAGS}"
3263 OLD_CXXFLAGS
="${CXXFLAGS}"
3264 OLD_LDFLAGS
="${LDFLAGS}"
3265 CFLAGS
="${CFLAGS} -Wc,lp64"
3266 CXXFLAGS
="${CXXFLAGS} -Wc,lp64"
3267 LDFLAGS
="${LDFLAGS} -Wl,lp64"
3268 if test "$cross_compiling" = yes; then
3269 ENABLE_64BIT_LIBS
=no
3271 cat >conftest.
$ac_ext <<_ACEOF
3274 cat confdefs.h
>>conftest.
$ac_ext
3275 cat >>conftest.
$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3277 int main(void) {return 0;}
3279 rm -f conftest
$ac_exeext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3281 (eval $ac_link) 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; }; then
3290 ENABLE_64BIT_LIBS
=yes
3292 echo "$as_me: program exited with status $ac_status" >&5
3293 echo "$as_me: failed program was:" >&5
3294 sed 's/^/| /' conftest.
$ac_ext >&5
3297 ENABLE_64BIT_LIBS
=no
3299 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3301 if test "$ENABLE_64BIT_LIBS" = no
; then
3302 CFLAGS
="${OLD_CFLAGS}"
3303 CXXFLAGS
="${OLD_CXXFLAGS}"
3304 LDFLAGS
="${OLD_LDFLAGS}"
3308 ENABLE_64BIT_LIBS
=no
3313 if test "$GCC" = yes; then
3314 OLD_CFLAGS
="${CFLAGS}"
3315 OLD_CXXFLAGS
="${CXXFLAGS}"
3316 CFLAGS
="${CFLAGS} -m32"
3317 CXXFLAGS
="${CXXFLAGS} -m32"
3318 if test "$cross_compiling" = yes; then
3319 ENABLE_64BIT_LIBS
=yes
3321 cat >conftest.
$ac_ext <<_ACEOF
3324 cat confdefs.h
>>conftest.
$ac_ext
3325 cat >>conftest.
$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3327 int main(void) {return 0;}
3329 rm -f conftest
$ac_exeext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3331 (eval $ac_link) 2>&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); }; }; then
3340 ENABLE_64BIT_LIBS
=no
3342 echo "$as_me: program exited with status $ac_status" >&5
3343 echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.
$ac_ext >&5
3347 ENABLE_64BIT_LIBS
=yes
3349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3351 if test "$ENABLE_64BIT_LIBS" = yes; then
3352 CFLAGS
="${OLD_CFLAGS}"
3353 CXXFLAGS
="${OLD_CXXFLAGS}"
3357 echo "$as_me:$LINENO: result: $ENABLE_64BIT_LIBS" >&5
3358 echo "${ECHO_T}$ENABLE_64BIT_LIBS" >&6
3364 echo "$as_me:$LINENO: checking which Makefile fragment to use" >&5
3365 echo $ECHO_N "checking which Makefile fragment to use... $ECHO_C" >&6
3366 if test "${icu_cv_host_frag+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 if test "$GCC" = yes; then
3373 icu_cv_host_frag
=mh
-solaris-gcc
3375 icu_cv_host_frag
=mh
-solaris
3378 if test "$GCC" = yes; then
3379 icu_cv_host_frag
=mh
-alpha-linux-gcc
3381 icu_cv_host_frag
=mh
-alpha-linux-cc
3384 if test "$GCC" = yes; then
3385 icu_cv_host_frag
=mh
-linux
3387 icu_cv_host_frag
=mh
-linux-va
3389 *-*-linux*|*-pc-gnu) icu_cv_host_frag
=mh
-linux ;;
3390 *-*-cygwin|*-*-mingw32)
3391 if test "$GCC" = yes; then
3392 cat >conftest.
$ac_ext <<_ACEOF
3395 cat confdefs.h
>>conftest.
$ac_ext
3396 cat >>conftest.
$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3400 #error This is not MinGW
3410 rm -f conftest.
$ac_objext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3412 (eval $ac_compile) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag"
3420 || test ! -s conftest.err'
3421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; } &&
3426 { ac_try
='test -s conftest.$ac_objext'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; }; then
3432 icu_cv_host_frag
=mh
-mingw
3434 echo "$as_me: failed program was:" >&5
3435 sed 's/^/| /' conftest.
$ac_ext >&5
3437 icu_cv_host_frag
=mh
-cygwin
3439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3441 icu_cv_host_frag
=mh
-cygwin-msvc
3443 *-*-*bsd
*|*-*-dragonfly*) icu_cv_host_frag
=mh
-bsd-gcc ;;
3445 if test "$GCC" = yes; then
3446 icu_cv_host_frag
=mh
-aix-gcc
3448 icu_cv_host_frag
=mh
-aix-va
3451 if test "$GCC" = yes; then
3452 icu_cv_host_frag
=mh
-hpux-gcc
3455 *aCC
) icu_cv_host_frag
=mh
-hpux-acc ;;
3458 *-*ibm
-openedition*|*-*-os390*) icu_cv_host_frag
=mh
-os390 ;;
3459 *-*-os400*) icu_cv_host_frag
=mh
-os400 ;;
3460 *-apple-rhapsody*) icu_cv_host_frag
=mh
-darwin ;;
3461 *-apple-darwin*) icu_cv_host_frag
=mh
-darwin ;;
3462 *-*-beos) icu_cv_host_frag
=mh
-beos ;;
3463 *-*-irix*) icu_cv_host_frag
=mh
-irix ;;
3464 *-dec-osf*) icu_cv_host_frag
=mh
-alpha-osf ;;
3465 *-*-nto*) icu_cv_host_frag
=mh
-qnx ;;
3466 *-ncr-*) icu_cv_host_frag
=mh
-mpras ;;
3467 *) icu_cv_host_frag
=mh
-unknown ;;
3472 echo "$as_me:$LINENO: result: $icu_cv_host_frag" >&5
3473 echo "${ECHO_T}$icu_cv_host_frag" >&6
3477 *-*-hpux*) echo "$as_me:$LINENO: checking for floor in -lm" >&5
3478 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
3479 if test "${ac_cv_lib_m_floor+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 ac_check_lib_save_LIBS
=$LIBS
3484 cat >conftest.
$ac_ext <<_ACEOF
3487 cat confdefs.h
>>conftest.
$ac_ext
3488 cat >>conftest.
$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3491 /* Override any gcc2 internal prototype to avoid an error. */
3495 /* We use char because int might match the return type of a gcc2
3496 builtin and then its argument prototype would still apply. */
3506 rm -f conftest.
$ac_objext conftest
$ac_exeext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3508 (eval $ac_link) 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try
='test -z "$ac_c_werror_flag"
3516 || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try
='test -s conftest$ac_exeext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_lib_m_floor
=yes
3530 echo "$as_me: failed program was:" >&5
3531 sed 's/^/| /' conftest.
$ac_ext >&5
3533 ac_cv_lib_m_floor
=no
3535 rm -f conftest.err conftest.
$ac_objext \
3536 conftest
$ac_exeext conftest.
$ac_ext
3537 LIBS
=$ac_check_lib_save_LIBS
3539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
3540 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
3541 if test $ac_cv_lib_m_floor = yes; then
3547 echo "$as_me:$LINENO: checking for floor in -lm" >&5
3548 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
3549 if test "${ac_cv_lib_m_floor+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 ac_check_lib_save_LIBS
=$LIBS
3554 cat >conftest.
$ac_ext <<_ACEOF
3557 cat confdefs.h
>>conftest.
$ac_ext
3558 cat >>conftest.
$ac_ext <<_ACEOF
3559 /* end confdefs.h. */
3561 /* Override any gcc2 internal prototype to avoid an error. */
3565 /* We use char because int might match the return type of a gcc2
3566 builtin and then its argument prototype would still apply. */
3576 rm -f conftest.
$ac_objext conftest
$ac_exeext
3577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3578 (eval $ac_link) 2>conftest.er1
3580 grep -v '^ *+' conftest.er1
>conftest.err
3582 cat conftest.err
>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 { ac_try
='test -z "$ac_c_werror_flag"
3586 || test ! -s conftest.err'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; } &&
3592 { ac_try
='test -s conftest$ac_exeext'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; }; then
3598 ac_cv_lib_m_floor
=yes
3600 echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.
$ac_ext >&5
3603 ac_cv_lib_m_floor
=no
3605 rm -f conftest.err conftest.
$ac_objext \
3606 conftest
$ac_exeext conftest.
$ac_ext
3607 LIBS
=$ac_check_lib_save_LIBS
3609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
3610 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
3611 if test $ac_cv_lib_m_floor = yes; then
3612 cat >>confdefs.h
<<_ACEOF
3624 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
3625 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
3627 # Check whether --enable-shared or --disable-shared was given.
3628 if test "${enable_shared+set}" = set; then
3629 enableval
="$enable_shared"
3630 case "${enableval}" in
3631 yes|"") enabled
=yes; ENABLE_SHARED
=YES
;;
3636 enabled
=yes; ENABLE_SHARED
=YES
3639 echo "$as_me:$LINENO: result: $enabled" >&5
3640 echo "${ECHO_T}$enabled" >&6
3643 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
3644 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
3646 # Check whether --enable-static or --disable-static was given.
3647 if test "${enable_static+set}" = set; then
3648 enableval
="$enable_static"
3649 case "${enableval}" in
3650 yes|"") enabled
=yes; ENABLE_STATIC
=YES
;;
3655 echo "$as_me:$LINENO: result: $enabled" >&5
3656 echo "${ECHO_T}$enabled" >&6
3659 echo "$as_me:$LINENO: checking whether to build debug libraries" >&5
3660 echo $ECHO_N "checking whether to build debug libraries... $ECHO_C" >&6
3663 # Check whether --enable-debug or --disable-debug was given.
3664 if test "${enable_debug+set}" = set; then
3665 enableval
="$enable_debug"
3666 case "${enableval}" in
3667 yes|"") enabled
=yes; ENABLE_DEBUG
=1 ;;
3671 echo "$as_me:$LINENO: result: $enabled" >&5
3672 echo "${ECHO_T}$enabled" >&6
3675 echo "$as_me:$LINENO: checking whether to build release libraries" >&5
3676 echo $ECHO_N "checking whether to build release libraries... $ECHO_C" >&6
3679 # Check whether --enable-release or --disable-release was given.
3680 if test "${enable_release+set}" = set; then
3681 enableval
="$enable_release"
3682 case "${enableval}" in
3683 no
) enabled
=no
; ENABLE_RELEASE
=0 ;;
3687 echo "$as_me:$LINENO: result: $enabled" >&5
3688 echo "${ECHO_T}$enabled" >&6
3691 echo "$as_me:$LINENO: checking whether to enable draft APIs" >&5
3692 echo $ECHO_N "checking whether to enable draft APIs... $ECHO_C" >&6
3694 U_DEFAULT_SHOW_DRAFT
=1
3695 # Check whether --enable-draft or --disable-draft was given.
3696 if test "${enable_draft+set}" = set; then
3697 enableval
="$enable_draft"
3698 case "${enableval}" in
3699 no
) enabled
=no
; U_DEFAULT_SHOW_DRAFT
=0 ;;
3703 echo "$as_me:$LINENO: result: $enabled" >&5
3704 echo "${ECHO_T}$enabled" >&6
3705 if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
3706 CPPFLAGS
="$CPPFLAGS -DU_SHOW_DRAFT_API"
3710 echo "$as_me:$LINENO: checking for library API export" >&5
3711 echo $ECHO_N "checking for library API export... $ECHO_C" >&6
3713 U_USE_GCC_VISIBILITY_ATTRIBUTE
=0
3714 OLD_CFLAGS
="${CFLAGS}"
3715 OLD_CXXFLAGS
="${CXXFLAGS}"
3716 if test "$ac_cv_c_compiler_gnu" = yes; then
3717 LIBCFLAGS
="-fvisibility=hidden"
3718 LIBCXXFLAGS
="-fvisibility=hidden"
3719 CFLAGS
="${CFLAGS} ${LIBCFLAGS}"
3720 CXXFLAGS
="${CXXFLAGS} ${LIBCXXFLAGS}"
3721 cat >conftest.
$ac_ext <<_ACEOF
3724 cat confdefs.h
>>conftest.
$ac_ext
3725 cat >>conftest.
$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3727 __attribute__ ((visibility ("default"))) void f(void);
3737 rm -f conftest.
$ac_objext conftest
$ac_exeext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3739 (eval $ac_link) 2>conftest.er1
3741 grep -v '^ *+' conftest.er1
>conftest.err
3743 cat conftest.err
>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try
='test -z "$ac_c_werror_flag"
3747 || test ! -s conftest.err'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; } &&
3753 { ac_try
='test -s conftest$ac_exeext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.
$ac_ext >&5
3766 rm -f conftest.err conftest.
$ac_objext \
3767 conftest
$ac_exeext conftest.
$ac_ext
3768 if test "$SHAREDLIBEXPORT" = no
; then
3772 U_USE_GCC_VISIBILITY_ATTRIBUTE
=1
3777 LIBCFLAGS
="-xldscope=hidden"
3778 LIBCXXFLAGS
="-xldscope=hidden"
3779 CFLAGS
="${CFLAGS} ${LIBCFLAGS}"
3780 CXXFLAGS
="${CXXFLAGS} ${LIBCXXFLAGS}"
3781 cat >conftest.
$ac_ext <<_ACEOF
3784 cat confdefs.h
>>conftest.
$ac_ext
3785 cat >>conftest.
$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 __global void f(void);
3797 rm -f conftest.
$ac_objext conftest
$ac_exeext
3798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3799 (eval $ac_link) 2>conftest.er1
3801 grep -v '^ *+' conftest.er1
>conftest.err
3803 cat conftest.err
>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } &&
3806 { ac_try
='test -z "$ac_c_werror_flag"
3807 || test ! -s conftest.err'
3808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); }; } &&
3813 { ac_try
='test -s conftest$ac_exeext'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; }; then
3821 echo "$as_me: failed program was:" >&5
3822 sed 's/^/| /' conftest.
$ac_ext >&5
3826 rm -f conftest.err conftest.
$ac_objext \
3827 conftest
$ac_exeext conftest.
$ac_ext
3828 if test "$SHAREDLIBEXPORT" = no
; then
3838 # Restore to their original state because the Intel compiler chokes
3839 # on this option when checking for the wchar_t size, but the
3840 # option otherwise works.
3841 CFLAGS
="${OLD_CFLAGS}"
3842 CXXFLAGS
="${OLD_CXXFLAGS}"
3843 echo "$as_me:$LINENO: result: $SHAREDLIBEXPORT" >&5
3844 echo "${ECHO_T}$SHAREDLIBEXPORT" >&6
3849 if test -n "$ac_tool_prefix"; then
3850 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3851 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3852 echo "$as_me:$LINENO: checking for $ac_word" >&5
3853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3854 if test "${ac_cv_prog_RANLIB+set}" = set; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 if test -n "$RANLIB"; then
3858 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir
=.
3865 for ac_exec_ext
in '' $ac_executable_extensions; do
3866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 RANLIB
=$ac_cv_prog_RANLIB
3877 if test -n "$RANLIB"; then
3878 echo "$as_me:$LINENO: result: $RANLIB" >&5
3879 echo "${ECHO_T}$RANLIB" >&6
3881 echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6
3886 if test -z "$ac_cv_prog_RANLIB"; then
3887 ac_ct_RANLIB
=$RANLIB
3888 # Extract the first word of "ranlib", so it can be a program name with args.
3889 set dummy ranlib
; ac_word
=$2
3890 echo "$as_me:$LINENO: checking for $ac_word" >&5
3891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3892 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if test -n "$ac_ct_RANLIB"; then
3896 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3915 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3916 if test -n "$ac_ct_RANLIB"; then
3917 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3918 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3920 echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6
3924 RANLIB
=$ac_ct_RANLIB
3926 RANLIB
="$ac_cv_prog_RANLIB"
3929 # Extract the first word of "ar", so it can be a program name with args.
3930 set dummy
ar; ac_word
=$2
3931 echo "$as_me:$LINENO: checking for $ac_word" >&5
3932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3933 if test "${ac_cv_path_AR+set}" = set; then
3934 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 as_dummy
="$PATH:/bin:/usr/bin:/usr/ccs/bin"
3943 for as_dir
in $as_dummy
3946 test -z "$as_dir" && as_dir
=.
3947 for ac_exec_ext
in '' $ac_executable_extensions; do
3948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3949 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
3950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="echo archiver ar not found re-run configure ; false"
3962 if test -n "$AR"; then
3963 echo "$as_me:$LINENO: result: $AR" >&5
3964 echo "${ECHO_T}$AR" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3971 echo "$as_me:$LINENO: checking whether to enable renaming of symbols" >&5
3972 echo $ECHO_N "checking whether to enable renaming of symbols... $ECHO_C" >&6
3974 U_DISABLE_RENAMING
=0
3975 # Check whether --enable-renaming or --disable-renaming was given.
3976 if test "${enable_renaming+set}" = set; then
3977 enableval
="$enable_renaming"
3978 case "${enableval}" in
3979 yes|"") enabled
=yes ;;
3980 no
) enabled
=no
; U_DISABLE_RENAMING
=1 ;;
3984 echo "$as_me:$LINENO: result: $enabled" >&5
3985 echo "${ECHO_T}$enabled" >&6
3988 echo "$as_me:$LINENO: checking whether to enable function and data tracing" >&5
3989 echo $ECHO_N "checking whether to enable function and data tracing... $ECHO_C" >&6
3992 # Check whether --enable-tracing or --disable-tracing was given.
3993 if test "${enable_tracing+set}" = set; then
3994 enableval
="$enable_tracing"
3995 case "${enableval}" in
3996 yes|"") enabled
=yes ;;
3997 no
) enabled
=no
; U_ENABLE_TRACING
=0 ;;
4001 echo "$as_me:$LINENO: result: $enabled" >&5
4002 echo "${ECHO_T}$enabled" >&6
4005 # Check whether --enable-rpath or --disable-rpath was given.
4006 if test "${enable_rpath+set}" = set; then
4007 enableval
="$enable_rpath"
4008 case "${enableval}" in
4009 yes|"") ENABLE_RPATH
=YES
;;
4020 echo "$as_me:$LINENO: checking for definition of U_INLINE for C" >&5
4021 echo $ECHO_N "checking for definition of U_INLINE for C... $ECHO_C" >&6
4022 if test "${ac_cv_c_inline+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 for ac_kw
in inline __inline__ __inline
; do
4027 cat >conftest.
$ac_ext <<_ACEOF
4030 cat confdefs.h
>>conftest.
$ac_ext
4031 cat >>conftest.
$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4037 return 0;} $ac_kw int foo() {
4042 rm -f conftest.
$ac_objext
4043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4044 (eval $ac_compile) 2>conftest.er1
4046 grep -v '^ *+' conftest.er1
>conftest.err
4048 cat conftest.err
>&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } &&
4051 { ac_try
='test -z "$ac_c_werror_flag"
4052 || test ! -s conftest.err'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; } &&
4058 { ac_try
='test -s conftest.$ac_objext'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; }; then
4064 ac_cv_c_inline
=$ac_kw; break
4066 echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.
$ac_ext >&5
4070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4074 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4075 echo "${ECHO_T}$ac_cv_c_inline" >&6
4076 case "$ac_cv_c_inline" in
4077 yes) U_INLINE
= "inline" ;;
4079 *) U_INLINE
=$ac_cv_c_inline ;;
4085 # Check whether --enable-threads or --disable-threads was given.
4086 if test "${enable_threads+set}" = set; then
4087 enableval
="$enable_threads"
4088 case "${enableval}" in
4089 yes) threads
=true
;;
4090 no
) threads
=false
;;
4091 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-threads" >&5
4092 echo "$as_me: error: bad value ${enableval} for --enable-threads" >&2;}
4093 { (exit 1); exit 1; }; } ;;
4099 if test "$threads" = true
; then
4108 if test $threads = true
; then
4111 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
4112 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
4113 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 ac_check_lib_save_LIBS
=$LIBS
4117 LIBS
="-lpthread $LIBS"
4118 cat >conftest.
$ac_ext <<_ACEOF
4121 cat confdefs.h
>>conftest.
$ac_ext
4122 cat >>conftest.
$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4125 /* Override any gcc2 internal prototype to avoid an error. */
4129 /* We use char because int might match the return type of a gcc2
4130 builtin and then its argument prototype would still apply. */
4131 char pthread_attr_init ();
4135 pthread_attr_init ();
4140 rm -f conftest.
$ac_objext conftest
$ac_exeext
4141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4142 (eval $ac_link) 2>conftest.er1
4144 grep -v '^ *+' conftest.er1
>conftest.err
4146 cat conftest.err
>&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } &&
4149 { ac_try
='test -z "$ac_c_werror_flag"
4150 || test ! -s conftest.err'
4151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); }; } &&
4156 { ac_try
='test -s conftest$ac_exeext'
4157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); }; }; then
4162 ac_cv_lib_pthread_pthread_attr_init
=yes
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.
$ac_ext >&5
4167 ac_cv_lib_pthread_pthread_attr_init
=no
4169 rm -f conftest.err conftest.
$ac_objext \
4170 conftest
$ac_exeext conftest.
$ac_ext
4171 LIBS
=$ac_check_lib_save_LIBS
4173 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
4174 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
4175 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
4176 cat >>confdefs.h
<<_ACEOF
4177 #define HAVE_LIBPTHREAD 1
4180 LIBS
="-lpthread $LIBS"
4184 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
4189 echo "$as_me:$LINENO: checking for library containing pthread_mutex_destroy" >&5
4190 echo $ECHO_N "checking for library containing pthread_mutex_destroy... $ECHO_C" >&6
4191 if test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 ac_func_search_save_LIBS
="$LIBS"
4195 ac_cv_search_pthread_mutex_destroy
="no"
4196 for i
in pthread pthreads c_r
; do
4197 LIBS
="-l$i $ac_func_search_save_LIBS"
4198 cat >conftest.
$ac_ext <<_ACEOF
4201 cat confdefs.h
>>conftest.
$ac_ext
4202 cat >>conftest.
$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4205 /* Override any gcc2 internal prototype to avoid an error. */
4209 /* We use char because int might match the return type of a gcc2
4210 builtin and then its argument prototype would still apply. */
4211 char pthread_mutex_destroy ();
4215 pthread_mutex_destroy ();
4220 rm -f conftest.
$ac_objext conftest
$ac_exeext
4221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4222 (eval $ac_link) 2>conftest.er1
4224 grep -v '^ *+' conftest.er1
>conftest.err
4226 cat conftest.err
>&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); } &&
4229 { ac_try
='test -z "$ac_c_werror_flag"
4230 || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try
='test -s conftest$ac_exeext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_search_pthread_mutex_destroy
="-l$i"
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4249 rm -f conftest.err conftest.
$ac_objext \
4250 conftest
$ac_exeext conftest.
$ac_ext
4252 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
4253 cat >conftest.
$ac_ext <<_ACEOF
4256 cat confdefs.h
>>conftest.
$ac_ext
4257 cat >>conftest.
$ac_ext <<_ACEOF
4258 /* end confdefs.h. */
4260 /* Override any gcc2 internal prototype to avoid an error. */
4264 /* We use char because int might match the return type of a gcc2
4265 builtin and then its argument prototype would still apply. */
4266 char pthread_mutex_destroy ();
4270 pthread_mutex_destroy ();
4275 rm -f conftest.
$ac_objext conftest
$ac_exeext
4276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4277 (eval $ac_link) 2>conftest.er1
4279 grep -v '^ *+' conftest.er1
>conftest.err
4281 cat conftest.err
>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } &&
4284 { ac_try
='test -z "$ac_c_werror_flag"
4285 || test ! -s conftest.err'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; } &&
4291 { ac_try
='test -s conftest$ac_exeext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 ac_cv_search_pthread_mutex_destroy
="none required"
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.
$ac_ext >&5
4303 rm -f conftest.err conftest.
$ac_objext \
4304 conftest
$ac_exeext conftest.
$ac_ext
4306 LIBS
="$ac_func_search_save_LIBS"
4308 echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_destroy" >&5
4309 echo "${ECHO_T}$ac_cv_search_pthread_mutex_destroy" >&6
4310 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
4311 test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS
="$ac_cv_search_pthread_mutex_destroy $LIBS"
4317 if test "$ac_cv_search_pthread_mutex_destroy" != no
; then
4321 echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
4322 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
4323 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS
=$LIBS
4327 LIBS
="-lpthread $LIBS"
4328 cat >conftest.
$ac_ext <<_ACEOF
4331 cat confdefs.h
>>conftest.
$ac_ext
4332 cat >>conftest.
$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any gcc2 internal prototype to avoid an error. */
4339 /* We use char because int might match the return type of a gcc2
4340 builtin and then its argument prototype would still apply. */
4341 char pthread_mutex_init ();
4345 pthread_mutex_init ();
4350 rm -f conftest.
$ac_objext conftest
$ac_exeext
4351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4352 (eval $ac_link) 2>conftest.er1
4354 grep -v '^ *+' conftest.er1
>conftest.err
4356 cat conftest.err
>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try
='test -z "$ac_c_werror_flag"
4360 || test ! -s conftest.err'
4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); }; } &&
4366 { ac_try
='test -s conftest$ac_exeext'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; }; then
4372 ac_cv_lib_pthread_pthread_mutex_init
=yes
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.
$ac_ext >&5
4377 ac_cv_lib_pthread_pthread_mutex_init
=no
4379 rm -f conftest.err conftest.
$ac_objext \
4380 conftest
$ac_exeext conftest.
$ac_ext
4381 LIBS
=$ac_check_lib_save_LIBS
4383 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
4384 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
4385 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
4386 cat >>confdefs.h
<<_ACEOF
4387 #define HAVE_LIBPTHREAD 1
4390 LIBS
="-lpthread $LIBS"
4394 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
4399 echo "$as_me:$LINENO: checking for pthread_mutex_lock" >&5
4400 echo $ECHO_N "checking for pthread_mutex_lock... $ECHO_C" >&6
4401 if test "${ac_cv_func_pthread_mutex_lock+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 cat >conftest.
$ac_ext <<_ACEOF
4407 cat confdefs.h
>>conftest.
$ac_ext
4408 cat >>conftest.
$ac_ext <<_ACEOF
4409 /* end confdefs.h. */
4410 /* Define pthread_mutex_lock to an innocuous variant, in case <limits.h> declares pthread_mutex_lock.
4411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4412 #define pthread_mutex_lock innocuous_pthread_mutex_lock
4414 /* System header to define __stub macros and hopefully few prototypes,
4415 which can conflict with char pthread_mutex_lock (); below.
4416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4417 <limits.h> exists even on freestanding compilers. */
4420 # include <limits.h>
4422 # include <assert.h>
4425 #undef pthread_mutex_lock
4427 /* Override any gcc2 internal prototype to avoid an error. */
4432 /* We use char because int might match the return type of a gcc2
4433 builtin and then its argument prototype would still apply. */
4434 char pthread_mutex_lock ();
4435 /* The GNU C library defines this for functions which it implements
4436 to always fail with ENOSYS. Some functions are actually named
4437 something starting with __ and the normal name is an alias. */
4438 #if defined (__stub_pthread_mutex_lock) || defined (__stub___pthread_mutex_lock)
4441 char (*f) () = pthread_mutex_lock;
4450 return f != pthread_mutex_lock;
4455 rm -f conftest.
$ac_objext conftest
$ac_exeext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4457 (eval $ac_link) 2>conftest.er1
4459 grep -v '^ *+' conftest.er1
>conftest.err
4461 cat conftest.err
>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); } &&
4464 { ac_try
='test -z "$ac_c_werror_flag"
4465 || test ! -s conftest.err'
4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4470 (exit $ac_status); }; } &&
4471 { ac_try
='test -s conftest$ac_exeext'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4477 ac_cv_func_pthread_mutex_lock
=yes
4479 echo "$as_me: failed program was:" >&5
4480 sed 's/^/| /' conftest.
$ac_ext >&5
4482 ac_cv_func_pthread_mutex_lock
=no
4484 rm -f conftest.err conftest.
$ac_objext \
4485 conftest
$ac_exeext conftest.
$ac_ext
4487 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_lock" >&5
4488 echo "${ECHO_T}$ac_cv_func_pthread_mutex_lock" >&6
4491 if test $ac_cv_func_pthread_mutex_lock = yes; then
4496 *-pc-cygwin*|*-pc-mingw*)
4498 if test "$ac_cv_c_compiler_gnu" = no
; then
4500 if test $ENABLE_DEBUG = 1; then
4501 CFLAGS
="${CFLAGS} /MDd"
4502 CXXFLAGS
="${CXXFLAGS} /MDd"
4504 CFLAGS
="${CFLAGS} /MD"
4505 CXXFLAGS
="${CXXFLAGS} /MD"
4509 case "${icu_cv_host_frag}" in
4511 OLD_CXXFLAGS
="${CXXFLAGS}"
4512 CXXFLAGS
="${CXXFLAGS} -mt"
4513 if test x
"`${CXX} ${CXXFLAGS} 2>&1`" != x
""; then
4514 CXXFLAGS
="${OLD_CXXFLAGS}"
4524 # Check whether --enable-weak-threads or --disable-weak-threads was given.
4525 if test "${enable_weak_threads+set}" = set; then
4526 enableval
="$enable_weak_threads"
4527 case "${enableval}" in
4529 LIB_THREAD
="${LIBS%${OLD_LIBS}}"
4533 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-weak-threads" >&5
4534 echo "$as_me: error: bad value ${enableval} for --enable-weak-threads" >&2;}
4535 { (exit 1); exit 1; }; } ;;
4541 # The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
4542 # Do this check instead.
4544 echo "$as_me:$LINENO: checking for mmap" >&5
4545 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
4546 if test "${ac_cv_func_mmap_ok+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 cat >conftest.
$ac_ext <<_ACEOF
4552 cat confdefs.h
>>conftest.
$ac_ext
4553 cat >>conftest.
$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4557 #include <sys/mman.h>
4558 #include <sys/stat.h>
4564 mmap((void *)0, 0, PROT_READ, 0, 0, 0);
4569 rm -f conftest.
$ac_objext conftest
$ac_exeext
4570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4571 (eval $ac_link) 2>conftest.er1
4573 grep -v '^ *+' conftest.er1
>conftest.err
4575 cat conftest.err
>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try
='test -z "$ac_c_werror_flag"
4579 || test ! -s conftest.err'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; } &&
4585 { ac_try
='test -s conftest$ac_exeext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_func_mmap_ok
=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.
$ac_ext >&5
4596 ac_cv_func_mmap_ok
=no
4598 rm -f conftest.err conftest.
$ac_objext \
4599 conftest
$ac_exeext conftest.
$ac_ext
4602 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_ok" >&5
4603 echo "${ECHO_T}$ac_cv_func_mmap_ok" >&6
4604 if test $ac_cv_func_mmap_ok = yes
4612 i
*86-*-linux*|x86_64
-*-linux*|powerpc
*-*-linux*|i
*86-*-*bsd
*|i
*86-pc-gnu)
4613 if test "$GCC" = yes; then
4614 GENCCODE_ASSEMBLY
="-a gcc"
4617 if test "$GCC" = yes; then
4618 GENCCODE_ASSEMBLY
="-a gcc"
4620 GENCCODE_ASSEMBLY
="-a sun-x86"
4623 GENCCODE_ASSEMBLY
="-a sun"
4626 GENCCODE_ASSEMBLY
="-a aCC-ia64"
4633 ac_cpp
='$CPP $CPPFLAGS'
4634 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4635 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4636 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4637 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4638 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4639 # On Suns, sometimes $CPP names a directory.
4640 if test -n "$CPP" && test -d "$CPP"; then
4643 if test -z "$CPP"; then
4644 if test "${ac_cv_prog_CPP+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 # Double quotes because CPP needs to be expanded
4648 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4651 for ac_c_preproc_warn_flag
in '' yes
4653 # Use a header file that comes with gcc, so configuring glibc
4654 # with a fresh cross-compiler works.
4655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4656 # <limits.h> exists even on freestanding compilers.
4657 # On the NeXT, cc -E runs the code through the compiler's parser,
4658 # not just through cpp. "Syntax error" is here to catch this case.
4659 cat >conftest.
$ac_ext <<_ACEOF
4662 cat confdefs.h
>>conftest.
$ac_ext
4663 cat >>conftest.
$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4666 # include <limits.h>
4668 # include <assert.h>
4672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4675 grep -v '^ *+' conftest.er1
>conftest.err
4677 cat conftest.err
>&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } >/dev
/null
; then
4680 if test -s conftest.err
; then
4681 ac_cpp_err
=$ac_c_preproc_warn_flag
4682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4689 if test -z "$ac_cpp_err"; then
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 # Broken: fails on valid input.
4698 rm -f conftest.err conftest.
$ac_ext
4700 # OK, works on sane cases. Now check whether non-existent headers
4701 # can be detected and how.
4702 cat >conftest.
$ac_ext <<_ACEOF
4705 cat confdefs.h
>>conftest.
$ac_ext
4706 cat >>conftest.
$ac_ext <<_ACEOF
4707 /* end confdefs.h. */
4708 #include <ac_nonexistent.h>
4710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4713 grep -v '^ *+' conftest.er1
>conftest.err
4715 cat conftest.err
>&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); } >/dev
/null
; then
4718 if test -s conftest.err
; then
4719 ac_cpp_err
=$ac_c_preproc_warn_flag
4720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4727 if test -z "$ac_cpp_err"; then
4728 # Broken: success on invalid input.
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.
$ac_ext >&5
4734 # Passes both tests.
4738 rm -f conftest.err conftest.
$ac_ext
4741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4742 rm -f conftest.err conftest.
$ac_ext
4743 if $ac_preproc_ok; then
4755 echo "$as_me:$LINENO: result: $CPP" >&5
4756 echo "${ECHO_T}$CPP" >&6
4758 for ac_c_preproc_warn_flag
in '' yes
4760 # Use a header file that comes with gcc, so configuring glibc
4761 # with a fresh cross-compiler works.
4762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4763 # <limits.h> exists even on freestanding compilers.
4764 # On the NeXT, cc -E runs the code through the compiler's parser,
4765 # not just through cpp. "Syntax error" is here to catch this case.
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4773 # include <limits.h>
4775 # include <assert.h>
4779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4782 grep -v '^ *+' conftest.er1
>conftest.err
4784 cat conftest.err
>&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); } >/dev
/null
; then
4787 if test -s conftest.err
; then
4788 ac_cpp_err
=$ac_c_preproc_warn_flag
4789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4796 if test -z "$ac_cpp_err"; then
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.
$ac_ext >&5
4802 # Broken: fails on valid input.
4805 rm -f conftest.err conftest.
$ac_ext
4807 # OK, works on sane cases. Now check whether non-existent headers
4808 # can be detected and how.
4809 cat >conftest.
$ac_ext <<_ACEOF
4812 cat confdefs.h
>>conftest.
$ac_ext
4813 cat >>conftest.
$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4815 #include <ac_nonexistent.h>
4817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4820 grep -v '^ *+' conftest.er1
>conftest.err
4822 cat conftest.err
>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } >/dev
/null
; then
4825 if test -s conftest.err
; then
4826 ac_cpp_err
=$ac_c_preproc_warn_flag
4827 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4834 if test -z "$ac_cpp_err"; then
4835 # Broken: success on invalid input.
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.
$ac_ext >&5
4841 # Passes both tests.
4845 rm -f conftest.err conftest.
$ac_ext
4848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4849 rm -f conftest.err conftest.
$ac_ext
4850 if $ac_preproc_ok; then
4853 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4854 See \`config.log' for more details." >&5
4855 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4856 See \`config.log' for more details." >&2;}
4857 { (exit 1); exit 1; }; }
4861 ac_cpp
='$CPP $CPPFLAGS'
4862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4867 echo "$as_me:$LINENO: checking for egrep" >&5
4868 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4869 if test "${ac_cv_prog_egrep+set}" = set; then
4870 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4873 then ac_cv_prog_egrep
='grep -E'
4874 else ac_cv_prog_egrep
='egrep'
4877 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4878 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4879 EGREP
=$ac_cv_prog_egrep
4882 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4883 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4884 if test "${ac_cv_header_stdc+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 cat >conftest.
$ac_ext <<_ACEOF
4890 cat confdefs.h
>>conftest.
$ac_ext
4891 cat >>conftest.
$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4906 rm -f conftest.
$ac_objext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908 (eval $ac_compile) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try
='test -z "$ac_c_werror_flag"
4916 || test ! -s conftest.err'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; } &&
4922 { ac_try
='test -s conftest.$ac_objext'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; }; then
4928 ac_cv_header_stdc
=yes
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 ac_cv_header_stdc
=no
4935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4937 if test $ac_cv_header_stdc = yes; then
4938 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4939 cat >conftest.
$ac_ext <<_ACEOF
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4949 $EGREP "memchr" >/dev
/null
2>&1; then
4952 ac_cv_header_stdc
=no
4958 if test $ac_cv_header_stdc = yes; then
4959 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4960 cat >conftest.
$ac_ext <<_ACEOF
4963 cat confdefs.h
>>conftest.
$ac_ext
4964 cat >>conftest.
$ac_ext <<_ACEOF
4965 /* end confdefs.h. */
4969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4970 $EGREP "free" >/dev
/null
2>&1; then
4973 ac_cv_header_stdc
=no
4979 if test $ac_cv_header_stdc = yes; then
4980 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4981 if test "$cross_compiling" = yes; then
4984 cat >conftest.
$ac_ext <<_ACEOF
4987 cat confdefs.h
>>conftest.
$ac_ext
4988 cat >>conftest.
$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4991 #if ((' ' & 0x0FF) == 0x020)
4992 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4993 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4995 # define ISLOWER(c) \
4996 (('a' <= (c) && (c) <= 'i') \
4997 || ('j' <= (c) && (c) <= 'r') \
4998 || ('s' <= (c) && (c) <= 'z'))
4999 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5002 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5007 for (i = 0; i < 256; i++)
5008 if (XOR (islower (i), ISLOWER (i))
5009 || toupper (i) != TOUPPER (i))
5014 rm -f conftest
$ac_exeext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5016 (eval $ac_link) 2>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5027 echo "$as_me: program exited with status $ac_status" >&5
5028 echo "$as_me: failed program was:" >&5
5029 sed 's/^/| /' conftest.
$ac_ext >&5
5032 ac_cv_header_stdc
=no
5034 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5038 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5039 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5040 if test $ac_cv_header_stdc = yes; then
5042 cat >>confdefs.h
<<\_ACEOF
5043 #define STDC_HEADERS 1
5048 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5058 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5059 inttypes.h stdint.h unistd.h
5061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5062 echo "$as_me:$LINENO: checking for $ac_header" >&5
5063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 cat >conftest.
$ac_ext <<_ACEOF
5070 cat confdefs.h
>>conftest.
$ac_ext
5071 cat >>conftest.
$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5073 $ac_includes_default
5075 #include <$ac_header>
5077 rm -f conftest.
$ac_objext
5078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5079 (eval $ac_compile) 2>conftest.er1
5081 grep -v '^ *+' conftest.er1
>conftest.err
5083 cat conftest.err
>&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } &&
5086 { ac_try
='test -z "$ac_c_werror_flag"
5087 || test ! -s conftest.err'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; } &&
5093 { ac_try
='test -s conftest.$ac_objext'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; }; then
5099 eval "$as_ac_Header=yes"
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5104 eval "$as_ac_Header=no"
5106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5111 cat >>confdefs.h
<<_ACEOF
5112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5121 for ac_header
in inttypes.h
5123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5125 echo "$as_me:$LINENO: checking for $ac_header" >&5
5126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5133 # Is the header compilable?
5134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5136 cat >conftest.
$ac_ext <<_ACEOF
5139 cat confdefs.h
>>conftest.
$ac_ext
5140 cat >>conftest.
$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5142 $ac_includes_default
5143 #include <$ac_header>
5145 rm -f conftest.
$ac_objext
5146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5147 (eval $ac_compile) 2>conftest.er1
5149 grep -v '^ *+' conftest.er1
>conftest.err
5151 cat conftest.err
>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } &&
5154 { ac_try
='test -z "$ac_c_werror_flag"
5155 || test ! -s conftest.err'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; } &&
5161 { ac_try
='test -s conftest.$ac_objext'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; }; then
5167 ac_header_compiler
=yes
5169 echo "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.
$ac_ext >&5
5172 ac_header_compiler
=no
5174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5176 echo "${ECHO_T}$ac_header_compiler" >&6
5178 # Is the header present?
5179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5181 cat >conftest.
$ac_ext <<_ACEOF
5184 cat confdefs.h
>>conftest.
$ac_ext
5185 cat >>conftest.
$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5187 #include <$ac_header>
5189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5190 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5192 grep -v '^ *+' conftest.er1
>conftest.err
5194 cat conftest.err
>&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev
/null
; then
5197 if test -s conftest.err
; then
5198 ac_cpp_err
=$ac_c_preproc_warn_flag
5199 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5206 if test -z "$ac_cpp_err"; then
5207 ac_header_preproc
=yes
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.
$ac_ext >&5
5212 ac_header_preproc
=no
5214 rm -f conftest.err conftest.
$ac_ext
5215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5216 echo "${ECHO_T}$ac_header_preproc" >&6
5218 # So? What about this header?
5219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5225 ac_header_preproc
=yes
5228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5242 ## ------------------------------------------ ##
5243 ## Report this to the AC_PACKAGE_NAME lists. ##
5244 ## ------------------------------------------ ##
5247 sed "s/^/$as_me: WARNING: /" >&2
5250 echo "$as_me:$LINENO: checking for $ac_header" >&5
5251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 eval "$as_ac_Header=\$ac_header_preproc"
5257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5262 cat >>confdefs.h
<<_ACEOF
5263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5270 if test $ac_cv_header_inttypes_h = no
; then
5275 if test "$CC" = ccc
; then
5276 echo "$as_me:$LINENO: result: \"C compiler set to CCC ${CC}\" " >&5
5277 echo "${ECHO_T}\"C compiler set to CCC ${CC}\" " >&6
5279 alpha
*-*-*) U_HAVE_INTTYPES_H
=0;
5286 # Check whether --with-iostream or --without-iostream was given.
5287 if test "${with_iostream+set}" = set; then
5288 withval
="$with_iostream"
5289 case "${withval}" in
5290 none
) streams
=none
;;
5291 old
) streams
=198506 ;;
5292 std
) streams
=199711 ;;
5294 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-iostream" >&5
5295 echo "$as_me: error: bad value ${withval} for --with-iostream" >&2;}
5296 { (exit 1); exit 1; }; } ;;
5303 if test x
$streams != xnone
5308 ac_cpp
='$CXXCPP $CPPFLAGS'
5309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5313 OLD_CXXFLAGS
="${CXXFLAGS}"
5314 case "${icu_cv_host_frag}" in
5316 CXXFLAGS
="${CXXFLAGS} -AA"
5319 echo "$as_me:$LINENO: checking for iostream usability" >&5
5320 echo $ECHO_N "checking for iostream usability... $ECHO_C" >&6
5322 cat >conftest.
$ac_ext <<_ACEOF
5325 cat confdefs.h
>>conftest.
$ac_ext
5326 cat >>conftest.
$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5337 rm -f conftest.
$ac_objext
5338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5339 (eval $ac_compile) 2>conftest.er1
5341 grep -v '^ *+' conftest.er1
>conftest.err
5343 cat conftest.err
>&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); } &&
5346 { ac_try
='test -z "$ac_cxx_werror_flag"
5347 || test ! -s conftest.err'
5348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; } &&
5353 { ac_try
='test -s conftest.$ac_objext'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; }; then
5359 ac_cv_header_iostream
=yes
5361 echo "$as_me: failed program was:" >&5
5362 sed 's/^/| /' conftest.
$ac_ext >&5
5364 ac_cv_header_iostream
=no
5366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5367 if test $icu_cv_host_frag = mh
-cygwin-msvc
5369 ac_cv_header_iostream
=yes
5371 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5372 echo "${ECHO_T}$ac_cv_header_iostream" >&6
5373 if test $ac_cv_header_iostream = yes
5375 U_IOSTREAM_SOURCE
=199711
5377 CXXFLAGS
="${OLD_CXXFLAGS}"
5378 echo "$as_me:$LINENO: checking whether ostream in iostream.h is really defined" >&5
5379 echo $ECHO_N "checking whether ostream in iostream.h is really defined... $ECHO_C" >&6
5380 if test "${ac_cv_iostream_ok+set}" = set; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 cat >conftest.
$ac_ext <<_ACEOF
5386 cat confdefs.h
>>conftest.
$ac_ext
5387 cat >>conftest.
$ac_ext <<_ACEOF
5388 /* end confdefs.h. */
5389 #include <iostream.h>
5393 ostream &testout = cout; testout << "test" << endl;
5398 rm -f conftest.
$ac_objext conftest
$ac_exeext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5400 (eval $ac_link) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1
>conftest.err
5404 cat conftest.err
>&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try
='test -z "$ac_cxx_werror_flag"
5408 || test ! -s conftest.err'
5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); }; } &&
5414 { ac_try
='test -s conftest$ac_exeext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 ac_cv_iostream_ok
=yes
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.
$ac_ext >&5
5425 ac_cv_iostream_ok
=no
5427 rm -f conftest.err conftest.
$ac_objext \
5428 conftest
$ac_exeext conftest.
$ac_ext
5431 echo "$as_me:$LINENO: result: $ac_cv_iostream_ok" >&5
5432 echo "${ECHO_T}$ac_cv_iostream_ok" >&6
5433 if test $ac_cv_iostream_ok = yes
5435 U_IOSTREAM_SOURCE
=198506
5438 if test x
$streams != x
5440 if test $U_IOSTREAM_SOURCE -ge $streams
5442 U_IOSTREAM_SOURCE
=$streams
5443 case "${icu_cv_host_frag}" in
5445 if test $U_IOSTREAM_SOURCE -lt 199711; then
5446 CXXFLAGS
=${OLD_CXXFLAGS}
5451 { { echo "$as_me:$LINENO: error: ${withval} iostream is not available" >&5
5452 echo "$as_me: error: ${withval} iostream is not available" >&2;}
5453 { (exit 1); exit 1; }; }
5459 ac_cpp
='$CPP $CPPFLAGS'
5460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5465 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5466 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5467 if test "${ac_cv_c_bigendian+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 # See if sys/param.h defines the BYTE_ORDER macro.
5471 cat >conftest.
$ac_ext <<_ACEOF
5474 cat confdefs.h
>>conftest.
$ac_ext
5475 cat >>conftest.
$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5477 #include <sys/types.h>
5478 #include <sys/param.h>
5483 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5491 rm -f conftest.
$ac_objext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>conftest.er1
5495 grep -v '^ *+' conftest.er1
>conftest.err
5497 cat conftest.err
>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } &&
5500 { ac_try
='test -z "$ac_c_werror_flag"
5501 || test ! -s conftest.err'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; } &&
5507 { ac_try
='test -s conftest.$ac_objext'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; }; then
5513 # It does; now see whether it defined to BIG_ENDIAN or not.
5514 cat >conftest.
$ac_ext <<_ACEOF
5517 cat confdefs.h
>>conftest.
$ac_ext
5518 cat >>conftest.
$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <sys/types.h>
5521 #include <sys/param.h>
5526 #if BYTE_ORDER != BIG_ENDIAN
5534 rm -f conftest.
$ac_objext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_c_werror_flag"
5544 || test ! -s conftest.err'
5545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; } &&
5550 { ac_try
='test -s conftest.$ac_objext'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; }; then
5556 ac_cv_c_bigendian
=yes
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.
$ac_ext >&5
5561 ac_cv_c_bigendian
=no
5563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5565 echo "$as_me: failed program was:" >&5
5566 sed 's/^/| /' conftest.
$ac_ext >&5
5568 # It does not; compile a test program.
5569 if test "$cross_compiling" = yes; then
5570 # try to guess the endianness by grepping values into an object file
5571 ac_cv_c_bigendian
=unknown
5572 cat >conftest.
$ac_ext <<_ACEOF
5575 cat confdefs.h
>>conftest.
$ac_ext
5576 cat >>conftest.
$ac_ext <<_ACEOF
5577 /* end confdefs.h. */
5578 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5579 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5580 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5581 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5582 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5583 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5587 _ascii (); _ebcdic ();
5592 rm -f conftest.
$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1
>conftest.err
5598 cat conftest.err
>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try
='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try
='test -s conftest.$ac_objext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5615 ac_cv_c_bigendian
=yes
5617 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5618 if test "$ac_cv_c_bigendian" = unknown
; then
5619 ac_cv_c_bigendian
=no
5621 # finding both strings is unlikely to happen, but who knows?
5622 ac_cv_c_bigendian
=unknown
5626 echo "$as_me: failed program was:" >&5
5627 sed 's/^/| /' conftest.
$ac_ext >&5
5630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5632 cat >conftest.
$ac_ext <<_ACEOF
5635 cat confdefs.h
>>conftest.
$ac_ext
5636 cat >>conftest.
$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5641 /* Are we little or big endian? From Harbison&Steele. */
5645 char c[sizeof (long)];
5648 exit (u.c[sizeof (long) - 1] == 1);
5651 rm -f conftest
$ac_exeext
5652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5653 (eval $ac_link) 2>&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5662 ac_cv_c_bigendian
=no
5664 echo "$as_me: program exited with status $ac_status" >&5
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.
$ac_ext >&5
5669 ac_cv_c_bigendian
=yes
5671 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5676 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5677 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5678 case $ac_cv_c_bigendian in
5681 cat >>confdefs.h
<<\_ACEOF
5682 #define WORDS_BIGENDIAN 1
5688 { { echo "$as_me:$LINENO: error: unknown endianness
5689 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5690 echo "$as_me: error: unknown endianness
5691 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5692 { (exit 1); exit 1; }; } ;;
5695 if test $ac_cv_c_bigendian = no
; then
5704 U_HAVE_NL_LANGINFO_CODESET
=0
5705 U_NL_LANGINFO_CODESET
=-1
5706 echo "$as_me:$LINENO: checking for nl_langinfo" >&5
5707 echo $ECHO_N "checking for nl_langinfo... $ECHO_C" >&6
5708 if test "${ac_cv_func_nl_langinfo+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 /* Define nl_langinfo to an innocuous variant, in case <limits.h> declares nl_langinfo.
5718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5719 #define nl_langinfo innocuous_nl_langinfo
5721 /* System header to define __stub macros and hopefully few prototypes,
5722 which can conflict with char nl_langinfo (); below.
5723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5724 <limits.h> exists even on freestanding compilers. */
5727 # include <limits.h>
5729 # include <assert.h>
5734 /* Override any gcc2 internal prototype to avoid an error. */
5739 /* We use char because int might match the return type of a gcc2
5740 builtin and then its argument prototype would still apply. */
5741 char nl_langinfo ();
5742 /* The GNU C library defines this for functions which it implements
5743 to always fail with ENOSYS. Some functions are actually named
5744 something starting with __ and the normal name is an alias. */
5745 #if defined (__stub_nl_langinfo) || defined (__stub___nl_langinfo)
5748 char (*f) () = nl_langinfo;
5757 return f != nl_langinfo;
5762 rm -f conftest.
$ac_objext conftest
$ac_exeext
5763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5764 (eval $ac_link) 2>conftest.er1
5766 grep -v '^ *+' conftest.er1
>conftest.err
5768 cat conftest.err
>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } &&
5771 { ac_try
='test -z "$ac_c_werror_flag"
5772 || test ! -s conftest.err'
5773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }; } &&
5778 { ac_try
='test -s conftest$ac_exeext'
5779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); }; }; then
5784 ac_cv_func_nl_langinfo
=yes
5786 echo "$as_me: failed program was:" >&5
5787 sed 's/^/| /' conftest.
$ac_ext >&5
5789 ac_cv_func_nl_langinfo
=no
5791 rm -f conftest.err conftest.
$ac_objext \
5792 conftest
$ac_exeext conftest.
$ac_ext
5794 echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
5795 echo "${ECHO_T}$ac_cv_func_nl_langinfo" >&6
5796 if test $ac_cv_func_nl_langinfo = yes; then
5797 U_HAVE_NL_LANGINFO
=1
5799 U_HAVE_NL_LANGINFO
=0
5802 if test $U_HAVE_NL_LANGINFO -eq 1; then
5803 echo "$as_me:$LINENO: checking for nl_langinfo's argument to obtain the codeset" >&5
5804 echo $ECHO_N "checking for nl_langinfo's argument to obtain the codeset... $ECHO_C" >&6
5805 if test "${ac_cv_nl_langinfo_codeset+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 ac_cv_nl_langinfo_codeset
="unknown"
5809 for a
in CODESET _NL_CTYPE_CODESET_NAME
; do
5810 cat >conftest.
$ac_ext <<_ACEOF
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5816 #include <langinfo.h>
5825 rm -f conftest.
$ac_objext conftest
$ac_exeext
5826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5827 (eval $ac_link) 2>conftest.er1
5829 grep -v '^ *+' conftest.er1
>conftest.err
5831 cat conftest.err
>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } &&
5834 { ac_try
='test -z "$ac_c_werror_flag"
5835 || test ! -s conftest.err'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; } &&
5841 { ac_try
='test -s conftest$ac_exeext'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; }; then
5847 ac_cv_nl_langinfo_codeset
="$a"; break
5849 echo "$as_me: failed program was:" >&5
5850 sed 's/^/| /' conftest.
$ac_ext >&5
5853 rm -f conftest.err conftest.
$ac_objext \
5854 conftest
$ac_exeext conftest.
$ac_ext
5857 echo "$as_me:$LINENO: result: $ac_cv_nl_langinfo_codeset" >&5
5858 echo "${ECHO_T}$ac_cv_nl_langinfo_codeset" >&6
5859 if test x
$ac_cv_nl_langinfo_codeset != xunknown
5861 U_HAVE_NL_LANGINFO_CODESET
=1
5862 U_NL_LANGINFO_CODESET
=$ac_cv_nl_langinfo_codeset
5869 ac_cpp
='$CXXCPP $CPPFLAGS'
5870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5874 echo "$as_me:$LINENO: checking for namespace support" >&5
5875 echo $ECHO_N "checking for namespace support... $ECHO_C" >&6
5876 if test "${ac_cv_namespace_ok+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 cat >conftest.
$ac_ext <<_ACEOF
5882 cat confdefs.h
>>conftest.
$ac_ext
5883 cat >>conftest.
$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5885 namespace x_version {void f(){}}
5886 namespace x = x_version;
5887 using namespace x_version;
5897 rm -f conftest.
$ac_objext conftest
$ac_exeext
5898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5899 (eval $ac_link) 2>conftest.er1
5901 grep -v '^ *+' conftest.er1
>conftest.err
5903 cat conftest.err
>&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); } &&
5906 { ac_try
='test -z "$ac_cxx_werror_flag"
5907 || test ! -s conftest.err'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; } &&
5913 { ac_try
='test -s conftest$ac_exeext'
5914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); }; }; then
5919 ac_cv_namespace_ok
=yes
5921 echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5924 ac_cv_namespace_ok
=no
5926 rm -f conftest.err conftest.
$ac_objext \
5927 conftest
$ac_exeext conftest.
$ac_ext
5930 echo "$as_me:$LINENO: result: $ac_cv_namespace_ok" >&5
5931 echo "${ECHO_T}$ac_cv_namespace_ok" >&6
5933 if test $ac_cv_namespace_ok = no
5939 echo "$as_me:$LINENO: checking for properly overriding new and delete" >&5
5940 echo $ECHO_N "checking for properly overriding new and delete... $ECHO_C" >&6
5941 U_OVERRIDE_CXX_ALLOCATION
=0
5942 U_HAVE_PLACEMENT_NEW
=0
5943 if test "${ac_cv_override_cxx_allocation_ok+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 cat >conftest.
$ac_ext <<_ACEOF
5949 cat confdefs.h
>>conftest.
$ac_ext
5950 cat >>conftest.
$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5955 void *operator new(size_t size) {return malloc(size);}
5956 void *operator new[](size_t size) {return malloc(size);}
5957 void operator delete(void *p) {free(p);}
5958 void operator delete[](void *p) {free(p);}
5969 rm -f conftest.
$ac_objext conftest
$ac_exeext
5970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5971 (eval $ac_link) 2>conftest.er1
5973 grep -v '^ *+' conftest.er1
>conftest.err
5975 cat conftest.err
>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } &&
5978 { ac_try
='test -z "$ac_cxx_werror_flag"
5979 || test ! -s conftest.err'
5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); }; } &&
5985 { ac_try
='test -s conftest$ac_exeext'
5986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); }; }; then
5991 ac_cv_override_cxx_allocation_ok
=yes
5993 echo "$as_me: failed program was:" >&5
5994 sed 's/^/| /' conftest.
$ac_ext >&5
5996 ac_cv_override_cxx_allocation_ok
=no
5998 rm -f conftest.err conftest.
$ac_objext \
5999 conftest
$ac_exeext conftest.
$ac_ext
6002 echo "$as_me:$LINENO: result: $ac_cv_override_cxx_allocation_ok" >&5
6003 echo "${ECHO_T}$ac_cv_override_cxx_allocation_ok" >&6
6004 if test $ac_cv_override_cxx_allocation_ok = yes
6006 U_OVERRIDE_CXX_ALLOCATION
=1
6007 echo "$as_me:$LINENO: checking for placement new and delete" >&5
6008 echo $ECHO_N "checking for placement new and delete... $ECHO_C" >&6
6009 if test "${ac_cv_override_placement_new_ok+set}" = set; then
6010 echo $ECHO_N "(cached) $ECHO_C" >&6
6012 cat >conftest.
$ac_ext <<_ACEOF
6015 cat confdefs.h
>>conftest.
$ac_ext
6016 cat >>conftest.
$ac_ext <<_ACEOF
6017 /* end confdefs.h. */
6021 void *operator new(size_t size) {return malloc(size);}
6022 void *operator new[](size_t size) {return malloc(size);}
6023 void operator delete(void *p) {free(p);}
6024 void operator delete[](void *p) {free(p);}
6025 void * operator new(size_t, void *ptr) { return ptr; }
6026 void operator delete(void *, void *) {}
6037 rm -f conftest.
$ac_objext conftest
$ac_exeext
6038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6039 (eval $ac_link) 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } &&
6046 { ac_try
='test -z "$ac_cxx_werror_flag"
6047 || test ! -s conftest.err'
6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); }; } &&
6053 { ac_try
='test -s conftest$ac_exeext'
6054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); }; }; then
6059 ac_cv_override_placement_new_ok
=yes
6061 echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.
$ac_ext >&5
6064 ac_cv_override_placement_new_ok
=no
6066 rm -f conftest.err conftest.
$ac_objext \
6067 conftest
$ac_exeext conftest.
$ac_ext
6070 echo "$as_me:$LINENO: result: $ac_cv_override_placement_new_ok" >&5
6071 echo "${ECHO_T}$ac_cv_override_placement_new_ok" >&6
6072 if test $ac_cv_override_placement_new_ok = yes
6074 U_HAVE_PLACEMENT_NEW
=1
6081 ac_cpp
='$CPP $CPPFLAGS'
6082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6086 echo "$as_me:$LINENO: checking for popen" >&5
6087 echo $ECHO_N "checking for popen... $ECHO_C" >&6
6088 if test "${ac_cv_func_popen+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 cat >conftest.
$ac_ext <<_ACEOF
6094 cat confdefs.h
>>conftest.
$ac_ext
6095 cat >>conftest.
$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6097 /* Define popen to an innocuous variant, in case <limits.h> declares popen.
6098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6099 #define popen innocuous_popen
6101 /* System header to define __stub macros and hopefully few prototypes,
6102 which can conflict with char popen (); below.
6103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6104 <limits.h> exists even on freestanding compilers. */
6107 # include <limits.h>
6109 # include <assert.h>
6114 /* Override any gcc2 internal prototype to avoid an error. */
6119 /* We use char because int might match the return type of a gcc2
6120 builtin and then its argument prototype would still apply. */
6122 /* The GNU C library defines this for functions which it implements
6123 to always fail with ENOSYS. Some functions are actually named
6124 something starting with __ and the normal name is an alias. */
6125 #if defined (__stub_popen) || defined (__stub___popen)
6128 char (*f) () = popen;
6142 rm -f conftest.
$ac_objext conftest
$ac_exeext
6143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6144 (eval $ac_link) 2>conftest.er1
6146 grep -v '^ *+' conftest.er1
>conftest.err
6148 cat conftest.err
>&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); } &&
6151 { ac_try
='test -z "$ac_c_werror_flag"
6152 || test ! -s conftest.err'
6153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); }; } &&
6158 { ac_try
='test -s conftest$ac_exeext'
6159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6164 ac_cv_func_popen
=yes
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.
$ac_ext >&5
6171 rm -f conftest.err conftest.
$ac_objext \
6172 conftest
$ac_exeext conftest.
$ac_ext
6174 echo "$as_me:$LINENO: result: $ac_cv_func_popen" >&5
6175 echo "${ECHO_T}$ac_cv_func_popen" >&6
6177 if test x
$ac_cv_func_popen = xyes
6185 echo "$as_me:$LINENO: checking for tzset" >&5
6186 echo $ECHO_N "checking for tzset... $ECHO_C" >&6
6187 if test "${ac_cv_func_tzset+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 cat >conftest.
$ac_ext <<_ACEOF
6193 cat confdefs.h
>>conftest.
$ac_ext
6194 cat >>conftest.
$ac_ext <<_ACEOF
6195 /* end confdefs.h. */
6196 /* Define tzset to an innocuous variant, in case <limits.h> declares tzset.
6197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6198 #define tzset innocuous_tzset
6200 /* System header to define __stub macros and hopefully few prototypes,
6201 which can conflict with char tzset (); below.
6202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6203 <limits.h> exists even on freestanding compilers. */
6206 # include <limits.h>
6208 # include <assert.h>
6213 /* Override any gcc2 internal prototype to avoid an error. */
6218 /* We use char because int might match the return type of a gcc2
6219 builtin and then its argument prototype would still apply. */
6221 /* The GNU C library defines this for functions which it implements
6222 to always fail with ENOSYS. Some functions are actually named
6223 something starting with __ and the normal name is an alias. */
6224 #if defined (__stub_tzset) || defined (__stub___tzset)
6227 char (*f) () = tzset;
6241 rm -f conftest.
$ac_objext conftest
$ac_exeext
6242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6243 (eval $ac_link) 2>conftest.er1
6245 grep -v '^ *+' conftest.er1
>conftest.err
6247 cat conftest.err
>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } &&
6250 { ac_try
='test -z "$ac_c_werror_flag"
6251 || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try
='test -s conftest$ac_exeext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 ac_cv_func_tzset
=yes
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.
$ac_ext >&5
6270 rm -f conftest.err conftest.
$ac_objext \
6271 conftest
$ac_exeext conftest.
$ac_ext
6273 echo "$as_me:$LINENO: result: $ac_cv_func_tzset" >&5
6274 echo "${ECHO_T}$ac_cv_func_tzset" >&6
6277 if test x
$ac_cv_func_tzset = xyes
6282 echo "$as_me:$LINENO: checking for _tzset" >&5
6283 echo $ECHO_N "checking for _tzset... $ECHO_C" >&6
6284 if test "${ac_cv_func__tzset+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 cat >conftest.
$ac_ext <<_ACEOF
6290 cat confdefs.h
>>conftest.
$ac_ext
6291 cat >>conftest.
$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 /* Define _tzset to an innocuous variant, in case <limits.h> declares _tzset.
6294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6295 #define _tzset innocuous__tzset
6297 /* System header to define __stub macros and hopefully few prototypes,
6298 which can conflict with char _tzset (); below.
6299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6300 <limits.h> exists even on freestanding compilers. */
6303 # include <limits.h>
6305 # include <assert.h>
6310 /* Override any gcc2 internal prototype to avoid an error. */
6315 /* We use char because int might match the return type of a gcc2
6316 builtin and then its argument prototype would still apply. */
6318 /* The GNU C library defines this for functions which it implements
6319 to always fail with ENOSYS. Some functions are actually named
6320 something starting with __ and the normal name is an alias. */
6321 #if defined (__stub__tzset) || defined (__stub____tzset)
6324 char (*f) () = _tzset;
6338 rm -f conftest.
$ac_objext conftest
$ac_exeext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6340 (eval $ac_link) 2>conftest.er1
6342 grep -v '^ *+' conftest.er1
>conftest.err
6344 cat conftest.err
>&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try
='test -z "$ac_c_werror_flag"
6348 || test ! -s conftest.err'
6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); }; } &&
6354 { ac_try
='test -s conftest$ac_exeext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 ac_cv_func__tzset
=yes
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.
$ac_ext >&5
6365 ac_cv_func__tzset
=no
6367 rm -f conftest.err conftest.
$ac_objext \
6368 conftest
$ac_exeext conftest.
$ac_ext
6370 echo "$as_me:$LINENO: result: $ac_cv_func__tzset" >&5
6371 echo "${ECHO_T}$ac_cv_func__tzset" >&6
6373 if test x
$ac_cv_func__tzset = xyes
6383 echo "$as_me:$LINENO: checking for tzname" >&5
6384 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6385 if test "${ac_cv_var_tzname+set}" = set; then
6386 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 cat >conftest.
$ac_ext <<_ACEOF
6391 cat confdefs.h
>>conftest.
$ac_ext
6392 cat >>conftest.
$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6399 #ifndef tzname /* For SGI. */
6400 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6410 rm -f conftest.
$ac_objext conftest
$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag"
6420 || test ! -s conftest.err'
6421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); }; } &&
6426 { ac_try
='test -s conftest$ac_exeext'
6427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); }; }; then
6432 ac_cv_var_tzname
=yes
6434 echo "$as_me: failed program was:" >&5
6435 sed 's/^/| /' conftest.
$ac_ext >&5
6439 rm -f conftest.err conftest.
$ac_objext \
6440 conftest
$ac_exeext conftest.
$ac_ext
6442 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6443 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6444 if test $ac_cv_var_tzname = yes; then
6448 echo "$as_me:$LINENO: checking for _tzname" >&5
6449 echo $ECHO_N "checking for _tzname... $ECHO_C" >&6
6450 if test "${ac_cv_var__tzname+set}" = set; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 cat >conftest.
$ac_ext <<_ACEOF
6456 cat confdefs.h
>>conftest.
$ac_ext
6457 cat >>conftest.
$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6461 extern char *_tzname[];
6471 rm -f conftest.
$ac_objext conftest
$ac_exeext
6472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6473 (eval $ac_link) 2>conftest.er1
6475 grep -v '^ *+' conftest.er1
>conftest.err
6477 cat conftest.err
>&5
6478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6479 (exit $ac_status); } &&
6480 { ac_try
='test -z "$ac_c_werror_flag"
6481 || test ! -s conftest.err'
6482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); }; } &&
6487 { ac_try
='test -s conftest$ac_exeext'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; }; then
6493 ac_cv_var__tzname
=yes
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.
$ac_ext >&5
6498 ac_cv_var__tzname
=no
6500 rm -f conftest.err conftest.
$ac_objext \
6501 conftest
$ac_exeext conftest.
$ac_ext
6503 echo "$as_me:$LINENO: result: $ac_cv_var__tzname" >&5
6504 echo "${ECHO_T}$ac_cv_var__tzname" >&6
6505 if test $ac_cv_var__tzname = yes; then
6513 echo "$as_me:$LINENO: checking for timezone" >&5
6514 echo $ECHO_N "checking for timezone... $ECHO_C" >&6
6515 if test "${ac_cv_var_timezone+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 cat >conftest.
$ac_ext <<_ACEOF
6521 cat confdefs.h
>>conftest.
$ac_ext
6522 cat >>conftest.
$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6540 rm -f conftest.
$ac_objext conftest
$ac_exeext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6542 (eval $ac_link) 2>conftest.er1
6544 grep -v '^ *+' conftest.er1
>conftest.err
6546 cat conftest.err
>&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } &&
6549 { ac_try
='test -z "$ac_c_werror_flag"
6550 || test ! -s conftest.err'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; } &&
6556 { ac_try
='test -s conftest$ac_exeext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6562 ac_cv_var_timezone
=yes
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.
$ac_ext >&5
6567 ac_cv_var_timezone
=no
6569 rm -f conftest.err conftest.
$ac_objext \
6570 conftest
$ac_exeext conftest.
$ac_ext
6572 echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5
6573 echo "${ECHO_T}$ac_cv_var_timezone" >&6
6575 if test $ac_cv_var_timezone = yes; then
6579 echo "$as_me:$LINENO: checking for __timezone" >&5
6580 echo $ECHO_N "checking for __timezone... $ECHO_C" >&6
6581 if test "${ac_cv_var___timezone+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6584 cat >conftest.
$ac_ext <<_ACEOF
6587 cat confdefs.h
>>conftest.
$ac_ext
6588 cat >>conftest.
$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6599 rm -f conftest.
$ac_objext conftest
$ac_exeext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6601 (eval $ac_link) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try
='test -z "$ac_c_werror_flag"
6609 || test ! -s conftest.err'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; } &&
6615 { ac_try
='test -s conftest$ac_exeext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6621 ac_cv_var___timezone
=yes
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.
$ac_ext >&5
6626 ac_cv_var___timezone
=no
6628 rm -f conftest.err conftest.
$ac_objext \
6629 conftest
$ac_exeext conftest.
$ac_ext
6631 echo "$as_me:$LINENO: result: $ac_cv_var___timezone" >&5
6632 echo "${ECHO_T}$ac_cv_var___timezone" >&6
6633 if test $ac_cv_var___timezone = yes; then
6634 U_TIMEZONE
=__timezone
6637 echo "$as_me:$LINENO: checking for _timezone" >&5
6638 echo $ECHO_N "checking for _timezone... $ECHO_C" >&6
6639 if test "${ac_cv_var__timezone+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 cat >conftest.
$ac_ext <<_ACEOF
6645 cat confdefs.h
>>conftest.
$ac_ext
6646 cat >>conftest.
$ac_ext <<_ACEOF
6647 /* end confdefs.h. */
6657 rm -f conftest.
$ac_objext conftest
$ac_exeext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6659 (eval $ac_link) 2>conftest.er1
6661 grep -v '^ *+' conftest.er1
>conftest.err
6663 cat conftest.err
>&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); } &&
6666 { ac_try
='test -z "$ac_c_werror_flag"
6667 || test ! -s conftest.err'
6668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); }; } &&
6673 { ac_try
='test -s conftest$ac_exeext'
6674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; }; then
6679 ac_cv_var__timezone
=yes
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.
$ac_ext >&5
6684 ac_cv_var__timezone
=no
6686 rm -f conftest.err conftest.
$ac_objext \
6687 conftest
$ac_exeext conftest.
$ac_ext
6689 echo "$as_me:$LINENO: result: $ac_cv_var__timezone" >&5
6690 echo "${ECHO_T}$ac_cv_var__timezone" >&6
6691 if test $ac_cv_var__timezone = yes; then
6692 U_TIMEZONE
=_timezone
6700 echo "$as_me:$LINENO: checking for int8_t" >&5
6701 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
6702 if test "${ac_cv_type_int8_t+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 cat >conftest.
$ac_ext <<_ACEOF
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 $ac_includes_default
6717 if (sizeof (int8_t))
6723 rm -f conftest.
$ac_objext
6724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>conftest.er1
6727 grep -v '^ *+' conftest.er1
>conftest.err
6729 cat conftest.err
>&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); } &&
6732 { ac_try
='test -z "$ac_c_werror_flag"
6733 || test ! -s conftest.err'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; } &&
6739 { ac_try
='test -s conftest.$ac_objext'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6745 ac_cv_type_int8_t
=yes
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.
$ac_ext >&5
6750 ac_cv_type_int8_t
=no
6752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6754 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
6755 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
6756 if test $ac_cv_type_int8_t = yes; then
6760 cat >>confdefs.h
<<_ACEOF
6761 #define int8_t signed char
6766 echo "$as_me:$LINENO: checking for uint8_t" >&5
6767 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
6768 if test "${ac_cv_type_uint8_t+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 cat >conftest.
$ac_ext <<_ACEOF
6774 cat confdefs.h
>>conftest.
$ac_ext
6775 cat >>conftest.
$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6777 $ac_includes_default
6783 if (sizeof (uint8_t))
6789 rm -f conftest.
$ac_objext
6790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6791 (eval $ac_compile) 2>conftest.er1
6793 grep -v '^ *+' conftest.er1
>conftest.err
6795 cat conftest.err
>&5
6796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797 (exit $ac_status); } &&
6798 { ac_try
='test -z "$ac_c_werror_flag"
6799 || test ! -s conftest.err'
6800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); }; } &&
6805 { ac_try
='test -s conftest.$ac_objext'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; }; then
6811 ac_cv_type_uint8_t
=yes
6813 echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.
$ac_ext >&5
6816 ac_cv_type_uint8_t
=no
6818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6820 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
6821 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
6822 if test $ac_cv_type_uint8_t = yes; then
6826 cat >>confdefs.h
<<_ACEOF
6827 #define uint8_t unsigned char
6832 echo "$as_me:$LINENO: checking for int16_t" >&5
6833 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
6834 if test "${ac_cv_type_int16_t+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6837 cat >conftest.
$ac_ext <<_ACEOF
6840 cat confdefs.h
>>conftest.
$ac_ext
6841 cat >>conftest.
$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6843 $ac_includes_default
6849 if (sizeof (int16_t))
6855 rm -f conftest.
$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6859 grep -v '^ *+' conftest.er1
>conftest.err
6861 cat conftest.err
>&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try
='test -z "$ac_c_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try
='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6877 ac_cv_type_int16_t
=yes
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.
$ac_ext >&5
6882 ac_cv_type_int16_t
=no
6884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6886 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
6887 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
6888 if test $ac_cv_type_int16_t = yes; then
6892 cat >>confdefs.h
<<_ACEOF
6893 #define int16_t signed short
6898 echo "$as_me:$LINENO: checking for uint16_t" >&5
6899 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
6900 if test "${ac_cv_type_uint16_t+set}" = set; then
6901 echo $ECHO_N "(cached) $ECHO_C" >&6
6903 cat >conftest.
$ac_ext <<_ACEOF
6906 cat confdefs.h
>>conftest.
$ac_ext
6907 cat >>conftest.
$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 $ac_includes_default
6915 if (sizeof (uint16_t))
6921 rm -f conftest.
$ac_objext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6923 (eval $ac_compile) 2>conftest.er1
6925 grep -v '^ *+' conftest.er1
>conftest.err
6927 cat conftest.err
>&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } &&
6930 { ac_try
='test -z "$ac_c_werror_flag"
6931 || test ! -s conftest.err'
6932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); }; } &&
6937 { ac_try
='test -s conftest.$ac_objext'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; }; then
6943 ac_cv_type_uint16_t
=yes
6945 echo "$as_me: failed program was:" >&5
6946 sed 's/^/| /' conftest.
$ac_ext >&5
6948 ac_cv_type_uint16_t
=no
6950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6952 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6953 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
6954 if test $ac_cv_type_uint16_t = yes; then
6958 cat >>confdefs.h
<<_ACEOF
6959 #define uint16_t unsigned short
6964 echo "$as_me:$LINENO: checking for int32_t" >&5
6965 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6966 if test "${ac_cv_type_int32_t+set}" = set; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 cat >conftest.
$ac_ext <<_ACEOF
6972 cat confdefs.h
>>conftest.
$ac_ext
6973 cat >>conftest.
$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 $ac_includes_default
6981 if (sizeof (int32_t))
6987 rm -f conftest.
$ac_objext
6988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6989 (eval $ac_compile) 2>conftest.er1
6991 grep -v '^ *+' conftest.er1
>conftest.err
6993 cat conftest.err
>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } &&
6996 { ac_try
='test -z "$ac_c_werror_flag"
6997 || test ! -s conftest.err'
6998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 (exit $ac_status); }; } &&
7003 { ac_try
='test -s conftest.$ac_objext'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then
7009 ac_cv_type_int32_t
=yes
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.
$ac_ext >&5
7014 ac_cv_type_int32_t
=no
7016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7018 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
7019 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
7020 if test $ac_cv_type_int32_t = yes; then
7024 cat >>confdefs.h
<<_ACEOF
7025 #define int32_t signed long
7030 echo "$as_me:$LINENO: checking for uint32_t" >&5
7031 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7032 if test "${ac_cv_type_uint32_t+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7035 cat >conftest.
$ac_ext <<_ACEOF
7038 cat confdefs.h
>>conftest.
$ac_ext
7039 cat >>conftest.
$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 $ac_includes_default
7047 if (sizeof (uint32_t))
7053 rm -f conftest.
$ac_objext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7055 (eval $ac_compile) 2>conftest.er1
7057 grep -v '^ *+' conftest.er1
>conftest.err
7059 cat conftest.err
>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } &&
7062 { ac_try
='test -z "$ac_c_werror_flag"
7063 || test ! -s conftest.err'
7064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try
='test -s conftest.$ac_objext'
7070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); }; }; then
7075 ac_cv_type_uint32_t
=yes
7077 echo "$as_me: failed program was:" >&5
7078 sed 's/^/| /' conftest.
$ac_ext >&5
7080 ac_cv_type_uint32_t
=no
7082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7084 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7085 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7086 if test $ac_cv_type_uint32_t = yes; then
7090 cat >>confdefs.h
<<_ACEOF
7091 #define uint32_t unsigned long
7096 echo "$as_me:$LINENO: checking for int64_t" >&5
7097 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
7098 if test "${ac_cv_type_int64_t+set}" = set; then
7099 echo $ECHO_N "(cached) $ECHO_C" >&6
7101 cat >conftest.
$ac_ext <<_ACEOF
7104 cat confdefs.h
>>conftest.
$ac_ext
7105 cat >>conftest.
$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7107 $ac_includes_default
7113 if (sizeof (int64_t))
7119 rm -f conftest.
$ac_objext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7121 (eval $ac_compile) 2>conftest.er1
7123 grep -v '^ *+' conftest.er1
>conftest.err
7125 cat conftest.err
>&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try
='test -z "$ac_c_werror_flag"
7129 || test ! -s conftest.err'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; } &&
7135 { ac_try
='test -s conftest.$ac_objext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7141 ac_cv_type_int64_t
=yes
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.
$ac_ext >&5
7146 ac_cv_type_int64_t
=no
7148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7150 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
7151 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
7152 if test $ac_cv_type_int64_t = yes; then
7156 cat >>confdefs.h
<<_ACEOF
7157 #define int64_t signed long long
7162 echo "$as_me:$LINENO: checking for uint64_t" >&5
7163 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7164 if test "${ac_cv_type_uint64_t+set}" = set; then
7165 echo $ECHO_N "(cached) $ECHO_C" >&6
7167 cat >conftest.
$ac_ext <<_ACEOF
7170 cat confdefs.h
>>conftest.
$ac_ext
7171 cat >>conftest.
$ac_ext <<_ACEOF
7172 /* end confdefs.h. */
7173 $ac_includes_default
7179 if (sizeof (uint64_t))
7185 rm -f conftest.
$ac_objext
7186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7187 (eval $ac_compile) 2>conftest.er1
7189 grep -v '^ *+' conftest.er1
>conftest.err
7191 cat conftest.err
>&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } &&
7194 { ac_try
='test -z "$ac_c_werror_flag"
7195 || test ! -s conftest.err'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; } &&
7201 { ac_try
='test -s conftest.$ac_objext'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; }; then
7207 ac_cv_type_uint64_t
=yes
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.
$ac_ext >&5
7212 ac_cv_type_uint64_t
=no
7214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7216 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7217 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7218 if test $ac_cv_type_uint64_t = yes; then
7222 cat >>confdefs.h
<<_ACEOF
7223 #define uint64_t unsigned long long
7229 if test $ac_cv_type_int8_t = no
; then
7236 if test $ac_cv_type_uint8_t = no
; then
7243 if test $ac_cv_type_int16_t = no
; then
7250 if test $ac_cv_type_uint16_t = no
; then
7257 if test $ac_cv_type_int32_t = no
; then
7264 if test $ac_cv_type_uint32_t = no
; then
7271 if test $ac_cv_type_int64_t = no
; then
7278 if test $ac_cv_type_uint64_t = no
; then
7285 if test "${ac_cv_header_wchar_h+set}" = set; then
7286 echo "$as_me:$LINENO: checking for wchar.h" >&5
7287 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6
7288 if test "${ac_cv_header_wchar_h+set}" = set; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
7292 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6
7294 # Is the header compilable?
7295 echo "$as_me:$LINENO: checking wchar.h usability" >&5
7296 echo $ECHO_N "checking wchar.h usability... $ECHO_C" >&6
7297 cat >conftest.
$ac_ext <<_ACEOF
7300 cat confdefs.h
>>conftest.
$ac_ext
7301 cat >>conftest.
$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 $ac_includes_default
7306 rm -f conftest.
$ac_objext
7307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7308 (eval $ac_compile) 2>conftest.er1
7310 grep -v '^ *+' conftest.er1
>conftest.err
7312 cat conftest.err
>&5
7313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); } &&
7315 { ac_try
='test -z "$ac_c_werror_flag"
7316 || test ! -s conftest.err'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; } &&
7322 { ac_try
='test -s conftest.$ac_objext'
7323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); }; }; then
7328 ac_header_compiler
=yes
7330 echo "$as_me: failed program was:" >&5
7331 sed 's/^/| /' conftest.
$ac_ext >&5
7333 ac_header_compiler
=no
7335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7337 echo "${ECHO_T}$ac_header_compiler" >&6
7339 # Is the header present?
7340 echo "$as_me:$LINENO: checking wchar.h presence" >&5
7341 echo $ECHO_N "checking wchar.h presence... $ECHO_C" >&6
7342 cat >conftest.
$ac_ext <<_ACEOF
7345 cat confdefs.h
>>conftest.
$ac_ext
7346 cat >>conftest.
$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7353 grep -v '^ *+' conftest.er1
>conftest.err
7355 cat conftest.err
>&5
7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 (exit $ac_status); } >/dev
/null
; then
7358 if test -s conftest.err
; then
7359 ac_cpp_err
=$ac_c_preproc_warn_flag
7360 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7367 if test -z "$ac_cpp_err"; then
7368 ac_header_preproc
=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.
$ac_ext >&5
7373 ac_header_preproc
=no
7375 rm -f conftest.err conftest.
$ac_ext
7376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7377 echo "${ECHO_T}$ac_header_preproc" >&6
7379 # So? What about this header?
7380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7382 { echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
7383 echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7384 { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
7385 echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
7386 ac_header_preproc
=yes
7389 { echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
7390 echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: wchar.h: check for missing prerequisite headers?" >&5
7392 echo "$as_me: WARNING: wchar.h: check for missing prerequisite headers?" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
7394 echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
7395 { echo "$as_me:$LINENO: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&5
7396 echo "$as_me: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&2;}
7397 { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
7398 echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
7399 { echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
7400 echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
7403 ## ------------------------------------------ ##
7404 ## Report this to the AC_PACKAGE_NAME lists. ##
7405 ## ------------------------------------------ ##
7408 sed "s/^/$as_me: WARNING: /" >&2
7411 echo "$as_me:$LINENO: checking for wchar.h" >&5
7412 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6
7413 if test "${ac_cv_header_wchar_h+set}" = set; then
7414 echo $ECHO_N "(cached) $ECHO_C" >&6
7416 ac_cv_header_wchar_h
=$ac_header_preproc
7418 echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
7419 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6
7424 if test "$ac_cv_header_wchar_h" = no
7429 cat >>confdefs.h
<<\_ACEOF
7430 #define HAVE_WCHAR_H 1
7434 echo "$as_me:$LINENO: checking for library containing wcscpy" >&5
7435 echo $ECHO_N "checking for library containing wcscpy... $ECHO_C" >&6
7436 if test "${ac_cv_search_wcscpy+set}" = set; then
7437 echo $ECHO_N "(cached) $ECHO_C" >&6
7439 ac_func_search_save_LIBS
=$LIBS
7440 ac_cv_search_wcscpy
=no
7441 cat >conftest.
$ac_ext <<_ACEOF
7444 cat confdefs.h
>>conftest.
$ac_ext
7445 cat >>conftest.
$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7448 /* Override any gcc2 internal prototype to avoid an error. */
7452 /* We use char because int might match the return type of a gcc2
7453 builtin and then its argument prototype would still apply. */
7463 rm -f conftest.
$ac_objext conftest
$ac_exeext
7464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7465 (eval $ac_link) 2>conftest.er1
7467 grep -v '^ *+' conftest.er1
>conftest.err
7469 cat conftest.err
>&5
7470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471 (exit $ac_status); } &&
7472 { ac_try
='test -z "$ac_c_werror_flag"
7473 || test ! -s conftest.err'
7474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); }; } &&
7479 { ac_try
='test -s conftest$ac_exeext'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); }; }; then
7485 ac_cv_search_wcscpy
="none required"
7487 echo "$as_me: failed program was:" >&5
7488 sed 's/^/| /' conftest.
$ac_ext >&5
7491 rm -f conftest.err conftest.
$ac_objext \
7492 conftest
$ac_exeext conftest.
$ac_ext
7493 if test "$ac_cv_search_wcscpy" = no
; then
7494 for ac_lib
in wcs w
; do
7495 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7496 cat >conftest.
$ac_ext <<_ACEOF
7499 cat confdefs.h
>>conftest.
$ac_ext
7500 cat >>conftest.
$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7503 /* Override any gcc2 internal prototype to avoid an error. */
7507 /* We use char because int might match the return type of a gcc2
7508 builtin and then its argument prototype would still apply. */
7518 rm -f conftest.
$ac_objext conftest
$ac_exeext
7519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7520 (eval $ac_link) 2>conftest.er1
7522 grep -v '^ *+' conftest.er1
>conftest.err
7524 cat conftest.err
>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } &&
7527 { ac_try
='test -z "$ac_c_werror_flag"
7528 || test ! -s conftest.err'
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); }; } &&
7534 { ac_try
='test -s conftest$ac_exeext'
7535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); }; }; then
7540 ac_cv_search_wcscpy
="-l$ac_lib"
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.
$ac_ext >&5
7547 rm -f conftest.err conftest.
$ac_objext \
7548 conftest
$ac_exeext conftest.
$ac_ext
7551 LIBS
=$ac_func_search_save_LIBS
7553 echo "$as_me:$LINENO: result: $ac_cv_search_wcscpy" >&5
7554 echo "${ECHO_T}$ac_cv_search_wcscpy" >&6
7555 if test "$ac_cv_search_wcscpy" != no
; then
7556 test "$ac_cv_search_wcscpy" = "none required" || LIBS
="$ac_cv_search_wcscpy $LIBS"
7560 if test "$ac_cv_search_wcscpy" != no
; then
7569 echo "$as_me:$LINENO: checking for wchar_t" >&5
7570 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
7571 if test "${ac_cv_type_wchar_t+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 cat >conftest.
$ac_ext <<_ACEOF
7577 cat confdefs.h
>>conftest.
$ac_ext
7578 cat >>conftest.
$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7595 if (sizeof (wchar_t))
7601 rm -f conftest.
$ac_objext
7602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7603 (eval $ac_compile) 2>conftest.er1
7605 grep -v '^ *+' conftest.er1
>conftest.err
7607 cat conftest.err
>&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } &&
7610 { ac_try
='test -z "$ac_c_werror_flag"
7611 || test ! -s conftest.err'
7612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; } &&
7617 { ac_try
='test -s conftest.$ac_objext'
7618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); }; }; then
7623 ac_cv_type_wchar_t
=yes
7625 echo "$as_me: failed program was:" >&5
7626 sed 's/^/| /' conftest.
$ac_ext >&5
7628 ac_cv_type_wchar_t
=no
7630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7632 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
7633 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
7635 echo "$as_me:$LINENO: checking size of wchar_t" >&5
7636 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
7637 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 if test "$ac_cv_type_wchar_t" = yes; then
7641 # The cast to unsigned long works around a bug in the HP C Compiler
7642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7644 # This bug is HP SR number 8606223364.
7645 if test "$cross_compiling" = yes; then
7646 # Depending upon the size, compute the lo and hi bounds.
7647 cat >conftest.
$ac_ext <<_ACEOF
7650 cat confdefs.h
>>conftest.
$ac_ext
7651 cat >>conftest.
$ac_ext <<_ACEOF
7652 /* end confdefs.h. */
7666 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
7673 rm -f conftest.
$ac_objext
7674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7675 (eval $ac_compile) 2>conftest.er1
7677 grep -v '^ *+' conftest.er1
>conftest.err
7679 cat conftest.err
>&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); } &&
7682 { ac_try
='test -z "$ac_c_werror_flag"
7683 || test ! -s conftest.err'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; } &&
7689 { ac_try
='test -s conftest.$ac_objext'
7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); }; }; then
7697 cat >conftest.
$ac_ext <<_ACEOF
7700 cat confdefs.h
>>conftest.
$ac_ext
7701 cat >>conftest.
$ac_ext <<_ACEOF
7702 /* end confdefs.h. */
7716 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
7723 rm -f conftest.
$ac_objext
7724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7725 (eval $ac_compile) 2>conftest.er1
7727 grep -v '^ *+' conftest.er1
>conftest.err
7729 cat conftest.err
>&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } &&
7732 { ac_try
='test -z "$ac_c_werror_flag"
7733 || test ! -s conftest.err'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; } &&
7739 { ac_try
='test -s conftest.$ac_objext'
7740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; }; then
7745 ac_hi
=$ac_mid; break
7747 echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.
$ac_ext >&5
7750 ac_lo
=`expr $ac_mid + 1`
7751 if test $ac_lo -le $ac_mid; then
7755 ac_mid
=`expr 2 '*' $ac_mid + 1`
7757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7760 echo "$as_me: failed program was:" >&5
7761 sed 's/^/| /' conftest.
$ac_ext >&5
7763 cat >conftest.
$ac_ext <<_ACEOF
7766 cat confdefs.h
>>conftest.
$ac_ext
7767 cat >>conftest.
$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7782 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
7789 rm -f conftest.
$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7793 grep -v '^ *+' conftest.er1
>conftest.err
7795 cat conftest.err
>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try
='test -z "$ac_c_werror_flag"
7799 || test ! -s conftest.err'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; } &&
7805 { ac_try
='test -s conftest.$ac_objext'
7806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 (exit $ac_status); }; }; then
7813 cat >conftest.
$ac_ext <<_ACEOF
7816 cat confdefs.h
>>conftest.
$ac_ext
7817 cat >>conftest.
$ac_ext <<_ACEOF
7818 /* end confdefs.h. */
7832 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
7839 rm -f conftest.
$ac_objext
7840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7841 (eval $ac_compile) 2>conftest.er1
7843 grep -v '^ *+' conftest.er1
>conftest.err
7845 cat conftest.err
>&5
7846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847 (exit $ac_status); } &&
7848 { ac_try
='test -z "$ac_c_werror_flag"
7849 || test ! -s conftest.err'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; } &&
7855 { ac_try
='test -s conftest.$ac_objext'
7856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); }; }; then
7861 ac_lo
=$ac_mid; break
7863 echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.
$ac_ext >&5
7866 ac_hi
=`expr '(' $ac_mid ')' - 1`
7867 if test $ac_mid -le $ac_hi; then
7871 ac_mid
=`expr 2 '*' $ac_mid`
7873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7876 echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.
$ac_ext >&5
7881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7884 # Binary search between lo and hi bounds.
7885 while test "x$ac_lo" != "x$ac_hi"; do
7886 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7887 cat >conftest.
$ac_ext <<_ACEOF
7890 cat confdefs.h
>>conftest.
$ac_ext
7891 cat >>conftest.
$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7906 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
7913 rm -f conftest.
$ac_objext
7914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7915 (eval $ac_compile) 2>conftest.er1
7917 grep -v '^ *+' conftest.er1
>conftest.err
7919 cat conftest.err
>&5
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } &&
7922 { ac_try
='test -z "$ac_c_werror_flag"
7923 || test ! -s conftest.err'
7924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); }; } &&
7929 { ac_try
='test -s conftest.$ac_objext'
7930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); }; }; then
7937 echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.
$ac_ext >&5
7940 ac_lo
=`expr '(' $ac_mid ')' + 1`
7942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7945 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
7946 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
7947 See \`config.log' for more details." >&5
7948 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
7949 See \`config.log' for more details." >&2;}
7950 { (exit 1); exit 1; }; } ;;
7953 if test "$cross_compiling" = yes; then
7954 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7955 See \`config.log' for more details." >&5
7956 echo "$as_me: error: cannot run test program while cross compiling
7957 See \`config.log' for more details." >&2;}
7958 { (exit 1); exit 1; }; }
7960 cat >conftest.
$ac_ext <<_ACEOF
7963 cat confdefs.h
>>conftest.
$ac_ext
7964 cat >>conftest.
$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7976 long longval () { return (long) (sizeof (wchar_t)); }
7977 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
7984 FILE *f = fopen ("conftest.val", "w");
7987 if (((long) (sizeof (wchar_t))) < 0)
7989 long i = longval ();
7990 if (i != ((long) (sizeof (wchar_t))))
7992 fprintf (f, "%ld\n", i);
7996 unsigned long i = ulongval ();
7997 if (i != ((long) (sizeof (wchar_t))))
7999 fprintf (f, "%lu\n", i);
8001 exit (ferror (f) || fclose (f) != 0);
8007 rm -f conftest
$ac_exeext
8008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8009 (eval $ac_link) 2>&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; }; then
8018 ac_cv_sizeof_wchar_t
=`cat conftest.val`
8020 echo "$as_me: program exited with status $ac_status" >&5
8021 echo "$as_me: failed program was:" >&5
8022 sed 's/^/| /' conftest.
$ac_ext >&5
8025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
8026 See \`config.log' for more details." >&5
8027 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
8028 See \`config.log' for more details." >&2;}
8029 { (exit 1); exit 1; }; }
8031 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8036 ac_cv_sizeof_wchar_t
=0
8039 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
8040 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
8041 cat >>confdefs.h
<<_ACEOF
8042 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
8046 U_SIZEOF_WCHAR_T
=$ac_cv_sizeof_wchar_t
8047 # We do this check to verify that everything is okay.
8048 if test $U_SIZEOF_WCHAR_T = 0; then
8049 if test $U_HAVE_WCHAR_H=1; then
8050 { { echo "$as_me:$LINENO: error: There is wchar.h but the size of wchar_t is 0" >&5
8051 echo "$as_me: error: There is wchar.h but the size of wchar_t is 0" >&2;}
8052 { (exit 1); exit 1; }; }
8057 echo "$as_me:$LINENO: checking for UTF-16 string literal support" >&5
8058 echo $ECHO_N "checking for UTF-16 string literal support... $ECHO_C" >&6
8059 U_CHECK_UTF16_STRING
=1
8060 CHECK_UTF16_STRING_RESULT
="unknown"
8062 *-*-aix*|powerpc64
-*-linux*)
8063 if test "$ac_cv_c_compiler_gnu" = no
; then
8064 OLD_CFLAGS
="${CFLAGS}"
8065 OLD_CXXFLAGS
="${CXXFLAGS}"
8066 CFLAGS
="${CFLAGS} -qutf"
8067 CXXFLAGS
="${CXXFLAGS} -qutf"
8068 cat >conftest.
$ac_ext <<_ACEOF
8071 cat confdefs.h
>>conftest.
$ac_ext
8072 cat >>conftest.
$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8074 const unsigned short hello[] = u"hello";
8083 rm -f conftest.
$ac_objext
8084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8085 (eval $ac_compile) 2>conftest.er1
8087 grep -v '^ *+' conftest.er1
>conftest.err
8089 cat conftest.err
>&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); } &&
8092 { ac_try
='test -z "$ac_c_werror_flag"
8093 || test ! -s conftest.err'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; } &&
8099 { ac_try
='test -s conftest.$ac_objext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 U_CHECK_UTF16_STRING
=1
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.
$ac_ext >&5
8110 U_CHECK_UTF16_STRING
=0
8112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8113 if test "$U_CHECK_UTF16_STRING" = 0; then
8114 CFLAGS
="${OLD_CFLAGS}"
8115 CXXFLAGS
="${OLD_CXXFLAGS}"
8117 CHECK_UTF16_STRING_RESULT
="-qutf"
8122 if test "$ac_cv_c_compiler_gnu" = no
; then
8123 OLD_CFLAGS
="${CFLAGS}"
8124 OLD_CXXFLAGS
="${CXXFLAGS}"
8125 CFLAGS
="${CFLAGS} -xustr=ascii_utf16_ushort"
8126 CXXFLAGS
="${CXXFLAGS} -xustr=ascii_utf16_ushort"
8127 cat >conftest.
$ac_ext <<_ACEOF
8130 cat confdefs.h
>>conftest.
$ac_ext
8131 cat >>conftest.
$ac_ext <<_ACEOF
8132 /* end confdefs.h. */
8133 const unsigned short hello[] = U"hello";
8142 rm -f conftest.
$ac_objext
8143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8144 (eval $ac_compile) 2>conftest.er1
8146 grep -v '^ *+' conftest.er1
>conftest.err
8148 cat conftest.err
>&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } &&
8151 { ac_try
='test -z "$ac_c_werror_flag"
8152 || test ! -s conftest.err'
8153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; } &&
8158 { ac_try
='test -s conftest.$ac_objext'
8159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); }; }; then
8164 U_CHECK_UTF16_STRING
=1
8166 echo "$as_me: failed program was:" >&5
8167 sed 's/^/| /' conftest.
$ac_ext >&5
8169 U_CHECK_UTF16_STRING
=0
8171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8172 if test "$U_CHECK_UTF16_STRING" = 0; then
8173 CFLAGS
="${OLD_CFLAGS}"
8174 CXXFLAGS
="${OLD_CXXFLAGS}"
8176 CHECK_UTF16_STRING_RESULT
="-xustr=ascii_utf16_ushort"
8178 # Since we can't detect the availability of this UTF-16 syntax at compile time,
8179 # we depend on configure telling us that we can use it.
8180 # Since we can't ensure ICU users use -xustr=ascii_utf16_ushort,
8181 # we only use this macro within ICU.
8182 # If an ICU user uses icu-config, this feature will be enabled.
8183 CPPFLAGS
="${CPPFLAGS} -DU_CHECK_UTF16_STRING=1"
8184 U_CHECK_UTF16_STRING
=0
8189 if test "$ac_cv_c_compiler_gnu" = no
; then
8190 CHECK_UTF16_STRING_RESULT
="available"
8194 CHECK_UTF16_STRING_RESULT
="available"
8199 echo "$as_me:$LINENO: result: $CHECK_UTF16_STRING_RESULT" >&5
8200 echo "${ECHO_T}$CHECK_UTF16_STRING_RESULT" >&6
8203 # Check whether --enable-extras or --disable-extras was given.
8204 if test "${enable_extras+set}" = set; then
8205 enableval
="$enable_extras"
8206 case "${enableval}" in
8209 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-extras" >&5
8210 echo "$as_me: error: bad value ${enableval} for --enable-extras" >&2;}
8211 { (exit 1); exit 1; }; } ;;
8217 if test "$extras" = true
; then
8222 # Check whether --enable-icuio or --disable-icuio was given.
8223 if test "${enable_icuio+set}" = set; then
8224 enableval
="$enable_icuio"
8225 case "${enableval}" in
8228 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-icuio" >&5
8229 echo "$as_me: error: bad value ${enableval} for --enable-icuio" >&2;}
8230 { (exit 1); exit 1; }; } ;;
8236 if test "$icuio" = true
; then
8242 # Check whether --enable-layout or --disable-layout was given.
8243 if test "${enable_layout+set}" = set; then
8244 enableval
="$enable_layout"
8245 case "${enableval}" in
8248 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-layout" >&5
8249 echo "$as_me: error: bad value ${enableval} for --enable-layout" >&2;}
8250 { (exit 1); exit 1; }; } ;;
8256 if test "$layout" = true
; then
8263 # Check whether --with-data-packaging or --without-data-packaging was given.
8264 if test "${with_data_packaging+set}" = set; then
8265 withval
="$with_data_packaging"
8266 case "${withval}" in
8267 files
|archive
|library
) datapackaging
=$withval ;;
8268 auto
) datapackaging
=$withval ;;
8269 common
) datapackaging
=archive
;;
8270 dll
) datapackaging
=library
;;
8271 static
) datapackaging
=static
;;
8272 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-data-packaging" >&5
8273 echo "$as_me: error: bad value ${withval} for --with-data-packaging" >&2;}
8274 { (exit 1); exit 1; }; } ;;
8280 thedatadir
=`eval echo $datadir`
8281 pkgicudatadir
=$datadir
8282 thepkgicudatadir
=$thedatadir
8287 if test x
"$datapackaging" = x
-o x
"$datapackaging" = xauto
; then
8288 datapackaging
=library
8291 case "$datapackaging" in
8293 DATA_PACKAGING_MODE
=files
8296 DATA_PACKAGING_MODE
=common
8299 DATA_PACKAGING_MODE
=dll
8304 echo "$as_me:$LINENO: checking for a library suffix to use" >&5
8305 echo $ECHO_N "checking for a library suffix to use... $ECHO_C" >&6
8307 # Check whether --with-library-suffix or --without-library-suffix was given.
8308 if test "${with_library_suffix+set}" = set; then
8309 withval
="$with_library_suffix"
8310 ICULIBSUFFIX
="${withval}"
8315 if test "$msg" = ""; then
8318 echo "$as_me:$LINENO: result: $msg" >&5
8319 echo "${ECHO_T}$msg" >&6
8321 if test "$ICULIBSUFFIX" != ""
8324 ICULIBSUFFIXCNAME
=`echo _$ICULIBSUFFIX | sed 's/[^A-Za-z0-9_]/_/g'`
8331 # Check whether --enable-tests or --disable-tests was given.
8332 if test "${enable_tests+set}" = set; then
8333 enableval
="$enable_tests"
8334 case "${enableval}" in
8337 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tests" >&5
8338 echo "$as_me: error: bad value ${enableval} for --enable-tests" >&2;}
8339 { (exit 1); exit 1; }; } ;;
8345 if test "$tests" = true
; then
8351 # Check whether --enable-samples or --disable-samples was given.
8352 if test "${enable_samples+set}" = set; then
8353 enableval
="$enable_samples"
8354 case "${enableval}" in
8355 yes) samples
=true
;;
8356 no
) samples
=false
;;
8357 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
8358 echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
8359 { (exit 1); exit 1; }; } ;;
8365 if test "$samples" = true
; then
8371 ICUDATA_CHAR
=$U_ENDIAN_CHAR
8374 *-*-solaris*) platform
=U_SOLARIS
;;
8375 *-*-linux*) platform
=U_LINUX
;;
8376 *-pc-gnu) platform
=U_HURD
;;
8377 *-*-*bsd
*|*-*-dragonfly*) platform
=U_BSD
;;
8378 *-*-aix*) platform
=U_AIX
;;
8379 *-*-hpux*) platform
=U_HPUX
;;
8380 *-apple-darwin*|*-apple-rhapsody*) platform
=U_DARWIN
;;
8381 *-*-cygwin*|*-*-mingw*) platform
=U_CYGWIN
;;
8382 *-*ibm
-openedition*|*-*-os390*) platform
=OS390
8383 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
8386 *-*-os400*) platform
=OS400
8387 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
8390 *-*-nto*) platform
=U_QNX
;;
8391 *-dec-osf*) platform
=U_OSF
;;
8392 *-*-beos) platform
=U_BEOS
;;
8393 *-*-irix*) platform
=U_IRIX
;;
8394 *-ncr-*) platform
=U_MPRAS
;;
8395 *) platform
=U_UNKNOWN_PLATFORM
;;
8399 platform_make_fragment_name
="$icu_cv_host_frag"
8400 platform_make_fragment
='$(top_srcdir)/config/'"$platform_make_fragment_name"
8404 if test "${FORCE_LIBS}" != ""; then
8405 echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6
8411 if test $ICU_USE_THREADS -ne 0
8413 CPPFLAGS
="$CPPFLAGS \$(THREADSCPPFLAGS)"
8414 CFLAGS
="$CFLAGS \$(THREADSCFLAGS)"
8415 CXXFLAGS
="$CXXFLAGS \$(THREADSCXXFLAGS)"
8418 ac_config_files
="$ac_config_files icudefs.mk Makefile data/icupkg.inc config/Makefile.inc data/Makefile stubdata/Makefile common/Makefile i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/scrptrun/Makefile tools/Makefile tools/ctestfw/Makefile tools/toolutil/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genuca/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/genctd/Makefile tools/gennames/Makefile tools/gentest/Makefile tools/gennorm/Makefile tools/genprops/Makefile tools/gencase/Makefile tools/genbidi/Makefile tools/genpname/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icupkg/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/tzcode/Makefile test/Makefile test/compat/Makefile test/testdata/Makefile test/testdata/pkgdata.inc test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/letest/Makefile test/perf/Makefile test/perf/collationperf/Makefile test/perf/ubrkperf/Makefile test/perf/charperf/Makefile test/perf/convperf/Makefile test/perf/normperf/Makefile test/perf/strsrchperf/Makefile test/perf/unisetperf/Makefile test/perf/usetperf/Makefile test/perf/ustrperf/Makefile test/perf/utfperf/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/layout/Makefile common/unicode/platform.h"
8419 cat >confcache
<<\_ACEOF
8420 # This file is a shell script that caches the results of configure
8421 # tests run on this system so they can be shared between configure
8422 # scripts and configure runs, see configure's option --config-cache.
8423 # It is not useful on other systems. If it contains results you don't
8424 # want to keep, you may remove or edit it.
8426 # config.status only pays attention to the cache file if you give it
8427 # the --recheck option to rerun configure.
8429 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8430 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8435 # The following way of writing the cache mishandles newlines in values,
8436 # but we know of no workaround that is simple, portable, and efficient.
8437 # So, don't put newlines in cache variables' values.
8438 # Ultrix sh set writes to stderr and can't be redirected directly,
8439 # and sets the high bit in the cache file unless we assign to the vars.
8442 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8444 # `set' does not quote correctly, so add quotes (double-quote
8445 # substitution turns \\\\ into \\, and sed turns \\ into \).
8448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8451 # `set' quotes correctly as required by POSIX, so do not add quotes.
8453 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8460 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8462 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8464 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8465 if test -w $cache_file; then
8466 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8467 cat confcache
>$cache_file
8469 echo "not updating unwritable cache $cache_file"
8474 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8475 # Let make expand exec_prefix.
8476 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8478 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8479 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8480 # trailing colons and then remove the whole line if VPATH becomes empty
8481 # (actually we leave an empty line to preserve line numbers).
8482 if test "x$srcdir" = x.
; then
8483 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8484 s/:*\$(srcdir):*/:/;
8485 s/:*\${srcdir}:*/:/;
8487 s/^\([^=]*=[ ]*\):*/\1/;
8493 DEFS
=-DHAVE_CONFIG_H
8497 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8498 # 1. Remove the extension, and $U if already installed.
8499 ac_i
=`echo "$ac_i" |
8500 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8502 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8503 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8507 LTLIBOBJS
=$ac_ltlibobjs
8511 : ${CONFIG_STATUS=./config.status}
8512 ac_clean_files_save
=$ac_clean_files
8513 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8514 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8515 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8516 cat >$CONFIG_STATUS <<_ACEOF
8518 # Generated by $as_me.
8519 # Run this file to recreate the current configuration.
8520 # Compiler output produced by configure, useful for debugging
8521 # configure, is in config.log if it exists.
8526 SHELL=\${CONFIG_SHELL-$SHELL}
8529 cat >>$CONFIG_STATUS <<\_ACEOF
8530 ## --------------------- ##
8531 ## M4sh Initialization. ##
8532 ## --------------------- ##
8534 # Be Bourne compatible
8535 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8538 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8539 # is contrary to our usage. Disable this feature.
8540 alias -g '${1+"$@"}'='"$@"'
8541 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8544 DUALCASE
=1; export DUALCASE
# for MKS sh
8546 # Support unset when possible.
8547 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
8554 # Work around bugs in pre-3.0 UWIN ksh.
8555 $as_unset ENV MAIL MAILPATH
8562 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8563 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8564 LC_TELEPHONE LC_TIME
8566 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8567 eval $as_var=C
; export $as_var
8573 # Required to use basename.
8574 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8580 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8581 as_basename
=basename
8587 # Name of the executable.
8588 as_me
=`$as_basename "$0" ||
8589 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8590 X"$0" : 'X\(//\)$' \| \
8591 X"$0" : 'X\(/\)$' \| \
8592 . : '\(.\)' 2>/dev/null ||
8594 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8595 /^X\/\(\/\/\)$/{ s//\1/; q; }
8596 /^X\/\(\/\).*/{ s//\1/; q; }
8600 # PATH needs CR, and LINENO needs CR and PATH.
8601 # Avoid depending upon Character Ranges.
8602 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8603 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8604 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8605 as_cr_digits
='0123456789'
8606 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8608 # The user is always right.
8609 if test "${PATH_SEPARATOR+set}" != set; then
8610 echo "#! /bin/sh" >conf$$.sh
8611 echo "exit 0" >>conf$$.sh
8613 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8624 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8625 test "x$as_lineno_1" != "x$as_lineno_2" &&
8626 test "x$as_lineno_3" = "x$as_lineno_2" || {
8627 # Find who we are. Look in the path if we contain no path at all
8630 *[\\/]* ) as_myself
=$0 ;;
8631 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8635 test -z "$as_dir" && as_dir
=.
8636 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8641 # We did not find ourselves, most probably we were run as `sh COMMAND'
8642 # in which case we are not to be found in the path.
8643 if test "x$as_myself" = x
; then
8646 if test ! -f "$as_myself"; then
8647 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8648 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8649 { (exit 1); exit 1; }; }
8651 case $CONFIG_SHELL in
8653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8654 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8657 test -z "$as_dir" && as_dir
=.
8658 for as_base
in sh bash ksh sh5
; do
8661 if ("$as_dir/$as_base" -c '
8664 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8665 test "x$as_lineno_1" != "x$as_lineno_2" &&
8666 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8667 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
8668 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
8669 CONFIG_SHELL
=$as_dir/$as_base
8671 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8679 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8680 # uniformly replaced by the line number. The first 'sed' inserts a
8681 # line-number line before each line; the second 'sed' does the real
8682 # work. The second script uses 'N' to pair each line-number line
8683 # with the numbered line, and appends trailing '-' during
8684 # substitution so that $LINENO is not a special case at line end.
8685 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8686 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8687 sed '=' <$as_myself |
8692 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8695 s,^['$as_cr_digits']*\n,,
8697 chmod +x
$as_me.lineno
||
8698 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8699 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8700 { (exit 1); exit 1; }; }
8702 # Don't try to exec as it changes $[0], causing all sort of problems
8703 # (the dirname of $[0] is not the place where we might find the
8704 # original and so on. Autoconf is especially sensible to this).
8706 # Exit status is that of the last command.
8711 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8712 *c
*,-n*) ECHO_N
= ECHO_C
='
8714 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8715 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8718 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8724 rm -f conf$$ conf$$.exe conf$$.
file
8726 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8727 # We could just check for DJGPP; but this test a) works b) is more generic
8728 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8729 if test -f conf$$.exe
; then
8730 # Don't use ln at all; we don't have any links
8735 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8740 rm -f conf$$ conf$$.exe conf$$.
file
8742 if mkdir -p .
2>/dev
/null
; then
8745 test -d .
/-p && rmdir .
/-p
8749 as_executable_p
="test -f"
8751 # Sed expression to map a string onto a valid CPP name.
8752 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8754 # Sed expression to map a string onto a valid variable name.
8755 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8759 # We need space, tab and new line, in precisely that order.
8769 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8770 # report actual input values of CONFIG_FILES etc. instead of their
8771 # values after options handling. Logging --version etc. is OK.
8775 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8776 ## Running $as_me. ##
8781 This file was extended by $as_me, which was
8782 generated by GNU Autoconf 2.59. Invocation command line was
8784 CONFIG_FILES = $CONFIG_FILES
8785 CONFIG_HEADERS = $CONFIG_HEADERS
8786 CONFIG_LINKS = $CONFIG_LINKS
8787 CONFIG_COMMANDS = $CONFIG_COMMANDS
8791 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8795 # Files that config.status was made for.
8796 if test -n "$ac_config_files"; then
8797 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8800 if test -n "$ac_config_headers"; then
8801 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8804 if test -n "$ac_config_links"; then
8805 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8808 if test -n "$ac_config_commands"; then
8809 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8812 cat >>$CONFIG_STATUS <<\_ACEOF
8815 \`$as_me' instantiates files from templates according to the
8816 current configuration.
8818 Usage: $0 [OPTIONS] [FILE]...
8820 -h, --help print this help, then exit
8821 -V, --version print version number, then exit
8822 -q, --quiet do not print progress messages
8823 -d, --debug don't remove temporary files
8824 --recheck update $as_me by reconfiguring in the same conditions
8825 --file=FILE[:TEMPLATE]
8826 instantiate the configuration file FILE
8827 --header=FILE[:TEMPLATE]
8828 instantiate the configuration header FILE
8830 Configuration files:
8833 Configuration headers:
8836 Report bugs to <bug-autoconf@gnu.org>."
8839 cat >>$CONFIG_STATUS <<_ACEOF
8842 configured by $0, generated by GNU Autoconf 2.59,
8843 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8845 Copyright (C) 2003 Free Software Foundation, Inc.
8846 This config.status script is free software; the Free Software Foundation
8847 gives unlimited permission to copy, distribute and modify it."
8852 cat >>$CONFIG_STATUS <<\_ACEOF
8853 # If no file are specified by the user, then we need to provide default
8854 # value. By we need to know if files were specified by the user.
8860 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8861 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8869 *) # This is not an option, so the user has probably given explicit
8872 ac_need_defaults
=false
;;
8876 # Handling of the options.
8878 cat >>$CONFIG_STATUS <<\_ACEOF
8879 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8881 --version | --vers* | -V )
8882 echo "$ac_cs_version"; exit 0 ;;
8884 # Conflict between --help and --header
8885 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8886 Try \`$0 --help' for more information." >&5
8887 echo "$as_me: error: ambiguous option: $1
8888 Try \`$0 --help' for more information." >&2;}
8889 { (exit 1); exit 1; }; };;
8890 --help | --hel | -h )
8891 echo "$ac_cs_usage"; exit 0 ;;
8892 --debug | --d* | -d )
8894 --file | --fil | --fi | --f )
8896 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8897 ac_need_defaults
=false
;;
8898 --header | --heade | --head | --hea )
8900 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8901 ac_need_defaults
=false
;;
8902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8907 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8908 Try \`$0 --help' for more information." >&5
8909 echo "$as_me: error: unrecognized option: $1
8910 Try \`$0 --help' for more information." >&2;}
8911 { (exit 1); exit 1; }; } ;;
8913 *) ac_config_targets
="$ac_config_targets $1" ;;
8919 ac_configure_extra_args
=
8921 if $ac_cs_silent; then
8923 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8927 cat >>$CONFIG_STATUS <<_ACEOF
8928 if \$ac_cs_recheck; then
8929 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8930 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8939 cat >>$CONFIG_STATUS <<\_ACEOF
8940 for ac_config_target
in $ac_config_targets
8942 case "$ac_config_target" in
8943 # Handling of arguments.
8944 "icudefs.mk" ) CONFIG_FILES
="$CONFIG_FILES icudefs.mk" ;;
8945 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8946 "data/icupkg.inc" ) CONFIG_FILES
="$CONFIG_FILES data/icupkg.inc" ;;
8947 "config/Makefile.inc" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile.inc" ;;
8948 "data/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
8949 "stubdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES stubdata/Makefile" ;;
8950 "common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
8951 "i18n/Makefile" ) CONFIG_FILES
="$CONFIG_FILES i18n/Makefile" ;;
8952 "layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES layout/Makefile" ;;
8953 "layoutex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES layoutex/Makefile" ;;
8954 "io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES io/Makefile" ;;
8955 "extra/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/Makefile" ;;
8956 "extra/uconv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/uconv/Makefile" ;;
8957 "extra/scrptrun/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/scrptrun/Makefile" ;;
8958 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
8959 "tools/ctestfw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/ctestfw/Makefile" ;;
8960 "tools/toolutil/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/toolutil/Makefile" ;;
8961 "tools/makeconv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/makeconv/Makefile" ;;
8962 "tools/genrb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genrb/Makefile" ;;
8963 "tools/genuca/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genuca/Makefile" ;;
8964 "tools/genccode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genccode/Makefile" ;;
8965 "tools/gencmn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencmn/Makefile" ;;
8966 "tools/gencnval/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencnval/Makefile" ;;
8967 "tools/genctd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genctd/Makefile" ;;
8968 "tools/gennames/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gennames/Makefile" ;;
8969 "tools/gentest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gentest/Makefile" ;;
8970 "tools/gennorm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gennorm/Makefile" ;;
8971 "tools/genprops/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genprops/Makefile" ;;
8972 "tools/gencase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencase/Makefile" ;;
8973 "tools/genbidi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genbidi/Makefile" ;;
8974 "tools/genpname/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genpname/Makefile" ;;
8975 "tools/genbrk/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genbrk/Makefile" ;;
8976 "tools/gensprep/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gensprep/Makefile" ;;
8977 "tools/icupkg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/icupkg/Makefile" ;;
8978 "tools/icuswap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/icuswap/Makefile" ;;
8979 "tools/pkgdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/pkgdata/Makefile" ;;
8980 "tools/tzcode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/tzcode/Makefile" ;;
8981 "test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
8982 "test/compat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/compat/Makefile" ;;
8983 "test/testdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/testdata/Makefile" ;;
8984 "test/testdata/pkgdata.inc" ) CONFIG_FILES
="$CONFIG_FILES test/testdata/pkgdata.inc" ;;
8985 "test/hdrtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/hdrtst/Makefile" ;;
8986 "test/intltest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/intltest/Makefile" ;;
8987 "test/cintltst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/cintltst/Makefile" ;;
8988 "test/iotest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/iotest/Makefile" ;;
8989 "test/letest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/letest/Makefile" ;;
8990 "test/perf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/Makefile" ;;
8991 "test/perf/collationperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
8992 "test/perf/ubrkperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/ubrkperf/Makefile" ;;
8993 "test/perf/charperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/charperf/Makefile" ;;
8994 "test/perf/convperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/convperf/Makefile" ;;
8995 "test/perf/normperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/normperf/Makefile" ;;
8996 "test/perf/unisetperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/unisetperf/Makefile" ;;
8997 "test/perf/usetperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/usetperf/Makefile" ;;
8998 "test/perf/ustrperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/ustrperf/Makefile" ;;
8999 "test/perf/utfperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/utfperf/Makefile" ;;
9000 "test/perf/strsrchperf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/perf/collationperf/Makefile" ;;
9001 "samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/Makefile" ;;
9002 "samples/date/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/date/Makefile" ;;
9003 "samples/cal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/cal/Makefile" ;;
9004 "samples/layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/layout/Makefile" ;;
9005 "common/unicode/platform.h" ) CONFIG_FILES
="$CONFIG_FILES common/unicode/platform.h" ;;
9006 "common/icucfg.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS common/icucfg.h" ;;
9007 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9008 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9009 { (exit 1); exit 1; }; };;
9013 # If the user did not use the arguments to specify the items to instantiate,
9014 # then the envvar interface is used. Set only those that are not.
9015 # We use the long form for the default assignment because of an extremely
9016 # bizarre bug on SunOS 4.1.3.
9017 if $ac_need_defaults; then
9018 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9019 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9022 # Have a temporary directory for convenience. Make it in the build tree
9023 # simply because there is no reason to put it here, and in addition,
9024 # creating and moving files from /tmp can sometimes cause problems.
9025 # Create a temporary directory, and hook for its removal unless debugging.
9028 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9029 trap '{ (exit 1); exit 1; }' 1 2 13 15
9032 # Create a (secure) tmp directory for tmp files.
9035 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9036 test -n "$tmp" && test -d "$tmp"
9039 tmp
=.
/confstat$$
-$RANDOM
9040 (umask 077 && mkdir $tmp)
9043 echo "$me: cannot create a temporary directory in ." >&2
9044 { (exit 1); exit 1; }
9049 cat >>$CONFIG_STATUS <<_ACEOF
9052 # CONFIG_FILES section.
9055 # No need to generate the scripts if there are no CONFIG_FILES.
9056 # This happens for instance when ./config.status config.h
9057 if test -n "\$CONFIG_FILES"; then
9058 # Protect against being on the right side of a sed subst in config.status.
9059 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9060 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9061 s,@SHELL@,$SHELL,;t t
9062 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9063 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9064 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9065 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9066 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9067 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9068 s,@exec_prefix@,$exec_prefix,;t t
9069 s,@prefix@,$prefix,;t t
9070 s,@program_transform_name@,$program_transform_name,;t t
9071 s,@bindir@,$bindir,;t t
9072 s,@sbindir@,$sbindir,;t t
9073 s,@libexecdir@,$libexecdir,;t t
9074 s,@datarootdir@,$datarootdir,;t t
9075 s,@datadir@,$datadir,;t t
9076 s,@sysconfdir@,$sysconfdir,;t t
9077 s,@sharedstatedir@,$sharedstatedir,;t t
9078 s,@localstatedir@,$localstatedir,;t t
9079 s,@libdir@,$libdir,;t t
9080 s,@includedir@,$includedir,;t t
9081 s,@oldincludedir@,$oldincludedir,;t t
9082 s,@infodir@,$infodir,;t t
9083 s,@mandir@,$mandir,;t t
9084 s,@build_alias@,$build_alias,;t t
9085 s,@host_alias@,$host_alias,;t t
9086 s,@target_alias@,$target_alias,;t t
9088 s,@ECHO_C@,$ECHO_C,;t t
9089 s,@ECHO_N@,$ECHO_N,;t t
9090 s,@ECHO_T@,$ECHO_T,;t t
9092 s,@PACKAGE@,$PACKAGE,;t t
9093 s,@VERSION@,$VERSION,;t t
9094 s,@LIB_VERSION@,$LIB_VERSION,;t t
9095 s,@LIB_VERSION_MAJOR@,$LIB_VERSION_MAJOR,;t t
9096 s,@UNICODE_VERSION@,$UNICODE_VERSION,;t t
9097 s,@build@,$build,;t t
9098 s,@build_cpu@,$build_cpu,;t t
9099 s,@build_vendor@,$build_vendor,;t t
9100 s,@build_os@,$build_os,;t t
9102 s,@host_cpu@,$host_cpu,;t t
9103 s,@host_vendor@,$host_vendor,;t t
9104 s,@host_os@,$host_os,;t t
9105 s,@CPPFLAGS@,$CPPFLAGS,;t t
9107 s,@CFLAGS@,$CFLAGS,;t t
9108 s,@LDFLAGS@,$LDFLAGS,;t t
9109 s,@ac_ct_CC@,$ac_ct_CC,;t t
9110 s,@EXEEXT@,$EXEEXT,;t t
9111 s,@OBJEXT@,$OBJEXT,;t t
9113 s,@CXXFLAGS@,$CXXFLAGS,;t t
9114 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
9115 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9116 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9117 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9118 s,@U_MAKE@,$U_MAKE,;t t
9119 s,@DOXYGEN@,$DOXYGEN,;t t
9120 s,@ARFLAGS@,$ARFLAGS,;t t
9121 s,@COMPILE_LINK_ENVVAR@,$COMPILE_LINK_ENVVAR,;t t
9122 s,@LIB_M@,$LIB_M,;t t
9123 s,@ENABLE_SHARED@,$ENABLE_SHARED,;t t
9124 s,@ENABLE_STATIC@,$ENABLE_STATIC,;t t
9125 s,@ENABLE_DEBUG@,$ENABLE_DEBUG,;t t
9126 s,@ENABLE_RELEASE@,$ENABLE_RELEASE,;t t
9127 s,@U_DEFAULT_SHOW_DRAFT@,$U_DEFAULT_SHOW_DRAFT,;t t
9128 s,@U_USE_GCC_VISIBILITY_ATTRIBUTE@,$U_USE_GCC_VISIBILITY_ATTRIBUTE,;t t
9129 s,@LIBCFLAGS@,$LIBCFLAGS,;t t
9130 s,@LIBCXXFLAGS@,$LIBCXXFLAGS,;t t
9131 s,@RANLIB@,$RANLIB,;t t
9132 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9134 s,@U_DISABLE_RENAMING@,$U_DISABLE_RENAMING,;t t
9135 s,@U_ENABLE_TRACING@,$U_ENABLE_TRACING,;t t
9136 s,@ENABLE_RPATH@,$ENABLE_RPATH,;t t
9137 s,@U_INLINE@,$U_INLINE,;t t
9138 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
9139 s,@ICU_USE_THREADS@,$ICU_USE_THREADS,;t t
9140 s,@LIB_THREAD@,$LIB_THREAD,;t t
9141 s,@HAVE_MMAP@,$HAVE_MMAP,;t t
9142 s,@GENCCODE_ASSEMBLY@,$GENCCODE_ASSEMBLY,;t t
9144 s,@EGREP@,$EGREP,;t t
9145 s,@U_HAVE_INTTYPES_H@,$U_HAVE_INTTYPES_H,;t t
9146 s,@U_IOSTREAM_SOURCE@,$U_IOSTREAM_SOURCE,;t t
9147 s,@U_IS_BIG_ENDIAN@,$U_IS_BIG_ENDIAN,;t t
9148 s,@U_HAVE_NL_LANGINFO_CODESET@,$U_HAVE_NL_LANGINFO_CODESET,;t t
9149 s,@U_NL_LANGINFO_CODESET@,$U_NL_LANGINFO_CODESET,;t t
9150 s,@U_HAVE_NAMESPACE@,$U_HAVE_NAMESPACE,;t t
9151 s,@U_OVERRIDE_CXX_ALLOCATION@,$U_OVERRIDE_CXX_ALLOCATION,;t t
9152 s,@U_HAVE_PLACEMENT_NEW@,$U_HAVE_PLACEMENT_NEW,;t t
9153 s,@U_HAVE_POPEN@,$U_HAVE_POPEN,;t t
9154 s,@U_HAVE_TZSET@,$U_HAVE_TZSET,;t t
9155 s,@U_TZSET@,$U_TZSET,;t t
9156 s,@U_HAVE_TZNAME@,$U_HAVE_TZNAME,;t t
9157 s,@U_TZNAME@,$U_TZNAME,;t t
9158 s,@U_HAVE_TIMEZONE@,$U_HAVE_TIMEZONE,;t t
9159 s,@U_TIMEZONE@,$U_TIMEZONE,;t t
9160 s,@HAVE_INT8_T@,$HAVE_INT8_T,;t t
9161 s,@HAVE_UINT8_T@,$HAVE_UINT8_T,;t t
9162 s,@HAVE_INT16_T@,$HAVE_INT16_T,;t t
9163 s,@HAVE_UINT16_T@,$HAVE_UINT16_T,;t t
9164 s,@HAVE_INT32_T@,$HAVE_INT32_T,;t t
9165 s,@HAVE_UINT32_T@,$HAVE_UINT32_T,;t t
9166 s,@HAVE_INT64_T@,$HAVE_INT64_T,;t t
9167 s,@HAVE_UINT64_T@,$HAVE_UINT64_T,;t t
9168 s,@U_HAVE_WCHAR_H@,$U_HAVE_WCHAR_H,;t t
9169 s,@U_HAVE_WCSCPY@,$U_HAVE_WCSCPY,;t t
9170 s,@U_SIZEOF_WCHAR_T@,$U_SIZEOF_WCHAR_T,;t t
9171 s,@U_CHECK_UTF16_STRING@,$U_CHECK_UTF16_STRING,;t t
9172 s,@EXTRAS_TRUE@,$EXTRAS_TRUE,;t t
9173 s,@ICUIO_TRUE@,$ICUIO_TRUE,;t t
9174 s,@LAYOUT_TRUE@,$LAYOUT_TRUE,;t t
9175 s,@pkgicudatadir@,$pkgicudatadir,;t t
9176 s,@thepkgicudatadir@,$thepkgicudatadir,;t t
9177 s,@DATA_PACKAGING_MODE@,$DATA_PACKAGING_MODE,;t t
9178 s,@ICULIBSUFFIX@,$ICULIBSUFFIX,;t t
9179 s,@U_HAVE_LIB_SUFFIX@,$U_HAVE_LIB_SUFFIX,;t t
9180 s,@ICULIBSUFFIXCNAME@,$ICULIBSUFFIXCNAME,;t t
9181 s,@TESTS_TRUE@,$TESTS_TRUE,;t t
9182 s,@SAMPLES_TRUE@,$SAMPLES_TRUE,;t t
9183 s,@ICUDATA_CHAR@,$ICUDATA_CHAR,;t t
9184 s,@platform@,$platform,;t t
9185 s,@platform_make_fragment_name@,$platform_make_fragment_name,;t t
9186 s,@platform_make_fragment@,$platform_make_fragment,;t t
9187 s,@LIBOBJS@,$LIBOBJS,;t t
9188 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9193 cat >>$CONFIG_STATUS <<\_ACEOF
9194 # Split the substitutions into bite-sized pieces for seds with
9195 # small command number limits, like on Digital OSF/1 and HP-UX.
9197 ac_sed_frag
=1 # Number of current file.
9198 ac_beg
=1 # First line for current file.
9199 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9202 while $ac_more_lines; do
9203 if test $ac_beg -gt 1; then
9204 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9206 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9208 if test ! -s $tmp/subs.frag
; then
9211 # The purpose of the label and of the branching condition is to
9212 # speed up the sed processing (if there are no `@' at all, there
9213 # is no need to browse any of the substitutions).
9214 # These are the two extra sed commands mentioned above.
9216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
9217 if test -z "$ac_sed_cmds"; then
9218 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9220 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9222 ac_sed_frag
=`expr $ac_sed_frag + 1`
9224 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9227 if test -z "$ac_sed_cmds"; then
9230 fi # test -n "$CONFIG_FILES"
9233 cat >>$CONFIG_STATUS <<\_ACEOF
9234 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9237 - | *:- | *:-:* ) # input from stdin
9239 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9240 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9241 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9242 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9243 * ) ac_file_in
=$ac_file.
in ;;
9246 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9247 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9248 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9249 X"$ac_file" : 'X\(//\)[^/]' \| \
9250 X"$ac_file" : 'X\(//\)$' \| \
9251 X"$ac_file" : 'X\(/\)' \| \
9252 . : '\(.\)' 2>/dev/null ||
9254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9256 /^X\(\/\/\)$/{ s//\1/; q; }
9257 /^X\(\/\).*/{ s//\1/; q; }
9259 { if $as_mkdir_p; then
9264 while test ! -d "$as_dir"; do
9265 as_dirs
="$as_dir $as_dirs"
9266 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9267 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9268 X"$as_dir" : 'X\(//\)[^/]' \| \
9269 X"$as_dir" : 'X\(//\)$' \| \
9270 X"$as_dir" : 'X\(/\)' \| \
9271 . : '\(.\)' 2>/dev/null ||
9273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9274 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9275 /^X\(\/\/\)$/{ s//\1/; q; }
9276 /^X\(\/\).*/{ s//\1/; q; }
9279 test ! -n "$as_dirs" || mkdir $as_dirs
9280 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9281 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9282 { (exit 1); exit 1; }; }; }
9286 if test "$ac_dir" != .
; then
9287 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9288 # A "../" for each directory in $ac_dir_suffix.
9289 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9291 ac_dir_suffix
= ac_top_builddir
=
9295 .
) # No --srcdir option. We are building in place.
9297 if test -z "$ac_top_builddir"; then
9300 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9302 [\\/]* | ?
:[\\/]* ) # Absolute path.
9303 ac_srcdir
=$srcdir$ac_dir_suffix;
9304 ac_top_srcdir
=$srcdir ;;
9306 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9307 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9310 # Do not use `cd foo && pwd` to compute absolute paths, because
9311 # the directories may not exist.
9313 .
) ac_abs_builddir
="$ac_dir";;
9316 .
) ac_abs_builddir
=`pwd`;;
9317 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9318 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9321 case $ac_abs_builddir in
9322 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9324 case ${ac_top_builddir}.
in
9325 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9326 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9327 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9330 case $ac_abs_builddir in
9331 .
) ac_abs_srcdir
=$ac_srcdir;;
9334 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9335 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9336 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9339 case $ac_abs_builddir in
9340 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9342 case $ac_top_srcdir in
9343 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9344 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9345 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9351 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9352 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9355 if test x
"$ac_file" != x
-; then
9356 { echo "$as_me:$LINENO: creating $ac_file" >&5
9357 echo "$as_me: creating $ac_file" >&6;}
9360 # Let's still pretend it is `configure' which instantiates (i.e., don't
9361 # use $as_me), people would be surprised to read:
9362 # /* config.h. Generated by config.status. */
9363 if test x
"$ac_file" = x
-; then
9366 configure_input
="$ac_file. "
9368 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9369 sed 's,.*/,,'` by configure."
9371 # First look for the input files in the build tree, otherwise in the
9373 ac_file_inputs
=`IFS=:
9374 for f in $ac_file_in; do
9376 -) echo $tmp/stdin ;;
9378 # Absolute (can't be DOS-style, as IFS=:)
9379 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9380 echo "$as_me: error: cannot find input file: $f" >&2;}
9381 { (exit 1); exit 1; }; }
9384 if test -f "$f"; then
9387 elif test -f "$srcdir/$f"; then
9392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9393 echo "$as_me: error: cannot find input file: $f" >&2;}
9394 { (exit 1); exit 1; }; }
9397 done` || { (exit 1); exit 1; }
9399 cat >>$CONFIG_STATUS <<_ACEOF
9403 cat >>$CONFIG_STATUS <<\_ACEOF
9405 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
9406 s
,@configure_input@
,$configure_input,;t t
9407 s
,@srcdir@
,$ac_srcdir,;t t
9408 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9409 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9410 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9411 s
,@builddir@
,$ac_builddir,;t t
9412 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9413 s
,@top_builddir@
,$ac_top_builddir,;t t
9414 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9415 s
,@INSTALL@
,$ac_INSTALL,;t t
9416 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9418 if test x"$ac_file" != x-; then
9419 mv $tmp/out $ac_file
9427 cat >>$CONFIG_STATUS <<\_ACEOF
9430 # CONFIG_HEADER section.
9433 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9434 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9436 # ac_d sets the value in "#define NAME VALUE" lines.
9437 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9438 ac_dB
='[ ].*$,\1#\2'
9441 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9442 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9443 ac_uB
='$,\1#\2define\3'
9447 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9448 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9450 - | *:- | *:-:* ) # input from stdin
9452 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9453 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9454 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9455 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9456 * ) ac_file_in
=$ac_file.
in ;;
9459 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9460 echo "$as_me: creating $ac_file" >&6;}
9462 # First look for the input files in the build tree, otherwise in the
9464 ac_file_inputs
=`IFS=:
9465 for f in $ac_file_in; do
9467 -) echo $tmp/stdin ;;
9469 # Absolute (can't be DOS-style, as IFS=:)
9470 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9471 echo "$as_me: error: cannot find input file: $f" >&2;}
9472 { (exit 1); exit 1; }; }
9473 # Do quote $f, to prevent DOS paths from being IFS'd.
9476 if test -f "$f"; then
9479 elif test -f "$srcdir/$f"; then
9484 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9485 echo "$as_me: error: cannot find input file: $f" >&2;}
9486 { (exit 1); exit 1; }; }
9489 done` || { (exit 1); exit 1; }
9490 # Remove the trailing spaces.
9491 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9495 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9496 # `conftest.undefs', that substitutes the proper values into
9497 # config.h.in to produce config.h. The first handles `#define'
9498 # templates, and the second `#undef' templates.
9499 # And first: Protect against being on the right side of a sed subst in
9500 # config.status. Protect against being in an unquoted here document
9502 rm -f conftest.defines conftest.undefs
9503 # Using a here document instead of a string reduces the quoting nightmare.
9504 # Putting comments in sed scripts is not portable.
9506 # `end' is used to avoid that the second main sed command (meant for
9507 # 0-ary CPP macros) applies to n-ary macro definitions.
9508 # See the Autoconf documentation for `clear'.
9509 cat >confdef2sed.
sed <<\_ACEOF
9514 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9516 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9519 # If some macros were called several times there might be several times
9520 # the same #defines, which is useless. Nevertheless, we may not want to
9521 # sort them, since we want the *last* AC-DEFINE to be honored.
9522 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9523 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9524 rm -f confdef2sed.sed
9526 # This sed command replaces #undef with comments. This is necessary, for
9527 # example, in the case of _POSIX_SOURCE, which is predefined and required
9528 # on some systems where configure will not decide to define it.
9529 cat >>conftest.undefs <<\_ACEOF
9530 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9533 # Break up conftest.defines because some shells have a limit on the size
9534 # of here documents, and old seds have small limits too (100 cmds).
9535 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9536 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9537 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9538 echo ' :' >>$CONFIG_STATUS
9540 while grep . conftest.defines >/dev/null
9542 # Write a limited-size here document to $tmp/defines.sed.
9543 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9544 # Speed up: don't consider the non `#define' lines.
9545 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9546 # Work around the forget-to-reset-the-flag bug.
9547 echo 't clr' >>$CONFIG_STATUS
9548 echo ': clr' >>$CONFIG_STATUS
9549 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9551 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9555 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9556 rm -f conftest.defines
9557 mv conftest.
tail conftest.defines
9559 rm -f conftest.defines
9560 echo ' fi # grep' >>$CONFIG_STATUS
9561 echo >>$CONFIG_STATUS
9563 # Break up conftest.undefs because some shells have a limit on the size
9564 # of here documents, and old seds have small limits too (100 cmds).
9565 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9567 while grep . conftest.undefs
>/dev
/null
9569 # Write a limited-size here document to $tmp/undefs.sed.
9570 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9571 # Speed up: don't consider the non
`#undef'
9572 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9573 # Work around the forget-to-reset-the-flag bug.
9574 echo 't clr' >>$CONFIG_STATUS
9575 echo ': clr' >>$CONFIG_STATUS
9576 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9578 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9582 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9583 rm -f conftest.undefs
9584 mv conftest.tail conftest.undefs
9586 rm -f conftest.undefs
9588 cat >>$CONFIG_STATUS <<\_ACEOF
9589 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9590 # use $as_me), people would be surprised to read:
9591 # /* config.h. Generated by config.status. */
9592 if test x
"$ac_file" = x
-; then
9593 echo "/* Generated by configure. */" >$tmp/config.h
9595 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9597 cat $tmp/in >>$tmp/config.h
9599 if test x
"$ac_file" != x
-; then
9600 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9601 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9602 echo "$as_me: $ac_file is unchanged" >&6;}
9604 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9605 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9606 X"$ac_file" : 'X\(//\)[^/]' \| \
9607 X"$ac_file" : 'X\(//\)$' \| \
9608 X"$ac_file" : 'X\(/\)' \| \
9609 . : '\(.\)' 2>/dev/null ||
9611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9613 /^X\(\/\/\)$/{ s//\1/; q; }
9614 /^X\(\/\).*/{ s//\1/; q; }
9616 { if $as_mkdir_p; then
9621 while test ! -d "$as_dir"; do
9622 as_dirs
="$as_dir $as_dirs"
9623 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9625 X"$as_dir" : 'X\(//\)[^/]' \| \
9626 X"$as_dir" : 'X\(//\)$' \| \
9627 X"$as_dir" : 'X\(/\)' \| \
9628 . : '\(.\)' 2>/dev/null ||
9630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9632 /^X\(\/\/\)$/{ s//\1/; q; }
9633 /^X\(\/\).*/{ s//\1/; q; }
9636 test ! -n "$as_dirs" || mkdir $as_dirs
9637 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9638 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9639 { (exit 1); exit 1; }; }; }
9642 mv $tmp/config.h
$ac_file
9651 cat >>$CONFIG_STATUS <<\_ACEOF
9653 { (exit 0); exit 0; }
9655 chmod +x
$CONFIG_STATUS
9656 ac_clean_files
=$ac_clean_files_save
9659 # configure is writing to config.log, and then calls config.status.
9660 # config.status does its own redirection, appending to config.log.
9661 # Unfortunately, on DOS this fails, as config.log is still kept open
9662 # by configure, so config.status won't be able to write to it; its
9663 # output is simply discarded. So we exec the FD to /dev/null,
9664 # effectively closing config.log, so it can be properly (re)opened and
9665 # appended to by config.status. When coming back to configure, we
9666 # need to make the FD available again.
9667 if test "$no_create" != yes; then
9669 ac_config_status_args
=
9670 test "$silent" = yes &&
9671 ac_config_status_args
="$ac_config_status_args --quiet"
9673 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9675 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9676 # would make configure fail if this is the last instruction.
9677 $ac_cs_success || { (exit 1); exit 1; }
9681 if test $ICU_USE_THREADS = 0; then
9682 echo " *** Note: configuring the ICU without pthread support or testing. If this isn't what you want, then run configure with --enable-threads=yes or check the messages above to see why we couldn't find pthread_create()" 1>&6
9685 if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
9686 echo "You must use $U_MAKE to build ICU."
9688 echo "WARNING: $U_MAKE may not be GNU make."
9689 echo "This may cause ICU to fail to build. Please make sure that GNU make"
9690 echo "is in your PATH so that this configure script can detect its location."
9693 $as_unset _CXX_CXXSUFFIX