• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2017 and later: Unicode, Inc. and others.
3# License & terms of use: http://www.unicode.org/copyright.html
4#
5# Copyright (c) 2008-2009 IBM Corp. and Others. All Rights Reserved
6Only in 3_0/icu/source: bin
7Only in 3_0.orig/icu/source: confdefs.h
8diff -ru 3_0.orig/icu/source/config/mh-darwin 3_0/icu/source/config/mh-darwin
9--- 3_0.orig/icu/source/config/mh-darwin	2008-10-20 14:57:52.000000000 -0700
10+++ 3_0/icu/source/config/mh-darwin	2008-10-20 15:57:28.000000000 -0700
11@@ -15,6 +15,8 @@
12 ## Commands to generate dependency files
13 GEN_DEPS.c=	$(CC) -E -MMD  $(DEFS) $(CPPFLAGS)
14 GEN_DEPS.cc=	$(CXX) -E -MMD  $(DEFS) $(CPPFLAGS)
15+GEN_DEPS.c=	echo
16+GEN_DEPS.cc=	echo
17
18 ## Commands to compile
19 COMPILE.c=	$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -fno-common -c
20Only in 3_0.orig/icu/source: config.cache
21Only in 3_0.orig/icu/source: config.log
22diff -ru 3_0.orig/icu/source/configure 3_0/icu/source/configure
23--- 3_0.orig/icu/source/configure	2008-10-20 14:58:10.000000000 -0700
24+++ 3_0/icu/source/configure	2008-10-20 15:54:46.000000000 -0700
25@@ -1,65 +1,822 @@
26 #! /bin/sh
27-
28 # Guess values for system-dependent variables and create Makefiles.
29-# Generated automatically using autoconf version 2.13
30-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
31+# Generated by GNU Autoconf 2.63.
32 #
33+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
34+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
35 # This configure script is free software; the Free Software Foundation
36 # gives unlimited permission to copy, distribute and modify it.
37+## --------------------- ##
38+## M4sh Initialization.  ##
39+## --------------------- ##
40+
41+# Be more Bourne compatible
42+DUALCASE=1; export DUALCASE # for MKS sh
43+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
44+  emulate sh
45+  NULLCMD=:
46+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
47+  # is contrary to our usage.  Disable this feature.
48+  alias -g '${1+"$@"}'='"$@"'
49+  setopt NO_GLOB_SUBST
50+else
51+  case `(set -o) 2>/dev/null` in
52+  *posix*) set -o posix ;;
53+esac
54+
55+fi
56+
57+
58+
59+
60+# PATH needs CR
61+# Avoid depending upon Character Ranges.
62+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
63+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
64+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
65+as_cr_digits='0123456789'
66+as_cr_alnum=$as_cr_Letters$as_cr_digits
67+
68+as_nl='
69+'
70+export as_nl
71+# Printing a long string crashes Solaris 7 /usr/bin/printf.
72+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
74+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
75+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
76+  as_echo='printf %s\n'
77+  as_echo_n='printf %s'
78+else
79+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81+    as_echo_n='/usr/ucb/echo -n'
82+  else
83+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
84+    as_echo_n_body='eval
85+      arg=$1;
86+      case $arg in
87+      *"$as_nl"*)
88+	expr "X$arg" : "X\\(.*\\)$as_nl";
89+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
90+      esac;
91+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
92+    '
93+    export as_echo_n_body
94+    as_echo_n='sh -c $as_echo_n_body as_echo'
95+  fi
96+  export as_echo_body
97+  as_echo='sh -c $as_echo_body as_echo'
98+fi
99+
100+# The user is always right.
101+if test "${PATH_SEPARATOR+set}" != set; then
102+  PATH_SEPARATOR=:
103+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
104+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
105+      PATH_SEPARATOR=';'
106+  }
107+fi
108+
109+# Support unset when possible.
110+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
111+  as_unset=unset
112+else
113+  as_unset=false
114+fi
115+
116+
117+# IFS
118+# We need space, tab and new line, in precisely that order.  Quoting is
119+# there to prevent editors from complaining about space-tab.
120+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
121+# splitting by setting IFS to empty value.)
122+IFS=" ""	$as_nl"
123+
124+# Find who we are.  Look in the path if we contain no directory separator.
125+case $0 in
126+  *[\\/]* ) as_myself=$0 ;;
127+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128+for as_dir in $PATH
129+do
130+  IFS=$as_save_IFS
131+  test -z "$as_dir" && as_dir=.
132+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
133+done
134+IFS=$as_save_IFS
135+
136+     ;;
137+esac
138+# We did not find ourselves, most probably we were run as `sh COMMAND'
139+# in which case we are not to be found in the path.
140+if test "x$as_myself" = x; then
141+  as_myself=$0
142+fi
143+if test ! -f "$as_myself"; then
144+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
145+  { (exit 1); exit 1; }
146+fi
147+
148+# Work around bugs in pre-3.0 UWIN ksh.
149+for as_var in ENV MAIL MAILPATH
150+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
151+done
152+PS1='$ '
153+PS2='> '
154+PS4='+ '
155+
156+# NLS nuisances.
157+LC_ALL=C
158+export LC_ALL
159+LANGUAGE=C
160+export LANGUAGE
161+
162+# Required to use basename.
163+if expr a : '\(a\)' >/dev/null 2>&1 &&
164+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
165+  as_expr=expr
166+else
167+  as_expr=false
168+fi
169+
170+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
171+  as_basename=basename
172+else
173+  as_basename=false
174+fi
175+
176+
177+# Name of the executable.
178+as_me=`$as_basename -- "$0" ||
179+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
180+	 X"$0" : 'X\(//\)$' \| \
181+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
182+$as_echo X/"$0" |
183+    sed '/^.*\/\([^/][^/]*\)\/*$/{
184+	    s//\1/
185+	    q
186+	  }
187+	  /^X\/\(\/\/\)$/{
188+	    s//\1/
189+	    q
190+	  }
191+	  /^X\/\(\/\).*/{
192+	    s//\1/
193+	    q
194+	  }
195+	  s/.*/./; q'`
196+
197+# CDPATH.
198+$as_unset CDPATH
199+
200+
201+if test "x$CONFIG_SHELL" = x; then
202+  if (eval ":") 2>/dev/null; then
203+  as_have_required=yes
204+else
205+  as_have_required=no
206+fi
207+
208+  if test $as_have_required = yes &&	 (eval ":
209+(as_func_return () {
210+  (exit \$1)
211+}
212+as_func_success () {
213+  as_func_return 0
214+}
215+as_func_failure () {
216+  as_func_return 1
217+}
218+as_func_ret_success () {
219+  return 0
220+}
221+as_func_ret_failure () {
222+  return 1
223+}
224+
225+exitcode=0
226+if as_func_success; then
227+  :
228+else
229+  exitcode=1
230+  echo as_func_success failed.
231+fi
232+
233+if as_func_failure; then
234+  exitcode=1
235+  echo as_func_failure succeeded.
236+fi
237+
238+if as_func_ret_success; then
239+  :
240+else
241+  exitcode=1
242+  echo as_func_ret_success failed.
243+fi
244+
245+if as_func_ret_failure; then
246+  exitcode=1
247+  echo as_func_ret_failure succeeded.
248+fi
249+
250+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
251+  :
252+else
253+  exitcode=1
254+  echo positional parameters were not saved.
255+fi
256+
257+test \$exitcode = 0) || { (exit 1); exit 1; }
258+
259+(
260+  as_lineno_1=\$LINENO
261+  as_lineno_2=\$LINENO
262+  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
263+  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
264+") 2> /dev/null; then
265+  :
266+else
267+  as_candidate_shells=
268+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
269+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
270+do
271+  IFS=$as_save_IFS
272+  test -z "$as_dir" && as_dir=.
273+  case $as_dir in
274+	 /*)
275+	   for as_base in sh bash ksh sh5; do
276+	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
277+	   done;;
278+       esac
279+done
280+IFS=$as_save_IFS
281+
282+
283+      for as_shell in $as_candidate_shells $SHELL; do
284+	 # Try only shells that exist, to save several forks.
285+	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
286+		{ ("$as_shell") 2> /dev/null <<\_ASEOF
287+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
288+  emulate sh
289+  NULLCMD=:
290+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
291+  # is contrary to our usage.  Disable this feature.
292+  alias -g '${1+"$@"}'='"$@"'
293+  setopt NO_GLOB_SUBST
294+else
295+  case `(set -o) 2>/dev/null` in
296+  *posix*) set -o posix ;;
297+esac
298+
299+fi
300+
301+
302+:
303+_ASEOF
304+}; then
305+  CONFIG_SHELL=$as_shell
306+	       as_have_required=yes
307+	       if { "$as_shell" 2> /dev/null <<\_ASEOF
308+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
309+  emulate sh
310+  NULLCMD=:
311+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
312+  # is contrary to our usage.  Disable this feature.
313+  alias -g '${1+"$@"}'='"$@"'
314+  setopt NO_GLOB_SUBST
315+else
316+  case `(set -o) 2>/dev/null` in
317+  *posix*) set -o posix ;;
318+esac
319+
320+fi
321+
322+
323+:
324+(as_func_return () {
325+  (exit $1)
326+}
327+as_func_success () {
328+  as_func_return 0
329+}
330+as_func_failure () {
331+  as_func_return 1
332+}
333+as_func_ret_success () {
334+  return 0
335+}
336+as_func_ret_failure () {
337+  return 1
338+}
339+
340+exitcode=0
341+if as_func_success; then
342+  :
343+else
344+  exitcode=1
345+  echo as_func_success failed.
346+fi
347+
348+if as_func_failure; then
349+  exitcode=1
350+  echo as_func_failure succeeded.
351+fi
352+
353+if as_func_ret_success; then
354+  :
355+else
356+  exitcode=1
357+  echo as_func_ret_success failed.
358+fi
359+
360+if as_func_ret_failure; then
361+  exitcode=1
362+  echo as_func_ret_failure succeeded.
363+fi
364+
365+if ( set x; as_func_ret_success y && test x = "$1" ); then
366+  :
367+else
368+  exitcode=1
369+  echo positional parameters were not saved.
370+fi
371+
372+test $exitcode = 0) || { (exit 1); exit 1; }
373+
374+(
375+  as_lineno_1=$LINENO
376+  as_lineno_2=$LINENO
377+  test "x$as_lineno_1" != "x$as_lineno_2" &&
378+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
379+
380+_ASEOF
381+}; then
382+  break
383+fi
384+
385+fi
386+
387+      done
388+
389+      if test "x$CONFIG_SHELL" != x; then
390+  for as_var in BASH_ENV ENV
391+	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
392+	done
393+	export CONFIG_SHELL
394+	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
395+fi
396+
397+
398+    if test $as_have_required = no; then
399+  echo This script requires a shell more modern than all the
400+      echo shells that I found on your system.  Please install a
401+      echo modern shell, or manually run the script under such a
402+      echo shell if you do have one.
403+      { (exit 1); exit 1; }
404+fi
405+
406+
407+fi
408+
409+fi
410+
411+
412+
413+(eval "as_func_return () {
414+  (exit \$1)
415+}
416+as_func_success () {
417+  as_func_return 0
418+}
419+as_func_failure () {
420+  as_func_return 1
421+}
422+as_func_ret_success () {
423+  return 0
424+}
425+as_func_ret_failure () {
426+  return 1
427+}
428+
429+exitcode=0
430+if as_func_success; then
431+  :
432+else
433+  exitcode=1
434+  echo as_func_success failed.
435+fi
436+
437+if as_func_failure; then
438+  exitcode=1
439+  echo as_func_failure succeeded.
440+fi
441+
442+if as_func_ret_success; then
443+  :
444+else
445+  exitcode=1
446+  echo as_func_ret_success failed.
447+fi
448+
449+if as_func_ret_failure; then
450+  exitcode=1
451+  echo as_func_ret_failure succeeded.
452+fi
453+
454+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
455+  :
456+else
457+  exitcode=1
458+  echo positional parameters were not saved.
459+fi
460+
461+test \$exitcode = 0") || {
462+  echo No shell found that supports shell functions.
463+  echo Please tell bug-autoconf@gnu.org about your system,
464+  echo including any error possibly output before this message.
465+  echo This can help us improve future autoconf versions.
466+  echo Configuration will now proceed without shell functions.
467+}
468+
469+
470+
471+  as_lineno_1=$LINENO
472+  as_lineno_2=$LINENO
473+  test "x$as_lineno_1" != "x$as_lineno_2" &&
474+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
475+
476+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
477+  # uniformly replaced by the line number.  The first 'sed' inserts a
478+  # line-number line after each line using $LINENO; the second 'sed'
479+  # does the real work.  The second script uses 'N' to pair each
480+  # line-number line with the line containing $LINENO, and appends
481+  # trailing '-' during substitution so that $LINENO is not a special
482+  # case at line end.
483+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
484+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
485+  # E. McMahon (1931-1989) for sed's syntax.  :-)
486+  sed -n '
487+    p
488+    /[$]LINENO/=
489+  ' <$as_myself |
490+    sed '
491+      s/[$]LINENO.*/&-/
492+      t lineno
493+      b
494+      :lineno
495+      N
496+      :loop
497+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498+      t loop
499+      s/-\n.*//
500+    ' >$as_me.lineno &&
501+  chmod +x "$as_me.lineno" ||
502+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
503+   { (exit 1); exit 1; }; }
504+
505+  # Don't try to exec as it changes $[0], causing all sort of problems
506+  # (the dirname of $[0] is not the place where we might find the
507+  # original and so on.  Autoconf is especially sensitive to this).
508+  . "./$as_me.lineno"
509+  # Exit status is that of the last command.
510+  exit
511+}
512+
513+
514+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
515+  as_dirname=dirname
516+else
517+  as_dirname=false
518+fi
519+
520+ECHO_C= ECHO_N= ECHO_T=
521+case `echo -n x` in
522+-n*)
523+  case `echo 'x\c'` in
524+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
525+  *)   ECHO_C='\c';;
526+  esac;;
527+*)
528+  ECHO_N='-n';;
529+esac
530+if expr a : '\(a\)' >/dev/null 2>&1 &&
531+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
532+  as_expr=expr
533+else
534+  as_expr=false
535+fi
536+
537+rm -f conf$$ conf$$.exe conf$$.file
538+if test -d conf$$.dir; then
539+  rm -f conf$$.dir/conf$$.file
540+else
541+  rm -f conf$$.dir
542+  mkdir conf$$.dir 2>/dev/null
543+fi
544+if (echo >conf$$.file) 2>/dev/null; then
545+  if ln -s conf$$.file conf$$ 2>/dev/null; then
546+    as_ln_s='ln -s'
547+    # ... but there are two gotchas:
548+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
549+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
550+    # In both cases, we have to default to `cp -p'.
551+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
552+      as_ln_s='cp -p'
553+  elif ln conf$$.file conf$$ 2>/dev/null; then
554+    as_ln_s=ln
555+  else
556+    as_ln_s='cp -p'
557+  fi
558+else
559+  as_ln_s='cp -p'
560+fi
561+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
562+rmdir conf$$.dir 2>/dev/null
563+
564+if mkdir -p . 2>/dev/null; then
565+  as_mkdir_p=:
566+else
567+  test -d ./-p && rmdir ./-p
568+  as_mkdir_p=false
569+fi
570
571-# Defaults:
572-ac_help=
573+if test -x / >/dev/null 2>&1; then
574+  as_test_x='test -x'
575+else
576+  if ls -dL / >/dev/null 2>&1; then
577+    as_ls_L_option=L
578+  else
579+    as_ls_L_option=
580+  fi
581+  as_test_x='
582+    eval sh -c '\''
583+      if test -d "$1"; then
584+	test -d "$1/.";
585+      else
586+	case $1 in
587+	-*)set "./$1";;
588+	esac;
589+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
590+	???[sx]*):;;*)false;;esac;fi
591+    '\'' sh
592+  '
593+fi
594+as_executable_p=$as_test_x
595+
596+# Sed expression to map a string onto a valid CPP name.
597+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
598+
599+# Sed expression to map a string onto a valid variable name.
600+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
601+
602+
603+
604+exec 7<&0 </dev/null 6>&1
605+
606+# Name of the host.
607+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
608+# so uname gets run too.
609+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
610+
611+#
612+# Initializations.
613+#
614 ac_default_prefix=/usr/local
615-# Any additions from configure.in:
616-ac_help="$ac_help
617-  --enable-strict         compile with strict compiler options [default=no]"
618-ac_help="$ac_help
619-  --enable-64bit-libs     build 64-bit libraries [default=yes]"
620-ac_help="$ac_help
621-  --enable-shared         build shared libraries [default=yes]"
622-ac_help="$ac_help
623-  --enable-static         build static libraries [default=no]"
624-ac_help="$ac_help
625-  --enable-debug          build debug libraries [default=no]"
626-ac_help="$ac_help
627-  --enable-release        build release libraries [default=yes]"
628-ac_help="$ac_help
629-  --enable-renaming       add a version suffix to symbols [default=yes]"
630-ac_help="$ac_help
631-  --enable-tracing        enable function and data tracing [default=yes]"
632-ac_help="$ac_help
633-  --enable-rpath          use rpath when linking [default is only if necessary]"
634-ac_help="$ac_help
635-  --enable-threads        build ICU with thread safety [default=yes]"
636-ac_help="$ac_help
637-  --with-iostream=version specify the version of iostream to use (none, old, std, auto) [default=auto]"
638-ac_help="$ac_help
639-  --enable-extras         build ICU extras [default=yes]"
640-ac_help="$ac_help
641-  --enable-icuio          build ICU's icuio library [default=yes]"
642-ac_help="$ac_help
643-  --enable-layout         build ICU's layout library [default=yes]"
644-ac_help="$ac_help
645-  --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) [default=auto]"
646-ac_help="$ac_help
647-"
648-ac_help="$ac_help
649-  --with-library-suffix=suffix    tag a suffix to the library names [default=]"
650-ac_help="$ac_help
651-  --enable-tests          build ICU tests [default=yes]"
652-ac_help="$ac_help
653-  --enable-samples        build ICU samples [default=yes]
654-Additionally, the variable FORCE_LIBS may be set before calling configure. If set, it will REPLACE any automatic list of libraries."
655+ac_clean_files=
656+ac_config_libobj_dir=.
657+LIBOBJS=
658+cross_compiling=no
659+subdirs=
660+MFLAGS=
661+MAKEFLAGS=
662+SHELL=${CONFIG_SHELL-/bin/sh}
663+
664+# Identity of this package.
665+PACKAGE_NAME=
666+PACKAGE_TARNAME=
667+PACKAGE_VERSION=
668+PACKAGE_STRING=
669+PACKAGE_BUGREPORT=
670+
671+ac_unique_file="common/unicode/utypes.h"
672+# Factoring default headers for most tests.
673+ac_includes_default="\
674+#include <stdio.h>
675+#ifdef HAVE_SYS_TYPES_H
676+# include <sys/types.h>
677+#endif
678+#ifdef HAVE_SYS_STAT_H
679+# include <sys/stat.h>
680+#endif
681+#ifdef STDC_HEADERS
682+# include <stdlib.h>
683+# include <stddef.h>
684+#else
685+# ifdef HAVE_STDLIB_H
686+#  include <stdlib.h>
687+# endif
688+#endif
689+#ifdef HAVE_STRING_H
690+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
691+#  include <memory.h>
692+# endif
693+# include <string.h>
694+#endif
695+#ifdef HAVE_STRINGS_H
696+# include <strings.h>
697+#endif
698+#ifdef HAVE_INTTYPES_H
699+# include <inttypes.h>
700+#endif
701+#ifdef HAVE_STDINT_H
702+# include <stdint.h>
703+#endif
704+#ifdef HAVE_UNISTD_H
705+# include <unistd.h>
706+#endif"
707+
708+ac_subst_vars='LTLIBOBJS
709+LIBOBJS
710+AIX_SHLIB
711+ld_rpath_suf
712+platform_make_fragment
713+platform_make_fragment_name
714+platform
715+ICUDATA_CHAR
716+SAMPLES_TRUE
717+TESTS_TRUE
718+ICULIBSUFFIXCNAME
719+U_HAVE_LIB_SUFFIX
720+ICULIBSUFFIX
721+DATA_PACKAGING_MODE
722+DATA_PACKAGING_CPPFLAGS
723+thepkgicudatadir
724+pkgicudatadir
725+thelibdir
726+thedatadir
727+thesysconfdir
728+LAYOUT_TRUE
729+ICUIO_TRUE
730+EXTRAS_TRUE
731+U_SIZEOF_WCHAR_T
732+U_HAVE_WCSCPY
733+U_HAVE_WCHAR_H
734+HAVE_UINT64_T
735+HAVE_INT64_T
736+HAVE_UINT32_T
737+HAVE_INT32_T
738+HAVE_UINT16_T
739+HAVE_INT16_T
740+HAVE_UINT8_T
741+HAVE_INT8_T
742+U_TIMEZONE
743+U_HAVE_TIMEZONE
744+U_TZNAME
745+U_TZSET
746+U_HAVE_POPEN
747+U_HAVE_PLACEMENT_NEW
748+U_OVERRIDE_CXX_ALLOCATION
749+U_HAVE_NAMESPACE
750+U_NL_LANGINFO_CODESET
751+U_HAVE_NL_LANGINFO_CODESET
752+U_HAVE_NL_LANGINFO
753+U_IS_BIG_ENDIAN
754+U_IOSTREAM_SOURCE
755+CXXCPP
756+U_HAVE_INTTYPES_H
757+EGREP
758+GREP
759+CPP
760+GENCCODE_ASSEMBLY
761+HAVE_MMAP
762+ICU_USE_THREADS
763+THREADS_TRUE
764+U_INLINE
765+ENABLE_RPATH
766+U_ENABLE_TRACING
767+U_DISABLE_RENAMING
768+AR
769+RANLIB
770+ENABLE_RELEASE
771+ENABLE_DEBUG
772+ENABLE_STATIC
773+ENABLE_SHARED
774+LIB_M
775+COMPILE_LINK_ENVVAR
776+ARFLAGS
777+host_os
778+host_vendor
779+host_cpu
780+host
781+build_os
782+build_vendor
783+build_cpu
784+build
785+DOXYGEN
786+U_MAKE
787+STRIP
788+INSTALL_DATA
789+INSTALL_SCRIPT
790+INSTALL_PROGRAM
791+ac_ct_CXX
792+CXXFLAGS
793+CXX
794+OBJEXT
795+EXEEXT
796+ac_ct_CC
797+LDFLAGS
798+CFLAGS
799+CC
800+CPPFLAGS
801+UNICODE_VERSION
802+LIB_VERSION_MAJOR
803+LIB_VERSION
804+VERSION
805+PACKAGE
806+target_alias
807+host_alias
808+build_alias
809+LIBS
810+ECHO_T
811+ECHO_N
812+ECHO_C
813+DEFS
814+mandir
815+localedir
816+libdir
817+psdir
818+pdfdir
819+dvidir
820+htmldir
821+infodir
822+docdir
823+oldincludedir
824+includedir
825+localstatedir
826+sharedstatedir
827+sysconfdir
828+datadir
829+datarootdir
830+libexecdir
831+sbindir
832+bindir
833+program_transform_name
834+prefix
835+exec_prefix
836+PACKAGE_BUGREPORT
837+PACKAGE_STRING
838+PACKAGE_VERSION
839+PACKAGE_TARNAME
840+PACKAGE_NAME
841+PATH_SEPARATOR
842+SHELL'
843+ac_subst_files=''
844+ac_user_opts='
845+enable_option_checking
846+enable_strict
847+enable_64bit_libs
848+enable_shared
849+enable_static
850+enable_debug
851+enable_release
852+enable_renaming
853+enable_tracing
854+enable_rpath
855+enable_threads
856+with_iostream
857+enable_extras
858+enable_layout
859+with_data_packaging
860+enable_mapped
861+with_library_suffix
862+enable_tests
863+enable_samples
864+'
865+      ac_precious_vars='build_alias
866+host_alias
867+target_alias
868+CC
869+CFLAGS
870+LDFLAGS
871+LIBS
872+CPPFLAGS
873+CXX
874+CXXFLAGS
875+CCC
876+CPP
877+CXXCPP'
878+
879
880 # Initialize some variables set by options.
881+ac_init_help=
882+ac_init_version=false
883+ac_unrecognized_opts=
884+ac_unrecognized_sep=
885 # The variables have the same names as the options, with
886 # dashes changed to underlines.
887-build=NONE
888-cache_file=./config.cache
889+cache_file=/dev/null
890 exec_prefix=NONE
891-host=NONE
892 no_create=
893-nonopt=NONE
894 no_recursion=
895 prefix=NONE
896 program_prefix=NONE
897@@ -68,94 +825,133 @@
898 silent=
899 site=
900 srcdir=
901-target=NONE
902 verbose=
903 x_includes=NONE
904 x_libraries=NONE
905+
906+# Installation directory options.
907+# These are left unexpanded so users can "make install exec_prefix=/foo"
908+# and all the variables that are supposed to be based on exec_prefix
909+# by default will actually change.
910+# Use braces instead of parens because sh, perl, etc. also accept them.
911+# (The list follows the same order as the GNU Coding Standards.)
912 bindir='${exec_prefix}/bin'
913 sbindir='${exec_prefix}/sbin'
914 libexecdir='${exec_prefix}/libexec'
915-datadir='${prefix}/share'
916+datarootdir='${prefix}/share'
917+datadir='${datarootdir}'
918 sysconfdir='${prefix}/etc'
919 sharedstatedir='${prefix}/com'
920 localstatedir='${prefix}/var'
921-libdir='${exec_prefix}/lib'
922 includedir='${prefix}/include'
923 oldincludedir='/usr/include'
924-infodir='${prefix}/info'
925-mandir='${prefix}/man'
926-
927-# Initialize some other variables.
928-subdirs=
929-MFLAGS= MAKEFLAGS=
930-SHELL=${CONFIG_SHELL-/bin/sh}
931-# Maximum number of lines to put in a shell here document.
932-ac_max_here_lines=12
933+docdir='${datarootdir}/doc/${PACKAGE}'
934+infodir='${datarootdir}/info'
935+htmldir='${docdir}'
936+dvidir='${docdir}'
937+pdfdir='${docdir}'
938+psdir='${docdir}'
939+libdir='${exec_prefix}/lib'
940+localedir='${datarootdir}/locale'
941+mandir='${datarootdir}/man'
942
943 ac_prev=
944+ac_dashdash=
945 for ac_option
946 do
947-
948   # If the previous option needs an argument, assign it.
949   if test -n "$ac_prev"; then
950-    eval "$ac_prev=\$ac_option"
951+    eval $ac_prev=\$ac_option
952     ac_prev=
953     continue
954   fi
955
956-  case "$ac_option" in
957-  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
958-  *) ac_optarg= ;;
959+  case $ac_option in
960+  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961+  *)	ac_optarg=yes ;;
962   esac
963
964   # Accept the important Cygnus configure options, so we can diagnose typos.
965
966-  case "$ac_option" in
967+  case $ac_dashdash$ac_option in
968+  --)
969+    ac_dashdash=yes ;;
970
971   -bindir | --bindir | --bindi | --bind | --bin | --bi)
972     ac_prev=bindir ;;
973   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
974-    bindir="$ac_optarg" ;;
975+    bindir=$ac_optarg ;;
976
977   -build | --build | --buil | --bui | --bu)
978-    ac_prev=build ;;
979+    ac_prev=build_alias ;;
980   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981-    build="$ac_optarg" ;;
982+    build_alias=$ac_optarg ;;
983
984   -cache-file | --cache-file | --cache-fil | --cache-fi \
985   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
986     ac_prev=cache_file ;;
987   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
988   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
989-    cache_file="$ac_optarg" ;;
990+    cache_file=$ac_optarg ;;
991
992-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
993+  --config-cache | -C)
994+    cache_file=config.cache ;;
995+
996+  -datadir | --datadir | --datadi | --datad)
997     ac_prev=datadir ;;
998-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
999-  | --da=*)
1000-    datadir="$ac_optarg" ;;
1001+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1002+    datadir=$ac_optarg ;;
1003+
1004+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1005+  | --dataroo | --dataro | --datar)
1006+    ac_prev=datarootdir ;;
1007+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1008+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1009+    datarootdir=$ac_optarg ;;
1010
1011   -disable-* | --disable-*)
1012-    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
1013+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014     # Reject names that are not valid shell variable names.
1015-    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
1016-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1017-    fi
1018-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1019-    eval "enable_${ac_feature}=no" ;;
1020+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1022+   { (exit 1); exit 1; }; }
1023+    ac_useropt_orig=$ac_useropt
1024+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025+    case $ac_user_opts in
1026+      *"
1027+"enable_$ac_useropt"
1028+"*) ;;
1029+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030+	 ac_unrecognized_sep=', ';;
1031+    esac
1032+    eval enable_$ac_useropt=no ;;
1033+
1034+  -docdir | --docdir | --docdi | --doc | --do)
1035+    ac_prev=docdir ;;
1036+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037+    docdir=$ac_optarg ;;
1038+
1039+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040+    ac_prev=dvidir ;;
1041+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042+    dvidir=$ac_optarg ;;
1043
1044   -enable-* | --enable-*)
1045-    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
1046+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047     # Reject names that are not valid shell variable names.
1048-    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
1049-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1050-    fi
1051-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1052-    case "$ac_option" in
1053-      *=*) ;;
1054-      *) ac_optarg=yes ;;
1055+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056+      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1057+   { (exit 1); exit 1; }; }
1058+    ac_useropt_orig=$ac_useropt
1059+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060+    case $ac_user_opts in
1061+      *"
1062+"enable_$ac_useropt"
1063+"*) ;;
1064+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1065+	 ac_unrecognized_sep=', ';;
1066     esac
1067-    eval "enable_${ac_feature}='$ac_optarg'" ;;
1068+    eval enable_$ac_useropt=\$ac_optarg ;;
1069
1070   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1071   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1072@@ -164,116 +960,77 @@
1073   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1074   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1075   | --exec=* | --exe=* | --ex=*)
1076-    exec_prefix="$ac_optarg" ;;
1077+    exec_prefix=$ac_optarg ;;
1078
1079   -gas | --gas | --ga | --g)
1080     # Obsolete; use --with-gas.
1081     with_gas=yes ;;
1082
1083-  -help | --help | --hel | --he)
1084-    # Omit some internal or obsolete options to make the list less imposing.
1085-    # This message is too long to be a string in the A/UX 3.1 sh.
1086-    cat << EOF
1087-Usage: configure [options] [host]
1088-Options: [defaults in brackets after descriptions]
1089-Configuration:
1090-  --cache-file=FILE       cache test results in FILE
1091-  --help                  print this message
1092-  --no-create             do not create output files
1093-  --quiet, --silent       do not print \`checking...' messages
1094-  --version               print the version of autoconf that created configure
1095-Directory and file names:
1096-  --prefix=PREFIX         install architecture-independent files in PREFIX
1097-                          [$ac_default_prefix]
1098-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1099-                          [same as prefix]
1100-  --bindir=DIR            user executables in DIR [EPREFIX/bin]
1101-  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
1102-  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
1103-  --datadir=DIR           read-only architecture-independent data in DIR
1104-                          [PREFIX/share]
1105-  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
1106-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
1107-                          [PREFIX/com]
1108-  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
1109-  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
1110-  --includedir=DIR        C header files in DIR [PREFIX/include]
1111-  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
1112-  --infodir=DIR           info documentation in DIR [PREFIX/info]
1113-  --mandir=DIR            man documentation in DIR [PREFIX/man]
1114-  --srcdir=DIR            find the sources in DIR [configure dir or ..]
1115-  --program-prefix=PREFIX prepend PREFIX to installed program names
1116-  --program-suffix=SUFFIX append SUFFIX to installed program names
1117-  --program-transform-name=PROGRAM
1118-                          run sed PROGRAM on installed program names
1119-EOF
1120-    cat << EOF
1121-Host type:
1122-  --build=BUILD           configure for building on BUILD [BUILD=HOST]
1123-  --host=HOST             configure for HOST [guessed]
1124-  --target=TARGET         configure for TARGET [TARGET=HOST]
1125-Features and packages:
1126-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1127-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1128-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1129-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1130-  --x-includes=DIR        X include files are in DIR
1131-  --x-libraries=DIR       X library files are in DIR
1132-EOF
1133-    if test -n "$ac_help"; then
1134-      echo "--enable and --with options recognized:$ac_help"
1135-    fi
1136-    exit 0 ;;
1137+  -help | --help | --hel | --he | -h)
1138+    ac_init_help=long ;;
1139+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1140+    ac_init_help=recursive ;;
1141+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1142+    ac_init_help=short ;;
1143
1144   -host | --host | --hos | --ho)
1145-    ac_prev=host ;;
1146+    ac_prev=host_alias ;;
1147   -host=* | --host=* | --hos=* | --ho=*)
1148-    host="$ac_optarg" ;;
1149+    host_alias=$ac_optarg ;;
1150+
1151+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1152+    ac_prev=htmldir ;;
1153+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1154+  | --ht=*)
1155+    htmldir=$ac_optarg ;;
1156
1157   -includedir | --includedir | --includedi | --included | --include \
1158   | --includ | --inclu | --incl | --inc)
1159     ac_prev=includedir ;;
1160   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1161   | --includ=* | --inclu=* | --incl=* | --inc=*)
1162-    includedir="$ac_optarg" ;;
1163+    includedir=$ac_optarg ;;
1164
1165   -infodir | --infodir | --infodi | --infod | --info | --inf)
1166     ac_prev=infodir ;;
1167   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168-    infodir="$ac_optarg" ;;
1169+    infodir=$ac_optarg ;;
1170
1171   -libdir | --libdir | --libdi | --libd)
1172     ac_prev=libdir ;;
1173   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1174-    libdir="$ac_optarg" ;;
1175+    libdir=$ac_optarg ;;
1176
1177   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1178   | --libexe | --libex | --libe)
1179     ac_prev=libexecdir ;;
1180   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1181   | --libexe=* | --libex=* | --libe=*)
1182-    libexecdir="$ac_optarg" ;;
1183+    libexecdir=$ac_optarg ;;
1184+
1185+  -localedir | --localedir | --localedi | --localed | --locale)
1186+    ac_prev=localedir ;;
1187+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1188+    localedir=$ac_optarg ;;
1189
1190   -localstatedir | --localstatedir | --localstatedi | --localstated \
1191-  | --localstate | --localstat | --localsta | --localst \
1192-  | --locals | --local | --loca | --loc | --lo)
1193+  | --localstate | --localstat | --localsta | --localst | --locals)
1194     ac_prev=localstatedir ;;
1195   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1196-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1197-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1198-    localstatedir="$ac_optarg" ;;
1199+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1200+    localstatedir=$ac_optarg ;;
1201
1202   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1203     ac_prev=mandir ;;
1204   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1205-    mandir="$ac_optarg" ;;
1206+    mandir=$ac_optarg ;;
1207
1208   -nfp | --nfp | --nf)
1209     # Obsolete; use --without-fp.
1210     with_fp=no ;;
1211
1212   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1213-  | --no-cr | --no-c)
1214+  | --no-cr | --no-c | -n)
1215     no_create=yes ;;
1216
1217   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1218@@ -287,26 +1044,26 @@
1219   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1220   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1221   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1222-    oldincludedir="$ac_optarg" ;;
1223+    oldincludedir=$ac_optarg ;;
1224
1225   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1226     ac_prev=prefix ;;
1227   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1228-    prefix="$ac_optarg" ;;
1229+    prefix=$ac_optarg ;;
1230
1231   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1232   | --program-pre | --program-pr | --program-p)
1233     ac_prev=program_prefix ;;
1234   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1235   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1236-    program_prefix="$ac_optarg" ;;
1237+    program_prefix=$ac_optarg ;;
1238
1239   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240   | --program-suf | --program-su | --program-s)
1241     ac_prev=program_suffix ;;
1242   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244-    program_suffix="$ac_optarg" ;;
1245+    program_suffix=$ac_optarg ;;
1246
1247   -program-transform-name | --program-transform-name \
1248   | --program-transform-nam | --program-transform-na \
1249@@ -323,7 +1080,17 @@
1250   | --program-transfo=* | --program-transf=* \
1251   | --program-trans=* | --program-tran=* \
1252   | --progr-tra=* | --program-tr=* | --program-t=*)
1253-    program_transform_name="$ac_optarg" ;;
1254+    program_transform_name=$ac_optarg ;;
1255+
1256+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257+    ac_prev=pdfdir ;;
1258+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259+    pdfdir=$ac_optarg ;;
1260+
1261+  -psdir | --psdir | --psdi | --psd | --ps)
1262+    ac_prev=psdir ;;
1263+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264+    psdir=$ac_optarg ;;
1265
1266   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267   | -silent | --silent | --silen | --sile | --sil)
1268@@ -333,7 +1100,7 @@
1269     ac_prev=sbindir ;;
1270   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1271   | --sbi=* | --sb=*)
1272-    sbindir="$ac_optarg" ;;
1273+    sbindir=$ac_optarg ;;
1274
1275   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1276   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1277@@ -344,58 +1111,69 @@
1278   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1279   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1280   | --sha=* | --sh=*)
1281-    sharedstatedir="$ac_optarg" ;;
1282+    sharedstatedir=$ac_optarg ;;
1283
1284   -site | --site | --sit)
1285     ac_prev=site ;;
1286   -site=* | --site=* | --sit=*)
1287-    site="$ac_optarg" ;;
1288+    site=$ac_optarg ;;
1289
1290   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1291     ac_prev=srcdir ;;
1292   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1293-    srcdir="$ac_optarg" ;;
1294+    srcdir=$ac_optarg ;;
1295
1296   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1297   | --syscon | --sysco | --sysc | --sys | --sy)
1298     ac_prev=sysconfdir ;;
1299   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1300   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1301-    sysconfdir="$ac_optarg" ;;
1302+    sysconfdir=$ac_optarg ;;
1303
1304   -target | --target | --targe | --targ | --tar | --ta | --t)
1305-    ac_prev=target ;;
1306+    ac_prev=target_alias ;;
1307   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1308-    target="$ac_optarg" ;;
1309+    target_alias=$ac_optarg ;;
1310
1311   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1312     verbose=yes ;;
1313
1314-  -version | --version | --versio | --versi | --vers)
1315-    echo "configure generated by autoconf version 2.13"
1316-    exit 0 ;;
1317+  -version | --version | --versio | --versi | --vers | -V)
1318+    ac_init_version=: ;;
1319
1320   -with-* | --with-*)
1321-    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
1322+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1323     # Reject names that are not valid shell variable names.
1324-    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
1325-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1326-    fi
1327-    ac_package=`echo $ac_package| sed 's/-/_/g'`
1328-    case "$ac_option" in
1329-      *=*) ;;
1330-      *) ac_optarg=yes ;;
1331+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1333+   { (exit 1); exit 1; }; }
1334+    ac_useropt_orig=$ac_useropt
1335+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336+    case $ac_user_opts in
1337+      *"
1338+"with_$ac_useropt"
1339+"*) ;;
1340+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1341+	 ac_unrecognized_sep=', ';;
1342     esac
1343-    eval "with_${ac_package}='$ac_optarg'" ;;
1344+    eval with_$ac_useropt=\$ac_optarg ;;
1345
1346   -without-* | --without-*)
1347-    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
1348+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1349     # Reject names that are not valid shell variable names.
1350-    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
1351-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1352-    fi
1353-    ac_package=`echo $ac_package| sed 's/-/_/g'`
1354-    eval "with_${ac_package}=no" ;;
1355+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1356+      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1357+   { (exit 1); exit 1; }; }
1358+    ac_useropt_orig=$ac_useropt
1359+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360+    case $ac_user_opts in
1361+      *"
1362+"with_$ac_useropt"
1363+"*) ;;
1364+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1365+	 ac_unrecognized_sep=', ';;
1366+    esac
1367+    eval with_$ac_useropt=no ;;
1368
1369   --x)
1370     # Obsolete; use --with-x.
1371@@ -406,167 +1184,735 @@
1372     ac_prev=x_includes ;;
1373   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1374   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1375-    x_includes="$ac_optarg" ;;
1376+    x_includes=$ac_optarg ;;
1377
1378   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1379   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1380     ac_prev=x_libraries ;;
1381   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1382   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1383-    x_libraries="$ac_optarg" ;;
1384+    x_libraries=$ac_optarg ;;
1385
1386-  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1387+  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1388+Try \`$0 --help' for more information." >&2
1389+   { (exit 1); exit 1; }; }
1390     ;;
1391
1392+  *=*)
1393+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394+    # Reject names that are not valid shell variable names.
1395+    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396+      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397+   { (exit 1); exit 1; }; }
1398+    eval $ac_envvar=\$ac_optarg
1399+    export $ac_envvar ;;
1400+
1401   *)
1402-    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
1403-      echo "configure: warning: $ac_option: invalid host type" 1>&2
1404-    fi
1405-    if test "x$nonopt" != xNONE; then
1406-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1407-    fi
1408-    nonopt="$ac_option"
1409+    # FIXME: should be removed in autoconf 3.0.
1410+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1411+    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1413+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1414     ;;
1415
1416   esac
1417 done
1418
1419 if test -n "$ac_prev"; then
1420-  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
1421+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1422+  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1423+   { (exit 1); exit 1; }; }
1424 fi
1425
1426-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1427-
1428-# File descriptor usage:
1429-# 0 standard input
1430-# 1 file creation
1431-# 2 errors and warnings
1432-# 3 some systems may open it to /dev/tty
1433-# 4 used on the Kubota Titan
1434-# 6 checking for... messages and results
1435-# 5 compiler messages saved in config.log
1436-if test "$silent" = yes; then
1437-  exec 6>/dev/null
1438-else
1439-  exec 6>&1
1440+if test -n "$ac_unrecognized_opts"; then
1441+  case $enable_option_checking in
1442+    no) ;;
1443+    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1444+   { (exit 1); exit 1; }; } ;;
1445+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1446+  esac
1447 fi
1448-exec 5>./config.log
1449-
1450-echo "\
1451-This file contains any messages produced by compilers while
1452-running configure, to aid debugging if configure makes a mistake.
1453-" 1>&5
1454
1455-# Strip out --no-create and --no-recursion so they do not pile up.
1456-# Also quote any args containing shell metacharacters.
1457-ac_configure_args=
1458-for ac_arg
1459+# Check all directory arguments for consistency.
1460+for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1461+		datadir sysconfdir sharedstatedir localstatedir includedir \
1462+		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1463+		libdir localedir mandir
1464 do
1465-  case "$ac_arg" in
1466-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1467-  | --no-cr | --no-c) ;;
1468-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1469-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1470-  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
1471-  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1472-  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
1473+  eval ac_val=\$$ac_var
1474+  # Remove trailing slashes.
1475+  case $ac_val in
1476+    */ )
1477+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1478+      eval $ac_var=\$ac_val;;
1479   esac
1480+  # Be sure to have absolute directory names.
1481+  case $ac_val in
1482+    [\\/$]* | ?:[\\/]* )  continue;;
1483+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1484+  esac
1485+  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1486+   { (exit 1); exit 1; }; }
1487 done
1488
1489-# NLS nuisances.
1490-# Only set these to C if already set.  These must not be set unconditionally
1491-# because not all systems understand e.g. LANG=C (notably SCO).
1492-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
1493-# Non-C LC_CTYPE values break the ctype check.
1494-if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
1495-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
1496-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
1497-if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
1498+# There might be people who depend on the old broken behavior: `$host'
1499+# used to hold the argument of --host etc.
1500+# FIXME: To remove some day.
1501+build=$build_alias
1502+host=$host_alias
1503+target=$target_alias
1504+
1505+# FIXME: To remove some day.
1506+if test "x$host_alias" != x; then
1507+  if test "x$build_alias" = x; then
1508+    cross_compiling=maybe
1509+    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1510+    If a cross compiler is detected then cross compile mode will be used." >&2
1511+  elif test "x$build_alias" != "x$host_alias"; then
1512+    cross_compiling=yes
1513+  fi
1514+fi
1515+
1516+ac_tool_prefix=
1517+test -n "$host_alias" && ac_tool_prefix=$host_alias-
1518+
1519+test "$silent" = yes && exec 6>/dev/null
1520+
1521+
1522+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1523+ac_ls_di=`ls -di .` &&
1524+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1525+  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1526+   { (exit 1); exit 1; }; }
1527+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1528+  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1529+   { (exit 1); exit 1; }; }
1530
1531-# confdefs.h avoids OS command line length limits that DEFS can exceed.
1532-rm -rf conftest* confdefs.h
1533-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1534-echo > confdefs.h
1535-
1536-# A filename unique to this package, relative to the directory that
1537-# configure is in, which we can look for to find out if srcdir is correct.
1538-ac_unique_file=common/unicode/utypes.h
1539
1540 # Find the source files, if location was not specified.
1541 if test -z "$srcdir"; then
1542   ac_srcdir_defaulted=yes
1543-  # Try the directory containing this script, then its parent.
1544-  ac_prog=$0
1545-  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
1546-  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1547+  # Try the directory containing this script, then the parent directory.
1548+  ac_confdir=`$as_dirname -- "$as_myself" ||
1549+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1550+	 X"$as_myself" : 'X\(//\)[^/]' \| \
1551+	 X"$as_myself" : 'X\(//\)$' \| \
1552+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1553+$as_echo X"$as_myself" |
1554+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1555+	    s//\1/
1556+	    q
1557+	  }
1558+	  /^X\(\/\/\)[^/].*/{
1559+	    s//\1/
1560+	    q
1561+	  }
1562+	  /^X\(\/\/\)$/{
1563+	    s//\1/
1564+	    q
1565+	  }
1566+	  /^X\(\/\).*/{
1567+	    s//\1/
1568+	    q
1569+	  }
1570+	  s/.*/./; q'`
1571   srcdir=$ac_confdir
1572-  if test ! -r $srcdir/$ac_unique_file; then
1573+  if test ! -r "$srcdir/$ac_unique_file"; then
1574     srcdir=..
1575   fi
1576 else
1577   ac_srcdir_defaulted=no
1578 fi
1579-if test ! -r $srcdir/$ac_unique_file; then
1580-  if test "$ac_srcdir_defaulted" = yes; then
1581-    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
1582-  else
1583-    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
1584-  fi
1585-fi
1586-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1587-
1588-# Prefer explicitly selected file to automatically selected ones.
1589-if test -z "$CONFIG_SITE"; then
1590-  if test "x$prefix" != xNONE; then
1591-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1592-  else
1593-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1594-  fi
1595-fi
1596-for ac_site_file in $CONFIG_SITE; do
1597-  if test -r "$ac_site_file"; then
1598-    echo "loading site script $ac_site_file"
1599-    . "$ac_site_file"
1600-  fi
1601+if test ! -r "$srcdir/$ac_unique_file"; then
1602+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1603+  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1604+   { (exit 1); exit 1; }; }
1605+fi
1606+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1607+ac_abs_confdir=`(
1608+	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1609+   { (exit 1); exit 1; }; }
1610+	pwd)`
1611+# When building in place, set srcdir=.
1612+if test "$ac_abs_confdir" = "$ac_pwd"; then
1613+  srcdir=.
1614+fi
1615+# Remove unnecessary trailing slashes from srcdir.
1616+# Double slashes in file names in object file debugging info
1617+# mess up M-x gdb in Emacs.
1618+case $srcdir in
1619+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1620+esac
1621+for ac_var in $ac_precious_vars; do
1622+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1623+  eval ac_env_${ac_var}_value=\$${ac_var}
1624+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1625+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1626 done
1627
1628-if test -r "$cache_file"; then
1629-  echo "loading cache $cache_file"
1630-  . $cache_file
1631-else
1632-  echo "creating cache $cache_file"
1633-  > $cache_file
1634+#
1635+# Report the --help message.
1636+#
1637+if test "$ac_init_help" = "long"; then
1638+  # Omit some internal or obsolete options to make the list less imposing.
1639+  # This message is too long to be a string in the A/UX 3.1 sh.
1640+  cat <<_ACEOF
1641+\`configure' configures this package to adapt to many kinds of systems.
1642+
1643+Usage: $0 [OPTION]... [VAR=VALUE]...
1644+
1645+To assign environment variables (e.g., CC, CFLAGS...), specify them as
1646+VAR=VALUE.  See below for descriptions of some of the useful variables.
1647+
1648+Defaults for the options are specified in brackets.
1649+
1650+Configuration:
1651+  -h, --help              display this help and exit
1652+      --help=short        display options specific to this package
1653+      --help=recursive    display the short help of all the included packages
1654+  -V, --version           display version information and exit
1655+  -q, --quiet, --silent   do not print \`checking...' messages
1656+      --cache-file=FILE   cache test results in FILE [disabled]
1657+  -C, --config-cache      alias for \`--cache-file=config.cache'
1658+  -n, --no-create         do not create output files
1659+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1660+
1661+Installation directories:
1662+  --prefix=PREFIX         install architecture-independent files in PREFIX
1663+                          [$ac_default_prefix]
1664+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1665+                          [PREFIX]
1666+
1667+By default, \`make install' will install all the files in
1668+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1669+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1670+for instance \`--prefix=\$HOME'.
1671+
1672+For better control, use the options below.
1673+
1674+Fine tuning of the installation directories:
1675+  --bindir=DIR            user executables [EPREFIX/bin]
1676+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1677+  --libexecdir=DIR        program executables [EPREFIX/libexec]
1678+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1679+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1680+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1681+  --libdir=DIR            object code libraries [EPREFIX/lib]
1682+  --includedir=DIR        C header files [PREFIX/include]
1683+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1684+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1685+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1686+  --infodir=DIR           info documentation [DATAROOTDIR/info]
1687+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1688+  --mandir=DIR            man documentation [DATAROOTDIR/man]
1689+  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1690+  --htmldir=DIR           html documentation [DOCDIR]
1691+  --dvidir=DIR            dvi documentation [DOCDIR]
1692+  --pdfdir=DIR            pdf documentation [DOCDIR]
1693+  --psdir=DIR             ps documentation [DOCDIR]
1694+_ACEOF
1695+
1696+  cat <<\_ACEOF
1697+
1698+System types:
1699+  --build=BUILD     configure for building on BUILD [guessed]
1700+  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1701+_ACEOF
1702 fi
1703
1704-ac_ext=c
1705-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1706-ac_cpp='$CPP $CPPFLAGS'
1707-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1708-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1709-cross_compiling=$ac_cv_prog_cc_cross
1710-
1711-ac_exeext=
1712-ac_objext=o
1713-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
1714-  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1715-  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
1716-    ac_n= ac_c='
1717-' ac_t='	'
1718-  else
1719-    ac_n=-n ac_c= ac_t=
1720+if test -n "$ac_init_help"; then
1721+
1722+  cat <<\_ACEOF
1723+
1724+Optional Features:
1725+  --disable-option-checking  ignore unrecognized --enable/--with options
1726+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1727+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1728+  --enable-strict         compile with strict compiler options default=no
1729+  --enable-64bit-libs     build 64-bit libraries default=yes
1730+  --enable-shared         build shared libraries default=yes
1731+  --enable-static         build static libraries default=no
1732+  --enable-debug          build debug libraries default=no
1733+  --enable-release        build release libraries default=yes
1734+  --enable-renaming       add a version suffix to symbols default=yes
1735+  --enable-tracing        enable function and data tracing default=yes
1736+  --enable-rpath          use rpath when linking default is only if necessary
1737+  --enable-threads        build ICU with thread safety default=yes
1738+  --enable-extras         build ICU extras default=yes
1739+  --enable-icuio          build ICU's icuio library default=yes
1740+  --enable-layout         build ICU's layout library default=yes
1741+
1742+  --enable-tests          build ICU tests default=yes
1743+  --enable-samples        build ICU samples default=yes
1744+Additionally, the variable FORCE_LIBS may be set before calling configure. If set, it will REPLACE any automatic list of libraries.
1745+
1746+Optional Packages:
1747+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1748+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1749+  --with-iostream=version specify the version of iostream to use (none, old, std, auto) default=auto
1750+  --with-data-packaging=type specify how to package ICU data (files, archive, library, auto) default=auto
1751+  --with-library-suffix=suffix    tag a suffix to the library names default=
1752+
1753+Some influential environment variables:
1754+  CC          C compiler command
1755+  CFLAGS      C compiler flags
1756+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1757+              nonstandard directory <lib dir>
1758+  LIBS        libraries to pass to the linker, e.g. -l<library>
1759+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1760+              you have headers in a nonstandard directory <include dir>
1761+  CXX         C++ compiler command
1762+  CXXFLAGS    C++ compiler flags
1763+  CPP         C preprocessor
1764+  CXXCPP      C++ preprocessor
1765+
1766+Use these variables to override the choices made by `configure' or to help
1767+it to find libraries and programs with nonstandard names/locations.
1768+
1769+_ACEOF
1770+ac_status=$?
1771+fi
1772+
1773+if test "$ac_init_help" = "recursive"; then
1774+  # If there are subdirs, report their specific --help.
1775+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1776+    test -d "$ac_dir" ||
1777+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1778+      continue
1779+    ac_builddir=.
1780+
1781+case "$ac_dir" in
1782+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1783+*)
1784+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1785+  # A ".." for each directory in $ac_dir_suffix.
1786+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1787+  case $ac_top_builddir_sub in
1788+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1789+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1790+  esac ;;
1791+esac
1792+ac_abs_top_builddir=$ac_pwd
1793+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1794+# for backward compatibility:
1795+ac_top_builddir=$ac_top_build_prefix
1796+
1797+case $srcdir in
1798+  .)  # We are building in place.
1799+    ac_srcdir=.
1800+    ac_top_srcdir=$ac_top_builddir_sub
1801+    ac_abs_top_srcdir=$ac_pwd ;;
1802+  [\\/]* | ?:[\\/]* )  # Absolute name.
1803+    ac_srcdir=$srcdir$ac_dir_suffix;
1804+    ac_top_srcdir=$srcdir
1805+    ac_abs_top_srcdir=$srcdir ;;
1806+  *) # Relative name.
1807+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1808+    ac_top_srcdir=$ac_top_build_prefix$srcdir
1809+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1810+esac
1811+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1812+
1813+    cd "$ac_dir" || { ac_status=$?; continue; }
1814+    # Check for guested configure.
1815+    if test -f "$ac_srcdir/configure.gnu"; then
1816+      echo &&
1817+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1818+    elif test -f "$ac_srcdir/configure"; then
1819+      echo &&
1820+      $SHELL "$ac_srcdir/configure" --help=recursive
1821+    else
1822+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1823+    fi || ac_status=$?
1824+    cd "$ac_pwd" || { ac_status=$?; break; }
1825+  done
1826+fi
1827+
1828+test -n "$ac_init_help" && exit $ac_status
1829+if $ac_init_version; then
1830+  cat <<\_ACEOF
1831+configure
1832+generated by GNU Autoconf 2.63
1833+
1834+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1835+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1836+This configure script is free software; the Free Software Foundation
1837+gives unlimited permission to copy, distribute and modify it.
1838+_ACEOF
1839+  exit
1840+fi
1841+cat >config.log <<_ACEOF
1842+This file contains any messages produced by compilers while
1843+running configure, to aid debugging if configure makes a mistake.
1844+
1845+It was created by $as_me, which was
1846+generated by GNU Autoconf 2.63.  Invocation command line was
1847+
1848+  $ $0 $@
1849+
1850+_ACEOF
1851+exec 5>>config.log
1852+{
1853+cat <<_ASUNAME
1854+## --------- ##
1855+## Platform. ##
1856+## --------- ##
1857+
1858+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1859+uname -m = `(uname -m) 2>/dev/null || echo unknown`
1860+uname -r = `(uname -r) 2>/dev/null || echo unknown`
1861+uname -s = `(uname -s) 2>/dev/null || echo unknown`
1862+uname -v = `(uname -v) 2>/dev/null || echo unknown`
1863+
1864+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1865+/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1866+
1867+/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1868+/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1869+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1870+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1871+/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1872+/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1873+/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1874+
1875+_ASUNAME
1876+
1877+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878+for as_dir in $PATH
1879+do
1880+  IFS=$as_save_IFS
1881+  test -z "$as_dir" && as_dir=.
1882+  $as_echo "PATH: $as_dir"
1883+done
1884+IFS=$as_save_IFS
1885+
1886+} >&5
1887+
1888+cat >&5 <<_ACEOF
1889+
1890+
1891+## ----------- ##
1892+## Core tests. ##
1893+## ----------- ##
1894+
1895+_ACEOF
1896+
1897+
1898+# Keep a trace of the command line.
1899+# Strip out --no-create and --no-recursion so they do not pile up.
1900+# Strip out --silent because we don't want to record it for future runs.
1901+# Also quote any args containing shell meta-characters.
1902+# Make two passes to allow for proper duplicate-argument suppression.
1903+ac_configure_args=
1904+ac_configure_args0=
1905+ac_configure_args1=
1906+ac_must_keep_next=false
1907+for ac_pass in 1 2
1908+do
1909+  for ac_arg
1910+  do
1911+    case $ac_arg in
1912+    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1913+    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1914+    | -silent | --silent | --silen | --sile | --sil)
1915+      continue ;;
1916+    *\'*)
1917+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1918+    esac
1919+    case $ac_pass in
1920+    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1921+    2)
1922+      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1923+      if test $ac_must_keep_next = true; then
1924+	ac_must_keep_next=false # Got value, back to normal.
1925+      else
1926+	case $ac_arg in
1927+	  *=* | --config-cache | -C | -disable-* | --disable-* \
1928+	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1929+	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1930+	  | -with-* | --with-* | -without-* | --without-* | --x)
1931+	    case "$ac_configure_args0 " in
1932+	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1933+	    esac
1934+	    ;;
1935+	  -* ) ac_must_keep_next=true ;;
1936+	esac
1937+      fi
1938+      ac_configure_args="$ac_configure_args '$ac_arg'"
1939+      ;;
1940+    esac
1941+  done
1942+done
1943+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1944+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1945+
1946+# When interrupted or exit'd, cleanup temporary files, and complete
1947+# config.log.  We remove comments because anyway the quotes in there
1948+# would cause problems or look ugly.
1949+# WARNING: Use '\'' to represent an apostrophe within the trap.
1950+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1951+trap 'exit_status=$?
1952+  # Save into config.log some information that might help in debugging.
1953+  {
1954+    echo
1955+
1956+    cat <<\_ASBOX
1957+## ---------------- ##
1958+## Cache variables. ##
1959+## ---------------- ##
1960+_ASBOX
1961+    echo
1962+    # The following way of writing the cache mishandles newlines in values,
1963+(
1964+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1965+    eval ac_val=\$$ac_var
1966+    case $ac_val in #(
1967+    *${as_nl}*)
1968+      case $ac_var in #(
1969+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1970+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1971+      esac
1972+      case $ac_var in #(
1973+      _ | IFS | as_nl) ;; #(
1974+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1975+      *) $as_unset $ac_var ;;
1976+      esac ;;
1977+    esac
1978+  done
1979+  (set) 2>&1 |
1980+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1981+    *${as_nl}ac_space=\ *)
1982+      sed -n \
1983+	"s/'\''/'\''\\\\'\'''\''/g;
1984+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1985+      ;; #(
1986+    *)
1987+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1988+      ;;
1989+    esac |
1990+    sort
1991+)
1992+    echo
1993+
1994+    cat <<\_ASBOX
1995+## ----------------- ##
1996+## Output variables. ##
1997+## ----------------- ##
1998+_ASBOX
1999+    echo
2000+    for ac_var in $ac_subst_vars
2001+    do
2002+      eval ac_val=\$$ac_var
2003+      case $ac_val in
2004+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005+      esac
2006+      $as_echo "$ac_var='\''$ac_val'\''"
2007+    done | sort
2008+    echo
2009+
2010+    if test -n "$ac_subst_files"; then
2011+      cat <<\_ASBOX
2012+## ------------------- ##
2013+## File substitutions. ##
2014+## ------------------- ##
2015+_ASBOX
2016+      echo
2017+      for ac_var in $ac_subst_files
2018+      do
2019+	eval ac_val=\$$ac_var
2020+	case $ac_val in
2021+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2022+	esac
2023+	$as_echo "$ac_var='\''$ac_val'\''"
2024+      done | sort
2025+      echo
2026+    fi
2027+
2028+    if test -s confdefs.h; then
2029+      cat <<\_ASBOX
2030+## ----------- ##
2031+## confdefs.h. ##
2032+## ----------- ##
2033+_ASBOX
2034+      echo
2035+      cat confdefs.h
2036+      echo
2037+    fi
2038+    test "$ac_signal" != 0 &&
2039+      $as_echo "$as_me: caught signal $ac_signal"
2040+    $as_echo "$as_me: exit $exit_status"
2041+  } >&5
2042+  rm -f core *.core core.conftest.* &&
2043+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2044+    exit $exit_status
2045+' 0
2046+for ac_signal in 1 2 13 15; do
2047+  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2048+done
2049+ac_signal=0
2050+
2051+# confdefs.h avoids OS command line length limits that DEFS can exceed.
2052+rm -f -r conftest* confdefs.h
2053+
2054+# Predefined preprocessor variables.
2055+
2056+cat >>confdefs.h <<_ACEOF
2057+#define PACKAGE_NAME "$PACKAGE_NAME"
2058+_ACEOF
2059+
2060+
2061+cat >>confdefs.h <<_ACEOF
2062+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2063+_ACEOF
2064+
2065+
2066+cat >>confdefs.h <<_ACEOF
2067+#define PACKAGE_VERSION "$PACKAGE_VERSION"
2068+_ACEOF
2069+
2070+
2071+cat >>confdefs.h <<_ACEOF
2072+#define PACKAGE_STRING "$PACKAGE_STRING"
2073+_ACEOF
2074+
2075+
2076+cat >>confdefs.h <<_ACEOF
2077+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2078+_ACEOF
2079+
2080+
2081+# Let the site file select an alternate cache file if it wants to.
2082+# Prefer an explicitly selected file to automatically selected ones.
2083+ac_site_file1=NONE
2084+ac_site_file2=NONE
2085+if test -n "$CONFIG_SITE"; then
2086+  ac_site_file1=$CONFIG_SITE
2087+elif test "x$prefix" != xNONE; then
2088+  ac_site_file1=$prefix/share/config.site
2089+  ac_site_file2=$prefix/etc/config.site
2090+else
2091+  ac_site_file1=$ac_default_prefix/share/config.site
2092+  ac_site_file2=$ac_default_prefix/etc/config.site
2093+fi
2094+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2095+do
2096+  test "x$ac_site_file" = xNONE && continue
2097+  if test -r "$ac_site_file"; then
2098+    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2099+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2100+    sed 's/^/| /' "$ac_site_file" >&5
2101+    . "$ac_site_file"
2102+  fi
2103+done
2104+
2105+if test -r "$cache_file"; then
2106+  # Some versions of bash will fail to source /dev/null (special
2107+  # files actually), so we avoid doing that.
2108+  if test -f "$cache_file"; then
2109+    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2110+$as_echo "$as_me: loading cache $cache_file" >&6;}
2111+    case $cache_file in
2112+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2113+      *)                      . "./$cache_file";;
2114+    esac
2115   fi
2116 else
2117-  ac_n= ac_c='\c' ac_t=
2118+  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2119+$as_echo "$as_me: creating cache $cache_file" >&6;}
2120+  >$cache_file
2121+fi
2122+
2123+# Check that the precious variables saved in the cache have kept the same
2124+# value.
2125+ac_cache_corrupted=false
2126+for ac_var in $ac_precious_vars; do
2127+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2128+  eval ac_new_set=\$ac_env_${ac_var}_set
2129+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2130+  eval ac_new_val=\$ac_env_${ac_var}_value
2131+  case $ac_old_set,$ac_new_set in
2132+    set,)
2133+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2134+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2135+      ac_cache_corrupted=: ;;
2136+    ,set)
2137+      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2138+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2139+      ac_cache_corrupted=: ;;
2140+    ,);;
2141+    *)
2142+      if test "x$ac_old_val" != "x$ac_new_val"; then
2143+	# differences in whitespace do not lead to failure.
2144+	ac_old_val_w=`echo x $ac_old_val`
2145+	ac_new_val_w=`echo x $ac_new_val`
2146+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2147+	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2148+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2149+	  ac_cache_corrupted=:
2150+	else
2151+	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2152+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2153+	  eval $ac_var=\$ac_old_val
2154+	fi
2155+	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
2156+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2157+	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
2158+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2159+      fi;;
2160+  esac
2161+  # Pass precious variables to config.status.
2162+  if test "$ac_new_set" = set; then
2163+    case $ac_new_val in
2164+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2165+    *) ac_arg=$ac_var=$ac_new_val ;;
2166+    esac
2167+    case " $ac_configure_args " in
2168+      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2169+      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2170+    esac
2171+  fi
2172+done
2173+if $ac_cache_corrupted; then
2174+  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2175+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176+  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2177+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2178+  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2179+$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2180+   { (exit 1); exit 1; }; }
2181 fi
2182
2183
2184
2185
2186+
2187+
2188+
2189+
2190+
2191+
2192+
2193+
2194+
2195+
2196+
2197+
2198+
2199+ac_ext=c
2200+ac_cpp='$CPP $CPPFLAGS'
2201+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204+
2205+
2206+
2207+ac_config_headers="$ac_config_headers common/icucfg.h"
2208+
2209 PACKAGE="icu"
2210
2211
2212-echo $ac_n "checking for ICU version numbers""... $ac_c" 1>&6
2213-echo "configure:570: checking for ICU version numbers" >&5
2214+{ $as_echo "$as_me:$LINENO: checking for ICU version numbers" >&5
2215+$as_echo_n "checking for ICU version numbers... " >&6; }
2216
2217 geticuversion() {
2218     sed -n 's/^[ 	]*#[ 	]*define[ 	]*U_ICU_VERSION[ 	]*"\([^"]*\)".*/\1/p' "$@"
2219@@ -575,7 +1921,9 @@
2220 if test x"$VERSION" = x; then
2221     VERSION=`geticuversion $srcdir/common/unicode/*.h`
2222     if test x"$VERSION" = x; then
2223-        { echo "configure: error: Cannot determine ICU version number from header files" 1>&2; exit 1; }
2224+        { { $as_echo "$as_me:$LINENO: error: Cannot determine ICU version number from header files" >&5
2225+$as_echo "$as_me: error: Cannot determine ICU version number from header files" >&2;}
2226+   { (exit 1); exit 1; }; }
2227     fi
2228 fi
2229 LIB_VERSION=`echo $VERSION | sed -e 's/\.//' -e 's/^\([^.]*\)$/\1.0/'`
2230@@ -583,7 +1931,8 @@
2231
2232
2233
2234-echo "$ac_t""release $VERSION, library $LIB_VERSION" 1>&6
2235+{ $as_echo "$as_me:$LINENO: result: release $VERSION, library $LIB_VERSION" >&5
2236+$as_echo "release $VERSION, library $LIB_VERSION" >&6; }
2237
2238 UNICODE_VERSION="4.0.1"
2239
2240@@ -591,214 +1940,804 @@
2241
2242 #AC_SUBST(CINTLTST_CPPFLAGS)
2243
2244-# Extract the first word of "gcc", so it can be a program name with args.
2245+ac_ext=c
2246+ac_cpp='$CPP $CPPFLAGS'
2247+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2248+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2249+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2250+if test -n "$ac_tool_prefix"; then
2251+  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2252+set dummy ${ac_tool_prefix}gcc; ac_word=$2
2253+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2254+$as_echo_n "checking for $ac_word... " >&6; }
2255+if test "${ac_cv_prog_CC+set}" = set; then
2256+  $as_echo_n "(cached) " >&6
2257+else
2258+  if test -n "$CC"; then
2259+  ac_cv_prog_CC="$CC" # Let the user override the test.
2260+else
2261+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2262+for as_dir in $PATH
2263+do
2264+  IFS=$as_save_IFS
2265+  test -z "$as_dir" && as_dir=.
2266+  for ac_exec_ext in '' $ac_executable_extensions; do
2267+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2268+    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2269+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2270+    break 2
2271+  fi
2272+done
2273+done
2274+IFS=$as_save_IFS
2275+
2276+fi
2277+fi
2278+CC=$ac_cv_prog_CC
2279+if test -n "$CC"; then
2280+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2281+$as_echo "$CC" >&6; }
2282+else
2283+  { $as_echo "$as_me:$LINENO: result: no" >&5
2284+$as_echo "no" >&6; }
2285+fi
2286+
2287+
2288+fi
2289+if test -z "$ac_cv_prog_CC"; then
2290+  ac_ct_CC=$CC
2291+  # Extract the first word of "gcc", so it can be a program name with args.
2292 set dummy gcc; ac_word=$2
2293-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2294-echo "configure:598: checking for $ac_word" >&5
2295-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2296-  echo $ac_n "(cached) $ac_c" 1>&6
2297+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2298+$as_echo_n "checking for $ac_word... " >&6; }
2299+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300+  $as_echo_n "(cached) " >&6
2301+else
2302+  if test -n "$ac_ct_CC"; then
2303+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2304+else
2305+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306+for as_dir in $PATH
2307+do
2308+  IFS=$as_save_IFS
2309+  test -z "$as_dir" && as_dir=.
2310+  for ac_exec_ext in '' $ac_executable_extensions; do
2311+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2312+    ac_cv_prog_ac_ct_CC="gcc"
2313+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314+    break 2
2315+  fi
2316+done
2317+done
2318+IFS=$as_save_IFS
2319+
2320+fi
2321+fi
2322+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2323+if test -n "$ac_ct_CC"; then
2324+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2325+$as_echo "$ac_ct_CC" >&6; }
2326+else
2327+  { $as_echo "$as_me:$LINENO: result: no" >&5
2328+$as_echo "no" >&6; }
2329+fi
2330+
2331+  if test "x$ac_ct_CC" = x; then
2332+    CC=""
2333+  else
2334+    case $cross_compiling:$ac_tool_warned in
2335+yes:)
2336+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2337+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2338+ac_tool_warned=yes ;;
2339+esac
2340+    CC=$ac_ct_CC
2341+  fi
2342+else
2343+  CC="$ac_cv_prog_CC"
2344+fi
2345+
2346+if test -z "$CC"; then
2347+          if test -n "$ac_tool_prefix"; then
2348+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2349+set dummy ${ac_tool_prefix}cc; ac_word=$2
2350+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351+$as_echo_n "checking for $ac_word... " >&6; }
2352+if test "${ac_cv_prog_CC+set}" = set; then
2353+  $as_echo_n "(cached) " >&6
2354 else
2355   if test -n "$CC"; then
2356   ac_cv_prog_CC="$CC" # Let the user override the test.
2357 else
2358-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
2359-  ac_dummy="$PATH"
2360-  for ac_dir in $ac_dummy; do
2361-    test -z "$ac_dir" && ac_dir=.
2362-    if test -f $ac_dir/$ac_word; then
2363-      ac_cv_prog_CC="gcc"
2364-      break
2365-    fi
2366-  done
2367-  IFS="$ac_save_ifs"
2368+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369+for as_dir in $PATH
2370+do
2371+  IFS=$as_save_IFS
2372+  test -z "$as_dir" && as_dir=.
2373+  for ac_exec_ext in '' $ac_executable_extensions; do
2374+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375+    ac_cv_prog_CC="${ac_tool_prefix}cc"
2376+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377+    break 2
2378+  fi
2379+done
2380+done
2381+IFS=$as_save_IFS
2382+
2383 fi
2384 fi
2385-CC="$ac_cv_prog_CC"
2386+CC=$ac_cv_prog_CC
2387 if test -n "$CC"; then
2388-  echo "$ac_t""$CC" 1>&6
2389+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2390+$as_echo "$CC" >&6; }
2391 else
2392-  echo "$ac_t""no" 1>&6
2393+  { $as_echo "$as_me:$LINENO: result: no" >&5
2394+$as_echo "no" >&6; }
2395 fi
2396
2397+
2398+  fi
2399+fi
2400 if test -z "$CC"; then
2401   # Extract the first word of "cc", so it can be a program name with args.
2402 set dummy cc; ac_word=$2
2403-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2404-echo "configure:628: checking for $ac_word" >&5
2405-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2406-  echo $ac_n "(cached) $ac_c" 1>&6
2407+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2408+$as_echo_n "checking for $ac_word... " >&6; }
2409+if test "${ac_cv_prog_CC+set}" = set; then
2410+  $as_echo_n "(cached) " >&6
2411 else
2412   if test -n "$CC"; then
2413   ac_cv_prog_CC="$CC" # Let the user override the test.
2414 else
2415-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
2416   ac_prog_rejected=no
2417-  ac_dummy="$PATH"
2418-  for ac_dir in $ac_dummy; do
2419-    test -z "$ac_dir" && ac_dir=.
2420-    if test -f $ac_dir/$ac_word; then
2421-      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2422-        ac_prog_rejected=yes
2423-	continue
2424-      fi
2425-      ac_cv_prog_CC="cc"
2426-      break
2427-    fi
2428-  done
2429-  IFS="$ac_save_ifs"
2430+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431+for as_dir in $PATH
2432+do
2433+  IFS=$as_save_IFS
2434+  test -z "$as_dir" && as_dir=.
2435+  for ac_exec_ext in '' $ac_executable_extensions; do
2436+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2437+    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2438+       ac_prog_rejected=yes
2439+       continue
2440+     fi
2441+    ac_cv_prog_CC="cc"
2442+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443+    break 2
2444+  fi
2445+done
2446+done
2447+IFS=$as_save_IFS
2448+
2449 if test $ac_prog_rejected = yes; then
2450   # We found a bogon in the path, so make sure we never use it.
2451   set dummy $ac_cv_prog_CC
2452   shift
2453-  if test $# -gt 0; then
2454+  if test $# != 0; then
2455     # We chose a different compiler from the bogus one.
2456     # However, it has the same basename, so the bogon will be chosen
2457     # first if we set CC to just the basename; use the full file name.
2458     shift
2459-    set dummy "$ac_dir/$ac_word" "$@"
2460-    shift
2461-    ac_cv_prog_CC="$@"
2462+    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2463   fi
2464 fi
2465 fi
2466 fi
2467-CC="$ac_cv_prog_CC"
2468+CC=$ac_cv_prog_CC
2469 if test -n "$CC"; then
2470-  echo "$ac_t""$CC" 1>&6
2471+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2472+$as_echo "$CC" >&6; }
2473 else
2474-  echo "$ac_t""no" 1>&6
2475+  { $as_echo "$as_me:$LINENO: result: no" >&5
2476+$as_echo "no" >&6; }
2477 fi
2478
2479-  if test -z "$CC"; then
2480-    case "`uname -s`" in
2481-    *win32* | *WIN32*)
2482-      # Extract the first word of "cl", so it can be a program name with args.
2483-set dummy cl; ac_word=$2
2484-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2485-echo "configure:679: checking for $ac_word" >&5
2486-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2487-  echo $ac_n "(cached) $ac_c" 1>&6
2488+
2489+fi
2490+if test -z "$CC"; then
2491+  if test -n "$ac_tool_prefix"; then
2492+  for ac_prog in cl.exe
2493+  do
2494+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2495+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2496+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2497+$as_echo_n "checking for $ac_word... " >&6; }
2498+if test "${ac_cv_prog_CC+set}" = set; then
2499+  $as_echo_n "(cached) " >&6
2500 else
2501   if test -n "$CC"; then
2502   ac_cv_prog_CC="$CC" # Let the user override the test.
2503 else
2504-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
2505-  ac_dummy="$PATH"
2506-  for ac_dir in $ac_dummy; do
2507-    test -z "$ac_dir" && ac_dir=.
2508-    if test -f $ac_dir/$ac_word; then
2509-      ac_cv_prog_CC="cl"
2510-      break
2511-    fi
2512-  done
2513-  IFS="$ac_save_ifs"
2514+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515+for as_dir in $PATH
2516+do
2517+  IFS=$as_save_IFS
2518+  test -z "$as_dir" && as_dir=.
2519+  for ac_exec_ext in '' $ac_executable_extensions; do
2520+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521+    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2522+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523+    break 2
2524+  fi
2525+done
2526+done
2527+IFS=$as_save_IFS
2528+
2529 fi
2530 fi
2531-CC="$ac_cv_prog_CC"
2532+CC=$ac_cv_prog_CC
2533 if test -n "$CC"; then
2534-  echo "$ac_t""$CC" 1>&6
2535+  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2536+$as_echo "$CC" >&6; }
2537 else
2538-  echo "$ac_t""no" 1>&6
2539+  { $as_echo "$as_me:$LINENO: result: no" >&5
2540+$as_echo "no" >&6; }
2541 fi
2542- ;;
2543-    esac
2544+
2545+
2546+    test -n "$CC" && break
2547+  done
2548+fi
2549+if test -z "$CC"; then
2550+  ac_ct_CC=$CC
2551+  for ac_prog in cl.exe
2552+do
2553+  # Extract the first word of "$ac_prog", so it can be a program name with args.
2554+set dummy $ac_prog; ac_word=$2
2555+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2556+$as_echo_n "checking for $ac_word... " >&6; }
2557+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2558+  $as_echo_n "(cached) " >&6
2559+else
2560+  if test -n "$ac_ct_CC"; then
2561+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2562+else
2563+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564+for as_dir in $PATH
2565+do
2566+  IFS=$as_save_IFS
2567+  test -z "$as_dir" && as_dir=.
2568+  for ac_exec_ext in '' $ac_executable_extensions; do
2569+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2570+    ac_cv_prog_ac_ct_CC="$ac_prog"
2571+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572+    break 2
2573   fi
2574-  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2575+done
2576+done
2577+IFS=$as_save_IFS
2578+
2579+fi
2580+fi
2581+ac_ct_CC=$ac_cv_prog_ac_ct_CC
2582+if test -n "$ac_ct_CC"; then
2583+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2584+$as_echo "$ac_ct_CC" >&6; }
2585+else
2586+  { $as_echo "$as_me:$LINENO: result: no" >&5
2587+$as_echo "no" >&6; }
2588 fi
2589
2590-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2591-echo "configure:711: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2592
2593-ac_ext=c
2594-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2595-ac_cpp='$CPP $CPPFLAGS'
2596-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2597-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2598-cross_compiling=$ac_cv_prog_cc_cross
2599-
2600-cat > conftest.$ac_ext << EOF
2601-
2602-#line 722 "configure"
2603-#include "confdefs.h"
2604-
2605-main(){return(0);}
2606-EOF
2607-if { (eval echo configure:727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2608-  ac_cv_prog_cc_works=yes
2609-  # If we can't run a trivial program, we are probably using a cross compiler.
2610-  if (./conftest; exit) 2>/dev/null; then
2611-    ac_cv_prog_cc_cross=no
2612+  test -n "$ac_ct_CC" && break
2613+done
2614+
2615+  if test "x$ac_ct_CC" = x; then
2616+    CC=""
2617   else
2618-    ac_cv_prog_cc_cross=yes
2619+    case $cross_compiling:$ac_tool_warned in
2620+yes:)
2621+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2622+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2623+ac_tool_warned=yes ;;
2624+esac
2625+    CC=$ac_ct_CC
2626   fi
2627-else
2628-  echo "configure: failed program was:" >&5
2629-  cat conftest.$ac_ext >&5
2630-  ac_cv_prog_cc_works=no
2631 fi
2632-rm -fr conftest*
2633-ac_ext=c
2634-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2635-ac_cpp='$CPP $CPPFLAGS'
2636-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2637-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2638-cross_compiling=$ac_cv_prog_cc_cross
2639
2640-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2641-if test $ac_cv_prog_cc_works = no; then
2642-  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2643 fi
2644-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2645-echo "configure:753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2646-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2647-cross_compiling=$ac_cv_prog_cc_cross
2648
2649-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2650-echo "configure:758: checking whether we are using GNU C" >&5
2651-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2652-  echo $ac_n "(cached) $ac_c" 1>&6
2653-else
2654-  cat > conftest.c <<EOF
2655-#ifdef __GNUC__
2656-  yes;
2657-#endif
2658-EOF
2659-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2660-  ac_cv_prog_gcc=yes
2661+
2662+test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2663+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2664+{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2665+See \`config.log' for more details." >&5
2666+$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2667+See \`config.log' for more details." >&2;}
2668+   { (exit 1); exit 1; }; }; }
2669+
2670+# Provide some information about the compiler.
2671+$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2672+set X $ac_compile
2673+ac_compiler=$2
2674+{ (ac_try="$ac_compiler --version >&5"
2675+case "(($ac_try" in
2676+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677+  *) ac_try_echo=$ac_try;;
2678+esac
2679+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2680+$as_echo "$ac_try_echo") >&5
2681+  (eval "$ac_compiler --version >&5") 2>&5
2682+  ac_status=$?
2683+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684+  (exit $ac_status); }
2685+{ (ac_try="$ac_compiler -v >&5"
2686+case "(($ac_try" in
2687+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688+  *) ac_try_echo=$ac_try;;
2689+esac
2690+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2691+$as_echo "$ac_try_echo") >&5
2692+  (eval "$ac_compiler -v >&5") 2>&5
2693+  ac_status=$?
2694+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695+  (exit $ac_status); }
2696+{ (ac_try="$ac_compiler -V >&5"
2697+case "(($ac_try" in
2698+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699+  *) ac_try_echo=$ac_try;;
2700+esac
2701+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2702+$as_echo "$ac_try_echo") >&5
2703+  (eval "$ac_compiler -V >&5") 2>&5
2704+  ac_status=$?
2705+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706+  (exit $ac_status); }
2707+
2708+cat >conftest.$ac_ext <<_ACEOF
2709+/* confdefs.h.  */
2710+_ACEOF
2711+cat confdefs.h >>conftest.$ac_ext
2712+cat >>conftest.$ac_ext <<_ACEOF
2713+/* end confdefs.h.  */
2714+
2715+int
2716+main ()
2717+{
2718+
2719+  ;
2720+  return 0;
2721+}
2722+_ACEOF
2723+ac_clean_files_save=$ac_clean_files
2724+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2725+# Try to create an executable without -o first, disregard a.out.
2726+# It will help us diagnose broken compilers, and finding out an intuition
2727+# of exeext.
2728+{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2729+$as_echo_n "checking for C compiler default output file name... " >&6; }
2730+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2731+
2732+# The possible output files:
2733+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2734+
2735+ac_rmfiles=
2736+for ac_file in $ac_files
2737+do
2738+  case $ac_file in
2739+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2740+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2741+  esac
2742+done
2743+rm -f $ac_rmfiles
2744+
2745+if { (ac_try="$ac_link_default"
2746+case "(($ac_try" in
2747+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748+  *) ac_try_echo=$ac_try;;
2749+esac
2750+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2751+$as_echo "$ac_try_echo") >&5
2752+  (eval "$ac_link_default") 2>&5
2753+  ac_status=$?
2754+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755+  (exit $ac_status); }; then
2756+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2757+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2758+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2759+# so that the user can short-circuit this test for compilers unknown to
2760+# Autoconf.
2761+for ac_file in $ac_files ''
2762+do
2763+  test -f "$ac_file" || continue
2764+  case $ac_file in
2765+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2766+	;;
2767+    [ab].out )
2768+	# We found the default executable, but exeext='' is most
2769+	# certainly right.
2770+	break;;
2771+    *.* )
2772+        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2773+	then :; else
2774+	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775+	fi
2776+	# We set ac_cv_exeext here because the later test for it is not
2777+	# safe: cross compilers may not add the suffix if given an `-o'
2778+	# argument, so we may need to know it at that point already.
2779+	# Even if this section looks crufty: it has the advantage of
2780+	# actually working.
2781+	break;;
2782+    * )
2783+	break;;
2784+  esac
2785+done
2786+test "$ac_cv_exeext" = no && ac_cv_exeext=
2787+
2788 else
2789-  ac_cv_prog_gcc=no
2790+  ac_file=''
2791 fi
2792+
2793+{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2794+$as_echo "$ac_file" >&6; }
2795+if test -z "$ac_file"; then
2796+  $as_echo "$as_me: failed program was:" >&5
2797+sed 's/^/| /' conftest.$ac_ext >&5
2798+
2799+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2800+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801+{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2802+See \`config.log' for more details." >&5
2803+$as_echo "$as_me: error: C compiler cannot create executables
2804+See \`config.log' for more details." >&2;}
2805+   { (exit 77); exit 77; }; }; }
2806+fi
2807+
2808+ac_exeext=$ac_cv_exeext
2809+
2810+# Check that the compiler produces executables we can run.  If not, either
2811+# the compiler is broken, or we cross compile.
2812+{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2813+$as_echo_n "checking whether the C compiler works... " >&6; }
2814+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2815+# If not cross compiling, check that we can run a simple program.
2816+if test "$cross_compiling" != yes; then
2817+  if { ac_try='./$ac_file'
2818+  { (case "(($ac_try" in
2819+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820+  *) ac_try_echo=$ac_try;;
2821+esac
2822+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2823+$as_echo "$ac_try_echo") >&5
2824+  (eval "$ac_try") 2>&5
2825+  ac_status=$?
2826+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827+  (exit $ac_status); }; }; then
2828+    cross_compiling=no
2829+  else
2830+    if test "$cross_compiling" = maybe; then
2831+	cross_compiling=yes
2832+    else
2833+	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2834+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2835+{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2836+If you meant to cross compile, use \`--host'.
2837+See \`config.log' for more details." >&5
2838+$as_echo "$as_me: error: cannot run C compiled programs.
2839+If you meant to cross compile, use \`--host'.
2840+See \`config.log' for more details." >&2;}
2841+   { (exit 1); exit 1; }; }; }
2842+    fi
2843+  fi
2844 fi
2845+{ $as_echo "$as_me:$LINENO: result: yes" >&5
2846+$as_echo "yes" >&6; }
2847+
2848+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2849+ac_clean_files=$ac_clean_files_save
2850+# Check that the compiler produces executables we can run.  If not, either
2851+# the compiler is broken, or we cross compile.
2852+{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2853+$as_echo_n "checking whether we are cross compiling... " >&6; }
2854+{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2855+$as_echo "$cross_compiling" >&6; }
2856+
2857+{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2858+$as_echo_n "checking for suffix of executables... " >&6; }
2859+if { (ac_try="$ac_link"
2860+case "(($ac_try" in
2861+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862+  *) ac_try_echo=$ac_try;;
2863+esac
2864+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2865+$as_echo "$ac_try_echo") >&5
2866+  (eval "$ac_link") 2>&5
2867+  ac_status=$?
2868+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869+  (exit $ac_status); }; then
2870+  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2871+# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2872+# work properly (i.e., refer to `conftest.exe'), while it won't with
2873+# `rm'.
2874+for ac_file in conftest.exe conftest conftest.*; do
2875+  test -f "$ac_file" || continue
2876+  case $ac_file in
2877+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2878+    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2879+	  break;;
2880+    * ) break;;
2881+  esac
2882+done
2883+else
2884+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2885+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2886+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2887+See \`config.log' for more details." >&5
2888+$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2889+See \`config.log' for more details." >&2;}
2890+   { (exit 1); exit 1; }; }; }
2891+fi
2892+
2893+rm -f conftest$ac_cv_exeext
2894+{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2895+$as_echo "$ac_cv_exeext" >&6; }
2896+
2897+rm -f conftest.$ac_ext
2898+EXEEXT=$ac_cv_exeext
2899+ac_exeext=$EXEEXT
2900+{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2901+$as_echo_n "checking for suffix of object files... " >&6; }
2902+if test "${ac_cv_objext+set}" = set; then
2903+  $as_echo_n "(cached) " >&6
2904+else
2905+  cat >conftest.$ac_ext <<_ACEOF
2906+/* confdefs.h.  */
2907+_ACEOF
2908+cat confdefs.h >>conftest.$ac_ext
2909+cat >>conftest.$ac_ext <<_ACEOF
2910+/* end confdefs.h.  */
2911
2912-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
2913+int
2914+main ()
2915+{
2916+
2917+  ;
2918+  return 0;
2919+}
2920+_ACEOF
2921+rm -f conftest.o conftest.obj
2922+if { (ac_try="$ac_compile"
2923+case "(($ac_try" in
2924+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925+  *) ac_try_echo=$ac_try;;
2926+esac
2927+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2928+$as_echo "$ac_try_echo") >&5
2929+  (eval "$ac_compile") 2>&5
2930+  ac_status=$?
2931+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932+  (exit $ac_status); }; then
2933+  for ac_file in conftest.o conftest.obj conftest.*; do
2934+  test -f "$ac_file" || continue;
2935+  case $ac_file in
2936+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2937+    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2938+       break;;
2939+  esac
2940+done
2941+else
2942+  $as_echo "$as_me: failed program was:" >&5
2943+sed 's/^/| /' conftest.$ac_ext >&5
2944+
2945+{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2946+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947+{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2948+See \`config.log' for more details." >&5
2949+$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2950+See \`config.log' for more details." >&2;}
2951+   { (exit 1); exit 1; }; }; }
2952+fi
2953+
2954+rm -f conftest.$ac_cv_objext conftest.$ac_ext
2955+fi
2956+{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2957+$as_echo "$ac_cv_objext" >&6; }
2958+OBJEXT=$ac_cv_objext
2959+ac_objext=$OBJEXT
2960+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2961+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2962+if test "${ac_cv_c_compiler_gnu+set}" = set; then
2963+  $as_echo_n "(cached) " >&6
2964+else
2965+  cat >conftest.$ac_ext <<_ACEOF
2966+/* confdefs.h.  */
2967+_ACEOF
2968+cat confdefs.h >>conftest.$ac_ext
2969+cat >>conftest.$ac_ext <<_ACEOF
2970+/* end confdefs.h.  */
2971
2972-if test $ac_cv_prog_gcc = yes; then
2973+int
2974+main ()
2975+{
2976+#ifndef __GNUC__
2977+       choke me
2978+#endif
2979+
2980+  ;
2981+  return 0;
2982+}
2983+_ACEOF
2984+rm -f conftest.$ac_objext
2985+if { (ac_try="$ac_compile"
2986+case "(($ac_try" in
2987+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988+  *) ac_try_echo=$ac_try;;
2989+esac
2990+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2991+$as_echo "$ac_try_echo") >&5
2992+  (eval "$ac_compile") 2>conftest.er1
2993+  ac_status=$?
2994+  grep -v '^ *+' conftest.er1 >conftest.err
2995+  rm -f conftest.er1
2996+  cat conftest.err >&5
2997+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998+  (exit $ac_status); } && {
2999+	 test -z "$ac_c_werror_flag" ||
3000+	 test ! -s conftest.err
3001+       } && test -s conftest.$ac_objext; then
3002+  ac_compiler_gnu=yes
3003+else
3004+  $as_echo "$as_me: failed program was:" >&5
3005+sed 's/^/| /' conftest.$ac_ext >&5
3006+
3007+	ac_compiler_gnu=no
3008+fi
3009+
3010+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3011+ac_cv_c_compiler_gnu=$ac_compiler_gnu
3012+
3013+fi
3014+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3015+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3016+if test $ac_compiler_gnu = yes; then
3017   GCC=yes
3018 else
3019   GCC=
3020 fi
3021+ac_test_CFLAGS=${CFLAGS+set}
3022+ac_save_CFLAGS=$CFLAGS
3023+{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3024+$as_echo_n "checking whether $CC accepts -g... " >&6; }
3025+if test "${ac_cv_prog_cc_g+set}" = set; then
3026+  $as_echo_n "(cached) " >&6
3027+else
3028+  ac_save_c_werror_flag=$ac_c_werror_flag
3029+   ac_c_werror_flag=yes
3030+   ac_cv_prog_cc_g=no
3031+   CFLAGS="-g"
3032+   cat >conftest.$ac_ext <<_ACEOF
3033+/* confdefs.h.  */
3034+_ACEOF
3035+cat confdefs.h >>conftest.$ac_ext
3036+cat >>conftest.$ac_ext <<_ACEOF
3037+/* end confdefs.h.  */
3038+
3039+int
3040+main ()
3041+{
3042+
3043+  ;
3044+  return 0;
3045+}
3046+_ACEOF
3047+rm -f conftest.$ac_objext
3048+if { (ac_try="$ac_compile"
3049+case "(($ac_try" in
3050+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051+  *) ac_try_echo=$ac_try;;
3052+esac
3053+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3054+$as_echo "$ac_try_echo") >&5
3055+  (eval "$ac_compile") 2>conftest.er1
3056+  ac_status=$?
3057+  grep -v '^ *+' conftest.er1 >conftest.err
3058+  rm -f conftest.er1
3059+  cat conftest.err >&5
3060+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061+  (exit $ac_status); } && {
3062+	 test -z "$ac_c_werror_flag" ||
3063+	 test ! -s conftest.err
3064+       } && test -s conftest.$ac_objext; then
3065+  ac_cv_prog_cc_g=yes
3066+else
3067+  $as_echo "$as_me: failed program was:" >&5
3068+sed 's/^/| /' conftest.$ac_ext >&5
3069
3070-ac_test_CFLAGS="${CFLAGS+set}"
3071-ac_save_CFLAGS="$CFLAGS"
3072-CFLAGS=
3073-echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
3074-echo "configure:786: checking whether ${CC-cc} accepts -g" >&5
3075-if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
3076-  echo $ac_n "(cached) $ac_c" 1>&6
3077+	CFLAGS=""
3078+      cat >conftest.$ac_ext <<_ACEOF
3079+/* confdefs.h.  */
3080+_ACEOF
3081+cat confdefs.h >>conftest.$ac_ext
3082+cat >>conftest.$ac_ext <<_ACEOF
3083+/* end confdefs.h.  */
3084+
3085+int
3086+main ()
3087+{
3088+
3089+  ;
3090+  return 0;
3091+}
3092+_ACEOF
3093+rm -f conftest.$ac_objext
3094+if { (ac_try="$ac_compile"
3095+case "(($ac_try" in
3096+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097+  *) ac_try_echo=$ac_try;;
3098+esac
3099+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3100+$as_echo "$ac_try_echo") >&5
3101+  (eval "$ac_compile") 2>conftest.er1
3102+  ac_status=$?
3103+  grep -v '^ *+' conftest.er1 >conftest.err
3104+  rm -f conftest.er1
3105+  cat conftest.err >&5
3106+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107+  (exit $ac_status); } && {
3108+	 test -z "$ac_c_werror_flag" ||
3109+	 test ! -s conftest.err
3110+       } && test -s conftest.$ac_objext; then
3111+  :
3112 else
3113-  echo 'void f(){}' > conftest.c
3114-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
3115+  $as_echo "$as_me: failed program was:" >&5
3116+sed 's/^/| /' conftest.$ac_ext >&5
3117+
3118+	ac_c_werror_flag=$ac_save_c_werror_flag
3119+	 CFLAGS="-g"
3120+	 cat >conftest.$ac_ext <<_ACEOF
3121+/* confdefs.h.  */
3122+_ACEOF
3123+cat confdefs.h >>conftest.$ac_ext
3124+cat >>conftest.$ac_ext <<_ACEOF
3125+/* end confdefs.h.  */
3126+
3127+int
3128+main ()
3129+{
3130+
3131+  ;
3132+  return 0;
3133+}
3134+_ACEOF
3135+rm -f conftest.$ac_objext
3136+if { (ac_try="$ac_compile"
3137+case "(($ac_try" in
3138+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139+  *) ac_try_echo=$ac_try;;
3140+esac
3141+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3142+$as_echo "$ac_try_echo") >&5
3143+  (eval "$ac_compile") 2>conftest.er1
3144+  ac_status=$?
3145+  grep -v '^ *+' conftest.er1 >conftest.err
3146+  rm -f conftest.er1
3147+  cat conftest.err >&5
3148+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149+  (exit $ac_status); } && {
3150+	 test -z "$ac_c_werror_flag" ||
3151+	 test ! -s conftest.err
3152+       } && test -s conftest.$ac_objext; then
3153   ac_cv_prog_cc_g=yes
3154 else
3155-  ac_cv_prog_cc_g=no
3156+  $as_echo "$as_me: failed program was:" >&5
3157+sed 's/^/| /' conftest.$ac_ext >&5
3158+
3159+
3160+fi
3161+
3162+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 fi
3164-rm -f conftest*
3165
3166+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 fi
3168
3169-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
3170+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171+   ac_c_werror_flag=$ac_save_c_werror_flag
3172+fi
3173+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3174+$as_echo "$ac_cv_prog_cc_g" >&6; }
3175 if test "$ac_test_CFLAGS" = set; then
3176-  CFLAGS="$ac_save_CFLAGS"
3177+  CFLAGS=$ac_save_CFLAGS
3178 elif test $ac_cv_prog_cc_g = yes; then
3179   if test "$GCC" = yes; then
3180     CFLAGS="-g -O2"
3181@@ -812,136 +2751,481 @@
3182     CFLAGS=
3183   fi
3184 fi
3185+{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3186+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3187+if test "${ac_cv_prog_cc_c89+set}" = set; then
3188+  $as_echo_n "(cached) " >&6
3189+else
3190+  ac_cv_prog_cc_c89=no
3191+ac_save_CC=$CC
3192+cat >conftest.$ac_ext <<_ACEOF
3193+/* confdefs.h.  */
3194+_ACEOF
3195+cat confdefs.h >>conftest.$ac_ext
3196+cat >>conftest.$ac_ext <<_ACEOF
3197+/* end confdefs.h.  */
3198+#include <stdarg.h>
3199+#include <stdio.h>
3200+#include <sys/types.h>
3201+#include <sys/stat.h>
3202+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3203+struct buf { int x; };
3204+FILE * (*rcsopen) (struct buf *, struct stat *, int);
3205+static char *e (p, i)
3206+     char **p;
3207+     int i;
3208+{
3209+  return p[i];
3210+}
3211+static char *f (char * (*g) (char **, int), char **p, ...)
3212+{
3213+  char *s;
3214+  va_list v;
3215+  va_start (v,p);
3216+  s = g (p, va_arg (v,int));
3217+  va_end (v);
3218+  return s;
3219+}
3220
3221-for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
3222+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3223+   function prototypes and stuff, but not '\xHH' hex character constants.
3224+   These don't provoke an error unfortunately, instead are silently treated
3225+   as 'x'.  The following induces an error, until -std is added to get
3226+   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3227+   array size at least.  It's necessary to write '\x00'==0 to get something
3228+   that's true only with -std.  */
3229+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3230+
3231+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3232+   inside strings and character constants.  */
3233+#define FOO(x) 'x'
3234+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3235+
3236+int test (int i, double x);
3237+struct s1 {int (*f) (int a);};
3238+struct s2 {int (*f) (double a);};
3239+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3240+int argc;
3241+char **argv;
3242+int
3243+main ()
3244+{
3245+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3246+  ;
3247+  return 0;
3248+}
3249+_ACEOF
3250+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3251+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3252 do
3253-# Extract the first word of "$ac_prog", so it can be a program name with args.
3254-set dummy $ac_prog; ac_word=$2
3255-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3256-echo "configure:822: checking for $ac_word" >&5
3257-if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
3258-  echo $ac_n "(cached) $ac_c" 1>&6
3259+  CC="$ac_save_CC $ac_arg"
3260+  rm -f conftest.$ac_objext
3261+if { (ac_try="$ac_compile"
3262+case "(($ac_try" in
3263+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264+  *) ac_try_echo=$ac_try;;
3265+esac
3266+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267+$as_echo "$ac_try_echo") >&5
3268+  (eval "$ac_compile") 2>conftest.er1
3269+  ac_status=$?
3270+  grep -v '^ *+' conftest.er1 >conftest.err
3271+  rm -f conftest.er1
3272+  cat conftest.err >&5
3273+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274+  (exit $ac_status); } && {
3275+	 test -z "$ac_c_werror_flag" ||
3276+	 test ! -s conftest.err
3277+       } && test -s conftest.$ac_objext; then
3278+  ac_cv_prog_cc_c89=$ac_arg
3279+else
3280+  $as_echo "$as_me: failed program was:" >&5
3281+sed 's/^/| /' conftest.$ac_ext >&5
3282+
3283+
3284+fi
3285+
3286+rm -f core conftest.err conftest.$ac_objext
3287+  test "x$ac_cv_prog_cc_c89" != "xno" && break
3288+done
3289+rm -f conftest.$ac_ext
3290+CC=$ac_save_CC
3291+
3292+fi
3293+# AC_CACHE_VAL
3294+case "x$ac_cv_prog_cc_c89" in
3295+  x)
3296+    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3297+$as_echo "none needed" >&6; } ;;
3298+  xno)
3299+    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3300+$as_echo "unsupported" >&6; } ;;
3301+  *)
3302+    CC="$CC $ac_cv_prog_cc_c89"
3303+    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3304+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3305+esac
3306+
3307+
3308+ac_ext=c
3309+ac_cpp='$CPP $CPPFLAGS'
3310+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313+
3314+ac_ext=cpp
3315+ac_cpp='$CXXCPP $CPPFLAGS'
3316+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3319+if test -z "$CXX"; then
3320+  if test -n "$CCC"; then
3321+    CXX=$CCC
3322+  else
3323+    if test -n "$ac_tool_prefix"; then
3324+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3325+  do
3326+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3328+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3329+$as_echo_n "checking for $ac_word... " >&6; }
3330+if test "${ac_cv_prog_CXX+set}" = set; then
3331+  $as_echo_n "(cached) " >&6
3332 else
3333   if test -n "$CXX"; then
3334   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3335 else
3336-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
3337-  ac_dummy="$PATH"
3338-  for ac_dir in $ac_dummy; do
3339-    test -z "$ac_dir" && ac_dir=.
3340-    if test -f $ac_dir/$ac_word; then
3341-      ac_cv_prog_CXX="$ac_prog"
3342-      break
3343-    fi
3344-  done
3345-  IFS="$ac_save_ifs"
3346+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347+for as_dir in $PATH
3348+do
3349+  IFS=$as_save_IFS
3350+  test -z "$as_dir" && as_dir=.
3351+  for ac_exec_ext in '' $ac_executable_extensions; do
3352+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3353+    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3354+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355+    break 2
3356+  fi
3357+done
3358+done
3359+IFS=$as_save_IFS
3360+
3361 fi
3362 fi
3363-CXX="$ac_cv_prog_CXX"
3364+CXX=$ac_cv_prog_CXX
3365 if test -n "$CXX"; then
3366-  echo "$ac_t""$CXX" 1>&6
3367+  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3368+$as_echo "$CXX" >&6; }
3369 else
3370-  echo "$ac_t""no" 1>&6
3371+  { $as_echo "$as_me:$LINENO: result: no" >&5
3372+$as_echo "no" >&6; }
3373 fi
3374
3375-test -n "$CXX" && break
3376+
3377+    test -n "$CXX" && break
3378+  done
3379+fi
3380+if test -z "$CXX"; then
3381+  ac_ct_CXX=$CXX
3382+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3383+do
3384+  # Extract the first word of "$ac_prog", so it can be a program name with args.
3385+set dummy $ac_prog; ac_word=$2
3386+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3387+$as_echo_n "checking for $ac_word... " >&6; }
3388+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3389+  $as_echo_n "(cached) " >&6
3390+else
3391+  if test -n "$ac_ct_CXX"; then
3392+  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3393+else
3394+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395+for as_dir in $PATH
3396+do
3397+  IFS=$as_save_IFS
3398+  test -z "$as_dir" && as_dir=.
3399+  for ac_exec_ext in '' $ac_executable_extensions; do
3400+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401+    ac_cv_prog_ac_ct_CXX="$ac_prog"
3402+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3403+    break 2
3404+  fi
3405+done
3406 done
3407-test -n "$CXX" || CXX="gcc"
3408+IFS=$as_save_IFS
3409+
3410+fi
3411+fi
3412+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3413+if test -n "$ac_ct_CXX"; then
3414+  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3415+$as_echo "$ac_ct_CXX" >&6; }
3416+else
3417+  { $as_echo "$as_me:$LINENO: result: no" >&5
3418+$as_echo "no" >&6; }
3419+fi
3420
3421
3422-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
3423-echo "configure:854: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
3424+  test -n "$ac_ct_CXX" && break
3425+done
3426
3427-ac_ext=C
3428-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3429-ac_cpp='$CXXCPP $CPPFLAGS'
3430-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3431-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3432-cross_compiling=$ac_cv_prog_cxx_cross
3433-
3434-cat > conftest.$ac_ext << EOF
3435-
3436-#line 865 "configure"
3437-#include "confdefs.h"
3438-
3439-int main(){return(0);}
3440-EOF
3441-if { (eval echo configure:870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3442-  ac_cv_prog_cxx_works=yes
3443-  # If we can't run a trivial program, we are probably using a cross compiler.
3444-  if (./conftest; exit) 2>/dev/null; then
3445-    ac_cv_prog_cxx_cross=no
3446+  if test "x$ac_ct_CXX" = x; then
3447+    CXX="g++"
3448   else
3449-    ac_cv_prog_cxx_cross=yes
3450+    case $cross_compiling:$ac_tool_warned in
3451+yes:)
3452+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3453+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3454+ac_tool_warned=yes ;;
3455+esac
3456+    CXX=$ac_ct_CXX
3457   fi
3458-else
3459-  echo "configure: failed program was:" >&5
3460-  cat conftest.$ac_ext >&5
3461-  ac_cv_prog_cxx_works=no
3462 fi
3463-rm -fr conftest*
3464-ac_ext=c
3465-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3466-ac_cpp='$CPP $CPPFLAGS'
3467-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3468-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3469-cross_compiling=$ac_cv_prog_cc_cross
3470
3471-echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
3472-if test $ac_cv_prog_cxx_works = no; then
3473-  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
3474+  fi
3475 fi
3476-echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
3477-echo "configure:896: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
3478-echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
3479-cross_compiling=$ac_cv_prog_cxx_cross
3480+# Provide some information about the compiler.
3481+$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3482+set X $ac_compile
3483+ac_compiler=$2
3484+{ (ac_try="$ac_compiler --version >&5"
3485+case "(($ac_try" in
3486+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487+  *) ac_try_echo=$ac_try;;
3488+esac
3489+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3490+$as_echo "$ac_try_echo") >&5
3491+  (eval "$ac_compiler --version >&5") 2>&5
3492+  ac_status=$?
3493+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494+  (exit $ac_status); }
3495+{ (ac_try="$ac_compiler -v >&5"
3496+case "(($ac_try" in
3497+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498+  *) ac_try_echo=$ac_try;;
3499+esac
3500+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3501+$as_echo "$ac_try_echo") >&5
3502+  (eval "$ac_compiler -v >&5") 2>&5
3503+  ac_status=$?
3504+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505+  (exit $ac_status); }
3506+{ (ac_try="$ac_compiler -V >&5"
3507+case "(($ac_try" in
3508+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509+  *) ac_try_echo=$ac_try;;
3510+esac
3511+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3512+$as_echo "$ac_try_echo") >&5
3513+  (eval "$ac_compiler -V >&5") 2>&5
3514+  ac_status=$?
3515+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516+  (exit $ac_status); }
3517+
3518+{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3519+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3520+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3521+  $as_echo_n "(cached) " >&6
3522+else
3523+  cat >conftest.$ac_ext <<_ACEOF
3524+/* confdefs.h.  */
3525+_ACEOF
3526+cat confdefs.h >>conftest.$ac_ext
3527+cat >>conftest.$ac_ext <<_ACEOF
3528+/* end confdefs.h.  */
3529
3530-echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
3531-echo "configure:901: checking whether we are using GNU C++" >&5
3532-if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
3533-  echo $ac_n "(cached) $ac_c" 1>&6
3534-else
3535-  cat > conftest.C <<EOF
3536-#ifdef __GNUC__
3537-  yes;
3538+int
3539+main ()
3540+{
3541+#ifndef __GNUC__
3542+       choke me
3543 #endif
3544-EOF
3545-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
3546-  ac_cv_prog_gxx=yes
3547-else
3548-  ac_cv_prog_gxx=no
3549-fi
3550-fi
3551
3552-echo "$ac_t""$ac_cv_prog_gxx" 1>&6
3553-
3554-if test $ac_cv_prog_gxx = yes; then
3555+  ;
3556+  return 0;
3557+}
3558+_ACEOF
3559+rm -f conftest.$ac_objext
3560+if { (ac_try="$ac_compile"
3561+case "(($ac_try" in
3562+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3563+  *) ac_try_echo=$ac_try;;
3564+esac
3565+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3566+$as_echo "$ac_try_echo") >&5
3567+  (eval "$ac_compile") 2>conftest.er1
3568+  ac_status=$?
3569+  grep -v '^ *+' conftest.er1 >conftest.err
3570+  rm -f conftest.er1
3571+  cat conftest.err >&5
3572+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573+  (exit $ac_status); } && {
3574+	 test -z "$ac_cxx_werror_flag" ||
3575+	 test ! -s conftest.err
3576+       } && test -s conftest.$ac_objext; then
3577+  ac_compiler_gnu=yes
3578+else
3579+  $as_echo "$as_me: failed program was:" >&5
3580+sed 's/^/| /' conftest.$ac_ext >&5
3581+
3582+	ac_compiler_gnu=no
3583+fi
3584+
3585+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3587+
3588+fi
3589+{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3590+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3591+if test $ac_compiler_gnu = yes; then
3592   GXX=yes
3593 else
3594   GXX=
3595 fi
3596+ac_test_CXXFLAGS=${CXXFLAGS+set}
3597+ac_save_CXXFLAGS=$CXXFLAGS
3598+{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3599+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3600+if test "${ac_cv_prog_cxx_g+set}" = set; then
3601+  $as_echo_n "(cached) " >&6
3602+else
3603+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3604+   ac_cxx_werror_flag=yes
3605+   ac_cv_prog_cxx_g=no
3606+   CXXFLAGS="-g"
3607+   cat >conftest.$ac_ext <<_ACEOF
3608+/* confdefs.h.  */
3609+_ACEOF
3610+cat confdefs.h >>conftest.$ac_ext
3611+cat >>conftest.$ac_ext <<_ACEOF
3612+/* end confdefs.h.  */
3613+
3614+int
3615+main ()
3616+{
3617+
3618+  ;
3619+  return 0;
3620+}
3621+_ACEOF
3622+rm -f conftest.$ac_objext
3623+if { (ac_try="$ac_compile"
3624+case "(($ac_try" in
3625+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626+  *) ac_try_echo=$ac_try;;
3627+esac
3628+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3629+$as_echo "$ac_try_echo") >&5
3630+  (eval "$ac_compile") 2>conftest.er1
3631+  ac_status=$?
3632+  grep -v '^ *+' conftest.er1 >conftest.err
3633+  rm -f conftest.er1
3634+  cat conftest.err >&5
3635+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636+  (exit $ac_status); } && {
3637+	 test -z "$ac_cxx_werror_flag" ||
3638+	 test ! -s conftest.err
3639+       } && test -s conftest.$ac_objext; then
3640+  ac_cv_prog_cxx_g=yes
3641+else
3642+  $as_echo "$as_me: failed program was:" >&5
3643+sed 's/^/| /' conftest.$ac_ext >&5
3644+
3645+	CXXFLAGS=""
3646+      cat >conftest.$ac_ext <<_ACEOF
3647+/* confdefs.h.  */
3648+_ACEOF
3649+cat confdefs.h >>conftest.$ac_ext
3650+cat >>conftest.$ac_ext <<_ACEOF
3651+/* end confdefs.h.  */
3652+
3653+int
3654+main ()
3655+{
3656
3657-ac_test_CXXFLAGS="${CXXFLAGS+set}"
3658-ac_save_CXXFLAGS="$CXXFLAGS"
3659-CXXFLAGS=
3660-echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
3661-echo "configure:929: checking whether ${CXX-g++} accepts -g" >&5
3662-if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
3663-  echo $ac_n "(cached) $ac_c" 1>&6
3664+  ;
3665+  return 0;
3666+}
3667+_ACEOF
3668+rm -f conftest.$ac_objext
3669+if { (ac_try="$ac_compile"
3670+case "(($ac_try" in
3671+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672+  *) ac_try_echo=$ac_try;;
3673+esac
3674+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3675+$as_echo "$ac_try_echo") >&5
3676+  (eval "$ac_compile") 2>conftest.er1
3677+  ac_status=$?
3678+  grep -v '^ *+' conftest.er1 >conftest.err
3679+  rm -f conftest.er1
3680+  cat conftest.err >&5
3681+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682+  (exit $ac_status); } && {
3683+	 test -z "$ac_cxx_werror_flag" ||
3684+	 test ! -s conftest.err
3685+       } && test -s conftest.$ac_objext; then
3686+  :
3687 else
3688-  echo 'void f(){}' > conftest.cc
3689-if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
3690+  $as_echo "$as_me: failed program was:" >&5
3691+sed 's/^/| /' conftest.$ac_ext >&5
3692+
3693+	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3694+	 CXXFLAGS="-g"
3695+	 cat >conftest.$ac_ext <<_ACEOF
3696+/* confdefs.h.  */
3697+_ACEOF
3698+cat confdefs.h >>conftest.$ac_ext
3699+cat >>conftest.$ac_ext <<_ACEOF
3700+/* end confdefs.h.  */
3701+
3702+int
3703+main ()
3704+{
3705+
3706+  ;
3707+  return 0;
3708+}
3709+_ACEOF
3710+rm -f conftest.$ac_objext
3711+if { (ac_try="$ac_compile"
3712+case "(($ac_try" in
3713+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714+  *) ac_try_echo=$ac_try;;
3715+esac
3716+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3717+$as_echo "$ac_try_echo") >&5
3718+  (eval "$ac_compile") 2>conftest.er1
3719+  ac_status=$?
3720+  grep -v '^ *+' conftest.er1 >conftest.err
3721+  rm -f conftest.er1
3722+  cat conftest.err >&5
3723+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724+  (exit $ac_status); } && {
3725+	 test -z "$ac_cxx_werror_flag" ||
3726+	 test ! -s conftest.err
3727+       } && test -s conftest.$ac_objext; then
3728   ac_cv_prog_cxx_g=yes
3729 else
3730-  ac_cv_prog_cxx_g=no
3731+  $as_echo "$as_me: failed program was:" >&5
3732+sed 's/^/| /' conftest.$ac_ext >&5
3733+
3734+
3735+fi
3736+
3737+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 fi
3739-rm -f conftest*
3740
3741+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3742 fi
3743
3744-echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
3745+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3746+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3747+fi
3748+{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3749+$as_echo "$ac_cv_prog_cxx_g" >&6; }
3750 if test "$ac_test_CXXFLAGS" = set; then
3751-  CXXFLAGS="$ac_save_CXXFLAGS"
3752+  CXXFLAGS=$ac_save_CXXFLAGS
3753 elif test $ac_cv_prog_cxx_g = yes; then
3754   if test "$GXX" = yes; then
3755     CXXFLAGS="-g -O2"
3756@@ -955,76 +3239,42 @@
3757     CXXFLAGS=
3758   fi
3759 fi
3760-
3761-for ac_declaration in \
3762-   ''\
3763-   '#include <stdlib.h>' \
3764-   'extern "C" void std::exit (int) throw (); using std::exit;' \
3765-   'extern "C" void std::exit (int); using std::exit;' \
3766-   'extern "C" void exit (int) throw ();' \
3767-   'extern "C" void exit (int);' \
3768-   'void exit (int);'
3769-do
3770-  cat > conftest.$ac_ext <<EOF
3771-#line 970 "configure"
3772-#include "confdefs.h"
3773-#include <stdlib.h>
3774-$ac_declaration
3775-int main() {
3776-exit (42);
3777-; return 0; }
3778-EOF
3779-if { (eval echo configure:978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3780-  :
3781-else
3782-  echo "configure: failed program was:" >&5
3783-  cat conftest.$ac_ext >&5
3784-  rm -rf conftest*
3785-  continue
3786-fi
3787-rm -f conftest*
3788-  cat > conftest.$ac_ext <<EOF
3789-#line 988 "configure"
3790-#include "confdefs.h"
3791-$ac_declaration
3792-int main() {
3793-exit (42);
3794-; return 0; }
3795-EOF
3796-if { (eval echo configure:995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3797-  rm -rf conftest*
3798-  break
3799-else
3800-  echo "configure: failed program was:" >&5
3801-  cat conftest.$ac_ext >&5
3802-fi
3803-rm -f conftest*
3804-done
3805-if test -n "$ac_declaration"; then
3806-  echo '#ifdef __cplusplus' >>confdefs.h
3807-  echo $ac_declaration      >>confdefs.h
3808-  echo '#endif'             >>confdefs.h
3809-fi
3810-
3811+ac_ext=c
3812+ac_cpp='$CPP $CPPFLAGS'
3813+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815+ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816
3817 ac_aux_dir=
3818-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3819-  if test -f $ac_dir/install-sh; then
3820+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3821+  if test -f "$ac_dir/install-sh"; then
3822     ac_aux_dir=$ac_dir
3823     ac_install_sh="$ac_aux_dir/install-sh -c"
3824     break
3825-  elif test -f $ac_dir/install.sh; then
3826+  elif test -f "$ac_dir/install.sh"; then
3827     ac_aux_dir=$ac_dir
3828     ac_install_sh="$ac_aux_dir/install.sh -c"
3829     break
3830+  elif test -f "$ac_dir/shtool"; then
3831+    ac_aux_dir=$ac_dir
3832+    ac_install_sh="$ac_aux_dir/shtool install -c"
3833+    break
3834   fi
3835 done
3836 if test -z "$ac_aux_dir"; then
3837-  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
3838+  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3839+$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3840+   { (exit 1); exit 1; }; }
3841 fi
3842-ac_config_guess=$ac_aux_dir/config.guess
3843-ac_config_sub=$ac_aux_dir/config.sub
3844-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
3845+
3846+# These three variables are undocumented and unsupported,
3847+# and are intended to be withdrawn in a future Autoconf release.
3848+# They can cause serious problems if a builder's source tree is in a directory
3849+# whose full name contains unusual characters.
3850+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3851+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3852+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3853+
3854
3855 # Find a good install program.  We prefer a C program (faster),
3856 # so one script is as good as another.  But avoid the broken or
3857@@ -1033,60 +3283,89 @@
3858 # SunOS /usr/etc/install
3859 # IRIX /sbin/install
3860 # AIX /bin/install
3861+# AmigaOS /C/install, which installs bootblocks on floppy discs
3862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3865+# OS/2's system install, which has a completely different semantic
3866 # ./install, which can be erroneously created by make from ./install.sh.
3867-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3868-echo "configure:1042: checking for a BSD compatible install" >&5
3869+# Reject install programs that cannot install multiple files.
3870+{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3871+$as_echo_n "checking for a BSD-compatible install... " >&6; }
3872 if test -z "$INSTALL"; then
3873-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3874-  echo $ac_n "(cached) $ac_c" 1>&6
3875+if test "${ac_cv_path_install+set}" = set; then
3876+  $as_echo_n "(cached) " >&6
3877 else
3878-    IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS=":"
3879-  for ac_dir in $PATH; do
3880-    # Account for people who put trailing slashes in PATH elements.
3881-    case "$ac_dir/" in
3882-    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3883-    *)
3884-      # OSF1 and SCO ODT 3.0 have their own names for install.
3885-      # Don't use installbsd from OSF since it installs stuff as root
3886-      # by default.
3887-      for ac_prog in ginstall scoinst install; do
3888-        if test -f $ac_dir/$ac_prog; then
3889+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890+for as_dir in $PATH
3891+do
3892+  IFS=$as_save_IFS
3893+  test -z "$as_dir" && as_dir=.
3894+  # Account for people who put trailing slashes in PATH elements.
3895+case $as_dir/ in
3896+  ./ | .// | /cC/* | \
3897+  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3898+  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3899+  /usr/ucb/* ) ;;
3900+  *)
3901+    # OSF1 and SCO ODT 3.0 have their own names for install.
3902+    # Don't use installbsd from OSF since it installs stuff as root
3903+    # by default.
3904+    for ac_prog in ginstall scoinst install; do
3905+      for ac_exec_ext in '' $ac_executable_extensions; do
3906+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3907 	  if test $ac_prog = install &&
3908-            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3909+	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3910 	    # AIX install.  It has an incompatible calling convention.
3911 	    :
3912+	  elif test $ac_prog = install &&
3913+	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3914+	    # program-specific install script used by HP pwplus--don't use.
3915+	    :
3916 	  else
3917-	    ac_cv_path_install="$ac_dir/$ac_prog -c"
3918-	    break 2
3919+	    rm -rf conftest.one conftest.two conftest.dir
3920+	    echo one > conftest.one
3921+	    echo two > conftest.two
3922+	    mkdir conftest.dir
3923+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3924+	      test -s conftest.one && test -s conftest.two &&
3925+	      test -s conftest.dir/conftest.one &&
3926+	      test -s conftest.dir/conftest.two
3927+	    then
3928+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3929+	      break 3
3930+	    fi
3931 	  fi
3932 	fi
3933       done
3934-      ;;
3935-    esac
3936-  done
3937-  IFS="$ac_save_IFS"
3938+    done
3939+    ;;
3940+esac
3941+
3942+done
3943+IFS=$as_save_IFS
3944+
3945+rm -rf conftest.one conftest.two conftest.dir
3946
3947 fi
3948   if test "${ac_cv_path_install+set}" = set; then
3949-    INSTALL="$ac_cv_path_install"
3950+    INSTALL=$ac_cv_path_install
3951   else
3952-    # As a last resort, use the slow shell script.  We don't cache a
3953-    # path for INSTALL within a source directory, because that will
3954+    # As a last resort, use the slow shell script.  Don't cache a
3955+    # value for INSTALL within a source directory, because that will
3956     # break other packages using the cache if that directory is
3957-    # removed, or if the path is relative.
3958-    INSTALL="$ac_install_sh"
3959+    # removed, or if the value is a relative name.
3960+    INSTALL=$ac_install_sh
3961   fi
3962 fi
3963-echo "$ac_t""$INSTALL" 1>&6
3964+{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3965+$as_echo "$INSTALL" >&6; }
3966
3967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3968 # It thinks the first close brace ends the variable substitution.
3969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3970
3971-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
3972+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3973
3974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3975
3976@@ -1102,73 +3381,86 @@
3977 #AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
3978 # Extract the first word of "strip", so it can be a program name with args.
3979 set dummy strip; ac_word=$2
3980-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3981-echo "configure:1107: checking for $ac_word" >&5
3982-if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
3983-  echo $ac_n "(cached) $ac_c" 1>&6
3984+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3985+$as_echo_n "checking for $ac_word... " >&6; }
3986+if test "${ac_cv_prog_STRIP+set}" = set; then
3987+  $as_echo_n "(cached) " >&6
3988 else
3989   if test -n "$STRIP"; then
3990   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3991 else
3992-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
3993-  ac_dummy="$PATH"
3994-  for ac_dir in $ac_dummy; do
3995-    test -z "$ac_dir" && ac_dir=.
3996-    if test -f $ac_dir/$ac_word; then
3997-      ac_cv_prog_STRIP="strip"
3998-      break
3999-    fi
4000-  done
4001-  IFS="$ac_save_ifs"
4002+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003+for as_dir in $PATH
4004+do
4005+  IFS=$as_save_IFS
4006+  test -z "$as_dir" && as_dir=.
4007+  for ac_exec_ext in '' $ac_executable_extensions; do
4008+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009+    ac_cv_prog_STRIP="strip"
4010+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4011+    break 2
4012+  fi
4013+done
4014+done
4015+IFS=$as_save_IFS
4016+
4017   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
4018 fi
4019 fi
4020-STRIP="$ac_cv_prog_STRIP"
4021+STRIP=$ac_cv_prog_STRIP
4022 if test -n "$STRIP"; then
4023-  echo "$ac_t""$STRIP" 1>&6
4024+  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4025+$as_echo "$STRIP" >&6; }
4026 else
4027-  echo "$ac_t""no" 1>&6
4028+  { $as_echo "$as_me:$LINENO: result: no" >&5
4029+$as_echo "no" >&6; }
4030 fi
4031
4032
4033+
4034 for ac_prog in gmake gnumake
4035 do
4036-# Extract the first word of "$ac_prog", so it can be a program name with args.
4037+  # Extract the first word of "$ac_prog", so it can be a program name with args.
4038 set dummy $ac_prog; ac_word=$2
4039-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4040-echo "configure:1140: checking for $ac_word" >&5
4041-if eval "test \"`echo '$''{'ac_cv_path_U_MAKE'+set}'`\" = set"; then
4042-  echo $ac_n "(cached) $ac_c" 1>&6
4043+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4044+$as_echo_n "checking for $ac_word... " >&6; }
4045+if test "${ac_cv_path_U_MAKE+set}" = set; then
4046+  $as_echo_n "(cached) " >&6
4047 else
4048-  case "$U_MAKE" in
4049-  /*)
4050+  case $U_MAKE in
4051+  [\\/]* | ?:[\\/]*)
4052   ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a path.
4053   ;;
4054-  ?:/*)
4055-  ac_cv_path_U_MAKE="$U_MAKE" # Let the user override the test with a dos path.
4056-  ;;
4057   *)
4058-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
4059-  ac_dummy="$PATH"
4060-  for ac_dir in $ac_dummy; do
4061-    test -z "$ac_dir" && ac_dir=.
4062-    if test -f $ac_dir/$ac_word; then
4063-      ac_cv_path_U_MAKE="$ac_dir/$ac_word"
4064-      break
4065-    fi
4066-  done
4067-  IFS="$ac_save_ifs"
4068+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069+for as_dir in $PATH
4070+do
4071+  IFS=$as_save_IFS
4072+  test -z "$as_dir" && as_dir=.
4073+  for ac_exec_ext in '' $ac_executable_extensions; do
4074+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075+    ac_cv_path_U_MAKE="$as_dir/$ac_word$ac_exec_ext"
4076+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4077+    break 2
4078+  fi
4079+done
4080+done
4081+IFS=$as_save_IFS
4082+
4083   ;;
4084 esac
4085 fi
4086-U_MAKE="$ac_cv_path_U_MAKE"
4087+U_MAKE=$ac_cv_path_U_MAKE
4088 if test -n "$U_MAKE"; then
4089-  echo "$ac_t""$U_MAKE" 1>&6
4090+  { $as_echo "$as_me:$LINENO: result: $U_MAKE" >&5
4091+$as_echo "$U_MAKE" >&6; }
4092 else
4093-  echo "$ac_t""no" 1>&6
4094+  { $as_echo "$as_me:$LINENO: result: no" >&5
4095+$as_echo "no" >&6; }
4096 fi
4097
4098-test -n "$U_MAKE" && break
4099+
4100+  test -n "$U_MAKE" && break
4101 done
4102 test -n "$U_MAKE" || U_MAKE="make"
4103
4104@@ -1176,182 +3468,150 @@
4105
4106 # Extract the first word of "doxygen", so it can be a program name with args.
4107 set dummy doxygen; ac_word=$2
4108-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4109-echo "configure:1181: checking for $ac_word" >&5
4110-if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then
4111-  echo $ac_n "(cached) $ac_c" 1>&6
4112+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4113+$as_echo_n "checking for $ac_word... " >&6; }
4114+if test "${ac_cv_path_DOXYGEN+set}" = set; then
4115+  $as_echo_n "(cached) " >&6
4116 else
4117-  case "$DOXYGEN" in
4118-  /*)
4119+  case $DOXYGEN in
4120+  [\\/]* | ?:[\\/]*)
4121   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
4122   ;;
4123-  ?:/*)
4124-  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a dos path.
4125-  ;;
4126   *)
4127-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
4128-  ac_dummy="$PATH:/usr/local/bin:/usr/bin"
4129-  for ac_dir in $ac_dummy; do
4130-    test -z "$ac_dir" && ac_dir=.
4131-    if test -f $ac_dir/$ac_word; then
4132-      ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
4133-      break
4134-    fi
4135-  done
4136-  IFS="$ac_save_ifs"
4137+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138+as_dummy="$PATH:/usr/local/bin:/usr/bin"
4139+for as_dir in $as_dummy
4140+do
4141+  IFS=$as_save_IFS
4142+  test -z "$as_dir" && as_dir=.
4143+  for ac_exec_ext in '' $ac_executable_extensions; do
4144+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4145+    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
4146+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4147+    break 2
4148+  fi
4149+done
4150+done
4151+IFS=$as_save_IFS
4152+
4153   ;;
4154 esac
4155 fi
4156-DOXYGEN="$ac_cv_path_DOXYGEN"
4157+DOXYGEN=$ac_cv_path_DOXYGEN
4158 if test -n "$DOXYGEN"; then
4159-  echo "$ac_t""$DOXYGEN" 1>&6
4160+  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
4161+$as_echo "$DOXYGEN" >&6; }
4162 else
4163-  echo "$ac_t""no" 1>&6
4164+  { $as_echo "$as_me:$LINENO: result: no" >&5
4165+$as_echo "no" >&6; }
4166 fi
4167
4168
4169
4170 # Make sure we can run config.sub.
4171-if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
4172-else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4173-fi
4174-
4175-echo $ac_n "checking host system type""... $ac_c" 1>&6
4176-echo "configure:1221: checking host system type" >&5
4177-
4178-host_alias=$host
4179-case "$host_alias" in
4180-NONE)
4181-  case $nonopt in
4182-  NONE)
4183-    if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
4184-    else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4185-    fi ;;
4186-  *) host_alias=$nonopt ;;
4187-  esac ;;
4188+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4189+  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4190+$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4191+   { (exit 1); exit 1; }; }
4192+
4193+{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4194+$as_echo_n "checking build system type... " >&6; }
4195+if test "${ac_cv_build+set}" = set; then
4196+  $as_echo_n "(cached) " >&6
4197+else
4198+  ac_build_alias=$build_alias
4199+test "x$ac_build_alias" = x &&
4200+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4201+test "x$ac_build_alias" = x &&
4202+  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4203+$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4204+   { (exit 1); exit 1; }; }
4205+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4206+  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4207+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4208+   { (exit 1); exit 1; }; }
4209+
4210+fi
4211+{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4212+$as_echo "$ac_cv_build" >&6; }
4213+case $ac_cv_build in
4214+*-*-*) ;;
4215+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4216+$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4217+   { (exit 1); exit 1; }; };;
4218 esac
4219-
4220-host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
4221-host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4222-host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4223-host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4224-echo "$ac_t""$host" 1>&6
4225-
4226-echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
4227-echo "configure:1242: checking for Cygwin environment" >&5
4228-if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
4229-  echo $ac_n "(cached) $ac_c" 1>&6
4230-else
4231-  cat > conftest.$ac_ext <<EOF
4232-#line 1247 "configure"
4233-#include "confdefs.h"
4234-
4235-int main() {
4236-
4237-#ifndef __CYGWIN__
4238-#define __CYGWIN__ __CYGWIN32__
4239-#endif
4240-return __CYGWIN__;
4241-; return 0; }
4242-EOF
4243-if { (eval echo configure:1258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4244-  rm -rf conftest*
4245-  ac_cv_cygwin=yes
4246-else
4247-  echo "configure: failed program was:" >&5
4248-  cat conftest.$ac_ext >&5
4249-  rm -rf conftest*
4250-  ac_cv_cygwin=no
4251-fi
4252-rm -f conftest*
4253-rm -f conftest*
4254+build=$ac_cv_build
4255+ac_save_IFS=$IFS; IFS='-'
4256+set x $ac_cv_build
4257+shift
4258+build_cpu=$1
4259+build_vendor=$2
4260+shift; shift
4261+# Remember, the first character of IFS is used to create $*,
4262+# except with old shells:
4263+build_os=$*
4264+IFS=$ac_save_IFS
4265+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4266+
4267+
4268+{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4269+$as_echo_n "checking host system type... " >&6; }
4270+if test "${ac_cv_host+set}" = set; then
4271+  $as_echo_n "(cached) " >&6
4272+else
4273+  if test "x$host_alias" = x; then
4274+  ac_cv_host=$ac_cv_build
4275+else
4276+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4277+    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4278+$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4279+   { (exit 1); exit 1; }; }
4280 fi
4281
4282-echo "$ac_t""$ac_cv_cygwin" 1>&6
4283-CYGWIN=
4284-test "$ac_cv_cygwin" = yes && CYGWIN=yes
4285-echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
4286-echo "configure:1275: checking for mingw32 environment" >&5
4287-if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
4288-  echo $ac_n "(cached) $ac_c" 1>&6
4289-else
4290-  cat > conftest.$ac_ext <<EOF
4291-#line 1280 "configure"
4292-#include "confdefs.h"
4293-
4294-int main() {
4295-return __MINGW32__;
4296-; return 0; }
4297-EOF
4298-if { (eval echo configure:1287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4299-  rm -rf conftest*
4300-  ac_cv_mingw32=yes
4301-else
4302-  echo "configure: failed program was:" >&5
4303-  cat conftest.$ac_ext >&5
4304-  rm -rf conftest*
4305-  ac_cv_mingw32=no
4306-fi
4307-rm -f conftest*
4308-rm -f conftest*
4309 fi
4310+{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4311+$as_echo "$ac_cv_host" >&6; }
4312+case $ac_cv_host in
4313+*-*-*) ;;
4314+*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4315+$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4316+   { (exit 1); exit 1; }; };;
4317+esac
4318+host=$ac_cv_host
4319+ac_save_IFS=$IFS; IFS='-'
4320+set x $ac_cv_host
4321+shift
4322+host_cpu=$1
4323+host_vendor=$2
4324+shift; shift
4325+# Remember, the first character of IFS is used to create $*,
4326+# except with old shells:
4327+host_os=$*
4328+IFS=$ac_save_IFS
4329+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4330
4331-echo "$ac_t""$ac_cv_mingw32" 1>&6
4332-MINGW32=
4333-test "$ac_cv_mingw32" = yes && MINGW32=yes
4334-
4335-
4336-echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
4337-echo "configure:1306: checking for executable suffix" >&5
4338-if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
4339-  echo $ac_n "(cached) $ac_c" 1>&6
4340-else
4341-  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
4342-  ac_cv_exeext=.exe
4343-else
4344-  rm -f conftest*
4345-  echo 'int main () { return 0; }' > conftest.$ac_ext
4346-  ac_cv_exeext=
4347-  if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
4348-    for file in conftest.*; do
4349-      case $file in
4350-      *.c | *.o | *.obj) ;;
4351-      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
4352-      esac
4353-    done
4354-  else
4355-    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
4356-  fi
4357-  rm -f conftest*
4358-  test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
4359-fi
4360-fi
4361
4362-EXEEXT=""
4363-test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
4364-echo "$ac_t""${ac_cv_exeext}" 1>&6
4365-ac_exeext=$EXEEXT
4366
4367
4368
4369-    echo $ac_n "checking whether strict compiling is on""... $ac_c" 1>&6
4370-echo "configure:1339: checking whether strict compiling is on" >&5
4371-    # Check whether --enable-strict or --disable-strict was given.
4372+    { $as_echo "$as_me:$LINENO: checking whether strict compiling is on" >&5
4373+$as_echo_n "checking whether strict compiling is on... " >&6; }
4374+    # Check whether --enable-strict was given.
4375 if test "${enable_strict+set}" = set; then
4376-  enableval="$enable_strict"
4377-
4378+  enableval=$enable_strict;
4379         if test "$enableval" = no
4380         then
4381             ac_use_strict_options=no
4382         else
4383             ac_use_strict_options=yes
4384         fi
4385-
4386+
4387 else
4388   ac_use_strict_options=no
4389 fi
4390
4391-    echo "$ac_t""$ac_use_strict_options" 1>&6
4392+    { $as_echo "$as_me:$LINENO: result: $ac_use_strict_options" >&5
4393+$as_echo "$ac_use_strict_options" >&6; }
4394
4395     if test "$ac_use_strict_options" = yes
4396     then
4397@@ -1391,17 +3651,17 @@
4398
4399
4400
4401-    # Check whether --enable-64bit-libs or --disable-64bit-libs was given.
4402+
4403+    # Check whether --enable-64bit-libs was given.
4404 if test "${enable_64bit_libs+set}" = set; then
4405-  enableval="$enable_64bit_libs"
4406-  ENABLE_64BIT_LIBS=${enableval}
4407+  enableval=$enable_64bit_libs; ENABLE_64BIT_LIBS=${enableval}
4408 else
4409   ENABLE_64BIT_LIBS=yes
4410-
4411+
4412 fi
4413
4414-        echo $ac_n "checking for 64-bit executable support""... $ac_c" 1>&6
4415-echo "configure:1405: checking for 64-bit executable support" >&5
4416+        { $as_echo "$as_me:$LINENO: checking for 64-bit executable support" >&5
4417+$as_echo_n "checking for 64-bit executable support... " >&6; }
4418     if test "$ENABLE_64BIT_LIBS" = no; then
4419         case "${host}" in
4420         *-*-hpux*)
4421@@ -1465,7 +3725,7 @@
4422             fi
4423             ;;
4424         *-*-aix*)
4425-            if test "$ac_cv_prog_gcc" = no; then
4426+            if test "$ac_cv_c_compiler_gnu" = no; then
4427                 # Note: Have not tested 64-bitness with gcc.
4428                 # Maybe the flag "-maix64" could be used with gcc?
4429                 OLD_CFLAGS="${CFLAGS}"
4430@@ -1477,23 +3737,50 @@
4431                 if test "$cross_compiling" = yes; then
4432   ENABLE_64BIT_LIBS=no
4433 else
4434-  cat > conftest.$ac_ext <<EOF
4435-#line 1482 "configure"
4436-#include "confdefs.h"
4437+  cat >conftest.$ac_ext <<_ACEOF
4438+/* confdefs.h.  */
4439+_ACEOF
4440+cat confdefs.h >>conftest.$ac_ext
4441+cat >>conftest.$ac_ext <<_ACEOF
4442+/* end confdefs.h.  */
4443 int main(void) {return 0;}
4444-EOF
4445-if { (eval echo configure:1486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4446-then
4447+_ACEOF
4448+rm -f conftest$ac_exeext
4449+if { (ac_try="$ac_link"
4450+case "(($ac_try" in
4451+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4452+  *) ac_try_echo=$ac_try;;
4453+esac
4454+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4455+$as_echo "$ac_try_echo") >&5
4456+  (eval "$ac_link") 2>&5
4457+  ac_status=$?
4458+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4460+  { (case "(($ac_try" in
4461+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4462+  *) ac_try_echo=$ac_try;;
4463+esac
4464+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4465+$as_echo "$ac_try_echo") >&5
4466+  (eval "$ac_try") 2>&5
4467+  ac_status=$?
4468+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469+  (exit $ac_status); }; }; then
4470   ENABLE_64BIT_LIBS=yes
4471 else
4472-  echo "configure: failed program was:" >&5
4473-  cat conftest.$ac_ext >&5
4474-  rm -fr conftest*
4475-  ENABLE_64BIT_LIBS=no
4476+  $as_echo "$as_me: program exited with status $ac_status" >&5
4477+$as_echo "$as_me: failed program was:" >&5
4478+sed 's/^/| /' conftest.$ac_ext >&5
4479+
4480+( exit $ac_status )
4481+ENABLE_64BIT_LIBS=no
4482 fi
4483-rm -fr conftest*
4484+rm -rf conftest.dSYM
4485+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4486 fi
4487
4488+
4489                 if test "$ENABLE_64BIT_LIBS" = no; then
4490                     CFLAGS="${OLD_CFLAGS}"
4491                     CXXFLAGS="${OLD_CXXFLAGS}"
4492@@ -1504,7 +3791,7 @@
4493             fi
4494             ;;
4495         *-*-hpux*)
4496-
4497+
4498             OLD_CFLAGS="${CFLAGS}"
4499             OLD_CXXFLAGS="${CXXFLAGS}"
4500             CFLAGS="${CFLAGS} +DD64"
4501@@ -1512,23 +3799,50 @@
4502             if test "$cross_compiling" = yes; then
4503   ENABLE_64BIT_LIBS=no
4504 else
4505-  cat > conftest.$ac_ext <<EOF
4506-#line 1517 "configure"
4507-#include "confdefs.h"
4508+  cat >conftest.$ac_ext <<_ACEOF
4509+/* confdefs.h.  */
4510+_ACEOF
4511+cat confdefs.h >>conftest.$ac_ext
4512+cat >>conftest.$ac_ext <<_ACEOF
4513+/* end confdefs.h.  */
4514 int main(void) {return 0;}
4515-EOF
4516-if { (eval echo configure:1521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4517-then
4518+_ACEOF
4519+rm -f conftest$ac_exeext
4520+if { (ac_try="$ac_link"
4521+case "(($ac_try" in
4522+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523+  *) ac_try_echo=$ac_try;;
4524+esac
4525+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4526+$as_echo "$ac_try_echo") >&5
4527+  (eval "$ac_link") 2>&5
4528+  ac_status=$?
4529+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4531+  { (case "(($ac_try" in
4532+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533+  *) ac_try_echo=$ac_try;;
4534+esac
4535+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4536+$as_echo "$ac_try_echo") >&5
4537+  (eval "$ac_try") 2>&5
4538+  ac_status=$?
4539+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540+  (exit $ac_status); }; }; then
4541   ENABLE_64BIT_LIBS=yes
4542 else
4543-  echo "configure: failed program was:" >&5
4544-  cat conftest.$ac_ext >&5
4545-  rm -fr conftest*
4546-  ENABLE_64BIT_LIBS=no
4547+  $as_echo "$as_me: program exited with status $ac_status" >&5
4548+$as_echo "$as_me: failed program was:" >&5
4549+sed 's/^/| /' conftest.$ac_ext >&5
4550+
4551+( exit $ac_status )
4552+ENABLE_64BIT_LIBS=no
4553 fi
4554-rm -fr conftest*
4555+rm -rf conftest.dSYM
4556+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4557 fi
4558
4559+
4560             if test "$ENABLE_64BIT_LIBS" = no; then
4561                 CFLAGS="${OLD_CFLAGS}"
4562                 CXXFLAGS="${OLD_CXXFLAGS}"
4563@@ -1537,23 +3851,50 @@
4564                 if test "$cross_compiling" = yes; then
4565   ENABLE_64BIT_LIBS=no
4566 else
4567-  cat > conftest.$ac_ext <<EOF
4568-#line 1542 "configure"
4569-#include "confdefs.h"
4570+  cat >conftest.$ac_ext <<_ACEOF
4571+/* confdefs.h.  */
4572+_ACEOF
4573+cat confdefs.h >>conftest.$ac_ext
4574+cat >>conftest.$ac_ext <<_ACEOF
4575+/* end confdefs.h.  */
4576 int main(void) {return 0;}
4577-EOF
4578-if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4579-then
4580+_ACEOF
4581+rm -f conftest$ac_exeext
4582+if { (ac_try="$ac_link"
4583+case "(($ac_try" in
4584+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585+  *) ac_try_echo=$ac_try;;
4586+esac
4587+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4588+$as_echo "$ac_try_echo") >&5
4589+  (eval "$ac_link") 2>&5
4590+  ac_status=$?
4591+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4593+  { (case "(($ac_try" in
4594+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595+  *) ac_try_echo=$ac_try;;
4596+esac
4597+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4598+$as_echo "$ac_try_echo") >&5
4599+  (eval "$ac_try") 2>&5
4600+  ac_status=$?
4601+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602+  (exit $ac_status); }; }; then
4603   ENABLE_64BIT_LIBS=yes
4604 else
4605-  echo "configure: failed program was:" >&5
4606-  cat conftest.$ac_ext >&5
4607-  rm -fr conftest*
4608-  ENABLE_64BIT_LIBS=no
4609+  $as_echo "$as_me: program exited with status $ac_status" >&5
4610+$as_echo "$as_me: failed program was:" >&5
4611+sed 's/^/| /' conftest.$ac_ext >&5
4612+
4613+( exit $ac_status )
4614+ENABLE_64BIT_LIBS=no
4615 fi
4616-rm -fr conftest*
4617+rm -rf conftest.dSYM
4618+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4619 fi
4620
4621+
4622                 if test "$ENABLE_64BIT_LIBS" = no; then
4623                     CFLAGS="${OLD_CFLAGS}"
4624                     CXXFLAGS="${OLD_CXXFLAGS}"
4625@@ -1565,34 +3906,35 @@
4626             ;;
4627         esac
4628     fi
4629-        echo "$ac_t""$ENABLE_64BIT_LIBS" 1>&6
4630+        { $as_echo "$as_me:$LINENO: result: $ENABLE_64BIT_LIBS" >&5
4631+$as_echo "$ENABLE_64BIT_LIBS" >&6; }
4632
4633
4634
4635
4636
4637-	echo $ac_n "checking which Makefile fragment to use""... $ac_c" 1>&6
4638-echo "configure:1576: checking which Makefile fragment to use" >&5
4639-if eval "test \"`echo '$''{'icu_cv_host_frag'+set}'`\" = set"; then
4640-  echo $ac_n "(cached) $ac_c" 1>&6
4641+	{ $as_echo "$as_me:$LINENO: checking which Makefile fragment to use" >&5
4642+$as_echo_n "checking which Makefile fragment to use... " >&6; }
4643+if test "${icu_cv_host_frag+set}" = set; then
4644+  $as_echo_n "(cached) " >&6
4645 else
4646-
4647+
4648 case "${host}" in
4649 *-*-solaris*)
4650-	if test "$GCC" = yes; then
4651-		icu_cv_host_frag=mh-solaris-gcc
4652+	if test "$GCC" = yes; then
4653+		icu_cv_host_frag=mh-solaris-gcc
4654 	else
4655 		icu_cv_host_frag=mh-solaris
4656 	fi ;;
4657 alpha*-*-linux-gnu)
4658 	if test "$GCC" = yes; then
4659 		icu_cv_host_frag=mh-alpha-linux-gcc
4660-	else
4661+	else
4662 		icu_cv_host_frag=mh-alpha-linux-cc
4663 	fi ;;
4664 *-*-linux*) icu_cv_host_frag=mh-linux ;;
4665 *-*-cygwin)
4666-	if test "$ac_cv_prog_gcc" = yes; then
4667+	if test "$ac_cv_c_compiler_gnu" = yes; then
4668 	  	icu_cv_host_frag=mh-cygwin
4669 	else
4670 	  	icu_cv_host_frag=mh-cygwin-msvc
4671@@ -1629,113 +3971,169 @@
4672 *-sequent-*) 	icu_cv_host_frag=mh-ptx ;;
4673 *) 		icu_cv_host_frag=mh-unknown ;;
4674 esac
4675-
4676-
4677-fi
4678
4679-echo "$ac_t""$icu_cv_host_frag" 1>&6
4680+
4681+fi
4682+{ $as_echo "$as_me:$LINENO: result: $icu_cv_host_frag" >&5
4683+$as_echo "$icu_cv_host_frag" >&6; }
4684
4685
4686 case "${host}" in
4687-	*-*-hpux*) 	echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
4688-echo "configure:1642: checking for floor in -lm" >&5
4689-ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
4690-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4691-  echo $ac_n "(cached) $ac_c" 1>&6
4692+	*-*-hpux*) 	{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
4693+$as_echo_n "checking for floor in -lm... " >&6; }
4694+if test "${ac_cv_lib_m_floor+set}" = set; then
4695+  $as_echo_n "(cached) " >&6
4696 else
4697-  ac_save_LIBS="$LIBS"
4698+  ac_check_lib_save_LIBS=$LIBS
4699 LIBS="-lm  $LIBS"
4700-cat > conftest.$ac_ext <<EOF
4701-#line 1650 "configure"
4702-#include "confdefs.h"
4703-/* Override any gcc2 internal prototype to avoid an error.  */
4704-/* We use char because int might match the return type of a gcc2
4705-    builtin and then its argument prototype would still apply.  */
4706-char floor();
4707-
4708-int main() {
4709-floor()
4710-; return 0; }
4711-EOF
4712-if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4713-  rm -rf conftest*
4714-  eval "ac_cv_lib_$ac_lib_var=yes"
4715-else
4716-  echo "configure: failed program was:" >&5
4717-  cat conftest.$ac_ext >&5
4718-  rm -rf conftest*
4719-  eval "ac_cv_lib_$ac_lib_var=no"
4720-fi
4721-rm -f conftest*
4722-LIBS="$ac_save_LIBS"
4723-
4724-fi
4725-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4726-  echo "$ac_t""yes" 1>&6
4727+cat >conftest.$ac_ext <<_ACEOF
4728+/* confdefs.h.  */
4729+_ACEOF
4730+cat confdefs.h >>conftest.$ac_ext
4731+cat >>conftest.$ac_ext <<_ACEOF
4732+/* end confdefs.h.  */
4733+
4734+/* Override any GCC internal prototype to avoid an error.
4735+   Use char because int might match the return type of a GCC
4736+   builtin and then its argument prototype would still apply.  */
4737+#ifdef __cplusplus
4738+extern "C"
4739+#endif
4740+char floor ();
4741+int
4742+main ()
4743+{
4744+return floor ();
4745+  ;
4746+  return 0;
4747+}
4748+_ACEOF
4749+rm -f conftest.$ac_objext conftest$ac_exeext
4750+if { (ac_try="$ac_link"
4751+case "(($ac_try" in
4752+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4753+  *) ac_try_echo=$ac_try;;
4754+esac
4755+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4756+$as_echo "$ac_try_echo") >&5
4757+  (eval "$ac_link") 2>conftest.er1
4758+  ac_status=$?
4759+  grep -v '^ *+' conftest.er1 >conftest.err
4760+  rm -f conftest.er1
4761+  cat conftest.err >&5
4762+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763+  (exit $ac_status); } && {
4764+	 test -z "$ac_c_werror_flag" ||
4765+	 test ! -s conftest.err
4766+       } && test -s conftest$ac_exeext && {
4767+	 test "$cross_compiling" = yes ||
4768+	 $as_test_x conftest$ac_exeext
4769+       }; then
4770+  ac_cv_lib_m_floor=yes
4771+else
4772+  $as_echo "$as_me: failed program was:" >&5
4773+sed 's/^/| /' conftest.$ac_ext >&5
4774+
4775+	ac_cv_lib_m_floor=no
4776+fi
4777+
4778+rm -rf conftest.dSYM
4779+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780+      conftest$ac_exeext conftest.$ac_ext
4781+LIBS=$ac_check_lib_save_LIBS
4782+fi
4783+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
4784+$as_echo "$ac_cv_lib_m_floor" >&6; }
4785+if test "x$ac_cv_lib_m_floor" = x""yes; then
4786   LIB_M="-lm"
4787-else
4788-  echo "$ac_t""no" 1>&6
4789 fi
4790  ;;
4791-
4792-	*) 		echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
4793-echo "configure:1683: checking for floor in -lm" >&5
4794-ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
4795-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4796-  echo $ac_n "(cached) $ac_c" 1>&6
4797+
4798+	*)
4799+{ $as_echo "$as_me:$LINENO: checking for floor in -lm" >&5
4800+$as_echo_n "checking for floor in -lm... " >&6; }
4801+if test "${ac_cv_lib_m_floor+set}" = set; then
4802+  $as_echo_n "(cached) " >&6
4803 else
4804-  ac_save_LIBS="$LIBS"
4805+  ac_check_lib_save_LIBS=$LIBS
4806 LIBS="-lm  $LIBS"
4807-cat > conftest.$ac_ext <<EOF
4808-#line 1691 "configure"
4809-#include "confdefs.h"
4810-/* Override any gcc2 internal prototype to avoid an error.  */
4811-/* We use char because int might match the return type of a gcc2
4812-    builtin and then its argument prototype would still apply.  */
4813-char floor();
4814-
4815-int main() {
4816-floor()
4817-; return 0; }
4818-EOF
4819-if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4820-  rm -rf conftest*
4821-  eval "ac_cv_lib_$ac_lib_var=yes"
4822-else
4823-  echo "configure: failed program was:" >&5
4824-  cat conftest.$ac_ext >&5
4825-  rm -rf conftest*
4826-  eval "ac_cv_lib_$ac_lib_var=no"
4827-fi
4828-rm -f conftest*
4829-LIBS="$ac_save_LIBS"
4830-
4831-fi
4832-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4833-  echo "$ac_t""yes" 1>&6
4834-    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4835-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4836-  cat >> confdefs.h <<EOF
4837-#define $ac_tr_lib 1
4838-EOF
4839+cat >conftest.$ac_ext <<_ACEOF
4840+/* confdefs.h.  */
4841+_ACEOF
4842+cat confdefs.h >>conftest.$ac_ext
4843+cat >>conftest.$ac_ext <<_ACEOF
4844+/* end confdefs.h.  */
4845+
4846+/* Override any GCC internal prototype to avoid an error.
4847+   Use char because int might match the return type of a GCC
4848+   builtin and then its argument prototype would still apply.  */
4849+#ifdef __cplusplus
4850+extern "C"
4851+#endif
4852+char floor ();
4853+int
4854+main ()
4855+{
4856+return floor ();
4857+  ;
4858+  return 0;
4859+}
4860+_ACEOF
4861+rm -f conftest.$ac_objext conftest$ac_exeext
4862+if { (ac_try="$ac_link"
4863+case "(($ac_try" in
4864+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865+  *) ac_try_echo=$ac_try;;
4866+esac
4867+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4868+$as_echo "$ac_try_echo") >&5
4869+  (eval "$ac_link") 2>conftest.er1
4870+  ac_status=$?
4871+  grep -v '^ *+' conftest.er1 >conftest.err
4872+  rm -f conftest.er1
4873+  cat conftest.err >&5
4874+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875+  (exit $ac_status); } && {
4876+	 test -z "$ac_c_werror_flag" ||
4877+	 test ! -s conftest.err
4878+       } && test -s conftest$ac_exeext && {
4879+	 test "$cross_compiling" = yes ||
4880+	 $as_test_x conftest$ac_exeext
4881+       }; then
4882+  ac_cv_lib_m_floor=yes
4883+else
4884+  $as_echo "$as_me: failed program was:" >&5
4885+sed 's/^/| /' conftest.$ac_ext >&5
4886+
4887+	ac_cv_lib_m_floor=no
4888+fi
4889+
4890+rm -rf conftest.dSYM
4891+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4892+      conftest$ac_exeext conftest.$ac_ext
4893+LIBS=$ac_check_lib_save_LIBS
4894+fi
4895+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
4896+$as_echo "$ac_cv_lib_m_floor" >&6; }
4897+if test "x$ac_cv_lib_m_floor" = x""yes; then
4898+  cat >>confdefs.h <<_ACEOF
4899+#define HAVE_LIBM 1
4900+_ACEOF
4901
4902   LIBS="-lm $LIBS"
4903
4904-else
4905-  echo "$ac_t""no" 1>&6
4906 fi
4907-
4908+
4909 			LIB_M="" ;;
4910 esac
4911
4912
4913-echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
4914-echo "configure:1734: checking whether to build shared libraries" >&5
4915+{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
4916+$as_echo_n "checking whether to build shared libraries... " >&6; }
4917 enabled=no
4918-# Check whether --enable-shared or --disable-shared was given.
4919+# Check whether --enable-shared was given.
4920 if test "${enable_shared+set}" = set; then
4921-  enableval="$enable_shared"
4922-   case "${enableval}" in
4923+  enableval=$enable_shared;  case "${enableval}" in
4924 	     yes|"") enabled=yes; ENABLE_SHARED=YES ;;
4925 	     no);;
4926 	     *) ;;
4927@@ -1745,162 +4143,230 @@
4928
4929 fi
4930
4931-echo "$ac_t""$enabled" 1>&6
4932+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
4933+$as_echo "$enabled" >&6; }
4934
4935
4936-echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
4937-echo "configure:1753: checking whether to build static libraries" >&5
4938+{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
4939+$as_echo_n "checking whether to build static libraries... " >&6; }
4940 enabled=no
4941-# Check whether --enable-static or --disable-static was given.
4942+# Check whether --enable-static was given.
4943 if test "${enable_static+set}" = set; then
4944-  enableval="$enable_static"
4945-   case "${enableval}" in
4946+  enableval=$enable_static;  case "${enableval}" in
4947 	     yes|"") enabled=yes; ENABLE_STATIC=YES ;;
4948 	     no) ;;
4949 	     *) ;;
4950     esac
4951 fi
4952
4953-echo "$ac_t""$enabled" 1>&6
4954+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
4955+$as_echo "$enabled" >&6; }
4956
4957
4958-echo $ac_n "checking whether to build debug libraries""... $ac_c" 1>&6
4959-echo "configure:1769: checking whether to build debug libraries" >&5
4960+{ $as_echo "$as_me:$LINENO: checking whether to build debug libraries" >&5
4961+$as_echo_n "checking whether to build debug libraries... " >&6; }
4962 enabled=no
4963 ENABLE_DEBUG=0
4964-# Check whether --enable-debug or --disable-debug was given.
4965+# Check whether --enable-debug was given.
4966 if test "${enable_debug+set}" = set; then
4967-  enableval="$enable_debug"
4968-   case "${enableval}" in
4969+  enableval=$enable_debug;  case "${enableval}" in
4970          yes|"") enabled=yes; ENABLE_DEBUG=1 ;;
4971          *) ;;
4972     esac
4973 fi
4974
4975-echo "$ac_t""$enabled" 1>&6
4976+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
4977+$as_echo "$enabled" >&6; }
4978
4979
4980-echo $ac_n "checking whether to build release libraries""... $ac_c" 1>&6
4981-echo "configure:1785: checking whether to build release libraries" >&5
4982+{ $as_echo "$as_me:$LINENO: checking whether to build release libraries" >&5
4983+$as_echo_n "checking whether to build release libraries... " >&6; }
4984 enabled=yes
4985 ENABLE_RELEASE=1
4986-# Check whether --enable-release or --disable-release was given.
4987+# Check whether --enable-release was given.
4988 if test "${enable_release+set}" = set; then
4989-  enableval="$enable_release"
4990-   case "${enableval}" in
4991+  enableval=$enable_release;  case "${enableval}" in
4992          no) enabled=no; ENABLE_RELEASE=0 ;;
4993          *) ;;
4994     esac
4995 fi
4996
4997-echo "$ac_t""$enabled" 1>&6
4998+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
4999+$as_echo "$enabled" >&6; }
5000
5001
5002-# Extract the first word of "ranlib", so it can be a program name with args.
5003-set dummy ranlib; ac_word=$2
5004-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5005-echo "configure:1803: checking for $ac_word" >&5
5006-if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5007-  echo $ac_n "(cached) $ac_c" 1>&6
5008+if test -n "$ac_tool_prefix"; then
5009+  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5010+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5011+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5012+$as_echo_n "checking for $ac_word... " >&6; }
5013+if test "${ac_cv_prog_RANLIB+set}" = set; then
5014+  $as_echo_n "(cached) " >&6
5015 else
5016   if test -n "$RANLIB"; then
5017   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5018 else
5019-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
5020-  ac_dummy="$PATH"
5021-  for ac_dir in $ac_dummy; do
5022-    test -z "$ac_dir" && ac_dir=.
5023-    if test -f $ac_dir/$ac_word; then
5024-      ac_cv_prog_RANLIB="ranlib"
5025-      break
5026-    fi
5027-  done
5028-  IFS="$ac_save_ifs"
5029-  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
5030+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031+for as_dir in $PATH
5032+do
5033+  IFS=$as_save_IFS
5034+  test -z "$as_dir" && as_dir=.
5035+  for ac_exec_ext in '' $ac_executable_extensions; do
5036+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037+    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5038+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5039+    break 2
5040+  fi
5041+done
5042+done
5043+IFS=$as_save_IFS
5044+
5045 fi
5046 fi
5047-RANLIB="$ac_cv_prog_RANLIB"
5048+RANLIB=$ac_cv_prog_RANLIB
5049 if test -n "$RANLIB"; then
5050-  echo "$ac_t""$RANLIB" 1>&6
5051+  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5052+$as_echo "$RANLIB" >&6; }
5053+else
5054+  { $as_echo "$as_me:$LINENO: result: no" >&5
5055+$as_echo "no" >&6; }
5056+fi
5057+
5058+
5059+fi
5060+if test -z "$ac_cv_prog_RANLIB"; then
5061+  ac_ct_RANLIB=$RANLIB
5062+  # Extract the first word of "ranlib", so it can be a program name with args.
5063+set dummy ranlib; ac_word=$2
5064+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5065+$as_echo_n "checking for $ac_word... " >&6; }
5066+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5067+  $as_echo_n "(cached) " >&6
5068+else
5069+  if test -n "$ac_ct_RANLIB"; then
5070+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5071+else
5072+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073+for as_dir in $PATH
5074+do
5075+  IFS=$as_save_IFS
5076+  test -z "$as_dir" && as_dir=.
5077+  for ac_exec_ext in '' $ac_executable_extensions; do
5078+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079+    ac_cv_prog_ac_ct_RANLIB="ranlib"
5080+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5081+    break 2
5082+  fi
5083+done
5084+done
5085+IFS=$as_save_IFS
5086+
5087+fi
5088+fi
5089+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5090+if test -n "$ac_ct_RANLIB"; then
5091+  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5092+$as_echo "$ac_ct_RANLIB" >&6; }
5093+else
5094+  { $as_echo "$as_me:$LINENO: result: no" >&5
5095+$as_echo "no" >&6; }
5096+fi
5097+
5098+  if test "x$ac_ct_RANLIB" = x; then
5099+    RANLIB=":"
5100+  else
5101+    case $cross_compiling:$ac_tool_warned in
5102+yes:)
5103+{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5104+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105+ac_tool_warned=yes ;;
5106+esac
5107+    RANLIB=$ac_ct_RANLIB
5108+  fi
5109 else
5110-  echo "$ac_t""no" 1>&6
5111+  RANLIB="$ac_cv_prog_RANLIB"
5112 fi
5113
5114 # Extract the first word of "ar", so it can be a program name with args.
5115 set dummy ar; ac_word=$2
5116-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5117-echo "configure:1833: checking for $ac_word" >&5
5118-if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
5119-  echo $ac_n "(cached) $ac_c" 1>&6
5120+{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5121+$as_echo_n "checking for $ac_word... " >&6; }
5122+if test "${ac_cv_path_AR+set}" = set; then
5123+  $as_echo_n "(cached) " >&6
5124 else
5125-  case "$AR" in
5126-  /*)
5127+  case $AR in
5128+  [\\/]* | ?:[\\/]*)
5129   ac_cv_path_AR="$AR" # Let the user override the test with a path.
5130   ;;
5131-  ?:/*)
5132-  ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
5133-  ;;
5134   *)
5135-  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
5136-  ac_dummy="$PATH:/bin:/usr/bin:/usr/ccs/bin"
5137-  for ac_dir in $ac_dummy; do
5138-    test -z "$ac_dir" && ac_dir=.
5139-    if test -f $ac_dir/$ac_word; then
5140-      ac_cv_path_AR="$ac_dir/$ac_word"
5141-      break
5142-    fi
5143-  done
5144-  IFS="$ac_save_ifs"
5145+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146+as_dummy="$PATH:/bin:/usr/bin:/usr/ccs/bin"
5147+for as_dir in $as_dummy
5148+do
5149+  IFS=$as_save_IFS
5150+  test -z "$as_dir" && as_dir=.
5151+  for ac_exec_ext in '' $ac_executable_extensions; do
5152+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153+    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
5154+    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155+    break 2
5156+  fi
5157+done
5158+done
5159+IFS=$as_save_IFS
5160+
5161   test -z "$ac_cv_path_AR" && ac_cv_path_AR="echo archiver ar not found re-run configure ; false"
5162   ;;
5163 esac
5164 fi
5165-AR="$ac_cv_path_AR"
5166+AR=$ac_cv_path_AR
5167 if test -n "$AR"; then
5168-  echo "$ac_t""$AR" 1>&6
5169+  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5170+$as_echo "$AR" >&6; }
5171 else
5172-  echo "$ac_t""no" 1>&6
5173+  { $as_echo "$as_me:$LINENO: result: no" >&5
5174+$as_echo "no" >&6; }
5175 fi
5176
5177
5178-echo $ac_n "checking whether to enable renaming of symbols""... $ac_c" 1>&6
5179-echo "configure:1868: checking whether to enable renaming of symbols" >&5
5180+
5181+{ $as_echo "$as_me:$LINENO: checking whether to enable renaming of symbols" >&5
5182+$as_echo_n "checking whether to enable renaming of symbols... " >&6; }
5183 enabled=yes
5184 U_DISABLE_RENAMING=0
5185-# Check whether --enable-renaming or --disable-renaming was given.
5186+# Check whether --enable-renaming was given.
5187 if test "${enable_renaming+set}" = set; then
5188-  enableval="$enable_renaming"
5189-   case "${enableval}" in
5190+  enableval=$enable_renaming;  case "${enableval}" in
5191 	     yes|"") enabled=yes ;;
5192 	     no) enabled=no; U_DISABLE_RENAMING=1 ;;
5193 	     *) ;;
5194     esac
5195 fi
5196
5197-echo "$ac_t""$enabled" 1>&6
5198+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
5199+$as_echo "$enabled" >&6; }
5200
5201
5202-echo $ac_n "checking whether to enable function and data tracing""... $ac_c" 1>&6
5203-echo "configure:1885: checking whether to enable function and data tracing" >&5
5204+{ $as_echo "$as_me:$LINENO: checking whether to enable function and data tracing" >&5
5205+$as_echo_n "checking whether to enable function and data tracing... " >&6; }
5206 enabled=yes
5207 U_ENABLE_TRACING=1
5208-# Check whether --enable-tracing or --disable-tracing was given.
5209+# Check whether --enable-tracing was given.
5210 if test "${enable_tracing+set}" = set; then
5211-  enableval="$enable_tracing"
5212-   case "${enableval}" in
5213+  enableval=$enable_tracing;  case "${enableval}" in
5214 	     yes|"") enabled=yes ;;
5215 	     no) enabled=no; U_ENABLE_TRACING=0 ;;
5216 	     *) ;;
5217     esac
5218 fi
5219
5220-echo "$ac_t""$enabled" 1>&6
5221+{ $as_echo "$as_me:$LINENO: result: $enabled" >&5
5222+$as_echo "$enabled" >&6; }
5223
5224
5225-# Check whether --enable-rpath or --disable-rpath was given.
5226+# Check whether --enable-rpath was given.
5227 if test "${enable_rpath+set}" = set; then
5228-  enableval="$enable_rpath"
5229-   case "${enableval}" in
5230+  enableval=$enable_rpath;  case "${enableval}" in
5231 	     yes|"") ENABLE_RPATH=YES ;;
5232 	     no) ;;
5233 	     *) ;;
5234@@ -1913,34 +4379,60 @@
5235
5236
5237
5238-echo $ac_n "checking for definition of U_INLINE for C""... $ac_c" 1>&6
5239-echo "configure:1918: checking for definition of U_INLINE for C" >&5
5240-if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
5241-  echo $ac_n "(cached) $ac_c" 1>&6
5242+{ $as_echo "$as_me:$LINENO: checking for definition of U_INLINE for C" >&5
5243+$as_echo_n "checking for definition of U_INLINE for C... " >&6; }
5244+if test "${ac_cv_c_inline+set}" = set; then
5245+  $as_echo_n "(cached) " >&6
5246 else
5247   ac_cv_c_inline=no
5248 for ac_kw in inline __inline__ __inline; do
5249-  cat > conftest.$ac_ext <<EOF
5250-#line 1925 "configure"
5251-#include "confdefs.h"
5252+  cat >conftest.$ac_ext <<_ACEOF
5253+/* confdefs.h.  */
5254+_ACEOF
5255+cat confdefs.h >>conftest.$ac_ext
5256+cat >>conftest.$ac_ext <<_ACEOF
5257+/* end confdefs.h.  */
5258
5259-int main() {
5260+int
5261+main ()
5262+{
5263 } $ac_kw foo() {
5264-; return 0; }
5265-EOF
5266-if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5267-  rm -rf conftest*
5268+  ;
5269+  return 0;
5270+}
5271+_ACEOF
5272+rm -f conftest.$ac_objext
5273+if { (ac_try="$ac_compile"
5274+case "(($ac_try" in
5275+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276+  *) ac_try_echo=$ac_try;;
5277+esac
5278+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5279+$as_echo "$ac_try_echo") >&5
5280+  (eval "$ac_compile") 2>conftest.er1
5281+  ac_status=$?
5282+  grep -v '^ *+' conftest.er1 >conftest.err
5283+  rm -f conftest.er1
5284+  cat conftest.err >&5
5285+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286+  (exit $ac_status); } && {
5287+	 test -z "$ac_c_werror_flag" ||
5288+	 test ! -s conftest.err
5289+       } && test -s conftest.$ac_objext; then
5290   ac_cv_c_inline=$ac_kw; break
5291 else
5292-  echo "configure: failed program was:" >&5
5293-  cat conftest.$ac_ext >&5
5294+  $as_echo "$as_me: failed program was:" >&5
5295+sed 's/^/| /' conftest.$ac_ext >&5
5296+
5297+
5298 fi
5299-rm -f conftest*
5300+
5301+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5302   done
5303-
5304-fi
5305
5306-echo "$ac_t""$ac_cv_c_inline" 1>&6
5307+fi
5308+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5309+$as_echo "$ac_cv_c_inline" >&6; }
5310 case "$ac_cv_c_inline" in
5311       yes)       U_INLINE= "inline" ;;
5312 	  no )       U_INLINE= ;;
5313@@ -1950,13 +4442,14 @@
5314
5315 threads=true
5316
5317-# Check whether --enable-threads or --disable-threads was given.
5318+# Check whether --enable-threads was given.
5319 if test "${enable_threads+set}" = set; then
5320-  enableval="$enable_threads"
5321-  case "${enableval}" in
5322+  enableval=$enable_threads; case "${enableval}" in
5323 		yes) threads=true ;;
5324 		no)  threads=false ;;
5325-		*) { echo "configure: error: bad value ${enableval} for --enable-threads" 1>&2; exit 1; } ;;
5326+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-threads" >&5
5327+$as_echo "$as_me: error: bad value ${enableval} for --enable-threads" >&2;}
5328+   { (exit 1); exit 1; }; } ;;
5329 		esac
5330 else
5331   threads=true
5332@@ -1972,171 +4465,295 @@
5333 ICU_USE_THREADS=0
5334
5335 if test $threads = true; then
5336-
5337-  echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
5338-echo "configure:1978: checking for pthread_attr_init in -lpthread" >&5
5339-ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
5340-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5341-  echo $ac_n "(cached) $ac_c" 1>&6
5342+
5343+
5344+{ $as_echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5
5345+$as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; }
5346+if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then
5347+  $as_echo_n "(cached) " >&6
5348 else
5349-  ac_save_LIBS="$LIBS"
5350+  ac_check_lib_save_LIBS=$LIBS
5351 LIBS="-lpthread  $LIBS"
5352-cat > conftest.$ac_ext <<EOF
5353-#line 1986 "configure"
5354-#include "confdefs.h"
5355-/* Override any gcc2 internal prototype to avoid an error.  */
5356-/* We use char because int might match the return type of a gcc2
5357-    builtin and then its argument prototype would still apply.  */
5358-char pthread_attr_init();
5359-
5360-int main() {
5361-pthread_attr_init()
5362-; return 0; }
5363-EOF
5364-if { (eval echo configure:1997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5365-  rm -rf conftest*
5366-  eval "ac_cv_lib_$ac_lib_var=yes"
5367-else
5368-  echo "configure: failed program was:" >&5
5369-  cat conftest.$ac_ext >&5
5370-  rm -rf conftest*
5371-  eval "ac_cv_lib_$ac_lib_var=no"
5372-fi
5373-rm -f conftest*
5374-LIBS="$ac_save_LIBS"
5375-
5376-fi
5377-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5378-  echo "$ac_t""yes" 1>&6
5379-    ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5380-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5381-  cat >> confdefs.h <<EOF
5382-#define $ac_tr_lib 1
5383-EOF
5384+cat >conftest.$ac_ext <<_ACEOF
5385+/* confdefs.h.  */
5386+_ACEOF
5387+cat confdefs.h >>conftest.$ac_ext
5388+cat >>conftest.$ac_ext <<_ACEOF
5389+/* end confdefs.h.  */
5390+
5391+/* Override any GCC internal prototype to avoid an error.
5392+   Use char because int might match the return type of a GCC
5393+   builtin and then its argument prototype would still apply.  */
5394+#ifdef __cplusplus
5395+extern "C"
5396+#endif
5397+char pthread_attr_init ();
5398+int
5399+main ()
5400+{
5401+return pthread_attr_init ();
5402+  ;
5403+  return 0;
5404+}
5405+_ACEOF
5406+rm -f conftest.$ac_objext conftest$ac_exeext
5407+if { (ac_try="$ac_link"
5408+case "(($ac_try" in
5409+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5410+  *) ac_try_echo=$ac_try;;
5411+esac
5412+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5413+$as_echo "$ac_try_echo") >&5
5414+  (eval "$ac_link") 2>conftest.er1
5415+  ac_status=$?
5416+  grep -v '^ *+' conftest.er1 >conftest.err
5417+  rm -f conftest.er1
5418+  cat conftest.err >&5
5419+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420+  (exit $ac_status); } && {
5421+	 test -z "$ac_c_werror_flag" ||
5422+	 test ! -s conftest.err
5423+       } && test -s conftest$ac_exeext && {
5424+	 test "$cross_compiling" = yes ||
5425+	 $as_test_x conftest$ac_exeext
5426+       }; then
5427+  ac_cv_lib_pthread_pthread_attr_init=yes
5428+else
5429+  $as_echo "$as_me: failed program was:" >&5
5430+sed 's/^/| /' conftest.$ac_ext >&5
5431+
5432+	ac_cv_lib_pthread_pthread_attr_init=no
5433+fi
5434+
5435+rm -rf conftest.dSYM
5436+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5437+      conftest$ac_exeext conftest.$ac_ext
5438+LIBS=$ac_check_lib_save_LIBS
5439+fi
5440+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5
5441+$as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; }
5442+if test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then
5443+  cat >>confdefs.h <<_ACEOF
5444+#define HAVE_LIBPTHREAD 1
5445+_ACEOF
5446
5447   LIBS="-lpthread $LIBS"
5448
5449-else
5450-  echo "$ac_t""no" 1>&6
5451 fi
5452
5453   if test $ac_cv_lib_pthread_pthread_attr_init = yes; then
5454    ICU_USE_THREADS=1
5455   else
5456-
5457-
5458-echo $ac_n "checking for library containing pthread_mutex_destroy""... $ac_c" 1>&6
5459-echo "configure:2030: checking for library containing pthread_mutex_destroy" >&5
5460-if eval "test \"`echo '$''{'ac_cv_search_pthread_mutex_destroy'+set}'`\" = set"; then
5461-  echo $ac_n "(cached) $ac_c" 1>&6
5462+
5463+
5464+{ $as_echo "$as_me:$LINENO: checking for library containing pthread_mutex_destroy" >&5
5465+$as_echo_n "checking for library containing pthread_mutex_destroy... " >&6; }
5466+if test "${ac_cv_search_pthread_mutex_destroy+set}" = set; then
5467+  $as_echo_n "(cached) " >&6
5468 else
5469   ac_func_search_save_LIBS="$LIBS"
5470 ac_cv_search_pthread_mutex_destroy="no"
5471 for i in pthread pthreads c_r ; do
5472 LIBS="-l$i  $ac_func_search_save_LIBS"
5473-cat > conftest.$ac_ext <<EOF
5474-#line 2039 "configure"
5475-#include "confdefs.h"
5476-/* Override any gcc2 internal prototype to avoid an error.  */
5477-/* We use char because int might match the return type of a gcc2
5478-    builtin and then its argument prototype would still apply.  */
5479-char pthread_mutex_destroy();
5480-
5481-int main() {
5482-pthread_mutex_destroy()
5483-; return 0; }
5484-EOF
5485-if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5486-  rm -rf conftest*
5487+cat >conftest.$ac_ext <<_ACEOF
5488+/* confdefs.h.  */
5489+_ACEOF
5490+cat confdefs.h >>conftest.$ac_ext
5491+cat >>conftest.$ac_ext <<_ACEOF
5492+/* end confdefs.h.  */
5493+
5494+/* Override any GCC internal prototype to avoid an error.
5495+   Use char because int might match the return type of a GCC
5496+   builtin and then its argument prototype would still apply.  */
5497+#ifdef __cplusplus
5498+extern "C"
5499+#endif
5500+char pthread_mutex_destroy ();
5501+int
5502+main ()
5503+{
5504+return pthread_mutex_destroy ();
5505+  ;
5506+  return 0;
5507+}
5508+_ACEOF
5509+rm -f conftest.$ac_objext conftest$ac_exeext
5510+if { (ac_try="$ac_link"
5511+case "(($ac_try" in
5512+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5513+  *) ac_try_echo=$ac_try;;
5514+esac
5515+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5516+$as_echo "$ac_try_echo") >&5
5517+  (eval "$ac_link") 2>conftest.er1
5518+  ac_status=$?
5519+  grep -v '^ *+' conftest.er1 >conftest.err
5520+  rm -f conftest.er1
5521+  cat conftest.err >&5
5522+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523+  (exit $ac_status); } && {
5524+	 test -z "$ac_c_werror_flag" ||
5525+	 test ! -s conftest.err
5526+       } && test -s conftest$ac_exeext && {
5527+	 test "$cross_compiling" = yes ||
5528+	 $as_test_x conftest$ac_exeext
5529+       }; then
5530   ac_cv_search_pthread_mutex_destroy="-l$i"
5531 break
5532 else
5533-  echo "configure: failed program was:" >&5
5534-  cat conftest.$ac_ext >&5
5535+  $as_echo "$as_me: failed program was:" >&5
5536+sed 's/^/| /' conftest.$ac_ext >&5
5537+
5538+
5539 fi
5540-rm -f conftest*
5541+
5542+rm -rf conftest.dSYM
5543+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5544+      conftest$ac_exeext conftest.$ac_ext
5545 done
5546 if test "$ac_cv_search_pthread_mutex_destroy" = "no"; then
5547-cat > conftest.$ac_ext <<EOF
5548-#line 2062 "configure"
5549-#include "confdefs.h"
5550-/* Override any gcc2 internal prototype to avoid an error.  */
5551-/* We use char because int might match the return type of a gcc2
5552-    builtin and then its argument prototype would still apply.  */
5553-char pthread_mutex_destroy();
5554-
5555-int main() {
5556-pthread_mutex_destroy()
5557-; return 0; }
5558-EOF
5559-if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5560-  rm -rf conftest*
5561+cat >conftest.$ac_ext <<_ACEOF
5562+/* confdefs.h.  */
5563+_ACEOF
5564+cat confdefs.h >>conftest.$ac_ext
5565+cat >>conftest.$ac_ext <<_ACEOF
5566+/* end confdefs.h.  */
5567+
5568+/* Override any GCC internal prototype to avoid an error.
5569+   Use char because int might match the return type of a GCC
5570+   builtin and then its argument prototype would still apply.  */
5571+#ifdef __cplusplus
5572+extern "C"
5573+#endif
5574+char pthread_mutex_destroy ();
5575+int
5576+main ()
5577+{
5578+return pthread_mutex_destroy ();
5579+  ;
5580+  return 0;
5581+}
5582+_ACEOF
5583+rm -f conftest.$ac_objext conftest$ac_exeext
5584+if { (ac_try="$ac_link"
5585+case "(($ac_try" in
5586+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5587+  *) ac_try_echo=$ac_try;;
5588+esac
5589+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5590+$as_echo "$ac_try_echo") >&5
5591+  (eval "$ac_link") 2>conftest.er1
5592+  ac_status=$?
5593+  grep -v '^ *+' conftest.er1 >conftest.err
5594+  rm -f conftest.er1
5595+  cat conftest.err >&5
5596+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597+  (exit $ac_status); } && {
5598+	 test -z "$ac_c_werror_flag" ||
5599+	 test ! -s conftest.err
5600+       } && test -s conftest$ac_exeext && {
5601+	 test "$cross_compiling" = yes ||
5602+	 $as_test_x conftest$ac_exeext
5603+       }; then
5604   ac_cv_search_pthread_mutex_destroy="none required"
5605 else
5606-  echo "configure: failed program was:" >&5
5607-  cat conftest.$ac_ext >&5
5608+  $as_echo "$as_me: failed program was:" >&5
5609+sed 's/^/| /' conftest.$ac_ext >&5
5610+
5611+
5612 fi
5613-rm -f conftest*
5614+
5615+rm -rf conftest.dSYM
5616+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5617+      conftest$ac_exeext conftest.$ac_ext
5618 fi
5619 LIBS="$ac_func_search_save_LIBS"
5620 fi
5621-
5622-echo "$ac_t""$ac_cv_search_pthread_mutex_destroy" 1>&6
5623+{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_mutex_destroy" >&5
5624+$as_echo "$ac_cv_search_pthread_mutex_destroy" >&6; }
5625 if test "$ac_cv_search_pthread_mutex_destroy" != "no"; then
5626   test "$ac_cv_search_pthread_mutex_destroy" = "none required" || LIBS="$ac_cv_search_pthread_mutex_destroy $LIBS"
5627-
5628+
5629 else :
5630-
5631+
5632 fi
5633
5634    if test "$ac_cv_search_pthread_mutex_destroy" != no; then
5635     ICU_USE_THREADS=1
5636    else
5637-        echo $ac_n "checking for pthread_mutex_init in -lpthread""... $ac_c" 1>&6
5638-echo "configure:2097: checking for pthread_mutex_init in -lpthread" >&5
5639-ac_lib_var=`echo pthread'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
5640-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5641-  echo $ac_n "(cached) $ac_c" 1>&6
5642+
5643+{ $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
5644+$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
5645+if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
5646+  $as_echo_n "(cached) " >&6
5647 else
5648-  ac_save_LIBS="$LIBS"
5649+  ac_check_lib_save_LIBS=$LIBS
5650 LIBS="-lpthread  $LIBS"
5651-cat > conftest.$ac_ext <<EOF
5652-#line 2105 "configure"
5653-#include "confdefs.h"
5654-/* Override any gcc2 internal prototype to avoid an error.  */
5655-/* We use char because int might match the return type of a gcc2
5656-    builtin and then its argument prototype would still apply.  */
5657-char pthread_mutex_init();
5658-
5659-int main() {
5660-pthread_mutex_init()
5661-; return 0; }
5662-EOF
5663-if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5664-  rm -rf conftest*
5665-  eval "ac_cv_lib_$ac_lib_var=yes"
5666-else
5667-  echo "configure: failed program was:" >&5
5668-  cat conftest.$ac_ext >&5
5669-  rm -rf conftest*
5670-  eval "ac_cv_lib_$ac_lib_var=no"
5671-fi
5672-rm -f conftest*
5673-LIBS="$ac_save_LIBS"
5674-
5675-fi
5676-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5677-  echo "$ac_t""yes" 1>&6
5678-    ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5679-    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5680-  cat >> confdefs.h <<EOF
5681-#define $ac_tr_lib 1
5682-EOF
5683+cat >conftest.$ac_ext <<_ACEOF
5684+/* confdefs.h.  */
5685+_ACEOF
5686+cat confdefs.h >>conftest.$ac_ext
5687+cat >>conftest.$ac_ext <<_ACEOF
5688+/* end confdefs.h.  */
5689+
5690+/* Override any GCC internal prototype to avoid an error.
5691+   Use char because int might match the return type of a GCC
5692+   builtin and then its argument prototype would still apply.  */
5693+#ifdef __cplusplus
5694+extern "C"
5695+#endif
5696+char pthread_mutex_init ();
5697+int
5698+main ()
5699+{
5700+return pthread_mutex_init ();
5701+  ;
5702+  return 0;
5703+}
5704+_ACEOF
5705+rm -f conftest.$ac_objext conftest$ac_exeext
5706+if { (ac_try="$ac_link"
5707+case "(($ac_try" in
5708+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5709+  *) ac_try_echo=$ac_try;;
5710+esac
5711+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5712+$as_echo "$ac_try_echo") >&5
5713+  (eval "$ac_link") 2>conftest.er1
5714+  ac_status=$?
5715+  grep -v '^ *+' conftest.er1 >conftest.err
5716+  rm -f conftest.er1
5717+  cat conftest.err >&5
5718+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719+  (exit $ac_status); } && {
5720+	 test -z "$ac_c_werror_flag" ||
5721+	 test ! -s conftest.err
5722+       } && test -s conftest$ac_exeext && {
5723+	 test "$cross_compiling" = yes ||
5724+	 $as_test_x conftest$ac_exeext
5725+       }; then
5726+  ac_cv_lib_pthread_pthread_mutex_init=yes
5727+else
5728+  $as_echo "$as_me: failed program was:" >&5
5729+sed 's/^/| /' conftest.$ac_ext >&5
5730+
5731+	ac_cv_lib_pthread_pthread_mutex_init=no
5732+fi
5733+
5734+rm -rf conftest.dSYM
5735+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5736+      conftest$ac_exeext conftest.$ac_ext
5737+LIBS=$ac_check_lib_save_LIBS
5738+fi
5739+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
5740+$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
5741+if test "x$ac_cv_lib_pthread_pthread_mutex_init" = x""yes; then
5742+  cat >>confdefs.h <<_ACEOF
5743+#define HAVE_LIBPTHREAD 1
5744+_ACEOF
5745
5746   LIBS="-lpthread $LIBS"
5747
5748-else
5749-  echo "$ac_t""no" 1>&6
5750 fi
5751
5752     if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
5753@@ -2144,53 +4761,91 @@
5754     fi
5755    fi
5756
5757-   echo $ac_n "checking for pthread_mutex_lock""... $ac_c" 1>&6
5758-echo "configure:2149: checking for pthread_mutex_lock" >&5
5759-if eval "test \"`echo '$''{'ac_cv_func_pthread_mutex_lock'+set}'`\" = set"; then
5760-  echo $ac_n "(cached) $ac_c" 1>&6
5761-else
5762-  cat > conftest.$ac_ext <<EOF
5763-#line 2154 "configure"
5764-#include "confdefs.h"
5765+   { $as_echo "$as_me:$LINENO: checking for pthread_mutex_lock" >&5
5766+$as_echo_n "checking for pthread_mutex_lock... " >&6; }
5767+if test "${ac_cv_func_pthread_mutex_lock+set}" = set; then
5768+  $as_echo_n "(cached) " >&6
5769+else
5770+  cat >conftest.$ac_ext <<_ACEOF
5771+/* confdefs.h.  */
5772+_ACEOF
5773+cat confdefs.h >>conftest.$ac_ext
5774+cat >>conftest.$ac_ext <<_ACEOF
5775+/* end confdefs.h.  */
5776+/* Define pthread_mutex_lock to an innocuous variant, in case <limits.h> declares pthread_mutex_lock.
5777+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5778+#define pthread_mutex_lock innocuous_pthread_mutex_lock
5779+
5780 /* System header to define __stub macros and hopefully few prototypes,
5781-    which can conflict with char pthread_mutex_lock(); below.  */
5782-#include <assert.h>
5783-/* Override any gcc2 internal prototype to avoid an error.  */
5784-/* We use char because int might match the return type of a gcc2
5785-    builtin and then its argument prototype would still apply.  */
5786-char pthread_mutex_lock();
5787+    which can conflict with char pthread_mutex_lock (); below.
5788+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5789+    <limits.h> exists even on freestanding compilers.  */
5790+
5791+#ifdef __STDC__
5792+# include <limits.h>
5793+#else
5794+# include <assert.h>
5795+#endif
5796
5797-int main() {
5798+#undef pthread_mutex_lock
5799
5800+/* Override any GCC internal prototype to avoid an error.
5801+   Use char because int might match the return type of a GCC
5802+   builtin and then its argument prototype would still apply.  */
5803+#ifdef __cplusplus
5804+extern "C"
5805+#endif
5806+char pthread_mutex_lock ();
5807 /* The GNU C library defines this for functions which it implements
5808     to always fail with ENOSYS.  Some functions are actually named
5809     something starting with __ and the normal name is an alias.  */
5810-#if defined (__stub_pthread_mutex_lock) || defined (__stub___pthread_mutex_lock)
5811+#if defined __stub_pthread_mutex_lock || defined __stub___pthread_mutex_lock
5812 choke me
5813-#else
5814-pthread_mutex_lock();
5815 #endif
5816
5817-; return 0; }
5818-EOF
5819-if { (eval echo configure:2177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5820-  rm -rf conftest*
5821-  eval "ac_cv_func_pthread_mutex_lock=yes"
5822-else
5823-  echo "configure: failed program was:" >&5
5824-  cat conftest.$ac_ext >&5
5825-  rm -rf conftest*
5826-  eval "ac_cv_func_pthread_mutex_lock=no"
5827-fi
5828-rm -f conftest*
5829-fi
5830-
5831-if eval "test \"`echo '$ac_cv_func_'pthread_mutex_lock`\" = yes"; then
5832-  echo "$ac_t""yes" 1>&6
5833-  :
5834-else
5835-  echo "$ac_t""no" 1>&6
5836+int
5837+main ()
5838+{
5839+return pthread_mutex_lock ();
5840+  ;
5841+  return 0;
5842+}
5843+_ACEOF
5844+rm -f conftest.$ac_objext conftest$ac_exeext
5845+if { (ac_try="$ac_link"
5846+case "(($ac_try" in
5847+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5848+  *) ac_try_echo=$ac_try;;
5849+esac
5850+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5851+$as_echo "$ac_try_echo") >&5
5852+  (eval "$ac_link") 2>conftest.er1
5853+  ac_status=$?
5854+  grep -v '^ *+' conftest.er1 >conftest.err
5855+  rm -f conftest.er1
5856+  cat conftest.err >&5
5857+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858+  (exit $ac_status); } && {
5859+	 test -z "$ac_c_werror_flag" ||
5860+	 test ! -s conftest.err
5861+       } && test -s conftest$ac_exeext && {
5862+	 test "$cross_compiling" = yes ||
5863+	 $as_test_x conftest$ac_exeext
5864+       }; then
5865+  ac_cv_func_pthread_mutex_lock=yes
5866+else
5867+  $as_echo "$as_me: failed program was:" >&5
5868+sed 's/^/| /' conftest.$ac_ext >&5
5869+
5870+	ac_cv_func_pthread_mutex_lock=no
5871+fi
5872+
5873+rm -rf conftest.dSYM
5874+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5875+      conftest$ac_exeext conftest.$ac_ext
5876 fi
5877+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_lock" >&5
5878+$as_echo "$ac_cv_func_pthread_mutex_lock" >&6; }
5879
5880
5881    if test $ac_cv_func_pthread_mutex_lock = yes; then
5882@@ -2198,7 +4853,7 @@
5883    fi
5884       case "${host}" in
5885    *-pc-cygwin*|*-pc-mingw*)
5886-     if test "$ac_cv_prog_gcc" = no; then
5887+     if test "$ac_cv_c_compiler_gnu" = no; then
5888               ICU_USE_THREADS=1
5889      fi ;;
5890    *-*-hpux*)
5891@@ -2222,37 +4877,67 @@
5892 # The AC_FUNC_MMAP macro doesn't work properly.  It seems to be too specific.
5893 # Do this check instead.
5894 HAVE_MMAP=0
5895-echo $ac_n "checking for mmap""... $ac_c" 1>&6
5896-echo "configure:2227: checking for mmap" >&5
5897-if eval "test \"`echo '$''{'ac_cv_func_mmap_ok'+set}'`\" = set"; then
5898-  echo $ac_n "(cached) $ac_c" 1>&6
5899-else
5900-  cat > conftest.$ac_ext <<EOF
5901-#line 2232 "configure"
5902-#include "confdefs.h"
5903-
5904+{ $as_echo "$as_me:$LINENO: checking for mmap" >&5
5905+$as_echo_n "checking for mmap... " >&6; }
5906+if test "${ac_cv_func_mmap_ok+set}" = set; then
5907+  $as_echo_n "(cached) " >&6
5908+else
5909+  cat >conftest.$ac_ext <<_ACEOF
5910+/* confdefs.h.  */
5911+_ACEOF
5912+cat confdefs.h >>conftest.$ac_ext
5913+cat >>conftest.$ac_ext <<_ACEOF
5914+/* end confdefs.h.  */
5915+
5916 #include <unistd.h>
5917 #include <sys/mman.h>
5918 #include <sys/stat.h>
5919 #include <fcntl.h>
5920-
5921-int main() {
5922+
5923+int
5924+main ()
5925+{
5926     mmap((void *)0, 0, PROT_READ, 0, 0, 0);
5927-; return 0; }
5928-EOF
5929-if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5930-  rm -rf conftest*
5931+  ;
5932+  return 0;
5933+}
5934+_ACEOF
5935+rm -f conftest.$ac_objext conftest$ac_exeext
5936+if { (ac_try="$ac_link"
5937+case "(($ac_try" in
5938+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939+  *) ac_try_echo=$ac_try;;
5940+esac
5941+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5942+$as_echo "$ac_try_echo") >&5
5943+  (eval "$ac_link") 2>conftest.er1
5944+  ac_status=$?
5945+  grep -v '^ *+' conftest.er1 >conftest.err
5946+  rm -f conftest.er1
5947+  cat conftest.err >&5
5948+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949+  (exit $ac_status); } && {
5950+	 test -z "$ac_c_werror_flag" ||
5951+	 test ! -s conftest.err
5952+       } && test -s conftest$ac_exeext && {
5953+	 test "$cross_compiling" = yes ||
5954+	 $as_test_x conftest$ac_exeext
5955+       }; then
5956   ac_cv_func_mmap_ok=yes
5957 else
5958-  echo "configure: failed program was:" >&5
5959-  cat conftest.$ac_ext >&5
5960-  rm -rf conftest*
5961-  ac_cv_func_mmap_ok=no
5962+  $as_echo "$as_me: failed program was:" >&5
5963+sed 's/^/| /' conftest.$ac_ext >&5
5964+
5965+	ac_cv_func_mmap_ok=no
5966 fi
5967-rm -f conftest*
5968+
5969+rm -rf conftest.dSYM
5970+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5971+      conftest$ac_exeext conftest.$ac_ext
5972 fi
5973
5974-echo "$ac_t""$ac_cv_func_mmap_ok" 1>&6
5975+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_ok" >&5
5976+$as_echo "$ac_cv_func_mmap_ok" >&6; }
5977 if test $ac_cv_func_mmap_ok = yes
5978 then
5979     HAVE_MMAP=1
5980@@ -2269,124 +4954,772 @@
5981
5982
5983
5984-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5985-echo "configure:2274: checking how to run the C preprocessor" >&5
5986+ac_ext=c
5987+ac_cpp='$CPP $CPPFLAGS'
5988+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5989+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5990+ac_compiler_gnu=$ac_cv_c_compiler_gnu
5991+{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5992+$as_echo_n "checking how to run the C preprocessor... " >&6; }
5993 # On Suns, sometimes $CPP names a directory.
5994 if test -n "$CPP" && test -d "$CPP"; then
5995   CPP=
5996 fi
5997 if test -z "$CPP"; then
5998-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5999-  echo $ac_n "(cached) $ac_c" 1>&6
6000+  if test "${ac_cv_prog_CPP+set}" = set; then
6001+  $as_echo_n "(cached) " >&6
6002+else
6003+      # Double quotes because CPP needs to be expanded
6004+    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6005+    do
6006+      ac_preproc_ok=false
6007+for ac_c_preproc_warn_flag in '' yes
6008+do
6009+  # Use a header file that comes with gcc, so configuring glibc
6010+  # with a fresh cross-compiler works.
6011+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6012+  # <limits.h> exists even on freestanding compilers.
6013+  # On the NeXT, cc -E runs the code through the compiler's parser,
6014+  # not just through cpp. "Syntax error" is here to catch this case.
6015+  cat >conftest.$ac_ext <<_ACEOF
6016+/* confdefs.h.  */
6017+_ACEOF
6018+cat confdefs.h >>conftest.$ac_ext
6019+cat >>conftest.$ac_ext <<_ACEOF
6020+/* end confdefs.h.  */
6021+#ifdef __STDC__
6022+# include <limits.h>
6023+#else
6024+# include <assert.h>
6025+#endif
6026+		     Syntax error
6027+_ACEOF
6028+if { (ac_try="$ac_cpp conftest.$ac_ext"
6029+case "(($ac_try" in
6030+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6031+  *) ac_try_echo=$ac_try;;
6032+esac
6033+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6034+$as_echo "$ac_try_echo") >&5
6035+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6036+  ac_status=$?
6037+  grep -v '^ *+' conftest.er1 >conftest.err
6038+  rm -f conftest.er1
6039+  cat conftest.err >&5
6040+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041+  (exit $ac_status); } >/dev/null && {
6042+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6043+	 test ! -s conftest.err
6044+       }; then
6045+  :
6046+else
6047+  $as_echo "$as_me: failed program was:" >&5
6048+sed 's/^/| /' conftest.$ac_ext >&5
6049+
6050+  # Broken: fails on valid input.
6051+continue
6052+fi
6053+
6054+rm -f conftest.err conftest.$ac_ext
6055+
6056+  # OK, works on sane cases.  Now check whether nonexistent headers
6057+  # can be detected and how.
6058+  cat >conftest.$ac_ext <<_ACEOF
6059+/* confdefs.h.  */
6060+_ACEOF
6061+cat confdefs.h >>conftest.$ac_ext
6062+cat >>conftest.$ac_ext <<_ACEOF
6063+/* end confdefs.h.  */
6064+#include <ac_nonexistent.h>
6065+_ACEOF
6066+if { (ac_try="$ac_cpp conftest.$ac_ext"
6067+case "(($ac_try" in
6068+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6069+  *) ac_try_echo=$ac_try;;
6070+esac
6071+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6072+$as_echo "$ac_try_echo") >&5
6073+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6074+  ac_status=$?
6075+  grep -v '^ *+' conftest.er1 >conftest.err
6076+  rm -f conftest.er1
6077+  cat conftest.err >&5
6078+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6079+  (exit $ac_status); } >/dev/null && {
6080+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6081+	 test ! -s conftest.err
6082+       }; then
6083+  # Broken: success on invalid input.
6084+continue
6085+else
6086+  $as_echo "$as_me: failed program was:" >&5
6087+sed 's/^/| /' conftest.$ac_ext >&5
6088+
6089+  # Passes both tests.
6090+ac_preproc_ok=:
6091+break
6092+fi
6093+
6094+rm -f conftest.err conftest.$ac_ext
6095+
6096+done
6097+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6098+rm -f conftest.err conftest.$ac_ext
6099+if $ac_preproc_ok; then
6100+  break
6101+fi
6102+
6103+    done
6104+    ac_cv_prog_CPP=$CPP
6105+
6106+fi
6107+  CPP=$ac_cv_prog_CPP
6108 else
6109-    # This must be in double quotes, not single quotes, because CPP may get
6110-  # substituted into the Makefile and "${CC-cc}" will confuse make.
6111-  CPP="${CC-cc} -E"
6112+  ac_cv_prog_CPP=$CPP
6113+fi
6114+{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6115+$as_echo "$CPP" >&6; }
6116+ac_preproc_ok=false
6117+for ac_c_preproc_warn_flag in '' yes
6118+do
6119+  # Use a header file that comes with gcc, so configuring glibc
6120+  # with a fresh cross-compiler works.
6121+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6122+  # <limits.h> exists even on freestanding compilers.
6123   # On the NeXT, cc -E runs the code through the compiler's parser,
6124-  # not just through cpp.
6125-  cat > conftest.$ac_ext <<EOF
6126-#line 2289 "configure"
6127-#include "confdefs.h"
6128-#include <assert.h>
6129-Syntax Error
6130-EOF
6131-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6132-{ (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6133-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6134-if test -z "$ac_err"; then
6135+  # not just through cpp. "Syntax error" is here to catch this case.
6136+  cat >conftest.$ac_ext <<_ACEOF
6137+/* confdefs.h.  */
6138+_ACEOF
6139+cat confdefs.h >>conftest.$ac_ext
6140+cat >>conftest.$ac_ext <<_ACEOF
6141+/* end confdefs.h.  */
6142+#ifdef __STDC__
6143+# include <limits.h>
6144+#else
6145+# include <assert.h>
6146+#endif
6147+		     Syntax error
6148+_ACEOF
6149+if { (ac_try="$ac_cpp conftest.$ac_ext"
6150+case "(($ac_try" in
6151+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6152+  *) ac_try_echo=$ac_try;;
6153+esac
6154+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6155+$as_echo "$ac_try_echo") >&5
6156+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6157+  ac_status=$?
6158+  grep -v '^ *+' conftest.er1 >conftest.err
6159+  rm -f conftest.er1
6160+  cat conftest.err >&5
6161+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162+  (exit $ac_status); } >/dev/null && {
6163+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6164+	 test ! -s conftest.err
6165+       }; then
6166   :
6167 else
6168-  echo "$ac_err" >&5
6169-  echo "configure: failed program was:" >&5
6170-  cat conftest.$ac_ext >&5
6171-  rm -rf conftest*
6172-  CPP="${CC-cc} -E -traditional-cpp"
6173-  cat > conftest.$ac_ext <<EOF
6174-#line 2306 "configure"
6175-#include "confdefs.h"
6176-#include <assert.h>
6177-Syntax Error
6178-EOF
6179-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6180-{ (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6181-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6182-if test -z "$ac_err"; then
6183+  $as_echo "$as_me: failed program was:" >&5
6184+sed 's/^/| /' conftest.$ac_ext >&5
6185+
6186+  # Broken: fails on valid input.
6187+continue
6188+fi
6189+
6190+rm -f conftest.err conftest.$ac_ext
6191+
6192+  # OK, works on sane cases.  Now check whether nonexistent headers
6193+  # can be detected and how.
6194+  cat >conftest.$ac_ext <<_ACEOF
6195+/* confdefs.h.  */
6196+_ACEOF
6197+cat confdefs.h >>conftest.$ac_ext
6198+cat >>conftest.$ac_ext <<_ACEOF
6199+/* end confdefs.h.  */
6200+#include <ac_nonexistent.h>
6201+_ACEOF
6202+if { (ac_try="$ac_cpp conftest.$ac_ext"
6203+case "(($ac_try" in
6204+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6205+  *) ac_try_echo=$ac_try;;
6206+esac
6207+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6208+$as_echo "$ac_try_echo") >&5
6209+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6210+  ac_status=$?
6211+  grep -v '^ *+' conftest.er1 >conftest.err
6212+  rm -f conftest.er1
6213+  cat conftest.err >&5
6214+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215+  (exit $ac_status); } >/dev/null && {
6216+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6217+	 test ! -s conftest.err
6218+       }; then
6219+  # Broken: success on invalid input.
6220+continue
6221+else
6222+  $as_echo "$as_me: failed program was:" >&5
6223+sed 's/^/| /' conftest.$ac_ext >&5
6224+
6225+  # Passes both tests.
6226+ac_preproc_ok=:
6227+break
6228+fi
6229+
6230+rm -f conftest.err conftest.$ac_ext
6231+
6232+done
6233+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6234+rm -f conftest.err conftest.$ac_ext
6235+if $ac_preproc_ok; then
6236   :
6237 else
6238-  echo "$ac_err" >&5
6239-  echo "configure: failed program was:" >&5
6240-  cat conftest.$ac_ext >&5
6241-  rm -rf conftest*
6242-  CPP="${CC-cc} -nologo -E"
6243-  cat > conftest.$ac_ext <<EOF
6244-#line 2323 "configure"
6245-#include "confdefs.h"
6246-#include <assert.h>
6247-Syntax Error
6248-EOF
6249-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6250-{ (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6251-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6252-if test -z "$ac_err"; then
6253+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6254+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6255+{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6256+See \`config.log' for more details." >&5
6257+$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6258+See \`config.log' for more details." >&2;}
6259+   { (exit 1); exit 1; }; }; }
6260+fi
6261+
6262+ac_ext=c
6263+ac_cpp='$CPP $CPPFLAGS'
6264+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266+ac_compiler_gnu=$ac_cv_c_compiler_gnu
6267+
6268+
6269+{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6270+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6271+if test "${ac_cv_path_GREP+set}" = set; then
6272+  $as_echo_n "(cached) " >&6
6273+else
6274+  if test -z "$GREP"; then
6275+  ac_path_GREP_found=false
6276+  # Loop through the user's path and test for each of PROGNAME-LIST
6277+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6278+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6279+do
6280+  IFS=$as_save_IFS
6281+  test -z "$as_dir" && as_dir=.
6282+  for ac_prog in grep ggrep; do
6283+    for ac_exec_ext in '' $ac_executable_extensions; do
6284+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6285+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6286+# Check for GNU ac_path_GREP and select it if it is found.
6287+  # Check for GNU $ac_path_GREP
6288+case `"$ac_path_GREP" --version 2>&1` in
6289+*GNU*)
6290+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6291+*)
6292+  ac_count=0
6293+  $as_echo_n 0123456789 >"conftest.in"
6294+  while :
6295+  do
6296+    cat "conftest.in" "conftest.in" >"conftest.tmp"
6297+    mv "conftest.tmp" "conftest.in"
6298+    cp "conftest.in" "conftest.nl"
6299+    $as_echo 'GREP' >> "conftest.nl"
6300+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6301+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6302+    ac_count=`expr $ac_count + 1`
6303+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
6304+      # Best one so far, save it but keep looking for a better one
6305+      ac_cv_path_GREP="$ac_path_GREP"
6306+      ac_path_GREP_max=$ac_count
6307+    fi
6308+    # 10*(2^10) chars as input seems more than enough
6309+    test $ac_count -gt 10 && break
6310+  done
6311+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6312+esac
6313+
6314+      $ac_path_GREP_found && break 3
6315+    done
6316+  done
6317+done
6318+IFS=$as_save_IFS
6319+  if test -z "$ac_cv_path_GREP"; then
6320+    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6321+$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6322+   { (exit 1); exit 1; }; }
6323+  fi
6324+else
6325+  ac_cv_path_GREP=$GREP
6326+fi
6327+
6328+fi
6329+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6330+$as_echo "$ac_cv_path_GREP" >&6; }
6331+ GREP="$ac_cv_path_GREP"
6332+
6333+
6334+{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
6335+$as_echo_n "checking for egrep... " >&6; }
6336+if test "${ac_cv_path_EGREP+set}" = set; then
6337+  $as_echo_n "(cached) " >&6
6338+else
6339+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6340+   then ac_cv_path_EGREP="$GREP -E"
6341+   else
6342+     if test -z "$EGREP"; then
6343+  ac_path_EGREP_found=false
6344+  # Loop through the user's path and test for each of PROGNAME-LIST
6345+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6347+do
6348+  IFS=$as_save_IFS
6349+  test -z "$as_dir" && as_dir=.
6350+  for ac_prog in egrep; do
6351+    for ac_exec_ext in '' $ac_executable_extensions; do
6352+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6353+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6354+# Check for GNU ac_path_EGREP and select it if it is found.
6355+  # Check for GNU $ac_path_EGREP
6356+case `"$ac_path_EGREP" --version 2>&1` in
6357+*GNU*)
6358+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6359+*)
6360+  ac_count=0
6361+  $as_echo_n 0123456789 >"conftest.in"
6362+  while :
6363+  do
6364+    cat "conftest.in" "conftest.in" >"conftest.tmp"
6365+    mv "conftest.tmp" "conftest.in"
6366+    cp "conftest.in" "conftest.nl"
6367+    $as_echo 'EGREP' >> "conftest.nl"
6368+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6369+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6370+    ac_count=`expr $ac_count + 1`
6371+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6372+      # Best one so far, save it but keep looking for a better one
6373+      ac_cv_path_EGREP="$ac_path_EGREP"
6374+      ac_path_EGREP_max=$ac_count
6375+    fi
6376+    # 10*(2^10) chars as input seems more than enough
6377+    test $ac_count -gt 10 && break
6378+  done
6379+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6380+esac
6381+
6382+      $ac_path_EGREP_found && break 3
6383+    done
6384+  done
6385+done
6386+IFS=$as_save_IFS
6387+  if test -z "$ac_cv_path_EGREP"; then
6388+    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6389+$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6390+   { (exit 1); exit 1; }; }
6391+  fi
6392+else
6393+  ac_cv_path_EGREP=$EGREP
6394+fi
6395+
6396+   fi
6397+fi
6398+{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6399+$as_echo "$ac_cv_path_EGREP" >&6; }
6400+ EGREP="$ac_cv_path_EGREP"
6401+
6402+
6403+{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6404+$as_echo_n "checking for ANSI C header files... " >&6; }
6405+if test "${ac_cv_header_stdc+set}" = set; then
6406+  $as_echo_n "(cached) " >&6
6407+else
6408+  cat >conftest.$ac_ext <<_ACEOF
6409+/* confdefs.h.  */
6410+_ACEOF
6411+cat confdefs.h >>conftest.$ac_ext
6412+cat >>conftest.$ac_ext <<_ACEOF
6413+/* end confdefs.h.  */
6414+#include <stdlib.h>
6415+#include <stdarg.h>
6416+#include <string.h>
6417+#include <float.h>
6418+
6419+int
6420+main ()
6421+{
6422+
6423+  ;
6424+  return 0;
6425+}
6426+_ACEOF
6427+rm -f conftest.$ac_objext
6428+if { (ac_try="$ac_compile"
6429+case "(($ac_try" in
6430+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6431+  *) ac_try_echo=$ac_try;;
6432+esac
6433+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6434+$as_echo "$ac_try_echo") >&5
6435+  (eval "$ac_compile") 2>conftest.er1
6436+  ac_status=$?
6437+  grep -v '^ *+' conftest.er1 >conftest.err
6438+  rm -f conftest.er1
6439+  cat conftest.err >&5
6440+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441+  (exit $ac_status); } && {
6442+	 test -z "$ac_c_werror_flag" ||
6443+	 test ! -s conftest.err
6444+       } && test -s conftest.$ac_objext; then
6445+  ac_cv_header_stdc=yes
6446+else
6447+  $as_echo "$as_me: failed program was:" >&5
6448+sed 's/^/| /' conftest.$ac_ext >&5
6449+
6450+	ac_cv_header_stdc=no
6451+fi
6452+
6453+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6454+
6455+if test $ac_cv_header_stdc = yes; then
6456+  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6457+  cat >conftest.$ac_ext <<_ACEOF
6458+/* confdefs.h.  */
6459+_ACEOF
6460+cat confdefs.h >>conftest.$ac_ext
6461+cat >>conftest.$ac_ext <<_ACEOF
6462+/* end confdefs.h.  */
6463+#include <string.h>
6464+
6465+_ACEOF
6466+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6467+  $EGREP "memchr" >/dev/null 2>&1; then
6468   :
6469 else
6470-  echo "$ac_err" >&5
6471-  echo "configure: failed program was:" >&5
6472-  cat conftest.$ac_ext >&5
6473-  rm -rf conftest*
6474-  CPP=/lib/cpp
6475+  ac_cv_header_stdc=no
6476 fi
6477 rm -f conftest*
6478+
6479 fi
6480-rm -f conftest*
6481+
6482+if test $ac_cv_header_stdc = yes; then
6483+  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6484+  cat >conftest.$ac_ext <<_ACEOF
6485+/* confdefs.h.  */
6486+_ACEOF
6487+cat confdefs.h >>conftest.$ac_ext
6488+cat >>conftest.$ac_ext <<_ACEOF
6489+/* end confdefs.h.  */
6490+#include <stdlib.h>
6491+
6492+_ACEOF
6493+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6494+  $EGREP "free" >/dev/null 2>&1; then
6495+  :
6496+else
6497+  ac_cv_header_stdc=no
6498 fi
6499 rm -f conftest*
6500-  ac_cv_prog_CPP="$CPP"
6501+
6502 fi
6503-  CPP="$ac_cv_prog_CPP"
6504+
6505+if test $ac_cv_header_stdc = yes; then
6506+  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6507+  if test "$cross_compiling" = yes; then
6508+  :
6509+else
6510+  cat >conftest.$ac_ext <<_ACEOF
6511+/* confdefs.h.  */
6512+_ACEOF
6513+cat confdefs.h >>conftest.$ac_ext
6514+cat >>conftest.$ac_ext <<_ACEOF
6515+/* end confdefs.h.  */
6516+#include <ctype.h>
6517+#include <stdlib.h>
6518+#if ((' ' & 0x0FF) == 0x020)
6519+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6520+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6521+#else
6522+# define ISLOWER(c) \
6523+		   (('a' <= (c) && (c) <= 'i') \
6524+		     || ('j' <= (c) && (c) <= 'r') \
6525+		     || ('s' <= (c) && (c) <= 'z'))
6526+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6527+#endif
6528+
6529+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6530+int
6531+main ()
6532+{
6533+  int i;
6534+  for (i = 0; i < 256; i++)
6535+    if (XOR (islower (i), ISLOWER (i))
6536+	|| toupper (i) != TOUPPER (i))
6537+      return 2;
6538+  return 0;
6539+}
6540+_ACEOF
6541+rm -f conftest$ac_exeext
6542+if { (ac_try="$ac_link"
6543+case "(($ac_try" in
6544+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6545+  *) ac_try_echo=$ac_try;;
6546+esac
6547+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6548+$as_echo "$ac_try_echo") >&5
6549+  (eval "$ac_link") 2>&5
6550+  ac_status=$?
6551+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6553+  { (case "(($ac_try" in
6554+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6555+  *) ac_try_echo=$ac_try;;
6556+esac
6557+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6558+$as_echo "$ac_try_echo") >&5
6559+  (eval "$ac_try") 2>&5
6560+  ac_status=$?
6561+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562+  (exit $ac_status); }; }; then
6563+  :
6564 else
6565-  ac_cv_prog_CPP="$CPP"
6566+  $as_echo "$as_me: program exited with status $ac_status" >&5
6567+$as_echo "$as_me: failed program was:" >&5
6568+sed 's/^/| /' conftest.$ac_ext >&5
6569+
6570+( exit $ac_status )
6571+ac_cv_header_stdc=no
6572+fi
6573+rm -rf conftest.dSYM
6574+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6575+fi
6576+
6577+
6578+fi
6579+fi
6580+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6581+$as_echo "$ac_cv_header_stdc" >&6; }
6582+if test $ac_cv_header_stdc = yes; then
6583+
6584+cat >>confdefs.h <<\_ACEOF
6585+#define STDC_HEADERS 1
6586+_ACEOF
6587+
6588 fi
6589-echo "$ac_t""$CPP" 1>&6
6590
6591-for ac_hdr in inttypes.h
6592+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6593+
6594+
6595+
6596+
6597+
6598+
6599+
6600+
6601+
6602+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6603+		  inttypes.h stdint.h unistd.h
6604 do
6605-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6606-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6607-echo "configure:2357: checking for $ac_hdr" >&5
6608-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6609-  echo $ac_n "(cached) $ac_c" 1>&6
6610-else
6611-  cat > conftest.$ac_ext <<EOF
6612-#line 2362 "configure"
6613-#include "confdefs.h"
6614-#include <$ac_hdr>
6615-EOF
6616-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6617-{ (eval echo configure:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6618-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6619-if test -z "$ac_err"; then
6620-  rm -rf conftest*
6621-  eval "ac_cv_header_$ac_safe=yes"
6622-else
6623-  echo "$ac_err" >&5
6624-  echo "configure: failed program was:" >&5
6625-  cat conftest.$ac_ext >&5
6626-  rm -rf conftest*
6627-  eval "ac_cv_header_$ac_safe=no"
6628-fi
6629-rm -f conftest*
6630+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6631+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6632+$as_echo_n "checking for $ac_header... " >&6; }
6633+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6634+  $as_echo_n "(cached) " >&6
6635+else
6636+  cat >conftest.$ac_ext <<_ACEOF
6637+/* confdefs.h.  */
6638+_ACEOF
6639+cat confdefs.h >>conftest.$ac_ext
6640+cat >>conftest.$ac_ext <<_ACEOF
6641+/* end confdefs.h.  */
6642+$ac_includes_default
6643+
6644+#include <$ac_header>
6645+_ACEOF
6646+rm -f conftest.$ac_objext
6647+if { (ac_try="$ac_compile"
6648+case "(($ac_try" in
6649+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6650+  *) ac_try_echo=$ac_try;;
6651+esac
6652+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6653+$as_echo "$ac_try_echo") >&5
6654+  (eval "$ac_compile") 2>conftest.er1
6655+  ac_status=$?
6656+  grep -v '^ *+' conftest.er1 >conftest.err
6657+  rm -f conftest.er1
6658+  cat conftest.err >&5
6659+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660+  (exit $ac_status); } && {
6661+	 test -z "$ac_c_werror_flag" ||
6662+	 test ! -s conftest.err
6663+       } && test -s conftest.$ac_objext; then
6664+  eval "$as_ac_Header=yes"
6665+else
6666+  $as_echo "$as_me: failed program was:" >&5
6667+sed 's/^/| /' conftest.$ac_ext >&5
6668+
6669+	eval "$as_ac_Header=no"
6670+fi
6671+
6672+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673+fi
6674+ac_res=`eval 'as_val=${'$as_ac_Header'}
6675+		 $as_echo "$as_val"'`
6676+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6677+$as_echo "$ac_res" >&6; }
6678+as_val=`eval 'as_val=${'$as_ac_Header'}
6679+		 $as_echo "$as_val"'`
6680+   if test "x$as_val" = x""yes; then
6681+  cat >>confdefs.h <<_ACEOF
6682+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6683+_ACEOF
6684+
6685 fi
6686-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6687-  echo "$ac_t""yes" 1>&6
6688-    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6689-  cat >> confdefs.h <<EOF
6690-#define $ac_tr_hdr 1
6691-EOF
6692-
6693-else
6694-  echo "$ac_t""no" 1>&6
6695+
6696+done
6697+
6698+
6699+
6700+for ac_header in inttypes.h
6701+do
6702+as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6703+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6704+  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6705+$as_echo_n "checking for $ac_header... " >&6; }
6706+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6707+  $as_echo_n "(cached) " >&6
6708+fi
6709+ac_res=`eval 'as_val=${'$as_ac_Header'}
6710+		 $as_echo "$as_val"'`
6711+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6712+$as_echo "$ac_res" >&6; }
6713+else
6714+  # Is the header compilable?
6715+{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6716+$as_echo_n "checking $ac_header usability... " >&6; }
6717+cat >conftest.$ac_ext <<_ACEOF
6718+/* confdefs.h.  */
6719+_ACEOF
6720+cat confdefs.h >>conftest.$ac_ext
6721+cat >>conftest.$ac_ext <<_ACEOF
6722+/* end confdefs.h.  */
6723+$ac_includes_default
6724+#include <$ac_header>
6725+_ACEOF
6726+rm -f conftest.$ac_objext
6727+if { (ac_try="$ac_compile"
6728+case "(($ac_try" in
6729+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6730+  *) ac_try_echo=$ac_try;;
6731+esac
6732+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6733+$as_echo "$ac_try_echo") >&5
6734+  (eval "$ac_compile") 2>conftest.er1
6735+  ac_status=$?
6736+  grep -v '^ *+' conftest.er1 >conftest.err
6737+  rm -f conftest.er1
6738+  cat conftest.err >&5
6739+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740+  (exit $ac_status); } && {
6741+	 test -z "$ac_c_werror_flag" ||
6742+	 test ! -s conftest.err
6743+       } && test -s conftest.$ac_objext; then
6744+  ac_header_compiler=yes
6745+else
6746+  $as_echo "$as_me: failed program was:" >&5
6747+sed 's/^/| /' conftest.$ac_ext >&5
6748+
6749+	ac_header_compiler=no
6750+fi
6751+
6752+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6753+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6754+$as_echo "$ac_header_compiler" >&6; }
6755+
6756+# Is the header present?
6757+{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6758+$as_echo_n "checking $ac_header presence... " >&6; }
6759+cat >conftest.$ac_ext <<_ACEOF
6760+/* confdefs.h.  */
6761+_ACEOF
6762+cat confdefs.h >>conftest.$ac_ext
6763+cat >>conftest.$ac_ext <<_ACEOF
6764+/* end confdefs.h.  */
6765+#include <$ac_header>
6766+_ACEOF
6767+if { (ac_try="$ac_cpp conftest.$ac_ext"
6768+case "(($ac_try" in
6769+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6770+  *) ac_try_echo=$ac_try;;
6771+esac
6772+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6773+$as_echo "$ac_try_echo") >&5
6774+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6775+  ac_status=$?
6776+  grep -v '^ *+' conftest.er1 >conftest.err
6777+  rm -f conftest.er1
6778+  cat conftest.err >&5
6779+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780+  (exit $ac_status); } >/dev/null && {
6781+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6782+	 test ! -s conftest.err
6783+       }; then
6784+  ac_header_preproc=yes
6785+else
6786+  $as_echo "$as_me: failed program was:" >&5
6787+sed 's/^/| /' conftest.$ac_ext >&5
6788+
6789+  ac_header_preproc=no
6790+fi
6791+
6792+rm -f conftest.err conftest.$ac_ext
6793+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6794+$as_echo "$ac_header_preproc" >&6; }
6795+
6796+# So?  What about this header?
6797+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6798+  yes:no: )
6799+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6800+$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6801+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6802+$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6803+    ac_header_preproc=yes
6804+    ;;
6805+  no:yes:* )
6806+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6807+$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6808+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6809+$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6810+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6811+$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6812+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6813+$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6814+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6815+$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6816+    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6817+$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6818+
6819+    ;;
6820+esac
6821+{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6822+$as_echo_n "checking for $ac_header... " >&6; }
6823+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6824+  $as_echo_n "(cached) " >&6
6825+else
6826+  eval "$as_ac_Header=\$ac_header_preproc"
6827+fi
6828+ac_res=`eval 'as_val=${'$as_ac_Header'}
6829+		 $as_echo "$as_val"'`
6830+	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6831+$as_echo "$ac_res" >&6; }
6832+
6833+fi
6834+as_val=`eval 'as_val=${'$as_ac_Header'}
6835+		 $as_echo "$as_val"'`
6836+   if test "x$as_val" = x""yes; then
6837+  cat >>confdefs.h <<_ACEOF
6838+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6839+_ACEOF
6840+
6841 fi
6842+
6843 done
6844
6845 if test $ac_cv_header_inttypes_h = no; then
6846@@ -2395,7 +5728,8 @@
6847  U_HAVE_INTTYPES_H=1
6848 fi
6849 if test "$CC" = ccc; then
6850- echo "$ac_t"""C compiler set to CCC ${CC}" " 1>&6
6851+ { $as_echo "$as_me:$LINENO: result: \"C compiler set to CCC ${CC}\" " >&5
6852+$as_echo "\"C compiler set to CCC ${CC}\" " >&6; }
6853  case "${host}" in
6854         alpha*-*-*) U_HAVE_INTTYPES_H=0;
6855  esac
6856@@ -2403,15 +5737,17 @@
6857
6858
6859
6860-# Check whether --with-iostream or --without-iostream was given.
6861+
6862+# Check whether --with-iostream was given.
6863 if test "${with_iostream+set}" = set; then
6864-  withval="$with_iostream"
6865-  case "${withval}" in
6866+  withval=$with_iostream; case "${withval}" in
6867 		none) streams=none ;;
6868 		old) streams=198506 ;;
6869 		std) streams=199711 ;;
6870 		auto) streams= ;;
6871-		*) { echo "configure: error: bad value ${withval} for --with-iostream" 1>&2; exit 1; } ;;
6872+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-iostream" >&5
6873+$as_echo "$as_me: error: bad value ${withval} for --with-iostream" >&2;}
6874+   { (exit 1); exit 1; }; } ;;
6875 		esac
6876 else
6877   streams=
6878@@ -2421,13 +5757,12 @@
6879 U_IOSTREAM_SOURCE=0
6880 if test x$streams != xnone
6881 then
6882-
6883-    ac_ext=C
6884-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6885+
6886+    ac_ext=cpp
6887 ac_cpp='$CXXCPP $CPPFLAGS'
6888-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6889-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6890-cross_compiling=$ac_cv_prog_cxx_cross
6891+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6892+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6893+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6894
6895     OLD_CXXFLAGS="${CXXFLAGS}"
6896     case "${icu_cv_host_frag}" in
6897@@ -2435,139 +5770,481 @@
6898             CXXFLAGS="${CXXFLAGS} -AA"
6899         ;;
6900     esac
6901-    echo $ac_n "checking iostream usability""... $ac_c" 1>&6
6902-echo "configure:2440: checking iostream usability" >&5
6903-    cat > conftest.$ac_ext <<EOF
6904-#line 2442 "configure"
6905-#include "confdefs.h"
6906+    { $as_echo "$as_me:$LINENO: checking iostream usability" >&5
6907+$as_echo_n "checking iostream usability... " >&6; }
6908+
6909+cat >conftest.$ac_ext <<_ACEOF
6910+/* confdefs.h.  */
6911+_ACEOF
6912+cat confdefs.h >>conftest.$ac_ext
6913+cat >>conftest.$ac_ext <<_ACEOF
6914+/* end confdefs.h.  */
6915 #include <iostream>
6916-int main() {
6917+int
6918+main ()
6919+{
6920
6921-; return 0; }
6922-EOF
6923-if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6924-  rm -rf conftest*
6925+  ;
6926+  return 0;
6927+}
6928+_ACEOF
6929+rm -f conftest.$ac_objext
6930+if { (ac_try="$ac_compile"
6931+case "(($ac_try" in
6932+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6933+  *) ac_try_echo=$ac_try;;
6934+esac
6935+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6936+$as_echo "$ac_try_echo") >&5
6937+  (eval "$ac_compile") 2>conftest.er1
6938+  ac_status=$?
6939+  grep -v '^ *+' conftest.er1 >conftest.err
6940+  rm -f conftest.er1
6941+  cat conftest.err >&5
6942+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943+  (exit $ac_status); } && {
6944+	 test -z "$ac_cxx_werror_flag" ||
6945+	 test ! -s conftest.err
6946+       } && test -s conftest.$ac_objext; then
6947   ac_cv_header_iostream=yes
6948 else
6949-  echo "configure: failed program was:" >&5
6950-  cat conftest.$ac_ext >&5
6951-  rm -rf conftest*
6952-  ac_cv_header_iostream=no
6953+  $as_echo "$as_me: failed program was:" >&5
6954+sed 's/^/| /' conftest.$ac_ext >&5
6955+
6956+	ac_cv_header_iostream=no
6957 fi
6958-rm -f conftest*
6959+
6960+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961     if test $icu_cv_host_frag = mh-cygwin-msvc
6962     then
6963                                 ac_cv_header_iostream=yes
6964     fi
6965-    echo "$ac_t""$ac_cv_header_iostream" 1>&6
6966+    { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
6967+$as_echo "$ac_cv_header_iostream" >&6; }
6968     if test $ac_cv_header_iostream = yes
6969     then
6970         U_IOSTREAM_SOURCE=199711
6971     else
6972         CXXFLAGS="${OLD_CXXFLAGS}"
6973-        echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6974-echo "configure:2470: checking how to run the C++ preprocessor" >&5
6975+        ac_ext=cpp
6976+ac_cpp='$CXXCPP $CPPFLAGS'
6977+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6978+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6979+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6980+{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6981+$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6982 if test -z "$CXXCPP"; then
6983-if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6984-  echo $ac_n "(cached) $ac_c" 1>&6
6985+  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6986+  $as_echo_n "(cached) " >&6
6987 else
6988-  ac_ext=C
6989-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6990-ac_cpp='$CXXCPP $CPPFLAGS'
6991-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6992-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6993-cross_compiling=$ac_cv_prog_cxx_cross
6994-  CXXCPP="${CXX-g++} -E"
6995-  cat > conftest.$ac_ext <<EOF
6996-#line 2483 "configure"
6997-#include "confdefs.h"
6998-#include <stdlib.h>
6999-EOF
7000-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7001-{ (eval echo configure:2488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7002-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7003-if test -z "$ac_err"; then
7004+      # Double quotes because CXXCPP needs to be expanded
7005+    for CXXCPP in "$CXX -E" "/lib/cpp"
7006+    do
7007+      ac_preproc_ok=false
7008+for ac_cxx_preproc_warn_flag in '' yes
7009+do
7010+  # Use a header file that comes with gcc, so configuring glibc
7011+  # with a fresh cross-compiler works.
7012+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013+  # <limits.h> exists even on freestanding compilers.
7014+  # On the NeXT, cc -E runs the code through the compiler's parser,
7015+  # not just through cpp. "Syntax error" is here to catch this case.
7016+  cat >conftest.$ac_ext <<_ACEOF
7017+/* confdefs.h.  */
7018+_ACEOF
7019+cat confdefs.h >>conftest.$ac_ext
7020+cat >>conftest.$ac_ext <<_ACEOF
7021+/* end confdefs.h.  */
7022+#ifdef __STDC__
7023+# include <limits.h>
7024+#else
7025+# include <assert.h>
7026+#endif
7027+		     Syntax error
7028+_ACEOF
7029+if { (ac_try="$ac_cpp conftest.$ac_ext"
7030+case "(($ac_try" in
7031+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7032+  *) ac_try_echo=$ac_try;;
7033+esac
7034+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7035+$as_echo "$ac_try_echo") >&5
7036+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7037+  ac_status=$?
7038+  grep -v '^ *+' conftest.er1 >conftest.err
7039+  rm -f conftest.er1
7040+  cat conftest.err >&5
7041+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7042+  (exit $ac_status); } >/dev/null && {
7043+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7044+	 test ! -s conftest.err
7045+       }; then
7046   :
7047 else
7048-  echo "$ac_err" >&5
7049-  echo "configure: failed program was:" >&5
7050-  cat conftest.$ac_ext >&5
7051-  rm -rf conftest*
7052-  CXXCPP=/lib/cpp
7053+  $as_echo "$as_me: failed program was:" >&5
7054+sed 's/^/| /' conftest.$ac_ext >&5
7055+
7056+  # Broken: fails on valid input.
7057+continue
7058 fi
7059-rm -f conftest*
7060-  ac_cv_prog_CXXCPP="$CXXCPP"
7061-ac_ext=C
7062-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7063-ac_cpp='$CXXCPP $CPPFLAGS'
7064-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7065-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7066-cross_compiling=$ac_cv_prog_cxx_cross
7067-fi
7068-fi
7069-CXXCPP="$ac_cv_prog_CXXCPP"
7070-echo "$ac_t""$CXXCPP" 1>&6
7071-
7072-ac_safe=`echo "iostream.h" | sed 'y%./+-%__p_%'`
7073-echo $ac_n "checking for iostream.h""... $ac_c" 1>&6
7074-echo "configure:2514: checking for iostream.h" >&5
7075-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7076-  echo $ac_n "(cached) $ac_c" 1>&6
7077-else
7078-  cat > conftest.$ac_ext <<EOF
7079-#line 2519 "configure"
7080-#include "confdefs.h"
7081-#include <iostream.h>
7082-EOF
7083-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7084-{ (eval echo configure:2524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7085-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7086-if test -z "$ac_err"; then
7087-  rm -rf conftest*
7088-  eval "ac_cv_header_$ac_safe=yes"
7089-else
7090-  echo "$ac_err" >&5
7091-  echo "configure: failed program was:" >&5
7092-  cat conftest.$ac_ext >&5
7093-  rm -rf conftest*
7094-  eval "ac_cv_header_$ac_safe=no"
7095+
7096+rm -f conftest.err conftest.$ac_ext
7097+
7098+  # OK, works on sane cases.  Now check whether nonexistent headers
7099+  # can be detected and how.
7100+  cat >conftest.$ac_ext <<_ACEOF
7101+/* confdefs.h.  */
7102+_ACEOF
7103+cat confdefs.h >>conftest.$ac_ext
7104+cat >>conftest.$ac_ext <<_ACEOF
7105+/* end confdefs.h.  */
7106+#include <ac_nonexistent.h>
7107+_ACEOF
7108+if { (ac_try="$ac_cpp conftest.$ac_ext"
7109+case "(($ac_try" in
7110+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7111+  *) ac_try_echo=$ac_try;;
7112+esac
7113+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7114+$as_echo "$ac_try_echo") >&5
7115+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7116+  ac_status=$?
7117+  grep -v '^ *+' conftest.er1 >conftest.err
7118+  rm -f conftest.er1
7119+  cat conftest.err >&5
7120+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121+  (exit $ac_status); } >/dev/null && {
7122+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7123+	 test ! -s conftest.err
7124+       }; then
7125+  # Broken: success on invalid input.
7126+continue
7127+else
7128+  $as_echo "$as_me: failed program was:" >&5
7129+sed 's/^/| /' conftest.$ac_ext >&5
7130+
7131+  # Passes both tests.
7132+ac_preproc_ok=:
7133+break
7134 fi
7135-rm -f conftest*
7136+
7137+rm -f conftest.err conftest.$ac_ext
7138+
7139+done
7140+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7141+rm -f conftest.err conftest.$ac_ext
7142+if $ac_preproc_ok; then
7143+  break
7144+fi
7145+
7146+    done
7147+    ac_cv_prog_CXXCPP=$CXXCPP
7148+
7149+fi
7150+  CXXCPP=$ac_cv_prog_CXXCPP
7151+else
7152+  ac_cv_prog_CXXCPP=$CXXCPP
7153+fi
7154+{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
7155+$as_echo "$CXXCPP" >&6; }
7156+ac_preproc_ok=false
7157+for ac_cxx_preproc_warn_flag in '' yes
7158+do
7159+  # Use a header file that comes with gcc, so configuring glibc
7160+  # with a fresh cross-compiler works.
7161+  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7162+  # <limits.h> exists even on freestanding compilers.
7163+  # On the NeXT, cc -E runs the code through the compiler's parser,
7164+  # not just through cpp. "Syntax error" is here to catch this case.
7165+  cat >conftest.$ac_ext <<_ACEOF
7166+/* confdefs.h.  */
7167+_ACEOF
7168+cat confdefs.h >>conftest.$ac_ext
7169+cat >>conftest.$ac_ext <<_ACEOF
7170+/* end confdefs.h.  */
7171+#ifdef __STDC__
7172+# include <limits.h>
7173+#else
7174+# include <assert.h>
7175+#endif
7176+		     Syntax error
7177+_ACEOF
7178+if { (ac_try="$ac_cpp conftest.$ac_ext"
7179+case "(($ac_try" in
7180+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181+  *) ac_try_echo=$ac_try;;
7182+esac
7183+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7184+$as_echo "$ac_try_echo") >&5
7185+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7186+  ac_status=$?
7187+  grep -v '^ *+' conftest.er1 >conftest.err
7188+  rm -f conftest.er1
7189+  cat conftest.err >&5
7190+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191+  (exit $ac_status); } >/dev/null && {
7192+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7193+	 test ! -s conftest.err
7194+       }; then
7195+  :
7196+else
7197+  $as_echo "$as_me: failed program was:" >&5
7198+sed 's/^/| /' conftest.$ac_ext >&5
7199+
7200+  # Broken: fails on valid input.
7201+continue
7202+fi
7203+
7204+rm -f conftest.err conftest.$ac_ext
7205+
7206+  # OK, works on sane cases.  Now check whether nonexistent headers
7207+  # can be detected and how.
7208+  cat >conftest.$ac_ext <<_ACEOF
7209+/* confdefs.h.  */
7210+_ACEOF
7211+cat confdefs.h >>conftest.$ac_ext
7212+cat >>conftest.$ac_ext <<_ACEOF
7213+/* end confdefs.h.  */
7214+#include <ac_nonexistent.h>
7215+_ACEOF
7216+if { (ac_try="$ac_cpp conftest.$ac_ext"
7217+case "(($ac_try" in
7218+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7219+  *) ac_try_echo=$ac_try;;
7220+esac
7221+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7222+$as_echo "$ac_try_echo") >&5
7223+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7224+  ac_status=$?
7225+  grep -v '^ *+' conftest.er1 >conftest.err
7226+  rm -f conftest.er1
7227+  cat conftest.err >&5
7228+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229+  (exit $ac_status); } >/dev/null && {
7230+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7231+	 test ! -s conftest.err
7232+       }; then
7233+  # Broken: success on invalid input.
7234+continue
7235+else
7236+  $as_echo "$as_me: failed program was:" >&5
7237+sed 's/^/| /' conftest.$ac_ext >&5
7238+
7239+  # Passes both tests.
7240+ac_preproc_ok=:
7241+break
7242 fi
7243-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7244-  echo "$ac_t""yes" 1>&6
7245+
7246+rm -f conftest.err conftest.$ac_ext
7247+
7248+done
7249+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7250+rm -f conftest.err conftest.$ac_ext
7251+if $ac_preproc_ok; then
7252   :
7253 else
7254-  echo "$ac_t""no" 1>&6
7255+  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7256+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7257+{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7258+See \`config.log' for more details." >&5
7259+$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7260+See \`config.log' for more details." >&2;}
7261+   { (exit 1); exit 1; }; }; }
7262+fi
7263+
7264+ac_ext=cpp
7265+ac_cpp='$CXXCPP $CPPFLAGS'
7266+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7269+
7270+
7271+if test "${ac_cv_header_iostream_h+set}" = set; then
7272+  { $as_echo "$as_me:$LINENO: checking for iostream.h" >&5
7273+$as_echo_n "checking for iostream.h... " >&6; }
7274+if test "${ac_cv_header_iostream_h+set}" = set; then
7275+  $as_echo_n "(cached) " >&6
7276+fi
7277+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iostream_h" >&5
7278+$as_echo "$ac_cv_header_iostream_h" >&6; }
7279+else
7280+  # Is the header compilable?
7281+{ $as_echo "$as_me:$LINENO: checking iostream.h usability" >&5
7282+$as_echo_n "checking iostream.h usability... " >&6; }
7283+cat >conftest.$ac_ext <<_ACEOF
7284+/* confdefs.h.  */
7285+_ACEOF
7286+cat confdefs.h >>conftest.$ac_ext
7287+cat >>conftest.$ac_ext <<_ACEOF
7288+/* end confdefs.h.  */
7289+$ac_includes_default
7290+#include <iostream.h>
7291+_ACEOF
7292+rm -f conftest.$ac_objext
7293+if { (ac_try="$ac_compile"
7294+case "(($ac_try" in
7295+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7296+  *) ac_try_echo=$ac_try;;
7297+esac
7298+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7299+$as_echo "$ac_try_echo") >&5
7300+  (eval "$ac_compile") 2>conftest.er1
7301+  ac_status=$?
7302+  grep -v '^ *+' conftest.er1 >conftest.err
7303+  rm -f conftest.er1
7304+  cat conftest.err >&5
7305+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306+  (exit $ac_status); } && {
7307+	 test -z "$ac_cxx_werror_flag" ||
7308+	 test ! -s conftest.err
7309+       } && test -s conftest.$ac_objext; then
7310+  ac_header_compiler=yes
7311+else
7312+  $as_echo "$as_me: failed program was:" >&5
7313+sed 's/^/| /' conftest.$ac_ext >&5
7314+
7315+	ac_header_compiler=no
7316+fi
7317+
7318+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7319+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7320+$as_echo "$ac_header_compiler" >&6; }
7321+
7322+# Is the header present?
7323+{ $as_echo "$as_me:$LINENO: checking iostream.h presence" >&5
7324+$as_echo_n "checking iostream.h presence... " >&6; }
7325+cat >conftest.$ac_ext <<_ACEOF
7326+/* confdefs.h.  */
7327+_ACEOF
7328+cat confdefs.h >>conftest.$ac_ext
7329+cat >>conftest.$ac_ext <<_ACEOF
7330+/* end confdefs.h.  */
7331+#include <iostream.h>
7332+_ACEOF
7333+if { (ac_try="$ac_cpp conftest.$ac_ext"
7334+case "(($ac_try" in
7335+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7336+  *) ac_try_echo=$ac_try;;
7337+esac
7338+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7339+$as_echo "$ac_try_echo") >&5
7340+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7341+  ac_status=$?
7342+  grep -v '^ *+' conftest.er1 >conftest.err
7343+  rm -f conftest.er1
7344+  cat conftest.err >&5
7345+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346+  (exit $ac_status); } >/dev/null && {
7347+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7348+	 test ! -s conftest.err
7349+       }; then
7350+  ac_header_preproc=yes
7351+else
7352+  $as_echo "$as_me: failed program was:" >&5
7353+sed 's/^/| /' conftest.$ac_ext >&5
7354+
7355+  ac_header_preproc=no
7356+fi
7357+
7358+rm -f conftest.err conftest.$ac_ext
7359+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7360+$as_echo "$ac_header_preproc" >&6; }
7361+
7362+# So?  What about this header?
7363+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7364+  yes:no: )
7365+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: accepted by the compiler, rejected by the preprocessor!" >&5
7366+$as_echo "$as_me: WARNING: iostream.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7367+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: proceeding with the compiler's result" >&5
7368+$as_echo "$as_me: WARNING: iostream.h: proceeding with the compiler's result" >&2;}
7369+    ac_header_preproc=yes
7370+    ;;
7371+  no:yes:* )
7372+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: present but cannot be compiled" >&5
7373+$as_echo "$as_me: WARNING: iostream.h: present but cannot be compiled" >&2;}
7374+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h:     check for missing prerequisite headers?" >&5
7375+$as_echo "$as_me: WARNING: iostream.h:     check for missing prerequisite headers?" >&2;}
7376+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: see the Autoconf documentation" >&5
7377+$as_echo "$as_me: WARNING: iostream.h: see the Autoconf documentation" >&2;}
7378+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h:     section \"Present But Cannot Be Compiled\"" >&5
7379+$as_echo "$as_me: WARNING: iostream.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7380+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: proceeding with the preprocessor's result" >&5
7381+$as_echo "$as_me: WARNING: iostream.h: proceeding with the preprocessor's result" >&2;}
7382+    { $as_echo "$as_me:$LINENO: WARNING: iostream.h: in the future, the compiler will take precedence" >&5
7383+$as_echo "$as_me: WARNING: iostream.h: in the future, the compiler will take precedence" >&2;}
7384+
7385+    ;;
7386+esac
7387+{ $as_echo "$as_me:$LINENO: checking for iostream.h" >&5
7388+$as_echo_n "checking for iostream.h... " >&6; }
7389+if test "${ac_cv_header_iostream_h+set}" = set; then
7390+  $as_echo_n "(cached) " >&6
7391+else
7392+  ac_cv_header_iostream_h=$ac_header_preproc
7393+fi
7394+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_iostream_h" >&5
7395+$as_echo "$ac_cv_header_iostream_h" >&6; }
7396+
7397 fi
7398
7399+
7400         if test $ac_cv_header_iostream_h = yes; then
7401-            echo $ac_n "checking whether ostream is really defined""... $ac_c" 1>&6
7402-echo "configure:2547: checking whether ostream is really defined" >&5
7403-            if eval "test \"`echo '$''{'ac_cv_iostream_ok'+set}'`\" = set"; then
7404-  echo $ac_n "(cached) $ac_c" 1>&6
7405-else
7406-  cat > conftest.$ac_ext <<EOF
7407-#line 2552 "configure"
7408-#include "confdefs.h"
7409+            { $as_echo "$as_me:$LINENO: checking whether ostream is really defined" >&5
7410+$as_echo_n "checking whether ostream is really defined... " >&6; }
7411+            if test "${ac_cv_iostream_ok+set}" = set; then
7412+  $as_echo_n "(cached) " >&6
7413+else
7414+  cat >conftest.$ac_ext <<_ACEOF
7415+/* confdefs.h.  */
7416+_ACEOF
7417+cat confdefs.h >>conftest.$ac_ext
7418+cat >>conftest.$ac_ext <<_ACEOF
7419+/* end confdefs.h.  */
7420 #include <iostream.h>
7421-int main() {
7422+int
7423+main ()
7424+{
7425 ostream &testout = cout; testout << "test" << endl;
7426-; return 0; }
7427-EOF
7428-if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7429-  rm -rf conftest*
7430+  ;
7431+  return 0;
7432+}
7433+_ACEOF
7434+rm -f conftest.$ac_objext conftest$ac_exeext
7435+if { (ac_try="$ac_link"
7436+case "(($ac_try" in
7437+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438+  *) ac_try_echo=$ac_try;;
7439+esac
7440+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7441+$as_echo "$ac_try_echo") >&5
7442+  (eval "$ac_link") 2>conftest.er1
7443+  ac_status=$?
7444+  grep -v '^ *+' conftest.er1 >conftest.err
7445+  rm -f conftest.er1
7446+  cat conftest.err >&5
7447+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448+  (exit $ac_status); } && {
7449+	 test -z "$ac_cxx_werror_flag" ||
7450+	 test ! -s conftest.err
7451+       } && test -s conftest$ac_exeext && {
7452+	 test "$cross_compiling" = yes ||
7453+	 $as_test_x conftest$ac_exeext
7454+       }; then
7455   ac_cv_iostream_ok=yes
7456 else
7457-  echo "configure: failed program was:" >&5
7458-  cat conftest.$ac_ext >&5
7459-  rm -rf conftest*
7460-  ac_cv_iostream_ok=no
7461+  $as_echo "$as_me: failed program was:" >&5
7462+sed 's/^/| /' conftest.$ac_ext >&5
7463+
7464+	ac_cv_iostream_ok=no
7465 fi
7466-rm -f conftest*
7467+
7468+rm -rf conftest.dSYM
7469+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7470+      conftest$ac_exeext conftest.$ac_ext
7471 fi
7472
7473-            echo "$ac_t""$ac_cv_iostream_ok" 1>&6
7474+            { $as_echo "$as_me:$LINENO: result: $ac_cv_iostream_ok" >&5
7475+$as_echo "$ac_cv_iostream_ok" >&6; }
7476             if test $ac_cv_iostream_ok = yes
7477             then
7478                 U_IOSTREAM_SOURCE=198506
7479@@ -2587,108 +6264,425 @@
7480                 ;;
7481             esac
7482         else
7483-            { echo "configure: error: ${withval} iostream is not available" 1>&2; exit 1; }
7484+            { { $as_echo "$as_me:$LINENO: error: ${withval} iostream is not available" >&5
7485+$as_echo "$as_me: error: ${withval} iostream is not available" >&2;}
7486+   { (exit 1); exit 1; }; }
7487         fi
7488     fi
7489 fi
7490
7491 ac_ext=c
7492-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7493 ac_cpp='$CPP $CPPFLAGS'
7494-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7495-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7496-cross_compiling=$ac_cv_prog_cc_cross
7497+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7498+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7499+ac_compiler_gnu=$ac_cv_c_compiler_gnu
7500+
7501
7502
7503-echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
7504-echo "configure:2605: checking whether byte ordering is bigendian" >&5
7505-if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
7506-  echo $ac_n "(cached) $ac_c" 1>&6
7507+ { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7508+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
7509+if test "${ac_cv_c_bigendian+set}" = set; then
7510+  $as_echo_n "(cached) " >&6
7511 else
7512   ac_cv_c_bigendian=unknown
7513-# See if sys/param.h defines the BYTE_ORDER macro.
7514-cat > conftest.$ac_ext <<EOF
7515-#line 2612 "configure"
7516-#include "confdefs.h"
7517+    # See if we're dealing with a universal compiler.
7518+    cat >conftest.$ac_ext <<_ACEOF
7519+/* confdefs.h.  */
7520+_ACEOF
7521+cat confdefs.h >>conftest.$ac_ext
7522+cat >>conftest.$ac_ext <<_ACEOF
7523+/* end confdefs.h.  */
7524+#ifndef __APPLE_CC__
7525+	       not a universal capable compiler
7526+	     #endif
7527+	     typedef int dummy;
7528+
7529+_ACEOF
7530+rm -f conftest.$ac_objext
7531+if { (ac_try="$ac_compile"
7532+case "(($ac_try" in
7533+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7534+  *) ac_try_echo=$ac_try;;
7535+esac
7536+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7537+$as_echo "$ac_try_echo") >&5
7538+  (eval "$ac_compile") 2>conftest.er1
7539+  ac_status=$?
7540+  grep -v '^ *+' conftest.er1 >conftest.err
7541+  rm -f conftest.er1
7542+  cat conftest.err >&5
7543+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544+  (exit $ac_status); } && {
7545+	 test -z "$ac_c_werror_flag" ||
7546+	 test ! -s conftest.err
7547+       } && test -s conftest.$ac_objext; then
7548+
7549+	# Check for potential -arch flags.  It is not universal unless
7550+	# there are some -arch flags.  Note that *ppc* also matches
7551+	# ppc64.  This check is also rather less than ideal.
7552+	case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
7553+	  *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
7554+	esac
7555+else
7556+  $as_echo "$as_me: failed program was:" >&5
7557+sed 's/^/| /' conftest.$ac_ext >&5
7558+
7559+
7560+fi
7561+
7562+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7563+    if test $ac_cv_c_bigendian = unknown; then
7564+      # See if sys/param.h defines the BYTE_ORDER macro.
7565+      cat >conftest.$ac_ext <<_ACEOF
7566+/* confdefs.h.  */
7567+_ACEOF
7568+cat confdefs.h >>conftest.$ac_ext
7569+cat >>conftest.$ac_ext <<_ACEOF
7570+/* end confdefs.h.  */
7571 #include <sys/types.h>
7572-#include <sys/param.h>
7573-int main() {
7574+	     #include <sys/param.h>
7575
7576-#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7577- bogus endian macros
7578-#endif
7579-; return 0; }
7580-EOF
7581-if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7582-  rm -rf conftest*
7583+int
7584+main ()
7585+{
7586+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
7587+		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
7588+		     && LITTLE_ENDIAN)
7589+	      bogus endian macros
7590+	     #endif
7591+
7592+  ;
7593+  return 0;
7594+}
7595+_ACEOF
7596+rm -f conftest.$ac_objext
7597+if { (ac_try="$ac_compile"
7598+case "(($ac_try" in
7599+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7600+  *) ac_try_echo=$ac_try;;
7601+esac
7602+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7603+$as_echo "$ac_try_echo") >&5
7604+  (eval "$ac_compile") 2>conftest.er1
7605+  ac_status=$?
7606+  grep -v '^ *+' conftest.er1 >conftest.err
7607+  rm -f conftest.er1
7608+  cat conftest.err >&5
7609+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610+  (exit $ac_status); } && {
7611+	 test -z "$ac_c_werror_flag" ||
7612+	 test ! -s conftest.err
7613+       } && test -s conftest.$ac_objext; then
7614   # It does; now see whether it defined to BIG_ENDIAN or not.
7615-cat > conftest.$ac_ext <<EOF
7616-#line 2627 "configure"
7617-#include "confdefs.h"
7618+	 cat >conftest.$ac_ext <<_ACEOF
7619+/* confdefs.h.  */
7620+_ACEOF
7621+cat confdefs.h >>conftest.$ac_ext
7622+cat >>conftest.$ac_ext <<_ACEOF
7623+/* end confdefs.h.  */
7624 #include <sys/types.h>
7625-#include <sys/param.h>
7626-int main() {
7627+		#include <sys/param.h>
7628
7629+int
7630+main ()
7631+{
7632 #if BYTE_ORDER != BIG_ENDIAN
7633- not big endian
7634-#endif
7635-; return 0; }
7636-EOF
7637-if { (eval echo configure:2638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7638-  rm -rf conftest*
7639+		 not big endian
7640+		#endif
7641+
7642+  ;
7643+  return 0;
7644+}
7645+_ACEOF
7646+rm -f conftest.$ac_objext
7647+if { (ac_try="$ac_compile"
7648+case "(($ac_try" in
7649+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7650+  *) ac_try_echo=$ac_try;;
7651+esac
7652+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7653+$as_echo "$ac_try_echo") >&5
7654+  (eval "$ac_compile") 2>conftest.er1
7655+  ac_status=$?
7656+  grep -v '^ *+' conftest.er1 >conftest.err
7657+  rm -f conftest.er1
7658+  cat conftest.err >&5
7659+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660+  (exit $ac_status); } && {
7661+	 test -z "$ac_c_werror_flag" ||
7662+	 test ! -s conftest.err
7663+       } && test -s conftest.$ac_objext; then
7664   ac_cv_c_bigendian=yes
7665 else
7666-  echo "configure: failed program was:" >&5
7667-  cat conftest.$ac_ext >&5
7668-  rm -rf conftest*
7669-  ac_cv_c_bigendian=no
7670+  $as_echo "$as_me: failed program was:" >&5
7671+sed 's/^/| /' conftest.$ac_ext >&5
7672+
7673+	ac_cv_c_bigendian=no
7674 fi
7675-rm -f conftest*
7676+
7677+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7678 else
7679-  echo "configure: failed program was:" >&5
7680-  cat conftest.$ac_ext >&5
7681+  $as_echo "$as_me: failed program was:" >&5
7682+sed 's/^/| /' conftest.$ac_ext >&5
7683+
7684+
7685 fi
7686-rm -f conftest*
7687-if test $ac_cv_c_bigendian = unknown; then
7688-if test "$cross_compiling" = yes; then
7689-    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
7690-else
7691-  cat > conftest.$ac_ext <<EOF
7692-#line 2658 "configure"
7693-#include "confdefs.h"
7694-main () {
7695-  /* Are we little or big endian?  From Harbison&Steele.  */
7696-  union
7697-  {
7698-    long l;
7699-    char c[sizeof (long)];
7700-  } u;
7701-  u.l = 1;
7702-  exit (u.c[sizeof (long) - 1] == 1);
7703+
7704+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7705+    fi
7706+    if test $ac_cv_c_bigendian = unknown; then
7707+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
7708+      cat >conftest.$ac_ext <<_ACEOF
7709+/* confdefs.h.  */
7710+_ACEOF
7711+cat confdefs.h >>conftest.$ac_ext
7712+cat >>conftest.$ac_ext <<_ACEOF
7713+/* end confdefs.h.  */
7714+#include <limits.h>
7715+
7716+int
7717+main ()
7718+{
7719+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
7720+	      bogus endian macros
7721+	     #endif
7722+
7723+  ;
7724+  return 0;
7725 }
7726-EOF
7727-if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7728-then
7729-  ac_cv_c_bigendian=no
7730-else
7731-  echo "configure: failed program was:" >&5
7732-  cat conftest.$ac_ext >&5
7733-  rm -fr conftest*
7734+_ACEOF
7735+rm -f conftest.$ac_objext
7736+if { (ac_try="$ac_compile"
7737+case "(($ac_try" in
7738+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7739+  *) ac_try_echo=$ac_try;;
7740+esac
7741+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7742+$as_echo "$ac_try_echo") >&5
7743+  (eval "$ac_compile") 2>conftest.er1
7744+  ac_status=$?
7745+  grep -v '^ *+' conftest.er1 >conftest.err
7746+  rm -f conftest.er1
7747+  cat conftest.err >&5
7748+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749+  (exit $ac_status); } && {
7750+	 test -z "$ac_c_werror_flag" ||
7751+	 test ! -s conftest.err
7752+       } && test -s conftest.$ac_objext; then
7753+  # It does; now see whether it defined to _BIG_ENDIAN or not.
7754+	 cat >conftest.$ac_ext <<_ACEOF
7755+/* confdefs.h.  */
7756+_ACEOF
7757+cat confdefs.h >>conftest.$ac_ext
7758+cat >>conftest.$ac_ext <<_ACEOF
7759+/* end confdefs.h.  */
7760+#include <limits.h>
7761+
7762+int
7763+main ()
7764+{
7765+#ifndef _BIG_ENDIAN
7766+		 not big endian
7767+		#endif
7768+
7769+  ;
7770+  return 0;
7771+}
7772+_ACEOF
7773+rm -f conftest.$ac_objext
7774+if { (ac_try="$ac_compile"
7775+case "(($ac_try" in
7776+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7777+  *) ac_try_echo=$ac_try;;
7778+esac
7779+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7780+$as_echo "$ac_try_echo") >&5
7781+  (eval "$ac_compile") 2>conftest.er1
7782+  ac_status=$?
7783+  grep -v '^ *+' conftest.er1 >conftest.err
7784+  rm -f conftest.er1
7785+  cat conftest.err >&5
7786+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787+  (exit $ac_status); } && {
7788+	 test -z "$ac_c_werror_flag" ||
7789+	 test ! -s conftest.err
7790+       } && test -s conftest.$ac_objext; then
7791   ac_cv_c_bigendian=yes
7792+else
7793+  $as_echo "$as_me: failed program was:" >&5
7794+sed 's/^/| /' conftest.$ac_ext >&5
7795+
7796+	ac_cv_c_bigendian=no
7797+fi
7798+
7799+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7800+else
7801+  $as_echo "$as_me: failed program was:" >&5
7802+sed 's/^/| /' conftest.$ac_ext >&5
7803+
7804+
7805 fi
7806-rm -fr conftest*
7807+
7808+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7809+    fi
7810+    if test $ac_cv_c_bigendian = unknown; then
7811+      # Compile a test program.
7812+      if test "$cross_compiling" = yes; then
7813+  # Try to guess by grepping values from an object file.
7814+	 cat >conftest.$ac_ext <<_ACEOF
7815+/* confdefs.h.  */
7816+_ACEOF
7817+cat confdefs.h >>conftest.$ac_ext
7818+cat >>conftest.$ac_ext <<_ACEOF
7819+/* end confdefs.h.  */
7820+short int ascii_mm[] =
7821+		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7822+		short int ascii_ii[] =
7823+		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7824+		int use_ascii (int i) {
7825+		  return ascii_mm[i] + ascii_ii[i];
7826+		}
7827+		short int ebcdic_ii[] =
7828+		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7829+		short int ebcdic_mm[] =
7830+		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7831+		int use_ebcdic (int i) {
7832+		  return ebcdic_mm[i] + ebcdic_ii[i];
7833+		}
7834+		extern int foo;
7835+
7836+int
7837+main ()
7838+{
7839+return use_ascii (foo) == use_ebcdic (foo);
7840+  ;
7841+  return 0;
7842+}
7843+_ACEOF
7844+rm -f conftest.$ac_objext
7845+if { (ac_try="$ac_compile"
7846+case "(($ac_try" in
7847+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7848+  *) ac_try_echo=$ac_try;;
7849+esac
7850+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7851+$as_echo "$ac_try_echo") >&5
7852+  (eval "$ac_compile") 2>conftest.er1
7853+  ac_status=$?
7854+  grep -v '^ *+' conftest.er1 >conftest.err
7855+  rm -f conftest.er1
7856+  cat conftest.err >&5
7857+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858+  (exit $ac_status); } && {
7859+	 test -z "$ac_c_werror_flag" ||
7860+	 test ! -s conftest.err
7861+       } && test -s conftest.$ac_objext; then
7862+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
7863+	      ac_cv_c_bigendian=yes
7864+	    fi
7865+	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
7866+	      if test "$ac_cv_c_bigendian" = unknown; then
7867+		ac_cv_c_bigendian=no
7868+	      else
7869+		# finding both strings is unlikely to happen, but who knows?
7870+		ac_cv_c_bigendian=unknown
7871+	      fi
7872+	    fi
7873+else
7874+  $as_echo "$as_me: failed program was:" >&5
7875+sed 's/^/| /' conftest.$ac_ext >&5
7876+
7877+
7878 fi
7879
7880+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7881+else
7882+  cat >conftest.$ac_ext <<_ACEOF
7883+/* confdefs.h.  */
7884+_ACEOF
7885+cat confdefs.h >>conftest.$ac_ext
7886+cat >>conftest.$ac_ext <<_ACEOF
7887+/* end confdefs.h.  */
7888+$ac_includes_default
7889+int
7890+main ()
7891+{
7892+
7893+	     /* Are we little or big endian?  From Harbison&Steele.  */
7894+	     union
7895+	     {
7896+	       long int l;
7897+	       char c[sizeof (long int)];
7898+	     } u;
7899+	     u.l = 1;
7900+	     return u.c[sizeof (long int) - 1] == 1;
7901+
7902+  ;
7903+  return 0;
7904+}
7905+_ACEOF
7906+rm -f conftest$ac_exeext
7907+if { (ac_try="$ac_link"
7908+case "(($ac_try" in
7909+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910+  *) ac_try_echo=$ac_try;;
7911+esac
7912+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7913+$as_echo "$ac_try_echo") >&5
7914+  (eval "$ac_link") 2>&5
7915+  ac_status=$?
7916+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7918+  { (case "(($ac_try" in
7919+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7920+  *) ac_try_echo=$ac_try;;
7921+esac
7922+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7923+$as_echo "$ac_try_echo") >&5
7924+  (eval "$ac_try") 2>&5
7925+  ac_status=$?
7926+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927+  (exit $ac_status); }; }; then
7928+  ac_cv_c_bigendian=no
7929+else
7930+  $as_echo "$as_me: program exited with status $ac_status" >&5
7931+$as_echo "$as_me: failed program was:" >&5
7932+sed 's/^/| /' conftest.$ac_ext >&5
7933+
7934+( exit $ac_status )
7935+ac_cv_c_bigendian=yes
7936 fi
7937+rm -rf conftest.dSYM
7938+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7939 fi
7940
7941-echo "$ac_t""$ac_cv_c_bigendian" 1>&6
7942-if test $ac_cv_c_bigendian = yes; then
7943-  cat >> confdefs.h <<\EOF
7944-#define WORDS_BIGENDIAN 1
7945-EOF
7946
7947+    fi
7948 fi
7949+{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7950+$as_echo "$ac_cv_c_bigendian" >&6; }
7951+ case $ac_cv_c_bigendian in #(
7952+   yes)
7953+     cat >>confdefs.h <<\_ACEOF
7954+#define WORDS_BIGENDIAN 1
7955+_ACEOF
7956+;; #(
7957+   no)
7958+      ;; #(
7959+   universal)
7960+
7961+cat >>confdefs.h <<\_ACEOF
7962+#define AC_APPLE_UNIVERSAL_BUILD 1
7963+_ACEOF
7964+
7965+     ;; #(
7966+   *)
7967+     { { $as_echo "$as_me:$LINENO: error: unknown endianness
7968+ presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7969+$as_echo "$as_me: error: unknown endianness
7970+ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7971+   { (exit 1); exit 1; }; } ;;
7972+ esac
7973
7974 if test $ac_cv_c_bigendian = no; then
7975 U_IS_BIG_ENDIAN=0
7976@@ -2701,84 +6695,157 @@
7977
7978 U_HAVE_NL_LANGINFO_CODESET=0
7979 U_NL_LANGINFO_CODESET=-1
7980-echo $ac_n "checking for nl_langinfo""... $ac_c" 1>&6
7981-echo "configure:2706: checking for nl_langinfo" >&5
7982-if eval "test \"`echo '$''{'ac_cv_func_nl_langinfo'+set}'`\" = set"; then
7983-  echo $ac_n "(cached) $ac_c" 1>&6
7984-else
7985-  cat > conftest.$ac_ext <<EOF
7986-#line 2711 "configure"
7987-#include "confdefs.h"
7988+{ $as_echo "$as_me:$LINENO: checking for nl_langinfo" >&5
7989+$as_echo_n "checking for nl_langinfo... " >&6; }
7990+if test "${ac_cv_func_nl_langinfo+set}" = set; then
7991+  $as_echo_n "(cached) " >&6
7992+else
7993+  cat >conftest.$ac_ext <<_ACEOF
7994+/* confdefs.h.  */
7995+_ACEOF
7996+cat confdefs.h >>conftest.$ac_ext
7997+cat >>conftest.$ac_ext <<_ACEOF
7998+/* end confdefs.h.  */
7999+/* Define nl_langinfo to an innocuous variant, in case <limits.h> declares nl_langinfo.
8000+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8001+#define nl_langinfo innocuous_nl_langinfo
8002+
8003 /* System header to define __stub macros and hopefully few prototypes,
8004-    which can conflict with char nl_langinfo(); below.  */
8005-#include <assert.h>
8006-/* Override any gcc2 internal prototype to avoid an error.  */
8007-/* We use char because int might match the return type of a gcc2
8008-    builtin and then its argument prototype would still apply.  */
8009-char nl_langinfo();
8010+    which can conflict with char nl_langinfo (); below.
8011+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8012+    <limits.h> exists even on freestanding compilers.  */
8013
8014-int main() {
8015+#ifdef __STDC__
8016+# include <limits.h>
8017+#else
8018+# include <assert.h>
8019+#endif
8020
8021+#undef nl_langinfo
8022+
8023+/* Override any GCC internal prototype to avoid an error.
8024+   Use char because int might match the return type of a GCC
8025+   builtin and then its argument prototype would still apply.  */
8026+#ifdef __cplusplus
8027+extern "C"
8028+#endif
8029+char nl_langinfo ();
8030 /* The GNU C library defines this for functions which it implements
8031     to always fail with ENOSYS.  Some functions are actually named
8032     something starting with __ and the normal name is an alias.  */
8033-#if defined (__stub_nl_langinfo) || defined (__stub___nl_langinfo)
8034+#if defined __stub_nl_langinfo || defined __stub___nl_langinfo
8035 choke me
8036-#else
8037-nl_langinfo();
8038 #endif
8039
8040-; return 0; }
8041-EOF
8042-if { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8043-  rm -rf conftest*
8044-  eval "ac_cv_func_nl_langinfo=yes"
8045-else
8046-  echo "configure: failed program was:" >&5
8047-  cat conftest.$ac_ext >&5
8048-  rm -rf conftest*
8049-  eval "ac_cv_func_nl_langinfo=no"
8050-fi
8051-rm -f conftest*
8052-fi
8053-
8054-if eval "test \"`echo '$ac_cv_func_'nl_langinfo`\" = yes"; then
8055-  echo "$ac_t""yes" 1>&6
8056+int
8057+main ()
8058+{
8059+return nl_langinfo ();
8060+  ;
8061+  return 0;
8062+}
8063+_ACEOF
8064+rm -f conftest.$ac_objext conftest$ac_exeext
8065+if { (ac_try="$ac_link"
8066+case "(($ac_try" in
8067+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068+  *) ac_try_echo=$ac_try;;
8069+esac
8070+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8071+$as_echo "$ac_try_echo") >&5
8072+  (eval "$ac_link") 2>conftest.er1
8073+  ac_status=$?
8074+  grep -v '^ *+' conftest.er1 >conftest.err
8075+  rm -f conftest.er1
8076+  cat conftest.err >&5
8077+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078+  (exit $ac_status); } && {
8079+	 test -z "$ac_c_werror_flag" ||
8080+	 test ! -s conftest.err
8081+       } && test -s conftest$ac_exeext && {
8082+	 test "$cross_compiling" = yes ||
8083+	 $as_test_x conftest$ac_exeext
8084+       }; then
8085+  ac_cv_func_nl_langinfo=yes
8086+else
8087+  $as_echo "$as_me: failed program was:" >&5
8088+sed 's/^/| /' conftest.$ac_ext >&5
8089+
8090+	ac_cv_func_nl_langinfo=no
8091+fi
8092+
8093+rm -rf conftest.dSYM
8094+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8095+      conftest$ac_exeext conftest.$ac_ext
8096+fi
8097+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_nl_langinfo" >&5
8098+$as_echo "$ac_cv_func_nl_langinfo" >&6; }
8099+if test "x$ac_cv_func_nl_langinfo" = x""yes; then
8100   U_HAVE_NL_LANGINFO=1
8101 else
8102-  echo "$ac_t""no" 1>&6
8103-U_HAVE_NL_LANGINFO=0
8104+  U_HAVE_NL_LANGINFO=0
8105 fi
8106
8107
8108 if test $U_HAVE_NL_LANGINFO -eq 1; then
8109-  echo $ac_n "checking for nl_langinfo's argument to obtain the codeset""... $ac_c" 1>&6
8110-echo "configure:2757: checking for nl_langinfo's argument to obtain the codeset" >&5
8111-if eval "test \"`echo '$''{'ac_cv_nl_langinfo_codeset'+set}'`\" = set"; then
8112-  echo $ac_n "(cached) $ac_c" 1>&6
8113+  { $as_echo "$as_me:$LINENO: checking for nl_langinfo's argument to obtain the codeset" >&5
8114+$as_echo_n "checking for nl_langinfo's argument to obtain the codeset... " >&6; }
8115+if test "${ac_cv_nl_langinfo_codeset+set}" = set; then
8116+  $as_echo_n "(cached) " >&6
8117 else
8118   ac_cv_nl_langinfo_codeset="unknown"
8119   for a in CODESET _NL_CTYPE_CODESET_NAME; do
8120-  cat > conftest.$ac_ext <<EOF
8121-#line 2764 "configure"
8122-#include "confdefs.h"
8123+  cat >conftest.$ac_ext <<_ACEOF
8124+/* confdefs.h.  */
8125+_ACEOF
8126+cat confdefs.h >>conftest.$ac_ext
8127+cat >>conftest.$ac_ext <<_ACEOF
8128+/* end confdefs.h.  */
8129 #include <langinfo.h>
8130-int main() {
8131+int
8132+main ()
8133+{
8134 nl_langinfo($a);
8135-; return 0; }
8136-EOF
8137-if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8138-  rm -rf conftest*
8139+  ;
8140+  return 0;
8141+}
8142+_ACEOF
8143+rm -f conftest.$ac_objext conftest$ac_exeext
8144+if { (ac_try="$ac_link"
8145+case "(($ac_try" in
8146+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8147+  *) ac_try_echo=$ac_try;;
8148+esac
8149+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8150+$as_echo "$ac_try_echo") >&5
8151+  (eval "$ac_link") 2>conftest.er1
8152+  ac_status=$?
8153+  grep -v '^ *+' conftest.er1 >conftest.err
8154+  rm -f conftest.er1
8155+  cat conftest.err >&5
8156+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157+  (exit $ac_status); } && {
8158+	 test -z "$ac_c_werror_flag" ||
8159+	 test ! -s conftest.err
8160+       } && test -s conftest$ac_exeext && {
8161+	 test "$cross_compiling" = yes ||
8162+	 $as_test_x conftest$ac_exeext
8163+       }; then
8164   ac_cv_nl_langinfo_codeset="$a"; break
8165 else
8166-  echo "configure: failed program was:" >&5
8167-  cat conftest.$ac_ext >&5
8168+  $as_echo "$as_me: failed program was:" >&5
8169+sed 's/^/| /' conftest.$ac_ext >&5
8170+
8171+
8172 fi
8173-rm -f conftest*
8174+
8175+rm -rf conftest.dSYM
8176+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8177+      conftest$ac_exeext conftest.$ac_ext
8178   done
8179 fi
8180-
8181-echo "$ac_t""$ac_cv_nl_langinfo_codeset" 1>&6
8182+{ $as_echo "$as_me:$LINENO: result: $ac_cv_nl_langinfo_codeset" >&5
8183+$as_echo "$ac_cv_nl_langinfo_codeset" >&6; }
8184   if test x$ac_cv_nl_langinfo_codeset != xunknown
8185   then
8186       U_HAVE_NL_LANGINFO_CODESET=1
8187@@ -2788,42 +6855,71 @@
8188
8189
8190
8191-ac_ext=C
8192-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8193+ac_ext=cpp
8194 ac_cpp='$CXXCPP $CPPFLAGS'
8195-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8196-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8197-cross_compiling=$ac_cv_prog_cxx_cross
8198-
8199-echo $ac_n "checking for namespace support""... $ac_c" 1>&6
8200-echo "configure:2800: checking for namespace support" >&5
8201-if eval "test \"`echo '$''{'ac_cv_namespace_ok'+set}'`\" = set"; then
8202-  echo $ac_n "(cached) $ac_c" 1>&6
8203-else
8204-  cat > conftest.$ac_ext <<EOF
8205-#line 2805 "configure"
8206-#include "confdefs.h"
8207+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8208+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8209+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8210+
8211+{ $as_echo "$as_me:$LINENO: checking for namespace support" >&5
8212+$as_echo_n "checking for namespace support... " >&6; }
8213+if test "${ac_cv_namespace_ok+set}" = set; then
8214+  $as_echo_n "(cached) " >&6
8215+else
8216+  cat >conftest.$ac_ext <<_ACEOF
8217+/* confdefs.h.  */
8218+_ACEOF
8219+cat confdefs.h >>conftest.$ac_ext
8220+cat >>conftest.$ac_ext <<_ACEOF
8221+/* end confdefs.h.  */
8222     namespace x_version {void f(){}};
8223     namespace x = x_version;
8224     using namespace x_version;
8225-
8226-int main() {
8227+
8228+int
8229+main ()
8230+{
8231     f();
8232-; return 0; }
8233-EOF
8234-if { (eval echo configure:2815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8235-  rm -rf conftest*
8236+  ;
8237+  return 0;
8238+}
8239+_ACEOF
8240+rm -f conftest.$ac_objext conftest$ac_exeext
8241+if { (ac_try="$ac_link"
8242+case "(($ac_try" in
8243+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244+  *) ac_try_echo=$ac_try;;
8245+esac
8246+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8247+$as_echo "$ac_try_echo") >&5
8248+  (eval "$ac_link") 2>conftest.er1
8249+  ac_status=$?
8250+  grep -v '^ *+' conftest.er1 >conftest.err
8251+  rm -f conftest.er1
8252+  cat conftest.err >&5
8253+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254+  (exit $ac_status); } && {
8255+	 test -z "$ac_cxx_werror_flag" ||
8256+	 test ! -s conftest.err
8257+       } && test -s conftest$ac_exeext && {
8258+	 test "$cross_compiling" = yes ||
8259+	 $as_test_x conftest$ac_exeext
8260+       }; then
8261   ac_cv_namespace_ok=yes
8262 else
8263-  echo "configure: failed program was:" >&5
8264-  cat conftest.$ac_ext >&5
8265-  rm -rf conftest*
8266-  ac_cv_namespace_ok=no
8267+  $as_echo "$as_me: failed program was:" >&5
8268+sed 's/^/| /' conftest.$ac_ext >&5
8269+
8270+	ac_cv_namespace_ok=no
8271 fi
8272-rm -f conftest*
8273+
8274+rm -rf conftest.dSYM
8275+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8276+      conftest$ac_exeext conftest.$ac_ext
8277 fi
8278
8279-echo "$ac_t""$ac_cv_namespace_ok" 1>&6
8280+{ $as_echo "$as_me:$LINENO: result: $ac_cv_namespace_ok" >&5
8281+$as_echo "$ac_cv_namespace_ok" >&6; }
8282 U_HAVE_NAMESPACE=1
8283 if test $ac_cv_namespace_ok = no
8284 then
8285@@ -2831,16 +6927,19 @@
8286 fi
8287
8288
8289-echo $ac_n "checking for properly overriding new and delete""... $ac_c" 1>&6
8290-echo "configure:2836: checking for properly overriding new and delete" >&5
8291+{ $as_echo "$as_me:$LINENO: checking for properly overriding new and delete" >&5
8292+$as_echo_n "checking for properly overriding new and delete... " >&6; }
8293 U_OVERRIDE_CXX_ALLOCATION=0
8294 U_HAVE_PLACEMENT_NEW=0
8295-if eval "test \"`echo '$''{'ac_cv_override_cxx_allocation_ok'+set}'`\" = set"; then
8296-  echo $ac_n "(cached) $ac_c" 1>&6
8297+if test "${ac_cv_override_cxx_allocation_ok+set}" = set; then
8298+  $as_echo_n "(cached) " >&6
8299 else
8300-  cat > conftest.$ac_ext <<EOF
8301-#line 2843 "configure"
8302-#include "confdefs.h"
8303+  cat >conftest.$ac_ext <<_ACEOF
8304+/* confdefs.h.  */
8305+_ACEOF
8306+cat confdefs.h >>conftest.$ac_ext
8307+cat >>conftest.$ac_ext <<_ACEOF
8308+/* end confdefs.h.  */
8309     #include <stdlib.h>
8310     class UObject {
8311     void *operator new(size_t size) {return malloc(size);}
8312@@ -2848,35 +6947,65 @@
8313     void operator delete(void *p) {free(p);}
8314     void operator delete[](void *p) {free(p);}
8315     };
8316-
8317-int main() {
8318-
8319-; return 0; }
8320-EOF
8321-if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8322-  rm -rf conftest*
8323+
8324+int
8325+main ()
8326+{
8327+
8328+  ;
8329+  return 0;
8330+}
8331+_ACEOF
8332+rm -f conftest.$ac_objext conftest$ac_exeext
8333+if { (ac_try="$ac_link"
8334+case "(($ac_try" in
8335+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8336+  *) ac_try_echo=$ac_try;;
8337+esac
8338+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8339+$as_echo "$ac_try_echo") >&5
8340+  (eval "$ac_link") 2>conftest.er1
8341+  ac_status=$?
8342+  grep -v '^ *+' conftest.er1 >conftest.err
8343+  rm -f conftest.er1
8344+  cat conftest.err >&5
8345+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346+  (exit $ac_status); } && {
8347+	 test -z "$ac_cxx_werror_flag" ||
8348+	 test ! -s conftest.err
8349+       } && test -s conftest$ac_exeext && {
8350+	 test "$cross_compiling" = yes ||
8351+	 $as_test_x conftest$ac_exeext
8352+       }; then
8353   ac_cv_override_cxx_allocation_ok=yes
8354 else
8355-  echo "configure: failed program was:" >&5
8356-  cat conftest.$ac_ext >&5
8357-  rm -rf conftest*
8358-  ac_cv_override_cxx_allocation_ok=no
8359+  $as_echo "$as_me: failed program was:" >&5
8360+sed 's/^/| /' conftest.$ac_ext >&5
8361+
8362+	ac_cv_override_cxx_allocation_ok=no
8363 fi
8364-rm -f conftest*
8365+
8366+rm -rf conftest.dSYM
8367+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8368+      conftest$ac_exeext conftest.$ac_ext
8369 fi
8370
8371-echo "$ac_t""$ac_cv_override_cxx_allocation_ok" 1>&6
8372+{ $as_echo "$as_me:$LINENO: result: $ac_cv_override_cxx_allocation_ok" >&5
8373+$as_echo "$ac_cv_override_cxx_allocation_ok" >&6; }
8374 if test $ac_cv_override_cxx_allocation_ok = yes
8375 then
8376     U_OVERRIDE_CXX_ALLOCATION=1
8377-    echo $ac_n "checking for placement new and delete""... $ac_c" 1>&6
8378-echo "configure:2874: checking for placement new and delete" >&5
8379-    if eval "test \"`echo '$''{'ac_cv_override_placement_new_ok'+set}'`\" = set"; then
8380-  echo $ac_n "(cached) $ac_c" 1>&6
8381-else
8382-  cat > conftest.$ac_ext <<EOF
8383-#line 2879 "configure"
8384-#include "confdefs.h"
8385+    { $as_echo "$as_me:$LINENO: checking for placement new and delete" >&5
8386+$as_echo_n "checking for placement new and delete... " >&6; }
8387+    if test "${ac_cv_override_placement_new_ok+set}" = set; then
8388+  $as_echo_n "(cached) " >&6
8389+else
8390+  cat >conftest.$ac_ext <<_ACEOF
8391+/* confdefs.h.  */
8392+_ACEOF
8393+cat confdefs.h >>conftest.$ac_ext
8394+cat >>conftest.$ac_ext <<_ACEOF
8395+/* end confdefs.h.  */
8396         #include <stdlib.h>
8397         class UObject {
8398         void *operator new(size_t size) {return malloc(size);}
8399@@ -2886,24 +7015,51 @@
8400         void * operator new(size_t, void *ptr) { return ptr; }
8401         void operator delete(void *, void *) {}
8402         };
8403-
8404-int main() {
8405-
8406-; return 0; }
8407-EOF
8408-if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8409-  rm -rf conftest*
8410+
8411+int
8412+main ()
8413+{
8414+
8415+  ;
8416+  return 0;
8417+}
8418+_ACEOF
8419+rm -f conftest.$ac_objext conftest$ac_exeext
8420+if { (ac_try="$ac_link"
8421+case "(($ac_try" in
8422+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8423+  *) ac_try_echo=$ac_try;;
8424+esac
8425+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8426+$as_echo "$ac_try_echo") >&5
8427+  (eval "$ac_link") 2>conftest.er1
8428+  ac_status=$?
8429+  grep -v '^ *+' conftest.er1 >conftest.err
8430+  rm -f conftest.er1
8431+  cat conftest.err >&5
8432+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433+  (exit $ac_status); } && {
8434+	 test -z "$ac_cxx_werror_flag" ||
8435+	 test ! -s conftest.err
8436+       } && test -s conftest$ac_exeext && {
8437+	 test "$cross_compiling" = yes ||
8438+	 $as_test_x conftest$ac_exeext
8439+       }; then
8440   ac_cv_override_placement_new_ok=yes
8441 else
8442-  echo "configure: failed program was:" >&5
8443-  cat conftest.$ac_ext >&5
8444-  rm -rf conftest*
8445-  ac_cv_override_placement_new_ok=no
8446+  $as_echo "$as_me: failed program was:" >&5
8447+sed 's/^/| /' conftest.$ac_ext >&5
8448+
8449+	ac_cv_override_placement_new_ok=no
8450 fi
8451-rm -f conftest*
8452+
8453+rm -rf conftest.dSYM
8454+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8455+      conftest$ac_exeext conftest.$ac_ext
8456 fi
8457
8458-    echo "$ac_t""$ac_cv_override_placement_new_ok" 1>&6
8459+    { $as_echo "$as_me:$LINENO: result: $ac_cv_override_placement_new_ok" >&5
8460+$as_echo "$ac_cv_override_placement_new_ok" >&6; }
8461     if test $ac_cv_override_placement_new_ok = yes
8462     then
8463         U_HAVE_PLACEMENT_NEW=1
8464@@ -2913,59 +7069,96 @@
8465
8466
8467 ac_ext=c
8468-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8469 ac_cpp='$CPP $CPPFLAGS'
8470-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8471-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8472-cross_compiling=$ac_cv_prog_cc_cross
8473-
8474-echo $ac_n "checking for popen""... $ac_c" 1>&6
8475-echo "configure:2924: checking for popen" >&5
8476-if eval "test \"`echo '$''{'ac_cv_func_popen'+set}'`\" = set"; then
8477-  echo $ac_n "(cached) $ac_c" 1>&6
8478-else
8479-  cat > conftest.$ac_ext <<EOF
8480-#line 2929 "configure"
8481-#include "confdefs.h"
8482+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484+ac_compiler_gnu=$ac_cv_c_compiler_gnu
8485+
8486+{ $as_echo "$as_me:$LINENO: checking for popen" >&5
8487+$as_echo_n "checking for popen... " >&6; }
8488+if test "${ac_cv_func_popen+set}" = set; then
8489+  $as_echo_n "(cached) " >&6
8490+else
8491+  cat >conftest.$ac_ext <<_ACEOF
8492+/* confdefs.h.  */
8493+_ACEOF
8494+cat confdefs.h >>conftest.$ac_ext
8495+cat >>conftest.$ac_ext <<_ACEOF
8496+/* end confdefs.h.  */
8497+/* Define popen to an innocuous variant, in case <limits.h> declares popen.
8498+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8499+#define popen innocuous_popen
8500+
8501 /* System header to define __stub macros and hopefully few prototypes,
8502-    which can conflict with char popen(); below.  */
8503-#include <assert.h>
8504-/* Override any gcc2 internal prototype to avoid an error.  */
8505-/* We use char because int might match the return type of a gcc2
8506-    builtin and then its argument prototype would still apply.  */
8507-char popen();
8508+    which can conflict with char popen (); below.
8509+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8510+    <limits.h> exists even on freestanding compilers.  */
8511+
8512+#ifdef __STDC__
8513+# include <limits.h>
8514+#else
8515+# include <assert.h>
8516+#endif
8517
8518-int main() {
8519+#undef popen
8520
8521+/* Override any GCC internal prototype to avoid an error.
8522+   Use char because int might match the return type of a GCC
8523+   builtin and then its argument prototype would still apply.  */
8524+#ifdef __cplusplus
8525+extern "C"
8526+#endif
8527+char popen ();
8528 /* The GNU C library defines this for functions which it implements
8529     to always fail with ENOSYS.  Some functions are actually named
8530     something starting with __ and the normal name is an alias.  */
8531-#if defined (__stub_popen) || defined (__stub___popen)
8532+#if defined __stub_popen || defined __stub___popen
8533 choke me
8534-#else
8535-popen();
8536 #endif
8537
8538-; return 0; }
8539-EOF
8540-if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8541-  rm -rf conftest*
8542-  eval "ac_cv_func_popen=yes"
8543-else
8544-  echo "configure: failed program was:" >&5
8545-  cat conftest.$ac_ext >&5
8546-  rm -rf conftest*
8547-  eval "ac_cv_func_popen=no"
8548-fi
8549-rm -f conftest*
8550-fi
8551-
8552-if eval "test \"`echo '$ac_cv_func_'popen`\" = yes"; then
8553-  echo "$ac_t""yes" 1>&6
8554-  :
8555-else
8556-  echo "$ac_t""no" 1>&6
8557+int
8558+main ()
8559+{
8560+return popen ();
8561+  ;
8562+  return 0;
8563+}
8564+_ACEOF
8565+rm -f conftest.$ac_objext conftest$ac_exeext
8566+if { (ac_try="$ac_link"
8567+case "(($ac_try" in
8568+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8569+  *) ac_try_echo=$ac_try;;
8570+esac
8571+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8572+$as_echo "$ac_try_echo") >&5
8573+  (eval "$ac_link") 2>conftest.er1
8574+  ac_status=$?
8575+  grep -v '^ *+' conftest.er1 >conftest.err
8576+  rm -f conftest.er1
8577+  cat conftest.err >&5
8578+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579+  (exit $ac_status); } && {
8580+	 test -z "$ac_c_werror_flag" ||
8581+	 test ! -s conftest.err
8582+       } && test -s conftest$ac_exeext && {
8583+	 test "$cross_compiling" = yes ||
8584+	 $as_test_x conftest$ac_exeext
8585+       }; then
8586+  ac_cv_func_popen=yes
8587+else
8588+  $as_echo "$as_me: failed program was:" >&5
8589+sed 's/^/| /' conftest.$ac_ext >&5
8590+
8591+	ac_cv_func_popen=no
8592+fi
8593+
8594+rm -rf conftest.dSYM
8595+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8596+      conftest$ac_exeext conftest.$ac_ext
8597 fi
8598+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_popen" >&5
8599+$as_echo "$ac_cv_func_popen" >&6; }
8600
8601 if test x$ac_cv_func_popen = xyes
8602 then
8603@@ -2975,105 +7168,181 @@
8604 fi
8605
8606
8607-echo $ac_n "checking for tzset""... $ac_c" 1>&6
8608-echo "configure:2980: checking for tzset" >&5
8609-if eval "test \"`echo '$''{'ac_cv_func_tzset'+set}'`\" = set"; then
8610-  echo $ac_n "(cached) $ac_c" 1>&6
8611-else
8612-  cat > conftest.$ac_ext <<EOF
8613-#line 2985 "configure"
8614-#include "confdefs.h"
8615+{ $as_echo "$as_me:$LINENO: checking for tzset" >&5
8616+$as_echo_n "checking for tzset... " >&6; }
8617+if test "${ac_cv_func_tzset+set}" = set; then
8618+  $as_echo_n "(cached) " >&6
8619+else
8620+  cat >conftest.$ac_ext <<_ACEOF
8621+/* confdefs.h.  */
8622+_ACEOF
8623+cat confdefs.h >>conftest.$ac_ext
8624+cat >>conftest.$ac_ext <<_ACEOF
8625+/* end confdefs.h.  */
8626+/* Define tzset to an innocuous variant, in case <limits.h> declares tzset.
8627+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8628+#define tzset innocuous_tzset
8629+
8630 /* System header to define __stub macros and hopefully few prototypes,
8631-    which can conflict with char tzset(); below.  */
8632-#include <assert.h>
8633-/* Override any gcc2 internal prototype to avoid an error.  */
8634-/* We use char because int might match the return type of a gcc2
8635-    builtin and then its argument prototype would still apply.  */
8636-char tzset();
8637+    which can conflict with char tzset (); below.
8638+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8639+    <limits.h> exists even on freestanding compilers.  */
8640
8641-int main() {
8642+#ifdef __STDC__
8643+# include <limits.h>
8644+#else
8645+# include <assert.h>
8646+#endif
8647
8648+#undef tzset
8649+
8650+/* Override any GCC internal prototype to avoid an error.
8651+   Use char because int might match the return type of a GCC
8652+   builtin and then its argument prototype would still apply.  */
8653+#ifdef __cplusplus
8654+extern "C"
8655+#endif
8656+char tzset ();
8657 /* The GNU C library defines this for functions which it implements
8658     to always fail with ENOSYS.  Some functions are actually named
8659     something starting with __ and the normal name is an alias.  */
8660-#if defined (__stub_tzset) || defined (__stub___tzset)
8661+#if defined __stub_tzset || defined __stub___tzset
8662 choke me
8663-#else
8664-tzset();
8665 #endif
8666
8667-; return 0; }
8668-EOF
8669-if { (eval echo configure:3008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8670-  rm -rf conftest*
8671-  eval "ac_cv_func_tzset=yes"
8672-else
8673-  echo "configure: failed program was:" >&5
8674-  cat conftest.$ac_ext >&5
8675-  rm -rf conftest*
8676-  eval "ac_cv_func_tzset=no"
8677-fi
8678-rm -f conftest*
8679-fi
8680-
8681-if eval "test \"`echo '$ac_cv_func_'tzset`\" = yes"; then
8682-  echo "$ac_t""yes" 1>&6
8683-  :
8684-else
8685-  echo "$ac_t""no" 1>&6
8686+int
8687+main ()
8688+{
8689+return tzset ();
8690+  ;
8691+  return 0;
8692+}
8693+_ACEOF
8694+rm -f conftest.$ac_objext conftest$ac_exeext
8695+if { (ac_try="$ac_link"
8696+case "(($ac_try" in
8697+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698+  *) ac_try_echo=$ac_try;;
8699+esac
8700+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8701+$as_echo "$ac_try_echo") >&5
8702+  (eval "$ac_link") 2>conftest.er1
8703+  ac_status=$?
8704+  grep -v '^ *+' conftest.er1 >conftest.err
8705+  rm -f conftest.er1
8706+  cat conftest.err >&5
8707+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708+  (exit $ac_status); } && {
8709+	 test -z "$ac_c_werror_flag" ||
8710+	 test ! -s conftest.err
8711+       } && test -s conftest$ac_exeext && {
8712+	 test "$cross_compiling" = yes ||
8713+	 $as_test_x conftest$ac_exeext
8714+       }; then
8715+  ac_cv_func_tzset=yes
8716+else
8717+  $as_echo "$as_me: failed program was:" >&5
8718+sed 's/^/| /' conftest.$ac_ext >&5
8719+
8720+	ac_cv_func_tzset=no
8721+fi
8722+
8723+rm -rf conftest.dSYM
8724+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8725+      conftest$ac_exeext conftest.$ac_ext
8726 fi
8727+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_tzset" >&5
8728+$as_echo "$ac_cv_func_tzset" >&6; }
8729
8730 if test x$ac_cv_func_tzset = xyes
8731 then
8732     U_TZSET=tzset
8733 else
8734-    echo $ac_n "checking for _tzset""... $ac_c" 1>&6
8735-echo "configure:3032: checking for _tzset" >&5
8736-if eval "test \"`echo '$''{'ac_cv_func__tzset'+set}'`\" = set"; then
8737-  echo $ac_n "(cached) $ac_c" 1>&6
8738-else
8739-  cat > conftest.$ac_ext <<EOF
8740-#line 3037 "configure"
8741-#include "confdefs.h"
8742+    { $as_echo "$as_me:$LINENO: checking for _tzset" >&5
8743+$as_echo_n "checking for _tzset... " >&6; }
8744+if test "${ac_cv_func__tzset+set}" = set; then
8745+  $as_echo_n "(cached) " >&6
8746+else
8747+  cat >conftest.$ac_ext <<_ACEOF
8748+/* confdefs.h.  */
8749+_ACEOF
8750+cat confdefs.h >>conftest.$ac_ext
8751+cat >>conftest.$ac_ext <<_ACEOF
8752+/* end confdefs.h.  */
8753+/* Define _tzset to an innocuous variant, in case <limits.h> declares _tzset.
8754+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8755+#define _tzset innocuous__tzset
8756+
8757 /* System header to define __stub macros and hopefully few prototypes,
8758-    which can conflict with char _tzset(); below.  */
8759-#include <assert.h>
8760-/* Override any gcc2 internal prototype to avoid an error.  */
8761-/* We use char because int might match the return type of a gcc2
8762-    builtin and then its argument prototype would still apply.  */
8763-char _tzset();
8764+    which can conflict with char _tzset (); below.
8765+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8766+    <limits.h> exists even on freestanding compilers.  */
8767+
8768+#ifdef __STDC__
8769+# include <limits.h>
8770+#else
8771+# include <assert.h>
8772+#endif
8773
8774-int main() {
8775+#undef _tzset
8776
8777+/* Override any GCC internal prototype to avoid an error.
8778+   Use char because int might match the return type of a GCC
8779+   builtin and then its argument prototype would still apply.  */
8780+#ifdef __cplusplus
8781+extern "C"
8782+#endif
8783+char _tzset ();
8784 /* The GNU C library defines this for functions which it implements
8785     to always fail with ENOSYS.  Some functions are actually named
8786     something starting with __ and the normal name is an alias.  */
8787-#if defined (__stub__tzset) || defined (__stub____tzset)
8788+#if defined __stub__tzset || defined __stub____tzset
8789 choke me
8790-#else
8791-_tzset();
8792 #endif
8793
8794-; return 0; }
8795-EOF
8796-if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8797-  rm -rf conftest*
8798-  eval "ac_cv_func__tzset=yes"
8799-else
8800-  echo "configure: failed program was:" >&5
8801-  cat conftest.$ac_ext >&5
8802-  rm -rf conftest*
8803-  eval "ac_cv_func__tzset=no"
8804-fi
8805-rm -f conftest*
8806-fi
8807-
8808-if eval "test \"`echo '$ac_cv_func_'_tzset`\" = yes"; then
8809-  echo "$ac_t""yes" 1>&6
8810-  :
8811-else
8812-  echo "$ac_t""no" 1>&6
8813+int
8814+main ()
8815+{
8816+return _tzset ();
8817+  ;
8818+  return 0;
8819+}
8820+_ACEOF
8821+rm -f conftest.$ac_objext conftest$ac_exeext
8822+if { (ac_try="$ac_link"
8823+case "(($ac_try" in
8824+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8825+  *) ac_try_echo=$ac_try;;
8826+esac
8827+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8828+$as_echo "$ac_try_echo") >&5
8829+  (eval "$ac_link") 2>conftest.er1
8830+  ac_status=$?
8831+  grep -v '^ *+' conftest.er1 >conftest.err
8832+  rm -f conftest.er1
8833+  cat conftest.err >&5
8834+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835+  (exit $ac_status); } && {
8836+	 test -z "$ac_c_werror_flag" ||
8837+	 test ! -s conftest.err
8838+       } && test -s conftest$ac_exeext && {
8839+	 test "$cross_compiling" = yes ||
8840+	 $as_test_x conftest$ac_exeext
8841+       }; then
8842+  ac_cv_func__tzset=yes
8843+else
8844+  $as_echo "$as_me: failed program was:" >&5
8845+sed 's/^/| /' conftest.$ac_ext >&5
8846+
8847+	ac_cv_func__tzset=no
8848+fi
8849+
8850+rm -rf conftest.dSYM
8851+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8852+      conftest$ac_exeext conftest.$ac_ext
8853 fi
8854+{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__tzset" >&5
8855+$as_echo "$ac_cv_func__tzset" >&6; }
8856
8857     if test x$ac_cv_func__tzset = xyes
8858     then
8859@@ -3081,14 +7350,17 @@
8860     fi
8861 fi
8862
8863-echo $ac_n "checking for tzname""... $ac_c" 1>&6
8864-echo "configure:3086: checking for tzname" >&5
8865-if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
8866-  echo $ac_n "(cached) $ac_c" 1>&6
8867-else
8868-  cat > conftest.$ac_ext <<EOF
8869-#line 3091 "configure"
8870-#include "confdefs.h"
8871+{ $as_echo "$as_me:$LINENO: checking for tzname" >&5
8872+$as_echo_n "checking for tzname... " >&6; }
8873+if test "${ac_cv_var_tzname+set}" = set; then
8874+  $as_echo_n "(cached) " >&6
8875+else
8876+  cat >conftest.$ac_ext <<_ACEOF
8877+/* confdefs.h.  */
8878+_ACEOF
8879+cat confdefs.h >>conftest.$ac_ext
8880+cat >>conftest.$ac_ext <<_ACEOF
8881+/* end confdefs.h.  */
8882 #ifndef __USE_POSIX
8883 #define __USE_POSIX
8884 #endif
8885@@ -3096,68 +7368,126 @@
8886 #ifndef tzname /* For SGI.  */
8887 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
8888 #endif
8889-int main() {
8890+int
8891+main ()
8892+{
8893 atoi(*tzname);
8894-; return 0; }
8895-EOF
8896-if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8897-  rm -rf conftest*
8898+  ;
8899+  return 0;
8900+}
8901+_ACEOF
8902+rm -f conftest.$ac_objext conftest$ac_exeext
8903+if { (ac_try="$ac_link"
8904+case "(($ac_try" in
8905+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8906+  *) ac_try_echo=$ac_try;;
8907+esac
8908+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8909+$as_echo "$ac_try_echo") >&5
8910+  (eval "$ac_link") 2>conftest.er1
8911+  ac_status=$?
8912+  grep -v '^ *+' conftest.er1 >conftest.err
8913+  rm -f conftest.er1
8914+  cat conftest.err >&5
8915+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916+  (exit $ac_status); } && {
8917+	 test -z "$ac_c_werror_flag" ||
8918+	 test ! -s conftest.err
8919+       } && test -s conftest$ac_exeext && {
8920+	 test "$cross_compiling" = yes ||
8921+	 $as_test_x conftest$ac_exeext
8922+       }; then
8923   ac_cv_var_tzname=yes
8924 else
8925-  echo "configure: failed program was:" >&5
8926-  cat conftest.$ac_ext >&5
8927-  rm -rf conftest*
8928-  ac_cv_var_tzname=no
8929-fi
8930-rm -f conftest*
8931+  $as_echo "$as_me: failed program was:" >&5
8932+sed 's/^/| /' conftest.$ac_ext >&5
8933+
8934+	ac_cv_var_tzname=no
8935 fi
8936
8937-echo "$ac_t""$ac_cv_var_tzname" 1>&6
8938+rm -rf conftest.dSYM
8939+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8940+      conftest$ac_exeext conftest.$ac_ext
8941+fi
8942+{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
8943+$as_echo "$ac_cv_var_tzname" >&6; }
8944 if test $ac_cv_var_tzname = yes; then
8945   U_TZNAME=tzname
8946 else
8947-  echo $ac_n "checking for _tzname""... $ac_c" 1>&6
8948-echo "configure:3121: checking for _tzname" >&5
8949-if eval "test \"`echo '$''{'ac_cv_var__tzname'+set}'`\" = set"; then
8950-  echo $ac_n "(cached) $ac_c" 1>&6
8951-else
8952-  cat > conftest.$ac_ext <<EOF
8953-#line 3126 "configure"
8954-#include "confdefs.h"
8955+  { $as_echo "$as_me:$LINENO: checking for _tzname" >&5
8956+$as_echo_n "checking for _tzname... " >&6; }
8957+if test "${ac_cv_var__tzname+set}" = set; then
8958+  $as_echo_n "(cached) " >&6
8959+else
8960+  cat >conftest.$ac_ext <<_ACEOF
8961+/* confdefs.h.  */
8962+_ACEOF
8963+cat confdefs.h >>conftest.$ac_ext
8964+cat >>conftest.$ac_ext <<_ACEOF
8965+/* end confdefs.h.  */
8966   #include <time.h>
8967   extern char *_tzname[];
8968-
8969-int main() {
8970+
8971+int
8972+main ()
8973+{
8974   atoi(*_tzname);
8975-; return 0; }
8976-EOF
8977-if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8978-  rm -rf conftest*
8979+  ;
8980+  return 0;
8981+}
8982+_ACEOF
8983+rm -f conftest.$ac_objext conftest$ac_exeext
8984+if { (ac_try="$ac_link"
8985+case "(($ac_try" in
8986+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8987+  *) ac_try_echo=$ac_try;;
8988+esac
8989+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8990+$as_echo "$ac_try_echo") >&5
8991+  (eval "$ac_link") 2>conftest.er1
8992+  ac_status=$?
8993+  grep -v '^ *+' conftest.er1 >conftest.err
8994+  rm -f conftest.er1
8995+  cat conftest.err >&5
8996+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997+  (exit $ac_status); } && {
8998+	 test -z "$ac_c_werror_flag" ||
8999+	 test ! -s conftest.err
9000+       } && test -s conftest$ac_exeext && {
9001+	 test "$cross_compiling" = yes ||
9002+	 $as_test_x conftest$ac_exeext
9003+       }; then
9004   ac_cv_var__tzname=yes
9005 else
9006-  echo "configure: failed program was:" >&5
9007-  cat conftest.$ac_ext >&5
9008-  rm -rf conftest*
9009-  ac_cv_var__tzname=no
9010-fi
9011-rm -f conftest*
9012+  $as_echo "$as_me: failed program was:" >&5
9013+sed 's/^/| /' conftest.$ac_ext >&5
9014+
9015+	ac_cv_var__tzname=no
9016 fi
9017
9018-echo "$ac_t""$ac_cv_var__tzname" 1>&6
9019+rm -rf conftest.dSYM
9020+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9021+      conftest$ac_exeext conftest.$ac_ext
9022+fi
9023+{ $as_echo "$as_me:$LINENO: result: $ac_cv_var__tzname" >&5
9024+$as_echo "$ac_cv_var__tzname" >&6; }
9025     if test $ac_cv_var__tzname = yes; then
9026       U_TZNAME=_tzname
9027     fi
9028 fi
9029
9030
9031-echo $ac_n "checking for timezone""... $ac_c" 1>&6
9032-echo "configure:3155: checking for timezone" >&5
9033-if eval "test \"`echo '$''{'ac_cv_var_timezone'+set}'`\" = set"; then
9034-  echo $ac_n "(cached) $ac_c" 1>&6
9035-else
9036-  cat > conftest.$ac_ext <<EOF
9037-#line 3160 "configure"
9038-#include "confdefs.h"
9039+{ $as_echo "$as_me:$LINENO: checking for timezone" >&5
9040+$as_echo_n "checking for timezone... " >&6; }
9041+if test "${ac_cv_var_timezone+set}" = set; then
9042+  $as_echo_n "(cached) " >&6
9043+else
9044+  cat >conftest.$ac_ext <<_ACEOF
9045+/* confdefs.h.  */
9046+_ACEOF
9047+cat confdefs.h >>conftest.$ac_ext
9048+cat >>conftest.$ac_ext <<_ACEOF
9049+/* end confdefs.h.  */
9050 #ifndef __USE_POSIX
9051 #define __USE_POSIX
9052 #endif
9053@@ -3166,86 +7496,170 @@
9054 #endif
9055 #include <time.h>
9056
9057-int main() {
9058+int
9059+main ()
9060+{
9061 timezone = 1;
9062-; return 0; }
9063-EOF
9064-if { (eval echo configure:3174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9065-  rm -rf conftest*
9066+  ;
9067+  return 0;
9068+}
9069+_ACEOF
9070+rm -f conftest.$ac_objext conftest$ac_exeext
9071+if { (ac_try="$ac_link"
9072+case "(($ac_try" in
9073+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9074+  *) ac_try_echo=$ac_try;;
9075+esac
9076+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9077+$as_echo "$ac_try_echo") >&5
9078+  (eval "$ac_link") 2>conftest.er1
9079+  ac_status=$?
9080+  grep -v '^ *+' conftest.er1 >conftest.err
9081+  rm -f conftest.er1
9082+  cat conftest.err >&5
9083+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084+  (exit $ac_status); } && {
9085+	 test -z "$ac_c_werror_flag" ||
9086+	 test ! -s conftest.err
9087+       } && test -s conftest$ac_exeext && {
9088+	 test "$cross_compiling" = yes ||
9089+	 $as_test_x conftest$ac_exeext
9090+       }; then
9091   ac_cv_var_timezone=yes
9092 else
9093-  echo "configure: failed program was:" >&5
9094-  cat conftest.$ac_ext >&5
9095-  rm -rf conftest*
9096-  ac_cv_var_timezone=no
9097-fi
9098-rm -f conftest*
9099+  $as_echo "$as_me: failed program was:" >&5
9100+sed 's/^/| /' conftest.$ac_ext >&5
9101+
9102+	ac_cv_var_timezone=no
9103 fi
9104
9105-echo "$ac_t""$ac_cv_var_timezone" 1>&6
9106+rm -rf conftest.dSYM
9107+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9108+      conftest$ac_exeext conftest.$ac_ext
9109+fi
9110+{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_timezone" >&5
9111+$as_echo "$ac_cv_var_timezone" >&6; }
9112 U_HAVE_TIMEZONE=0
9113 if test $ac_cv_var_timezone = yes; then
9114   U_TIMEZONE=timezone
9115   U_HAVE_TIMEZONE=1
9116 else
9117-  echo $ac_n "checking for __timezone""... $ac_c" 1>&6
9118-echo "configure:3193: checking for __timezone" >&5
9119-if eval "test \"`echo '$''{'ac_cv_var___timezone'+set}'`\" = set"; then
9120-  echo $ac_n "(cached) $ac_c" 1>&6
9121-else
9122-  cat > conftest.$ac_ext <<EOF
9123-#line 3198 "configure"
9124-#include "confdefs.h"
9125+  { $as_echo "$as_me:$LINENO: checking for __timezone" >&5
9126+$as_echo_n "checking for __timezone... " >&6; }
9127+if test "${ac_cv_var___timezone+set}" = set; then
9128+  $as_echo_n "(cached) " >&6
9129+else
9130+  cat >conftest.$ac_ext <<_ACEOF
9131+/* confdefs.h.  */
9132+_ACEOF
9133+cat confdefs.h >>conftest.$ac_ext
9134+cat >>conftest.$ac_ext <<_ACEOF
9135+/* end confdefs.h.  */
9136   #include <time.h>
9137-
9138-int main() {
9139+
9140+int
9141+main ()
9142+{
9143   __timezone = 1;
9144-; return 0; }
9145-EOF
9146-if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9147-  rm -rf conftest*
9148+  ;
9149+  return 0;
9150+}
9151+_ACEOF
9152+rm -f conftest.$ac_objext conftest$ac_exeext
9153+if { (ac_try="$ac_link"
9154+case "(($ac_try" in
9155+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9156+  *) ac_try_echo=$ac_try;;
9157+esac
9158+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9159+$as_echo "$ac_try_echo") >&5
9160+  (eval "$ac_link") 2>conftest.er1
9161+  ac_status=$?
9162+  grep -v '^ *+' conftest.er1 >conftest.err
9163+  rm -f conftest.er1
9164+  cat conftest.err >&5
9165+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166+  (exit $ac_status); } && {
9167+	 test -z "$ac_c_werror_flag" ||
9168+	 test ! -s conftest.err
9169+       } && test -s conftest$ac_exeext && {
9170+	 test "$cross_compiling" = yes ||
9171+	 $as_test_x conftest$ac_exeext
9172+       }; then
9173   ac_cv_var___timezone=yes
9174 else
9175-  echo "configure: failed program was:" >&5
9176-  cat conftest.$ac_ext >&5
9177-  rm -rf conftest*
9178-  ac_cv_var___timezone=no
9179-fi
9180-rm -f conftest*
9181+  $as_echo "$as_me: failed program was:" >&5
9182+sed 's/^/| /' conftest.$ac_ext >&5
9183+
9184+	ac_cv_var___timezone=no
9185 fi
9186
9187-echo "$ac_t""$ac_cv_var___timezone" 1>&6
9188+rm -rf conftest.dSYM
9189+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9190+      conftest$ac_exeext conftest.$ac_ext
9191+fi
9192+{ $as_echo "$as_me:$LINENO: result: $ac_cv_var___timezone" >&5
9193+$as_echo "$ac_cv_var___timezone" >&6; }
9194   if test $ac_cv_var___timezone = yes; then
9195     U_TIMEZONE=__timezone
9196     U_HAVE_TIMEZONE=1
9197   else
9198-    echo $ac_n "checking for _timezone""... $ac_c" 1>&6
9199-echo "configure:3224: checking for _timezone" >&5
9200-if eval "test \"`echo '$''{'ac_cv_var__timezone'+set}'`\" = set"; then
9201-  echo $ac_n "(cached) $ac_c" 1>&6
9202-else
9203-  cat > conftest.$ac_ext <<EOF
9204-#line 3229 "configure"
9205-#include "confdefs.h"
9206+    { $as_echo "$as_me:$LINENO: checking for _timezone" >&5
9207+$as_echo_n "checking for _timezone... " >&6; }
9208+if test "${ac_cv_var__timezone+set}" = set; then
9209+  $as_echo_n "(cached) " >&6
9210+else
9211+  cat >conftest.$ac_ext <<_ACEOF
9212+/* confdefs.h.  */
9213+_ACEOF
9214+cat confdefs.h >>conftest.$ac_ext
9215+cat >>conftest.$ac_ext <<_ACEOF
9216+/* end confdefs.h.  */
9217     #include <time.h>
9218-
9219-int main() {
9220+
9221+int
9222+main ()
9223+{
9224     _timezone = 1;
9225-; return 0; }
9226-EOF
9227-if { (eval echo configure:3237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9228-  rm -rf conftest*
9229+  ;
9230+  return 0;
9231+}
9232+_ACEOF
9233+rm -f conftest.$ac_objext conftest$ac_exeext
9234+if { (ac_try="$ac_link"
9235+case "(($ac_try" in
9236+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9237+  *) ac_try_echo=$ac_try;;
9238+esac
9239+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9240+$as_echo "$ac_try_echo") >&5
9241+  (eval "$ac_link") 2>conftest.er1
9242+  ac_status=$?
9243+  grep -v '^ *+' conftest.er1 >conftest.err
9244+  rm -f conftest.er1
9245+  cat conftest.err >&5
9246+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247+  (exit $ac_status); } && {
9248+	 test -z "$ac_c_werror_flag" ||
9249+	 test ! -s conftest.err
9250+       } && test -s conftest$ac_exeext && {
9251+	 test "$cross_compiling" = yes ||
9252+	 $as_test_x conftest$ac_exeext
9253+       }; then
9254   ac_cv_var__timezone=yes
9255 else
9256-  echo "configure: failed program was:" >&5
9257-  cat conftest.$ac_ext >&5
9258-  rm -rf conftest*
9259-  ac_cv_var__timezone=no
9260-fi
9261-rm -f conftest*
9262+  $as_echo "$as_me: failed program was:" >&5
9263+sed 's/^/| /' conftest.$ac_ext >&5
9264+
9265+	ac_cv_var__timezone=no
9266 fi
9267
9268-echo "$ac_t""$ac_cv_var__timezone" 1>&6
9269+rm -rf conftest.dSYM
9270+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9271+      conftest$ac_exeext conftest.$ac_ext
9272+fi
9273+{ $as_echo "$as_me:$LINENO: result: $ac_cv_var__timezone" >&5
9274+$as_echo "$ac_cv_var__timezone" >&6; }
9275     if test $ac_cv_var__timezone = yes; then
9276       U_TIMEZONE=_timezone
9277       U_HAVE_TIMEZONE=1
9278@@ -3255,371 +7669,835 @@
9279
9280
9281
9282-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9283-echo "configure:3260: checking for ANSI C header files" >&5
9284-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9285-  echo $ac_n "(cached) $ac_c" 1>&6
9286-else
9287-  cat > conftest.$ac_ext <<EOF
9288-#line 3265 "configure"
9289-#include "confdefs.h"
9290-#include <stdlib.h>
9291-#include <stdarg.h>
9292-#include <string.h>
9293-#include <float.h>
9294-EOF
9295-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9296-{ (eval echo configure:3273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9297-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9298-if test -z "$ac_err"; then
9299-  rm -rf conftest*
9300-  ac_cv_header_stdc=yes
9301+{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
9302+$as_echo_n "checking for int8_t... " >&6; }
9303+if test "${ac_cv_type_int8_t+set}" = set; then
9304+  $as_echo_n "(cached) " >&6
9305 else
9306-  echo "$ac_err" >&5
9307-  echo "configure: failed program was:" >&5
9308-  cat conftest.$ac_ext >&5
9309-  rm -rf conftest*
9310-  ac_cv_header_stdc=no
9311-fi
9312-rm -f conftest*
9313-
9314-if test $ac_cv_header_stdc = yes; then
9315-  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9316-cat > conftest.$ac_ext <<EOF
9317-#line 3290 "configure"
9318-#include "confdefs.h"
9319-#include <string.h>
9320-EOF
9321-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9322-  egrep "memchr" >/dev/null 2>&1; then
9323+  ac_cv_type_int8_t=no
9324+cat >conftest.$ac_ext <<_ACEOF
9325+/* confdefs.h.  */
9326+_ACEOF
9327+cat confdefs.h >>conftest.$ac_ext
9328+cat >>conftest.$ac_ext <<_ACEOF
9329+/* end confdefs.h.  */
9330+$ac_includes_default
9331+int
9332+main ()
9333+{
9334+if (sizeof (int8_t))
9335+       return 0;
9336+  ;
9337+  return 0;
9338+}
9339+_ACEOF
9340+rm -f conftest.$ac_objext
9341+if { (ac_try="$ac_compile"
9342+case "(($ac_try" in
9343+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9344+  *) ac_try_echo=$ac_try;;
9345+esac
9346+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9347+$as_echo "$ac_try_echo") >&5
9348+  (eval "$ac_compile") 2>conftest.er1
9349+  ac_status=$?
9350+  grep -v '^ *+' conftest.er1 >conftest.err
9351+  rm -f conftest.er1
9352+  cat conftest.err >&5
9353+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354+  (exit $ac_status); } && {
9355+	 test -z "$ac_c_werror_flag" ||
9356+	 test ! -s conftest.err
9357+       } && test -s conftest.$ac_objext; then
9358+  cat >conftest.$ac_ext <<_ACEOF
9359+/* confdefs.h.  */
9360+_ACEOF
9361+cat confdefs.h >>conftest.$ac_ext
9362+cat >>conftest.$ac_ext <<_ACEOF
9363+/* end confdefs.h.  */
9364+$ac_includes_default
9365+int
9366+main ()
9367+{
9368+if (sizeof ((int8_t)))
9369+	  return 0;
9370+  ;
9371+  return 0;
9372+}
9373+_ACEOF
9374+rm -f conftest.$ac_objext
9375+if { (ac_try="$ac_compile"
9376+case "(($ac_try" in
9377+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9378+  *) ac_try_echo=$ac_try;;
9379+esac
9380+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9381+$as_echo "$ac_try_echo") >&5
9382+  (eval "$ac_compile") 2>conftest.er1
9383+  ac_status=$?
9384+  grep -v '^ *+' conftest.er1 >conftest.err
9385+  rm -f conftest.er1
9386+  cat conftest.err >&5
9387+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388+  (exit $ac_status); } && {
9389+	 test -z "$ac_c_werror_flag" ||
9390+	 test ! -s conftest.err
9391+       } && test -s conftest.$ac_objext; then
9392   :
9393 else
9394-  rm -rf conftest*
9395-  ac_cv_header_stdc=no
9396-fi
9397-rm -f conftest*
9398+  $as_echo "$as_me: failed program was:" >&5
9399+sed 's/^/| /' conftest.$ac_ext >&5
9400
9401+	ac_cv_type_int8_t=yes
9402 fi
9403
9404-if test $ac_cv_header_stdc = yes; then
9405-  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9406-cat > conftest.$ac_ext <<EOF
9407-#line 3308 "configure"
9408-#include "confdefs.h"
9409-#include <stdlib.h>
9410-EOF
9411-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9412-  egrep "free" >/dev/null 2>&1; then
9413-  :
9414+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9415 else
9416-  rm -rf conftest*
9417-  ac_cv_header_stdc=no
9418-fi
9419-rm -f conftest*
9420+  $as_echo "$as_me: failed program was:" >&5
9421+sed 's/^/| /' conftest.$ac_ext >&5
9422+
9423
9424 fi
9425
9426-if test $ac_cv_header_stdc = yes; then
9427-  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9428-if test "$cross_compiling" = yes; then
9429+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9430+fi
9431+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
9432+$as_echo "$ac_cv_type_int8_t" >&6; }
9433+if test "x$ac_cv_type_int8_t" = x""yes; then
9434   :
9435 else
9436-  cat > conftest.$ac_ext <<EOF
9437-#line 3329 "configure"
9438-#include "confdefs.h"
9439-#include <ctype.h>
9440-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9441-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9442-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9443-int main () { int i; for (i = 0; i < 256; i++)
9444-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9445-exit (0); }
9446
9447-EOF
9448-if { (eval echo configure:3340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9449-then
9450-  :
9451-else
9452-  echo "configure: failed program was:" >&5
9453-  cat conftest.$ac_ext >&5
9454-  rm -fr conftest*
9455-  ac_cv_header_stdc=no
9456-fi
9457-rm -fr conftest*
9458-fi
9459+cat >>confdefs.h <<_ACEOF
9460+#define int8_t signed char
9461+_ACEOF
9462
9463 fi
9464-fi
9465
9466-echo "$ac_t""$ac_cv_header_stdc" 1>&6
9467-if test $ac_cv_header_stdc = yes; then
9468-  cat >> confdefs.h <<\EOF
9469-#define STDC_HEADERS 1
9470-EOF
9471+{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
9472+$as_echo_n "checking for uint8_t... " >&6; }
9473+if test "${ac_cv_type_uint8_t+set}" = set; then
9474+  $as_echo_n "(cached) " >&6
9475+else
9476+  ac_cv_type_uint8_t=no
9477+cat >conftest.$ac_ext <<_ACEOF
9478+/* confdefs.h.  */
9479+_ACEOF
9480+cat confdefs.h >>conftest.$ac_ext
9481+cat >>conftest.$ac_ext <<_ACEOF
9482+/* end confdefs.h.  */
9483+$ac_includes_default
9484+int
9485+main ()
9486+{
9487+if (sizeof (uint8_t))
9488+       return 0;
9489+  ;
9490+  return 0;
9491+}
9492+_ACEOF
9493+rm -f conftest.$ac_objext
9494+if { (ac_try="$ac_compile"
9495+case "(($ac_try" in
9496+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9497+  *) ac_try_echo=$ac_try;;
9498+esac
9499+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9500+$as_echo "$ac_try_echo") >&5
9501+  (eval "$ac_compile") 2>conftest.er1
9502+  ac_status=$?
9503+  grep -v '^ *+' conftest.er1 >conftest.err
9504+  rm -f conftest.er1
9505+  cat conftest.err >&5
9506+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507+  (exit $ac_status); } && {
9508+	 test -z "$ac_c_werror_flag" ||
9509+	 test ! -s conftest.err
9510+       } && test -s conftest.$ac_objext; then
9511+  cat >conftest.$ac_ext <<_ACEOF
9512+/* confdefs.h.  */
9513+_ACEOF
9514+cat confdefs.h >>conftest.$ac_ext
9515+cat >>conftest.$ac_ext <<_ACEOF
9516+/* end confdefs.h.  */
9517+$ac_includes_default
9518+int
9519+main ()
9520+{
9521+if (sizeof ((uint8_t)))
9522+	  return 0;
9523+  ;
9524+  return 0;
9525+}
9526+_ACEOF
9527+rm -f conftest.$ac_objext
9528+if { (ac_try="$ac_compile"
9529+case "(($ac_try" in
9530+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9531+  *) ac_try_echo=$ac_try;;
9532+esac
9533+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9534+$as_echo "$ac_try_echo") >&5
9535+  (eval "$ac_compile") 2>conftest.er1
9536+  ac_status=$?
9537+  grep -v '^ *+' conftest.er1 >conftest.err
9538+  rm -f conftest.er1
9539+  cat conftest.err >&5
9540+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541+  (exit $ac_status); } && {
9542+	 test -z "$ac_c_werror_flag" ||
9543+	 test ! -s conftest.err
9544+       } && test -s conftest.$ac_objext; then
9545+  :
9546+else
9547+  $as_echo "$as_me: failed program was:" >&5
9548+sed 's/^/| /' conftest.$ac_ext >&5
9549
9550+	ac_cv_type_uint8_t=yes
9551 fi
9552
9553-echo $ac_n "checking for int8_t""... $ac_c" 1>&6
9554-echo "configure:3364: checking for int8_t" >&5
9555-if eval "test \"`echo '$''{'ac_cv_type_int8_t'+set}'`\" = set"; then
9556-  echo $ac_n "(cached) $ac_c" 1>&6
9557-else
9558-  cat > conftest.$ac_ext <<EOF
9559-#line 3369 "configure"
9560-#include "confdefs.h"
9561-#include <sys/types.h>
9562-#if STDC_HEADERS
9563-#include <stdlib.h>
9564-#include <stddef.h>
9565-#endif
9566-EOF
9567-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9568-  egrep "(^|[^a-zA-Z_0-9])int8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
9569-  rm -rf conftest*
9570-  ac_cv_type_int8_t=yes
9571+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9572 else
9573-  rm -rf conftest*
9574-  ac_cv_type_int8_t=no
9575-fi
9576-rm -f conftest*
9577+  $as_echo "$as_me: failed program was:" >&5
9578+sed 's/^/| /' conftest.$ac_ext >&5
9579
9580-fi
9581-echo "$ac_t""$ac_cv_type_int8_t" 1>&6
9582-if test $ac_cv_type_int8_t = no; then
9583-  cat >> confdefs.h <<\EOF
9584-#define int8_t signed char
9585-EOF
9586
9587 fi
9588
9589-echo $ac_n "checking for uint8_t""... $ac_c" 1>&6
9590-echo "configure:3397: checking for uint8_t" >&5
9591-if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then
9592-  echo $ac_n "(cached) $ac_c" 1>&6
9593-else
9594-  cat > conftest.$ac_ext <<EOF
9595-#line 3402 "configure"
9596-#include "confdefs.h"
9597-#include <sys/types.h>
9598-#if STDC_HEADERS
9599-#include <stdlib.h>
9600-#include <stddef.h>
9601-#endif
9602-EOF
9603-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9604-  egrep "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
9605-  rm -rf conftest*
9606-  ac_cv_type_uint8_t=yes
9607-else
9608-  rm -rf conftest*
9609-  ac_cv_type_uint8_t=no
9610+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9611 fi
9612-rm -f conftest*
9613+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
9614+$as_echo "$ac_cv_type_uint8_t" >&6; }
9615+if test "x$ac_cv_type_uint8_t" = x""yes; then
9616+  :
9617+else
9618
9619-fi
9620-echo "$ac_t""$ac_cv_type_uint8_t" 1>&6
9621-if test $ac_cv_type_uint8_t = no; then
9622-  cat >> confdefs.h <<\EOF
9623+cat >>confdefs.h <<_ACEOF
9624 #define uint8_t unsigned char
9625-EOF
9626+_ACEOF
9627
9628 fi
9629
9630-echo $ac_n "checking for int16_t""... $ac_c" 1>&6
9631-echo "configure:3430: checking for int16_t" >&5
9632-if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
9633-  echo $ac_n "(cached) $ac_c" 1>&6
9634-else
9635-  cat > conftest.$ac_ext <<EOF
9636-#line 3435 "configure"
9637-#include "confdefs.h"
9638-#include <sys/types.h>
9639-#if STDC_HEADERS
9640-#include <stdlib.h>
9641-#include <stddef.h>
9642-#endif
9643-EOF
9644-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9645-  egrep "(^|[^a-zA-Z_0-9])int16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
9646-  rm -rf conftest*
9647-  ac_cv_type_int16_t=yes
9648+{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
9649+$as_echo_n "checking for int16_t... " >&6; }
9650+if test "${ac_cv_type_int16_t+set}" = set; then
9651+  $as_echo_n "(cached) " >&6
9652 else
9653-  rm -rf conftest*
9654   ac_cv_type_int16_t=no
9655+cat >conftest.$ac_ext <<_ACEOF
9656+/* confdefs.h.  */
9657+_ACEOF
9658+cat confdefs.h >>conftest.$ac_ext
9659+cat >>conftest.$ac_ext <<_ACEOF
9660+/* end confdefs.h.  */
9661+$ac_includes_default
9662+int
9663+main ()
9664+{
9665+if (sizeof (int16_t))
9666+       return 0;
9667+  ;
9668+  return 0;
9669+}
9670+_ACEOF
9671+rm -f conftest.$ac_objext
9672+if { (ac_try="$ac_compile"
9673+case "(($ac_try" in
9674+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9675+  *) ac_try_echo=$ac_try;;
9676+esac
9677+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9678+$as_echo "$ac_try_echo") >&5
9679+  (eval "$ac_compile") 2>conftest.er1
9680+  ac_status=$?
9681+  grep -v '^ *+' conftest.er1 >conftest.err
9682+  rm -f conftest.er1
9683+  cat conftest.err >&5
9684+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685+  (exit $ac_status); } && {
9686+	 test -z "$ac_c_werror_flag" ||
9687+	 test ! -s conftest.err
9688+       } && test -s conftest.$ac_objext; then
9689+  cat >conftest.$ac_ext <<_ACEOF
9690+/* confdefs.h.  */
9691+_ACEOF
9692+cat confdefs.h >>conftest.$ac_ext
9693+cat >>conftest.$ac_ext <<_ACEOF
9694+/* end confdefs.h.  */
9695+$ac_includes_default
9696+int
9697+main ()
9698+{
9699+if (sizeof ((int16_t)))
9700+	  return 0;
9701+  ;
9702+  return 0;
9703+}
9704+_ACEOF
9705+rm -f conftest.$ac_objext
9706+if { (ac_try="$ac_compile"
9707+case "(($ac_try" in
9708+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9709+  *) ac_try_echo=$ac_try;;
9710+esac
9711+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9712+$as_echo "$ac_try_echo") >&5
9713+  (eval "$ac_compile") 2>conftest.er1
9714+  ac_status=$?
9715+  grep -v '^ *+' conftest.er1 >conftest.err
9716+  rm -f conftest.er1
9717+  cat conftest.err >&5
9718+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719+  (exit $ac_status); } && {
9720+	 test -z "$ac_c_werror_flag" ||
9721+	 test ! -s conftest.err
9722+       } && test -s conftest.$ac_objext; then
9723+  :
9724+else
9725+  $as_echo "$as_me: failed program was:" >&5
9726+sed 's/^/| /' conftest.$ac_ext >&5
9727+
9728+	ac_cv_type_int16_t=yes
9729 fi
9730-rm -f conftest*
9731+
9732+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9733+else
9734+  $as_echo "$as_me: failed program was:" >&5
9735+sed 's/^/| /' conftest.$ac_ext >&5
9736+
9737
9738 fi
9739-echo "$ac_t""$ac_cv_type_int16_t" 1>&6
9740-if test $ac_cv_type_int16_t = no; then
9741-  cat >> confdefs.h <<\EOF
9742+
9743+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9744+fi
9745+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
9746+$as_echo "$ac_cv_type_int16_t" >&6; }
9747+if test "x$ac_cv_type_int16_t" = x""yes; then
9748+  :
9749+else
9750+
9751+cat >>confdefs.h <<_ACEOF
9752 #define int16_t signed short
9753-EOF
9754+_ACEOF
9755
9756 fi
9757
9758-echo $ac_n "checking for uint16_t""... $ac_c" 1>&6
9759-echo "configure:3463: checking for uint16_t" >&5
9760-if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then
9761-  echo $ac_n "(cached) $ac_c" 1>&6
9762-else
9763-  cat > conftest.$ac_ext <<EOF
9764-#line 3468 "configure"
9765-#include "confdefs.h"
9766-#include <sys/types.h>
9767-#if STDC_HEADERS
9768-#include <stdlib.h>
9769-#include <stddef.h>
9770-#endif
9771-EOF
9772-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9773-  egrep "(^|[^a-zA-Z_0-9])uint16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
9774-  rm -rf conftest*
9775-  ac_cv_type_uint16_t=yes
9776+{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
9777+$as_echo_n "checking for uint16_t... " >&6; }
9778+if test "${ac_cv_type_uint16_t+set}" = set; then
9779+  $as_echo_n "(cached) " >&6
9780 else
9781-  rm -rf conftest*
9782   ac_cv_type_uint16_t=no
9783+cat >conftest.$ac_ext <<_ACEOF
9784+/* confdefs.h.  */
9785+_ACEOF
9786+cat confdefs.h >>conftest.$ac_ext
9787+cat >>conftest.$ac_ext <<_ACEOF
9788+/* end confdefs.h.  */
9789+$ac_includes_default
9790+int
9791+main ()
9792+{
9793+if (sizeof (uint16_t))
9794+       return 0;
9795+  ;
9796+  return 0;
9797+}
9798+_ACEOF
9799+rm -f conftest.$ac_objext
9800+if { (ac_try="$ac_compile"
9801+case "(($ac_try" in
9802+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9803+  *) ac_try_echo=$ac_try;;
9804+esac
9805+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9806+$as_echo "$ac_try_echo") >&5
9807+  (eval "$ac_compile") 2>conftest.er1
9808+  ac_status=$?
9809+  grep -v '^ *+' conftest.er1 >conftest.err
9810+  rm -f conftest.er1
9811+  cat conftest.err >&5
9812+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813+  (exit $ac_status); } && {
9814+	 test -z "$ac_c_werror_flag" ||
9815+	 test ! -s conftest.err
9816+       } && test -s conftest.$ac_objext; then
9817+  cat >conftest.$ac_ext <<_ACEOF
9818+/* confdefs.h.  */
9819+_ACEOF
9820+cat confdefs.h >>conftest.$ac_ext
9821+cat >>conftest.$ac_ext <<_ACEOF
9822+/* end confdefs.h.  */
9823+$ac_includes_default
9824+int
9825+main ()
9826+{
9827+if (sizeof ((uint16_t)))
9828+	  return 0;
9829+  ;
9830+  return 0;
9831+}
9832+_ACEOF
9833+rm -f conftest.$ac_objext
9834+if { (ac_try="$ac_compile"
9835+case "(($ac_try" in
9836+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837+  *) ac_try_echo=$ac_try;;
9838+esac
9839+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9840+$as_echo "$ac_try_echo") >&5
9841+  (eval "$ac_compile") 2>conftest.er1
9842+  ac_status=$?
9843+  grep -v '^ *+' conftest.er1 >conftest.err
9844+  rm -f conftest.er1
9845+  cat conftest.err >&5
9846+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847+  (exit $ac_status); } && {
9848+	 test -z "$ac_c_werror_flag" ||
9849+	 test ! -s conftest.err
9850+       } && test -s conftest.$ac_objext; then
9851+  :
9852+else
9853+  $as_echo "$as_me: failed program was:" >&5
9854+sed 's/^/| /' conftest.$ac_ext >&5
9855+
9856+	ac_cv_type_uint16_t=yes
9857 fi
9858-rm -f conftest*
9859+
9860+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9861+else
9862+  $as_echo "$as_me: failed program was:" >&5
9863+sed 's/^/| /' conftest.$ac_ext >&5
9864+
9865
9866 fi
9867-echo "$ac_t""$ac_cv_type_uint16_t" 1>&6
9868-if test $ac_cv_type_uint16_t = no; then
9869-  cat >> confdefs.h <<\EOF
9870+
9871+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9872+fi
9873+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
9874+$as_echo "$ac_cv_type_uint16_t" >&6; }
9875+if test "x$ac_cv_type_uint16_t" = x""yes; then
9876+  :
9877+else
9878+
9879+cat >>confdefs.h <<_ACEOF
9880 #define uint16_t unsigned short
9881-EOF
9882+_ACEOF
9883
9884 fi
9885
9886-echo $ac_n "checking for int32_t""... $ac_c" 1>&6
9887-echo "configure:3496: checking for int32_t" >&5
9888-if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
9889-  echo $ac_n "(cached) $ac_c" 1>&6
9890-else
9891-  cat > conftest.$ac_ext <<EOF
9892-#line 3501 "configure"
9893-#include "confdefs.h"
9894-#include <sys/types.h>
9895-#if STDC_HEADERS
9896-#include <stdlib.h>
9897-#include <stddef.h>
9898-#endif
9899-EOF
9900-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9901-  egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
9902-  rm -rf conftest*
9903-  ac_cv_type_int32_t=yes
9904+{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
9905+$as_echo_n "checking for int32_t... " >&6; }
9906+if test "${ac_cv_type_int32_t+set}" = set; then
9907+  $as_echo_n "(cached) " >&6
9908 else
9909-  rm -rf conftest*
9910   ac_cv_type_int32_t=no
9911+cat >conftest.$ac_ext <<_ACEOF
9912+/* confdefs.h.  */
9913+_ACEOF
9914+cat confdefs.h >>conftest.$ac_ext
9915+cat >>conftest.$ac_ext <<_ACEOF
9916+/* end confdefs.h.  */
9917+$ac_includes_default
9918+int
9919+main ()
9920+{
9921+if (sizeof (int32_t))
9922+       return 0;
9923+  ;
9924+  return 0;
9925+}
9926+_ACEOF
9927+rm -f conftest.$ac_objext
9928+if { (ac_try="$ac_compile"
9929+case "(($ac_try" in
9930+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931+  *) ac_try_echo=$ac_try;;
9932+esac
9933+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9934+$as_echo "$ac_try_echo") >&5
9935+  (eval "$ac_compile") 2>conftest.er1
9936+  ac_status=$?
9937+  grep -v '^ *+' conftest.er1 >conftest.err
9938+  rm -f conftest.er1
9939+  cat conftest.err >&5
9940+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941+  (exit $ac_status); } && {
9942+	 test -z "$ac_c_werror_flag" ||
9943+	 test ! -s conftest.err
9944+       } && test -s conftest.$ac_objext; then
9945+  cat >conftest.$ac_ext <<_ACEOF
9946+/* confdefs.h.  */
9947+_ACEOF
9948+cat confdefs.h >>conftest.$ac_ext
9949+cat >>conftest.$ac_ext <<_ACEOF
9950+/* end confdefs.h.  */
9951+$ac_includes_default
9952+int
9953+main ()
9954+{
9955+if (sizeof ((int32_t)))
9956+	  return 0;
9957+  ;
9958+  return 0;
9959+}
9960+_ACEOF
9961+rm -f conftest.$ac_objext
9962+if { (ac_try="$ac_compile"
9963+case "(($ac_try" in
9964+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9965+  *) ac_try_echo=$ac_try;;
9966+esac
9967+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9968+$as_echo "$ac_try_echo") >&5
9969+  (eval "$ac_compile") 2>conftest.er1
9970+  ac_status=$?
9971+  grep -v '^ *+' conftest.er1 >conftest.err
9972+  rm -f conftest.er1
9973+  cat conftest.err >&5
9974+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975+  (exit $ac_status); } && {
9976+	 test -z "$ac_c_werror_flag" ||
9977+	 test ! -s conftest.err
9978+       } && test -s conftest.$ac_objext; then
9979+  :
9980+else
9981+  $as_echo "$as_me: failed program was:" >&5
9982+sed 's/^/| /' conftest.$ac_ext >&5
9983+
9984+	ac_cv_type_int32_t=yes
9985 fi
9986-rm -f conftest*
9987+
9988+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9989+else
9990+  $as_echo "$as_me: failed program was:" >&5
9991+sed 's/^/| /' conftest.$ac_ext >&5
9992+
9993
9994 fi
9995-echo "$ac_t""$ac_cv_type_int32_t" 1>&6
9996-if test $ac_cv_type_int32_t = no; then
9997-  cat >> confdefs.h <<\EOF
9998+
9999+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10000+fi
10001+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
10002+$as_echo "$ac_cv_type_int32_t" >&6; }
10003+if test "x$ac_cv_type_int32_t" = x""yes; then
10004+  :
10005+else
10006+
10007+cat >>confdefs.h <<_ACEOF
10008 #define int32_t signed long
10009-EOF
10010+_ACEOF
10011
10012 fi
10013
10014-echo $ac_n "checking for uint32_t""... $ac_c" 1>&6
10015-echo "configure:3529: checking for uint32_t" >&5
10016-if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then
10017-  echo $ac_n "(cached) $ac_c" 1>&6
10018-else
10019-  cat > conftest.$ac_ext <<EOF
10020-#line 3534 "configure"
10021-#include "confdefs.h"
10022-#include <sys/types.h>
10023-#if STDC_HEADERS
10024-#include <stdlib.h>
10025-#include <stddef.h>
10026-#endif
10027-EOF
10028-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10029-  egrep "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
10030-  rm -rf conftest*
10031-  ac_cv_type_uint32_t=yes
10032+{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
10033+$as_echo_n "checking for uint32_t... " >&6; }
10034+if test "${ac_cv_type_uint32_t+set}" = set; then
10035+  $as_echo_n "(cached) " >&6
10036 else
10037-  rm -rf conftest*
10038   ac_cv_type_uint32_t=no
10039+cat >conftest.$ac_ext <<_ACEOF
10040+/* confdefs.h.  */
10041+_ACEOF
10042+cat confdefs.h >>conftest.$ac_ext
10043+cat >>conftest.$ac_ext <<_ACEOF
10044+/* end confdefs.h.  */
10045+$ac_includes_default
10046+int
10047+main ()
10048+{
10049+if (sizeof (uint32_t))
10050+       return 0;
10051+  ;
10052+  return 0;
10053+}
10054+_ACEOF
10055+rm -f conftest.$ac_objext
10056+if { (ac_try="$ac_compile"
10057+case "(($ac_try" in
10058+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10059+  *) ac_try_echo=$ac_try;;
10060+esac
10061+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10062+$as_echo "$ac_try_echo") >&5
10063+  (eval "$ac_compile") 2>conftest.er1
10064+  ac_status=$?
10065+  grep -v '^ *+' conftest.er1 >conftest.err
10066+  rm -f conftest.er1
10067+  cat conftest.err >&5
10068+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069+  (exit $ac_status); } && {
10070+	 test -z "$ac_c_werror_flag" ||
10071+	 test ! -s conftest.err
10072+       } && test -s conftest.$ac_objext; then
10073+  cat >conftest.$ac_ext <<_ACEOF
10074+/* confdefs.h.  */
10075+_ACEOF
10076+cat confdefs.h >>conftest.$ac_ext
10077+cat >>conftest.$ac_ext <<_ACEOF
10078+/* end confdefs.h.  */
10079+$ac_includes_default
10080+int
10081+main ()
10082+{
10083+if (sizeof ((uint32_t)))
10084+	  return 0;
10085+  ;
10086+  return 0;
10087+}
10088+_ACEOF
10089+rm -f conftest.$ac_objext
10090+if { (ac_try="$ac_compile"
10091+case "(($ac_try" in
10092+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10093+  *) ac_try_echo=$ac_try;;
10094+esac
10095+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10096+$as_echo "$ac_try_echo") >&5
10097+  (eval "$ac_compile") 2>conftest.er1
10098+  ac_status=$?
10099+  grep -v '^ *+' conftest.er1 >conftest.err
10100+  rm -f conftest.er1
10101+  cat conftest.err >&5
10102+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103+  (exit $ac_status); } && {
10104+	 test -z "$ac_c_werror_flag" ||
10105+	 test ! -s conftest.err
10106+       } && test -s conftest.$ac_objext; then
10107+  :
10108+else
10109+  $as_echo "$as_me: failed program was:" >&5
10110+sed 's/^/| /' conftest.$ac_ext >&5
10111+
10112+	ac_cv_type_uint32_t=yes
10113 fi
10114-rm -f conftest*
10115+
10116+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10117+else
10118+  $as_echo "$as_me: failed program was:" >&5
10119+sed 's/^/| /' conftest.$ac_ext >&5
10120+
10121
10122 fi
10123-echo "$ac_t""$ac_cv_type_uint32_t" 1>&6
10124-if test $ac_cv_type_uint32_t = no; then
10125-  cat >> confdefs.h <<\EOF
10126+
10127+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10128+fi
10129+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
10130+$as_echo "$ac_cv_type_uint32_t" >&6; }
10131+if test "x$ac_cv_type_uint32_t" = x""yes; then
10132+  :
10133+else
10134+
10135+cat >>confdefs.h <<_ACEOF
10136 #define uint32_t unsigned long
10137-EOF
10138+_ACEOF
10139
10140 fi
10141
10142-echo $ac_n "checking for int64_t""... $ac_c" 1>&6
10143-echo "configure:3562: checking for int64_t" >&5
10144-if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
10145-  echo $ac_n "(cached) $ac_c" 1>&6
10146-else
10147-  cat > conftest.$ac_ext <<EOF
10148-#line 3567 "configure"
10149-#include "confdefs.h"
10150-#include <sys/types.h>
10151-#if STDC_HEADERS
10152-#include <stdlib.h>
10153-#include <stddef.h>
10154-#endif
10155-EOF
10156-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10157-  egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
10158-  rm -rf conftest*
10159-  ac_cv_type_int64_t=yes
10160+{ $as_echo "$as_me:$LINENO: checking for int64_t" >&5
10161+$as_echo_n "checking for int64_t... " >&6; }
10162+if test "${ac_cv_type_int64_t+set}" = set; then
10163+  $as_echo_n "(cached) " >&6
10164 else
10165-  rm -rf conftest*
10166   ac_cv_type_int64_t=no
10167+cat >conftest.$ac_ext <<_ACEOF
10168+/* confdefs.h.  */
10169+_ACEOF
10170+cat confdefs.h >>conftest.$ac_ext
10171+cat >>conftest.$ac_ext <<_ACEOF
10172+/* end confdefs.h.  */
10173+$ac_includes_default
10174+int
10175+main ()
10176+{
10177+if (sizeof (int64_t))
10178+       return 0;
10179+  ;
10180+  return 0;
10181+}
10182+_ACEOF
10183+rm -f conftest.$ac_objext
10184+if { (ac_try="$ac_compile"
10185+case "(($ac_try" in
10186+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10187+  *) ac_try_echo=$ac_try;;
10188+esac
10189+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10190+$as_echo "$ac_try_echo") >&5
10191+  (eval "$ac_compile") 2>conftest.er1
10192+  ac_status=$?
10193+  grep -v '^ *+' conftest.er1 >conftest.err
10194+  rm -f conftest.er1
10195+  cat conftest.err >&5
10196+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197+  (exit $ac_status); } && {
10198+	 test -z "$ac_c_werror_flag" ||
10199+	 test ! -s conftest.err
10200+       } && test -s conftest.$ac_objext; then
10201+  cat >conftest.$ac_ext <<_ACEOF
10202+/* confdefs.h.  */
10203+_ACEOF
10204+cat confdefs.h >>conftest.$ac_ext
10205+cat >>conftest.$ac_ext <<_ACEOF
10206+/* end confdefs.h.  */
10207+$ac_includes_default
10208+int
10209+main ()
10210+{
10211+if (sizeof ((int64_t)))
10212+	  return 0;
10213+  ;
10214+  return 0;
10215+}
10216+_ACEOF
10217+rm -f conftest.$ac_objext
10218+if { (ac_try="$ac_compile"
10219+case "(($ac_try" in
10220+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10221+  *) ac_try_echo=$ac_try;;
10222+esac
10223+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10224+$as_echo "$ac_try_echo") >&5
10225+  (eval "$ac_compile") 2>conftest.er1
10226+  ac_status=$?
10227+  grep -v '^ *+' conftest.er1 >conftest.err
10228+  rm -f conftest.er1
10229+  cat conftest.err >&5
10230+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231+  (exit $ac_status); } && {
10232+	 test -z "$ac_c_werror_flag" ||
10233+	 test ! -s conftest.err
10234+       } && test -s conftest.$ac_objext; then
10235+  :
10236+else
10237+  $as_echo "$as_me: failed program was:" >&5
10238+sed 's/^/| /' conftest.$ac_ext >&5
10239+
10240+	ac_cv_type_int64_t=yes
10241 fi
10242-rm -f conftest*
10243
10244-fi
10245-echo "$ac_t""$ac_cv_type_int64_t" 1>&6
10246-if test $ac_cv_type_int64_t = no; then
10247-  cat >> confdefs.h <<\EOF
10248+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10249+else
10250+  $as_echo "$as_me: failed program was:" >&5
10251+sed 's/^/| /' conftest.$ac_ext >&5
10252+
10253+
10254+fi
10255+
10256+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10257+fi
10258+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
10259+$as_echo "$ac_cv_type_int64_t" >&6; }
10260+if test "x$ac_cv_type_int64_t" = x""yes; then
10261+  :
10262+else
10263+
10264+cat >>confdefs.h <<_ACEOF
10265 #define int64_t signed long long
10266-EOF
10267+_ACEOF
10268
10269 fi
10270
10271-echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
10272-echo "configure:3595: checking for uint64_t" >&5
10273-if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
10274-  echo $ac_n "(cached) $ac_c" 1>&6
10275-else
10276-  cat > conftest.$ac_ext <<EOF
10277-#line 3600 "configure"
10278-#include "confdefs.h"
10279-#include <sys/types.h>
10280-#if STDC_HEADERS
10281-#include <stdlib.h>
10282-#include <stddef.h>
10283-#endif
10284-EOF
10285-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10286-  egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
10287-  rm -rf conftest*
10288-  ac_cv_type_uint64_t=yes
10289+{ $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
10290+$as_echo_n "checking for uint64_t... " >&6; }
10291+if test "${ac_cv_type_uint64_t+set}" = set; then
10292+  $as_echo_n "(cached) " >&6
10293 else
10294-  rm -rf conftest*
10295   ac_cv_type_uint64_t=no
10296+cat >conftest.$ac_ext <<_ACEOF
10297+/* confdefs.h.  */
10298+_ACEOF
10299+cat confdefs.h >>conftest.$ac_ext
10300+cat >>conftest.$ac_ext <<_ACEOF
10301+/* end confdefs.h.  */
10302+$ac_includes_default
10303+int
10304+main ()
10305+{
10306+if (sizeof (uint64_t))
10307+       return 0;
10308+  ;
10309+  return 0;
10310+}
10311+_ACEOF
10312+rm -f conftest.$ac_objext
10313+if { (ac_try="$ac_compile"
10314+case "(($ac_try" in
10315+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10316+  *) ac_try_echo=$ac_try;;
10317+esac
10318+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10319+$as_echo "$ac_try_echo") >&5
10320+  (eval "$ac_compile") 2>conftest.er1
10321+  ac_status=$?
10322+  grep -v '^ *+' conftest.er1 >conftest.err
10323+  rm -f conftest.er1
10324+  cat conftest.err >&5
10325+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10326+  (exit $ac_status); } && {
10327+	 test -z "$ac_c_werror_flag" ||
10328+	 test ! -s conftest.err
10329+       } && test -s conftest.$ac_objext; then
10330+  cat >conftest.$ac_ext <<_ACEOF
10331+/* confdefs.h.  */
10332+_ACEOF
10333+cat confdefs.h >>conftest.$ac_ext
10334+cat >>conftest.$ac_ext <<_ACEOF
10335+/* end confdefs.h.  */
10336+$ac_includes_default
10337+int
10338+main ()
10339+{
10340+if (sizeof ((uint64_t)))
10341+	  return 0;
10342+  ;
10343+  return 0;
10344+}
10345+_ACEOF
10346+rm -f conftest.$ac_objext
10347+if { (ac_try="$ac_compile"
10348+case "(($ac_try" in
10349+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10350+  *) ac_try_echo=$ac_try;;
10351+esac
10352+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10353+$as_echo "$ac_try_echo") >&5
10354+  (eval "$ac_compile") 2>conftest.er1
10355+  ac_status=$?
10356+  grep -v '^ *+' conftest.er1 >conftest.err
10357+  rm -f conftest.er1
10358+  cat conftest.err >&5
10359+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10360+  (exit $ac_status); } && {
10361+	 test -z "$ac_c_werror_flag" ||
10362+	 test ! -s conftest.err
10363+       } && test -s conftest.$ac_objext; then
10364+  :
10365+else
10366+  $as_echo "$as_me: failed program was:" >&5
10367+sed 's/^/| /' conftest.$ac_ext >&5
10368+
10369+	ac_cv_type_uint64_t=yes
10370 fi
10371-rm -f conftest*
10372+
10373+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10374+else
10375+  $as_echo "$as_me: failed program was:" >&5
10376+sed 's/^/| /' conftest.$ac_ext >&5
10377+
10378
10379 fi
10380-echo "$ac_t""$ac_cv_type_uint64_t" 1>&6
10381-if test $ac_cv_type_uint64_t = no; then
10382-  cat >> confdefs.h <<\EOF
10383+
10384+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10385+fi
10386+{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
10387+$as_echo "$ac_cv_type_uint64_t" >&6; }
10388+if test "x$ac_cv_type_uint64_t" = x""yes; then
10389+  :
10390+else
10391+
10392+cat >>confdefs.h <<_ACEOF
10393 #define uint64_t unsigned long long
10394-EOF
10395+_ACEOF
10396
10397 fi
10398
10399@@ -3680,111 +8558,232 @@
10400 fi
10401
10402
10403-ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
10404-echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
10405-echo "configure:3686: checking for wchar.h" >&5
10406-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10407-  echo $ac_n "(cached) $ac_c" 1>&6
10408-else
10409-  cat > conftest.$ac_ext <<EOF
10410-#line 3691 "configure"
10411-#include "confdefs.h"
10412+if test "${ac_cv_header_wchar_h+set}" = set; then
10413+  { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
10414+$as_echo_n "checking for wchar.h... " >&6; }
10415+if test "${ac_cv_header_wchar_h+set}" = set; then
10416+  $as_echo_n "(cached) " >&6
10417+fi
10418+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
10419+$as_echo "$ac_cv_header_wchar_h" >&6; }
10420+else
10421+  # Is the header compilable?
10422+{ $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
10423+$as_echo_n "checking wchar.h usability... " >&6; }
10424+cat >conftest.$ac_ext <<_ACEOF
10425+/* confdefs.h.  */
10426+_ACEOF
10427+cat confdefs.h >>conftest.$ac_ext
10428+cat >>conftest.$ac_ext <<_ACEOF
10429+/* end confdefs.h.  */
10430+$ac_includes_default
10431 #include <wchar.h>
10432-EOF
10433-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10434-{ (eval echo configure:3696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10435-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10436-if test -z "$ac_err"; then
10437-  rm -rf conftest*
10438-  eval "ac_cv_header_$ac_safe=yes"
10439-else
10440-  echo "$ac_err" >&5
10441-  echo "configure: failed program was:" >&5
10442-  cat conftest.$ac_ext >&5
10443-  rm -rf conftest*
10444-  eval "ac_cv_header_$ac_safe=no"
10445-fi
10446-rm -f conftest*
10447-fi
10448-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10449-  echo "$ac_t""yes" 1>&6
10450-  :
10451+_ACEOF
10452+rm -f conftest.$ac_objext
10453+if { (ac_try="$ac_compile"
10454+case "(($ac_try" in
10455+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456+  *) ac_try_echo=$ac_try;;
10457+esac
10458+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10459+$as_echo "$ac_try_echo") >&5
10460+  (eval "$ac_compile") 2>conftest.er1
10461+  ac_status=$?
10462+  grep -v '^ *+' conftest.er1 >conftest.err
10463+  rm -f conftest.er1
10464+  cat conftest.err >&5
10465+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466+  (exit $ac_status); } && {
10467+	 test -z "$ac_c_werror_flag" ||
10468+	 test ! -s conftest.err
10469+       } && test -s conftest.$ac_objext; then
10470+  ac_header_compiler=yes
10471+else
10472+  $as_echo "$as_me: failed program was:" >&5
10473+sed 's/^/| /' conftest.$ac_ext >&5
10474+
10475+	ac_header_compiler=no
10476+fi
10477+
10478+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10479+{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10480+$as_echo "$ac_header_compiler" >&6; }
10481+
10482+# Is the header present?
10483+{ $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
10484+$as_echo_n "checking wchar.h presence... " >&6; }
10485+cat >conftest.$ac_ext <<_ACEOF
10486+/* confdefs.h.  */
10487+_ACEOF
10488+cat confdefs.h >>conftest.$ac_ext
10489+cat >>conftest.$ac_ext <<_ACEOF
10490+/* end confdefs.h.  */
10491+#include <wchar.h>
10492+_ACEOF
10493+if { (ac_try="$ac_cpp conftest.$ac_ext"
10494+case "(($ac_try" in
10495+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496+  *) ac_try_echo=$ac_try;;
10497+esac
10498+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10499+$as_echo "$ac_try_echo") >&5
10500+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10501+  ac_status=$?
10502+  grep -v '^ *+' conftest.er1 >conftest.err
10503+  rm -f conftest.er1
10504+  cat conftest.err >&5
10505+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506+  (exit $ac_status); } >/dev/null && {
10507+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10508+	 test ! -s conftest.err
10509+       }; then
10510+  ac_header_preproc=yes
10511+else
10512+  $as_echo "$as_me: failed program was:" >&5
10513+sed 's/^/| /' conftest.$ac_ext >&5
10514+
10515+  ac_header_preproc=no
10516+fi
10517+
10518+rm -f conftest.err conftest.$ac_ext
10519+{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10520+$as_echo "$ac_header_preproc" >&6; }
10521+
10522+# So?  What about this header?
10523+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10524+  yes:no: )
10525+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
10526+$as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10527+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
10528+$as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
10529+    ac_header_preproc=yes
10530+    ;;
10531+  no:yes:* )
10532+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
10533+$as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
10534+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
10535+$as_echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
10536+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
10537+$as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
10538+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
10539+$as_echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10540+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
10541+$as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
10542+    { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
10543+$as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
10544+
10545+    ;;
10546+esac
10547+{ $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
10548+$as_echo_n "checking for wchar.h... " >&6; }
10549+if test "${ac_cv_header_wchar_h+set}" = set; then
10550+  $as_echo_n "(cached) " >&6
10551 else
10552-  echo "$ac_t""no" 1>&6
10553+  ac_cv_header_wchar_h=$ac_header_preproc
10554 fi
10555+{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
10556+$as_echo "$ac_cv_header_wchar_h" >&6; }
10557+
10558+fi
10559+
10560
10561 if test "$ac_cv_header_wchar_h" = no
10562 then
10563     U_HAVE_WCHAR_H=0
10564     U_HAVE_WCSCPY=0
10565 else
10566-    cat >> confdefs.h <<\EOF
10567+    cat >>confdefs.h <<\_ACEOF
10568 #define HAVE_WCHAR_H 1
10569-EOF
10570+_ACEOF
10571
10572     U_HAVE_WCHAR_H=1
10573-
10574-echo $ac_n "checking for library containing wcscpy""... $ac_c" 1>&6
10575-echo "configure:3729: checking for library containing wcscpy" >&5
10576-if eval "test \"`echo '$''{'ac_cv_search_wcscpy'+set}'`\" = set"; then
10577-  echo $ac_n "(cached) $ac_c" 1>&6
10578-else
10579-  ac_func_search_save_LIBS="$LIBS"
10580-ac_cv_search_wcscpy="no"
10581-cat > conftest.$ac_ext <<EOF
10582-#line 3736 "configure"
10583-#include "confdefs.h"
10584-/* Override any gcc2 internal prototype to avoid an error.  */
10585-/* We use char because int might match the return type of a gcc2
10586-    builtin and then its argument prototype would still apply.  */
10587-char wcscpy();
10588-
10589-int main() {
10590-wcscpy()
10591-; return 0; }
10592-EOF
10593-if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10594-  rm -rf conftest*
10595-  ac_cv_search_wcscpy="none required"
10596-else
10597-  echo "configure: failed program was:" >&5
10598-  cat conftest.$ac_ext >&5
10599+        { $as_echo "$as_me:$LINENO: checking for library containing wcscpy" >&5
10600+$as_echo_n "checking for library containing wcscpy... " >&6; }
10601+if test "${ac_cv_search_wcscpy+set}" = set; then
10602+  $as_echo_n "(cached) " >&6
10603+else
10604+  ac_func_search_save_LIBS=$LIBS
10605+cat >conftest.$ac_ext <<_ACEOF
10606+/* confdefs.h.  */
10607+_ACEOF
10608+cat confdefs.h >>conftest.$ac_ext
10609+cat >>conftest.$ac_ext <<_ACEOF
10610+/* end confdefs.h.  */
10611+
10612+/* Override any GCC internal prototype to avoid an error.
10613+   Use char because int might match the return type of a GCC
10614+   builtin and then its argument prototype would still apply.  */
10615+#ifdef __cplusplus
10616+extern "C"
10617+#endif
10618+char wcscpy ();
10619+int
10620+main ()
10621+{
10622+return wcscpy ();
10623+  ;
10624+  return 0;
10625+}
10626+_ACEOF
10627+for ac_lib in '' wcs w; do
10628+  if test -z "$ac_lib"; then
10629+    ac_res="none required"
10630+  else
10631+    ac_res=-l$ac_lib
10632+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
10633+  fi
10634+  rm -f conftest.$ac_objext conftest$ac_exeext
10635+if { (ac_try="$ac_link"
10636+case "(($ac_try" in
10637+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10638+  *) ac_try_echo=$ac_try;;
10639+esac
10640+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10641+$as_echo "$ac_try_echo") >&5
10642+  (eval "$ac_link") 2>conftest.er1
10643+  ac_status=$?
10644+  grep -v '^ *+' conftest.er1 >conftest.err
10645+  rm -f conftest.er1
10646+  cat conftest.err >&5
10647+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648+  (exit $ac_status); } && {
10649+	 test -z "$ac_c_werror_flag" ||
10650+	 test ! -s conftest.err
10651+       } && test -s conftest$ac_exeext && {
10652+	 test "$cross_compiling" = yes ||
10653+	 $as_test_x conftest$ac_exeext
10654+       }; then
10655+  ac_cv_search_wcscpy=$ac_res
10656+else
10657+  $as_echo "$as_me: failed program was:" >&5
10658+sed 's/^/| /' conftest.$ac_ext >&5
10659+
10660+
10661 fi
10662-rm -f conftest*
10663-test "$ac_cv_search_wcscpy" = "no" && for i in wcs w; do
10664-LIBS="-l$i  $ac_func_search_save_LIBS"
10665-cat > conftest.$ac_ext <<EOF
10666-#line 3758 "configure"
10667-#include "confdefs.h"
10668-/* Override any gcc2 internal prototype to avoid an error.  */
10669-/* We use char because int might match the return type of a gcc2
10670-    builtin and then its argument prototype would still apply.  */
10671-char wcscpy();
10672-
10673-int main() {
10674-wcscpy()
10675-; return 0; }
10676-EOF
10677-if { (eval echo configure:3769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10678-  rm -rf conftest*
10679-  ac_cv_search_wcscpy="-l$i"
10680-break
10681-else
10682-  echo "configure: failed program was:" >&5
10683-  cat conftest.$ac_ext >&5
10684+
10685+rm -rf conftest.dSYM
10686+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10687+      conftest$ac_exeext
10688+  if test "${ac_cv_search_wcscpy+set}" = set; then
10689+  break
10690 fi
10691-rm -f conftest*
10692 done
10693-LIBS="$ac_func_search_save_LIBS"
10694+if test "${ac_cv_search_wcscpy+set}" = set; then
10695+  :
10696+else
10697+  ac_cv_search_wcscpy=no
10698 fi
10699+rm conftest.$ac_ext
10700+LIBS=$ac_func_search_save_LIBS
10701+fi
10702+{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_wcscpy" >&5
10703+$as_echo "$ac_cv_search_wcscpy" >&6; }
10704+ac_res=$ac_cv_search_wcscpy
10705+if test "$ac_res" != no; then
10706+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10707
10708-echo "$ac_t""$ac_cv_search_wcscpy" 1>&6
10709-if test "$ac_cv_search_wcscpy" != "no"; then
10710-  test "$ac_cv_search_wcscpy" = "none required" || LIBS="$ac_cv_search_wcscpy $LIBS"
10711-
10712-else :
10713-
10714 fi
10715+
10716     if test "$ac_cv_search_wcscpy" != no; then
10717       U_HAVE_WCSCPY=1
10718     else
10719@@ -3795,17 +8794,20 @@
10720
10721
10722 ac_default_sizeof_wchar_t=4
10723-echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10724-echo "configure:3800: checking size of wchar_t" >&5
10725-if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10726-  echo $ac_n "(cached) $ac_c" 1>&6
10727+{ $as_echo "$as_me:$LINENO: checking size of wchar_t" >&5
10728+$as_echo_n "checking size of wchar_t... " >&6; }
10729+if test "${ac_cv_sizeof_wchar_t+set}" = set; then
10730+  $as_echo_n "(cached) " >&6
10731 else
10732   if test "$cross_compiling" = yes; then
10733   ac_cv_sizeof_wchar_t=$ac_default_sizeof_wchar_t
10734 else
10735-  cat > conftest.$ac_ext <<EOF
10736-#line 3808 "configure"
10737-#include "confdefs.h"
10738+  cat >conftest.$ac_ext <<_ACEOF
10739+/* confdefs.h.  */
10740+_ACEOF
10741+cat confdefs.h >>conftest.$ac_ext
10742+cat >>conftest.$ac_ext <<_ACEOF
10743+/* end confdefs.h.  */
10744 #if STDC_HEADERS
10745 #include <stddef.h>
10746 #endif
10747@@ -3821,30 +8823,57 @@
10748   fprintf(f, "%d\n", sizeof(wchar_t));
10749   exit(0);
10750 }
10751-EOF
10752-if { (eval echo configure:3826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10753-then
10754+_ACEOF
10755+rm -f conftest$ac_exeext
10756+if { (ac_try="$ac_link"
10757+case "(($ac_try" in
10758+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10759+  *) ac_try_echo=$ac_try;;
10760+esac
10761+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10762+$as_echo "$ac_try_echo") >&5
10763+  (eval "$ac_link") 2>&5
10764+  ac_status=$?
10765+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766+  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10767+  { (case "(($ac_try" in
10768+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10769+  *) ac_try_echo=$ac_try;;
10770+esac
10771+eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10772+$as_echo "$ac_try_echo") >&5
10773+  (eval "$ac_try") 2>&5
10774+  ac_status=$?
10775+  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776+  (exit $ac_status); }; }; then
10777   ac_cv_sizeof_wchar_t=`cat conftestval`
10778 else
10779-  echo "configure: failed program was:" >&5
10780-  cat conftest.$ac_ext >&5
10781-  rm -fr conftest*
10782-  ac_cv_sizeof_wchar_t=0
10783+  $as_echo "$as_me: program exited with status $ac_status" >&5
10784+$as_echo "$as_me: failed program was:" >&5
10785+sed 's/^/| /' conftest.$ac_ext >&5
10786+
10787+( exit $ac_status )
10788+ac_cv_sizeof_wchar_t=0
10789 fi
10790-rm -fr conftest*
10791+rm -rf conftest.dSYM
10792+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10793 fi
10794
10795+
10796 fi
10797-echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10798-cat >> confdefs.h <<EOF
10799+{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
10800+$as_echo "$ac_cv_sizeof_wchar_t" >&6; }
10801+cat >>confdefs.h <<_ACEOF
10802 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10803-EOF
10804+_ACEOF
10805
10806
10807 U_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
10808 if test $U_SIZEOF_WCHAR_T = 0; then
10809 	if test $U_HAVE_WCHAR_H=1; then
10810-	   { echo "configure: error: There is wchar.h but the size of wchar_t is 0" 1>&2; exit 1; }
10811+	   { { $as_echo "$as_me:$LINENO: error: There is wchar.h but the size of wchar_t is 0" >&5
10812+$as_echo "$as_me: error: There is wchar.h but the size of wchar_t is 0" >&2;}
10813+   { (exit 1); exit 1; }; }
10814 	fi
10815 fi
10816
10817@@ -3855,13 +8884,14 @@
10818 #AC_SUBST(ECHO_N)
10819 #AC_SUBST(ECHO_C)
10820
10821-# Check whether --enable-extras or --disable-extras was given.
10822+# Check whether --enable-extras was given.
10823 if test "${enable_extras+set}" = set; then
10824-  enableval="$enable_extras"
10825-  case "${enableval}" in
10826+  enableval=$enable_extras; case "${enableval}" in
10827 		yes) extras=true ;;
10828 		no)  extras=false ;;
10829-		*) { echo "configure: error: bad value ${enableval} for --enable-extras" 1>&2; exit 1; } ;;
10830+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-extras" >&5
10831+$as_echo "$as_me: error: bad value ${enableval} for --enable-extras" >&2;}
10832+   { (exit 1); exit 1; }; } ;;
10833 		esac
10834 else
10835   extras=true
10836@@ -3873,13 +8903,14 @@
10837 else
10838   EXTRAS_TRUE='#'
10839 fi
10840-# Check whether --enable-extras or --disable-extras was given.
10841+# Check whether --enable-extras was given.
10842 if test "${enable_extras+set}" = set; then
10843-  enableval="$enable_extras"
10844-  case "${enableval}" in
10845+  enableval=$enable_extras; case "${enableval}" in
10846 		yes) icuio=true ;;
10847 		no)  icuio=false ;;
10848-		*) { echo "configure: error: bad value ${enableval} for --enable-icuio" 1>&2; exit 1; } ;;
10849+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-icuio" >&5
10850+$as_echo "$as_me: error: bad value ${enableval} for --enable-icuio" >&2;}
10851+   { (exit 1); exit 1; }; } ;;
10852 		esac
10853 else
10854   icuio=true
10855@@ -3892,13 +8923,14 @@
10856   ICUIO_TRUE='#'
10857 fi
10858
10859-# Check whether --enable-layout or --disable-layout was given.
10860+# Check whether --enable-layout was given.
10861 if test "${enable_layout+set}" = set; then
10862-  enableval="$enable_layout"
10863-  case "${enableval}" in
10864+  enableval=$enable_layout; case "${enableval}" in
10865 		yes) layout=true ;;
10866 		no)  layout=false ;;
10867-		*) { echo "configure: error: bad value ${enableval} for --enable-layout" 1>&2; exit 1; } ;;
10868+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-layout" >&5
10869+$as_echo "$as_me: error: bad value ${enableval} for --enable-layout" >&2;}
10870+   { (exit 1); exit 1; }; } ;;
10871 		esac
10872 else
10873   layout=true
10874@@ -3911,16 +8943,18 @@
10875   LAYOUT_TRUE='#'
10876 fi
10877
10878-# Check whether --with-data-packaging or --without-data-packaging was given.
10879+
10880+# Check whether --with-data-packaging was given.
10881 if test "${with_data_packaging+set}" = set; then
10882-  withval="$with_data_packaging"
10883-  case "${withval}" in
10884+  withval=$with_data_packaging; case "${withval}" in
10885                 files|archive|library) datapackaging=$withval ;;
10886 		auto) datapackaging=$withval ;;
10887 		common) datapackaging=archive ;;
10888 		dll) datapackaging=library ;;
10889 		static) datapackaging=static ;;
10890-		*) { echo "configure: error: bad value ${withval} for --with-data-packaging" 1>&2; exit 1; } ;;
10891+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-data-packaging" >&5
10892+$as_echo "$as_me: error: bad value ${withval} for --with-data-packaging" >&2;}
10893+   { (exit 1); exit 1; }; } ;;
10894 		esac
10895 else
10896   datapackaging=
10897@@ -3939,13 +8973,14 @@
10898
10899
10900
10901-# Check whether --enable-mapped or --disable-mapped was given.
10902+# Check whether --enable-mapped was given.
10903 if test "${enable_mapped+set}" = set; then
10904-  enableval="$enable_mapped"
10905-  case "${enableval}" in
10906+  enableval=$enable_mapped; case "${enableval}" in
10907                yes) mapped=archive ;;
10908                no)  mapped=library ;;
10909-               *) { echo "configure: error: bad value ${enableval} for --enable-mapped; use --with-data-packaging now" 1>&2; exit 1; } ;;
10910+               *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mapped; use --with-data-packaging now" >&5
10911+$as_echo "$as_me: error: bad value ${enableval} for --enable-mapped; use --with-data-packaging now" >&2;}
10912+   { (exit 1); exit 1; }; } ;;
10913 	esac
10914 else
10915   mapped=
10916@@ -3955,14 +8990,18 @@
10917 if test x"$mapped" != x; then
10918     case $mapped in
10919 	archive)
10920-    	    echo "configure: warning: use --with-data-packaging=archive instead of --enable-mapped" 1>&2
10921+    	    { $as_echo "$as_me:$LINENO: WARNING: use --with-data-packaging=archive instead of --enable-mapped" >&5
10922+$as_echo "$as_me: WARNING: use --with-data-packaging=archive instead of --enable-mapped" >&2;}
10923 	    ;;
10924 	library)
10925-    	    echo "configure: warning: use --with-data-packaging=library instead of --disable-mapped" 1>&2
10926+    	    { $as_echo "$as_me:$LINENO: WARNING: use --with-data-packaging=library instead of --disable-mapped" >&5
10927+$as_echo "$as_me: WARNING: use --with-data-packaging=library instead of --disable-mapped" >&2;}
10928 	    ;;
10929     esac
10930     if test x"$datapackaging" != x -a x"$mapped" != x"$datapackaging"; then
10931-	{ echo "configure: error: conflicting values used for --with-data-packaging and deprecated --enable-mapped" 1>&2; exit 1; }
10932+	{ { $as_echo "$as_me:$LINENO: error: conflicting values used for --with-data-packaging and deprecated --enable-mapped" >&5
10933+$as_echo "$as_me: error: conflicting values used for --with-data-packaging and deprecated --enable-mapped" >&2;}
10934+   { (exit 1); exit 1; }; }
10935     fi
10936     datapackaging=$mapped
10937 fi
10938@@ -3988,12 +9027,12 @@
10939
10940
10941
10942-echo $ac_n "checking for a library suffix to use""... $ac_c" 1>&6
10943-echo "configure:3993: checking for a library suffix to use" >&5
10944-# Check whether --with-library-suffix or --without-library-suffix was given.
10945+{ $as_echo "$as_me:$LINENO: checking for a library suffix to use" >&5
10946+$as_echo_n "checking for a library suffix to use... " >&6; }
10947+
10948+# Check whether --with-library-suffix was given.
10949 if test "${with_library_suffix+set}" = set; then
10950-  withval="$with_library_suffix"
10951-  ICULIBSUFFIX="${withval}"
10952+  withval=$with_library_suffix; ICULIBSUFFIX="${withval}"
10953 else
10954   ICULIBSUFFIX=
10955 fi
10956@@ -4002,7 +9041,8 @@
10957 if test "$msg" = ""; then
10958     msg=none
10959 fi
10960-echo "$ac_t""$msg" 1>&6
10961+{ $as_echo "$as_me:$LINENO: result: $msg" >&5
10962+$as_echo "$msg" >&6; }
10963
10964 if test "$ICULIBSUFFIX" != ""
10965 then
10966@@ -4014,13 +9054,14 @@
10967
10968
10969
10970-# Check whether --enable-tests or --disable-tests was given.
10971+# Check whether --enable-tests was given.
10972 if test "${enable_tests+set}" = set; then
10973-  enableval="$enable_tests"
10974-  case "${enableval}" in
10975+  enableval=$enable_tests; case "${enableval}" in
10976 		yes) tests=true ;;
10977 		no)  tests=false ;;
10978-		*) { echo "configure: error: bad value ${enableval} for --enable-tests" 1>&2; exit 1; } ;;
10979+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tests" >&5
10980+$as_echo "$as_me: error: bad value ${enableval} for --enable-tests" >&2;}
10981+   { (exit 1); exit 1; }; } ;;
10982 		esac
10983 else
10984   tests=true
10985@@ -4033,13 +9074,14 @@
10986   TESTS_TRUE='#'
10987 fi
10988
10989-# Check whether --enable-samples or --disable-samples was given.
10990+# Check whether --enable-samples was given.
10991 if test "${enable_samples+set}" = set; then
10992-  enableval="$enable_samples"
10993-  case "${enableval}" in
10994+  enableval=$enable_samples; case "${enableval}" in
10995 		yes) samples=true ;;
10996 		no)  samples=false ;;
10997-		*) { echo "configure: error: bad value ${enableval} for --enable-samples" 1>&2; exit 1; } ;;
10998+		*) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-samples" >&5
10999+$as_echo "$as_me: error: bad value ${enableval} for --enable-samples" >&2;}
11000+   { (exit 1); exit 1; }; } ;;
11001 		esac
11002 else
11003   samples=true
11004@@ -4096,7 +9138,7 @@
11005
11006
11007 case "${host}" in
11008-	*-*-hpux*)
11009+	*-*-hpux*)
11010 		if test "${icu_cv_host_frag}" = "mh-hpux-cc"; then
11011 			for file in samples/date/date \
11012 			  samples/cal/cal test/cintltst/cintltst \
11013@@ -4141,517 +9183,1299 @@
11014     CXXFLAGS="$CXXFLAGS \$(THREADSCXXFLAGS)"
11015 fi
11016
11017-trap '' 1 2 15
11018-cat > confcache <<\EOF
11019+ac_config_files="$ac_config_files icudefs.mk Makefile data/Makefile data/icupkg.inc common/Makefile config/Makefile.inc i18n/Makefile layout/Makefile layoutex/Makefile io/Makefile extra/Makefile extra/uconv/Makefile extra/scrptrun/Makefile stubdata/Makefile tools/Makefile tools/ctestfw/Makefile tools/makeconv/Makefile tools/genrb/Makefile tools/genuca/Makefile tools/genccode/Makefile tools/gencmn/Makefile tools/gencnval/Makefile tools/gennames/Makefile tools/gentest/Makefile tools/gennorm/Makefile tools/genprops/Makefile tools/genpname/Makefile tools/genbrk/Makefile tools/gensprep/Makefile tools/icuswap/Makefile tools/pkgdata/Makefile tools/toolutil/Makefile tools/dumpce/Makefile test/Makefile test/testdata/Makefile 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/layout/Makefile common/unicode/platform.h"
11020+
11021+cat >confcache <<\_ACEOF
11022 # This file is a shell script that caches the results of configure
11023 # tests run on this system so they can be shared between configure
11024-# scripts and configure runs.  It is not useful on other systems.
11025-# If it contains results you don't want to keep, you may remove or edit it.
11026+# scripts and configure runs, see configure's option --config-cache.
11027+# It is not useful on other systems.  If it contains results you don't
11028+# want to keep, you may remove or edit it.
11029 #
11030-# By default, configure uses ./config.cache as the cache file,
11031-# creating it if it does not exist already.  You can give configure
11032-# the --cache-file=FILE option to use a different cache file; that is
11033-# what configure does when it calls configure scripts in
11034-# subdirectories, so they share the cache.
11035-# Giving --cache-file=/dev/null disables caching, for debugging configure.
11036-# config.status only pays attention to the cache file if you give it the
11037-# --recheck option to rerun configure.
11038+# config.status only pays attention to the cache file if you give it
11039+# the --recheck option to rerun configure.
11040 #
11041-EOF
11042+# `ac_cv_env_foo' variables (set or unset) will be overridden when
11043+# loading this file, other *unset* `ac_cv_foo' will be assigned the
11044+# following values.
11045+
11046+_ACEOF
11047+
11048 # The following way of writing the cache mishandles newlines in values,
11049 # but we know of no workaround that is simple, portable, and efficient.
11050-# So, don't put newlines in cache variables' values.
11051+# So, we kill variables containing newlines.
11052 # Ultrix sh set writes to stderr and can't be redirected directly,
11053 # and sets the high bit in the cache file unless we assign to the vars.
11054-(set) 2>&1 |
11055-  case `(ac_space=' '; set | grep ac_space) 2>&1` in
11056-  *ac_space=\ *)
11057-    # `set' does not quote correctly, so add quotes (double-quote substitution
11058-    # turns \\\\ into \\, and sed turns \\ into \).
11059-    sed -n \
11060-      -e "s/'/'\\\\''/g" \
11061-      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11062-    ;;
11063-  *)
11064-    # `set' quotes correctly as required by POSIX, so do not add quotes.
11065-    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11066-    ;;
11067-  esac >> confcache
11068-if cmp -s $cache_file confcache; then
11069-  :
11070-else
11071-  if test -w $cache_file; then
11072-    echo "updating cache $cache_file"
11073-    cat confcache > $cache_file
11074+(
11075+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11076+    eval ac_val=\$$ac_var
11077+    case $ac_val in #(
11078+    *${as_nl}*)
11079+      case $ac_var in #(
11080+      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11081+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11082+      esac
11083+      case $ac_var in #(
11084+      _ | IFS | as_nl) ;; #(
11085+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11086+      *) $as_unset $ac_var ;;
11087+      esac ;;
11088+    esac
11089+  done
11090+
11091+  (set) 2>&1 |
11092+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11093+    *${as_nl}ac_space=\ *)
11094+      # `set' does not quote correctly, so add quotes (double-quote
11095+      # substitution turns \\\\ into \\, and sed turns \\ into \).
11096+      sed -n \
11097+	"s/'/'\\\\''/g;
11098+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11099+      ;; #(
11100+    *)
11101+      # `set' quotes correctly as required by POSIX, so do not add quotes.
11102+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11103+      ;;
11104+    esac |
11105+    sort
11106+) |
11107+  sed '
11108+     /^ac_cv_env_/b end
11109+     t clear
11110+     :clear
11111+     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11112+     t end
11113+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11114+     :end' >>confcache
11115+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11116+  if test -w "$cache_file"; then
11117+    test "x$cache_file" != "x/dev/null" &&
11118+      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11119+$as_echo "$as_me: updating cache $cache_file" >&6;}
11120+    cat confcache >$cache_file
11121   else
11122-    echo "not updating unwritable cache $cache_file"
11123+    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11124+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11125   fi
11126 fi
11127 rm -f confcache
11128
11129-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11130-
11131 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11132 # Let make expand exec_prefix.
11133 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11134
11135-# Any assignment to VPATH causes Sun make to only execute
11136-# the first set of double-colon rules, so remove it if not needed.
11137-# If there is a colon in the path, we need to keep it.
11138-if test "x$srcdir" = x.; then
11139-  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
11140-fi
11141+DEFS=-DHAVE_CONFIG_H
11142
11143-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11144+ac_libobjs=
11145+ac_ltlibobjs=
11146+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11147+  # 1. Remove the extension, and $U if already installed.
11148+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11149+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11150+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11151+  #    will be set to the directory where LIBOBJS objects are built.
11152+  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11153+  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11154+done
11155+LIBOBJS=$ac_libobjs
11156
11157-DEFS=-DHAVE_CONFIG_H
11158+LTLIBOBJS=$ac_ltlibobjs
11159
11160-# Without the "./", some shells look in PATH for config.status.
11161-: ${CONFIG_STATUS=./config.status}
11162
11163-echo creating $CONFIG_STATUS
11164-rm -f $CONFIG_STATUS
11165-cat > $CONFIG_STATUS <<EOF
11166-#! /bin/sh
11167-# Generated automatically by configure.
11168+
11169+
11170+: ${CONFIG_STATUS=./config.status}
11171+ac_write_fail=0
11172+ac_clean_files_save=$ac_clean_files
11173+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11174+{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11175+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11176+cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11177+#! $SHELL
11178+# Generated by $as_me.
11179 # Run this file to recreate the current configuration.
11180-# This directory was configured as follows,
11181-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11182-#
11183-# $0 $ac_configure_args
11184-#
11185 # Compiler output produced by configure, useful for debugging
11186-# configure, is in ./config.log if it exists.
11187+# configure, is in config.log if it exists.
11188
11189-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11190-for ac_option
11191+debug=false
11192+ac_cs_recheck=false
11193+ac_cs_silent=false
11194+SHELL=\${CONFIG_SHELL-$SHELL}
11195+_ACEOF
11196+
11197+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11198+## --------------------- ##
11199+## M4sh Initialization.  ##
11200+## --------------------- ##
11201+
11202+# Be more Bourne compatible
11203+DUALCASE=1; export DUALCASE # for MKS sh
11204+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11205+  emulate sh
11206+  NULLCMD=:
11207+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11208+  # is contrary to our usage.  Disable this feature.
11209+  alias -g '${1+"$@"}'='"$@"'
11210+  setopt NO_GLOB_SUBST
11211+else
11212+  case `(set -o) 2>/dev/null` in
11213+  *posix*) set -o posix ;;
11214+esac
11215+
11216+fi
11217+
11218+
11219+
11220+
11221+# PATH needs CR
11222+# Avoid depending upon Character Ranges.
11223+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11224+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11225+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11226+as_cr_digits='0123456789'
11227+as_cr_alnum=$as_cr_Letters$as_cr_digits
11228+
11229+as_nl='
11230+'
11231+export as_nl
11232+# Printing a long string crashes Solaris 7 /usr/bin/printf.
11233+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11234+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11235+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11236+if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11237+  as_echo='printf %s\n'
11238+  as_echo_n='printf %s'
11239+else
11240+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11241+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11242+    as_echo_n='/usr/ucb/echo -n'
11243+  else
11244+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11245+    as_echo_n_body='eval
11246+      arg=$1;
11247+      case $arg in
11248+      *"$as_nl"*)
11249+	expr "X$arg" : "X\\(.*\\)$as_nl";
11250+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11251+      esac;
11252+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11253+    '
11254+    export as_echo_n_body
11255+    as_echo_n='sh -c $as_echo_n_body as_echo'
11256+  fi
11257+  export as_echo_body
11258+  as_echo='sh -c $as_echo_body as_echo'
11259+fi
11260+
11261+# The user is always right.
11262+if test "${PATH_SEPARATOR+set}" != set; then
11263+  PATH_SEPARATOR=:
11264+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11265+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11266+      PATH_SEPARATOR=';'
11267+  }
11268+fi
11269+
11270+# Support unset when possible.
11271+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11272+  as_unset=unset
11273+else
11274+  as_unset=false
11275+fi
11276+
11277+
11278+# IFS
11279+# We need space, tab and new line, in precisely that order.  Quoting is
11280+# there to prevent editors from complaining about space-tab.
11281+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11282+# splitting by setting IFS to empty value.)
11283+IFS=" ""	$as_nl"
11284+
11285+# Find who we are.  Look in the path if we contain no directory separator.
11286+case $0 in
11287+  *[\\/]* ) as_myself=$0 ;;
11288+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11289+for as_dir in $PATH
11290 do
11291-  case "\$ac_option" in
11292-  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11293-    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11294-    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11295-  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11296-    echo "$CONFIG_STATUS generated by autoconf version 2.13"
11297-    exit 0 ;;
11298-  -help | --help | --hel | --he | --h)
11299-    echo "\$ac_cs_usage"; exit 0 ;;
11300-  *) echo "\$ac_cs_usage"; exit 1 ;;
11301-  esac
11302+  IFS=$as_save_IFS
11303+  test -z "$as_dir" && as_dir=.
11304+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11305 done
11306+IFS=$as_save_IFS
11307
11308-ac_given_srcdir=$srcdir
11309-ac_given_INSTALL="$INSTALL"
11310+     ;;
11311+esac
11312+# We did not find ourselves, most probably we were run as `sh COMMAND'
11313+# in which case we are not to be found in the path.
11314+if test "x$as_myself" = x; then
11315+  as_myself=$0
11316+fi
11317+if test ! -f "$as_myself"; then
11318+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11319+  { (exit 1); exit 1; }
11320+fi
11321
11322-trap 'rm -fr `echo "icudefs.mk \
11323-		Makefile \
11324-		data/Makefile data/icupkg.inc \
11325-		common/Makefile config/Makefile.inc i18n/Makefile \
11326-		layout/Makefile \
11327-		layoutex/Makefile \
11328-		io/Makefile \
11329-		extra/Makefile \
11330-		extra/uconv/Makefile extra/scrptrun/Makefile
11331-		stubdata/Makefile \
11332-		tools/Makefile tools/ctestfw/Makefile tools/makeconv/Makefile \
11333-		tools/genrb/Makefile \
11334-		tools/genuca/Makefile \
11335-		tools/genccode/Makefile \
11336-		tools/gencmn/Makefile \
11337-		tools/gencnval/Makefile \
11338-		tools/gennames/Makefile \
11339-		tools/gentest/Makefile \
11340-		tools/gennorm/Makefile \
11341-		tools/genprops/Makefile \
11342-		tools/genpname/Makefile \
11343-		tools/genbrk/Makefile \
11344-		tools/gensprep/Makefile \
11345-		tools/icuswap/Makefile \
11346-		tools/pkgdata/Makefile \
11347-		tools/toolutil/Makefile \
11348-		tools/dumpce/Makefile \
11349-		test/Makefile test/testdata/Makefile \
11350-		test/hdrtst/Makefile \
11351-		test/intltest/Makefile \
11352-		test/cintltst/Makefile \
11353-		test/iotest/Makefile \
11354-		test/thaitest/Makefile \
11355-		test/testmap/Makefile \
11356-		test/letest/Makefile \
11357-		test/threadtest/Makefile \
11358-		samples/Makefile samples/date/Makefile \
11359-		samples/cal/Makefile samples/layout/Makefile \
11360-		common/unicode/platform.h common/icucfg.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11361-EOF
11362-cat >> $CONFIG_STATUS <<EOF
11363-
11364-# Protect against being on the right side of a sed subst in config.status.
11365-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11366- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11367-$ac_vpsub
11368-$extrasub
11369-s%@SHELL@%$SHELL%g
11370-s%@CFLAGS@%$CFLAGS%g
11371-s%@CPPFLAGS@%$CPPFLAGS%g
11372-s%@CXXFLAGS@%$CXXFLAGS%g
11373-s%@FFLAGS@%$FFLAGS%g
11374-s%@DEFS@%$DEFS%g
11375-s%@LDFLAGS@%$LDFLAGS%g
11376-s%@LIBS@%$LIBS%g
11377-s%@exec_prefix@%$exec_prefix%g
11378-s%@prefix@%$prefix%g
11379-s%@program_transform_name@%$program_transform_name%g
11380-s%@bindir@%$bindir%g
11381-s%@sbindir@%$sbindir%g
11382-s%@libexecdir@%$libexecdir%g
11383-s%@datadir@%$datadir%g
11384-s%@sysconfdir@%$sysconfdir%g
11385-s%@sharedstatedir@%$sharedstatedir%g
11386-s%@localstatedir@%$localstatedir%g
11387-s%@libdir@%$libdir%g
11388-s%@includedir@%$includedir%g
11389-s%@oldincludedir@%$oldincludedir%g
11390-s%@infodir@%$infodir%g
11391-s%@mandir@%$mandir%g
11392-s%@PACKAGE@%$PACKAGE%g
11393-s%@VERSION@%$VERSION%g
11394-s%@LIB_VERSION@%$LIB_VERSION%g
11395-s%@LIB_VERSION_MAJOR@%$LIB_VERSION_MAJOR%g
11396-s%@UNICODE_VERSION@%$UNICODE_VERSION%g
11397-s%@CC@%$CC%g
11398-s%@CXX@%$CXX%g
11399-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11400-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11401-s%@INSTALL_DATA@%$INSTALL_DATA%g
11402-s%@STRIP@%$STRIP%g
11403-s%@U_MAKE@%$U_MAKE%g
11404-s%@DOXYGEN@%$DOXYGEN%g
11405-s%@host@%$host%g
11406-s%@host_alias@%$host_alias%g
11407-s%@host_cpu@%$host_cpu%g
11408-s%@host_vendor@%$host_vendor%g
11409-s%@host_os@%$host_os%g
11410-s%@EXEEXT@%$EXEEXT%g
11411-s%@ARFLAGS@%$ARFLAGS%g
11412-s%@COMPILE_LINK_ENVVAR@%$COMPILE_LINK_ENVVAR%g
11413-s%@LIB_M@%$LIB_M%g
11414-s%@ENABLE_SHARED@%$ENABLE_SHARED%g
11415-s%@ENABLE_STATIC@%$ENABLE_STATIC%g
11416-s%@ENABLE_DEBUG@%$ENABLE_DEBUG%g
11417-s%@ENABLE_RELEASE@%$ENABLE_RELEASE%g
11418-s%@RANLIB@%$RANLIB%g
11419-s%@AR@%$AR%g
11420-s%@U_DISABLE_RENAMING@%$U_DISABLE_RENAMING%g
11421-s%@U_ENABLE_TRACING@%$U_ENABLE_TRACING%g
11422-s%@ENABLE_RPATH@%$ENABLE_RPATH%g
11423-s%@U_INLINE@%$U_INLINE%g
11424-s%@THREADS_TRUE@%$THREADS_TRUE%g
11425-s%@ICU_USE_THREADS@%$ICU_USE_THREADS%g
11426-s%@HAVE_MMAP@%$HAVE_MMAP%g
11427-s%@GENCCODE_ASSEMBLY@%$GENCCODE_ASSEMBLY%g
11428-s%@CPP@%$CPP%g
11429-s%@U_HAVE_INTTYPES_H@%$U_HAVE_INTTYPES_H%g
11430-s%@CXXCPP@%$CXXCPP%g
11431-s%@U_IOSTREAM_SOURCE@%$U_IOSTREAM_SOURCE%g
11432-s%@U_IS_BIG_ENDIAN@%$U_IS_BIG_ENDIAN%g
11433-s%@U_HAVE_NL_LANGINFO@%$U_HAVE_NL_LANGINFO%g
11434-s%@U_HAVE_NL_LANGINFO_CODESET@%$U_HAVE_NL_LANGINFO_CODESET%g
11435-s%@U_NL_LANGINFO_CODESET@%$U_NL_LANGINFO_CODESET%g
11436-s%@U_HAVE_NAMESPACE@%$U_HAVE_NAMESPACE%g
11437-s%@U_OVERRIDE_CXX_ALLOCATION@%$U_OVERRIDE_CXX_ALLOCATION%g
11438-s%@U_HAVE_PLACEMENT_NEW@%$U_HAVE_PLACEMENT_NEW%g
11439-s%@U_HAVE_POPEN@%$U_HAVE_POPEN%g
11440-s%@U_TZSET@%$U_TZSET%g
11441-s%@U_TZNAME@%$U_TZNAME%g
11442-s%@U_HAVE_TIMEZONE@%$U_HAVE_TIMEZONE%g
11443-s%@U_TIMEZONE@%$U_TIMEZONE%g
11444-s%@HAVE_INT8_T@%$HAVE_INT8_T%g
11445-s%@HAVE_UINT8_T@%$HAVE_UINT8_T%g
11446-s%@HAVE_INT16_T@%$HAVE_INT16_T%g
11447-s%@HAVE_UINT16_T@%$HAVE_UINT16_T%g
11448-s%@HAVE_INT32_T@%$HAVE_INT32_T%g
11449-s%@HAVE_UINT32_T@%$HAVE_UINT32_T%g
11450-s%@HAVE_INT64_T@%$HAVE_INT64_T%g
11451-s%@HAVE_UINT64_T@%$HAVE_UINT64_T%g
11452-s%@U_HAVE_WCHAR_H@%$U_HAVE_WCHAR_H%g
11453-s%@U_HAVE_WCSCPY@%$U_HAVE_WCSCPY%g
11454-s%@U_SIZEOF_WCHAR_T@%$U_SIZEOF_WCHAR_T%g
11455-s%@EXTRAS_TRUE@%$EXTRAS_TRUE%g
11456-s%@ICUIO_TRUE@%$ICUIO_TRUE%g
11457-s%@LAYOUT_TRUE@%$LAYOUT_TRUE%g
11458-s%@thesysconfdir@%$thesysconfdir%g
11459-s%@thedatadir@%$thedatadir%g
11460-s%@thelibdir@%$thelibdir%g
11461-s%@pkgicudatadir@%$pkgicudatadir%g
11462-s%@thepkgicudatadir@%$thepkgicudatadir%g
11463-s%@DATA_PACKAGING_CPPFLAGS@%$DATA_PACKAGING_CPPFLAGS%g
11464-s%@DATA_PACKAGING_MODE@%$DATA_PACKAGING_MODE%g
11465-s%@ICULIBSUFFIX@%$ICULIBSUFFIX%g
11466-s%@U_HAVE_LIB_SUFFIX@%$U_HAVE_LIB_SUFFIX%g
11467-s%@ICULIBSUFFIXCNAME@%$ICULIBSUFFIXCNAME%g
11468-s%@TESTS_TRUE@%$TESTS_TRUE%g
11469-s%@SAMPLES_TRUE@%$SAMPLES_TRUE%g
11470-s%@ICUDATA_CHAR@%$ICUDATA_CHAR%g
11471-s%@platform@%$platform%g
11472-s%@platform_make_fragment_name@%$platform_make_fragment_name%g
11473-s%@platform_make_fragment@%$platform_make_fragment%g
11474-s%@ld_rpath_suf@%$ld_rpath_suf%g
11475-s%@AIX_SHLIB@%$AIX_SHLIB%g
11476-
11477-CEOF
11478-EOF
11479-
11480-cat >> $CONFIG_STATUS <<\EOF
11481-
11482-# Split the substitutions into bite-sized pieces for seds with
11483-# small command number limits, like on Digital OSF/1 and HP-UX.
11484-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
11485-ac_file=1 # Number of current file.
11486-ac_beg=1 # First line for current file.
11487-ac_end=$ac_max_sed_cmds # Line after last line for current file.
11488-ac_more_lines=:
11489-ac_sed_cmds=""
11490-while $ac_more_lines; do
11491-  if test $ac_beg -gt 1; then
11492-    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
11493+# Work around bugs in pre-3.0 UWIN ksh.
11494+for as_var in ENV MAIL MAILPATH
11495+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11496+done
11497+PS1='$ '
11498+PS2='> '
11499+PS4='+ '
11500+
11501+# NLS nuisances.
11502+LC_ALL=C
11503+export LC_ALL
11504+LANGUAGE=C
11505+export LANGUAGE
11506+
11507+# Required to use basename.
11508+if expr a : '\(a\)' >/dev/null 2>&1 &&
11509+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11510+  as_expr=expr
11511+else
11512+  as_expr=false
11513+fi
11514+
11515+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11516+  as_basename=basename
11517+else
11518+  as_basename=false
11519+fi
11520+
11521+
11522+# Name of the executable.
11523+as_me=`$as_basename -- "$0" ||
11524+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11525+	 X"$0" : 'X\(//\)$' \| \
11526+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11527+$as_echo X/"$0" |
11528+    sed '/^.*\/\([^/][^/]*\)\/*$/{
11529+	    s//\1/
11530+	    q
11531+	  }
11532+	  /^X\/\(\/\/\)$/{
11533+	    s//\1/
11534+	    q
11535+	  }
11536+	  /^X\/\(\/\).*/{
11537+	    s//\1/
11538+	    q
11539+	  }
11540+	  s/.*/./; q'`
11541+
11542+# CDPATH.
11543+$as_unset CDPATH
11544+
11545+
11546+
11547+  as_lineno_1=$LINENO
11548+  as_lineno_2=$LINENO
11549+  test "x$as_lineno_1" != "x$as_lineno_2" &&
11550+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11551+
11552+  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11553+  # uniformly replaced by the line number.  The first 'sed' inserts a
11554+  # line-number line after each line using $LINENO; the second 'sed'
11555+  # does the real work.  The second script uses 'N' to pair each
11556+  # line-number line with the line containing $LINENO, and appends
11557+  # trailing '-' during substitution so that $LINENO is not a special
11558+  # case at line end.
11559+  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11560+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
11561+  # E. McMahon (1931-1989) for sed's syntax.  :-)
11562+  sed -n '
11563+    p
11564+    /[$]LINENO/=
11565+  ' <$as_myself |
11566+    sed '
11567+      s/[$]LINENO.*/&-/
11568+      t lineno
11569+      b
11570+      :lineno
11571+      N
11572+      :loop
11573+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11574+      t loop
11575+      s/-\n.*//
11576+    ' >$as_me.lineno &&
11577+  chmod +x "$as_me.lineno" ||
11578+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11579+   { (exit 1); exit 1; }; }
11580+
11581+  # Don't try to exec as it changes $[0], causing all sort of problems
11582+  # (the dirname of $[0] is not the place where we might find the
11583+  # original and so on.  Autoconf is especially sensitive to this).
11584+  . "./$as_me.lineno"
11585+  # Exit status is that of the last command.
11586+  exit
11587+}
11588+
11589+
11590+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11591+  as_dirname=dirname
11592+else
11593+  as_dirname=false
11594+fi
11595+
11596+ECHO_C= ECHO_N= ECHO_T=
11597+case `echo -n x` in
11598+-n*)
11599+  case `echo 'x\c'` in
11600+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11601+  *)   ECHO_C='\c';;
11602+  esac;;
11603+*)
11604+  ECHO_N='-n';;
11605+esac
11606+if expr a : '\(a\)' >/dev/null 2>&1 &&
11607+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11608+  as_expr=expr
11609+else
11610+  as_expr=false
11611+fi
11612+
11613+rm -f conf$$ conf$$.exe conf$$.file
11614+if test -d conf$$.dir; then
11615+  rm -f conf$$.dir/conf$$.file
11616+else
11617+  rm -f conf$$.dir
11618+  mkdir conf$$.dir 2>/dev/null
11619+fi
11620+if (echo >conf$$.file) 2>/dev/null; then
11621+  if ln -s conf$$.file conf$$ 2>/dev/null; then
11622+    as_ln_s='ln -s'
11623+    # ... but there are two gotchas:
11624+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11625+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11626+    # In both cases, we have to default to `cp -p'.
11627+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11628+      as_ln_s='cp -p'
11629+  elif ln conf$$.file conf$$ 2>/dev/null; then
11630+    as_ln_s=ln
11631   else
11632-    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
11633+    as_ln_s='cp -p'
11634   fi
11635-  if test ! -s conftest.s$ac_file; then
11636-    ac_more_lines=false
11637-    rm -f conftest.s$ac_file
11638-  else
11639-    if test -z "$ac_sed_cmds"; then
11640-      ac_sed_cmds="sed -f conftest.s$ac_file"
11641-    else
11642-      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
11643-    fi
11644-    ac_file=`expr $ac_file + 1`
11645-    ac_beg=$ac_end
11646-    ac_end=`expr $ac_end + $ac_max_sed_cmds`
11647-  fi
11648-done
11649-if test -z "$ac_sed_cmds"; then
11650-  ac_sed_cmds=cat
11651-fi
11652-EOF
11653-
11654-cat >> $CONFIG_STATUS <<EOF
11655-
11656-CONFIG_FILES=\${CONFIG_FILES-"icudefs.mk \
11657-		Makefile \
11658-		data/Makefile data/icupkg.inc \
11659-		common/Makefile config/Makefile.inc i18n/Makefile \
11660-		layout/Makefile \
11661-		layoutex/Makefile \
11662-		io/Makefile \
11663-		extra/Makefile \
11664-		extra/uconv/Makefile extra/scrptrun/Makefile
11665-		stubdata/Makefile \
11666-		tools/Makefile tools/ctestfw/Makefile tools/makeconv/Makefile \
11667-		tools/genrb/Makefile \
11668-		tools/genuca/Makefile \
11669-		tools/genccode/Makefile \
11670-		tools/gencmn/Makefile \
11671-		tools/gencnval/Makefile \
11672-		tools/gennames/Makefile \
11673-		tools/gentest/Makefile \
11674-		tools/gennorm/Makefile \
11675-		tools/genprops/Makefile \
11676-		tools/genpname/Makefile \
11677-		tools/genbrk/Makefile \
11678-		tools/gensprep/Makefile \
11679-		tools/icuswap/Makefile \
11680-		tools/pkgdata/Makefile \
11681-		tools/toolutil/Makefile \
11682-		tools/dumpce/Makefile \
11683-		test/Makefile test/testdata/Makefile \
11684-		test/hdrtst/Makefile \
11685-		test/intltest/Makefile \
11686-		test/cintltst/Makefile \
11687-		test/iotest/Makefile \
11688-		test/thaitest/Makefile \
11689-		test/testmap/Makefile \
11690-		test/letest/Makefile \
11691-		test/threadtest/Makefile \
11692-		samples/Makefile samples/date/Makefile \
11693-		samples/cal/Makefile samples/layout/Makefile \
11694-		common/unicode/platform.h"}
11695-EOF
11696-cat >> $CONFIG_STATUS <<\EOF
11697-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
11698-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11699-  case "$ac_file" in
11700-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
11701-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11702-  *) ac_file_in="${ac_file}.in" ;;
11703-  esac
11704+else
11705+  as_ln_s='cp -p'
11706+fi
11707+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11708+rmdir conf$$.dir 2>/dev/null
11709
11710-  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
11711+if mkdir -p . 2>/dev/null; then
11712+  as_mkdir_p=:
11713+else
11714+  test -d ./-p && rmdir ./-p
11715+  as_mkdir_p=false
11716+fi
11717
11718-  # Remove last slash and all that follows it.  Not all systems have dirname.
11719-  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
11720-  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11721-    # The file is in a subdirectory.
11722-    test ! -d "$ac_dir" && mkdir "$ac_dir"
11723-    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
11724-    # A "../" for each directory in $ac_dir_suffix.
11725-    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
11726+if test -x / >/dev/null 2>&1; then
11727+  as_test_x='test -x'
11728+else
11729+  if ls -dL / >/dev/null 2>&1; then
11730+    as_ls_L_option=L
11731   else
11732-    ac_dir_suffix= ac_dots=
11733+    as_ls_L_option=
11734   fi
11735+  as_test_x='
11736+    eval sh -c '\''
11737+      if test -d "$1"; then
11738+	test -d "$1/.";
11739+      else
11740+	case $1 in
11741+	-*)set "./$1";;
11742+	esac;
11743+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11744+	???[sx]*):;;*)false;;esac;fi
11745+    '\'' sh
11746+  '
11747+fi
11748+as_executable_p=$as_test_x
11749+
11750+# Sed expression to map a string onto a valid CPP name.
11751+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11752+
11753+# Sed expression to map a string onto a valid variable name.
11754+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11755+
11756+
11757+exec 6>&1
11758+
11759+# Save the log message, to keep $[0] and so on meaningful, and to
11760+# report actual input values of CONFIG_FILES etc. instead of their
11761+# values after options handling.
11762+ac_log="
11763+This file was extended by $as_me, which was
11764+generated by GNU Autoconf 2.63.  Invocation command line was
11765+
11766+  CONFIG_FILES    = $CONFIG_FILES
11767+  CONFIG_HEADERS  = $CONFIG_HEADERS
11768+  CONFIG_LINKS    = $CONFIG_LINKS
11769+  CONFIG_COMMANDS = $CONFIG_COMMANDS
11770+  $ $0 $@
11771
11772-  case "$ac_given_srcdir" in
11773-  .)  srcdir=.
11774-      if test -z "$ac_dots"; then top_srcdir=.
11775-      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
11776-  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
11777-  *) # Relative path.
11778-    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
11779-    top_srcdir="$ac_dots$ac_given_srcdir" ;;
11780-  esac
11781+on `(hostname || uname -n) 2>/dev/null | sed 1q`
11782+"
11783+
11784+_ACEOF
11785+
11786+case $ac_config_files in *"
11787+"*) set x $ac_config_files; shift; ac_config_files=$*;;
11788+esac
11789+
11790+case $ac_config_headers in *"
11791+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11792+esac
11793
11794-  case "$ac_given_INSTALL" in
11795-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
11796-  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
11797-  esac
11798
11799-  echo creating "$ac_file"
11800-  rm -f "$ac_file"
11801-  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
11802-  case "$ac_file" in
11803-  *Makefile*) ac_comsub="1i\\
11804-# $configure_input" ;;
11805-  *) ac_comsub= ;;
11806+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11807+# Files that config.status was made for.
11808+config_files="$ac_config_files"
11809+config_headers="$ac_config_headers"
11810+
11811+_ACEOF
11812+
11813+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11814+ac_cs_usage="\
11815+\`$as_me' instantiates files from templates according to the
11816+current configuration.
11817+
11818+Usage: $0 [OPTION]... [FILE]...
11819+
11820+  -h, --help       print this help, then exit
11821+  -V, --version    print version number and configuration settings, then exit
11822+  -q, --quiet, --silent
11823+                   do not print progress messages
11824+  -d, --debug      don't remove temporary files
11825+      --recheck    update $as_me by reconfiguring in the same conditions
11826+      --file=FILE[:TEMPLATE]
11827+                   instantiate the configuration file FILE
11828+      --header=FILE[:TEMPLATE]
11829+                   instantiate the configuration header FILE
11830+
11831+Configuration files:
11832+$config_files
11833+
11834+Configuration headers:
11835+$config_headers
11836+
11837+Report bugs to <bug-autoconf@gnu.org>."
11838+
11839+_ACEOF
11840+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11841+ac_cs_version="\\
11842+config.status
11843+configured by $0, generated by GNU Autoconf 2.63,
11844+  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11845+
11846+Copyright (C) 2008 Free Software Foundation, Inc.
11847+This config.status script is free software; the Free Software Foundation
11848+gives unlimited permission to copy, distribute and modify it."
11849+
11850+ac_pwd='$ac_pwd'
11851+srcdir='$srcdir'
11852+INSTALL='$INSTALL'
11853+test -n "\$AWK" || AWK=awk
11854+_ACEOF
11855+
11856+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11857+# The default lists apply if the user does not specify any file.
11858+ac_need_defaults=:
11859+while test $# != 0
11860+do
11861+  case $1 in
11862+  --*=*)
11863+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11864+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11865+    ac_shift=:
11866+    ;;
11867+  *)
11868+    ac_option=$1
11869+    ac_optarg=$2
11870+    ac_shift=shift
11871+    ;;
11872   esac
11873
11874-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11875-  sed -e "$ac_comsub
11876-s%@configure_input@%$configure_input%g
11877-s%@srcdir@%$srcdir%g
11878-s%@top_srcdir@%$top_srcdir%g
11879-s%@INSTALL@%$INSTALL%g
11880-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
11881-fi; done
11882-rm -f conftest.s*
11883+  case $ac_option in
11884+  # Handling of the options.
11885+  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11886+    ac_cs_recheck=: ;;
11887+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11888+    $as_echo "$ac_cs_version"; exit ;;
11889+  --debug | --debu | --deb | --de | --d | -d )
11890+    debug=: ;;
11891+  --file | --fil | --fi | --f )
11892+    $ac_shift
11893+    case $ac_optarg in
11894+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11895+    esac
11896+    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
11897+    ac_need_defaults=false;;
11898+  --header | --heade | --head | --hea )
11899+    $ac_shift
11900+    case $ac_optarg in
11901+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11902+    esac
11903+    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
11904+    ac_need_defaults=false;;
11905+  --he | --h)
11906+    # Conflict between --help and --header
11907+    { $as_echo "$as_me: error: ambiguous option: $1
11908+Try \`$0 --help' for more information." >&2
11909+   { (exit 1); exit 1; }; };;
11910+  --help | --hel | -h )
11911+    $as_echo "$ac_cs_usage"; exit ;;
11912+  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11913+  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11914+    ac_cs_silent=: ;;
11915+
11916+  # This is an error.
11917+  -*) { $as_echo "$as_me: error: unrecognized option: $1
11918+Try \`$0 --help' for more information." >&2
11919+   { (exit 1); exit 1; }; } ;;
11920+
11921+  *) ac_config_targets="$ac_config_targets $1"
11922+     ac_need_defaults=false ;;
11923
11924-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11925-# NAME is the cpp macro being defined and VALUE is the value it is being given.
11926-#
11927-# ac_d sets the value in "#define NAME VALUE" lines.
11928-ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
11929-ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
11930-ac_dC='\3'
11931-ac_dD='%g'
11932-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
11933-ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
11934-ac_uB='\([ 	]\)%\1#\2define\3'
11935-ac_uC=' '
11936-ac_uD='\4%g'
11937-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11938-ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
11939-ac_eB='$%\1#\2define\3'
11940-ac_eC=' '
11941-ac_eD='%g'
11942-
11943-if test "${CONFIG_HEADERS+set}" != set; then
11944-EOF
11945-cat >> $CONFIG_STATUS <<EOF
11946-  CONFIG_HEADERS="common/icucfg.h"
11947-EOF
11948-cat >> $CONFIG_STATUS <<\EOF
11949-fi
11950-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
11951-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11952-  case "$ac_file" in
11953-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
11954-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11955-  *) ac_file_in="${ac_file}.in" ;;
11956   esac
11957+  shift
11958+done
11959+
11960+ac_configure_extra_args=
11961
11962-  echo creating $ac_file
11963+if $ac_cs_silent; then
11964+  exec 6>/dev/null
11965+  ac_configure_extra_args="$ac_configure_extra_args --silent"
11966+fi
11967+
11968+_ACEOF
11969+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11970+if \$ac_cs_recheck; then
11971+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11972+  shift
11973+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11974+  CONFIG_SHELL='$SHELL'
11975+  export CONFIG_SHELL
11976+  exec "\$@"
11977+fi
11978
11979-  rm -f conftest.frag conftest.in conftest.out
11980-  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11981-  cat $ac_file_inputs > conftest.in
11982-
11983-EOF
11984-
11985-# Transform confdefs.h into a sed script conftest.vals that substitutes
11986-# the proper values into config.h.in to produce config.h.  And first:
11987-# Protect against being on the right side of a sed subst in config.status.
11988-# Protect against being in an unquoted here document in config.status.
11989-rm -f conftest.vals
11990-cat > conftest.hdr <<\EOF
11991-s/[\\&%]/\\&/g
11992-s%[\\$`]%\\&%g
11993-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
11994-s%ac_d%ac_u%gp
11995-s%ac_u%ac_e%gp
11996-EOF
11997-sed -n -f conftest.hdr confdefs.h > conftest.vals
11998-rm -f conftest.hdr
11999-
12000-# This sed command replaces #undef with comments.  This is necessary, for
12001-# example, in the case of _POSIX_SOURCE, which is predefined and required
12002-# on some systems where configure will not decide to define it.
12003-cat >> conftest.vals <<\EOF
12004-s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12005-EOF
12006+_ACEOF
12007+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12008+exec 5>>config.log
12009+{
12010+  echo
12011+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12012+## Running $as_me. ##
12013+_ASBOX
12014+  $as_echo "$ac_log"
12015+} >&5
12016+
12017+_ACEOF
12018+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12019+_ACEOF
12020
12021-# Break up conftest.vals because some shells have a limit on
12022-# the size of here documents, and old seds have small limits too.
12023+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12024
12025-rm -f conftest.tail
12026-while :
12027+# Handling of arguments.
12028+for ac_config_target in $ac_config_targets
12029 do
12030-  ac_lines=`grep -c . conftest.vals`
12031-  # grep -c gives empty output for an empty file on some AIX systems.
12032-  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12033-  # Write a limited-size here document to conftest.frag.
12034-  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12035-  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12036-  echo 'CEOF
12037-  sed -f conftest.frag conftest.in > conftest.out
12038-  rm -f conftest.in
12039-  mv conftest.out conftest.in
12040-' >> $CONFIG_STATUS
12041-  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12042-  rm -f conftest.vals
12043-  mv conftest.tail conftest.vals
12044-done
12045-rm -f conftest.vals
12046-
12047-cat >> $CONFIG_STATUS <<\EOF
12048-  rm -f conftest.frag conftest.h
12049-  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
12050-  cat conftest.in >> conftest.h
12051-  rm -f conftest.in
12052-  if cmp -s $ac_file conftest.h 2>/dev/null; then
12053-    echo "$ac_file is unchanged"
12054-    rm -f conftest.h
12055+  case $ac_config_target in
12056+    "common/icucfg.h") CONFIG_HEADERS="$CONFIG_HEADERS common/icucfg.h" ;;
12057+    "icudefs.mk") CONFIG_FILES="$CONFIG_FILES icudefs.mk" ;;
12058+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12059+    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
12060+    "data/icupkg.inc") CONFIG_FILES="$CONFIG_FILES data/icupkg.inc" ;;
12061+    "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
12062+    "config/Makefile.inc") CONFIG_FILES="$CONFIG_FILES config/Makefile.inc" ;;
12063+    "i18n/Makefile") CONFIG_FILES="$CONFIG_FILES i18n/Makefile" ;;
12064+    "layout/Makefile") CONFIG_FILES="$CONFIG_FILES layout/Makefile" ;;
12065+    "layoutex/Makefile") CONFIG_FILES="$CONFIG_FILES layoutex/Makefile" ;;
12066+    "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
12067+    "extra/Makefile") CONFIG_FILES="$CONFIG_FILES extra/Makefile" ;;
12068+    "extra/uconv/Makefile") CONFIG_FILES="$CONFIG_FILES extra/uconv/Makefile" ;;
12069+    "extra/scrptrun/Makefile") CONFIG_FILES="$CONFIG_FILES extra/scrptrun/Makefile" ;;
12070+    "stubdata/Makefile") CONFIG_FILES="$CONFIG_FILES stubdata/Makefile" ;;
12071+    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
12072+    "tools/ctestfw/Makefile") CONFIG_FILES="$CONFIG_FILES tools/ctestfw/Makefile" ;;
12073+    "tools/makeconv/Makefile") CONFIG_FILES="$CONFIG_FILES tools/makeconv/Makefile" ;;
12074+    "tools/genrb/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genrb/Makefile" ;;
12075+    "tools/genuca/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genuca/Makefile" ;;
12076+    "tools/genccode/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genccode/Makefile" ;;
12077+    "tools/gencmn/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencmn/Makefile" ;;
12078+    "tools/gencnval/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gencnval/Makefile" ;;
12079+    "tools/gennames/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennames/Makefile" ;;
12080+    "tools/gentest/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gentest/Makefile" ;;
12081+    "tools/gennorm/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gennorm/Makefile" ;;
12082+    "tools/genprops/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genprops/Makefile" ;;
12083+    "tools/genpname/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genpname/Makefile" ;;
12084+    "tools/genbrk/Makefile") CONFIG_FILES="$CONFIG_FILES tools/genbrk/Makefile" ;;
12085+    "tools/gensprep/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gensprep/Makefile" ;;
12086+    "tools/icuswap/Makefile") CONFIG_FILES="$CONFIG_FILES tools/icuswap/Makefile" ;;
12087+    "tools/pkgdata/Makefile") CONFIG_FILES="$CONFIG_FILES tools/pkgdata/Makefile" ;;
12088+    "tools/toolutil/Makefile") CONFIG_FILES="$CONFIG_FILES tools/toolutil/Makefile" ;;
12089+    "tools/dumpce/Makefile") CONFIG_FILES="$CONFIG_FILES tools/dumpce/Makefile" ;;
12090+    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
12091+    "test/testdata/Makefile") CONFIG_FILES="$CONFIG_FILES test/testdata/Makefile" ;;
12092+    "test/hdrtst/Makefile") CONFIG_FILES="$CONFIG_FILES test/hdrtst/Makefile" ;;
12093+    "test/intltest/Makefile") CONFIG_FILES="$CONFIG_FILES test/intltest/Makefile" ;;
12094+    "test/cintltst/Makefile") CONFIG_FILES="$CONFIG_FILES test/cintltst/Makefile" ;;
12095+    "test/iotest/Makefile") CONFIG_FILES="$CONFIG_FILES test/iotest/Makefile" ;;
12096+    "test/thaitest/Makefile") CONFIG_FILES="$CONFIG_FILES test/thaitest/Makefile" ;;
12097+    "test/testmap/Makefile") CONFIG_FILES="$CONFIG_FILES test/testmap/Makefile" ;;
12098+    "test/letest/Makefile") CONFIG_FILES="$CONFIG_FILES test/letest/Makefile" ;;
12099+    "test/threadtest/Makefile") CONFIG_FILES="$CONFIG_FILES test/threadtest/Makefile" ;;
12100+    "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
12101+    "samples/date/Makefile") CONFIG_FILES="$CONFIG_FILES samples/date/Makefile" ;;
12102+    "samples/cal/Makefile") CONFIG_FILES="$CONFIG_FILES samples/cal/Makefile" ;;
12103+    "samples/layout/Makefile") CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
12104+    "common/unicode/platform.h") CONFIG_FILES="$CONFIG_FILES common/unicode/platform.h" ;;
12105+
12106+  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12107+$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12108+   { (exit 1); exit 1; }; };;
12109+  esac
12110+done
12111+
12112+
12113+# If the user did not use the arguments to specify the items to instantiate,
12114+# then the envvar interface is used.  Set only those that are not.
12115+# We use the long form for the default assignment because of an extremely
12116+# bizarre bug on SunOS 4.1.3.
12117+if $ac_need_defaults; then
12118+  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12119+  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12120+fi
12121+
12122+# Have a temporary directory for convenience.  Make it in the build tree
12123+# simply because there is no reason against having it here, and in addition,
12124+# creating and moving files from /tmp can sometimes cause problems.
12125+# Hook for its removal unless debugging.
12126+# Note that there is a small window in which the directory will not be cleaned:
12127+# after its creation but before its name has been assigned to `$tmp'.
12128+$debug ||
12129+{
12130+  tmp=
12131+  trap 'exit_status=$?
12132+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12133+' 0
12134+  trap '{ (exit 1); exit 1; }' 1 2 13 15
12135+}
12136+# Create a (secure) tmp directory for tmp files.
12137+
12138+{
12139+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12140+  test -n "$tmp" && test -d "$tmp"
12141+}  ||
12142+{
12143+  tmp=./conf$$-$RANDOM
12144+  (umask 077 && mkdir "$tmp")
12145+} ||
12146+{
12147+   $as_echo "$as_me: cannot create a temporary directory in ." >&2
12148+   { (exit 1); exit 1; }
12149+}
12150+
12151+# Set up the scripts for CONFIG_FILES section.
12152+# No need to generate them if there are no CONFIG_FILES.
12153+# This happens for instance with `./config.status config.h'.
12154+if test -n "$CONFIG_FILES"; then
12155+
12156+
12157+ac_cr='
12158'
12159+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12160+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12161+  ac_cs_awk_cr='\\r'
12162+else
12163+  ac_cs_awk_cr=$ac_cr
12164+fi
12165+
12166+echo 'BEGIN {' >"$tmp/subs1.awk" &&
12167+_ACEOF
12168+
12169+
12170+{
12171+  echo "cat >conf$$subs.awk <<_ACEOF" &&
12172+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12173+  echo "_ACEOF"
12174+} >conf$$subs.sh ||
12175+  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12176+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12177+   { (exit 1); exit 1; }; }
12178+ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12179+ac_delim='%!_!# '
12180+for ac_last_try in false false false false false :; do
12181+  . ./conf$$subs.sh ||
12182+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12183+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12184+   { (exit 1); exit 1; }; }
12185+
12186+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12187+  if test $ac_delim_n = $ac_delim_num; then
12188+    break
12189+  elif $ac_last_try; then
12190+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12191+$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12192+   { (exit 1); exit 1; }; }
12193+  else
12194+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12195+  fi
12196+done
12197+rm -f conf$$subs.sh
12198+
12199+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12200+cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12201+_ACEOF
12202+sed -n '
12203+h
12204+s/^/S["/; s/!.*/"]=/
12205+p
12206+g
12207+s/^[^!]*!//
12208+:repl
12209+t repl
12210+s/'"$ac_delim"'$//
12211+t delim
12212+:nl
12213+h
12214+s/\(.\{148\}\).*/\1/
12215+t more1
12216+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12217+p
12218+n
12219+b repl
12220+:more1
12221+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12222+p
12223+g
12224+s/.\{148\}//
12225+t nl
12226+:delim
12227+h
12228+s/\(.\{148\}\).*/\1/
12229+t more2
12230+s/["\\]/\\&/g; s/^/"/; s/$/"/
12231+p
12232+b
12233+:more2
12234+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12235+p
12236+g
12237+s/.\{148\}//
12238+t delim
12239+' <conf$$subs.awk | sed '
12240+/^[^""]/{
12241+  N
12242+  s/\n//
12243+}
12244+' >>$CONFIG_STATUS || ac_write_fail=1
12245+rm -f conf$$subs.awk
12246+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12247+_ACAWK
12248+cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12249+  for (key in S) S_is_set[key] = 1
12250+  FS = ""
12251+
12252+}
12253+{
12254+  line = $ 0
12255+  nfields = split(line, field, "@")
12256+  substed = 0
12257+  len = length(field[1])
12258+  for (i = 2; i < nfields; i++) {
12259+    key = field[i]
12260+    keylen = length(key)
12261+    if (S_is_set[key]) {
12262+      value = S[key]
12263+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12264+      len += length(value) + length(field[++i])
12265+      substed = 1
12266+    } else
12267+      len += 1 + keylen
12268+  }
12269+
12270+  print line
12271+}
12272+
12273+_ACAWK
12274+_ACEOF
12275+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12276+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12277+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12278+else
12279+  cat
12280+fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12281+  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12282+$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12283+   { (exit 1); exit 1; }; }
12284+_ACEOF
12285+
12286+# VPATH may cause trouble with some makes, so we remove $(srcdir),
12287+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12288+# trailing colons and then remove the whole line if VPATH becomes empty
12289+# (actually we leave an empty line to preserve line numbers).
12290+if test "x$srcdir" = x.; then
12291+  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
12292+s/:*\$(srcdir):*/:/
12293+s/:*\${srcdir}:*/:/
12294+s/:*@srcdir@:*/:/
12295+s/^\([^=]*=[	 ]*\):*/\1/
12296+s/:*$//
12297+s/^[^=]*=[	 ]*$//
12298+}'
12299+fi
12300+
12301+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12302+fi # test -n "$CONFIG_FILES"
12303+
12304+# Set up the scripts for CONFIG_HEADERS section.
12305+# No need to generate them if there are no CONFIG_HEADERS.
12306+# This happens for instance with `./config.status Makefile'.
12307+if test -n "$CONFIG_HEADERS"; then
12308+cat >"$tmp/defines.awk" <<\_ACAWK ||
12309+BEGIN {
12310+_ACEOF
12311+
12312+# Transform confdefs.h into an awk script `defines.awk', embedded as
12313+# here-document in config.status, that substitutes the proper values into
12314+# config.h.in to produce config.h.
12315+
12316+# Create a delimiter string that does not exist in confdefs.h, to ease
12317+# handling of long lines.
12318+ac_delim='%!_!# '
12319+for ac_last_try in false false :; do
12320+  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12321+  if test -z "$ac_t"; then
12322+    break
12323+  elif $ac_last_try; then
12324+    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12325+$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12326+   { (exit 1); exit 1; }; }
12327   else
12328-    # Remove last slash and all that follows it.  Not all systems have dirname.
12329-      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12330-      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12331-      # The file is in a subdirectory.
12332-      test ! -d "$ac_dir" && mkdir "$ac_dir"
12333+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12334+  fi
12335+done
12336+
12337+# For the awk script, D is an array of macro values keyed by name,
12338+# likewise P contains macro parameters if any.  Preserve backslash
12339+# newline sequences.
12340+
12341+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12342+sed -n '
12343+s/.\{148\}/&'"$ac_delim"'/g
12344+t rset
12345+:rset
12346+s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
12347+t def
12348+d
12349+:def
12350+s/\\$//
12351+t bsnl
12352+s/["\\]/\\&/g
12353+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12354+D["\1"]=" \3"/p
12355+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
12356+d
12357+:bsnl
12358+s/["\\]/\\&/g
12359+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
12360+D["\1"]=" \3\\\\\\n"\\/p
12361+t cont
12362+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12363+t cont
12364+d
12365+:cont
12366+n
12367+s/.\{148\}/&'"$ac_delim"'/g
12368+t clear
12369+:clear
12370+s/\\$//
12371+t bsnlc
12372+s/["\\]/\\&/g; s/^/"/; s/$/"/p
12373+d
12374+:bsnlc
12375+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12376+b cont
12377+' <confdefs.h | sed '
12378+s/'"$ac_delim"'/"\\\
12379+"/g' >>$CONFIG_STATUS || ac_write_fail=1
12380+
12381+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12382+  for (key in D) D_is_set[key] = 1
12383+  FS = ""
12384+}
12385+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12386+  line = \$ 0
12387+  split(line, arg, " ")
12388+  if (arg[1] == "#") {
12389+    defundef = arg[2]
12390+    mac1 = arg[3]
12391+  } else {
12392+    defundef = substr(arg[1], 2)
12393+    mac1 = arg[2]
12394+  }
12395+  split(mac1, mac2, "(") #)
12396+  macro = mac2[1]
12397+  prefix = substr(line, 1, index(line, defundef) - 1)
12398+  if (D_is_set[macro]) {
12399+    # Preserve the white space surrounding the "#".
12400+    print prefix "define", macro P[macro] D[macro]
12401+    next
12402+  } else {
12403+    # Replace #undef with comments.  This is necessary, for example,
12404+    # in the case of _POSIX_SOURCE, which is predefined and required
12405+    # on some systems where configure will not decide to define it.
12406+    if (defundef == "undef") {
12407+      print "/*", prefix defundef, macro, "*/"
12408+      next
12409+    }
12410+  }
12411+}
12412+{ print }
12413+_ACAWK
12414+_ACEOF
12415+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12416+  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12417+$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12418+   { (exit 1); exit 1; }; }
12419+fi # test -n "$CONFIG_HEADERS"
12420+
12421+
12422+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
12423+shift
12424+for ac_tag
12425+do
12426+  case $ac_tag in
12427+  :[FHLC]) ac_mode=$ac_tag; continue;;
12428+  esac
12429+  case $ac_mode$ac_tag in
12430+  :[FHL]*:*);;
12431+  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12432+$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12433+   { (exit 1); exit 1; }; };;
12434+  :[FH]-) ac_tag=-:-;;
12435+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12436+  esac
12437+  ac_save_IFS=$IFS
12438+  IFS=:
12439+  set x $ac_tag
12440+  IFS=$ac_save_IFS
12441+  shift
12442+  ac_file=$1
12443+  shift
12444+
12445+  case $ac_mode in
12446+  :L) ac_source=$1;;
12447+  :[FH])
12448+    ac_file_inputs=
12449+    for ac_f
12450+    do
12451+      case $ac_f in
12452+      -) ac_f="$tmp/stdin";;
12453+      *) # Look for the file first in the build tree, then in the source tree
12454+	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
12455+	 # because $ac_f cannot contain `:'.
12456+	 test -f "$ac_f" ||
12457+	   case $ac_f in
12458+	   [\\/$]*) false;;
12459+	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12460+	   esac ||
12461+	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12462+$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12463+   { (exit 1); exit 1; }; };;
12464+      esac
12465+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12466+      ac_file_inputs="$ac_file_inputs '$ac_f'"
12467+    done
12468+
12469+    # Let's still pretend it is `configure' which instantiates (i.e., don't
12470+    # use $as_me), people would be surprised to read:
12471+    #    /* config.h.  Generated by config.status.  */
12472+    configure_input='Generated from '`
12473+	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12474+	`' by configure.'
12475+    if test x"$ac_file" != x-; then
12476+      configure_input="$ac_file.  $configure_input"
12477+      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12478+$as_echo "$as_me: creating $ac_file" >&6;}
12479+    fi
12480+    # Neutralize special characters interpreted by sed in replacement strings.
12481+    case $configure_input in #(
12482+    *\&* | *\|* | *\\* )
12483+       ac_sed_conf_input=`$as_echo "$configure_input" |
12484+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
12485+    *) ac_sed_conf_input=$configure_input;;
12486+    esac
12487+
12488+    case $ac_tag in
12489+    *:-:* | *:-) cat >"$tmp/stdin" \
12490+      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12491+$as_echo "$as_me: error: could not create $ac_file" >&2;}
12492+   { (exit 1); exit 1; }; } ;;
12493+    esac
12494+    ;;
12495+  esac
12496+
12497+  ac_dir=`$as_dirname -- "$ac_file" ||
12498+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12499+	 X"$ac_file" : 'X\(//\)[^/]' \| \
12500+	 X"$ac_file" : 'X\(//\)$' \| \
12501+	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12502+$as_echo X"$ac_file" |
12503+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12504+	    s//\1/
12505+	    q
12506+	  }
12507+	  /^X\(\/\/\)[^/].*/{
12508+	    s//\1/
12509+	    q
12510+	  }
12511+	  /^X\(\/\/\)$/{
12512+	    s//\1/
12513+	    q
12514+	  }
12515+	  /^X\(\/\).*/{
12516+	    s//\1/
12517+	    q
12518+	  }
12519+	  s/.*/./; q'`
12520+  { as_dir="$ac_dir"
12521+  case $as_dir in #(
12522+  -*) as_dir=./$as_dir;;
12523+  esac
12524+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12525+    as_dirs=
12526+    while :; do
12527+      case $as_dir in #(
12528+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12529+      *) as_qdir=$as_dir;;
12530+      esac
12531+      as_dirs="'$as_qdir' $as_dirs"
12532+      as_dir=`$as_dirname -- "$as_dir" ||
12533+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12534+	 X"$as_dir" : 'X\(//\)[^/]' \| \
12535+	 X"$as_dir" : 'X\(//\)$' \| \
12536+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12537+$as_echo X"$as_dir" |
12538+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12539+	    s//\1/
12540+	    q
12541+	  }
12542+	  /^X\(\/\/\)[^/].*/{
12543+	    s//\1/
12544+	    q
12545+	  }
12546+	  /^X\(\/\/\)$/{
12547+	    s//\1/
12548+	    q
12549+	  }
12550+	  /^X\(\/\).*/{
12551+	    s//\1/
12552+	    q
12553+	  }
12554+	  s/.*/./; q'`
12555+      test -d "$as_dir" && break
12556+    done
12557+    test -z "$as_dirs" || eval "mkdir $as_dirs"
12558+  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12559+$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12560+   { (exit 1); exit 1; }; }; }
12561+  ac_builddir=.
12562+
12563+case "$ac_dir" in
12564+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12565+*)
12566+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12567+  # A ".." for each directory in $ac_dir_suffix.
12568+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12569+  case $ac_top_builddir_sub in
12570+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12571+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12572+  esac ;;
12573+esac
12574+ac_abs_top_builddir=$ac_pwd
12575+ac_abs_builddir=$ac_pwd$ac_dir_suffix
12576+# for backward compatibility:
12577+ac_top_builddir=$ac_top_build_prefix
12578+
12579+case $srcdir in
12580+  .)  # We are building in place.
12581+    ac_srcdir=.
12582+    ac_top_srcdir=$ac_top_builddir_sub
12583+    ac_abs_top_srcdir=$ac_pwd ;;
12584+  [\\/]* | ?:[\\/]* )  # Absolute name.
12585+    ac_srcdir=$srcdir$ac_dir_suffix;
12586+    ac_top_srcdir=$srcdir
12587+    ac_abs_top_srcdir=$srcdir ;;
12588+  *) # Relative name.
12589+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12590+    ac_top_srcdir=$ac_top_build_prefix$srcdir
12591+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12592+esac
12593+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12594+
12595+
12596+  case $ac_mode in
12597+  :F)
12598+  #
12599+  # CONFIG_FILE
12600+  #
12601+
12602+  case $INSTALL in
12603+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12604+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12605+  esac
12606+_ACEOF
12607+
12608+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12609+# If the template does not know about datarootdir, expand it.
12610+# FIXME: This hack should be removed a few years after 2.60.
12611+ac_datarootdir_hack=; ac_datarootdir_seen=
12612+
12613+ac_sed_dataroot='
12614+/datarootdir/ {
12615+  p
12616+  q
12617+}
12618+/@datadir@/p
12619+/@docdir@/p
12620+/@infodir@/p
12621+/@localedir@/p
12622+/@mandir@/p
12623+'
12624+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12625+*datarootdir*) ac_datarootdir_seen=yes;;
12626+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12627+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12628+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12629+_ACEOF
12630+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12631+  ac_datarootdir_hack='
12632+  s&@datadir@&$datadir&g
12633+  s&@docdir@&$docdir&g
12634+  s&@infodir@&$infodir&g
12635+  s&@localedir@&$localedir&g
12636+  s&@mandir@&$mandir&g
12637+    s&\\\${datarootdir}&$datarootdir&g' ;;
12638+esac
12639+_ACEOF
12640+
12641+# Neutralize VPATH when `$srcdir' = `.'.
12642+# Shell code in configure.ac might set extrasub.
12643+# FIXME: do we really want to maintain this feature?
12644+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12645+ac_sed_extra="$ac_vpsub
12646+$extrasub
12647+_ACEOF
12648+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12649+:t
12650+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12651+s|@configure_input@|$ac_sed_conf_input|;t t
12652+s&@top_builddir@&$ac_top_builddir_sub&;t t
12653+s&@top_build_prefix@&$ac_top_build_prefix&;t t
12654+s&@srcdir@&$ac_srcdir&;t t
12655+s&@abs_srcdir@&$ac_abs_srcdir&;t t
12656+s&@top_srcdir@&$ac_top_srcdir&;t t
12657+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12658+s&@builddir@&$ac_builddir&;t t
12659+s&@abs_builddir@&$ac_abs_builddir&;t t
12660+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12661+s&@INSTALL@&$ac_INSTALL&;t t
12662+$ac_datarootdir_hack
12663+"
12664+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12665+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12666+$as_echo "$as_me: error: could not create $ac_file" >&2;}
12667+   { (exit 1); exit 1; }; }
12668+
12669+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12670+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12671+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12672+  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12673+which seems to be undefined.  Please make sure it is defined." >&5
12674+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12675+which seems to be undefined.  Please make sure it is defined." >&2;}
12676+
12677+  rm -f "$tmp/stdin"
12678+  case $ac_file in
12679+  -) cat "$tmp/out" && rm -f "$tmp/out";;
12680+  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12681+  esac \
12682+  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12683+$as_echo "$as_me: error: could not create $ac_file" >&2;}
12684+   { (exit 1); exit 1; }; }
12685+ ;;
12686+  :H)
12687+  #
12688+  # CONFIG_HEADER
12689+  #
12690+  if test x"$ac_file" != x-; then
12691+    {
12692+      $as_echo "/* $configure_input  */" \
12693+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12694+    } >"$tmp/config.h" \
12695+      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12696+$as_echo "$as_me: error: could not create $ac_file" >&2;}
12697+   { (exit 1); exit 1; }; }
12698+    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12699+      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12700+$as_echo "$as_me: $ac_file is unchanged" >&6;}
12701+    else
12702+      rm -f "$ac_file"
12703+      mv "$tmp/config.h" "$ac_file" \
12704+	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12705+$as_echo "$as_me: error: could not create $ac_file" >&2;}
12706+   { (exit 1); exit 1; }; }
12707     fi
12708-    rm -f $ac_file
12709-    mv conftest.h $ac_file
12710+  else
12711+    $as_echo "/* $configure_input  */" \
12712+      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12713+      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12714+$as_echo "$as_me: error: could not create -" >&2;}
12715+   { (exit 1); exit 1; }; }
12716   fi
12717-fi; done
12718+ ;;
12719+
12720
12721-EOF
12722-cat >> $CONFIG_STATUS <<EOF
12723+  esac
12724+
12725+done # for ac_tag
12726
12727-EOF
12728-cat >> $CONFIG_STATUS <<\EOF
12729
12730-exit 0
12731-EOF
12732+{ (exit 0); exit 0; }
12733+_ACEOF
12734 chmod +x $CONFIG_STATUS
12735-rm -fr confdefs* $ac_clean_files
12736-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
12737+ac_clean_files=$ac_clean_files_save
12738+
12739+test $ac_write_fail = 0 ||
12740+  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
12741+$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
12742+   { (exit 1); exit 1; }; }
12743+
12744+
12745+# configure is writing to config.log, and then calls config.status.
12746+# config.status does its own redirection, appending to config.log.
12747+# Unfortunately, on DOS this fails, as config.log is still kept open
12748+# by configure, so config.status won't be able to write to it; its
12749+# output is simply discarded.  So we exec the FD to /dev/null,
12750+# effectively closing config.log, so it can be properly (re)opened and
12751+# appended to by config.status.  When coming back to configure, we
12752+# need to make the FD available again.
12753+if test "$no_create" != yes; then
12754+  ac_cs_success=:
12755+  ac_config_status_args=
12756+  test "$silent" = yes &&
12757+    ac_config_status_args="$ac_config_status_args --quiet"
12758+  exec 5>/dev/null
12759+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12760+  exec 5>>config.log
12761+  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12762+  # would make configure fail if this is the last instruction.
12763+  $ac_cs_success || { (exit 1); exit 1; }
12764+fi
12765+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12766+  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12767+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12768+fi
12769
12770
12771 if test $ICU_USE_THREADS = 0; then
12772Only in 3_0/icu/source/extra/scrptrun: Makefile
12773Only in 3_0/icu/source: lib
12774Only in 3_0/icu/source/samples/layout: Makefile
12775Only in 3_0/icu/source/test/letest: Makefile
12776Only in 3_0/icu/source/test/testmap: Makefile
12777Only in 3_0/icu/source/test/thaitest: Makefile
12778Only in 3_0/icu/source/test/threadtest: Makefile
12779Only in 3_0/icu/source/tools/dumpce: Makefile
12780