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 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 RANLIB ac_ct_RANLIB AR U_DISABLE_RENAMING U_ENABLE_TRACING ENABLE_RPATH U_INLINE THREADS_TRUE ICU_USE_THREADS HAVE_MMAP GENCCODE_ASSEMBLY CPP EGREP U_HAVE_INTTYPES_H U_IOSTREAM_SOURCE U_IS_BIG_ENDIAN U_HAVE_NL_LANGINFO 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 EXTRAS_TRUE ICUIO_TRUE LAYOUT_TRUE thedatadir 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 ld_rpath_suf AIX_SHLIB 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 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev
=build_alias
;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev
=cache_file
;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
435 ac_init_help
=short
;;
437 -host | --host | --hos | --ho)
438 ac_prev
=host_alias
;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev
=includedir
;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev
=target_alias
;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias
=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXX_set
=${CXX+set}
770 ac_env_CXX_value
=$CXX
771 ac_cv_env_CXX_set
=${CXX+set}
772 ac_cv_env_CXX_value
=$CXX
773 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value
=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_env_CPP_set
=${CPP+set}
778 ac_env_CPP_value
=$CPP
779 ac_cv_env_CPP_set
=${CPP+set}
780 ac_cv_env_CPP_value
=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --build=BUILD configure
for building on BUILD
[guessed
]
844 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
848 if test -n "$ac_init_help"; then
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
855 --enable-strict compile with strict compiler options default
=no
856 --enable-64bit-libs build
64-bit libraries default
=yes
857 --enable-shared build shared libraries default
=yes
858 --enable-static build static libraries default
=no
859 --enable-debug build debug libraries default
=no
860 --enable-release build release libraries default
=yes
861 --enable-draft enable draft APIs default
=yes
862 --enable-renaming add a version suffix to symbols default
=yes
863 --enable-tracing enable function and data tracing default
=yes
864 --enable-rpath use rpath when linking default is only
if necessary
865 --enable-threads build ICU with thread safety default
=yes
866 --enable-extras build ICU extras default
=yes
867 --enable-icuio build ICU
's icuio library default=yes
868 --enable-layout build ICU's layout library default
=yes
869 --enable-tests build ICU tests default
=yes
870 --enable-samples build ICU samples default
=yes
871 Additionally
, the variable FORCE_LIBS may be
set before calling configure. If
set, it will REPLACE any automatic list of libraries.
874 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
875 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
876 --with-iostream=version specify the version of iostream to use
(none
, old
, std
, auto
) default
=auto
877 --with-data-packaging=type specify how to package ICU data
(files
, archive
, library
, auto
) default
=auto
878 --with-library-suffix=suffix tag a suffix to the library names default
=
880 Some influential environment variables
:
881 CC C compiler
command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
884 nonstandard directory
<lib dir
>
885 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
886 headers
in a nonstandard directory
<include dir
>
887 CXX C
++ compiler
command
888 CXXFLAGS C
++ compiler flags
891 Use these variables to override the choices made by
`configure' or to help
892 it to find libraries and programs with nonstandard names/locations.
897 if test "$ac_init_help" = "recursive"; then
898 # If there are subdirs, report their specific --help.
900 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
901 test -d $ac_dir || continue
904 if test "$ac_dir" != .; then
905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906 # A "../" for each directory in $ac_dir_suffix.
907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
909 ac_dir_suffix= ac_top_builddir=
913 .) # No --srcdir option. We are building in place.
915 if test -z "$ac_top_builddir"; then
918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
920 [\\/]* | ?:[\\/]* ) # Absolute path.
921 ac_srcdir=$srcdir$ac_dir_suffix;
922 ac_top_srcdir=$srcdir ;;
924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
928 # Do not use `cd foo
&& pwd` to compute absolute paths, because
929 # the directories may not exist.
931 .) ac_abs_builddir="$ac_dir";;
934 .) ac_abs_builddir=`pwd`;;
935 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
936 *) ac_abs_builddir=`pwd`/"$ac_dir";;
939 case $ac_abs_builddir in
940 .) ac_abs_top_builddir=${ac_top_builddir}.;;
942 case ${ac_top_builddir}. in
943 .) ac_abs_top_builddir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
945 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
948 case $ac_abs_builddir in
949 .) ac_abs_srcdir=$ac_srcdir;;
952 .) ac_abs_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
954 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
957 case $ac_abs_builddir in
958 .) ac_abs_top_srcdir=$ac_top_srcdir;;
960 case $ac_top_srcdir in
961 .) ac_abs_top_srcdir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
963 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
968 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then
971 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then
974 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
986 test -n "$ac_init_help" && exit 0
987 if $ac_init_version; then
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by $as_me, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1014 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1015 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1016 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1017 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1019 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1020 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1022 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1023 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1024 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1025 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1026 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1027 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1028 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close
' the trap.
1108 trap 'exit_status
=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var
in $ac_subst_vars
1144 eval ac_val
=$
`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var
in $ac_subst_files
1158 eval ac_val
=$
`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h
; then
1171 sed "/^$/d" confdefs.h
| sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core
*.core
&&
1179 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's
/^
/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1276 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1301 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1308 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers common/icucfg.h"
1335 echo "$as_me:$LINENO: checking for ICU version numbers" >&5
1336 echo $ECHO_N "checking for ICU version numbers... $ECHO_C" >&6
1339 sed -n 's
/^
[ ]*#[ ]*define[ ]*U_ICU_VERSION[ ]*"\([^"]*\)".*/\1/p' "$@"
1341 VERSION
=`geticuversion $srcdir/common/unicode/uversion.h`
1342 if test x
"$VERSION" = x
; then
1343 VERSION
=`geticuversion $srcdir/common/unicode/*.h`
1344 if test x
"$VERSION" = x
; then
1345 { { echo "$as_me:$LINENO: error: Cannot determine ICU version number from header files" >&5
1346 echo "$as_me: error: Cannot determine ICU version number from header files" >&2;}
1347 { (exit 1); exit 1; }; }
1350 LIB_VERSION
=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
1351 LIB_VERSION_MAJOR
=`echo $LIB_VERSION | sed 's/\..*//'`
1355 echo "$as_me:$LINENO: result: release $VERSION, library $LIB_VERSION" >&5
1356 echo "${ECHO_T}release $VERSION, library $LIB_VERSION" >&6
1358 UNICODE_VERSION
="5.0"
1362 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1363 if test -f $ac_dir/install-sh; then
1365 ac_install_sh
="$ac_aux_dir/install-sh -c"
1367 elif test -f $ac_dir/install.sh
; then
1369 ac_install_sh
="$ac_aux_dir/install.sh -c"
1371 elif test -f $ac_dir/shtool
; then
1373 ac_install_sh
="$ac_aux_dir/shtool install -c"
1377 if test -z "$ac_aux_dir"; then
1378 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1379 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1380 { (exit 1); exit 1; }; }
1382 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1383 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1384 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1386 # Make sure we can run config.sub.
1387 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1388 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1389 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1390 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: checking build system type" >&5
1393 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1394 if test "${ac_cv_build+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 ac_cv_build_alias
=$build_alias
1398 test -z "$ac_cv_build_alias" &&
1399 ac_cv_build_alias
=`$ac_config_guess`
1400 test -z "$ac_cv_build_alias" &&
1401 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1402 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1403 { (exit 1); exit 1; }; }
1404 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1406 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1407 { (exit 1); exit 1; }; }
1410 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1411 echo "${ECHO_T}$ac_cv_build" >&6
1413 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1414 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1415 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1418 echo "$as_me:$LINENO: checking host system type" >&5
1419 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1420 if test "${ac_cv_host+set}" = set; then
1421 echo $ECHO_N "(cached) $ECHO_C" >&6
1423 ac_cv_host_alias
=$host_alias
1424 test -z "$ac_cv_host_alias" &&
1425 ac_cv_host_alias
=$ac_cv_build_alias
1426 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1427 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1428 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1429 { (exit 1); exit 1; }; }
1432 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1433 echo "${ECHO_T}$ac_cv_host" >&6
1435 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1436 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1437 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1444 export _CXX_CXXSUFFIX
1446 ac_cpp
='$CPP $CPPFLAGS'
1447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1450 if test -n "$ac_tool_prefix"; then
1451 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1452 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1453 echo "$as_me:$LINENO: checking for $ac_word" >&5
1454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1455 if test "${ac_cv_prog_CC+set}" = set; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 if test -n "$CC"; then
1459 ac_cv_prog_CC
="$CC" # Let the user override the test.
1461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1465 test -z "$as_dir" && as_dir
=.
1466 for ac_exec_ext
in '' $ac_executable_extensions; do
1467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1468 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1478 if test -n "$CC"; then
1479 echo "$as_me:$LINENO: result: $CC" >&5
1480 echo "${ECHO_T}$CC" >&6
1482 echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1487 if test -z "$ac_cv_prog_CC"; then
1489 # Extract the first word of "gcc", so it can be a program name with args.
1490 set dummy gcc
; ac_word
=$2
1491 echo "$as_me:$LINENO: checking for $ac_word" >&5
1492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1494 echo $ECHO_N "(cached) $ECHO_C" >&6
1496 if test -n "$ac_ct_CC"; then
1497 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1503 test -z "$as_dir" && as_dir
=.
1504 for ac_exec_ext
in '' $ac_executable_extensions; do
1505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1506 ac_cv_prog_ac_ct_CC
="gcc"
1507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1515 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1516 if test -n "$ac_ct_CC"; then
1517 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1518 echo "${ECHO_T}$ac_ct_CC" >&6
1520 echo "$as_me:$LINENO: result: no" >&5
1521 echo "${ECHO_T}no" >&6
1529 if test -z "$CC"; then
1530 if test -n "$ac_tool_prefix"; then
1531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1532 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1533 echo "$as_me:$LINENO: checking for $ac_word" >&5
1534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1535 if test "${ac_cv_prog_CC+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 if test -n "$CC"; then
1539 ac_cv_prog_CC
="$CC" # Let the user override the test.
1541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1545 test -z "$as_dir" && as_dir
=.
1546 for ac_exec_ext
in '' $ac_executable_extensions; do
1547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1548 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 if test -n "$CC"; then
1559 echo "$as_me:$LINENO: result: $CC" >&5
1560 echo "${ECHO_T}$CC" >&6
1562 echo "$as_me:$LINENO: result: no" >&5
1563 echo "${ECHO_T}no" >&6
1567 if test -z "$ac_cv_prog_CC"; then
1569 # Extract the first word of "cc", so it can be a program name with args.
1570 set dummy cc
; ac_word
=$2
1571 echo "$as_me:$LINENO: checking for $ac_word" >&5
1572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1573 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 if test -n "$ac_ct_CC"; then
1577 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1583 test -z "$as_dir" && as_dir
=.
1584 for ac_exec_ext
in '' $ac_executable_extensions; do
1585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1586 ac_cv_prog_ac_ct_CC
="cc"
1587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1596 if test -n "$ac_ct_CC"; then
1597 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1598 echo "${ECHO_T}$ac_ct_CC" >&6
1600 echo "$as_me:$LINENO: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1610 if test -z "$CC"; then
1611 # Extract the first word of "cc", so it can be a program name with args.
1612 set dummy cc
; ac_word
=$2
1613 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_CC+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1618 if test -n "$CC"; then
1619 ac_cv_prog_CC
="$CC" # Let the user override the test.
1622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1626 test -z "$as_dir" && as_dir
=.
1627 for ac_exec_ext
in '' $ac_executable_extensions; do
1628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1630 ac_prog_rejected
=yes
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640 if test $ac_prog_rejected = yes; then
1641 # We found a bogon in the path, so make sure we never use it.
1642 set dummy
$ac_cv_prog_CC
1644 if test $# != 0; then
1645 # We chose a different compiler from the bogus one.
1646 # However, it has the same basename, so the bogon will be chosen
1647 # first if we set CC to just the basename; use the full file name.
1649 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1655 if test -n "$CC"; then
1656 echo "$as_me:$LINENO: result: $CC" >&5
1657 echo "${ECHO_T}$CC" >&6
1659 echo "$as_me:$LINENO: result: no" >&5
1660 echo "${ECHO_T}no" >&6
1664 if test -z "$CC"; then
1665 if test -n "$ac_tool_prefix"; then
1668 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1669 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$CC"; then
1676 ac_cv_prog_CC
="$CC" # Let the user override the test.
1678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir
=.
1683 for ac_exec_ext
in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 if test -n "$CC"; then
1696 echo "$as_me:$LINENO: result: $CC" >&5
1697 echo "${ECHO_T}$CC" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1703 test -n "$CC" && break
1706 if test -z "$CC"; then
1710 # Extract the first word of "$ac_prog", so it can be a program name with args.
1711 set dummy
$ac_prog; ac_word
=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$ac_ct_CC"; then
1718 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir
=.
1725 for ac_exec_ext
in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_ac_ct_CC
="$ac_prog"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1737 if test -n "$ac_ct_CC"; then
1738 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1739 echo "${ECHO_T}$ac_ct_CC" >&6
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1745 test -n "$ac_ct_CC" && break
1754 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1755 See \`config.log' for more details." >&5
1756 echo "$as_me: error: no acceptable C compiler found in \$PATH
1757 See \`config.log' for more details." >&2;}
1758 { (exit 1); exit 1; }; }
1760 # Provide some information about the compiler.
1761 echo "$as_me:$LINENO:" \
1762 "checking for C compiler version" >&5
1763 ac_compiler
=`set X $ac_compile; echo $2`
1764 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1765 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }
1769 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1770 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }
1774 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1775 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 (exit $ac_status); }
1780 cat >conftest.
$ac_ext <<_ACEOF
1783 cat confdefs.h
>>conftest.
$ac_ext
1784 cat >>conftest.
$ac_ext <<_ACEOF
1785 /* end confdefs.h. */
1795 ac_clean_files_save
=$ac_clean_files
1796 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1797 # Try to create an executable without -o first, disregard a.out.
1798 # It will help us diagnose broken compilers, and finding out an intuition
1800 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1801 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1802 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1803 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1804 (eval $ac_link_default) 2>&5
1806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1807 (exit $ac_status); }; then
1808 # Find the output, starting from the most likely. This scheme is
1809 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1812 # Be careful to initialize this variable, since it used to be cached.
1813 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1815 # b.out is created by i960 compilers.
1816 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1818 test -f "$ac_file" || continue
1820 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
1823 # This is the source file.
1826 # We found the default executable, but exeext='' is most
1830 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1831 # FIXME: I believe we export ac_cv_exeext for Libtool,
1832 # but it would be cool to find out if it's true. Does anybody
1833 # maintain Libtool? --akim.
1841 echo "$as_me: failed program was:" >&5
1842 sed 's/^/| /' conftest.
$ac_ext >&5
1844 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1845 See \`config.log' for more details." >&5
1846 echo "$as_me: error: C compiler cannot create executables
1847 See \`config.log' for more details." >&2;}
1848 { (exit 77); exit 77; }; }
1851 ac_exeext
=$ac_cv_exeext
1852 echo "$as_me:$LINENO: result: $ac_file" >&5
1853 echo "${ECHO_T}$ac_file" >&6
1855 # Check the compiler produces executables we can run. If not, either
1856 # the compiler is broken, or we cross compile.
1857 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1858 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1859 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1860 # If not cross compiling, check that we can run a simple program.
1861 if test "$cross_compiling" != yes; then
1862 if { ac_try
='./$ac_file'
1863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }; }; then
1870 if test "$cross_compiling" = maybe
; then
1873 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1874 If you meant to cross compile, use \`--host'.
1875 See \`config.log' for more details." >&5
1876 echo "$as_me: error: cannot run C compiled programs.
1877 If you meant to cross compile, use \`--host'.
1878 See \`config.log' for more details." >&2;}
1879 { (exit 1); exit 1; }; }
1883 echo "$as_me:$LINENO: result: yes" >&5
1884 echo "${ECHO_T}yes" >&6
1886 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1887 ac_clean_files
=$ac_clean_files_save
1888 # Check the compiler produces executables we can run. If not, either
1889 # the compiler is broken, or we cross compile.
1890 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1891 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1892 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1893 echo "${ECHO_T}$cross_compiling" >&6
1895 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1896 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1898 (eval $ac_link) 2>&5
1900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901 (exit $ac_status); }; then
1902 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1903 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1904 # work properly (i.e., refer to `conftest.exe'), while it won't with
1906 for ac_file
in conftest.exe conftest conftest.
*; do
1907 test -f "$ac_file" || continue
1909 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
1910 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1917 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1918 See \`config.log' for more details." >&5
1919 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1920 See \`config.log' for more details." >&2;}
1921 { (exit 1); exit 1; }; }
1924 rm -f conftest
$ac_cv_exeext
1925 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1926 echo "${ECHO_T}$ac_cv_exeext" >&6
1928 rm -f conftest.
$ac_ext
1929 EXEEXT
=$ac_cv_exeext
1931 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1932 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1933 if test "${ac_cv_objext+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 cat >conftest.
$ac_ext <<_ACEOF
1939 cat confdefs.h
>>conftest.
$ac_ext
1940 cat >>conftest.
$ac_ext <<_ACEOF
1941 /* end confdefs.h. */
1951 rm -f conftest.o conftest.obj
1952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1953 (eval $ac_compile) 2>&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; then
1957 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1959 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
1960 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1965 echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.
$ac_ext >&5
1968 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1969 See \`config.log' for more details." >&5
1970 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1971 See \`config.log' for more details." >&2;}
1972 { (exit 1); exit 1; }; }
1975 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1977 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1978 echo "${ECHO_T}$ac_cv_objext" >&6
1979 OBJEXT
=$ac_cv_objext
1981 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1982 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1983 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 cat >conftest.
$ac_ext <<_ACEOF
1989 cat confdefs.h
>>conftest.
$ac_ext
1990 cat >>conftest.
$ac_ext <<_ACEOF
1991 /* end confdefs.h. */
2004 rm -f conftest.
$ac_objext
2005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2006 (eval $ac_compile) 2>conftest.er1
2008 grep -v '^ *+' conftest.er1
>conftest.err
2010 cat conftest.err
>&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); } &&
2013 { ac_try
='test -z "$ac_c_werror_flag"
2014 || test ! -s conftest.err'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; } &&
2020 { ac_try
='test -s conftest.$ac_objext'
2021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }; }; then
2028 echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.
$ac_ext >&5
2033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2037 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2038 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2039 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2040 ac_test_CFLAGS
=${CFLAGS+set}
2041 ac_save_CFLAGS
=$CFLAGS
2043 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2044 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2045 if test "${ac_cv_prog_cc_g+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 cat >conftest.
$ac_ext <<_ACEOF
2051 cat confdefs.h
>>conftest.
$ac_ext
2052 cat >>conftest.
$ac_ext <<_ACEOF
2053 /* end confdefs.h. */
2063 rm -f conftest.
$ac_objext
2064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2065 (eval $ac_compile) 2>conftest.er1
2067 grep -v '^ *+' conftest.er1
>conftest.err
2069 cat conftest.err
>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); } &&
2072 { ac_try
='test -z "$ac_c_werror_flag"
2073 || test ! -s conftest.err'
2074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }; } &&
2079 { ac_try
='test -s conftest.$ac_objext'
2080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; }; then
2087 echo "$as_me: failed program was:" >&5
2088 sed 's/^/| /' conftest.
$ac_ext >&5
2092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2094 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2095 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2096 if test "$ac_test_CFLAGS" = set; then
2097 CFLAGS
=$ac_save_CFLAGS
2098 elif test $ac_cv_prog_cc_g = yes; then
2099 if test "$GCC" = yes; then
2105 if test "$GCC" = yes; then
2111 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2112 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2113 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 ac_cv_prog_cc_stdc
=no
2118 cat >conftest.
$ac_ext <<_ACEOF
2121 cat confdefs.h
>>conftest.
$ac_ext
2122 cat >>conftest.
$ac_ext <<_ACEOF
2123 /* end confdefs.h. */
2126 #include <sys/types.h>
2127 #include <sys/stat.h>
2128 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2129 struct buf { int x; };
2130 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2131 static char *e (p, i)
2137 static char *f (char * (*g) (char **, int), char **p, ...)
2142 s = g (p, va_arg (v,int));
2147 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2148 function prototypes and stuff, but not '\xHH' hex character constants.
2149 These don't provoke an error unfortunately, instead are silently treated
2150 as 'x'. The following induces an error, until -std1 is added to get
2151 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2152 array size at least. It's necessary to write '\x00'==0 to get something
2153 that's true only with -std1. */
2154 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2156 int test (int i, double x);
2157 struct s1 {int (*f) (int a);};
2158 struct s2 {int (*f) (double a);};
2159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2170 # Don't try gcc -ansi; that turns off useful extensions and
2171 # breaks some systems' header files.
2172 # AIX -qlanglvl=ansi
2173 # Ultrix and OSF/1 -std1
2174 # HP-UX 10.20 and later -Ae
2175 # HP-UX older versions -Aa -D_HPUX_SOURCE
2176 # SVR4 -Xc -D__EXTENSIONS__
2177 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2179 CC
="$ac_save_CC $ac_arg"
2180 rm -f conftest.
$ac_objext
2181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2182 (eval $ac_compile) 2>conftest.er1
2184 grep -v '^ *+' conftest.er1
>conftest.err
2186 cat conftest.err
>&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); } &&
2189 { ac_try
='test -z "$ac_c_werror_flag"
2190 || test ! -s conftest.err'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; } &&
2196 { ac_try
='test -s conftest.$ac_objext'
2197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; }; then
2202 ac_cv_prog_cc_stdc
=$ac_arg
2205 echo "$as_me: failed program was:" >&5
2206 sed 's/^/| /' conftest.
$ac_ext >&5
2209 rm -f conftest.err conftest.
$ac_objext
2211 rm -f conftest.
$ac_ext conftest.
$ac_objext
2216 case "x$ac_cv_prog_cc_stdc" in
2218 echo "$as_me:$LINENO: result: none needed" >&5
2219 echo "${ECHO_T}none needed" >&6 ;;
2221 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2222 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2223 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2226 # Some people use a C++ compiler to compile C. Since we use `exit',
2227 # in C++ we need to declare it. In case someone uses the same compiler
2228 # for both compiling C and C++ we need to have the C++ compiler decide
2229 # the declaration of exit, since it's the most demanding environment.
2230 cat >conftest.
$ac_ext <<_ACEOF
2235 rm -f conftest.
$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237 (eval $ac_compile) 2>conftest.er1
2239 grep -v '^ *+' conftest.er1
>conftest.err
2241 cat conftest.err
>&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } &&
2244 { ac_try
='test -z "$ac_c_werror_flag"
2245 || test ! -s conftest.err'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; } &&
2251 { ac_try
='test -s conftest.$ac_objext'
2252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; }; then
2257 for ac_declaration
in \
2259 'extern "C" void std::exit (int) throw (); using std::exit;' \
2260 'extern "C" void std::exit (int); using std::exit;' \
2261 'extern "C" void exit (int) throw ();' \
2262 'extern "C" void exit (int);' \
2265 cat >conftest.
$ac_ext <<_ACEOF
2268 cat confdefs.h
>>conftest.
$ac_ext
2269 cat >>conftest.
$ac_ext <<_ACEOF
2270 /* end confdefs.h. */
2281 rm -f conftest.
$ac_objext
2282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2283 (eval $ac_compile) 2>conftest.er1
2285 grep -v '^ *+' conftest.er1
>conftest.err
2287 cat conftest.err
>&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try
='test -z "$ac_c_werror_flag"
2291 || test ! -s conftest.err'
2292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; } &&
2297 { ac_try
='test -s conftest.$ac_objext'
2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; }; then
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.
$ac_ext >&5
2310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 cat >conftest.
$ac_ext <<_ACEOF
2314 cat confdefs.h
>>conftest.
$ac_ext
2315 cat >>conftest.
$ac_ext <<_ACEOF
2316 /* end confdefs.h. */
2326 rm -f conftest.
$ac_objext
2327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2328 (eval $ac_compile) 2>conftest.er1
2330 grep -v '^ *+' conftest.er1
>conftest.err
2332 cat conftest.err
>&5
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); } &&
2335 { ac_try
='test -z "$ac_c_werror_flag"
2336 || test ! -s conftest.err'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; } &&
2342 { ac_try
='test -s conftest.$ac_objext'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.
$ac_ext >&5
2354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2357 if test -n "$ac_declaration"; then
2358 echo '#ifdef __cplusplus' >>confdefs.h
2359 echo $ac_declaration >>confdefs.h
2360 echo '#endif' >>confdefs.h
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 ac_cpp
='$CPP $CPPFLAGS'
2371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2376 ac_cpp
='$CXXCPP $CPPFLAGS'
2377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2380 if test -n "$ac_tool_prefix"; then
2381 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2383 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2384 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_CXX+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$CXX"; then
2391 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test -n "$CXX"; then
2411 echo "$as_me:$LINENO: result: $CXX" >&5
2412 echo "${ECHO_T}$CXX" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2418 test -n "$CXX" && break
2421 if test -z "$CXX"; then
2423 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2425 # Extract the first word of "$ac_prog", so it can be a program name with args.
2426 set dummy
$ac_prog; ac_word
=$2
2427 echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2429 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test -n "$ac_ct_CXX"; then
2433 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2442 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2452 if test -n "$ac_ct_CXX"; then
2453 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2454 echo "${ECHO_T}$ac_ct_CXX" >&6
2456 echo "$as_me:$LINENO: result: no" >&5
2457 echo "${ECHO_T}no" >&6
2460 test -n "$ac_ct_CXX" && break
2462 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2468 # Provide some information about the compiler.
2469 echo "$as_me:$LINENO:" \
2470 "checking for C++ compiler version" >&5
2471 ac_compiler
=`set X $ac_compile; echo $2`
2472 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2473 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }
2477 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2478 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }
2482 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2483 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2488 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2489 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 cat >conftest.
$ac_ext <<_ACEOF
2496 cat confdefs.h
>>conftest.
$ac_ext
2497 cat >>conftest.
$ac_ext <<_ACEOF
2498 /* end confdefs.h. */
2511 rm -f conftest.
$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>conftest.er1
2515 grep -v '^ *+' conftest.er1
>conftest.err
2517 cat conftest.err
>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try
='test -z "$ac_cxx_werror_flag"
2521 || test ! -s conftest.err'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; } &&
2527 { ac_try
='test -s conftest.$ac_objext'
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2541 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2544 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2545 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2546 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2547 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2548 ac_save_CXXFLAGS
=$CXXFLAGS
2550 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2551 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2552 if test "${ac_cv_prog_cxx_g+set}" = set; then
2553 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 cat >conftest.
$ac_ext <<_ACEOF
2558 cat confdefs.h
>>conftest.
$ac_ext
2559 cat >>conftest.
$ac_ext <<_ACEOF
2560 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try
='test -z "$ac_cxx_werror_flag"
2580 || test ! -s conftest.err'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; } &&
2586 { ac_try
='test -s conftest.$ac_objext'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; }; then
2592 ac_cv_prog_cxx_g
=yes
2594 echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.
$ac_ext >&5
2599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2601 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2602 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2603 if test "$ac_test_CXXFLAGS" = set; then
2604 CXXFLAGS
=$ac_save_CXXFLAGS
2605 elif test $ac_cv_prog_cxx_g = yes; then
2606 if test "$GXX" = yes; then
2612 if test "$GXX" = yes; then
2618 for ac_declaration
in \
2620 'extern "C" void std::exit (int) throw (); using std::exit;' \
2621 'extern "C" void std::exit (int); using std::exit;' \
2622 'extern "C" void exit (int) throw ();' \
2623 'extern "C" void exit (int);' \
2626 cat >conftest.
$ac_ext <<_ACEOF
2629 cat confdefs.h
>>conftest.
$ac_ext
2630 cat >>conftest.
$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2642 rm -f conftest.
$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2646 grep -v '^ *+' conftest.er1
>conftest.err
2648 cat conftest.err
>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try
='test -z "$ac_cxx_werror_flag"
2652 || test ! -s conftest.err'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; } &&
2658 { ac_try
='test -s conftest.$ac_objext'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; }; then
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.
$ac_ext >&5
2671 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2672 cat >conftest.
$ac_ext <<_ACEOF
2675 cat confdefs.h
>>conftest.
$ac_ext
2676 cat >>conftest.
$ac_ext <<_ACEOF
2677 /* end confdefs.h. */
2687 rm -f conftest.
$ac_objext
2688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689 (eval $ac_compile) 2>conftest.er1
2691 grep -v '^ *+' conftest.er1
>conftest.err
2693 cat conftest.err
>&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } &&
2696 { ac_try
='test -z "$ac_cxx_werror_flag"
2697 || test ! -s conftest.err'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; } &&
2703 { ac_try
='test -s conftest.$ac_objext'
2704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; }; then
2711 echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.
$ac_ext >&5
2715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2718 if test -n "$ac_declaration"; then
2719 echo '#ifdef __cplusplus' >>confdefs.h
2720 echo $ac_declaration >>confdefs.h
2721 echo '#endif' >>confdefs.h
2725 ac_cpp
='$CPP $CPPFLAGS'
2726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2730 # Find a good install program. We prefer a C program (faster),
2731 # so one script is as good as another. But avoid the broken or
2732 # incompatible versions:
2733 # SysV /etc/install, /usr/sbin/install
2734 # SunOS /usr/etc/install
2735 # IRIX /sbin/install
2737 # AmigaOS /C/install, which installs bootblocks on floppy discs
2738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2741 # OS/2's system install, which has a completely different semantic
2742 # ./install, which can be erroneously created by make from ./install.sh.
2743 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2744 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2745 if test -z "$INSTALL"; then
2746 if test "${ac_cv_path_install+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 # Account for people who put trailing slashes in PATH elements.
2756 .
/ | .
// | /cC
/* | \
2757 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2758 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2761 # OSF1 and SCO ODT 3.0 have their own names for install.
2762 # Don't use installbsd from OSF since it installs stuff as root
2764 for ac_prog
in ginstall scoinst
install; do
2765 for ac_exec_ext
in '' $ac_executable_extensions; do
2766 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2767 if test $ac_prog = install &&
2768 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2769 # AIX install. It has an incompatible calling convention.
2771 elif test $ac_prog = install &&
2772 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2773 # program-specific install script used by HP pwplus--don't use.
2776 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2788 if test "${ac_cv_path_install+set}" = set; then
2789 INSTALL
=$ac_cv_path_install
2791 # As a last resort, use the slow shell script. We don't cache a
2792 # path for INSTALL within a source directory, because that will
2793 # break other packages using the cache if that directory is
2794 # removed, or if the path is relative.
2795 INSTALL
=$ac_install_sh
2798 echo "$as_me:$LINENO: result: $INSTALL" >&5
2799 echo "${ECHO_T}$INSTALL" >&6
2801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2802 # It thinks the first close brace ends the variable substitution.
2803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2807 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2810 # make sure install is relative to srcdir - if a script
2811 if test "$srcdir" = "."; then
2812 # If srcdir isn't just ., then (srcdir) is already prepended.
2813 if test "${ac_install_sh}" = "${INSTALL}"; then
2814 INSTALL
="\\\$(top_srcdir)/${ac_install_sh}"
2818 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
2819 #AC_CHECK_PROG(STRIP, strip, strip, true)
2821 for ac_prog
in gmake gnumake
2823 # Extract the first word of "$ac_prog", so it can be a program name with args.
2824 set dummy
$ac_prog; ac_word
=$2
2825 echo "$as_me:$LINENO: checking for $ac_word" >&5
2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2827 if test "${ac_cv_path_U_MAKE+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 ac_cv_path_U_MAKE
="$U_MAKE" # Let the user override the test with a path.
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 for ac_exec_ext
in '' $ac_executable_extensions; do
2841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_path_U_MAKE
="$as_dir/$ac_word$ac_exec_ext"
2843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 U_MAKE
=$ac_cv_path_U_MAKE
2854 if test -n "$U_MAKE"; then
2855 echo "$as_me:$LINENO: result: $U_MAKE" >&5
2856 echo "${ECHO_T}$U_MAKE" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2862 test -n "$U_MAKE" && break
2864 test -n "$U_MAKE" || U_MAKE
="make"
2868 # Extract the first word of "doxygen", so it can be a program name with args.
2869 set dummy doxygen
; ac_word
=$2
2870 echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872 if test "${ac_cv_path_DOXYGEN+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 as_dummy
="$PATH:/usr/local/bin:/usr/bin"
2882 for as_dir
in $as_dummy
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 DOXYGEN
=$ac_cv_path_DOXYGEN
2900 if test -n "$DOXYGEN"; then
2901 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2902 echo "${ECHO_T}$DOXYGEN" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2911 *-*-cygwin*|*-*-mingw*)
2912 if test "$GCC" != yes && test -n "`link --version 2>&1 | grep 'GNU coreutils'`"; then
2913 { { echo "$as_me:$LINENO: error: link.exe is not a valid linker. Your PATH is incorrect.
2914 Please follow the directions in ICU's readme." >&5
2915 echo "$as_me: error: link.exe is not a valid linker. Your PATH is incorrect.
2916 Please follow the directions in ICU's readme." >&2;}
2917 { (exit 1); exit 1; }; }
2922 echo "$as_me:$LINENO: checking checking for executable suffix" >&5
2923 echo $ECHO_N "checking checking for executable suffix... $ECHO_C" >&6
2925 *-*-cygwin*|*-*-mingw*) EXEEXT
=.exe
;;
2929 echo "$as_me:$LINENO: result: $EXEEXT" >&5
2930 echo "${ECHO_T}$EXEEXT" >&6
2934 echo "$as_me:$LINENO: checking whether strict compiling is on" >&5
2935 echo $ECHO_N "checking whether strict compiling is on... $ECHO_C" >&6
2936 # Check whether --enable-strict or --disable-strict was given.
2937 if test "${enable_strict+set}" = set; then
2938 enableval
="$enable_strict"
2940 if test "$enableval" = no
2942 ac_use_strict_options
=no
2944 ac_use_strict_options
=yes
2948 ac_use_strict_options
=no
2950 echo "$as_me:$LINENO: result: $ac_use_strict_options" >&5
2951 echo "${ECHO_T}$ac_use_strict_options" >&6
2953 if test "$ac_use_strict_options" = yes
2955 if test "$GCC" = yes
2957 CFLAGS
="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long"
2960 CFLAGS
="$CFLAGS -D__STDC__=0";;
2965 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
2967 CFLAGS
="$CFLAGS /W4"
2971 if test "$GXX" = yes
2973 CXXFLAGS
="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
2976 CXXFLAGS
="$CXXFLAGS -D__STDC__=0";;
2981 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
2983 CXXFLAGS
="$CXXFLAGS /W4"
2992 # Check whether --enable-64bit-libs or --disable-64bit-libs was given.
2993 if test "${enable_64bit_libs+set}" = set; then
2994 enableval
="$enable_64bit_libs"
2995 ENABLE_64BIT_LIBS
=${enableval}
2997 ENABLE_64BIT_LIBS
=yes
3000 echo "$as_me:$LINENO: checking for 64-bit executable support" >&5
3001 echo $ECHO_N "checking for 64-bit executable support... $ECHO_C" >&6
3002 if test "$ENABLE_64BIT_LIBS" != no
; then
3005 SPARCV9
=`isainfo -n 2>&1 | grep sparcv9`
3006 if test "$GCC" = yes; then
3007 # We could add a check for -m64 depending on the gcc version.
3008 ENABLE_64BIT_LIBS
=no
3010 SOL64
=`$CXX -xarch=v9 2>&1 && $CC -xarch=v9 2>&1 | grep -v usage:`
3011 if test -z "$SOL64" && test -n "$SPARCV9"; then
3012 CFLAGS
="${CFLAGS} -xtarget=ultra -xarch=v9"
3013 CXXFLAGS
="${CXXFLAGS} -xtarget=ultra -xarch=v9"
3014 LDFLAGS
="${LDFLAGS} -xtarget=ultra -xarch=v9"
3015 ENABLE_64BIT_LIBS
=yes
3017 ENABLE_64BIT_LIBS
=no
3022 if test "$GCC" = yes; then
3023 # gcc compiler support
3024 if test -n "`$CXX -dumpspecs 2>&1 && $CC -dumpspecs 2>&1 | grep -v __LP64__`"; then
3025 ENABLE_64BIT_LIBS
=yes
3027 ENABLE_64BIT_LIBS
=no
3030 # check for ecc/ecpc compiler support
3031 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Intel`"; then
3032 if test -n "`$CXX --help 2>&1 && $CC --help 2>&1 | grep -v Itanium`"; then
3033 ENABLE_64BIT_LIBS
=yes
3035 ENABLE_64BIT_LIBS
=no
3039 ENABLE_64BIT_LIBS
=no
3044 if test "$GCC" = yes; then
3045 if test -n "`$CXX -dumpspecs 2>&1 && $CC -dumpspecs 2>&1 | grep -v __LP64__`"; then
3046 ENABLE_64BIT_LIBS
=yes
3048 ENABLE_64BIT_LIBS
=no
3052 ENABLE_64BIT_LIBS
=no
3056 if test "$GCC" = yes; then
3057 if test -n "`$CXX -dumpspecs 2>&1 && $CC -dumpspecs 2>&1 | grep -v __LP64__`"; then
3058 ENABLE_64BIT_LIBS
=yes
3060 ENABLE_64BIT_LIBS
=no
3063 ENABLE_64BIT_LIBS
=no
3064 OLD_CPPFLAGS
="${CPPFLAGS}"
3065 OLD_LDFLAGS
="${LDFLAGS}"
3066 CPPFLAGS
="${CPPFLAGS} /DWIN64"
3067 LDFLAGS
="${LDFLAGS} /MACHINE:AMD64"
3068 if test "$cross_compiling" = yes; then
3069 ENABLE_64BIT_LIBS
=no
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 int main(void) {return 0;}
3079 rm -f conftest
$ac_exeext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3081 (eval $ac_link) 2>&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); }; }; then
3090 ENABLE_64BIT_LIBS
=yes
3092 echo "$as_me: program exited with status $ac_status" >&5
3093 echo "$as_me: failed program was:" >&5
3094 sed 's/^/| /' conftest.
$ac_ext >&5
3097 ENABLE_64BIT_LIBS
=no
3099 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3101 if test "$ENABLE_64BIT_LIBS" = no
; then
3102 CPPFLAGS
="${OLD_CPPFLAGS}"
3103 LDFLAGS
="${OLD_LDFLAGS}"
3107 *-*-aix*|powerpc64
-*-linux*)
3108 if test "$ac_cv_c_compiler_gnu" = no
; then
3109 # Note: Have not tested 64-bitness with gcc.
3110 # Maybe the flag "-maix64" could be used with gcc?
3111 OLD_CFLAGS
="${CFLAGS}"
3112 OLD_CXXFLAGS
="${CXXFLAGS}"
3113 OLD_LDFLAGS
="${LDFLAGS}"
3114 CFLAGS
="${CFLAGS} -q64"
3115 CXXFLAGS
="${CXXFLAGS} -q64"
3116 LDFLAGS
="${LDFLAGS} -q64"
3117 if test "$cross_compiling" = yes; then
3118 ENABLE_64BIT_LIBS
=no
3120 cat >conftest.
$ac_ext <<_ACEOF
3123 cat confdefs.h
>>conftest.
$ac_ext
3124 cat >>conftest.
$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3126 int main(void) {return 0;}
3128 rm -f conftest
$ac_exeext
3129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3130 (eval $ac_link) 2>&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }; }; then
3139 ENABLE_64BIT_LIBS
=yes
3141 echo "$as_me: program exited with status $ac_status" >&5
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.
$ac_ext >&5
3146 ENABLE_64BIT_LIBS
=no
3148 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3150 if test "$ENABLE_64BIT_LIBS" = no
; then
3151 CFLAGS
="${OLD_CFLAGS}"
3152 CXXFLAGS
="${OLD_CXXFLAGS}"
3153 LDFLAGS
="${OLD_LDFLAGS}"
3157 ARFLAGS
="${ARFLAGS} -X64"
3164 OLD_CFLAGS
="${CFLAGS}"
3165 OLD_CXXFLAGS
="${CXXFLAGS}"
3166 CFLAGS
="${CFLAGS} +DD64"
3167 CXXFLAGS
="${CXXFLAGS} +DD64"
3168 if test "$cross_compiling" = yes; then
3169 ENABLE_64BIT_LIBS
=no
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3177 int main(void) {return 0;}
3179 rm -f conftest
$ac_exeext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3181 (eval $ac_link) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); }; }; then
3190 ENABLE_64BIT_LIBS
=yes
3192 echo "$as_me: program exited with status $ac_status" >&5
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.
$ac_ext >&5
3197 ENABLE_64BIT_LIBS
=no
3199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3201 if test "$ENABLE_64BIT_LIBS" = no
; then
3202 CFLAGS
="${OLD_CFLAGS}"
3203 CXXFLAGS
="${OLD_CXXFLAGS}"
3204 CFLAGS
="${CFLAGS} +DA2.0W"
3205 CXXFLAGS
="${CXXFLAGS} +DA2.0W"
3206 if test "$cross_compiling" = yes; then
3207 ENABLE_64BIT_LIBS
=no
3209 cat >conftest.
$ac_ext <<_ACEOF
3212 cat confdefs.h
>>conftest.
$ac_ext
3213 cat >>conftest.
$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3215 int main(void) {return 0;}
3217 rm -f conftest
$ac_exeext
3218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3219 (eval $ac_link) 2>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3228 ENABLE_64BIT_LIBS
=yes
3230 echo "$as_me: program exited with status $ac_status" >&5
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.
$ac_ext >&5
3235 ENABLE_64BIT_LIBS
=no
3237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3239 if test "$ENABLE_64BIT_LIBS" = no
; then
3240 CFLAGS
="${OLD_CFLAGS}"
3241 CXXFLAGS
="${OLD_CXXFLAGS}"
3245 *-*ibm
-openedition*|*-*-os390*)
3246 OLD_CFLAGS
="${CFLAGS}"
3247 OLD_CXXFLAGS
="${CXXFLAGS}"
3248 OLD_LDFLAGS
="${LDFLAGS}"
3249 CFLAGS
="${CFLAGS} -Wc,lp64"
3250 CXXFLAGS
="${CXXFLAGS} -Wc,lp64"
3251 LDFLAGS
="${LDFLAGS} -Wl,lp64"
3252 if test "$cross_compiling" = yes; then
3253 ENABLE_64BIT_LIBS
=no
3255 cat >conftest.
$ac_ext <<_ACEOF
3258 cat confdefs.h
>>conftest.
$ac_ext
3259 cat >>conftest.
$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3261 int main(void) {return 0;}
3263 rm -f conftest
$ac_exeext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3265 (eval $ac_link) 2>&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; }; then
3274 ENABLE_64BIT_LIBS
=yes
3276 echo "$as_me: program exited with status $ac_status" >&5
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.
$ac_ext >&5
3281 ENABLE_64BIT_LIBS
=no
3283 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3285 if test "$ENABLE_64BIT_LIBS" = no
; then
3286 CFLAGS
="${OLD_CFLAGS}"
3287 CXXFLAGS
="${OLD_CXXFLAGS}"
3288 LDFLAGS
="${OLD_LDFLAGS}"
3292 ENABLE_64BIT_LIBS
=no
3296 if test "$GCC" = yes; then
3297 OLD_CFLAGS
="${CFLAGS}"
3298 OLD_CXXFLAGS
="${CXXFLAGS}"
3299 CFLAGS
="${CFLAGS} -m32"
3300 CXXFLAGS
="${CXXFLAGS} -m32"
3301 if test "$cross_compiling" = yes; then
3302 ENABLE_64BIT_LIBS
=yes
3304 cat >conftest.
$ac_ext <<_ACEOF
3307 cat confdefs.h
>>conftest.
$ac_ext
3308 cat >>conftest.
$ac_ext <<_ACEOF
3309 /* end confdefs.h. */
3310 int main(void) {return 0;}
3312 rm -f conftest
$ac_exeext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3314 (eval $ac_link) 2>&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; }; then
3323 ENABLE_64BIT_LIBS
=no
3325 echo "$as_me: program exited with status $ac_status" >&5
3326 echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.
$ac_ext >&5
3330 ENABLE_64BIT_LIBS
=yes
3332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3334 if test "$ENABLE_64BIT_LIBS" = yes; then
3335 CFLAGS
="${OLD_CFLAGS}"
3336 CXXFLAGS
="${OLD_CXXFLAGS}"
3340 echo "$as_me:$LINENO: result: $ENABLE_64BIT_LIBS" >&5
3341 echo "${ECHO_T}$ENABLE_64BIT_LIBS" >&6
3347 echo "$as_me:$LINENO: checking which Makefile fragment to use" >&5
3348 echo $ECHO_N "checking which Makefile fragment to use... $ECHO_C" >&6
3349 if test "${icu_cv_host_frag+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if test "$GCC" = yes; then
3356 icu_cv_host_frag
=mh
-solaris-gcc
3358 icu_cv_host_frag
=mh
-solaris
3361 if test "$GCC" = yes; then
3362 icu_cv_host_frag
=mh
-alpha-linux-gcc
3364 icu_cv_host_frag
=mh
-alpha-linux-cc
3367 if test "$GCC" = yes; then
3368 icu_cv_host_frag
=mh
-linux
3370 icu_cv_host_frag
=mh
-linux-va
3372 *-*-linux*) icu_cv_host_frag
=mh
-linux ;;
3374 if test "$GCC" = yes; then
3375 icu_cv_host_frag
=mh
-cygwin
3377 icu_cv_host_frag
=mh
-cygwin-msvc
3380 if test "$GCC" = yes; then
3381 icu_cv_host_frag
=mh
-mingw
3383 icu_cv_host_frag
=mh
-cygwin-msvc
3385 *-*-*bsd
*|*-*-dragonfly*) icu_cv_host_frag
=mh
-bsd-gcc ;;
3387 if test "$GCC" = yes; then
3388 icu_cv_host_frag
=mh
-aix-gcc
3390 if test -n "`$CXX --help 2>&1 | grep 'IBM C and C++ Compilers$'`"; then
3391 icu_cv_host_frag
=mh
-aix
3393 icu_cv_host_frag
=mh
-aix-va
3397 if test "$GCC" = yes; then
3398 icu_cv_host_frag
=mh
-hpux-gcc
3401 *aCC
) icu_cv_host_frag
=mh
-hpux-acc ;;
3402 *CC
) icu_cv_host_frag
=mh
-hpux-cc ;;
3405 *-*ibm
-openedition*|*-*-os390*) icu_cv_host_frag
=mh
-os390 ;;
3406 *-*-os400*) icu_cv_host_frag
=mh
-os400 ;;
3407 *-apple-rhapsody*) icu_cv_host_frag
=mh
-darwin ;;
3408 *-apple-darwin*) icu_cv_host_frag
=mh
-darwin ;;
3409 *-*-beos) icu_cv_host_frag
=mh
-beos ;;
3410 *-*-irix*) icu_cv_host_frag
=mh
-irix ;;
3411 *-dec-osf*) icu_cv_host_frag
=mh
-alpha-osf ;;
3412 *-*-nto*) icu_cv_host_frag
=mh
-qnx ;;
3413 *-ncr-*) icu_cv_host_frag
=mh
-mpras ;;
3414 *) icu_cv_host_frag
=mh
-unknown ;;
3419 echo "$as_me:$LINENO: result: $icu_cv_host_frag" >&5
3420 echo "${ECHO_T}$icu_cv_host_frag" >&6
3424 *-*-hpux*) echo "$as_me:$LINENO: checking for floor in -lm" >&5
3425 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
3426 if test "${ac_cv_lib_m_floor+set}" = set; then
3427 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 ac_check_lib_save_LIBS
=$LIBS
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 /* Override any gcc2 internal prototype to avoid an error. */
3442 /* We use char because int might match the return type of a gcc2
3443 builtin and then its argument prototype would still apply. */
3453 rm -f conftest.
$ac_objext conftest
$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1
>conftest.err
3459 cat conftest.err
>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try
='test -z "$ac_c_werror_flag"
3463 || test ! -s conftest.err'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; } &&
3469 { ac_try
='test -s conftest$ac_exeext'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; }; then
3475 ac_cv_lib_m_floor
=yes
3477 echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.
$ac_ext >&5
3480 ac_cv_lib_m_floor
=no
3482 rm -f conftest.err conftest.
$ac_objext \
3483 conftest
$ac_exeext conftest.
$ac_ext
3484 LIBS
=$ac_check_lib_save_LIBS
3486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
3487 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
3488 if test $ac_cv_lib_m_floor = yes; then
3494 echo "$as_me:$LINENO: checking for floor in -lm" >&5
3495 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
3496 if test "${ac_cv_lib_m_floor+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 ac_check_lib_save_LIBS
=$LIBS
3501 cat >conftest.
$ac_ext <<_ACEOF
3504 cat confdefs.h
>>conftest.
$ac_ext
3505 cat >>conftest.
$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3508 /* Override any gcc2 internal prototype to avoid an error. */
3512 /* We use char because int might match the return type of a gcc2
3513 builtin and then its argument prototype would still apply. */
3523 rm -f conftest.
$ac_objext conftest
$ac_exeext
3524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3525 (eval $ac_link) 2>conftest.er1
3527 grep -v '^ *+' conftest.er1
>conftest.err
3529 cat conftest.err
>&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } &&
3532 { ac_try
='test -z "$ac_c_werror_flag"
3533 || test ! -s conftest.err'
3534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); }; } &&
3539 { ac_try
='test -s conftest$ac_exeext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3545 ac_cv_lib_m_floor
=yes
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.
$ac_ext >&5
3550 ac_cv_lib_m_floor
=no
3552 rm -f conftest.err conftest.
$ac_objext \
3553 conftest
$ac_exeext conftest.
$ac_ext
3554 LIBS
=$ac_check_lib_save_LIBS
3556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
3557 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
3558 if test $ac_cv_lib_m_floor = yes; then
3559 cat >>confdefs.h
<<_ACEOF
3571 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
3572 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
3574 # Check whether --enable-shared or --disable-shared was given.
3575 if test "${enable_shared+set}" = set; then
3576 enableval
="$enable_shared"
3577 case "${enableval}" in
3578 yes|"") enabled
=yes; ENABLE_SHARED
=YES
;;
3583 enabled
=yes; ENABLE_SHARED
=YES
3586 echo "$as_me:$LINENO: result: $enabled" >&5
3587 echo "${ECHO_T}$enabled" >&6
3590 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
3591 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
3593 # Check whether --enable-static or --disable-static was given.
3594 if test "${enable_static+set}" = set; then
3595 enableval
="$enable_static"
3596 case "${enableval}" in
3597 yes|"") enabled
=yes; ENABLE_STATIC
=YES
;;
3602 echo "$as_me:$LINENO: result: $enabled" >&5
3603 echo "${ECHO_T}$enabled" >&6
3606 echo "$as_me:$LINENO: checking whether to build debug libraries" >&5
3607 echo $ECHO_N "checking whether to build debug libraries... $ECHO_C" >&6
3610 # Check whether --enable-debug or --disable-debug was given.
3611 if test "${enable_debug+set}" = set; then
3612 enableval
="$enable_debug"
3613 case "${enableval}" in
3614 yes|"") enabled
=yes; ENABLE_DEBUG
=1 ;;
3618 echo "$as_me:$LINENO: result: $enabled" >&5
3619 echo "${ECHO_T}$enabled" >&6
3622 echo "$as_me:$LINENO: checking whether to build release libraries" >&5
3623 echo $ECHO_N "checking whether to build release libraries... $ECHO_C" >&6
3626 # Check whether --enable-release or --disable-release was given.
3627 if test "${enable_release+set}" = set; then
3628 enableval
="$enable_release"
3629 case "${enableval}" in
3630 no
) enabled
=no
; ENABLE_RELEASE
=0 ;;
3634 echo "$as_me:$LINENO: result: $enabled" >&5
3635 echo "${ECHO_T}$enabled" >&6
3638 echo "$as_me:$LINENO: checking whether to enable draft APIs" >&5
3639 echo $ECHO_N "checking whether to enable draft APIs... $ECHO_C" >&6
3641 U_DEFAULT_SHOW_DRAFT
=1
3642 # Check whether --enable-draft or --disable-draft was given.
3643 if test "${enable_draft+set}" = set; then
3644 enableval
="$enable_draft"
3645 case "${enableval}" in
3646 no
) enabled
=no
; U_DEFAULT_SHOW_DRAFT
=0 ;;
3650 echo "$as_me:$LINENO: result: $enabled" >&5
3651 echo "${ECHO_T}$enabled" >&6
3652 if test "$U_DEFAULT_SHOW_DRAFT" = 0; then
3653 CPPFLAGS
="$CPPFLAGS -DU_SHOW_DRAFT_API"
3657 if test -n "$ac_tool_prefix"; then
3658 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3659 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3660 echo "$as_me:$LINENO: checking for $ac_word" >&5
3661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3662 if test "${ac_cv_prog_RANLIB+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 if test -n "$RANLIB"; then
3666 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 RANLIB
=$ac_cv_prog_RANLIB
3685 if test -n "$RANLIB"; then
3686 echo "$as_me:$LINENO: result: $RANLIB" >&5
3687 echo "${ECHO_T}$RANLIB" >&6
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3694 if test -z "$ac_cv_prog_RANLIB"; then
3695 ac_ct_RANLIB
=$RANLIB
3696 # Extract the first word of "ranlib", so it can be a program name with args.
3697 set dummy ranlib
; ac_word
=$2
3698 echo "$as_me:$LINENO: checking for $ac_word" >&5
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 if test -n "$ac_ct_RANLIB"; then
3704 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3710 test -z "$as_dir" && as_dir
=.
3711 for ac_exec_ext
in '' $ac_executable_extensions; do
3712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3713 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3723 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3724 if test -n "$ac_ct_RANLIB"; then
3725 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3726 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3732 RANLIB
=$ac_ct_RANLIB
3734 RANLIB
="$ac_cv_prog_RANLIB"
3737 # Extract the first word of "ar", so it can be a program name with args.
3738 set dummy
ar; ac_word
=$2
3739 echo "$as_me:$LINENO: checking for $ac_word" >&5
3740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3741 if test "${ac_cv_path_AR+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3746 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
3749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3750 as_dummy
="$PATH:/bin:/usr/bin:/usr/ccs/bin"
3751 for as_dir
in $as_dummy
3754 test -z "$as_dir" && as_dir
=.
3755 for ac_exec_ext
in '' $ac_executable_extensions; do
3756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3757 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
3758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="echo archiver ar not found re-run configure ; false"
3770 if test -n "$AR"; then
3771 echo "$as_me:$LINENO: result: $AR" >&5
3772 echo "${ECHO_T}$AR" >&6
3774 echo "$as_me:$LINENO: result: no" >&5
3775 echo "${ECHO_T}no" >&6
3779 echo "$as_me:$LINENO: checking whether to enable renaming of symbols" >&5
3780 echo $ECHO_N "checking whether to enable renaming of symbols... $ECHO_C" >&6
3782 U_DISABLE_RENAMING
=0
3783 # Check whether --enable-renaming or --disable-renaming was given.
3784 if test "${enable_renaming+set}" = set; then
3785 enableval
="$enable_renaming"
3786 case "${enableval}" in
3787 yes|"") enabled
=yes ;;
3788 no
) enabled
=no
; U_DISABLE_RENAMING
=1 ;;
3792 echo "$as_me:$LINENO: result: $enabled" >&5
3793 echo "${ECHO_T}$enabled" >&6
3796 echo "$as_me:$LINENO: checking whether to enable function and data tracing" >&5
3797 echo $ECHO_N "checking whether to enable function and data tracing... $ECHO_C" >&6
3800 # Check whether --enable-tracing or --disable-tracing was given.
3801 if test "${enable_tracing+set}" = set; then
3802 enableval
="$enable_tracing"
3803 case "${enableval}" in
3804 yes|"") enabled
=yes ;;
3805 no
) enabled
=no
; U_ENABLE_TRACING
=0 ;;
3809 echo "$as_me:$LINENO: result: $enabled" >&5
3810 echo "${ECHO_T}$enabled" >&6
3813 # Check whether --enable-rpath or --disable-rpath was given.
3814 if test "${enable_rpath+set}" = set; then
3815 enableval
="$enable_rpath"
3816 case "${enableval}" in
3817 yes|"") ENABLE_RPATH
=YES
;;
3828 echo "$as_me:$LINENO: checking for definition of U_INLINE for C" >&5
3829 echo $ECHO_N "checking for definition of U_INLINE for C... $ECHO_C" >&6
3830 if test "${ac_cv_c_inline+set}" = set; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 for ac_kw
in inline __inline__ __inline
; do
3835 cat >conftest.
$ac_ext <<_ACEOF
3838 cat confdefs.h
>>conftest.
$ac_ext
3839 cat >>conftest.
$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3845 return 0;} $ac_kw int foo() {
3850 rm -f conftest.
$ac_objext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852 (eval $ac_compile) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag"
3860 || test ! -s conftest.err'
3861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); }; } &&
3866 { ac_try
='test -s conftest.$ac_objext'
3867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); }; }; then
3872 ac_cv_c_inline
=$ac_kw; break
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3882 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3883 echo "${ECHO_T}$ac_cv_c_inline" >&6
3884 case "$ac_cv_c_inline" in
3885 yes) U_INLINE
= "inline" ;;
3887 *) U_INLINE
=$ac_cv_c_inline ;;
3893 # Check whether --enable-threads or --disable-threads was given.
3894 if test "${enable_threads+set}" = set; then
3895 enableval
="$enable_threads"
3896 case "${enableval}" in
3897 yes) threads
=true
;;
3898 no
) threads
=false
;;
3899 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-threads" >&5
3900 echo "$as_me: error: bad value ${enableval} for --enable-threads" >&2;}
3901 { (exit 1); exit 1; }; } ;;
3907 if test "$threads" = true
; then
3915 if test $threads = true
; then
3918 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
3919 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6
3920 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 ac_check_lib_save_LIBS
=$LIBS
3924 LIBS
="-lpthread $LIBS"
3925 cat >conftest.
$ac_ext <<_ACEOF
3928 cat confdefs.h
>>conftest.
$ac_ext
3929 cat >>conftest.
$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3932 /* Override any gcc2 internal prototype to avoid an error. */
3936 /* We use char because int might match the return type of a gcc2
3937 builtin and then its argument prototype would still apply. */
3938 char pthread_attr_init ();
3942 pthread_attr_init ();
3947 rm -f conftest.
$ac_objext conftest
$ac_exeext
3948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3949 (eval $ac_link) 2>conftest.er1
3951 grep -v '^ *+' conftest.er1
>conftest.err
3953 cat conftest.err
>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } &&
3956 { ac_try
='test -z "$ac_c_werror_flag"
3957 || test ! -s conftest.err'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; } &&
3963 { ac_try
='test -s conftest$ac_exeext'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; }; then
3969 ac_cv_lib_pthread_pthread_attr_init
=yes
3971 echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.
$ac_ext >&5
3974 ac_cv_lib_pthread_pthread_attr_init
=no
3976 rm -f conftest.err conftest.
$ac_objext \
3977 conftest
$ac_exeext conftest.
$ac_ext
3978 LIBS
=$ac_check_lib_save_LIBS
3980 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
3981 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6
3982 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
3983 cat >>confdefs.h
<<_ACEOF
3984 #define HAVE_LIBPTHREAD 1
3987 LIBS
="-lpthread $LIBS"
3991 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
3996 echo "$as_me:$LINENO: checking for library containing pthread_mutex_destroy" >&5
3997 echo $ECHO_N "checking for library containing pthread_mutex_destroy... $ECHO_C" >&6
3998 if test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 ac_func_search_save_LIBS
="$LIBS"
4002 ac_cv_search_pthread_mutex_destroy
="no"
4003 for i
in pthread pthreads c_r
; do
4004 LIBS
="-l$i $ac_func_search_save_LIBS"
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4012 /* Override any gcc2 internal prototype to avoid an error. */
4016 /* We use char because int might match the return type of a gcc2
4017 builtin and then its argument prototype would still apply. */
4018 char pthread_mutex_destroy ();
4022 pthread_mutex_destroy ();
4027 rm -f conftest.
$ac_objext conftest
$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1
>conftest.err
4033 cat conftest.err
>&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try
='test -z "$ac_c_werror_flag"
4037 || test ! -s conftest.err'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; } &&
4043 { ac_try
='test -s conftest$ac_exeext'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 ac_cv_search_pthread_mutex_destroy
="-l$i"
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.
$ac_ext >&5
4056 rm -f conftest.err conftest.
$ac_objext \
4057 conftest
$ac_exeext conftest.
$ac_ext
4059 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
4060 cat >conftest.
$ac_ext <<_ACEOF
4063 cat confdefs.h
>>conftest.
$ac_ext
4064 cat >>conftest.
$ac_ext <<_ACEOF
4065 /* end confdefs.h. */
4067 /* Override any gcc2 internal prototype to avoid an error. */
4071 /* We use char because int might match the return type of a gcc2
4072 builtin and then its argument prototype would still apply. */
4073 char pthread_mutex_destroy ();
4077 pthread_mutex_destroy ();
4082 rm -f conftest.
$ac_objext conftest
$ac_exeext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4084 (eval $ac_link) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try
='test -z "$ac_c_werror_flag"
4092 || test ! -s conftest.err'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; } &&
4098 { ac_try
='test -s conftest$ac_exeext'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; }; then
4104 ac_cv_search_pthread_mutex_destroy
="none required"
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.
$ac_ext >&5
4110 rm -f conftest.err conftest.
$ac_objext \
4111 conftest
$ac_exeext conftest.
$ac_ext
4113 LIBS
="$ac_func_search_save_LIBS"
4115 echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_destroy" >&5
4116 echo "${ECHO_T}$ac_cv_search_pthread_mutex_destroy" >&6
4117 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
4118 test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS
="$ac_cv_search_pthread_mutex_destroy $LIBS"
4124 if test "$ac_cv_search_pthread_mutex_destroy" != no
; then
4128 echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
4129 echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
4130 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 ac_check_lib_save_LIBS
=$LIBS
4134 LIBS
="-lpthread $LIBS"
4135 cat >conftest.
$ac_ext <<_ACEOF
4138 cat confdefs.h
>>conftest.
$ac_ext
4139 cat >>conftest.
$ac_ext <<_ACEOF
4140 /* end confdefs.h. */
4142 /* Override any gcc2 internal prototype to avoid an error. */
4146 /* We use char because int might match the return type of a gcc2
4147 builtin and then its argument prototype would still apply. */
4148 char pthread_mutex_init ();
4152 pthread_mutex_init ();
4157 rm -f conftest.
$ac_objext conftest
$ac_exeext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>conftest.er1
4161 grep -v '^ *+' conftest.er1
>conftest.err
4163 cat conftest.err
>&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try
='test -z "$ac_c_werror_flag"
4167 || test ! -s conftest.err'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; } &&
4173 { ac_try
='test -s conftest$ac_exeext'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 ac_cv_lib_pthread_pthread_mutex_init
=yes
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.
$ac_ext >&5
4184 ac_cv_lib_pthread_pthread_mutex_init
=no
4186 rm -f conftest.err conftest.
$ac_objext \
4187 conftest
$ac_exeext conftest.
$ac_ext
4188 LIBS
=$ac_check_lib_save_LIBS
4190 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
4191 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
4192 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
4193 cat >>confdefs.h
<<_ACEOF
4194 #define HAVE_LIBPTHREAD 1
4197 LIBS
="-lpthread $LIBS"
4201 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
4206 echo "$as_me:$LINENO: checking for pthread_mutex_lock" >&5
4207 echo $ECHO_N "checking for pthread_mutex_lock... $ECHO_C" >&6
4208 if test "${ac_cv_func_pthread_mutex_lock+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 cat >conftest.
$ac_ext <<_ACEOF
4214 cat confdefs.h
>>conftest.
$ac_ext
4215 cat >>conftest.
$ac_ext <<_ACEOF
4216 /* end confdefs.h. */
4217 /* Define pthread_mutex_lock to an innocuous variant, in case <limits.h> declares pthread_mutex_lock.
4218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4219 #define pthread_mutex_lock innocuous_pthread_mutex_lock
4221 /* System header to define __stub macros and hopefully few prototypes,
4222 which can conflict with char pthread_mutex_lock (); below.
4223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4224 <limits.h> exists even on freestanding compilers. */
4227 # include <limits.h>
4229 # include <assert.h>
4232 #undef pthread_mutex_lock
4234 /* Override any gcc2 internal prototype to avoid an error. */
4239 /* We use char because int might match the return type of a gcc2
4240 builtin and then its argument prototype would still apply. */
4241 char pthread_mutex_lock ();
4242 /* The GNU C library defines this for functions which it implements
4243 to always fail with ENOSYS. Some functions are actually named
4244 something starting with __ and the normal name is an alias. */
4245 #if defined (__stub_pthread_mutex_lock) || defined (__stub___pthread_mutex_lock)
4248 char (*f) () = pthread_mutex_lock;
4257 return f != pthread_mutex_lock;
4262 rm -f conftest.
$ac_objext conftest
$ac_exeext
4263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4264 (eval $ac_link) 2>conftest.er1
4266 grep -v '^ *+' conftest.er1
>conftest.err
4268 cat conftest.err
>&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); } &&
4271 { ac_try
='test -z "$ac_c_werror_flag"
4272 || test ! -s conftest.err'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try
='test -s conftest$ac_exeext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 ac_cv_func_pthread_mutex_lock
=yes
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4289 ac_cv_func_pthread_mutex_lock
=no
4291 rm -f conftest.err conftest.
$ac_objext \
4292 conftest
$ac_exeext conftest.
$ac_ext
4294 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_lock" >&5
4295 echo "${ECHO_T}$ac_cv_func_pthread_mutex_lock" >&6
4298 if test $ac_cv_func_pthread_mutex_lock = yes; then
4303 *-pc-cygwin*|*-pc-mingw*)
4305 if test "$ac_cv_c_compiler_gnu" = no
; then
4307 if test $ENABLE_DEBUG = 1; then
4308 CFLAGS
="${CFLAGS} /MDd"
4309 CXXFLAGS
="${CXXFLAGS} /MDd"
4311 CFLAGS
="${CFLAGS} /MD"
4312 CXXFLAGS
="${CXXFLAGS} /MD"
4316 case "${icu_cv_host_frag}" in
4318 OLD_CXXFLAGS
="${CXXFLAGS}"
4319 CXXFLAGS
="${CXXFLAGS} -mt"
4320 if test x
"`${CXX} ${CXXFLAGS} 2>&1`" != x
""; then
4321 CXXFLAGS
="${OLD_CXXFLAGS}"
4332 # The AC_FUNC_MMAP macro doesn't work properly. It seems to be too specific.
4333 # Do this check instead.
4335 echo "$as_me:$LINENO: checking for mmap" >&5
4336 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
4337 if test "${ac_cv_func_mmap_ok+set}" = set; then
4338 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 cat >conftest.
$ac_ext <<_ACEOF
4343 cat confdefs.h
>>conftest.
$ac_ext
4344 cat >>conftest.
$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4348 #include <sys/mman.h>
4349 #include <sys/stat.h>
4355 mmap((void *)0, 0, PROT_READ, 0, 0, 0);
4360 rm -f conftest.
$ac_objext conftest
$ac_exeext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4362 (eval $ac_link) 2>conftest.er1
4364 grep -v '^ *+' conftest.er1
>conftest.err
4366 cat conftest.err
>&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try
='test -z "$ac_c_werror_flag"
4370 || test ! -s conftest.err'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; } &&
4376 { ac_try
='test -s conftest$ac_exeext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4382 ac_cv_func_mmap_ok
=yes
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.
$ac_ext >&5
4387 ac_cv_func_mmap_ok
=no
4389 rm -f conftest.err conftest.
$ac_objext \
4390 conftest
$ac_exeext conftest.
$ac_ext
4393 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_ok" >&5
4394 echo "${ECHO_T}$ac_cv_func_mmap_ok" >&6
4395 if test $ac_cv_func_mmap_ok = yes
4403 i
*86-*-linux*|x86_64
-*-linux*|powerpc
*-*-linux*|i
*86-*-*bsd
*|i
*86-*-solaris*)
4404 if test "$GCC" = yes; then
4405 GENCCODE_ASSEMBLY
="-a gcc"
4408 GENCCODE_ASSEMBLY
="-a sun"
4415 ac_cpp
='$CPP $CPPFLAGS'
4416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4419 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4420 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4421 # On Suns, sometimes $CPP names a directory.
4422 if test -n "$CPP" && test -d "$CPP"; then
4425 if test -z "$CPP"; then
4426 if test "${ac_cv_prog_CPP+set}" = set; then
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 # Double quotes because CPP needs to be expanded
4430 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4433 for ac_c_preproc_warn_flag
in '' yes
4435 # Use a header file that comes with gcc, so configuring glibc
4436 # with a fresh cross-compiler works.
4437 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4438 # <limits.h> exists even on freestanding compilers.
4439 # On the NeXT, cc -E runs the code through the compiler's parser,
4440 # not just through cpp. "Syntax error" is here to catch this case.
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4448 # include <limits.h>
4450 # include <assert.h>
4454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4455 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4457 grep -v '^ *+' conftest.er1
>conftest.err
4459 cat conftest.err
>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } >/dev
/null
; then
4462 if test -s conftest.err
; then
4463 ac_cpp_err
=$ac_c_preproc_warn_flag
4464 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4471 if test -z "$ac_cpp_err"; then
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 # Broken: fails on valid input.
4480 rm -f conftest.err conftest.
$ac_ext
4482 # OK, works on sane cases. Now check whether non-existent headers
4483 # can be detected and how.
4484 cat >conftest.
$ac_ext <<_ACEOF
4487 cat confdefs.h
>>conftest.
$ac_ext
4488 cat >>conftest.
$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 #include <ac_nonexistent.h>
4492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4495 grep -v '^ *+' conftest.er1
>conftest.err
4497 cat conftest.err
>&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); } >/dev
/null
; then
4500 if test -s conftest.err
; then
4501 ac_cpp_err
=$ac_c_preproc_warn_flag
4502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4509 if test -z "$ac_cpp_err"; then
4510 # Broken: success on invalid input.
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.
$ac_ext >&5
4516 # Passes both tests.
4520 rm -f conftest.err conftest.
$ac_ext
4523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4524 rm -f conftest.err conftest.
$ac_ext
4525 if $ac_preproc_ok; then
4537 echo "$as_me:$LINENO: result: $CPP" >&5
4538 echo "${ECHO_T}$CPP" >&6
4540 for ac_c_preproc_warn_flag
in '' yes
4542 # Use a header file that comes with gcc, so configuring glibc
4543 # with a fresh cross-compiler works.
4544 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4545 # <limits.h> exists even on freestanding compilers.
4546 # On the NeXT, cc -E runs the code through the compiler's parser,
4547 # not just through cpp. "Syntax error" is here to catch this case.
4548 cat >conftest.
$ac_ext <<_ACEOF
4551 cat confdefs.h
>>conftest.
$ac_ext
4552 cat >>conftest.
$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4555 # include <limits.h>
4557 # include <assert.h>
4561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4564 grep -v '^ *+' conftest.er1
>conftest.err
4566 cat conftest.err
>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } >/dev
/null
; then
4569 if test -s conftest.err
; then
4570 ac_cpp_err
=$ac_c_preproc_warn_flag
4571 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4578 if test -z "$ac_cpp_err"; then
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4584 # Broken: fails on valid input.
4587 rm -f conftest.err conftest.
$ac_ext
4589 # OK, works on sane cases. Now check whether non-existent headers
4590 # can be detected and how.
4591 cat >conftest.
$ac_ext <<_ACEOF
4594 cat confdefs.h
>>conftest.
$ac_ext
4595 cat >>conftest.
$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4597 #include <ac_nonexistent.h>
4599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4600 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4602 grep -v '^ *+' conftest.er1
>conftest.err
4604 cat conftest.err
>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } >/dev
/null
; then
4607 if test -s conftest.err
; then
4608 ac_cpp_err
=$ac_c_preproc_warn_flag
4609 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4616 if test -z "$ac_cpp_err"; then
4617 # Broken: success on invalid input.
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.
$ac_ext >&5
4623 # Passes both tests.
4627 rm -f conftest.err conftest.
$ac_ext
4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4631 rm -f conftest.err conftest.
$ac_ext
4632 if $ac_preproc_ok; then
4635 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4636 See \`config.log' for more details." >&5
4637 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4638 See \`config.log' for more details." >&2;}
4639 { (exit 1); exit 1; }; }
4643 ac_cpp
='$CPP $CPPFLAGS'
4644 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4649 echo "$as_me:$LINENO: checking for egrep" >&5
4650 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4651 if test "${ac_cv_prog_egrep+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
4655 then ac_cv_prog_egrep
='grep -E'
4656 else ac_cv_prog_egrep
='egrep'
4659 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4660 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4661 EGREP
=$ac_cv_prog_egrep
4664 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4665 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4666 if test "${ac_cv_header_stdc+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 cat >conftest.
$ac_ext <<_ACEOF
4672 cat confdefs.h
>>conftest.
$ac_ext
4673 cat >>conftest.
$ac_ext <<_ACEOF
4674 /* end confdefs.h. */
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try
='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 ac_cv_header_stdc
=yes
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4715 ac_cv_header_stdc
=no
4717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 if test $ac_cv_header_stdc = yes; then
4720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4721 cat >conftest.
$ac_ext <<_ACEOF
4724 cat confdefs.h
>>conftest.
$ac_ext
4725 cat >>conftest.
$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4731 $EGREP "memchr" >/dev
/null
2>&1; then
4734 ac_cv_header_stdc
=no
4740 if test $ac_cv_header_stdc = yes; then
4741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4742 cat >conftest.
$ac_ext <<_ACEOF
4745 cat confdefs.h
>>conftest.
$ac_ext
4746 cat >>conftest.
$ac_ext <<_ACEOF
4747 /* end confdefs.h. */
4751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4752 $EGREP "free" >/dev
/null
2>&1; then
4755 ac_cv_header_stdc
=no
4761 if test $ac_cv_header_stdc = yes; then
4762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4763 if test "$cross_compiling" = yes; then
4766 cat >conftest.
$ac_ext <<_ACEOF
4769 cat confdefs.h
>>conftest.
$ac_ext
4770 cat >>conftest.
$ac_ext <<_ACEOF
4771 /* end confdefs.h. */
4773 #if ((' ' & 0x0FF) == 0x020)
4774 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4775 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4777 # define ISLOWER(c) \
4778 (('a' <= (c) && (c) <= 'i') \
4779 || ('j' <= (c) && (c) <= 'r') \
4780 || ('s' <= (c) && (c) <= 'z'))
4781 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4784 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4789 for (i = 0; i < 256; i++)
4790 if (XOR (islower (i), ISLOWER (i))
4791 || toupper (i) != TOUPPER (i))
4796 rm -f conftest
$ac_exeext
4797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4798 (eval $ac_link) 2>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4809 echo "$as_me: program exited with status $ac_status" >&5
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4814 ac_cv_header_stdc
=no
4816 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4820 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4821 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4822 if test $ac_cv_header_stdc = yes; then
4824 cat >>confdefs.h
<<\_ACEOF
4825 #define STDC_HEADERS 1
4830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4840 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4841 inttypes.h stdint.h unistd.h
4843 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4844 echo "$as_me:$LINENO: checking for $ac_header" >&5
4845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4855 $ac_includes_default
4857 #include <$ac_header>
4859 rm -f conftest.
$ac_objext
4860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861 (eval $ac_compile) 2>conftest.er1
4863 grep -v '^ *+' conftest.er1
>conftest.err
4865 cat conftest.err
>&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); } &&
4868 { ac_try
='test -z "$ac_c_werror_flag"
4869 || test ! -s conftest.err'
4870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); }; } &&
4875 { ac_try
='test -s conftest.$ac_objext'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; }; then
4881 eval "$as_ac_Header=yes"
4883 echo "$as_me: failed program was:" >&5
4884 sed 's/^/| /' conftest.
$ac_ext >&5
4886 eval "$as_ac_Header=no"
4888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4893 cat >>confdefs.h
<<_ACEOF
4894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4903 for ac_header
in inttypes.h
4905 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4907 echo "$as_me:$LINENO: checking for $ac_header" >&5
4908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4915 # Is the header compilable?
4916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4918 cat >conftest.
$ac_ext <<_ACEOF
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4924 $ac_includes_default
4925 #include <$ac_header>
4927 rm -f conftest.
$ac_objext
4928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4929 (eval $ac_compile) 2>conftest.er1
4931 grep -v '^ *+' conftest.er1
>conftest.err
4933 cat conftest.err
>&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } &&
4936 { ac_try
='test -z "$ac_c_werror_flag"
4937 || test ! -s conftest.err'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; } &&
4943 { ac_try
='test -s conftest.$ac_objext'
4944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); }; }; then
4949 ac_header_compiler
=yes
4951 echo "$as_me: failed program was:" >&5
4952 sed 's/^/| /' conftest.
$ac_ext >&5
4954 ac_header_compiler
=no
4956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4958 echo "${ECHO_T}$ac_header_compiler" >&6
4960 # Is the header present?
4961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4963 cat >conftest.
$ac_ext <<_ACEOF
4966 cat confdefs.h
>>conftest.
$ac_ext
4967 cat >>conftest.
$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 #include <$ac_header>
4971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4972 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4974 grep -v '^ *+' conftest.er1
>conftest.err
4976 cat conftest.err
>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); } >/dev
/null
; then
4979 if test -s conftest.err
; then
4980 ac_cpp_err
=$ac_c_preproc_warn_flag
4981 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4988 if test -z "$ac_cpp_err"; then
4989 ac_header_preproc
=yes
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.
$ac_ext >&5
4994 ac_header_preproc
=no
4996 rm -f conftest.err conftest.
$ac_ext
4997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4998 echo "${ECHO_T}$ac_header_preproc" >&6
5000 # So? What about this header?
5001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5007 ac_header_preproc
=yes
5010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5024 ## ------------------------------------------ ##
5025 ## Report this to the AC_PACKAGE_NAME lists. ##
5026 ## ------------------------------------------ ##
5029 sed "s/^/$as_me: WARNING: /" >&2
5032 echo "$as_me:$LINENO: checking for $ac_header" >&5
5033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5037 eval "$as_ac_Header=\$ac_header_preproc"
5039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5044 cat >>confdefs.h
<<_ACEOF
5045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5052 if test $ac_cv_header_inttypes_h = no
; then
5057 if test "$CC" = ccc
; then
5058 echo "$as_me:$LINENO: result: \"C compiler set to CCC ${CC}\" " >&5
5059 echo "${ECHO_T}\"C compiler set to CCC ${CC}\" " >&6
5061 alpha
*-*-*) U_HAVE_INTTYPES_H
=0;
5068 # Check whether --with-iostream or --without-iostream was given.
5069 if test "${with_iostream+set}" = set; then
5070 withval
="$with_iostream"
5071 case "${withval}" in
5072 none
) streams
=none
;;
5073 old
) streams
=198506 ;;
5074 std
) streams
=199711 ;;
5076 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-iostream" >&5
5077 echo "$as_me: error: bad value ${withval} for --with-iostream" >&2;}
5078 { (exit 1); exit 1; }; } ;;
5085 if test x
$streams != xnone
5090 ac_cpp
='$CXXCPP $CPPFLAGS'
5091 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5095 OLD_CXXFLAGS
="${CXXFLAGS}"
5096 case "${icu_cv_host_frag}" in
5098 CXXFLAGS
="${CXXFLAGS} -AA"
5101 echo "$as_me:$LINENO: checking for iostream usability" >&5
5102 echo $ECHO_N "checking for iostream usability... $ECHO_C" >&6
5104 cat >conftest.
$ac_ext <<_ACEOF
5107 cat confdefs.h
>>conftest.
$ac_ext
5108 cat >>conftest.
$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5119 rm -f conftest.
$ac_objext
5120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5121 (eval $ac_compile) 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } &&
5128 { ac_try
='test -z "$ac_cxx_werror_flag"
5129 || test ! -s conftest.err'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; } &&
5135 { ac_try
='test -s conftest.$ac_objext'
5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; }; then
5141 ac_cv_header_iostream
=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 ac_cv_header_iostream
=no
5148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5149 if test $icu_cv_host_frag = mh
-cygwin-msvc
5151 ac_cv_header_iostream
=yes
5153 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
5154 echo "${ECHO_T}$ac_cv_header_iostream" >&6
5155 if test $ac_cv_header_iostream = yes
5157 U_IOSTREAM_SOURCE
=199711
5159 CXXFLAGS
="${OLD_CXXFLAGS}"
5160 echo "$as_me:$LINENO: checking whether ostream in iostream.h is really defined" >&5
5161 echo $ECHO_N "checking whether ostream in iostream.h is really defined... $ECHO_C" >&6
5162 if test "${ac_cv_iostream_ok+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 cat >conftest.
$ac_ext <<_ACEOF
5168 cat confdefs.h
>>conftest.
$ac_ext
5169 cat >>conftest.
$ac_ext <<_ACEOF
5170 /* end confdefs.h. */
5171 #include <iostream.h>
5175 ostream &testout = cout; testout << "test" << endl;
5180 rm -f conftest.
$ac_objext conftest
$ac_exeext
5181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5182 (eval $ac_link) 2>conftest.er1
5184 grep -v '^ *+' conftest.er1
>conftest.err
5186 cat conftest.err
>&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } &&
5189 { ac_try
='test -z "$ac_cxx_werror_flag"
5190 || test ! -s conftest.err'
5191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195 (exit $ac_status); }; } &&
5196 { ac_try
='test -s conftest$ac_exeext'
5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); }; }; then
5202 ac_cv_iostream_ok
=yes
5204 echo "$as_me: failed program was:" >&5
5205 sed 's/^/| /' conftest.
$ac_ext >&5
5207 ac_cv_iostream_ok
=no
5209 rm -f conftest.err conftest.
$ac_objext \
5210 conftest
$ac_exeext conftest.
$ac_ext
5213 echo "$as_me:$LINENO: result: $ac_cv_iostream_ok" >&5
5214 echo "${ECHO_T}$ac_cv_iostream_ok" >&6
5215 if test $ac_cv_iostream_ok = yes
5217 U_IOSTREAM_SOURCE
=198506
5220 if test x
$streams != x
5222 if test $U_IOSTREAM_SOURCE -ge $streams
5224 U_IOSTREAM_SOURCE
=$streams
5225 case "${icu_cv_host_frag}" in
5227 if test $U_IOSTREAM_SOURCE -lt 199711; then
5228 CXXFLAGS
=${OLD_CXXFLAGS}
5233 { { echo "$as_me:$LINENO: error: ${withval} iostream is not available" >&5
5234 echo "$as_me: error: ${withval} iostream is not available" >&2;}
5235 { (exit 1); exit 1; }; }
5241 ac_cpp
='$CPP $CPPFLAGS'
5242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5247 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5248 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
5249 if test "${ac_cv_c_bigendian+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 # See if sys/param.h defines the BYTE_ORDER macro.
5253 cat >conftest.
$ac_ext <<_ACEOF
5256 cat confdefs.h
>>conftest.
$ac_ext
5257 cat >>conftest.
$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 #include <sys/types.h>
5260 #include <sys/param.h>
5265 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5273 rm -f conftest.
$ac_objext
5274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5275 (eval $ac_compile) 2>conftest.er1
5277 grep -v '^ *+' conftest.er1
>conftest.err
5279 cat conftest.err
>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try
='test -z "$ac_c_werror_flag"
5283 || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try
='test -s conftest.$ac_objext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 # It does; now see whether it defined to BIG_ENDIAN or not.
5296 cat >conftest.
$ac_ext <<_ACEOF
5299 cat confdefs.h
>>conftest.
$ac_ext
5300 cat >>conftest.
$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 #include <sys/types.h>
5303 #include <sys/param.h>
5308 #if BYTE_ORDER != BIG_ENDIAN
5316 rm -f conftest.
$ac_objext
5317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5318 (eval $ac_compile) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1
>conftest.err
5322 cat conftest.err
>&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } &&
5325 { ac_try
='test -z "$ac_c_werror_flag"
5326 || test ! -s conftest.err'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; } &&
5332 { ac_try
='test -s conftest.$ac_objext'
5333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); }; }; then
5338 ac_cv_c_bigendian
=yes
5340 echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.
$ac_ext >&5
5343 ac_cv_c_bigendian
=no
5345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.
$ac_ext >&5
5350 # It does not; compile a test program.
5351 if test "$cross_compiling" = yes; then
5352 # try to guess the endianness by grepping values into an object file
5353 ac_cv_c_bigendian
=unknown
5354 cat >conftest.
$ac_ext <<_ACEOF
5357 cat confdefs.h
>>conftest.
$ac_ext
5358 cat >>conftest.
$ac_ext <<_ACEOF
5359 /* end confdefs.h. */
5360 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5361 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5362 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5363 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5364 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5365 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5369 _ascii (); _ebcdic ();
5374 rm -f conftest.
$ac_objext
5375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5376 (eval $ac_compile) 2>conftest.er1
5378 grep -v '^ *+' conftest.er1
>conftest.err
5380 cat conftest.err
>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); } &&
5383 { ac_try
='test -z "$ac_c_werror_flag"
5384 || test ! -s conftest.err'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try
='test -s conftest.$ac_objext'
5391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; }; then
5396 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5397 ac_cv_c_bigendian
=yes
5399 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5400 if test "$ac_cv_c_bigendian" = unknown
; then
5401 ac_cv_c_bigendian
=no
5403 # finding both strings is unlikely to happen, but who knows?
5404 ac_cv_c_bigendian
=unknown
5408 echo "$as_me: failed program was:" >&5
5409 sed 's/^/| /' conftest.
$ac_ext >&5
5412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 cat >conftest.
$ac_ext <<_ACEOF
5417 cat confdefs.h
>>conftest.
$ac_ext
5418 cat >>conftest.
$ac_ext <<_ACEOF
5419 /* end confdefs.h. */
5423 /* Are we little or big endian? From Harbison&Steele. */
5427 char c[sizeof (long)];
5430 exit (u.c[sizeof (long) - 1] == 1);
5433 rm -f conftest
$ac_exeext
5434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5435 (eval $ac_link) 2>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; }; then
5444 ac_cv_c_bigendian
=no
5446 echo "$as_me: program exited with status $ac_status" >&5
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.
$ac_ext >&5
5451 ac_cv_c_bigendian
=yes
5453 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5458 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5459 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5460 case $ac_cv_c_bigendian in
5463 cat >>confdefs.h
<<\_ACEOF
5464 #define WORDS_BIGENDIAN 1
5470 { { echo "$as_me:$LINENO: error: unknown endianness
5471 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5472 echo "$as_me: error: unknown endianness
5473 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5474 { (exit 1); exit 1; }; } ;;
5477 if test $ac_cv_c_bigendian = no
; then
5486 U_HAVE_NL_LANGINFO_CODESET
=0
5487 U_NL_LANGINFO_CODESET
=-1
5488 echo "$as_me:$LINENO: checking for nl_langinfo" >&5
5489 echo $ECHO_N "checking for nl_langinfo... $ECHO_C" >&6
5490 if test "${ac_cv_func_nl_langinfo+set}" = set; then
5491 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 cat >conftest.
$ac_ext <<_ACEOF
5496 cat confdefs.h
>>conftest.
$ac_ext
5497 cat >>conftest.
$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 /* Define nl_langinfo to an innocuous variant, in case <limits.h> declares nl_langinfo.
5500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5501 #define nl_langinfo innocuous_nl_langinfo
5503 /* System header to define __stub macros and hopefully few prototypes,
5504 which can conflict with char nl_langinfo (); below.
5505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5506 <limits.h> exists even on freestanding compilers. */
5509 # include <limits.h>
5511 # include <assert.h>
5516 /* Override any gcc2 internal prototype to avoid an error. */
5521 /* We use char because int might match the return type of a gcc2
5522 builtin and then its argument prototype would still apply. */
5523 char nl_langinfo ();
5524 /* The GNU C library defines this for functions which it implements
5525 to always fail with ENOSYS. Some functions are actually named
5526 something starting with __ and the normal name is an alias. */
5527 #if defined (__stub_nl_langinfo) || defined (__stub___nl_langinfo)
5530 char (*f) () = nl_langinfo;
5539 return f != nl_langinfo;
5544 rm -f conftest.
$ac_objext conftest
$ac_exeext
5545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5546 (eval $ac_link) 2>conftest.er1
5548 grep -v '^ *+' conftest.er1
>conftest.err
5550 cat conftest.err
>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } &&
5553 { ac_try
='test -z "$ac_c_werror_flag"
5554 || test ! -s conftest.err'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; } &&
5560 { ac_try
='test -s conftest$ac_exeext'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }; }; then
5566 ac_cv_func_nl_langinfo
=yes
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5571 ac_cv_func_nl_langinfo
=no
5573 rm -f conftest.err conftest.
$ac_objext \
5574 conftest
$ac_exeext conftest.
$ac_ext
5576 echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
5577 echo "${ECHO_T}$ac_cv_func_nl_langinfo" >&6
5578 if test $ac_cv_func_nl_langinfo = yes; then
5579 U_HAVE_NL_LANGINFO
=1
5581 U_HAVE_NL_LANGINFO
=0
5585 if test $U_HAVE_NL_LANGINFO -eq 1; then
5586 echo "$as_me:$LINENO: checking for nl_langinfo's argument to obtain the codeset" >&5
5587 echo $ECHO_N "checking for nl_langinfo's argument to obtain the codeset... $ECHO_C" >&6
5588 if test "${ac_cv_nl_langinfo_codeset+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_cv_nl_langinfo_codeset
="unknown"
5592 for a
in CODESET _NL_CTYPE_CODESET_NAME
; do
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5599 #include <langinfo.h>
5608 rm -f conftest.
$ac_objext conftest
$ac_exeext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>conftest.er1
5612 grep -v '^ *+' conftest.er1
>conftest.err
5614 cat conftest.err
>&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); } &&
5617 { ac_try
='test -z "$ac_c_werror_flag"
5618 || test ! -s conftest.err'
5619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; } &&
5624 { ac_try
='test -s conftest$ac_exeext'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; }; then
5630 ac_cv_nl_langinfo_codeset
="$a"; break
5632 echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.
$ac_ext >&5
5636 rm -f conftest.err conftest.
$ac_objext \
5637 conftest
$ac_exeext conftest.
$ac_ext
5640 echo "$as_me:$LINENO: result: $ac_cv_nl_langinfo_codeset" >&5
5641 echo "${ECHO_T}$ac_cv_nl_langinfo_codeset" >&6
5642 if test x
$ac_cv_nl_langinfo_codeset != xunknown
5644 U_HAVE_NL_LANGINFO_CODESET
=1
5645 U_NL_LANGINFO_CODESET
=$ac_cv_nl_langinfo_codeset
5652 ac_cpp
='$CXXCPP $CPPFLAGS'
5653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5657 echo "$as_me:$LINENO: checking for namespace support" >&5
5658 echo $ECHO_N "checking for namespace support... $ECHO_C" >&6
5659 if test "${ac_cv_namespace_ok+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 namespace x_version {void f(){}}
5669 namespace x = x_version;
5670 using namespace x_version;
5680 rm -f conftest.
$ac_objext conftest
$ac_exeext
5681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5682 (eval $ac_link) 2>conftest.er1
5684 grep -v '^ *+' conftest.er1
>conftest.err
5686 cat conftest.err
>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } &&
5689 { ac_try
='test -z "$ac_cxx_werror_flag"
5690 || test ! -s conftest.err'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; } &&
5696 { ac_try
='test -s conftest$ac_exeext'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; }; then
5702 ac_cv_namespace_ok
=yes
5704 echo "$as_me: failed program was:" >&5
5705 sed 's/^/| /' conftest.
$ac_ext >&5
5707 ac_cv_namespace_ok
=no
5709 rm -f conftest.err conftest.
$ac_objext \
5710 conftest
$ac_exeext conftest.
$ac_ext
5713 echo "$as_me:$LINENO: result: $ac_cv_namespace_ok" >&5
5714 echo "${ECHO_T}$ac_cv_namespace_ok" >&6
5716 if test $ac_cv_namespace_ok = no
5722 echo "$as_me:$LINENO: checking for properly overriding new and delete" >&5
5723 echo $ECHO_N "checking for properly overriding new and delete... $ECHO_C" >&6
5724 U_OVERRIDE_CXX_ALLOCATION
=0
5725 U_HAVE_PLACEMENT_NEW
=0
5726 if test "${ac_cv_override_cxx_allocation_ok+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 cat >conftest.
$ac_ext <<_ACEOF
5732 cat confdefs.h
>>conftest.
$ac_ext
5733 cat >>conftest.
$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5738 void *operator new(size_t size) {return malloc(size);}
5739 void *operator new[](size_t size) {return malloc(size);}
5740 void operator delete(void *p) {free(p);}
5741 void operator delete[](void *p) {free(p);}
5752 rm -f conftest.
$ac_objext conftest
$ac_exeext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5754 (eval $ac_link) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_cxx_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest$ac_exeext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 ac_cv_override_cxx_allocation_ok
=yes
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5779 ac_cv_override_cxx_allocation_ok
=no
5781 rm -f conftest.err conftest.
$ac_objext \
5782 conftest
$ac_exeext conftest.
$ac_ext
5785 echo "$as_me:$LINENO: result: $ac_cv_override_cxx_allocation_ok" >&5
5786 echo "${ECHO_T}$ac_cv_override_cxx_allocation_ok" >&6
5787 if test $ac_cv_override_cxx_allocation_ok = yes
5789 U_OVERRIDE_CXX_ALLOCATION
=1
5790 echo "$as_me:$LINENO: checking for placement new and delete" >&5
5791 echo $ECHO_N "checking for placement new and delete... $ECHO_C" >&6
5792 if test "${ac_cv_override_placement_new_ok+set}" = set; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5795 cat >conftest.
$ac_ext <<_ACEOF
5798 cat confdefs.h
>>conftest.
$ac_ext
5799 cat >>conftest.
$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5804 void *operator new(size_t size) {return malloc(size);}
5805 void *operator new[](size_t size) {return malloc(size);}
5806 void operator delete(void *p) {free(p);}
5807 void operator delete[](void *p) {free(p);}
5808 void * operator new(size_t, void *ptr) { return ptr; }
5809 void operator delete(void *, void *) {}
5820 rm -f conftest.
$ac_objext conftest
$ac_exeext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5822 (eval $ac_link) 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try
='test -z "$ac_cxx_werror_flag"
5830 || test ! -s conftest.err'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } &&
5836 { ac_try
='test -s conftest$ac_exeext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5842 ac_cv_override_placement_new_ok
=yes
5844 echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.
$ac_ext >&5
5847 ac_cv_override_placement_new_ok
=no
5849 rm -f conftest.err conftest.
$ac_objext \
5850 conftest
$ac_exeext conftest.
$ac_ext
5853 echo "$as_me:$LINENO: result: $ac_cv_override_placement_new_ok" >&5
5854 echo "${ECHO_T}$ac_cv_override_placement_new_ok" >&6
5855 if test $ac_cv_override_placement_new_ok = yes
5857 U_HAVE_PLACEMENT_NEW
=1
5864 ac_cpp
='$CPP $CPPFLAGS'
5865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5869 echo "$as_me:$LINENO: checking for popen" >&5
5870 echo $ECHO_N "checking for popen... $ECHO_C" >&6
5871 if test "${ac_cv_func_popen+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 cat >conftest.
$ac_ext <<_ACEOF
5877 cat confdefs.h
>>conftest.
$ac_ext
5878 cat >>conftest.
$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 /* Define popen to an innocuous variant, in case <limits.h> declares popen.
5881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5882 #define popen innocuous_popen
5884 /* System header to define __stub macros and hopefully few prototypes,
5885 which can conflict with char popen (); below.
5886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5887 <limits.h> exists even on freestanding compilers. */
5890 # include <limits.h>
5892 # include <assert.h>
5897 /* Override any gcc2 internal prototype to avoid an error. */
5902 /* We use char because int might match the return type of a gcc2
5903 builtin and then its argument prototype would still apply. */
5905 /* The GNU C library defines this for functions which it implements
5906 to always fail with ENOSYS. Some functions are actually named
5907 something starting with __ and the normal name is an alias. */
5908 #if defined (__stub_popen) || defined (__stub___popen)
5911 char (*f) () = popen;
5925 rm -f conftest.
$ac_objext conftest
$ac_exeext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5927 (eval $ac_link) 2>conftest.er1
5929 grep -v '^ *+' conftest.er1
>conftest.err
5931 cat conftest.err
>&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } &&
5934 { ac_try
='test -z "$ac_c_werror_flag"
5935 || test ! -s conftest.err'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try
='test -s conftest$ac_exeext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 ac_cv_func_popen
=yes
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.
$ac_ext >&5
5954 rm -f conftest.err conftest.
$ac_objext \
5955 conftest
$ac_exeext conftest.
$ac_ext
5957 echo "$as_me:$LINENO: result: $ac_cv_func_popen" >&5
5958 echo "${ECHO_T}$ac_cv_func_popen" >&6
5960 if test x
$ac_cv_func_popen = xyes
5968 echo "$as_me:$LINENO: checking for tzset" >&5
5969 echo $ECHO_N "checking for tzset... $ECHO_C" >&6
5970 if test "${ac_cv_func_tzset+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5979 /* Define tzset to an innocuous variant, in case <limits.h> declares tzset.
5980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5981 #define tzset innocuous_tzset
5983 /* System header to define __stub macros and hopefully few prototypes,
5984 which can conflict with char tzset (); below.
5985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5986 <limits.h> exists even on freestanding compilers. */
5989 # include <limits.h>
5991 # include <assert.h>
5996 /* Override any gcc2 internal prototype to avoid an error. */
6001 /* We use char because int might match the return type of a gcc2
6002 builtin and then its argument prototype would still apply. */
6004 /* The GNU C library defines this for functions which it implements
6005 to always fail with ENOSYS. Some functions are actually named
6006 something starting with __ and the normal name is an alias. */
6007 #if defined (__stub_tzset) || defined (__stub___tzset)
6010 char (*f) () = tzset;
6024 rm -f conftest.
$ac_objext conftest
$ac_exeext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>conftest.er1
6028 grep -v '^ *+' conftest.er1
>conftest.err
6030 cat conftest.err
>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try
='test -z "$ac_c_werror_flag"
6034 || test ! -s conftest.err'
6035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; } &&
6040 { ac_try
='test -s conftest$ac_exeext'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; }; then
6046 ac_cv_func_tzset
=yes
6048 echo "$as_me: failed program was:" >&5
6049 sed 's/^/| /' conftest.
$ac_ext >&5
6053 rm -f conftest.err conftest.
$ac_objext \
6054 conftest
$ac_exeext conftest.
$ac_ext
6056 echo "$as_me:$LINENO: result: $ac_cv_func_tzset" >&5
6057 echo "${ECHO_T}$ac_cv_func_tzset" >&6
6060 if test x
$ac_cv_func_tzset = xyes
6065 echo "$as_me:$LINENO: checking for _tzset" >&5
6066 echo $ECHO_N "checking for _tzset... $ECHO_C" >&6
6067 if test "${ac_cv_func__tzset+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6070 cat >conftest.
$ac_ext <<_ACEOF
6073 cat confdefs.h
>>conftest.
$ac_ext
6074 cat >>conftest.
$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6076 /* Define _tzset to an innocuous variant, in case <limits.h> declares _tzset.
6077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6078 #define _tzset innocuous__tzset
6080 /* System header to define __stub macros and hopefully few prototypes,
6081 which can conflict with char _tzset (); below.
6082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6083 <limits.h> exists even on freestanding compilers. */
6086 # include <limits.h>
6088 # include <assert.h>
6093 /* Override any gcc2 internal prototype to avoid an error. */
6098 /* We use char because int might match the return type of a gcc2
6099 builtin and then its argument prototype would still apply. */
6101 /* The GNU C library defines this for functions which it implements
6102 to always fail with ENOSYS. Some functions are actually named
6103 something starting with __ and the normal name is an alias. */
6104 #if defined (__stub__tzset) || defined (__stub____tzset)
6107 char (*f) () = _tzset;
6121 rm -f conftest.
$ac_objext conftest
$ac_exeext
6122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6123 (eval $ac_link) 2>conftest.er1
6125 grep -v '^ *+' conftest.er1
>conftest.err
6127 cat conftest.err
>&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } &&
6130 { ac_try
='test -z "$ac_c_werror_flag"
6131 || test ! -s conftest.err'
6132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); }; } &&
6137 { ac_try
='test -s conftest$ac_exeext'
6138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then
6143 ac_cv_func__tzset
=yes
6145 echo "$as_me: failed program was:" >&5
6146 sed 's/^/| /' conftest.
$ac_ext >&5
6148 ac_cv_func__tzset
=no
6150 rm -f conftest.err conftest.
$ac_objext \
6151 conftest
$ac_exeext conftest.
$ac_ext
6153 echo "$as_me:$LINENO: result: $ac_cv_func__tzset" >&5
6154 echo "${ECHO_T}$ac_cv_func__tzset" >&6
6156 if test x
$ac_cv_func__tzset = xyes
6166 echo "$as_me:$LINENO: checking for tzname" >&5
6167 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6168 if test "${ac_cv_var_tzname+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 cat >conftest.
$ac_ext <<_ACEOF
6174 cat confdefs.h
>>conftest.
$ac_ext
6175 cat >>conftest.
$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6182 #ifndef tzname /* For SGI. */
6183 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
6193 rm -f conftest.
$ac_objext conftest
$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>conftest.er1
6197 grep -v '^ *+' conftest.er1
>conftest.err
6199 cat conftest.err
>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try
='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try
='test -s conftest$ac_exeext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 ac_cv_var_tzname
=yes
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.
$ac_ext >&5
6222 rm -f conftest.err conftest.
$ac_objext \
6223 conftest
$ac_exeext conftest.
$ac_ext
6225 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6226 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6227 if test $ac_cv_var_tzname = yes; then
6231 echo "$as_me:$LINENO: checking for _tzname" >&5
6232 echo $ECHO_N "checking for _tzname... $ECHO_C" >&6
6233 if test "${ac_cv_var__tzname+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 cat >conftest.
$ac_ext <<_ACEOF
6239 cat confdefs.h
>>conftest.
$ac_ext
6240 cat >>conftest.
$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6244 extern char *_tzname[];
6254 rm -f conftest.
$ac_objext conftest
$ac_exeext
6255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6256 (eval $ac_link) 2>conftest.er1
6258 grep -v '^ *+' conftest.er1
>conftest.err
6260 cat conftest.err
>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); } &&
6263 { ac_try
='test -z "$ac_c_werror_flag"
6264 || test ! -s conftest.err'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; } &&
6270 { ac_try
='test -s conftest$ac_exeext'
6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); }; }; then
6276 ac_cv_var__tzname
=yes
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.
$ac_ext >&5
6281 ac_cv_var__tzname
=no
6283 rm -f conftest.err conftest.
$ac_objext \
6284 conftest
$ac_exeext conftest.
$ac_ext
6286 echo "$as_me:$LINENO: result: $ac_cv_var__tzname" >&5
6287 echo "${ECHO_T}$ac_cv_var__tzname" >&6
6288 if test $ac_cv_var__tzname = yes; then
6296 echo "$as_me:$LINENO: checking for timezone" >&5
6297 echo $ECHO_N "checking for timezone... $ECHO_C" >&6
6298 if test "${ac_cv_var_timezone+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6301 cat >conftest.
$ac_ext <<_ACEOF
6304 cat confdefs.h
>>conftest.
$ac_ext
6305 cat >>conftest.
$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6323 rm -f conftest.
$ac_objext conftest
$ac_exeext
6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6325 (eval $ac_link) 2>conftest.er1
6327 grep -v '^ *+' conftest.er1
>conftest.err
6329 cat conftest.err
>&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try
='test -z "$ac_c_werror_flag"
6333 || test ! -s conftest.err'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; } &&
6339 { ac_try
='test -s conftest$ac_exeext'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; }; then
6345 ac_cv_var_timezone
=yes
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.
$ac_ext >&5
6350 ac_cv_var_timezone
=no
6352 rm -f conftest.err conftest.
$ac_objext \
6353 conftest
$ac_exeext conftest.
$ac_ext
6355 echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5
6356 echo "${ECHO_T}$ac_cv_var_timezone" >&6
6358 if test $ac_cv_var_timezone = yes; then
6362 echo "$as_me:$LINENO: checking for __timezone" >&5
6363 echo $ECHO_N "checking for __timezone... $ECHO_C" >&6
6364 if test "${ac_cv_var___timezone+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6383 rm -f conftest.
$ac_objext conftest
$ac_exeext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6385 (eval $ac_link) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -z "$ac_c_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try
='test -s conftest$ac_exeext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_var___timezone
=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.
$ac_ext >&5
6410 ac_cv_var___timezone
=no
6412 rm -f conftest.err conftest.
$ac_objext \
6413 conftest
$ac_exeext conftest.
$ac_ext
6415 echo "$as_me:$LINENO: result: $ac_cv_var___timezone" >&5
6416 echo "${ECHO_T}$ac_cv_var___timezone" >&6
6417 if test $ac_cv_var___timezone = yes; then
6418 U_TIMEZONE
=__timezone
6421 echo "$as_me:$LINENO: checking for _timezone" >&5
6422 echo $ECHO_N "checking for _timezone... $ECHO_C" >&6
6423 if test "${ac_cv_var__timezone+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 cat >conftest.
$ac_ext <<_ACEOF
6429 cat confdefs.h
>>conftest.
$ac_ext
6430 cat >>conftest.
$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6442 rm -f conftest.
$ac_objext conftest
$ac_exeext
6443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6444 (eval $ac_link) 2>conftest.er1
6446 grep -v '^ *+' conftest.er1
>conftest.err
6448 cat conftest.err
>&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); } &&
6451 { ac_try
='test -z "$ac_c_werror_flag"
6452 || test ! -s conftest.err'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; } &&
6458 { ac_try
='test -s conftest$ac_exeext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then
6464 ac_cv_var__timezone
=yes
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.
$ac_ext >&5
6469 ac_cv_var__timezone
=no
6471 rm -f conftest.err conftest.
$ac_objext \
6472 conftest
$ac_exeext conftest.
$ac_ext
6474 echo "$as_me:$LINENO: result: $ac_cv_var__timezone" >&5
6475 echo "${ECHO_T}$ac_cv_var__timezone" >&6
6476 if test $ac_cv_var__timezone = yes; then
6477 U_TIMEZONE
=_timezone
6485 echo "$as_me:$LINENO: checking for int8_t" >&5
6486 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
6487 if test "${ac_cv_type_int8_t+set}" = set; then
6488 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 cat >conftest.
$ac_ext <<_ACEOF
6493 cat confdefs.h
>>conftest.
$ac_ext
6494 cat >>conftest.
$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6496 $ac_includes_default
6502 if (sizeof (int8_t))
6508 rm -f conftest.
$ac_objext
6509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6510 (eval $ac_compile) 2>conftest.er1
6512 grep -v '^ *+' conftest.er1
>conftest.err
6514 cat conftest.err
>&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); } &&
6517 { ac_try
='test -z "$ac_c_werror_flag"
6518 || test ! -s conftest.err'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; } &&
6524 { ac_try
='test -s conftest.$ac_objext'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; }; then
6530 ac_cv_type_int8_t
=yes
6532 echo "$as_me: failed program was:" >&5
6533 sed 's/^/| /' conftest.
$ac_ext >&5
6535 ac_cv_type_int8_t
=no
6537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6539 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
6540 echo "${ECHO_T}$ac_cv_type_int8_t" >&6
6541 if test $ac_cv_type_int8_t = yes; then
6545 cat >>confdefs.h
<<_ACEOF
6546 #define int8_t signed char
6551 echo "$as_me:$LINENO: checking for uint8_t" >&5
6552 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
6553 if test "${ac_cv_type_uint8_t+set}" = set; then
6554 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 cat >conftest.
$ac_ext <<_ACEOF
6559 cat confdefs.h
>>conftest.
$ac_ext
6560 cat >>conftest.
$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6562 $ac_includes_default
6568 if (sizeof (uint8_t))
6574 rm -f conftest.
$ac_objext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6576 (eval $ac_compile) 2>conftest.er1
6578 grep -v '^ *+' conftest.er1
>conftest.err
6580 cat conftest.err
>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try
='test -z "$ac_c_werror_flag"
6584 || test ! -s conftest.err'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try
='test -s conftest.$ac_objext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 ac_cv_type_uint8_t
=yes
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.
$ac_ext >&5
6601 ac_cv_type_uint8_t
=no
6603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6605 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
6606 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
6607 if test $ac_cv_type_uint8_t = yes; then
6611 cat >>confdefs.h
<<_ACEOF
6612 #define uint8_t unsigned char
6617 echo "$as_me:$LINENO: checking for int16_t" >&5
6618 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
6619 if test "${ac_cv_type_int16_t+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 cat >conftest.
$ac_ext <<_ACEOF
6625 cat confdefs.h
>>conftest.
$ac_ext
6626 cat >>conftest.
$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6628 $ac_includes_default
6634 if (sizeof (int16_t))
6640 rm -f conftest.
$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag"
6650 || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6662 ac_cv_type_int16_t
=yes
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_cv_type_int16_t
=no
6669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6671 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
6672 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
6673 if test $ac_cv_type_int16_t = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define int16_t signed short
6683 echo "$as_me:$LINENO: checking for uint16_t" >&5
6684 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
6685 if test "${ac_cv_type_uint16_t+set}" = set; then
6686 echo $ECHO_N "(cached) $ECHO_C" >&6
6688 cat >conftest.
$ac_ext <<_ACEOF
6691 cat confdefs.h
>>conftest.
$ac_ext
6692 cat >>conftest.
$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6694 $ac_includes_default
6700 if (sizeof (uint16_t))
6706 rm -f conftest.
$ac_objext
6707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6708 (eval $ac_compile) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } &&
6715 { ac_try
='test -z "$ac_c_werror_flag"
6716 || test ! -s conftest.err'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; } &&
6722 { ac_try
='test -s conftest.$ac_objext'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 ac_cv_type_uint16_t
=yes
6730 echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.
$ac_ext >&5
6733 ac_cv_type_uint16_t
=no
6735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6737 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
6738 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
6739 if test $ac_cv_type_uint16_t = yes; then
6743 cat >>confdefs.h
<<_ACEOF
6744 #define uint16_t unsigned short
6749 echo "$as_me:$LINENO: checking for int32_t" >&5
6750 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
6751 if test "${ac_cv_type_int32_t+set}" = set; then
6752 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 cat >conftest.
$ac_ext <<_ACEOF
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 $ac_includes_default
6766 if (sizeof (int32_t))
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>conftest.er1
6776 grep -v '^ *+' conftest.er1
>conftest.err
6778 cat conftest.err
>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 { ac_try
='test -z "$ac_c_werror_flag"
6782 || test ! -s conftest.err'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; } &&
6788 { ac_try
='test -s conftest.$ac_objext'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; }; then
6794 ac_cv_type_int32_t
=yes
6796 echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.
$ac_ext >&5
6799 ac_cv_type_int32_t
=no
6801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6803 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
6804 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
6805 if test $ac_cv_type_int32_t = yes; then
6809 cat >>confdefs.h
<<_ACEOF
6810 #define int32_t signed long
6815 echo "$as_me:$LINENO: checking for uint32_t" >&5
6816 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
6817 if test "${ac_cv_type_uint32_t+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 cat >conftest.
$ac_ext <<_ACEOF
6823 cat confdefs.h
>>conftest.
$ac_ext
6824 cat >>conftest.
$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6826 $ac_includes_default
6832 if (sizeof (uint32_t))
6838 rm -f conftest.
$ac_objext
6839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6840 (eval $ac_compile) 2>conftest.er1
6842 grep -v '^ *+' conftest.er1
>conftest.err
6844 cat conftest.err
>&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); } &&
6847 { ac_try
='test -z "$ac_c_werror_flag"
6848 || test ! -s conftest.err'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; } &&
6854 { ac_try
='test -s conftest.$ac_objext'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }; then
6860 ac_cv_type_uint32_t
=yes
6862 echo "$as_me: failed program was:" >&5
6863 sed 's/^/| /' conftest.
$ac_ext >&5
6865 ac_cv_type_uint32_t
=no
6867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6869 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
6870 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
6871 if test $ac_cv_type_uint32_t = yes; then
6875 cat >>confdefs.h
<<_ACEOF
6876 #define uint32_t unsigned long
6881 echo "$as_me:$LINENO: checking for int64_t" >&5
6882 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
6883 if test "${ac_cv_type_int64_t+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6886 cat >conftest.
$ac_ext <<_ACEOF
6889 cat confdefs.h
>>conftest.
$ac_ext
6890 cat >>conftest.
$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6892 $ac_includes_default
6898 if (sizeof (int64_t))
6904 rm -f conftest.
$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>conftest.er1
6908 grep -v '^ *+' conftest.er1
>conftest.err
6910 cat conftest.err
>&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } &&
6913 { ac_try
='test -z "$ac_c_werror_flag"
6914 || test ! -s conftest.err'
6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919 (exit $ac_status); }; } &&
6920 { ac_try
='test -s conftest.$ac_objext'
6921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925 (exit $ac_status); }; }; then
6926 ac_cv_type_int64_t
=yes
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 ac_cv_type_int64_t
=no
6933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6935 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
6936 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
6937 if test $ac_cv_type_int64_t = yes; then
6941 cat >>confdefs.h
<<_ACEOF
6942 #define int64_t signed long long
6947 echo "$as_me:$LINENO: checking for uint64_t" >&5
6948 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
6949 if test "${ac_cv_type_uint64_t+set}" = set; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6964 if (sizeof (uint64_t))
6970 rm -f conftest.
$ac_objext
6971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6972 (eval $ac_compile) 2>conftest.er1
6974 grep -v '^ *+' conftest.er1
>conftest.err
6976 cat conftest.err
>&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); } &&
6979 { ac_try
='test -z "$ac_c_werror_flag"
6980 || test ! -s conftest.err'
6981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); }; } &&
6986 { ac_try
='test -s conftest.$ac_objext'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_type_uint64_t
=yes
6994 echo "$as_me: failed program was:" >&5
6995 sed 's/^/| /' conftest.
$ac_ext >&5
6997 ac_cv_type_uint64_t
=no
6999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7001 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7002 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
7003 if test $ac_cv_type_uint64_t = yes; then
7007 cat >>confdefs.h
<<_ACEOF
7008 #define uint64_t unsigned long long
7014 if test $ac_cv_type_int8_t = no
; then
7021 if test $ac_cv_type_uint8_t = no
; then
7028 if test $ac_cv_type_int16_t = no
; then
7035 if test $ac_cv_type_uint16_t = no
; then
7042 if test $ac_cv_type_int32_t = no
; then
7049 if test $ac_cv_type_uint32_t = no
; then
7056 if test $ac_cv_type_int64_t = no
; then
7063 if test $ac_cv_type_uint64_t = no
; then
7070 if test "${ac_cv_header_wchar_h+set}" = set; then
7071 echo "$as_me:$LINENO: checking for wchar.h" >&5
7072 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6
7073 if test "${ac_cv_header_wchar_h+set}" = set; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
7077 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6
7079 # Is the header compilable?
7080 echo "$as_me:$LINENO: checking wchar.h usability" >&5
7081 echo $ECHO_N "checking wchar.h usability... $ECHO_C" >&6
7082 cat >conftest.
$ac_ext <<_ACEOF
7085 cat confdefs.h
>>conftest.
$ac_ext
7086 cat >>conftest.
$ac_ext <<_ACEOF
7087 /* end confdefs.h. */
7088 $ac_includes_default
7091 rm -f conftest.
$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>conftest.er1
7095 grep -v '^ *+' conftest.er1
>conftest.err
7097 cat conftest.err
>&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } &&
7100 { ac_try
='test -z "$ac_c_werror_flag"
7101 || test ! -s conftest.err'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try
='test -s conftest.$ac_objext'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; }; then
7113 ac_header_compiler
=yes
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.
$ac_ext >&5
7118 ac_header_compiler
=no
7120 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7121 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7122 echo "${ECHO_T}$ac_header_compiler" >&6
7124 # Is the header present?
7125 echo "$as_me:$LINENO: checking wchar.h presence" >&5
7126 echo $ECHO_N "checking wchar.h presence... $ECHO_C" >&6
7127 cat >conftest.
$ac_ext <<_ACEOF
7130 cat confdefs.h
>>conftest.
$ac_ext
7131 cat >>conftest.
$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7135 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7136 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7138 grep -v '^ *+' conftest.er1
>conftest.err
7140 cat conftest.err
>&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); } >/dev
/null
; then
7143 if test -s conftest.err
; then
7144 ac_cpp_err
=$ac_c_preproc_warn_flag
7145 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7152 if test -z "$ac_cpp_err"; then
7153 ac_header_preproc
=yes
7155 echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.
$ac_ext >&5
7158 ac_header_preproc
=no
7160 rm -f conftest.err conftest.
$ac_ext
7161 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7162 echo "${ECHO_T}$ac_header_preproc" >&6
7164 # So? What about this header?
7165 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7167 { echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
7168 echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7169 { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
7170 echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
7171 ac_header_preproc
=yes
7174 { echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
7175 echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
7176 { echo "$as_me:$LINENO: WARNING: wchar.h: check for missing prerequisite headers?" >&5
7177 echo "$as_me: WARNING: wchar.h: check for missing prerequisite headers?" >&2;}
7178 { echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
7179 echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
7180 { echo "$as_me:$LINENO: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&5
7181 echo "$as_me: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&2;}
7182 { echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
7183 echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
7184 { echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
7185 echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
7188 ## ------------------------------------------ ##
7189 ## Report this to the AC_PACKAGE_NAME lists. ##
7190 ## ------------------------------------------ ##
7193 sed "s/^/$as_me: WARNING: /" >&2
7196 echo "$as_me:$LINENO: checking for wchar.h" >&5
7197 echo $ECHO_N "checking for wchar.h... $ECHO_C" >&6
7198 if test "${ac_cv_header_wchar_h+set}" = set; then
7199 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 ac_cv_header_wchar_h
=$ac_header_preproc
7203 echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
7204 echo "${ECHO_T}$ac_cv_header_wchar_h" >&6
7209 if test "$ac_cv_header_wchar_h" = no
7214 cat >>confdefs.h
<<\_ACEOF
7215 #define HAVE_WCHAR_H 1
7219 echo "$as_me:$LINENO: checking for library containing wcscpy" >&5
7220 echo $ECHO_N "checking for library containing wcscpy... $ECHO_C" >&6
7221 if test "${ac_cv_search_wcscpy+set}" = set; then
7222 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 ac_func_search_save_LIBS
=$LIBS
7225 ac_cv_search_wcscpy
=no
7226 cat >conftest.
$ac_ext <<_ACEOF
7229 cat confdefs.h
>>conftest.
$ac_ext
7230 cat >>conftest.
$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7233 /* Override any gcc2 internal prototype to avoid an error. */
7237 /* We use char because int might match the return type of a gcc2
7238 builtin and then its argument prototype would still apply. */
7248 rm -f conftest.
$ac_objext conftest
$ac_exeext
7249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7250 (eval $ac_link) 2>conftest.er1
7252 grep -v '^ *+' conftest.er1
>conftest.err
7254 cat conftest.err
>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } &&
7257 { ac_try
='test -z "$ac_c_werror_flag"
7258 || test ! -s conftest.err'
7259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); }; } &&
7264 { ac_try
='test -s conftest$ac_exeext'
7265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269 (exit $ac_status); }; }; then
7270 ac_cv_search_wcscpy
="none required"
7272 echo "$as_me: failed program was:" >&5
7273 sed 's/^/| /' conftest.
$ac_ext >&5
7276 rm -f conftest.err conftest.
$ac_objext \
7277 conftest
$ac_exeext conftest.
$ac_ext
7278 if test "$ac_cv_search_wcscpy" = no
; then
7279 for ac_lib
in wcs w
; do
7280 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7288 /* Override any gcc2 internal prototype to avoid an error. */
7292 /* We use char because int might match the return type of a gcc2
7293 builtin and then its argument prototype would still apply. */
7303 rm -f conftest.
$ac_objext conftest
$ac_exeext
7304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7305 (eval $ac_link) 2>conftest.er1
7307 grep -v '^ *+' conftest.er1
>conftest.err
7309 cat conftest.err
>&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } &&
7312 { ac_try
='test -z "$ac_c_werror_flag"
7313 || test ! -s conftest.err'
7314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); }; } &&
7319 { ac_try
='test -s conftest$ac_exeext'
7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; }; then
7325 ac_cv_search_wcscpy
="-l$ac_lib"
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.
$ac_ext >&5
7332 rm -f conftest.err conftest.
$ac_objext \
7333 conftest
$ac_exeext conftest.
$ac_ext
7336 LIBS
=$ac_func_search_save_LIBS
7338 echo "$as_me:$LINENO: result: $ac_cv_search_wcscpy" >&5
7339 echo "${ECHO_T}$ac_cv_search_wcscpy" >&6
7340 if test "$ac_cv_search_wcscpy" != no
; then
7341 test "$ac_cv_search_wcscpy" = "none required" || LIBS
="$ac_cv_search_wcscpy $LIBS"
7345 if test "$ac_cv_search_wcscpy" != no
; then
7354 ac_default_sizeof_wchar_t
=4
7355 echo "$as_me:$LINENO: checking size of wchar_t" >&5
7356 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
7357 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 if test "$cross_compiling" = yes; then
7361 ac_cv_sizeof_wchar_t
=$ac_default_sizeof_wchar_t
7363 cat >conftest.
$ac_ext <<_ACEOF
7366 cat confdefs.h
>>conftest.
$ac_ext
7367 cat >>conftest.
$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7380 FILE *f=fopen("conftestval", "w");
7382 fprintf(f, "%d\n", sizeof(wchar_t));
7386 rm -f conftest
$ac_exeext
7387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7388 (eval $ac_link) 2>&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); }; }; then
7397 ac_cv_sizeof_wchar_t
=`cat conftestval`
7399 echo "$as_me: program exited with status $ac_status" >&5
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.
$ac_ext >&5
7404 ac_cv_sizeof_wchar_t
=0
7406 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7409 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
7410 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
7411 cat >>confdefs.h
<<_ACEOF
7412 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
7416 U_SIZEOF_WCHAR_T
=$ac_cv_sizeof_wchar_t
7417 if test $U_SIZEOF_WCHAR_T = 0; then
7418 if test $U_HAVE_WCHAR_H=1; then
7419 { { echo "$as_me:$LINENO: error: There is wchar.h but the size of wchar_t is 0" >&5
7420 echo "$as_me: error: There is wchar.h but the size of wchar_t is 0" >&2;}
7421 { (exit 1); exit 1; }; }
7432 # Check whether --enable-extras or --disable-extras was given.
7433 if test "${enable_extras+set}" = set; then
7434 enableval
="$enable_extras"
7435 case "${enableval}" in
7438 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-extras" >&5
7439 echo "$as_me: error: bad value ${enableval} for --enable-extras" >&2;}
7440 { (exit 1); exit 1; }; } ;;
7446 if test "$extras" = true
; then
7451 # Check whether --enable-icuio or --disable-icuio was given.
7452 if test "${enable_icuio+set}" = set; then
7453 enableval
="$enable_icuio"
7454 case "${enableval}" in
7457 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-icuio" >&5
7458 echo "$as_me: error: bad value ${enableval} for --enable-icuio" >&2;}
7459 { (exit 1); exit 1; }; } ;;
7465 if test "$icuio" = true
; then
7471 # Check whether --enable-layout or --disable-layout was given.
7472 if test "${enable_layout+set}" = set; then
7473 enableval
="$enable_layout"
7474 case "${enableval}" in
7477 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-layout" >&5
7478 echo "$as_me: error: bad value ${enableval} for --enable-layout" >&2;}
7479 { (exit 1); exit 1; }; } ;;
7485 if test "$layout" = true
; then
7492 # Check whether --with-data-packaging or --without-data-packaging was given.
7493 if test "${with_data_packaging+set}" = set; then
7494 withval
="$with_data_packaging"
7495 case "${withval}" in
7496 files
|archive
|library
) datapackaging
=$withval ;;
7497 auto
) datapackaging
=$withval ;;
7498 common
) datapackaging
=archive
;;
7499 dll
) datapackaging
=library
;;
7500 static
) datapackaging
=static
;;
7501 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-data-packaging" >&5
7502 echo "$as_me: error: bad value ${withval} for --with-data-packaging" >&2;}
7503 { (exit 1); exit 1; }; } ;;
7509 #thesysconfdir=`eval echo $sysconfdir`
7510 #AC_SUBST(thesysconfdir)
7511 #thelibdir=`test "x$exec_prefix" = xNONE && exec_prefix="$prefix"; eval echo $libdir`
7512 #AC_SUBST(thelibdir)
7513 thedatadir
=`eval echo $datadir`
7515 pkgicudatadir
=$datadir
7516 thepkgicudatadir
=$thedatadir
7521 if test x
"$datapackaging" = x
-o x
"$datapackaging" = xauto
; then
7522 datapackaging
=library
7525 case "$datapackaging" in
7527 DATA_PACKAGING_MODE
=files
7530 DATA_PACKAGING_MODE
=common
7533 DATA_PACKAGING_MODE
=dll
7538 echo "$as_me:$LINENO: checking for a library suffix to use" >&5
7539 echo $ECHO_N "checking for a library suffix to use... $ECHO_C" >&6
7541 # Check whether --with-library-suffix or --without-library-suffix was given.
7542 if test "${with_library_suffix+set}" = set; then
7543 withval
="$with_library_suffix"
7544 ICULIBSUFFIX
="${withval}"
7549 if test "$msg" = ""; then
7552 echo "$as_me:$LINENO: result: $msg" >&5
7553 echo "${ECHO_T}$msg" >&6
7555 if test "$ICULIBSUFFIX" != ""
7558 ICULIBSUFFIXCNAME
=`echo _$ICULIBSUFFIX | sed 's/[^A-Za-z0-9_]/_/g'`
7565 # Check whether --enable-tests or --disable-tests was given.
7566 if test "${enable_tests+set}" = set; then
7567 enableval
="$enable_tests"
7568 case "${enableval}" in
7571 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tests" >&5
7572 echo "$as_me: error: bad value ${enableval} for --enable-tests" >&2;}
7573 { (exit 1); exit 1; }; } ;;
7579 if test "$tests" = true
; then
7585 # Check whether --enable-samples or --disable-samples was given.
7586 if test "${enable_samples+set}" = set; then
7587 enableval
="$enable_samples"
7588 case "${enableval}" in
7589 yes) samples
=true
;;
7590 no
) samples
=false
;;
7591 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
7592 echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
7593 { (exit 1); exit 1; }; } ;;
7599 if test "$samples" = true
; then
7605 ICUDATA_CHAR
=$U_ENDIAN_CHAR
7608 *-*-solaris*) platform
=U_SOLARIS
;;
7609 *-*-linux*) platform
=U_LINUX
;;
7610 *-*-*bsd
*|*-*-dragonfly*) platform
=U_BSD
;;
7611 *-*-aix*) platform
=U_AIX
;;
7612 *-*-hpux*) platform
=U_HPUX
;;
7613 *-apple-darwin*|*-apple-rhapsody*) platform
=U_DARWIN
;;
7614 *-*-cygwin*|*-*-mingw*) platform
=U_CYGWIN
;;
7615 *-*ibm
-openedition*|*-*-os390*) platform
=OS390
7616 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
7619 *-*-os400*) platform
=OS400
7620 if test "${ICU_ENABLE_ASCII_STRINGS}" != "1"; then
7623 *-*-nto*) platform
=U_QNX
;;
7624 *-dec-osf*) platform
=U_OSF
;;
7625 *-*-beos) platform
=U_BEOS
;;
7626 *-*-irix*) platform
=U_IRIX
;;
7627 *-ncr-*) platform
=U_MPRAS
;;
7628 *) platform
=U_UNKNOWN_PLATFORM
;;
7632 platform_make_fragment_name
="$icu_cv_host_frag"
7633 platform_make_fragment
='$(top_srcdir)/config/'"$platform_make_fragment_name"
7638 *-*-solaris*) ld_rpath_suf
=":" ;;
7639 *-*-linux*) ld_rpath_suf
=" " ;;
7640 *-*-*bsd
*|*-*-dragonfly*) ld_rpath_suf
=" " ;;
7641 *-*-aix*) ld_rpath_suf
="" ;;
7642 *-*-hpux*) ld_rpath_suf
=":" ;;
7643 *-*ibm
-openedition*|*-*-os390*) ld_rpath_suf
="" ;;
7644 *-*-os400*) ld_rpath_suf
=" " ;;
7645 *-*-irix*) ld_rpath_suf
=" " ;;
7646 *) ld_rpath_suf
="" ;;
7652 if test "${icu_cv_host_frag}" = "mh-hpux-cc"; then
7653 for file in samples
/date
/date \
7654 samples
/cal
/cal test
/cintltst
/cintltst \
7655 tools
/makeconv
/makeconv tools
/genrb
/genrb \
7656 tools
/genrb
/derb tools
/genccode
/genccode \
7657 tools
/gencmn
/gencmn tools
/gencmn
/decmn \
7658 tools
/gencnval
/gencnval tools
/gennorm
/gennorm \
7659 tools
/gennames
/gennames tools
/gentest
/gentest \
7660 tools
/pkgdata
/pkgdata tools
/genprops
/genprops \
7661 tools
/gencase
/gencase \
7662 tools
/genbidi
/genbidi \
7663 tools
/gensprep
/gensprep
7665 if test -f $file.c
; then
7666 mv $file.c
$file.cpp
7668 echo "# $file.c does not exist or is already renamed [warning]"
7675 if test "${FORCE_LIBS}" != ""; then
7676 echo " *** Overriding automatically chosen LIBS=$LIBS, using instead FORCE_LIBS=${FORCE_LIBS}" 1>&6
7681 if test "${AIX_SHLIB}" != ""; then
7682 echo " *** setting AIX_SHLIB (AIX only) to ${AIX_SHLIB}]" 1>&6
7684 AIX_SHLIB
=makeC
++SharedLib_r
7691 if test $ICU_USE_THREADS -ne 0
7693 CPPFLAGS
="$CPPFLAGS \$(THREADSCPPFLAGS)"
7694 CFLAGS
="$CFLAGS \$(THREADSCFLAGS)"
7695 CXXFLAGS
="$CXXFLAGS \$(THREADSCXXFLAGS)"
7698 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/dumpce/Makefile tools/tzcode/Makefile test/Makefile test/testdata/Makefile test/testdata/pkgdata.inc test/hdrtst/Makefile test/intltest/Makefile test/cintltst/Makefile test/iotest/Makefile test/thaitest/Makefile test/testmap/Makefile test/letest/Makefile test/threadtest/Makefile samples/Makefile samples/date/Makefile samples/cal/Makefile samples/csdet/Makefile samples/layout/Makefile common/unicode/platform.h"
7699 cat >confcache
<<\_ACEOF
7700 # This file is a shell script that caches the results of configure
7701 # tests run on this system so they can be shared between configure
7702 # scripts and configure runs, see configure's option --config-cache.
7703 # It is not useful on other systems. If it contains results you don't
7704 # want to keep, you may remove or edit it.
7706 # config.status only pays attention to the cache file if you give it
7707 # the --recheck option to rerun configure.
7709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7715 # The following way of writing the cache mishandles newlines in values,
7716 # but we know of no workaround that is simple, portable, and efficient.
7717 # So, don't put newlines in cache variables' values.
7718 # Ultrix sh set writes to stderr and can't be redirected directly,
7719 # and sets the high bit in the cache file unless we assign to the vars.
7722 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7724 # `set' does not quote correctly, so add quotes (double-quote
7725 # substitution turns \\\\ into \\, and sed turns \\ into \).
7728 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7731 # `set' quotes correctly as required by POSIX, so do not add quotes.
7733 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7740 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7742 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7744 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7745 if test -w $cache_file; then
7746 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7747 cat confcache
>$cache_file
7749 echo "not updating unwritable cache $cache_file"
7754 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7755 # Let make expand exec_prefix.
7756 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7758 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7759 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7760 # trailing colons and then remove the whole line if VPATH becomes empty
7761 # (actually we leave an empty line to preserve line numbers).
7762 if test "x$srcdir" = x.
; then
7763 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7764 s/:*\$(srcdir):*/:/;
7765 s/:*\${srcdir}:*/:/;
7767 s/^\([^=]*=[ ]*\):*/\1/;
7773 DEFS
=-DHAVE_CONFIG_H
7777 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7778 # 1. Remove the extension, and $U if already installed.
7779 ac_i
=`echo "$ac_i" |
7780 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7782 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7783 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7787 LTLIBOBJS
=$ac_ltlibobjs
7791 : ${CONFIG_STATUS=./config.status}
7792 ac_clean_files_save
=$ac_clean_files
7793 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7794 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7795 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7796 cat >$CONFIG_STATUS <<_ACEOF
7798 # Generated by $as_me.
7799 # Run this file to recreate the current configuration.
7800 # Compiler output produced by configure, useful for debugging
7801 # configure, is in config.log if it exists.
7806 SHELL=\${CONFIG_SHELL-$SHELL}
7809 cat >>$CONFIG_STATUS <<\_ACEOF
7810 ## --------------------- ##
7811 ## M4sh Initialization. ##
7812 ## --------------------- ##
7814 # Be Bourne compatible
7815 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7818 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7819 # is contrary to our usage. Disable this feature.
7820 alias -g '${1+"$@"}'='"$@"'
7821 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7824 DUALCASE
=1; export DUALCASE
# for MKS sh
7826 # Support unset when possible.
7827 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
7834 # Work around bugs in pre-3.0 UWIN ksh.
7835 $as_unset ENV MAIL MAILPATH
7842 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7843 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7844 LC_TELEPHONE LC_TIME
7846 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7847 eval $as_var=C
; export $as_var
7853 # Required to use basename.
7854 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7860 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7861 as_basename
=basename
7867 # Name of the executable.
7868 as_me
=`$as_basename "$0" ||
7869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7870 X"$0" : 'X\(//\)$' \| \
7871 X"$0" : 'X\(/\)$' \| \
7872 . : '\(.\)' 2>/dev/null ||
7874 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7875 /^X\/\(\/\/\)$/{ s//\1/; q; }
7876 /^X\/\(\/\).*/{ s//\1/; q; }
7880 # PATH needs CR, and LINENO needs CR and PATH.
7881 # Avoid depending upon Character Ranges.
7882 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7883 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7884 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7885 as_cr_digits
='0123456789'
7886 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7888 # The user is always right.
7889 if test "${PATH_SEPARATOR+set}" != set; then
7890 echo "#! /bin/sh" >conf$$.sh
7891 echo "exit 0" >>conf$$.sh
7893 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7904 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7905 test "x$as_lineno_1" != "x$as_lineno_2" &&
7906 test "x$as_lineno_3" = "x$as_lineno_2" || {
7907 # Find who we are. Look in the path if we contain no path at all
7910 *[\\/]* ) as_myself
=$0 ;;
7911 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7915 test -z "$as_dir" && as_dir
=.
7916 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7921 # We did not find ourselves, most probably we were run as `sh COMMAND'
7922 # in which case we are not to be found in the path.
7923 if test "x$as_myself" = x
; then
7926 if test ! -f "$as_myself"; then
7927 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7928 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7929 { (exit 1); exit 1; }; }
7931 case $CONFIG_SHELL in
7933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7934 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7937 test -z "$as_dir" && as_dir
=.
7938 for as_base
in sh bash ksh sh5
; do
7941 if ("$as_dir/$as_base" -c '
7944 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7945 test "x$as_lineno_1" != "x$as_lineno_2" &&
7946 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7947 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
7948 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
7949 CONFIG_SHELL
=$as_dir/$as_base
7951 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7959 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7960 # uniformly replaced by the line number. The first 'sed' inserts a
7961 # line-number line before each line; the second 'sed' does the real
7962 # work. The second script uses 'N' to pair each line-number line
7963 # with the numbered line, and appends trailing '-' during
7964 # substitution so that $LINENO is not a special case at line end.
7965 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7966 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7967 sed '=' <$as_myself |
7972 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7975 s,^['$as_cr_digits']*\n,,
7977 chmod +x
$as_me.lineno
||
7978 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7979 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7980 { (exit 1); exit 1; }; }
7982 # Don't try to exec as it changes $[0], causing all sort of problems
7983 # (the dirname of $[0] is not the place where we might find the
7984 # original and so on. Autoconf is especially sensible to this).
7986 # Exit status is that of the last command.
7991 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7992 *c
*,-n*) ECHO_N
= ECHO_C
='
7994 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7995 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7998 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8004 rm -f conf$$ conf$$.exe conf$$.
file
8006 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8007 # We could just check for DJGPP; but this test a) works b) is more generic
8008 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8009 if test -f conf$$.exe
; then
8010 # Don't use ln at all; we don't have any links
8015 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8020 rm -f conf$$ conf$$.exe conf$$.
file
8022 if mkdir -p .
2>/dev
/null
; then
8025 test -d .
/-p && rmdir .
/-p
8029 as_executable_p
="test -f"
8031 # Sed expression to map a string onto a valid CPP name.
8032 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8034 # Sed expression to map a string onto a valid variable name.
8035 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8039 # We need space, tab and new line, in precisely that order.
8049 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8050 # report actual input values of CONFIG_FILES etc. instead of their
8051 # values after options handling. Logging --version etc. is OK.
8055 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8056 ## Running $as_me. ##
8061 This file was extended by $as_me, which was
8062 generated by GNU Autoconf 2.59. Invocation command line was
8064 CONFIG_FILES = $CONFIG_FILES
8065 CONFIG_HEADERS = $CONFIG_HEADERS
8066 CONFIG_LINKS = $CONFIG_LINKS
8067 CONFIG_COMMANDS = $CONFIG_COMMANDS
8071 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8075 # Files that config.status was made for.
8076 if test -n "$ac_config_files"; then
8077 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8080 if test -n "$ac_config_headers"; then
8081 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8084 if test -n "$ac_config_links"; then
8085 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8088 if test -n "$ac_config_commands"; then
8089 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8092 cat >>$CONFIG_STATUS <<\_ACEOF
8095 \`$as_me' instantiates files from templates according to the
8096 current configuration.
8098 Usage: $0 [OPTIONS] [FILE]...
8100 -h, --help print this help, then exit
8101 -V, --version print version number, then exit
8102 -q, --quiet do not print progress messages
8103 -d, --debug don't remove temporary files
8104 --recheck update $as_me by reconfiguring in the same conditions
8105 --file=FILE[:TEMPLATE]
8106 instantiate the configuration file FILE
8107 --header=FILE[:TEMPLATE]
8108 instantiate the configuration header FILE
8110 Configuration files:
8113 Configuration headers:
8116 Report bugs to <bug-autoconf@gnu.org>."
8119 cat >>$CONFIG_STATUS <<_ACEOF
8122 configured by $0, generated by GNU Autoconf 2.59,
8123 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8125 Copyright (C) 2003 Free Software Foundation, Inc.
8126 This config.status script is free software; the Free Software Foundation
8127 gives unlimited permission to copy, distribute and modify it."
8132 cat >>$CONFIG_STATUS <<\_ACEOF
8133 # If no file are specified by the user, then we need to provide default
8134 # value. By we need to know if files were specified by the user.
8140 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8141 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8149 *) # This is not an option, so the user has probably given explicit
8152 ac_need_defaults
=false
;;
8156 # Handling of the options.
8158 cat >>$CONFIG_STATUS <<\_ACEOF
8159 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8161 --version | --vers* | -V )
8162 echo "$ac_cs_version"; exit 0 ;;
8164 # Conflict between --help and --header
8165 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8166 Try \`$0 --help' for more information." >&5
8167 echo "$as_me: error: ambiguous option: $1
8168 Try \`$0 --help' for more information." >&2;}
8169 { (exit 1); exit 1; }; };;
8170 --help | --hel | -h )
8171 echo "$ac_cs_usage"; exit 0 ;;
8172 --debug | --d* | -d )
8174 --file | --fil | --fi | --f )
8176 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8177 ac_need_defaults
=false
;;
8178 --header | --heade | --head | --hea )
8180 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8181 ac_need_defaults
=false
;;
8182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8183 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8187 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8188 Try \`$0 --help' for more information." >&5
8189 echo "$as_me: error: unrecognized option: $1
8190 Try \`$0 --help' for more information." >&2;}
8191 { (exit 1); exit 1; }; } ;;
8193 *) ac_config_targets
="$ac_config_targets $1" ;;
8199 ac_configure_extra_args
=
8201 if $ac_cs_silent; then
8203 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8207 cat >>$CONFIG_STATUS <<_ACEOF
8208 if \$ac_cs_recheck; then
8209 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8210 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8219 cat >>$CONFIG_STATUS <<\_ACEOF
8220 for ac_config_target
in $ac_config_targets
8222 case "$ac_config_target" in
8223 # Handling of arguments.
8224 "icudefs.mk" ) CONFIG_FILES
="$CONFIG_FILES icudefs.mk" ;;
8225 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8226 "data/icupkg.inc" ) CONFIG_FILES
="$CONFIG_FILES data/icupkg.inc" ;;
8227 "config/Makefile.inc" ) CONFIG_FILES
="$CONFIG_FILES config/Makefile.inc" ;;
8228 "data/Makefile" ) CONFIG_FILES
="$CONFIG_FILES data/Makefile" ;;
8229 "stubdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES stubdata/Makefile" ;;
8230 "common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
8231 "i18n/Makefile" ) CONFIG_FILES
="$CONFIG_FILES i18n/Makefile" ;;
8232 "layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES layout/Makefile" ;;
8233 "layoutex/Makefile" ) CONFIG_FILES
="$CONFIG_FILES layoutex/Makefile" ;;
8234 "io/Makefile" ) CONFIG_FILES
="$CONFIG_FILES io/Makefile" ;;
8235 "extra/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/Makefile" ;;
8236 "extra/uconv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/uconv/Makefile" ;;
8237 "extra/scrptrun/Makefile" ) CONFIG_FILES
="$CONFIG_FILES extra/scrptrun/Makefile" ;;
8238 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
8239 "tools/ctestfw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/ctestfw/Makefile" ;;
8240 "tools/toolutil/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/toolutil/Makefile" ;;
8241 "tools/makeconv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/makeconv/Makefile" ;;
8242 "tools/genrb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genrb/Makefile" ;;
8243 "tools/genuca/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genuca/Makefile" ;;
8244 "tools/genccode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genccode/Makefile" ;;
8245 "tools/gencmn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencmn/Makefile" ;;
8246 "tools/gencnval/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencnval/Makefile" ;;
8247 "tools/genctd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genctd/Makefile" ;;
8248 "tools/gennames/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gennames/Makefile" ;;
8249 "tools/gentest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gentest/Makefile" ;;
8250 "tools/gennorm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gennorm/Makefile" ;;
8251 "tools/genprops/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genprops/Makefile" ;;
8252 "tools/gencase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gencase/Makefile" ;;
8253 "tools/genbidi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genbidi/Makefile" ;;
8254 "tools/genpname/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genpname/Makefile" ;;
8255 "tools/genbrk/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/genbrk/Makefile" ;;
8256 "tools/gensprep/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/gensprep/Makefile" ;;
8257 "tools/icupkg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/icupkg/Makefile" ;;
8258 "tools/icuswap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/icuswap/Makefile" ;;
8259 "tools/pkgdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/pkgdata/Makefile" ;;
8260 "tools/dumpce/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/dumpce/Makefile" ;;
8261 "tools/tzcode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/tzcode/Makefile" ;;
8262 "test/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
8263 "test/testdata/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/testdata/Makefile" ;;
8264 "test/testdata/pkgdata.inc" ) CONFIG_FILES
="$CONFIG_FILES test/testdata/pkgdata.inc" ;;
8265 "test/hdrtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/hdrtst/Makefile" ;;
8266 "test/intltest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/intltest/Makefile" ;;
8267 "test/cintltst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/cintltst/Makefile" ;;
8268 "test/iotest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/iotest/Makefile" ;;
8269 "test/thaitest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/thaitest/Makefile" ;;
8270 "test/testmap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/testmap/Makefile" ;;
8271 "test/letest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/letest/Makefile" ;;
8272 "test/threadtest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES test/threadtest/Makefile" ;;
8273 "samples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/Makefile" ;;
8274 "samples/date/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/date/Makefile" ;;
8275 "samples/cal/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/cal/Makefile" ;;
8276 "samples/csdet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/csdet/Makefile" ;;
8277 "samples/layout/Makefile" ) CONFIG_FILES
="$CONFIG_FILES samples/layout/Makefile" ;;
8278 "common/unicode/platform.h" ) CONFIG_FILES
="$CONFIG_FILES common/unicode/platform.h" ;;
8279 "common/icucfg.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS common/icucfg.h" ;;
8280 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8281 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8282 { (exit 1); exit 1; }; };;
8286 # If the user did not use the arguments to specify the items to instantiate,
8287 # then the envvar interface is used. Set only those that are not.
8288 # We use the long form for the default assignment because of an extremely
8289 # bizarre bug on SunOS 4.1.3.
8290 if $ac_need_defaults; then
8291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8292 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8295 # Have a temporary directory for convenience. Make it in the build tree
8296 # simply because there is no reason to put it here, and in addition,
8297 # creating and moving files from /tmp can sometimes cause problems.
8298 # Create a temporary directory, and hook for its removal unless debugging.
8301 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8302 trap '{ (exit 1); exit 1; }' 1 2 13 15
8305 # Create a (secure) tmp directory for tmp files.
8308 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8309 test -n "$tmp" && test -d "$tmp"
8312 tmp
=.
/confstat$$
-$RANDOM
8313 (umask 077 && mkdir $tmp)
8316 echo "$me: cannot create a temporary directory in ." >&2
8317 { (exit 1); exit 1; }
8322 cat >>$CONFIG_STATUS <<_ACEOF
8325 # CONFIG_FILES section.
8328 # No need to generate the scripts if there are no CONFIG_FILES.
8329 # This happens for instance when ./config.status config.h
8330 if test -n "\$CONFIG_FILES"; then
8331 # Protect against being on the right side of a sed subst in config.status.
8332 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8333 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8334 s,@SHELL@,$SHELL,;t t
8335 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8336 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8337 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8338 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8339 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8340 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8341 s,@exec_prefix@,$exec_prefix,;t t
8342 s,@prefix@,$prefix,;t t
8343 s,@program_transform_name@,$program_transform_name,;t t
8344 s,@bindir@,$bindir,;t t
8345 s,@sbindir@,$sbindir,;t t
8346 s,@libexecdir@,$libexecdir,;t t
8347 s,@datadir@,$datadir,;t t
8348 s,@sysconfdir@,$sysconfdir,;t t
8349 s,@sharedstatedir@,$sharedstatedir,;t t
8350 s,@localstatedir@,$localstatedir,;t t
8351 s,@libdir@,$libdir,;t t
8352 s,@includedir@,$includedir,;t t
8353 s,@oldincludedir@,$oldincludedir,;t t
8354 s,@infodir@,$infodir,;t t
8355 s,@mandir@,$mandir,;t t
8356 s,@build_alias@,$build_alias,;t t
8357 s,@host_alias@,$host_alias,;t t
8358 s,@target_alias@,$target_alias,;t t
8360 s,@ECHO_C@,$ECHO_C,;t t
8361 s,@ECHO_N@,$ECHO_N,;t t
8362 s,@ECHO_T@,$ECHO_T,;t t
8364 s,@PACKAGE@,$PACKAGE,;t t
8365 s,@VERSION@,$VERSION,;t t
8366 s,@LIB_VERSION@,$LIB_VERSION,;t t
8367 s,@LIB_VERSION_MAJOR@,$LIB_VERSION_MAJOR,;t t
8368 s,@UNICODE_VERSION@,$UNICODE_VERSION,;t t
8369 s,@build@,$build,;t t
8370 s,@build_cpu@,$build_cpu,;t t
8371 s,@build_vendor@,$build_vendor,;t t
8372 s,@build_os@,$build_os,;t t
8374 s,@host_cpu@,$host_cpu,;t t
8375 s,@host_vendor@,$host_vendor,;t t
8376 s,@host_os@,$host_os,;t t
8377 s,@CPPFLAGS@,$CPPFLAGS,;t t
8379 s,@CFLAGS@,$CFLAGS,;t t
8380 s,@LDFLAGS@,$LDFLAGS,;t t
8381 s,@ac_ct_CC@,$ac_ct_CC,;t t
8382 s,@EXEEXT@,$EXEEXT,;t t
8383 s,@OBJEXT@,$OBJEXT,;t t
8385 s,@CXXFLAGS@,$CXXFLAGS,;t t
8386 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
8387 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8388 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8389 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8390 s,@U_MAKE@,$U_MAKE,;t t
8391 s,@DOXYGEN@,$DOXYGEN,;t t
8392 s,@ARFLAGS@,$ARFLAGS,;t t
8393 s,@COMPILE_LINK_ENVVAR@,$COMPILE_LINK_ENVVAR,;t t
8394 s,@LIB_M@,$LIB_M,;t t
8395 s,@ENABLE_SHARED@,$ENABLE_SHARED,;t t
8396 s,@ENABLE_STATIC@,$ENABLE_STATIC,;t t
8397 s,@ENABLE_DEBUG@,$ENABLE_DEBUG,;t t
8398 s,@ENABLE_RELEASE@,$ENABLE_RELEASE,;t t
8399 s,@U_DEFAULT_SHOW_DRAFT@,$U_DEFAULT_SHOW_DRAFT,;t t
8400 s,@RANLIB@,$RANLIB,;t t
8401 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8403 s,@U_DISABLE_RENAMING@,$U_DISABLE_RENAMING,;t t
8404 s,@U_ENABLE_TRACING@,$U_ENABLE_TRACING,;t t
8405 s,@ENABLE_RPATH@,$ENABLE_RPATH,;t t
8406 s,@U_INLINE@,$U_INLINE,;t t
8407 s,@THREADS_TRUE@,$THREADS_TRUE,;t t
8408 s,@ICU_USE_THREADS@,$ICU_USE_THREADS,;t t
8409 s,@HAVE_MMAP@,$HAVE_MMAP,;t t
8410 s,@GENCCODE_ASSEMBLY@,$GENCCODE_ASSEMBLY,;t t
8412 s,@EGREP@,$EGREP,;t t
8413 s,@U_HAVE_INTTYPES_H@,$U_HAVE_INTTYPES_H,;t t
8414 s,@U_IOSTREAM_SOURCE@,$U_IOSTREAM_SOURCE,;t t
8415 s,@U_IS_BIG_ENDIAN@,$U_IS_BIG_ENDIAN,;t t
8416 s,@U_HAVE_NL_LANGINFO@,$U_HAVE_NL_LANGINFO,;t t
8417 s,@U_HAVE_NL_LANGINFO_CODESET@,$U_HAVE_NL_LANGINFO_CODESET,;t t
8418 s,@U_NL_LANGINFO_CODESET@,$U_NL_LANGINFO_CODESET,;t t
8419 s,@U_HAVE_NAMESPACE@,$U_HAVE_NAMESPACE,;t t
8420 s,@U_OVERRIDE_CXX_ALLOCATION@,$U_OVERRIDE_CXX_ALLOCATION,;t t
8421 s,@U_HAVE_PLACEMENT_NEW@,$U_HAVE_PLACEMENT_NEW,;t t
8422 s,@U_HAVE_POPEN@,$U_HAVE_POPEN,;t t
8423 s,@U_HAVE_TZSET@,$U_HAVE_TZSET,;t t
8424 s,@U_TZSET@,$U_TZSET,;t t
8425 s,@U_HAVE_TZNAME@,$U_HAVE_TZNAME,;t t
8426 s,@U_TZNAME@,$U_TZNAME,;t t
8427 s,@U_HAVE_TIMEZONE@,$U_HAVE_TIMEZONE,;t t
8428 s,@U_TIMEZONE@,$U_TIMEZONE,;t t
8429 s,@HAVE_INT8_T@,$HAVE_INT8_T,;t t
8430 s,@HAVE_UINT8_T@,$HAVE_UINT8_T,;t t
8431 s,@HAVE_INT16_T@,$HAVE_INT16_T,;t t
8432 s,@HAVE_UINT16_T@,$HAVE_UINT16_T,;t t
8433 s,@HAVE_INT32_T@,$HAVE_INT32_T,;t t
8434 s,@HAVE_UINT32_T@,$HAVE_UINT32_T,;t t
8435 s,@HAVE_INT64_T@,$HAVE_INT64_T,;t t
8436 s,@HAVE_UINT64_T@,$HAVE_UINT64_T,;t t
8437 s,@U_HAVE_WCHAR_H@,$U_HAVE_WCHAR_H,;t t
8438 s,@U_HAVE_WCSCPY@,$U_HAVE_WCSCPY,;t t
8439 s,@U_SIZEOF_WCHAR_T@,$U_SIZEOF_WCHAR_T,;t t
8440 s,@EXTRAS_TRUE@,$EXTRAS_TRUE,;t t
8441 s,@ICUIO_TRUE@,$ICUIO_TRUE,;t t
8442 s,@LAYOUT_TRUE@,$LAYOUT_TRUE,;t t
8443 s,@thedatadir@,$thedatadir,;t t
8444 s,@pkgicudatadir@,$pkgicudatadir,;t t
8445 s,@thepkgicudatadir@,$thepkgicudatadir,;t t
8446 s,@DATA_PACKAGING_MODE@,$DATA_PACKAGING_MODE,;t t
8447 s,@ICULIBSUFFIX@,$ICULIBSUFFIX,;t t
8448 s,@U_HAVE_LIB_SUFFIX@,$U_HAVE_LIB_SUFFIX,;t t
8449 s,@ICULIBSUFFIXCNAME@,$ICULIBSUFFIXCNAME,;t t
8450 s,@TESTS_TRUE@,$TESTS_TRUE,;t t
8451 s,@SAMPLES_TRUE@,$SAMPLES_TRUE,;t t
8452 s,@ICUDATA_CHAR@,$ICUDATA_CHAR,;t t
8453 s,@platform@,$platform,;t t
8454 s,@platform_make_fragment_name@,$platform_make_fragment_name,;t t
8455 s,@platform_make_fragment@,$platform_make_fragment,;t t
8456 s,@ld_rpath_suf@,$ld_rpath_suf,;t t
8457 s,@AIX_SHLIB@,$AIX_SHLIB,;t t
8458 s,@LIBOBJS@,$LIBOBJS,;t t
8459 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8464 cat >>$CONFIG_STATUS <<\_ACEOF
8465 # Split the substitutions into bite-sized pieces for seds with
8466 # small command number limits, like on Digital OSF/1 and HP-UX.
8468 ac_sed_frag
=1 # Number of current file.
8469 ac_beg
=1 # First line for current file.
8470 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8473 while $ac_more_lines; do
8474 if test $ac_beg -gt 1; then
8475 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8477 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8479 if test ! -s $tmp/subs.frag
; then
8482 # The purpose of the label and of the branching condition is to
8483 # speed up the sed processing (if there are no `@' at all, there
8484 # is no need to browse any of the substitutions).
8485 # These are the two extra sed commands mentioned above.
8487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
8488 if test -z "$ac_sed_cmds"; then
8489 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8491 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8493 ac_sed_frag
=`expr $ac_sed_frag + 1`
8495 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8498 if test -z "$ac_sed_cmds"; then
8501 fi # test -n "$CONFIG_FILES"
8504 cat >>$CONFIG_STATUS <<\_ACEOF
8505 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8506 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8508 - | *:- | *:-:* ) # input from stdin
8510 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8511 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8512 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8513 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8514 * ) ac_file_in
=$ac_file.
in ;;
8517 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8518 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8519 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8520 X"$ac_file" : 'X\(//\)[^/]' \| \
8521 X"$ac_file" : 'X\(//\)$' \| \
8522 X"$ac_file" : 'X\(/\)' \| \
8523 . : '\(.\)' 2>/dev/null ||
8525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8527 /^X\(\/\/\)$/{ s//\1/; q; }
8528 /^X\(\/\).*/{ s//\1/; q; }
8530 { if $as_mkdir_p; then
8535 while test ! -d "$as_dir"; do
8536 as_dirs
="$as_dir $as_dirs"
8537 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8539 X"$as_dir" : 'X\(//\)[^/]' \| \
8540 X"$as_dir" : 'X\(//\)$' \| \
8541 X"$as_dir" : 'X\(/\)' \| \
8542 . : '\(.\)' 2>/dev/null ||
8544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8545 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8546 /^X\(\/\/\)$/{ s//\1/; q; }
8547 /^X\(\/\).*/{ s//\1/; q; }
8550 test ! -n "$as_dirs" || mkdir $as_dirs
8551 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8552 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8553 { (exit 1); exit 1; }; }; }
8557 if test "$ac_dir" != .
; then
8558 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8559 # A "../" for each directory in $ac_dir_suffix.
8560 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8562 ac_dir_suffix
= ac_top_builddir
=
8566 .
) # No --srcdir option. We are building in place.
8568 if test -z "$ac_top_builddir"; then
8571 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8573 [\\/]* | ?
:[\\/]* ) # Absolute path.
8574 ac_srcdir
=$srcdir$ac_dir_suffix;
8575 ac_top_srcdir
=$srcdir ;;
8577 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8578 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8581 # Do not use `cd foo && pwd` to compute absolute paths, because
8582 # the directories may not exist.
8584 .
) ac_abs_builddir
="$ac_dir";;
8587 .
) ac_abs_builddir
=`pwd`;;
8588 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8589 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8592 case $ac_abs_builddir in
8593 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8595 case ${ac_top_builddir}.
in
8596 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8597 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8598 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8601 case $ac_abs_builddir in
8602 .
) ac_abs_srcdir
=$ac_srcdir;;
8605 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8606 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8607 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8610 case $ac_abs_builddir in
8611 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8613 case $ac_top_srcdir in
8614 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8615 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8616 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8622 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8623 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8626 if test x
"$ac_file" != x
-; then
8627 { echo "$as_me:$LINENO: creating $ac_file" >&5
8628 echo "$as_me: creating $ac_file" >&6;}
8631 # Let's still pretend it is `configure' which instantiates (i.e., don't
8632 # use $as_me), people would be surprised to read:
8633 # /* config.h. Generated by config.status. */
8634 if test x
"$ac_file" = x
-; then
8637 configure_input
="$ac_file. "
8639 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8640 sed 's,.*/,,'` by configure."
8642 # First look for the input files in the build tree, otherwise in the
8644 ac_file_inputs
=`IFS=:
8645 for f in $ac_file_in; do
8647 -) echo $tmp/stdin ;;
8649 # Absolute (can't be DOS-style, as IFS=:)
8650 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8651 echo "$as_me: error: cannot find input file: $f" >&2;}
8652 { (exit 1); exit 1; }; }
8655 if test -f "$f"; then
8658 elif test -f "$srcdir/$f"; then
8663 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8664 echo "$as_me: error: cannot find input file: $f" >&2;}
8665 { (exit 1); exit 1; }; }
8668 done` || { (exit 1); exit 1; }
8670 cat >>$CONFIG_STATUS <<_ACEOF
8674 cat >>$CONFIG_STATUS <<\_ACEOF
8676 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
8677 s
,@configure_input@
,$configure_input,;t t
8678 s
,@srcdir@
,$ac_srcdir,;t t
8679 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8680 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8681 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8682 s
,@builddir@
,$ac_builddir,;t t
8683 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8684 s
,@top_builddir@
,$ac_top_builddir,;t t
8685 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8686 s
,@INSTALL@
,$ac_INSTALL,;t t
8687 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8689 if test x"$ac_file" != x-; then
8690 mv $tmp/out $ac_file
8698 cat >>$CONFIG_STATUS <<\_ACEOF
8701 # CONFIG_HEADER section.
8704 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8705 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8707 # ac_d sets the value in "#define NAME VALUE" lines.
8708 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8709 ac_dB
='[ ].*$,\1#\2'
8712 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8713 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8714 ac_uB
='$,\1#\2define\3'
8718 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8719 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8721 - | *:- | *:-:* ) # input from stdin
8723 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8724 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8725 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8726 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8727 * ) ac_file_in
=$ac_file.
in ;;
8730 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8731 echo "$as_me: creating $ac_file" >&6;}
8733 # First look for the input files in the build tree, otherwise in the
8735 ac_file_inputs
=`IFS=:
8736 for f in $ac_file_in; do
8738 -) echo $tmp/stdin ;;
8740 # Absolute (can't be DOS-style, as IFS=:)
8741 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8742 echo "$as_me: error: cannot find input file: $f" >&2;}
8743 { (exit 1); exit 1; }; }
8744 # Do quote $f, to prevent DOS paths from being IFS'd.
8747 if test -f "$f"; then
8750 elif test -f "$srcdir/$f"; then
8755 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8756 echo "$as_me: error: cannot find input file: $f" >&2;}
8757 { (exit 1); exit 1; }; }
8760 done` || { (exit 1); exit 1; }
8761 # Remove the trailing spaces.
8762 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8766 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8767 # `conftest.undefs', that substitutes the proper values into
8768 # config.h.in to produce config.h. The first handles `#define'
8769 # templates, and the second `#undef' templates.
8770 # And first: Protect against being on the right side of a sed subst in
8771 # config.status. Protect against being in an unquoted here document
8773 rm -f conftest.defines conftest.undefs
8774 # Using a here document instead of a string reduces the quoting nightmare.
8775 # Putting comments in sed scripts is not portable.
8777 # `end' is used to avoid that the second main sed command (meant for
8778 # 0-ary CPP macros) applies to n-ary macro definitions.
8779 # See the Autoconf documentation for `clear'.
8780 cat >confdef2sed.
sed <<\_ACEOF
8785 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8787 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8790 # If some macros were called several times there might be several times
8791 # the same #defines, which is useless. Nevertheless, we may not want to
8792 # sort them, since we want the *last* AC-DEFINE to be honored.
8793 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8794 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8795 rm -f confdef2sed.sed
8797 # This sed command replaces #undef with comments. This is necessary, for
8798 # example, in the case of _POSIX_SOURCE, which is predefined and required
8799 # on some systems where configure will not decide to define it.
8800 cat >>conftest.undefs <<\_ACEOF
8801 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8804 # Break up conftest.defines because some shells have a limit on the size
8805 # of here documents, and old seds have small limits too (100 cmds).
8806 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8807 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8808 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8809 echo ' :' >>$CONFIG_STATUS
8811 while grep . conftest.defines >/dev/null
8813 # Write a limited-size here document to $tmp/defines.sed.
8814 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8815 # Speed up: don't consider the non `#define' lines.
8816 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8817 # Work around the forget-to-reset-the-flag bug.
8818 echo 't clr' >>$CONFIG_STATUS
8819 echo ': clr' >>$CONFIG_STATUS
8820 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8822 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8826 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8827 rm -f conftest.defines
8828 mv conftest.
tail conftest.defines
8830 rm -f conftest.defines
8831 echo ' fi # grep' >>$CONFIG_STATUS
8832 echo >>$CONFIG_STATUS
8834 # Break up conftest.undefs because some shells have a limit on the size
8835 # of here documents, and old seds have small limits too (100 cmds).
8836 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8838 while grep . conftest.undefs
>/dev
/null
8840 # Write a limited-size here document to $tmp/undefs.sed.
8841 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8842 # Speed up: don't consider the non
`#undef'
8843 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8844 # Work around the forget-to-reset-the-flag bug.
8845 echo 't clr' >>$CONFIG_STATUS
8846 echo ': clr' >>$CONFIG_STATUS
8847 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8849 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8853 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8854 rm -f conftest.undefs
8855 mv conftest.tail conftest.undefs
8857 rm -f conftest.undefs
8859 cat >>$CONFIG_STATUS <<\_ACEOF
8860 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8861 # use $as_me), people would be surprised to read:
8862 # /* config.h. Generated by config.status. */
8863 if test x
"$ac_file" = x
-; then
8864 echo "/* Generated by configure. */" >$tmp/config.h
8866 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8868 cat $tmp/in >>$tmp/config.h
8870 if test x
"$ac_file" != x
-; then
8871 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8872 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8873 echo "$as_me: $ac_file is unchanged" >&6;}
8875 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8877 X"$ac_file" : 'X\(//\)[^/]' \| \
8878 X"$ac_file" : 'X\(//\)$' \| \
8879 X"$ac_file" : 'X\(/\)' \| \
8880 . : '\(.\)' 2>/dev/null ||
8882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8884 /^X\(\/\/\)$/{ s//\1/; q; }
8885 /^X\(\/\).*/{ s//\1/; q; }
8887 { if $as_mkdir_p; then
8892 while test ! -d "$as_dir"; do
8893 as_dirs
="$as_dir $as_dirs"
8894 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8896 X"$as_dir" : 'X\(//\)[^/]' \| \
8897 X"$as_dir" : 'X\(//\)$' \| \
8898 X"$as_dir" : 'X\(/\)' \| \
8899 . : '\(.\)' 2>/dev/null ||
8901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8902 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8903 /^X\(\/\/\)$/{ s//\1/; q; }
8904 /^X\(\/\).*/{ s//\1/; q; }
8907 test ! -n "$as_dirs" || mkdir $as_dirs
8908 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8909 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8910 { (exit 1); exit 1; }; }; }
8913 mv $tmp/config.h
$ac_file
8922 cat >>$CONFIG_STATUS <<\_ACEOF
8924 { (exit 0); exit 0; }
8926 chmod +x
$CONFIG_STATUS
8927 ac_clean_files
=$ac_clean_files_save
8930 # configure is writing to config.log, and then calls config.status.
8931 # config.status does its own redirection, appending to config.log.
8932 # Unfortunately, on DOS this fails, as config.log is still kept open
8933 # by configure, so config.status won't be able to write to it; its
8934 # output is simply discarded. So we exec the FD to /dev/null,
8935 # effectively closing config.log, so it can be properly (re)opened and
8936 # appended to by config.status. When coming back to configure, we
8937 # need to make the FD available again.
8938 if test "$no_create" != yes; then
8940 ac_config_status_args
=
8941 test "$silent" = yes &&
8942 ac_config_status_args
="$ac_config_status_args --quiet"
8944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8947 # would make configure fail if this is the last instruction.
8948 $ac_cs_success || { (exit 1); exit 1; }
8952 if test $ICU_USE_THREADS = 0; then
8953 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
8956 if test -n "`$U_MAKE -v 2>&1 | grep '^GNU Make'`"; then
8957 echo "You must use $U_MAKE to build ICU."
8959 echo "WARNING: $U_MAKE may not be GNU make."
8960 echo "This may cause ICU to fail to build. Please make sure that GNU make"
8961 echo "is in your PATH so that this configure script can detect its location."
8964 $as_unset _CXX_CXXSUFFIX