]> git.buserror.net Git - polintos/scott/priv.git/blob - toolchain-patches/gcc/4.2.1/misc.patch
Add toolchain patches.
[polintos/scott/priv.git] / toolchain-patches / gcc / 4.2.1 / misc.patch
1 diff -urN gcc-4.2.1-orig/config.guess gcc-4.2.1/config.guess
2 --- gcc-4.2.1-orig/config.guess 2006-10-15 22:27:17.000000000 -0500
3 +++ gcc-4.2.1/config.guess      2007-07-29 16:33:50.000000000 -0500
4 @@ -142,6 +142,9 @@
5  # Note: order is significant - the case branches are not exclusive.
6  
7  case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
8 +    *:PolIntOS:*:*)
9 +        echo ${UNAME_MACHINE}-polintos
10 +        exit 0 ;;
11      *:NetBSD:*:*)
12         # NetBSD (nbsd) targets should (where applicable) match one or
13         # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
14 diff -urN gcc-4.2.1-orig/config.sub gcc-4.2.1/config.sub
15 --- gcc-4.2.1-orig/config.sub   2006-10-15 22:27:17.000000000 -0500
16 +++ gcc-4.2.1/config.sub        2007-07-29 16:34:15.000000000 -0500
17 @@ -1219,7 +1219,7 @@
18               | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
19               | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
20               | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
21 -             | -skyos* | -haiku* | -rdos* | -toppers*)
22 +             | -skyos* | -haiku* | -rdos* | -toppers* | -polintos*)
23         # Remember, each alternative MUST END IN *, to match a version number.
24                 ;;
25         -qnx*)
26 diff -urN gcc-4.2.1-orig/gcc/config/i386/polintos.h gcc-4.2.1/gcc/config/i386/polintos.h
27 --- gcc-4.2.1-orig/gcc/config/i386/polintos.h   1969-12-31 18:00:00.000000000 -0600
28 +++ gcc-4.2.1/gcc/config/i386/polintos.h        2007-07-29 17:32:44.000000000 -0500
29 @@ -0,0 +1,146 @@
30 +/* Definitions for Intel x86 running PolIntOS.
31 +   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004
32 +   Free Software Foundation, Inc.
33 +   Based on i386/linux.h
34 +
35 +This file is part of GCC.
36 +
37 +GCC is free software; you can redistribute it and/or modify
38 +it under the terms of the GNU General Public License as published by
39 +the Free Software Foundation; either version 2, or (at your option)
40 +any later version.
41 +
42 +GCC is distributed in the hope that it will be useful,
43 +but WITHOUT ANY WARRANTY; without even the implied warranty of
44 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
45 +GNU General Public License for more details.
46 +
47 +You should have received a copy of the GNU General Public License
48 +along with GCC; see the file COPYING.  If not, write to
49 +the Free Software Foundation, 51 Franklin Street, Fifth Floor,
50 +Boston, MA 02110-1301, USA.  */
51 +
52 +/* Output at beginning of assembler file.  */
53 +/* The .file command should always begin the output.  */
54 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
55 +
56 +#define TARGET_VERSION fprintf (stderr, " (x86 PolIntOS)");
57 +
58 +/* The svr4 ABI for the i386 says that records and unions are returned
59 +   in memory.  */
60 +#undef DEFAULT_PCC_STRUCT_RETURN
61 +#define DEFAULT_PCC_STRUCT_RETURN 1
62 +
63 +/* We arrange for the whole %gs segment to map the tls area.  */
64 +#undef TARGET_TLS_DIRECT_SEG_REFS_DEFAULT
65 +#define TARGET_TLS_DIRECT_SEG_REFS_DEFAULT MASK_TLS_DIRECT_SEG_REFS
66 +
67 +#undef ASM_COMMENT_START
68 +#define ASM_COMMENT_START "#"
69 +
70 +#define NO_PROFILE_COUNTERS    1
71 +
72 +#undef MCOUNT_NAME
73 +#define MCOUNT_NAME "mcount"
74 +
75 +#define TARGET_OS_CPP_BUILTINS() do { \
76 +       POLINTOS_TARGET_OS_CPP_BUILTINS(); \
77 +       if (flag_pic) { \
78 +               builtin_define("__PIC__"); \
79 +               builtin_define("__pic__"); \
80 +       } \
81 +} while (0)
82 +
83 +#define LINK_EMULATION "elf_i386"
84 +#define DYNAMIC_LINKER "/System/Libraries/DynamicLinker"
85 +
86 +#undef  SUBTARGET_EXTRA_SPECS
87 +#define SUBTARGET_EXTRA_SPECS \
88 +  { "link_emulation", LINK_EMULATION },\
89 +  { "dynamic_linker", DYNAMIC_LINKER }
90 +
91 +#undef  LINK_SPEC
92 +#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
93 +  %{!shared: \
94 +    %{!ibcs: \
95 +      %{!static: \
96 +       %{rdynamic:-export-dynamic} \
97 +       %{!dynamic-linker:-dynamic-linker %(dynamic_linker)}} \
98 +       %{static:-static}}}"
99 +
100 +#if 0
101 +#undef  ENDFILE_SPEC
102 +#define ENDFILE_SPEC \
103 +  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} "
104 +#endif
105 +
106 +/* A C statement (sans semicolon) to output to the stdio stream
107 +   FILE the assembler definition of uninitialized global DECL named
108 +   NAME whose size is SIZE bytes and alignment is ALIGN bytes.
109 +   Try to use asm_output_aligned_bss to implement this macro.  */
110 +
111 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
112 +  asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
113 +
114 +/* A C statement to output to the stdio stream FILE an assembler
115 +   command to advance the location counter to a multiple of 1<<LOG
116 +   bytes if it is within MAX_SKIP bytes.
117 +
118 +   This is used to align code labels according to Intel recommendations.  */
119 +
120 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
121 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP)                   \
122 +  do {                                                                 \
123 +    if ((LOG) != 0) {                                                  \
124 +      if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
125 +      else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
126 +    }                                                                  \
127 +  } while (0)
128 +#endif
129 +
130 +/* Handle special EH pointer encodings.  Absolute, pc-relative, and
131 +   indirect are handled automatically.  */
132 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
133 +  do {                                                                 \
134 +    if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel)                \
135 +      {                                                                        \
136 +        fputs (ASM_LONG, FILE);                        \
137 +        assemble_name (FILE, XSTR (ADDR, 0));                          \
138 +       fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
139 +        goto DONE;                                                     \
140 +      }                                                                        \
141 +  } while (0)
142 +
143 +/* Used by crtstuff.c to initialize the base of data-relative relocations.
144 +   These are GOT relative on x86, so return the pic register.  */
145 +#ifdef __PIC__
146 +#define CRT_GET_RFIB_DATA(BASE)                        \
147 +  {                                            \
148 +    register void *ebx_ __asm__("ebx");                \
149 +    BASE = ebx_;                               \
150 +  }
151 +#else
152 +#define CRT_GET_RFIB_DATA(BASE)                                                \
153 +  __asm__ ("call\t.LPR%=\n"                                            \
154 +          ".LPR%=:\n\t"                                                \
155 +          "popl\t%0\n\t"                                               \
156 +          /* Due to a GAS bug, this cannot use EAX.  That encodes      \
157 +             smaller than the traditional EBX, which results in the    \
158 +             offset being off by one.  */                              \
159 +          "addl\t$_GLOBAL_OFFSET_TABLE_+[.-.LPR%=],%0"                 \
160 +          : "=d"(BASE))
161 +#endif
162 +
163 +#undef NEED_INDICATE_EXEC_STACK
164 +#define NEED_INDICATE_EXEC_STACK 1
165 +
166 +//#define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
167 +
168 +#define REG_NAME(reg) reg
169 +
170 +#if 0
171 +#ifdef TARGET_LIBC_PROVIDES_SSP
172 +/* i386 glibc provides __stack_chk_guard in %gs:0x14.  */
173 +#define TARGET_THREAD_SSP_OFFSET       0x14
174 +#endif
175 +#endif
176 diff -urN gcc-4.2.1-orig/gcc/config/polintos.h gcc-4.2.1/gcc/config/polintos.h
177 --- gcc-4.2.1-orig/gcc/config/polintos.h        1969-12-31 18:00:00.000000000 -0600
178 +++ gcc-4.2.1/gcc/config/polintos.h     2007-07-29 17:01:06.000000000 -0500
179 @@ -0,0 +1,96 @@
180 +/* Target definitions for PolIntOS
181 +   Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999,
182 +   2000, 2001 Free Software Foundation, Inc.
183 +   Based on linux.h
184 +
185 +This file is part of GCC.
186 +
187 +GCC is free software; you can redistribute it and/or modify
188 +it under the terms of the GNU General Public License as published by
189 +the Free Software Foundation; either version 2, or (at your option)
190 +any later version.
191 +
192 +GCC is distributed in the hope that it will be useful,
193 +but WITHOUT ANY WARRANTY; without even the implied warranty of
194 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
195 +GNU General Public License for more details.
196 +
197 +You should have received a copy of the GNU General Public License
198 +along with GCC; see the file COPYING.  If not, write to
199 +the Free Software Foundation, 51 Franklin Street, Fifth Floor,
200 +Boston, MA 02110-1301, USA. */
201 +
202 +/* Don't assume anything about the header files.  */
203 +#define NO_IMPLICIT_EXTERN_C
204 +
205 +#undef ASM_APP_ON
206 +#define ASM_APP_ON "#APP\n"
207 +
208 +#undef ASM_APP_OFF
209 +#define ASM_APP_OFF "#NO_APP\n"
210 +
211 +// These (or something like it) will be used soon, but not yet.
212 +
213 +#if 0
214 +/* Provide a STARTFILE_SPEC appropriate for PolIntOS.  Here we add
215 +   the magical crtbegin.o file (see crtstuff.c) which provides part of
216 +   the support for getting C++ file-scope static object constructed
217 +   before entering `main'.  */
218 +
219 +#if defined HAVE_LD_PIE
220 +#define STARTFILE_SPEC \
221 +  "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
222 +   crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
223 +#else
224 +#define STARTFILE_SPEC \
225 +  "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
226 +   crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
227 +#endif
228 +
229 +/* Provide a ENDFILE_SPEC appropriate for PolIntOS.  Here we tack on the
230 +   magical crtend.o file (see crtstuff.c) which provides part of the
231 +   support for getting C++ file-scope static object constructed before
232 +   entering `main', followed by a normal "finalizer" file, `crtn.o'.  */
233 +
234 +#undef ENDFILE_SPEC
235 +#define ENDFILE_SPEC \
236 +  "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
237 +
238 +#else
239 +#undef STARTFILE_SPEC
240 +#define STARTFILE_SPEC ""
241 +#undef ENDFILE_SPEC
242 +#define ENDFILE_SPEC ""
243 +#endif
244 +
245 +/* This is for -profile to use -lc_p instead of -lc.  */
246 +#ifndef CC1_SPEC
247 +#define CC1_SPEC "%{profile:-p}"
248 +#endif
249 +
250 +#undef  LIB_SPEC
251 +#define LIB_SPEC \
252 +  "%{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
253 +
254 +#if defined(HAVE_LD_EH_FRAME_HDR)
255 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
256 +#endif
257 +
258 +#define HANDLE_PRAGMA_PACK_PUSH_POP
259 +
260 +#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L --end-group"
261 +
262 +/* Use --as-needed -lgcc_s for eh support.  */
263 +#ifdef HAVE_LD_AS_NEEDED
264 +#define USE_LD_AS_NEEDED 1
265 +#endif
266 +
267 +#define POLINTOS_TARGET_OS_CPP_BUILTINS() do { \
268 +       builtin_define_std ("polintos"); \
269 +} while (0)
270 +
271 +/* Determine whether the entire c99 runtime
272 +   is present in the runtime library.  */
273 +#define TARGET_C99_FUNCTIONS 1
274 +
275 +#define TARGET_POSIX_IO
276 diff -urN gcc-4.2.1-orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
277 --- gcc-4.2.1-orig/gcc/config.gcc       2007-02-02 23:25:20.000000000 -0600
278 +++ gcc-4.2.1/gcc/config.gcc    2007-07-29 16:33:50.000000000 -0500
279 @@ -1341,6 +1341,10 @@
280         tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h kaos.h i386/kaos-i386.h"
281         tmake_file="i386/t-i386elf t-svr4"
282         ;;
283 +i[567]86-*-polintos*)
284 +       tm_file="${tm_file} i386/unix.h i386/att.h elfos.h polintos.h i386/polintos.h"
285 +       tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtfm"
286 +       ;;
287  ia64*-*-elf*)
288         tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
289         tmake_file="ia64/t-ia64"
290 diff -urN gcc-4.2.1-orig/libiberty/configure gcc-4.2.1/libiberty/configure
291 --- gcc-4.2.1-orig/libiberty/configure  2006-08-30 08:46:50.000000000 -0500
292 +++ gcc-4.2.1/libiberty/configure       2007-07-31 17:22:27.000000000 -0500
293 @@ -1,25 +1,54 @@
294  #! /bin/sh
295  # Guess values for system-dependent variables and create Makefiles.
296 -# Generated by GNU Autoconf 2.59.
297 +# Generated by GNU Autoconf 2.61.
298  #
299 -# Copyright (C) 2003 Free Software Foundation, Inc.
300 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
301 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
302  # This configure script is free software; the Free Software Foundation
303  # gives unlimited permission to copy, distribute and modify it.
304  ## --------------------- ##
305  ## M4sh Initialization.  ##
306  ## --------------------- ##
307  
308 -# Be Bourne compatible
309 +# Be more Bourne compatible
310 +DUALCASE=1; export DUALCASE # for MKS sh
311  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
312    emulate sh
313    NULLCMD=:
314    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
315    # is contrary to our usage.  Disable this feature.
316    alias -g '${1+"$@"}'='"$@"'
317 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
318 -  set -o posix
319 +  setopt NO_GLOB_SUBST
320 +else
321 +  case `(set -o) 2>/dev/null` in
322 +  *posix*) set -o posix ;;
323 +esac
324 +
325 +fi
326 +
327 +
328 +
329 +
330 +# PATH needs CR
331 +# Avoid depending upon Character Ranges.
332 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
333 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
334 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
335 +as_cr_digits='0123456789'
336 +as_cr_alnum=$as_cr_Letters$as_cr_digits
337 +
338 +# The user is always right.
339 +if test "${PATH_SEPARATOR+set}" != set; then
340 +  echo "#! /bin/sh" >conf$$.sh
341 +  echo  "exit 0"   >>conf$$.sh
342 +  chmod +x conf$$.sh
343 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
344 +    PATH_SEPARATOR=';'
345 +  else
346 +    PATH_SEPARATOR=:
347 +  fi
348 +  rm -f conf$$.sh
349  fi
350 -DUALCASE=1; export DUALCASE # for MKS sh
351  
352  # Support unset when possible.
353  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
354 @@ -29,8 +58,43 @@
355  fi
356  
357  
358 +# IFS
359 +# We need space, tab and new line, in precisely that order.  Quoting is
360 +# there to prevent editors from complaining about space-tab.
361 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
362 +# splitting by setting IFS to empty value.)
363 +as_nl='
364 +'
365 +IFS=" ""       $as_nl"
366 +
367 +# Find who we are.  Look in the path if we contain no directory separator.
368 +case $0 in
369 +  *[\\/]* ) as_myself=$0 ;;
370 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
371 +for as_dir in $PATH
372 +do
373 +  IFS=$as_save_IFS
374 +  test -z "$as_dir" && as_dir=.
375 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
376 +done
377 +IFS=$as_save_IFS
378 +
379 +     ;;
380 +esac
381 +# We did not find ourselves, most probably we were run as `sh COMMAND'
382 +# in which case we are not to be found in the path.
383 +if test "x$as_myself" = x; then
384 +  as_myself=$0
385 +fi
386 +if test ! -f "$as_myself"; then
387 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
388 +  { (exit 1); exit 1; }
389 +fi
390 +
391  # Work around bugs in pre-3.0 UWIN ksh.
392 -$as_unset ENV MAIL MAILPATH
393 +for as_var in ENV MAIL MAILPATH
394 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
395 +done
396  PS1='$ '
397  PS2='> '
398  PS4='+ '
399 @@ -44,18 +108,19 @@
400    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
401      eval $as_var=C; export $as_var
402    else
403 -    $as_unset $as_var
404 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
405    fi
406  done
407  
408  # Required to use basename.
409 -if expr a : '\(a\)' >/dev/null 2>&1; then
410 +if expr a : '\(a\)' >/dev/null 2>&1 &&
411 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
412    as_expr=expr
413  else
414    as_expr=false
415  fi
416  
417 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
418 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
419    as_basename=basename
420  else
421    as_basename=false
422 @@ -63,157 +128,388 @@
423  
424  
425  # Name of the executable.
426 -as_me=`$as_basename "$0" ||
427 +as_me=`$as_basename -- "$0" ||
428  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
429          X"$0" : 'X\(//\)$' \| \
430 -        X"$0" : 'X\(/\)$' \| \
431 -        .     : '\(.\)' 2>/dev/null ||
432 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
433  echo X/"$0" |
434 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
435 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
436 -         /^X\/\(\/\).*/{ s//\1/; q; }
437 -         s/.*/./; q'`
438 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
439 +           s//\1/
440 +           q
441 +         }
442 +         /^X\/\(\/\/\)$/{
443 +           s//\1/
444 +           q
445 +         }
446 +         /^X\/\(\/\).*/{
447 +           s//\1/
448 +           q
449 +         }
450 +         s/.*/./; q'`
451  
452 +# CDPATH.
453 +$as_unset CDPATH
454  
455 -# PATH needs CR, and LINENO needs CR and PATH.
456 -# Avoid depending upon Character Ranges.
457 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 -as_cr_digits='0123456789'
461 -as_cr_alnum=$as_cr_Letters$as_cr_digits
462  
463 -# The user is always right.
464 -if test "${PATH_SEPARATOR+set}" != set; then
465 -  echo "#! /bin/sh" >conf$$.sh
466 -  echo  "exit 0"   >>conf$$.sh
467 -  chmod +x conf$$.sh
468 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
469 -    PATH_SEPARATOR=';'
470 -  else
471 -    PATH_SEPARATOR=:
472 -  fi
473 -  rm -f conf$$.sh
474 +if test "x$CONFIG_SHELL" = x; then
475 +  if (eval ":") 2>/dev/null; then
476 +  as_have_required=yes
477 +else
478 +  as_have_required=no
479  fi
480  
481 +  if test $as_have_required = yes &&    (eval ":
482 +(as_func_return () {
483 +  (exit \$1)
484 +}
485 +as_func_success () {
486 +  as_func_return 0
487 +}
488 +as_func_failure () {
489 +  as_func_return 1
490 +}
491 +as_func_ret_success () {
492 +  return 0
493 +}
494 +as_func_ret_failure () {
495 +  return 1
496 +}
497  
498 -  as_lineno_1=$LINENO
499 -  as_lineno_2=$LINENO
500 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
501 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
502 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
503 -  # Find who we are.  Look in the path if we contain no path at all
504 -  # relative or not.
505 -  case $0 in
506 -    *[\\/]* ) as_myself=$0 ;;
507 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
508 -for as_dir in $PATH
509 -do
510 -  IFS=$as_save_IFS
511 -  test -z "$as_dir" && as_dir=.
512 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
513 -done
514 +exitcode=0
515 +if as_func_success; then
516 +  :
517 +else
518 +  exitcode=1
519 +  echo as_func_success failed.
520 +fi
521  
522 -       ;;
523 -  esac
524 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
525 -  # in which case we are not to be found in the path.
526 -  if test "x$as_myself" = x; then
527 -    as_myself=$0
528 -  fi
529 -  if test ! -f "$as_myself"; then
530 -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
531 -   { (exit 1); exit 1; }; }
532 -  fi
533 -  case $CONFIG_SHELL in
534 -  '')
535 +if as_func_failure; then
536 +  exitcode=1
537 +  echo as_func_failure succeeded.
538 +fi
539 +
540 +if as_func_ret_success; then
541 +  :
542 +else
543 +  exitcode=1
544 +  echo as_func_ret_success failed.
545 +fi
546 +
547 +if as_func_ret_failure; then
548 +  exitcode=1
549 +  echo as_func_ret_failure succeeded.
550 +fi
551 +
552 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
553 +  :
554 +else
555 +  exitcode=1
556 +  echo positional parameters were not saved.
557 +fi
558 +
559 +test \$exitcode = 0) || { (exit 1); exit 1; }
560 +
561 +(
562 +  as_lineno_1=\$LINENO
563 +  as_lineno_2=\$LINENO
564 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
565 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
566 +") 2> /dev/null; then
567 +  :
568 +else
569 +  as_candidate_shells=
570      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
571  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
572  do
573    IFS=$as_save_IFS
574    test -z "$as_dir" && as_dir=.
575 -  for as_base in sh bash ksh sh5; do
576 -        case $as_dir in
577 +  case $as_dir in
578          /*)
579 -          if ("$as_dir/$as_base" -c '
580 +          for as_base in sh bash ksh sh5; do
581 +            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
582 +          done;;
583 +       esac
584 +done
585 +IFS=$as_save_IFS
586 +
587 +
588 +      for as_shell in $as_candidate_shells $SHELL; do
589 +        # Try only shells that exist, to save several forks.
590 +        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
591 +               { ("$as_shell") 2> /dev/null <<\_ASEOF
592 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
593 +  emulate sh
594 +  NULLCMD=:
595 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
596 +  # is contrary to our usage.  Disable this feature.
597 +  alias -g '${1+"$@"}'='"$@"'
598 +  setopt NO_GLOB_SUBST
599 +else
600 +  case `(set -o) 2>/dev/null` in
601 +  *posix*) set -o posix ;;
602 +esac
603 +
604 +fi
605 +
606 +
607 +:
608 +_ASEOF
609 +}; then
610 +  CONFIG_SHELL=$as_shell
611 +              as_have_required=yes
612 +              if { "$as_shell" 2> /dev/null <<\_ASEOF
613 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
614 +  emulate sh
615 +  NULLCMD=:
616 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
617 +  # is contrary to our usage.  Disable this feature.
618 +  alias -g '${1+"$@"}'='"$@"'
619 +  setopt NO_GLOB_SUBST
620 +else
621 +  case `(set -o) 2>/dev/null` in
622 +  *posix*) set -o posix ;;
623 +esac
624 +
625 +fi
626 +
627 +
628 +:
629 +(as_func_return () {
630 +  (exit $1)
631 +}
632 +as_func_success () {
633 +  as_func_return 0
634 +}
635 +as_func_failure () {
636 +  as_func_return 1
637 +}
638 +as_func_ret_success () {
639 +  return 0
640 +}
641 +as_func_ret_failure () {
642 +  return 1
643 +}
644 +
645 +exitcode=0
646 +if as_func_success; then
647 +  :
648 +else
649 +  exitcode=1
650 +  echo as_func_success failed.
651 +fi
652 +
653 +if as_func_failure; then
654 +  exitcode=1
655 +  echo as_func_failure succeeded.
656 +fi
657 +
658 +if as_func_ret_success; then
659 +  :
660 +else
661 +  exitcode=1
662 +  echo as_func_ret_success failed.
663 +fi
664 +
665 +if as_func_ret_failure; then
666 +  exitcode=1
667 +  echo as_func_ret_failure succeeded.
668 +fi
669 +
670 +if ( set x; as_func_ret_success y && test x = "$1" ); then
671 +  :
672 +else
673 +  exitcode=1
674 +  echo positional parameters were not saved.
675 +fi
676 +
677 +test $exitcode = 0) || { (exit 1); exit 1; }
678 +
679 +(
680    as_lineno_1=$LINENO
681    as_lineno_2=$LINENO
682 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
683    test "x$as_lineno_1" != "x$as_lineno_2" &&
684 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
685 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
686 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
687 -            CONFIG_SHELL=$as_dir/$as_base
688 -            export CONFIG_SHELL
689 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
690 -          fi;;
691 -        esac
692 -       done
693 -done
694 -;;
695 -  esac
696 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
697 +
698 +_ASEOF
699 +}; then
700 +  break
701 +fi
702 +
703 +fi
704 +
705 +      done
706 +
707 +      if test "x$CONFIG_SHELL" != x; then
708 +  for as_var in BASH_ENV ENV
709 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
710 +        done
711 +        export CONFIG_SHELL
712 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
713 +fi
714 +
715 +
716 +    if test $as_have_required = no; then
717 +  echo This script requires a shell more modern than all the
718 +      echo shells that I found on your system.  Please install a
719 +      echo modern shell, or manually run the script under such a
720 +      echo shell if you do have one.
721 +      { (exit 1); exit 1; }
722 +fi
723 +
724 +
725 +fi
726 +
727 +fi
728 +
729 +
730 +
731 +(eval "as_func_return () {
732 +  (exit \$1)
733 +}
734 +as_func_success () {
735 +  as_func_return 0
736 +}
737 +as_func_failure () {
738 +  as_func_return 1
739 +}
740 +as_func_ret_success () {
741 +  return 0
742 +}
743 +as_func_ret_failure () {
744 +  return 1
745 +}
746 +
747 +exitcode=0
748 +if as_func_success; then
749 +  :
750 +else
751 +  exitcode=1
752 +  echo as_func_success failed.
753 +fi
754 +
755 +if as_func_failure; then
756 +  exitcode=1
757 +  echo as_func_failure succeeded.
758 +fi
759 +
760 +if as_func_ret_success; then
761 +  :
762 +else
763 +  exitcode=1
764 +  echo as_func_ret_success failed.
765 +fi
766 +
767 +if as_func_ret_failure; then
768 +  exitcode=1
769 +  echo as_func_ret_failure succeeded.
770 +fi
771 +
772 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
773 +  :
774 +else
775 +  exitcode=1
776 +  echo positional parameters were not saved.
777 +fi
778 +
779 +test \$exitcode = 0") || {
780 +  echo No shell found that supports shell functions.
781 +  echo Please tell autoconf@gnu.org about your system,
782 +  echo including any error possibly output before this
783 +  echo message
784 +}
785 +
786 +
787 +
788 +  as_lineno_1=$LINENO
789 +  as_lineno_2=$LINENO
790 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
791 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
792  
793    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
794    # uniformly replaced by the line number.  The first 'sed' inserts a
795 -  # line-number line before each line; the second 'sed' does the real
796 -  # work.  The second script uses 'N' to pair each line-number line
797 -  # with the numbered line, and appends trailing '-' during
798 -  # substitution so that $LINENO is not a special case at line end.
799 +  # line-number line after each line using $LINENO; the second 'sed'
800 +  # does the real work.  The second script uses 'N' to pair each
801 +  # line-number line with the line containing $LINENO, and appends
802 +  # trailing '-' during substitution so that $LINENO is not a special
803 +  # case at line end.
804    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
805 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
806 -  sed '=' <$as_myself |
807 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
808 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
809 +  sed -n '
810 +    p
811 +    /[$]LINENO/=
812 +  ' <$as_myself |
813      sed '
814 +      s/[$]LINENO.*/&-/
815 +      t lineno
816 +      b
817 +      :lineno
818        N
819 -      s,$,-,
820 -      : loop
821 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
822 +      :loop
823 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
824        t loop
825 -      s,-$,,
826 -      s,^['$as_cr_digits']*\n,,
827 +      s/-\n.*//
828      ' >$as_me.lineno &&
829 -  chmod +x $as_me.lineno ||
830 +  chmod +x "$as_me.lineno" ||
831      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
832     { (exit 1); exit 1; }; }
833  
834    # Don't try to exec as it changes $[0], causing all sort of problems
835    # (the dirname of $[0] is not the place where we might find the
836 -  # original and so on.  Autoconf is especially sensible to this).
837 -  . ./$as_me.lineno
838 +  # original and so on.  Autoconf is especially sensitive to this).
839 +  . "./$as_me.lineno"
840    # Exit status is that of the last command.
841    exit
842  }
843  
844  
845 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
846 -  *c*,-n*) ECHO_N= ECHO_C='
847 -' ECHO_T='     ' ;;
848 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
849 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
850 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
851 +  as_dirname=dirname
852 +else
853 +  as_dirname=false
854 +fi
855 +
856 +ECHO_C= ECHO_N= ECHO_T=
857 +case `echo -n x` in
858 +-n*)
859 +  case `echo 'x\c'` in
860 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
861 +  *)   ECHO_C='\c';;
862 +  esac;;
863 +*)
864 +  ECHO_N='-n';;
865  esac
866  
867 -if expr a : '\(a\)' >/dev/null 2>&1; then
868 +if expr a : '\(a\)' >/dev/null 2>&1 &&
869 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
870    as_expr=expr
871  else
872    as_expr=false
873  fi
874  
875  rm -f conf$$ conf$$.exe conf$$.file
876 +if test -d conf$$.dir; then
877 +  rm -f conf$$.dir/conf$$.file
878 +else
879 +  rm -f conf$$.dir
880 +  mkdir conf$$.dir
881 +fi
882  echo >conf$$.file
883  if ln -s conf$$.file conf$$ 2>/dev/null; then
884 -  # We could just check for DJGPP; but this test a) works b) is more generic
885 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
886 -  if test -f conf$$.exe; then
887 -    # Don't use ln at all; we don't have any links
888 +  as_ln_s='ln -s'
889 +  # ... but there are two gotchas:
890 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
891 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
892 +  # In both cases, we have to default to `cp -p'.
893 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
894      as_ln_s='cp -p'
895 -  else
896 -    as_ln_s='ln -s'
897 -  fi
898  elif ln conf$$.file conf$$ 2>/dev/null; then
899    as_ln_s=ln
900  else
901    as_ln_s='cp -p'
902  fi
903 -rm -f conf$$ conf$$.exe conf$$.file
904 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
905 +rmdir conf$$.dir 2>/dev/null
906  
907  if mkdir -p . 2>/dev/null; then
908    as_mkdir_p=:
909 @@ -222,7 +518,28 @@
910    as_mkdir_p=false
911  fi
912  
913 -as_executable_p="test -f"
914 +if test -x / >/dev/null 2>&1; then
915 +  as_test_x='test -x'
916 +else
917 +  if ls -dL / >/dev/null 2>&1; then
918 +    as_ls_L_option=L
919 +  else
920 +    as_ls_L_option=
921 +  fi
922 +  as_test_x='
923 +    eval sh -c '\''
924 +      if test -d "$1"; then
925 +        test -d "$1/.";
926 +      else
927 +       case $1 in
928 +        -*)set "./$1";;
929 +       esac;
930 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
931 +       ???[sx]*):;;*)false;;esac;fi
932 +    '\'' sh
933 +  '
934 +fi
935 +as_executable_p=$as_test_x
936  
937  # Sed expression to map a string onto a valid CPP name.
938  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
939 @@ -231,39 +548,27 @@
940  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
941  
942  
943 -# IFS
944 -# We need space, tab and new line, in precisely that order.
945 -as_nl='
946 -'
947 -IFS="  $as_nl"
948 -
949 -# CDPATH.
950 -$as_unset CDPATH
951  
952 +exec 7<&0 </dev/null 6>&1
953  
954  # Name of the host.
955  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
956  # so uname gets run too.
957  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
958  
959 -exec 6>&1
960 -
961  #
962  # Initializations.
963  #
964  ac_default_prefix=/usr/local
965 +ac_clean_files=
966  ac_config_libobj_dir=.
967 +LIBOBJS=
968  cross_compiling=no
969  subdirs=
970  MFLAGS=
971  MAKEFLAGS=
972  SHELL=${CONFIG_SHELL-/bin/sh}
973  
974 -# Maximum number of lines to put in a shell here document.
975 -# This variable seems obsolete.  It should probably be removed, and
976 -# only ac_max_sed_lines should be used.
977 -: ${ac_max_here_lines=38}
978 -
979  # Identity of this package.
980  PACKAGE_NAME=
981  PACKAGE_TARNAME=
982 @@ -275,42 +580,126 @@
983  # Factoring default headers for most tests.
984  ac_includes_default="\
985  #include <stdio.h>
986 -#if HAVE_SYS_TYPES_H
987 +#ifdef HAVE_SYS_TYPES_H
988  # include <sys/types.h>
989  #endif
990 -#if HAVE_SYS_STAT_H
991 +#ifdef HAVE_SYS_STAT_H
992  # include <sys/stat.h>
993  #endif
994 -#if STDC_HEADERS
995 +#ifdef STDC_HEADERS
996  # include <stdlib.h>
997  # include <stddef.h>
998  #else
999 -# if HAVE_STDLIB_H
1000 +# ifdef HAVE_STDLIB_H
1001  #  include <stdlib.h>
1002  # endif
1003  #endif
1004 -#if HAVE_STRING_H
1005 -# if !STDC_HEADERS && HAVE_MEMORY_H
1006 +#ifdef HAVE_STRING_H
1007 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1008  #  include <memory.h>
1009  # endif
1010  # include <string.h>
1011  #endif
1012 -#if HAVE_STRINGS_H
1013 +#ifdef HAVE_STRINGS_H
1014  # include <strings.h>
1015  #endif
1016 -#if HAVE_INTTYPES_H
1017 +#ifdef HAVE_INTTYPES_H
1018  # include <inttypes.h>
1019 -#else
1020 -# if HAVE_STDINT_H
1021 -#  include <stdint.h>
1022 -# endif
1023  #endif
1024 -#if HAVE_UNISTD_H
1025 +#ifdef HAVE_STDINT_H
1026 +# include <stdint.h>
1027 +#endif
1028 +#ifdef HAVE_UNISTD_H
1029  # include <unistd.h>
1030  #endif"
1031  
1032 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libiberty_topdir MAINT NOTMAINT MAKEINFO BUILD_INFO PERL HAVE_PERL build build_cpu build_vendor build_os host host_cpu host_vendor host_os AR ac_ct_AR RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP ac_libiberty_warn_cflags NO_MINUS_C_MINUS_O OUTPUT_OPTION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LIBOBJS CHECK target_header_dir pexecute INSTALL_DEST datarootdir docdir htmldir LTLIBOBJS'
1033 +ac_subst_vars='SHELL
1034 +PATH_SEPARATOR
1035 +PACKAGE_NAME
1036 +PACKAGE_TARNAME
1037 +PACKAGE_VERSION
1038 +PACKAGE_STRING
1039 +PACKAGE_BUGREPORT
1040 +exec_prefix
1041 +prefix
1042 +program_transform_name
1043 +bindir
1044 +sbindir
1045 +libexecdir
1046 +datarootdir
1047 +datadir
1048 +sysconfdir
1049 +sharedstatedir
1050 +localstatedir
1051 +includedir
1052 +oldincludedir
1053 +docdir
1054 +infodir
1055 +htmldir
1056 +dvidir
1057 +pdfdir
1058 +psdir
1059 +libdir
1060 +localedir
1061 +mandir
1062 +DEFS
1063 +ECHO_C
1064 +ECHO_N
1065 +ECHO_T
1066 +LIBS
1067 +build_alias
1068 +host_alias
1069 +target_alias
1070 +libiberty_topdir
1071 +MAINT
1072 +NOTMAINT
1073 +MAKEINFO
1074 +BUILD_INFO
1075 +PERL
1076 +HAVE_PERL
1077 +build
1078 +build_cpu
1079 +build_vendor
1080 +build_os
1081 +host
1082 +host_cpu
1083 +host_vendor
1084 +host_os
1085 +AR
1086 +RANLIB
1087 +CC
1088 +CFLAGS
1089 +LDFLAGS
1090 +CPPFLAGS
1091 +ac_ct_CC
1092 +EXEEXT
1093 +OBJEXT
1094 +CPP
1095 +ac_libiberty_warn_cflags
1096 +NO_MINUS_C_MINUS_O
1097 +OUTPUT_OPTION
1098 +GREP
1099 +EGREP
1100 +INSTALL_PROGRAM
1101 +INSTALL_SCRIPT
1102 +INSTALL_DATA
1103 +LIBOBJS
1104 +CHECK
1105 +target_header_dir
1106 +pexecute
1107 +INSTALL_DEST
1108 +LTLIBOBJS'
1109  ac_subst_files='host_makefile_frag'
1110 +      ac_precious_vars='build_alias
1111 +host_alias
1112 +target_alias
1113 +CC
1114 +CFLAGS
1115 +LDFLAGS
1116 +LIBS
1117 +CPPFLAGS
1118 +CPP'
1119 +
1120  
1121  # Initialize some variables set by options.
1122  ac_init_help=
1123 @@ -337,34 +726,48 @@
1124  # and all the variables that are supposed to be based on exec_prefix
1125  # by default will actually change.
1126  # Use braces instead of parens because sh, perl, etc. also accept them.
1127 +# (The list follows the same order as the GNU Coding Standards.)
1128  bindir='${exec_prefix}/bin'
1129  sbindir='${exec_prefix}/sbin'
1130  libexecdir='${exec_prefix}/libexec'
1131 -datadir='${prefix}/share'
1132 +datarootdir='${prefix}/share'
1133 +datadir='${datarootdir}'
1134  sysconfdir='${prefix}/etc'
1135  sharedstatedir='${prefix}/com'
1136  localstatedir='${prefix}/var'
1137 -libdir='${exec_prefix}/lib'
1138  includedir='${prefix}/include'
1139  oldincludedir='/usr/include'
1140 -infodir='${prefix}/info'
1141 -mandir='${prefix}/man'
1142 +docdir='${datarootdir}/doc/${PACKAGE}'
1143 +infodir='${datarootdir}/info'
1144 +htmldir='${docdir}'
1145 +dvidir='${docdir}'
1146 +pdfdir='${docdir}'
1147 +psdir='${docdir}'
1148 +libdir='${exec_prefix}/lib'
1149 +localedir='${datarootdir}/locale'
1150 +mandir='${datarootdir}/man'
1151  
1152  ac_prev=
1153 +ac_dashdash=
1154  for ac_option
1155  do
1156    # If the previous option needs an argument, assign it.
1157    if test -n "$ac_prev"; then
1158 -    eval "$ac_prev=\$ac_option"
1159 +    eval $ac_prev=\$ac_option
1160      ac_prev=
1161      continue
1162    fi
1163  
1164 -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1165 +  case $ac_option in
1166 +  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1167 +  *)   ac_optarg=yes ;;
1168 +  esac
1169  
1170    # Accept the important Cygnus configure options, so we can diagnose typos.
1171  
1172 -  case $ac_option in
1173 +  case $ac_dashdash$ac_option in
1174 +  --)
1175 +    ac_dashdash=yes ;;
1176  
1177    -bindir | --bindir | --bindi | --bind | --bin | --bi)
1178      ac_prev=bindir ;;
1179 @@ -386,33 +789,45 @@
1180    --config-cache | -C)
1181      cache_file=config.cache ;;
1182  
1183 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1184 +  -datadir | --datadir | --datadi | --datad)
1185      ac_prev=datadir ;;
1186 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1187 -  | --da=*)
1188 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1189      datadir=$ac_optarg ;;
1190  
1191 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1192 +  | --dataroo | --dataro | --datar)
1193 +    ac_prev=datarootdir ;;
1194 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1195 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1196 +    datarootdir=$ac_optarg ;;
1197 +
1198    -disable-* | --disable-*)
1199      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1200      # Reject names that are not valid shell variable names.
1201 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1202 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204     { (exit 1); exit 1; }; }
1205 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1206 -    eval "enable_$ac_feature=no" ;;
1207 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1208 +    eval enable_$ac_feature=no ;;
1209 +
1210 +  -docdir | --docdir | --docdi | --doc | --do)
1211 +    ac_prev=docdir ;;
1212 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1213 +    docdir=$ac_optarg ;;
1214 +
1215 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1216 +    ac_prev=dvidir ;;
1217 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1218 +    dvidir=$ac_optarg ;;
1219  
1220    -enable-* | --enable-*)
1221      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1222      # Reject names that are not valid shell variable names.
1223 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1224 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1226     { (exit 1); exit 1; }; }
1227 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1228 -    case $ac_option in
1229 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1230 -      *) ac_optarg=yes ;;
1231 -    esac
1232 -    eval "enable_$ac_feature='$ac_optarg'" ;;
1233 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1234 +    eval enable_$ac_feature=\$ac_optarg ;;
1235  
1236    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1237    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1238 @@ -439,6 +854,12 @@
1239    -host=* | --host=* | --hos=* | --ho=*)
1240      host_alias=$ac_optarg ;;
1241  
1242 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 +    ac_prev=htmldir ;;
1244 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1245 +  | --ht=*)
1246 +    htmldir=$ac_optarg ;;
1247 +
1248    -includedir | --includedir | --includedi | --included | --include \
1249    | --includ | --inclu | --incl | --inc)
1250      ac_prev=includedir ;;
1251 @@ -463,13 +884,16 @@
1252    | --libexe=* | --libex=* | --libe=*)
1253      libexecdir=$ac_optarg ;;
1254  
1255 +  -localedir | --localedir | --localedi | --localed | --locale)
1256 +    ac_prev=localedir ;;
1257 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1258 +    localedir=$ac_optarg ;;
1259 +
1260    -localstatedir | --localstatedir | --localstatedi | --localstated \
1261 -  | --localstate | --localstat | --localsta | --localst \
1262 -  | --locals | --local | --loca | --loc | --lo)
1263 +  | --localstate | --localstat | --localsta | --localst | --locals)
1264      ac_prev=localstatedir ;;
1265    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1266 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1267 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1268 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1269      localstatedir=$ac_optarg ;;
1270  
1271    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1272 @@ -534,6 +958,16 @@
1273    | --progr-tra=* | --program-tr=* | --program-t=*)
1274      program_transform_name=$ac_optarg ;;
1275  
1276 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1277 +    ac_prev=pdfdir ;;
1278 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1279 +    pdfdir=$ac_optarg ;;
1280 +
1281 +  -psdir | --psdir | --psdi | --psd | --ps)
1282 +    ac_prev=psdir ;;
1283 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1284 +    psdir=$ac_optarg ;;
1285 +
1286    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1287    | -silent | --silent | --silen | --sile | --sil)
1288      silent=yes ;;
1289 @@ -586,24 +1020,20 @@
1290    -with-* | --with-*)
1291      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1292      # Reject names that are not valid shell variable names.
1293 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1294 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295        { echo "$as_me: error: invalid package name: $ac_package" >&2
1296     { (exit 1); exit 1; }; }
1297 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
1298 -    case $ac_option in
1299 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1300 -      *) ac_optarg=yes ;;
1301 -    esac
1302 -    eval "with_$ac_package='$ac_optarg'" ;;
1303 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1304 +    eval with_$ac_package=\$ac_optarg ;;
1305  
1306    -without-* | --without-*)
1307      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1308      # Reject names that are not valid shell variable names.
1309 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1310 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311        { echo "$as_me: error: invalid package name: $ac_package" >&2
1312     { (exit 1); exit 1; }; }
1313 -    ac_package=`echo $ac_package | sed 's/-/_/g'`
1314 -    eval "with_$ac_package=no" ;;
1315 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1316 +    eval with_$ac_package=no ;;
1317  
1318    --x)
1319      # Obsolete; use --with-x.
1320 @@ -634,8 +1064,7 @@
1321      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1322        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1323     { (exit 1); exit 1; }; }
1324 -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1325 -    eval "$ac_envvar='$ac_optarg'"
1326 +    eval $ac_envvar=\$ac_optarg
1327      export $ac_envvar ;;
1328  
1329    *)
1330 @@ -655,27 +1084,19 @@
1331     { (exit 1); exit 1; }; }
1332  fi
1333  
1334 -# Be sure to have absolute paths.
1335 -for ac_var in exec_prefix prefix
1336 -do
1337 -  eval ac_val=$`echo $ac_var`
1338 -  case $ac_val in
1339 -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1340 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341 -   { (exit 1); exit 1; }; };;
1342 -  esac
1343 -done
1344 -
1345 -# Be sure to have absolute paths.
1346 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1347 -             localstatedir libdir includedir oldincludedir infodir mandir
1348 +# Be sure to have absolute directory names.
1349 +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 +               datadir sysconfdir sharedstatedir localstatedir includedir \
1351 +               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 +               libdir localedir mandir
1353  do
1354 -  eval ac_val=$`echo $ac_var`
1355 +  eval ac_val=\$$ac_var
1356    case $ac_val in
1357 -    [\\/$]* | ?:[\\/]* ) ;;
1358 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1359 -   { (exit 1); exit 1; }; };;
1360 +    [\\/$]* | ?:[\\/]* )  continue;;
1361 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1362    esac
1363 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1364 +   { (exit 1); exit 1; }; }
1365  done
1366  
1367  # There might be people who depend on the old broken behavior: `$host'
1368 @@ -702,74 +1123,76 @@
1369  test "$silent" = yes && exec 6>/dev/null
1370  
1371  
1372 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 +ac_ls_di=`ls -di .` &&
1374 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 +  { echo "$as_me: error: Working directory cannot be determined" >&2
1376 +   { (exit 1); exit 1; }; }
1377 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
1379 +   { (exit 1); exit 1; }; }
1380 +
1381 +
1382  # Find the source files, if location was not specified.
1383  if test -z "$srcdir"; then
1384    ac_srcdir_defaulted=yes
1385 -  # Try the directory containing this script, then its parent.
1386 -  ac_confdir=`(dirname "$0") 2>/dev/null ||
1387 +  # Try the directory containing this script, then the parent directory.
1388 +  ac_confdir=`$as_dirname -- "$0" ||
1389  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390          X"$0" : 'X\(//\)[^/]' \| \
1391          X"$0" : 'X\(//\)$' \| \
1392 -        X"$0" : 'X\(/\)' \| \
1393 -        .     : '\(.\)' 2>/dev/null ||
1394 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1395  echo X"$0" |
1396 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1397 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1398 -         /^X\(\/\/\)$/{ s//\1/; q; }
1399 -         /^X\(\/\).*/{ s//\1/; q; }
1400 -         s/.*/./; q'`
1401 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402 +           s//\1/
1403 +           q
1404 +         }
1405 +         /^X\(\/\/\)[^/].*/{
1406 +           s//\1/
1407 +           q
1408 +         }
1409 +         /^X\(\/\/\)$/{
1410 +           s//\1/
1411 +           q
1412 +         }
1413 +         /^X\(\/\).*/{
1414 +           s//\1/
1415 +           q
1416 +         }
1417 +         s/.*/./; q'`
1418    srcdir=$ac_confdir
1419 -  if test ! -r $srcdir/$ac_unique_file; then
1420 +  if test ! -r "$srcdir/$ac_unique_file"; then
1421      srcdir=..
1422    fi
1423  else
1424    ac_srcdir_defaulted=no
1425  fi
1426 -if test ! -r $srcdir/$ac_unique_file; then
1427 -  if test "$ac_srcdir_defaulted" = yes; then
1428 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1429 -   { (exit 1); exit 1; }; }
1430 -  else
1431 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1432 -   { (exit 1); exit 1; }; }
1433 -  fi
1434 -fi
1435 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1436 -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1437 -   { (exit 1); exit 1; }; }
1438 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1439 -ac_env_build_alias_set=${build_alias+set}
1440 -ac_env_build_alias_value=$build_alias
1441 -ac_cv_env_build_alias_set=${build_alias+set}
1442 -ac_cv_env_build_alias_value=$build_alias
1443 -ac_env_host_alias_set=${host_alias+set}
1444 -ac_env_host_alias_value=$host_alias
1445 -ac_cv_env_host_alias_set=${host_alias+set}
1446 -ac_cv_env_host_alias_value=$host_alias
1447 -ac_env_target_alias_set=${target_alias+set}
1448 -ac_env_target_alias_value=$target_alias
1449 -ac_cv_env_target_alias_set=${target_alias+set}
1450 -ac_cv_env_target_alias_value=$target_alias
1451 -ac_env_CC_set=${CC+set}
1452 -ac_env_CC_value=$CC
1453 -ac_cv_env_CC_set=${CC+set}
1454 -ac_cv_env_CC_value=$CC
1455 -ac_env_CFLAGS_set=${CFLAGS+set}
1456 -ac_env_CFLAGS_value=$CFLAGS
1457 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1458 -ac_cv_env_CFLAGS_value=$CFLAGS
1459 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1460 -ac_env_LDFLAGS_value=$LDFLAGS
1461 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1462 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1463 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1464 -ac_env_CPPFLAGS_value=$CPPFLAGS
1465 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1466 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1467 -ac_env_CPP_set=${CPP+set}
1468 -ac_env_CPP_value=$CPP
1469 -ac_cv_env_CPP_set=${CPP+set}
1470 -ac_cv_env_CPP_value=$CPP
1471 +if test ! -r "$srcdir/$ac_unique_file"; then
1472 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1473 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1474 +   { (exit 1); exit 1; }; }
1475 +fi
1476 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1477 +ac_abs_confdir=`(
1478 +       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1479 +   { (exit 1); exit 1; }; }
1480 +       pwd)`
1481 +# When building in place, set srcdir=.
1482 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1483 +  srcdir=.
1484 +fi
1485 +# Remove unnecessary trailing slashes from srcdir.
1486 +# Double slashes in file names in object file debugging info
1487 +# mess up M-x gdb in Emacs.
1488 +case $srcdir in
1489 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1490 +esac
1491 +for ac_var in $ac_precious_vars; do
1492 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1493 +  eval ac_env_${ac_var}_value=\$${ac_var}
1494 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1495 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1496 +done
1497  
1498  #
1499  # Report the --help message.
1500 @@ -798,9 +1221,6 @@
1501    -n, --no-create         do not create output files
1502        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1503  
1504 -_ACEOF
1505 -
1506 -  cat <<_ACEOF
1507  Installation directories:
1508    --prefix=PREFIX         install architecture-independent files in PREFIX
1509                           [$ac_default_prefix]
1510 @@ -818,15 +1238,22 @@
1511    --bindir=DIR           user executables [EPREFIX/bin]
1512    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1513    --libexecdir=DIR       program executables [EPREFIX/libexec]
1514 -  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1515    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1516    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1517    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1518    --libdir=DIR           object code libraries [EPREFIX/lib]
1519    --includedir=DIR       C header files [PREFIX/include]
1520    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1521 -  --infodir=DIR          info documentation [PREFIX/info]
1522 -  --mandir=DIR           man documentation [PREFIX/man]
1523 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1524 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1525 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
1526 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1527 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
1528 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1529 +  --htmldir=DIR          html documentation [DOCDIR]
1530 +  --dvidir=DIR           dvi documentation [DOCDIR]
1531 +  --pdfdir=DIR           pdf documentation [DOCDIR]
1532 +  --psdir=DIR            ps documentation [DOCDIR]
1533  _ACEOF
1534  
1535    cat <<\_ACEOF
1536 @@ -862,126 +1289,95 @@
1537    CFLAGS      C compiler flags
1538    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1539                nonstandard directory <lib dir>
1540 -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1541 -              headers in a nonstandard directory <include dir>
1542 +  LIBS        libraries to pass to the linker, e.g. -l<library>
1543 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 +              you have headers in a nonstandard directory <include dir>
1545    CPP         C preprocessor
1546  
1547  Use these variables to override the choices made by `configure' or to help
1548  it to find libraries and programs with nonstandard names/locations.
1549  
1550  _ACEOF
1551 +ac_status=$?
1552  fi
1553  
1554  if test "$ac_init_help" = "recursive"; then
1555    # If there are subdirs, report their specific --help.
1556 -  ac_popdir=`pwd`
1557    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1558 -    test -d $ac_dir || continue
1559 +    test -d "$ac_dir" || continue
1560      ac_builddir=.
1561  
1562 -if test "$ac_dir" != .; then
1563 +case "$ac_dir" in
1564 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 +*)
1566    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1567 -  # A "../" for each directory in $ac_dir_suffix.
1568 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1569 -else
1570 -  ac_dir_suffix= ac_top_builddir=
1571 -fi
1572 +  # A ".." for each directory in $ac_dir_suffix.
1573 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1574 +  case $ac_top_builddir_sub in
1575 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1577 +  esac ;;
1578 +esac
1579 +ac_abs_top_builddir=$ac_pwd
1580 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581 +# for backward compatibility:
1582 +ac_top_builddir=$ac_top_build_prefix
1583  
1584  case $srcdir in
1585 -  .)  # No --srcdir option.  We are building in place.
1586 +  .)  # We are building in place.
1587      ac_srcdir=.
1588 -    if test -z "$ac_top_builddir"; then
1589 -       ac_top_srcdir=.
1590 -    else
1591 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1592 -    fi ;;
1593 -  [\\/]* | ?:[\\/]* )  # Absolute path.
1594 +    ac_top_srcdir=$ac_top_builddir_sub
1595 +    ac_abs_top_srcdir=$ac_pwd ;;
1596 +  [\\/]* | ?:[\\/]* )  # Absolute name.
1597      ac_srcdir=$srcdir$ac_dir_suffix;
1598 -    ac_top_srcdir=$srcdir ;;
1599 -  *) # Relative path.
1600 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1601 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1602 -esac
1603 -
1604 -# Do not use `cd foo && pwd` to compute absolute paths, because
1605 -# the directories may not exist.
1606 -case `pwd` in
1607 -.) ac_abs_builddir="$ac_dir";;
1608 -*)
1609 -  case "$ac_dir" in
1610 -  .) ac_abs_builddir=`pwd`;;
1611 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1612 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1613 -  esac;;
1614 -esac
1615 -case $ac_abs_builddir in
1616 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1617 -*)
1618 -  case ${ac_top_builddir}. in
1619 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
1620 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1621 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1622 -  esac;;
1623 -esac
1624 -case $ac_abs_builddir in
1625 -.) ac_abs_srcdir=$ac_srcdir;;
1626 -*)
1627 -  case $ac_srcdir in
1628 -  .) ac_abs_srcdir=$ac_abs_builddir;;
1629 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1630 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1631 -  esac;;
1632 -esac
1633 -case $ac_abs_builddir in
1634 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1635 -*)
1636 -  case $ac_top_srcdir in
1637 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1638 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1639 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1640 -  esac;;
1641 -esac
1642 -
1643 -    cd $ac_dir
1644 -    # Check for guested configure; otherwise get Cygnus style configure.
1645 -    if test -f $ac_srcdir/configure.gnu; then
1646 -      echo
1647 -      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1648 -    elif test -f $ac_srcdir/configure; then
1649 -      echo
1650 -      $SHELL $ac_srcdir/configure  --help=recursive
1651 -    elif test -f $ac_srcdir/configure.ac ||
1652 -          test -f $ac_srcdir/configure.in; then
1653 -      echo
1654 -      $ac_configure --help
1655 +    ac_top_srcdir=$srcdir
1656 +    ac_abs_top_srcdir=$srcdir ;;
1657 +  *) # Relative name.
1658 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1661 +esac
1662 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1663 +
1664 +    cd "$ac_dir" || { ac_status=$?; continue; }
1665 +    # Check for guested configure.
1666 +    if test -f "$ac_srcdir/configure.gnu"; then
1667 +      echo &&
1668 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 +    elif test -f "$ac_srcdir/configure"; then
1670 +      echo &&
1671 +      $SHELL "$ac_srcdir/configure" --help=recursive
1672      else
1673        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1674 -    fi
1675 -    cd $ac_popdir
1676 +    fi || ac_status=$?
1677 +    cd "$ac_pwd" || { ac_status=$?; break; }
1678    done
1679  fi
1680  
1681 -test -n "$ac_init_help" && exit 0
1682 +test -n "$ac_init_help" && exit $ac_status
1683  if $ac_init_version; then
1684    cat <<\_ACEOF
1685 +configure
1686 +generated by GNU Autoconf 2.61
1687  
1688 -Copyright (C) 2003 Free Software Foundation, Inc.
1689 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1690 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1691  This configure script is free software; the Free Software Foundation
1692  gives unlimited permission to copy, distribute and modify it.
1693  _ACEOF
1694 -  exit 0
1695 +  exit
1696  fi
1697 -exec 5>config.log
1698 -cat >&5 <<_ACEOF
1699 +cat >config.log <<_ACEOF
1700  This file contains any messages produced by compilers while
1701  running configure, to aid debugging if configure makes a mistake.
1702  
1703  It was created by $as_me, which was
1704 -generated by GNU Autoconf 2.59.  Invocation command line was
1705 +generated by GNU Autoconf 2.61.  Invocation command line was
1706  
1707    $ $0 $@
1708  
1709  _ACEOF
1710 +exec 5>>config.log
1711  {
1712  cat <<_ASUNAME
1713  ## --------- ##
1714 @@ -1000,7 +1396,7 @@
1715  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1716  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1717  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1718 -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1719 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1720  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1721  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1722  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1723 @@ -1014,6 +1410,7 @@
1724    test -z "$as_dir" && as_dir=.
1725    echo "PATH: $as_dir"
1726  done
1727 +IFS=$as_save_IFS
1728  
1729  } >&5
1730  
1731 @@ -1035,7 +1432,6 @@
1732  ac_configure_args=
1733  ac_configure_args0=
1734  ac_configure_args1=
1735 -ac_sep=
1736  ac_must_keep_next=false
1737  for ac_pass in 1 2
1738  do
1739 @@ -1046,7 +1442,7 @@
1740      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741      | -silent | --silent | --silen | --sile | --sil)
1742        continue ;;
1743 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1744 +    *\'*)
1745        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1746      esac
1747      case $ac_pass in
1748 @@ -1068,9 +1464,7 @@
1749           -* ) ac_must_keep_next=true ;;
1750         esac
1751        fi
1752 -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1753 -      # Get rid of the leading space.
1754 -      ac_sep=" "
1755 +      ac_configure_args="$ac_configure_args '$ac_arg'"
1756        ;;
1757      esac
1758    done
1759 @@ -1081,8 +1475,8 @@
1760  # When interrupted or exit'd, cleanup temporary files, and complete
1761  # config.log.  We remove comments because anyway the quotes in there
1762  # would cause problems or look ugly.
1763 -# WARNING: Be sure not to use single quotes in there, as some shells,
1764 -# such as our DU 5.0 friend, will then `close' the trap.
1765 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1766 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1767  trap 'exit_status=$?
1768    # Save into config.log some information that might help in debugging.
1769    {
1770 @@ -1095,20 +1489,34 @@
1771  _ASBOX
1772      echo
1773      # The following way of writing the cache mishandles newlines in values,
1774 -{
1775 +(
1776 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1777 +    eval ac_val=\$$ac_var
1778 +    case $ac_val in #(
1779 +    *${as_nl}*)
1780 +      case $ac_var in #(
1781 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1782 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1783 +      esac
1784 +      case $ac_var in #(
1785 +      _ | IFS | as_nl) ;; #(
1786 +      *) $as_unset $ac_var ;;
1787 +      esac ;;
1788 +    esac
1789 +  done
1790    (set) 2>&1 |
1791 -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1792 -    *ac_space=\ *)
1793 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1794 +    *${as_nl}ac_space=\ *)
1795        sed -n \
1796 -       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1797 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1798 -      ;;
1799 +       "s/'\''/'\''\\\\'\'''\''/g;
1800 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1801 +      ;; #(
1802      *)
1803 -      sed -n \
1804 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1805 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1806        ;;
1807 -    esac;
1808 -}
1809 +    esac |
1810 +    sort
1811 +)
1812      echo
1813  
1814      cat <<\_ASBOX
1815 @@ -1119,22 +1527,28 @@
1816      echo
1817      for ac_var in $ac_subst_vars
1818      do
1819 -      eval ac_val=$`echo $ac_var`
1820 -      echo "$ac_var='"'"'$ac_val'"'"'"
1821 +      eval ac_val=\$$ac_var
1822 +      case $ac_val in
1823 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824 +      esac
1825 +      echo "$ac_var='\''$ac_val'\''"
1826      done | sort
1827      echo
1828  
1829      if test -n "$ac_subst_files"; then
1830        cat <<\_ASBOX
1831 -## ------------- ##
1832 -## Output files. ##
1833 -## ------------- ##
1834 +## ------------------- ##
1835 +## File substitutions. ##
1836 +## ------------------- ##
1837  _ASBOX
1838        echo
1839        for ac_var in $ac_subst_files
1840        do
1841 -       eval ac_val=$`echo $ac_var`
1842 -       echo "$ac_var='"'"'$ac_val'"'"'"
1843 +       eval ac_val=\$$ac_var
1844 +       case $ac_val in
1845 +       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846 +       esac
1847 +       echo "$ac_var='\''$ac_val'\''"
1848        done | sort
1849        echo
1850      fi
1851 @@ -1146,26 +1560,24 @@
1852  ## ----------- ##
1853  _ASBOX
1854        echo
1855 -      sed "/^$/d" confdefs.h | sort
1856 +      cat confdefs.h
1857        echo
1858      fi
1859      test "$ac_signal" != 0 &&
1860        echo "$as_me: caught signal $ac_signal"
1861      echo "$as_me: exit $exit_status"
1862    } >&5
1863 -  rm -f core *.core &&
1864 -  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1865 +  rm -f core *.core core.conftest.* &&
1866 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1867      exit $exit_status
1868 -     ' 0
1869 +' 0
1870  for ac_signal in 1 2 13 15; do
1871    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1872  done
1873  ac_signal=0
1874  
1875  # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 -rm -rf conftest* confdefs.h
1877 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1878 -echo >confdefs.h
1879 +rm -f -r conftest* confdefs.h
1880  
1881  # Predefined preprocessor variables.
1882  
1883 @@ -1196,14 +1608,17 @@
1884  
1885  # Let the site file select an alternate cache file if it wants to.
1886  # Prefer explicitly selected file to automatically selected ones.
1887 -if test -z "$CONFIG_SITE"; then
1888 -  if test "x$prefix" != xNONE; then
1889 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1890 -  else
1891 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1892 -  fi
1893 +if test -n "$CONFIG_SITE"; then
1894 +  set x "$CONFIG_SITE"
1895 +elif test "x$prefix" != xNONE; then
1896 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1897 +else
1898 +  set x "$ac_default_prefix/share/config.site" \
1899 +       "$ac_default_prefix/etc/config.site"
1900  fi
1901 -for ac_site_file in $CONFIG_SITE; do
1902 +shift
1903 +for ac_site_file
1904 +do
1905    if test -r "$ac_site_file"; then
1906      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1907  echo "$as_me: loading site script $ac_site_file" >&6;}
1908 @@ -1219,8 +1634,8 @@
1909      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1910  echo "$as_me: loading cache $cache_file" >&6;}
1911      case $cache_file in
1912 -      [\\/]* | ?:[\\/]* ) . $cache_file;;
1913 -      *)                      . ./$cache_file;;
1914 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1915 +      *)                      . "./$cache_file";;
1916      esac
1917    fi
1918  else
1919 @@ -1232,12 +1647,11 @@
1920  # Check that the precious variables saved in the cache have kept the same
1921  # value.
1922  ac_cache_corrupted=false
1923 -for ac_var in `(set) 2>&1 |
1924 -              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1925 +for ac_var in $ac_precious_vars; do
1926    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1927    eval ac_new_set=\$ac_env_${ac_var}_set
1928 -  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1929 -  eval ac_new_val="\$ac_env_${ac_var}_value"
1930 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1931 +  eval ac_new_val=\$ac_env_${ac_var}_value
1932    case $ac_old_set,$ac_new_set in
1933      set,)
1934        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1935 @@ -1262,8 +1676,7 @@
1936    # Pass precious variables to config.status.
1937    if test "$ac_new_set" = set; then
1938      case $ac_new_val in
1939 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1940 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1942      *) ac_arg=$ac_var=$ac_new_val ;;
1943      esac
1944      case " $ac_configure_args " in
1945 @@ -1280,12 +1693,6 @@
1946     { (exit 1); exit 1; }; }
1947  fi
1948  
1949 -ac_ext=c
1950 -ac_cpp='$CPP $CPPFLAGS'
1951 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1952 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1953 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1954 -
1955  
1956  
1957  
1958 @@ -1302,6 +1709,11 @@
1959  
1960  
1961  
1962 +ac_ext=c
1963 +ac_cpp='$CPP $CPPFLAGS'
1964 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1965 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1966 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1967  
1968  
1969  
1970 @@ -1313,29 +1725,29 @@
1971  ORIGINAL_LD_FOR_MULTILIBS=$LD
1972  
1973  
1974 -# Check whether --with-target-subdir or --without-target-subdir was given.
1975 +# Check whether --with-target-subdir was given.
1976  if test "${with_target_subdir+set}" = set; then
1977 -  withval="$with_target_subdir"
1978 +  withval=$with_target_subdir;
1979 +fi
1980  
1981 -fi;
1982  
1983 -# Check whether --with-build-subdir or --without-build-subdir was given.
1984 +# Check whether --with-build-subdir was given.
1985  if test "${with_build_subdir+set}" = set; then
1986 -  withval="$with_build_subdir"
1987 +  withval=$with_build_subdir;
1988 +fi
1989  
1990 -fi;
1991  
1992 -# Check whether --with-cross-host or --without-cross-host was given.
1993 +# Check whether --with-cross-host was given.
1994  if test "${with_cross_host+set}" = set; then
1995 -  withval="$with_cross_host"
1996 +  withval=$with_cross_host;
1997 +fi
1998  
1999 -fi;
2000  
2001 -# Check whether --with-newlib or --without-newlib was given.
2002 +# Check whether --with-newlib was given.
2003  if test "${with_newlib+set}" = set; then
2004 -  withval="$with_newlib"
2005 +  withval=$with_newlib;
2006 +fi
2007  
2008 -fi;
2009  
2010  if test "${srcdir}" = "."; then
2011    if test -n "${with_build_subdir}"; then
2012 @@ -1355,44 +1767,50 @@
2013  fi
2014  
2015  ac_aux_dir=
2016 -for ac_dir in $libiberty_topdir $srcdir/$libiberty_topdir; do
2017 -  if test -f $ac_dir/install-sh; then
2018 +for ac_dir in $libiberty_topdir "$srcdir"/$libiberty_topdir; do
2019 +  if test -f "$ac_dir/install-sh"; then
2020      ac_aux_dir=$ac_dir
2021      ac_install_sh="$ac_aux_dir/install-sh -c"
2022      break
2023 -  elif test -f $ac_dir/install.sh; then
2024 +  elif test -f "$ac_dir/install.sh"; then
2025      ac_aux_dir=$ac_dir
2026      ac_install_sh="$ac_aux_dir/install.sh -c"
2027      break
2028 -  elif test -f $ac_dir/shtool; then
2029 +  elif test -f "$ac_dir/shtool"; then
2030      ac_aux_dir=$ac_dir
2031      ac_install_sh="$ac_aux_dir/shtool install -c"
2032      break
2033    fi
2034  done
2035  if test -z "$ac_aux_dir"; then
2036 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libiberty_topdir $srcdir/$libiberty_topdir" >&5
2037 -echo "$as_me: error: cannot find install-sh or install.sh in $libiberty_topdir $srcdir/$libiberty_topdir" >&2;}
2038 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libiberty_topdir \"$srcdir\"/$libiberty_topdir" >&5
2039 +echo "$as_me: error: cannot find install-sh or install.sh in $libiberty_topdir \"$srcdir\"/$libiberty_topdir" >&2;}
2040     { (exit 1); exit 1; }; }
2041  fi
2042 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2043 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2044 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2045 +
2046 +# These three variables are undocumented and unsupported,
2047 +# and are intended to be withdrawn in a future Autoconf release.
2048 +# They can cause serious problems if a builder's source tree is in a directory
2049 +# whose full name contains unusual characters.
2050 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2051 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2052 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2053 +
2054  
2055  
2056  
2057 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2058 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2059 -    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2060 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2061 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2062 +    # Check whether --enable-maintainer-mode was given.
2063  if test "${enable_maintainer_mode+set}" = set; then
2064 -  enableval="$enable_maintainer_mode"
2065 -  maintainer_mode=$enableval
2066 +  enableval=$enable_maintainer_mode; maintainer_mode=$enableval
2067  else
2068    maintainer_mode=no
2069 -fi;
2070 +fi
2071  
2072 -echo "$as_me:$LINENO: result: $maintainer_mode" >&5
2073 -echo "${ECHO_T}$maintainer_mode" >&6
2074 +
2075 +{ echo "$as_me:$LINENO: result: $maintainer_mode" >&5
2076 +echo "${ECHO_T}$maintainer_mode" >&6; }
2077  
2078  if test "$maintainer_mode" = "yes"; then
2079    MAINT=''
2080 @@ -1406,8 +1824,8 @@
2081  # rely on it - libiberty is built before texinfo.
2082  # Extract the first word of "makeinfo", so it can be a program name with args.
2083  set dummy makeinfo; ac_word=$2
2084 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088  if test "${ac_cv_prog_MAKEINFO+set}" = set; then
2089    echo $ECHO_N "(cached) $ECHO_C" >&6
2090  else
2091 @@ -1420,25 +1838,27 @@
2092    IFS=$as_save_IFS
2093    test -z "$as_dir" && as_dir=.
2094    for ac_exec_ext in '' $ac_executable_extensions; do
2095 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097      ac_cv_prog_MAKEINFO="makeinfo"
2098      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099      break 2
2100    fi
2101  done
2102  done
2103 +IFS=$as_save_IFS
2104  
2105  fi
2106  fi
2107  MAKEINFO=$ac_cv_prog_MAKEINFO
2108  if test -n "$MAKEINFO"; then
2109 -  echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2110 -echo "${ECHO_T}$MAKEINFO" >&6
2111 +  { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2112 +echo "${ECHO_T}$MAKEINFO" >&6; }
2113  else
2114 -  echo "$as_me:$LINENO: result: no" >&5
2115 -echo "${ECHO_T}no" >&6
2116 +  { echo "$as_me:$LINENO: result: no" >&5
2117 +echo "${ECHO_T}no" >&6; }
2118  fi
2119  
2120 +
2121  if test "x$MAKEINFO" = "x"; then
2122      MAKEINFO="@echo makeinfo missing; true"
2123      BUILD_INFO=
2124 @@ -1471,8 +1891,8 @@
2125  
2126  # Extract the first word of "perl", so it can be a program name with args.
2127  set dummy perl; ac_word=$2
2128 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132  if test "${ac_cv_prog_PERL+set}" = set; then
2133    echo $ECHO_N "(cached) $ECHO_C" >&6
2134  else
2135 @@ -1485,25 +1905,27 @@
2136    IFS=$as_save_IFS
2137    test -z "$as_dir" && as_dir=.
2138    for ac_exec_ext in '' $ac_executable_extensions; do
2139 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141      ac_cv_prog_PERL="perl"
2142      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143      break 2
2144    fi
2145  done
2146  done
2147 +IFS=$as_save_IFS
2148  
2149  fi
2150  fi
2151  PERL=$ac_cv_prog_PERL
2152  if test -n "$PERL"; then
2153 -  echo "$as_me:$LINENO: result: $PERL" >&5
2154 -echo "${ECHO_T}$PERL" >&6
2155 +  { echo "$as_me:$LINENO: result: $PERL" >&5
2156 +echo "${ECHO_T}$PERL" >&6; }
2157  else
2158 -  echo "$as_me:$LINENO: result: no" >&5
2159 -echo "${ECHO_T}no" >&6
2160 +  { echo "$as_me:$LINENO: result: no" >&5
2161 +echo "${ECHO_T}no" >&6; }
2162  fi
2163  
2164 +
2165  if test x"$PERL" = x""; then
2166    HAVE_PERL='#'
2167  else
2168 @@ -1512,57 +1934,86 @@
2169  
2170  
2171  # Make sure we can run config.sub.
2172 -$ac_config_sub sun4 >/dev/null 2>&1 ||
2173 -  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2174 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2175 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2176 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2177 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2178     { (exit 1); exit 1; }; }
2179  
2180 -echo "$as_me:$LINENO: checking build system type" >&5
2181 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
2182 +{ echo "$as_me:$LINENO: checking build system type" >&5
2183 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2184  if test "${ac_cv_build+set}" = set; then
2185    echo $ECHO_N "(cached) $ECHO_C" >&6
2186  else
2187 -  ac_cv_build_alias=$build_alias
2188 -test -z "$ac_cv_build_alias" &&
2189 -  ac_cv_build_alias=`$ac_config_guess`
2190 -test -z "$ac_cv_build_alias" &&
2191 +  ac_build_alias=$build_alias
2192 +test "x$ac_build_alias" = x &&
2193 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2194 +test "x$ac_build_alias" = x &&
2195    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2196  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2197     { (exit 1); exit 1; }; }
2198 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2199 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2200 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2201 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2202 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2203 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2204     { (exit 1); exit 1; }; }
2205  
2206  fi
2207 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2208 -echo "${ECHO_T}$ac_cv_build" >&6
2209 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2210 +echo "${ECHO_T}$ac_cv_build" >&6; }
2211 +case $ac_cv_build in
2212 +*-*-*) ;;
2213 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2214 +echo "$as_me: error: invalid value of canonical build" >&2;}
2215 +   { (exit 1); exit 1; }; };;
2216 +esac
2217  build=$ac_cv_build
2218 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2219 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2220 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2221 +ac_save_IFS=$IFS; IFS='-'
2222 +set x $ac_cv_build
2223 +shift
2224 +build_cpu=$1
2225 +build_vendor=$2
2226 +shift; shift
2227 +# Remember, the first character of IFS is used to create $*,
2228 +# except with old shells:
2229 +build_os=$*
2230 +IFS=$ac_save_IFS
2231 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2232  
2233  
2234 -echo "$as_me:$LINENO: checking host system type" >&5
2235 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2236 +{ echo "$as_me:$LINENO: checking host system type" >&5
2237 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2238  if test "${ac_cv_host+set}" = set; then
2239    echo $ECHO_N "(cached) $ECHO_C" >&6
2240  else
2241 -  ac_cv_host_alias=$host_alias
2242 -test -z "$ac_cv_host_alias" &&
2243 -  ac_cv_host_alias=$ac_cv_build_alias
2244 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2245 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2246 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2247 +  if test "x$host_alias" = x; then
2248 +  ac_cv_host=$ac_cv_build
2249 +else
2250 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2251 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2252 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2253     { (exit 1); exit 1; }; }
2254 +fi
2255  
2256  fi
2257 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2258 -echo "${ECHO_T}$ac_cv_host" >&6
2259 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2260 +echo "${ECHO_T}$ac_cv_host" >&6; }
2261 +case $ac_cv_host in
2262 +*-*-*) ;;
2263 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2264 +echo "$as_me: error: invalid value of canonical host" >&2;}
2265 +   { (exit 1); exit 1; }; };;
2266 +esac
2267  host=$ac_cv_host
2268 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2269 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2270 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2271 +ac_save_IFS=$IFS; IFS='-'
2272 +set x $ac_cv_host
2273 +shift
2274 +host_cpu=$1
2275 +host_vendor=$2
2276 +shift; shift
2277 +# Remember, the first character of IFS is used to create $*,
2278 +# except with old shells:
2279 +host_os=$*
2280 +IFS=$ac_save_IFS
2281 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2282  
2283  
2284  
2285 @@ -1570,8 +2021,8 @@
2286  if test -n "$ac_tool_prefix"; then
2287    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2288  set dummy ${ac_tool_prefix}ar; ac_word=$2
2289 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293  if test "${ac_cv_prog_AR+set}" = set; then
2294    echo $ECHO_N "(cached) $ECHO_C" >&6
2295  else
2296 @@ -1584,32 +2035,34 @@
2297    IFS=$as_save_IFS
2298    test -z "$as_dir" && as_dir=.
2299    for ac_exec_ext in '' $ac_executable_extensions; do
2300 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2301 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302      ac_cv_prog_AR="${ac_tool_prefix}ar"
2303      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304      break 2
2305    fi
2306  done
2307  done
2308 +IFS=$as_save_IFS
2309  
2310  fi
2311  fi
2312  AR=$ac_cv_prog_AR
2313  if test -n "$AR"; then
2314 -  echo "$as_me:$LINENO: result: $AR" >&5
2315 -echo "${ECHO_T}$AR" >&6
2316 +  { echo "$as_me:$LINENO: result: $AR" >&5
2317 +echo "${ECHO_T}$AR" >&6; }
2318  else
2319 -  echo "$as_me:$LINENO: result: no" >&5
2320 -echo "${ECHO_T}no" >&6
2321 +  { echo "$as_me:$LINENO: result: no" >&5
2322 +echo "${ECHO_T}no" >&6; }
2323  fi
2324  
2325 +
2326  fi
2327  if test -z "$ac_cv_prog_AR"; then
2328    ac_ct_AR=$AR
2329    # Extract the first word of "ar", so it can be a program name with args.
2330  set dummy ar; ac_word=$2
2331 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2333 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335  if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2336    echo $ECHO_N "(cached) $ECHO_C" >&6
2337  else
2338 @@ -1622,26 +2075,41 @@
2339    IFS=$as_save_IFS
2340    test -z "$as_dir" && as_dir=.
2341    for ac_exec_ext in '' $ac_executable_extensions; do
2342 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2343 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344      ac_cv_prog_ac_ct_AR="ar"
2345      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346      break 2
2347    fi
2348  done
2349  done
2350 +IFS=$as_save_IFS
2351  
2352  fi
2353  fi
2354  ac_ct_AR=$ac_cv_prog_ac_ct_AR
2355  if test -n "$ac_ct_AR"; then
2356 -  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2357 -echo "${ECHO_T}$ac_ct_AR" >&6
2358 +  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2359 +echo "${ECHO_T}$ac_ct_AR" >&6; }
2360  else
2361 -  echo "$as_me:$LINENO: result: no" >&5
2362 -echo "${ECHO_T}no" >&6
2363 +  { echo "$as_me:$LINENO: result: no" >&5
2364 +echo "${ECHO_T}no" >&6; }
2365  fi
2366  
2367 -  AR=$ac_ct_AR
2368 +  if test "x$ac_ct_AR" = x; then
2369 +    AR=""
2370 +  else
2371 +    case $cross_compiling:$ac_tool_warned in
2372 +yes:)
2373 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 +whose name does not start with the host triplet.  If you think this
2375 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 +whose name does not start with the host triplet.  If you think this
2378 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 +ac_tool_warned=yes ;;
2380 +esac
2381 +    AR=$ac_ct_AR
2382 +  fi
2383  else
2384    AR="$ac_cv_prog_AR"
2385  fi
2386 @@ -1649,8 +2117,8 @@
2387  if test -n "$ac_tool_prefix"; then
2388    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2389  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2390 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2394  if test "${ac_cv_prog_RANLIB+set}" = set; then
2395    echo $ECHO_N "(cached) $ECHO_C" >&6
2396  else
2397 @@ -1663,32 +2131,34 @@
2398    IFS=$as_save_IFS
2399    test -z "$as_dir" && as_dir=.
2400    for ac_exec_ext in '' $ac_executable_extensions; do
2401 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2404      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405      break 2
2406    fi
2407  done
2408  done
2409 +IFS=$as_save_IFS
2410  
2411  fi
2412  fi
2413  RANLIB=$ac_cv_prog_RANLIB
2414  if test -n "$RANLIB"; then
2415 -  echo "$as_me:$LINENO: result: $RANLIB" >&5
2416 -echo "${ECHO_T}$RANLIB" >&6
2417 +  { echo "$as_me:$LINENO: result: $RANLIB" >&5
2418 +echo "${ECHO_T}$RANLIB" >&6; }
2419  else
2420 -  echo "$as_me:$LINENO: result: no" >&5
2421 -echo "${ECHO_T}no" >&6
2422 +  { echo "$as_me:$LINENO: result: no" >&5
2423 +echo "${ECHO_T}no" >&6; }
2424  fi
2425  
2426 +
2427  fi
2428  if test -z "$ac_cv_prog_RANLIB"; then
2429    ac_ct_RANLIB=$RANLIB
2430    # Extract the first word of "ranlib", so it can be a program name with args.
2431  set dummy ranlib; ac_word=$2
2432 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2437    echo $ECHO_N "(cached) $ECHO_C" >&6
2438  else
2439 @@ -1701,27 +2171,41 @@
2440    IFS=$as_save_IFS
2441    test -z "$as_dir" && as_dir=.
2442    for ac_exec_ext in '' $ac_executable_extensions; do
2443 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445      ac_cv_prog_ac_ct_RANLIB="ranlib"
2446      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447      break 2
2448    fi
2449  done
2450  done
2451 +IFS=$as_save_IFS
2452  
2453 -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2454  fi
2455  fi
2456  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2457  if test -n "$ac_ct_RANLIB"; then
2458 -  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2459 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
2460 +  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2461 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2462  else
2463 -  echo "$as_me:$LINENO: result: no" >&5
2464 -echo "${ECHO_T}no" >&6
2465 +  { echo "$as_me:$LINENO: result: no" >&5
2466 +echo "${ECHO_T}no" >&6; }
2467  fi
2468  
2469 -  RANLIB=$ac_ct_RANLIB
2470 +  if test "x$ac_ct_RANLIB" = x; then
2471 +    RANLIB=":"
2472 +  else
2473 +    case $cross_compiling:$ac_tool_warned in
2474 +yes:)
2475 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2476 +whose name does not start with the host triplet.  If you think this
2477 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2478 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2479 +whose name does not start with the host triplet.  If you think this
2480 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2481 +ac_tool_warned=yes ;;
2482 +esac
2483 +    RANLIB=$ac_ct_RANLIB
2484 +  fi
2485  else
2486    RANLIB="$ac_cv_prog_RANLIB"
2487  fi
2488 @@ -1736,8 +2220,8 @@
2489  if test -n "$ac_tool_prefix"; then
2490    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491  set dummy ${ac_tool_prefix}gcc; ac_word=$2
2492 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2495 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496  if test "${ac_cv_prog_CC+set}" = set; then
2497    echo $ECHO_N "(cached) $ECHO_C" >&6
2498  else
2499 @@ -1750,32 +2234,34 @@
2500    IFS=$as_save_IFS
2501    test -z "$as_dir" && as_dir=.
2502    for ac_exec_ext in '' $ac_executable_extensions; do
2503 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2504 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505      ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507      break 2
2508    fi
2509  done
2510  done
2511 +IFS=$as_save_IFS
2512  
2513  fi
2514  fi
2515  CC=$ac_cv_prog_CC
2516  if test -n "$CC"; then
2517 -  echo "$as_me:$LINENO: result: $CC" >&5
2518 -echo "${ECHO_T}$CC" >&6
2519 +  { echo "$as_me:$LINENO: result: $CC" >&5
2520 +echo "${ECHO_T}$CC" >&6; }
2521  else
2522 -  echo "$as_me:$LINENO: result: no" >&5
2523 -echo "${ECHO_T}no" >&6
2524 +  { echo "$as_me:$LINENO: result: no" >&5
2525 +echo "${ECHO_T}no" >&6; }
2526  fi
2527  
2528 +
2529  fi
2530  if test -z "$ac_cv_prog_CC"; then
2531    ac_ct_CC=$CC
2532    # Extract the first word of "gcc", so it can be a program name with args.
2533  set dummy gcc; ac_word=$2
2534 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2536 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2537 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2538  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2539    echo $ECHO_N "(cached) $ECHO_C" >&6
2540  else
2541 @@ -1788,36 +2274,51 @@
2542    IFS=$as_save_IFS
2543    test -z "$as_dir" && as_dir=.
2544    for ac_exec_ext in '' $ac_executable_extensions; do
2545 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547      ac_cv_prog_ac_ct_CC="gcc"
2548      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549      break 2
2550    fi
2551  done
2552  done
2553 +IFS=$as_save_IFS
2554  
2555  fi
2556  fi
2557  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558  if test -n "$ac_ct_CC"; then
2559 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 -echo "${ECHO_T}$ac_ct_CC" >&6
2561 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2563  else
2564 -  echo "$as_me:$LINENO: result: no" >&5
2565 -echo "${ECHO_T}no" >&6
2566 +  { echo "$as_me:$LINENO: result: no" >&5
2567 +echo "${ECHO_T}no" >&6; }
2568  fi
2569  
2570 -  CC=$ac_ct_CC
2571 +  if test "x$ac_ct_CC" = x; then
2572 +    CC=""
2573 +  else
2574 +    case $cross_compiling:$ac_tool_warned in
2575 +yes:)
2576 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2577 +whose name does not start with the host triplet.  If you think this
2578 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2579 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2580 +whose name does not start with the host triplet.  If you think this
2581 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2582 +ac_tool_warned=yes ;;
2583 +esac
2584 +    CC=$ac_ct_CC
2585 +  fi
2586  else
2587    CC="$ac_cv_prog_CC"
2588  fi
2589  
2590  if test -z "$CC"; then
2591 -  if test -n "$ac_tool_prefix"; then
2592 -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593 +          if test -n "$ac_tool_prefix"; then
2594 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2595  set dummy ${ac_tool_prefix}cc; ac_word=$2
2596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2600  if test "${ac_cv_prog_CC+set}" = set; then
2601    echo $ECHO_N "(cached) $ECHO_C" >&6
2602  else
2603 @@ -1830,74 +2331,34 @@
2604    IFS=$as_save_IFS
2605    test -z "$as_dir" && as_dir=.
2606    for ac_exec_ext in '' $ac_executable_extensions; do
2607 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609      ac_cv_prog_CC="${ac_tool_prefix}cc"
2610      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611      break 2
2612    fi
2613  done
2614  done
2615 +IFS=$as_save_IFS
2616  
2617  fi
2618  fi
2619  CC=$ac_cv_prog_CC
2620  if test -n "$CC"; then
2621 -  echo "$as_me:$LINENO: result: $CC" >&5
2622 -echo "${ECHO_T}$CC" >&6
2623 +  { echo "$as_me:$LINENO: result: $CC" >&5
2624 +echo "${ECHO_T}$CC" >&6; }
2625  else
2626 -  echo "$as_me:$LINENO: result: no" >&5
2627 -echo "${ECHO_T}no" >&6
2628 +  { echo "$as_me:$LINENO: result: no" >&5
2629 +echo "${ECHO_T}no" >&6; }
2630  fi
2631  
2632 -fi
2633 -if test -z "$ac_cv_prog_CC"; then
2634 -  ac_ct_CC=$CC
2635 -  # Extract the first word of "cc", so it can be a program name with args.
2636 -set dummy cc; ac_word=$2
2637 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2639 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2640 -  echo $ECHO_N "(cached) $ECHO_C" >&6
2641 -else
2642 -  if test -n "$ac_ct_CC"; then
2643 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2644 -else
2645 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 -for as_dir in $PATH
2647 -do
2648 -  IFS=$as_save_IFS
2649 -  test -z "$as_dir" && as_dir=.
2650 -  for ac_exec_ext in '' $ac_executable_extensions; do
2651 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 -    ac_cv_prog_ac_ct_CC="cc"
2653 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 -    break 2
2655 -  fi
2656 -done
2657 -done
2658 -
2659 -fi
2660 -fi
2661 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2662 -if test -n "$ac_ct_CC"; then
2663 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2664 -echo "${ECHO_T}$ac_ct_CC" >&6
2665 -else
2666 -  echo "$as_me:$LINENO: result: no" >&5
2667 -echo "${ECHO_T}no" >&6
2668 -fi
2669 -
2670 -  CC=$ac_ct_CC
2671 -else
2672 -  CC="$ac_cv_prog_CC"
2673 -fi
2674  
2675 +  fi
2676  fi
2677  if test -z "$CC"; then
2678    # Extract the first word of "cc", so it can be a program name with args.
2679  set dummy cc; ac_word=$2
2680 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2682 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684  if test "${ac_cv_prog_CC+set}" = set; then
2685    echo $ECHO_N "(cached) $ECHO_C" >&6
2686  else
2687 @@ -1911,7 +2372,7 @@
2688    IFS=$as_save_IFS
2689    test -z "$as_dir" && as_dir=.
2690    for ac_exec_ext in '' $ac_executable_extensions; do
2691 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694         ac_prog_rejected=yes
2695         continue
2696 @@ -1922,6 +2383,7 @@
2697    fi
2698  done
2699  done
2700 +IFS=$as_save_IFS
2701  
2702  if test $ac_prog_rejected = yes; then
2703    # We found a bogon in the path, so make sure we never use it.
2704 @@ -1939,22 +2401,23 @@
2705  fi
2706  CC=$ac_cv_prog_CC
2707  if test -n "$CC"; then
2708 -  echo "$as_me:$LINENO: result: $CC" >&5
2709 -echo "${ECHO_T}$CC" >&6
2710 +  { echo "$as_me:$LINENO: result: $CC" >&5
2711 +echo "${ECHO_T}$CC" >&6; }
2712  else
2713 -  echo "$as_me:$LINENO: result: no" >&5
2714 -echo "${ECHO_T}no" >&6
2715 +  { echo "$as_me:$LINENO: result: no" >&5
2716 +echo "${ECHO_T}no" >&6; }
2717  fi
2718  
2719 +
2720  fi
2721  if test -z "$CC"; then
2722    if test -n "$ac_tool_prefix"; then
2723 -  for ac_prog in cl
2724 +  for ac_prog in cl.exe
2725    do
2726      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2727  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2728 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2729 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2730 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2732  if test "${ac_cv_prog_CC+set}" = set; then
2733    echo $ECHO_N "(cached) $ECHO_C" >&6
2734  else
2735 @@ -1967,36 +2430,38 @@
2736    IFS=$as_save_IFS
2737    test -z "$as_dir" && as_dir=.
2738    for ac_exec_ext in '' $ac_executable_extensions; do
2739 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2743      break 2
2744    fi
2745  done
2746  done
2747 +IFS=$as_save_IFS
2748  
2749  fi
2750  fi
2751  CC=$ac_cv_prog_CC
2752  if test -n "$CC"; then
2753 -  echo "$as_me:$LINENO: result: $CC" >&5
2754 -echo "${ECHO_T}$CC" >&6
2755 +  { echo "$as_me:$LINENO: result: $CC" >&5
2756 +echo "${ECHO_T}$CC" >&6; }
2757  else
2758 -  echo "$as_me:$LINENO: result: no" >&5
2759 -echo "${ECHO_T}no" >&6
2760 +  { echo "$as_me:$LINENO: result: no" >&5
2761 +echo "${ECHO_T}no" >&6; }
2762  fi
2763  
2764 +
2765      test -n "$CC" && break
2766    done
2767  fi
2768  if test -z "$CC"; then
2769    ac_ct_CC=$CC
2770 -  for ac_prog in cl
2771 +  for ac_prog in cl.exe
2772  do
2773    # Extract the first word of "$ac_prog", so it can be a program name with args.
2774  set dummy $ac_prog; ac_word=$2
2775 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2777 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2778 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2779  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2780    echo $ECHO_N "(cached) $ECHO_C" >&6
2781  else
2782 @@ -2009,29 +2474,45 @@
2783    IFS=$as_save_IFS
2784    test -z "$as_dir" && as_dir=.
2785    for ac_exec_ext in '' $ac_executable_extensions; do
2786 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788      ac_cv_prog_ac_ct_CC="$ac_prog"
2789      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790      break 2
2791    fi
2792  done
2793  done
2794 +IFS=$as_save_IFS
2795  
2796  fi
2797  fi
2798  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2799  if test -n "$ac_ct_CC"; then
2800 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2801 -echo "${ECHO_T}$ac_ct_CC" >&6
2802 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2803 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2804  else
2805 -  echo "$as_me:$LINENO: result: no" >&5
2806 -echo "${ECHO_T}no" >&6
2807 +  { echo "$as_me:$LINENO: result: no" >&5
2808 +echo "${ECHO_T}no" >&6; }
2809  fi
2810  
2811 +
2812    test -n "$ac_ct_CC" && break
2813  done
2814  
2815 -  CC=$ac_ct_CC
2816 +  if test "x$ac_ct_CC" = x; then
2817 +    CC=""
2818 +  else
2819 +    case $cross_compiling:$ac_tool_warned in
2820 +yes:)
2821 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2822 +whose name does not start with the host triplet.  If you think this
2823 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2824 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2825 +whose name does not start with the host triplet.  If you think this
2826 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2827 +ac_tool_warned=yes ;;
2828 +esac
2829 +    CC=$ac_ct_CC
2830 +  fi
2831  fi
2832  
2833  fi
2834 @@ -2044,21 +2525,35 @@
2835     { (exit 1); exit 1; }; }
2836  
2837  # Provide some information about the compiler.
2838 -echo "$as_me:$LINENO:" \
2839 -     "checking for C compiler version" >&5
2840 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2841  ac_compiler=`set X $ac_compile; echo $2`
2842 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2843 -  (eval $ac_compiler --version </dev/null >&5) 2>&5
2844 +{ (ac_try="$ac_compiler --version >&5"
2845 +case "(($ac_try" in
2846 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 +  *) ac_try_echo=$ac_try;;
2848 +esac
2849 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 +  (eval "$ac_compiler --version >&5") 2>&5
2851    ac_status=$?
2852    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853    (exit $ac_status); }
2854 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2855 -  (eval $ac_compiler -v </dev/null >&5) 2>&5
2856 +{ (ac_try="$ac_compiler -v >&5"
2857 +case "(($ac_try" in
2858 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 +  *) ac_try_echo=$ac_try;;
2860 +esac
2861 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862 +  (eval "$ac_compiler -v >&5") 2>&5
2863    ac_status=$?
2864    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865    (exit $ac_status); }
2866 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2867 -  (eval $ac_compiler -V </dev/null >&5) 2>&5
2868 +{ (ac_try="$ac_compiler -V >&5"
2869 +case "(($ac_try" in
2870 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 +  *) ac_try_echo=$ac_try;;
2872 +esac
2873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 +  (eval "$ac_compiler -V >&5") 2>&5
2875    ac_status=$?
2876    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877    (exit $ac_status); }
2878 @@ -2116,47 +2611,77 @@
2879  # Try to create an executable without -o first, disregard a.out.
2880  # It will help us diagnose broken compilers, and finding out an intuition
2881  # of exeext.
2882 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2883 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2884 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2886  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2888 -  (eval $ac_link_default) 2>&5
2889 +#
2890 +# List of possible output files, starting from the most likely.
2891 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2892 +# only as a last resort.  b.out is created by i960 compilers.
2893 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2894 +#
2895 +# The IRIX 6 linker writes into existing files which may not be
2896 +# executable, retaining their permissions.  Remove them first so a
2897 +# subsequent execution test works.
2898 +ac_rmfiles=
2899 +for ac_file in $ac_files
2900 +do
2901 +  case $ac_file in
2902 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2903 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2904 +  esac
2905 +done
2906 +rm -f $ac_rmfiles
2907 +
2908 +if { (ac_try="$ac_link_default"
2909 +case "(($ac_try" in
2910 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 +  *) ac_try_echo=$ac_try;;
2912 +esac
2913 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 +  (eval "$ac_link_default") 2>&5
2915    ac_status=$?
2916    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917    (exit $ac_status); }; then
2918 -  # Find the output, starting from the most likely.  This scheme is
2919 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2920 -# resort.
2921 -
2922 -# Be careful to initialize this variable, since it used to be cached.
2923 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2924 -ac_cv_exeext=
2925 -# b.out is created by i960 compilers.
2926 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2927 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2928 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2929 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2930 +# so that the user can short-circuit this test for compilers unknown to
2931 +# Autoconf.
2932 +for ac_file in $ac_files ''
2933  do
2934    test -f "$ac_file" || continue
2935    case $ac_file in
2936 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2937 -       ;;
2938 -    conftest.$ac_ext )
2939 -       # This is the source file.
2940 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2941         ;;
2942      [ab].out )
2943         # We found the default executable, but exeext='' is most
2944         # certainly right.
2945         break;;
2946      *.* )
2947 -       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948 -       # FIXME: I believe we export ac_cv_exeext for Libtool,
2949 -       # but it would be cool to find out if it's true.  Does anybody
2950 -       # maintain Libtool? --akim.
2951 -       export ac_cv_exeext
2952 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2953 +       then :; else
2954 +          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2955 +       fi
2956 +       # We set ac_cv_exeext here because the later test for it is not
2957 +       # safe: cross compilers may not add the suffix if given an `-o'
2958 +       # argument, so we may need to know it at that point already.
2959 +       # Even if this section looks crufty: it has the advantage of
2960 +       # actually working.
2961         break;;
2962      * )
2963         break;;
2964    esac
2965  done
2966 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2967 +
2968  else
2969 +  ac_file=''
2970 +fi
2971 +
2972 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2973 +echo "${ECHO_T}$ac_file" >&6; }
2974 +if test -z "$ac_file"; then
2975    echo "$as_me: failed program was:" >&5
2976  sed 's/^/| /' conftest.$ac_ext >&5
2977  
2978 @@ -2168,19 +2693,21 @@
2979  fi
2980  
2981  ac_exeext=$ac_cv_exeext
2982 -echo "$as_me:$LINENO: result: $ac_file" >&5
2983 -echo "${ECHO_T}$ac_file" >&6
2984  
2985 -# Check the compiler produces executables we can run.  If not, either
2986 +# Check that the compiler produces executables we can run.  If not, either
2987  # the compiler is broken, or we cross compile.
2988 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2989 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2990 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2991 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2992  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2993  # If not cross compiling, check that we can run a simple program.
2994  if test "$cross_compiling" != yes; then
2995    if { ac_try='./$ac_file'
2996 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 -  (eval $ac_try) 2>&5
2998 +  { (case "(($ac_try" in
2999 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 +  *) ac_try_echo=$ac_try;;
3001 +esac
3002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 +  (eval "$ac_try") 2>&5
3004    ac_status=$?
3005    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006    (exit $ac_status); }; }; then
3007 @@ -2199,22 +2726,27 @@
3008      fi
3009    fi
3010  fi
3011 -echo "$as_me:$LINENO: result: yes" >&5
3012 -echo "${ECHO_T}yes" >&6
3013 +{ echo "$as_me:$LINENO: result: yes" >&5
3014 +echo "${ECHO_T}yes" >&6; }
3015  
3016  rm -f a.out a.exe conftest$ac_cv_exeext b.out
3017  ac_clean_files=$ac_clean_files_save
3018 -# Check the compiler produces executables we can run.  If not, either
3019 +# Check that the compiler produces executables we can run.  If not, either
3020  # the compiler is broken, or we cross compile.
3021 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3022 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3023 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
3024 -echo "${ECHO_T}$cross_compiling" >&6
3025 -
3026 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
3027 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3028 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3029 -  (eval $ac_link) 2>&5
3030 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3031 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3032 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3033 +echo "${ECHO_T}$cross_compiling" >&6; }
3034 +
3035 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3036 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3037 +if { (ac_try="$ac_link"
3038 +case "(($ac_try" in
3039 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 +  *) ac_try_echo=$ac_try;;
3041 +esac
3042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3043 +  (eval "$ac_link") 2>&5
3044    ac_status=$?
3045    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046    (exit $ac_status); }; then
3047 @@ -2225,9 +2757,8 @@
3048  for ac_file in conftest.exe conftest conftest.*; do
3049    test -f "$ac_file" || continue
3050    case $ac_file in
3051 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3052 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3053      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054 -         export ac_cv_exeext
3055           break;;
3056      * ) break;;
3057    esac
3058 @@ -2241,15 +2772,15 @@
3059  fi
3060  
3061  rm -f conftest$ac_cv_exeext
3062 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3063 -echo "${ECHO_T}$ac_cv_exeext" >&6
3064 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3065 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
3066  
3067  rm -f conftest.$ac_ext
3068  EXEEXT=$ac_cv_exeext
3069  ac_exeext=$EXEEXT
3070  fi
3071 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
3072 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3073 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3074 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3075  if test "${ac_cv_objext+set}" = set; then
3076    echo $ECHO_N "(cached) $ECHO_C" >&6
3077  else
3078 @@ -2269,14 +2800,20 @@
3079  }
3080  _ACEOF
3081  rm -f conftest.o conftest.obj
3082 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3083 -  (eval $ac_compile) 2>&5
3084 +if { (ac_try="$ac_compile"
3085 +case "(($ac_try" in
3086 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 +  *) ac_try_echo=$ac_try;;
3088 +esac
3089 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090 +  (eval "$ac_compile") 2>&5
3091    ac_status=$?
3092    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093    (exit $ac_status); }; then
3094 -  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3095 +  for ac_file in conftest.o conftest.obj conftest.*; do
3096 +  test -f "$ac_file" || continue;
3097    case $ac_file in
3098 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3099 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3100      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3101         break;;
3102    esac
3103 @@ -2294,12 +2831,12 @@
3104  
3105  rm -f conftest.$ac_cv_objext conftest.$ac_ext
3106  fi
3107 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3108 -echo "${ECHO_T}$ac_cv_objext" >&6
3109 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3110 +echo "${ECHO_T}$ac_cv_objext" >&6; }
3111  OBJEXT=$ac_cv_objext
3112  ac_objext=$OBJEXT
3113 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3114 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3115 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3116 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3117  if test "${ac_cv_c_compiler_gnu+set}" = set; then
3118    echo $ECHO_N "(cached) $ECHO_C" >&6
3119  else
3120 @@ -2322,50 +2859,49 @@
3121  }
3122  _ACEOF
3123  rm -f conftest.$ac_objext
3124 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3125 -  (eval $ac_compile) 2>conftest.er1
3126 +if { (ac_try="$ac_compile"
3127 +case "(($ac_try" in
3128 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 +  *) ac_try_echo=$ac_try;;
3130 +esac
3131 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 +  (eval "$ac_compile") 2>conftest.er1
3133    ac_status=$?
3134    grep -v '^ *+' conftest.er1 >conftest.err
3135    rm -f conftest.er1
3136    cat conftest.err >&5
3137    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 -  (exit $ac_status); } &&
3139 -        { ac_try='test -z "$ac_c_werror_flag"
3140 -                        || test ! -s conftest.err'
3141 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 -  (eval $ac_try) 2>&5
3143 -  ac_status=$?
3144 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 -  (exit $ac_status); }; } &&
3146 -        { ac_try='test -s conftest.$ac_objext'
3147 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 -  (eval $ac_try) 2>&5
3149 -  ac_status=$?
3150 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 -  (exit $ac_status); }; }; then
3152 +  (exit $ac_status); } && {
3153 +        test -z "$ac_c_werror_flag" ||
3154 +        test ! -s conftest.err
3155 +       } && test -s conftest.$ac_objext; then
3156    ac_compiler_gnu=yes
3157  else
3158    echo "$as_me: failed program was:" >&5
3159  sed 's/^/| /' conftest.$ac_ext >&5
3160  
3161 -ac_compiler_gnu=no
3162 +       ac_compiler_gnu=no
3163  fi
3164 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3165 +
3166 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3168  
3169  fi
3170 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3171 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3172 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3173 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3174  GCC=`test $ac_compiler_gnu = yes && echo yes`
3175  ac_test_CFLAGS=${CFLAGS+set}
3176  ac_save_CFLAGS=$CFLAGS
3177 -CFLAGS="-g"
3178 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3180 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3181 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3182  if test "${ac_cv_prog_cc_g+set}" = set; then
3183    echo $ECHO_N "(cached) $ECHO_C" >&6
3184  else
3185 -  cat >conftest.$ac_ext <<_ACEOF
3186 +  ac_save_c_werror_flag=$ac_c_werror_flag
3187 +   ac_c_werror_flag=yes
3188 +   ac_cv_prog_cc_g=no
3189 +   CFLAGS="-g"
3190 +   cat >conftest.$ac_ext <<_ACEOF
3191  /* confdefs.h.  */
3192  _ACEOF
3193  cat confdefs.h >>conftest.$ac_ext
3194 @@ -2381,38 +2917,118 @@
3195  }
3196  _ACEOF
3197  rm -f conftest.$ac_objext
3198 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199 -  (eval $ac_compile) 2>conftest.er1
3200 +if { (ac_try="$ac_compile"
3201 +case "(($ac_try" in
3202 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 +  *) ac_try_echo=$ac_try;;
3204 +esac
3205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 +  (eval "$ac_compile") 2>conftest.er1
3207    ac_status=$?
3208    grep -v '^ *+' conftest.er1 >conftest.err
3209    rm -f conftest.er1
3210    cat conftest.err >&5
3211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 -  (exit $ac_status); } &&
3213 -        { ac_try='test -z "$ac_c_werror_flag"
3214 -                        || test ! -s conftest.err'
3215 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 -  (eval $ac_try) 2>&5
3217 +  (exit $ac_status); } && {
3218 +        test -z "$ac_c_werror_flag" ||
3219 +        test ! -s conftest.err
3220 +       } && test -s conftest.$ac_objext; then
3221 +  ac_cv_prog_cc_g=yes
3222 +else
3223 +  echo "$as_me: failed program was:" >&5
3224 +sed 's/^/| /' conftest.$ac_ext >&5
3225 +
3226 +       CFLAGS=""
3227 +      cat >conftest.$ac_ext <<_ACEOF
3228 +/* confdefs.h.  */
3229 +_ACEOF
3230 +cat confdefs.h >>conftest.$ac_ext
3231 +cat >>conftest.$ac_ext <<_ACEOF
3232 +/* end confdefs.h.  */
3233 +
3234 +int
3235 +main ()
3236 +{
3237 +
3238 +  ;
3239 +  return 0;
3240 +}
3241 +_ACEOF
3242 +rm -f conftest.$ac_objext
3243 +if { (ac_try="$ac_compile"
3244 +case "(($ac_try" in
3245 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 +  *) ac_try_echo=$ac_try;;
3247 +esac
3248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 +  (eval "$ac_compile") 2>conftest.er1
3250    ac_status=$?
3251 +  grep -v '^ *+' conftest.er1 >conftest.err
3252 +  rm -f conftest.er1
3253 +  cat conftest.err >&5
3254    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 -  (exit $ac_status); }; } &&
3256 -        { ac_try='test -s conftest.$ac_objext'
3257 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 -  (eval $ac_try) 2>&5
3259 +  (exit $ac_status); } && {
3260 +        test -z "$ac_c_werror_flag" ||
3261 +        test ! -s conftest.err
3262 +       } && test -s conftest.$ac_objext; then
3263 +  :
3264 +else
3265 +  echo "$as_me: failed program was:" >&5
3266 +sed 's/^/| /' conftest.$ac_ext >&5
3267 +
3268 +       ac_c_werror_flag=$ac_save_c_werror_flag
3269 +        CFLAGS="-g"
3270 +        cat >conftest.$ac_ext <<_ACEOF
3271 +/* confdefs.h.  */
3272 +_ACEOF
3273 +cat confdefs.h >>conftest.$ac_ext
3274 +cat >>conftest.$ac_ext <<_ACEOF
3275 +/* end confdefs.h.  */
3276 +
3277 +int
3278 +main ()
3279 +{
3280 +
3281 +  ;
3282 +  return 0;
3283 +}
3284 +_ACEOF
3285 +rm -f conftest.$ac_objext
3286 +if { (ac_try="$ac_compile"
3287 +case "(($ac_try" in
3288 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 +  *) ac_try_echo=$ac_try;;
3290 +esac
3291 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 +  (eval "$ac_compile") 2>conftest.er1
3293    ac_status=$?
3294 +  grep -v '^ *+' conftest.er1 >conftest.err
3295 +  rm -f conftest.er1
3296 +  cat conftest.err >&5
3297    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 -  (exit $ac_status); }; }; then
3299 +  (exit $ac_status); } && {
3300 +        test -z "$ac_c_werror_flag" ||
3301 +        test ! -s conftest.err
3302 +       } && test -s conftest.$ac_objext; then
3303    ac_cv_prog_cc_g=yes
3304  else
3305    echo "$as_me: failed program was:" >&5
3306  sed 's/^/| /' conftest.$ac_ext >&5
3307  
3308 -ac_cv_prog_cc_g=no
3309 +
3310 +fi
3311 +
3312 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 +fi
3314 +
3315 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3316  fi
3317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3318 +
3319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 +   ac_c_werror_flag=$ac_save_c_werror_flag
3321  fi
3322 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3323 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3324 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3325 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3326  if test "$ac_test_CFLAGS" = set; then
3327    CFLAGS=$ac_save_CFLAGS
3328  elif test $ac_cv_prog_cc_g = yes; then
3329 @@ -2428,12 +3044,12 @@
3330      CFLAGS=
3331    fi
3332  fi
3333 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3334 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3335 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3336 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3337 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3338 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3339    echo $ECHO_N "(cached) $ECHO_C" >&6
3340  else
3341 -  ac_cv_prog_cc_stdc=no
3342 +  ac_cv_prog_cc_c89=no
3343  ac_save_CC=$CC
3344  cat >conftest.$ac_ext <<_ACEOF
3345  /* confdefs.h.  */
3346 @@ -2467,12 +3083,17 @@
3347  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3348     function prototypes and stuff, but not '\xHH' hex character constants.
3349     These don't provoke an error unfortunately, instead are silently treated
3350 -   as 'x'.  The following induces an error, until -std1 is added to get
3351 +   as 'x'.  The following induces an error, until -std is added to get
3352     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3353     array size at least.  It's necessary to write '\x00'==0 to get something
3354 -   that's true only with -std1.  */
3355 +   that's true only with -std.  */
3356  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3357  
3358 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3359 +   inside strings and character constants.  */
3360 +#define FOO(x) 'x'
3361 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3362 +
3363  int test (int i, double x);
3364  struct s1 {int (*f) (int a);};
3365  struct s2 {int (*f) (double a);};
3366 @@ -2487,205 +3108,57 @@
3367    return 0;
3368  }
3369  _ACEOF
3370 -# Don't try gcc -ansi; that turns off useful extensions and
3371 -# breaks some systems' header files.
3372 -# AIX                  -qlanglvl=ansi
3373 -# Ultrix and OSF/1     -std1
3374 -# HP-UX 10.20 and later        -Ae
3375 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3376 -# SVR4                 -Xc -D__EXTENSIONS__
3377 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3378 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3379 +       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3380  do
3381    CC="$ac_save_CC $ac_arg"
3382    rm -f conftest.$ac_objext
3383 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384 -  (eval $ac_compile) 2>conftest.er1
3385 +if { (ac_try="$ac_compile"
3386 +case "(($ac_try" in
3387 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 +  *) ac_try_echo=$ac_try;;
3389 +esac
3390 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 +  (eval "$ac_compile") 2>conftest.er1
3392    ac_status=$?
3393    grep -v '^ *+' conftest.er1 >conftest.err
3394    rm -f conftest.er1
3395    cat conftest.err >&5
3396    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 -  (exit $ac_status); } &&
3398 -        { ac_try='test -z "$ac_c_werror_flag"
3399 -                        || test ! -s conftest.err'
3400 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 -  (eval $ac_try) 2>&5
3402 -  ac_status=$?
3403 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 -  (exit $ac_status); }; } &&
3405 -        { ac_try='test -s conftest.$ac_objext'
3406 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 -  (eval $ac_try) 2>&5
3408 -  ac_status=$?
3409 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 -  (exit $ac_status); }; }; then
3411 -  ac_cv_prog_cc_stdc=$ac_arg
3412 -break
3413 +  (exit $ac_status); } && {
3414 +        test -z "$ac_c_werror_flag" ||
3415 +        test ! -s conftest.err
3416 +       } && test -s conftest.$ac_objext; then
3417 +  ac_cv_prog_cc_c89=$ac_arg
3418  else
3419    echo "$as_me: failed program was:" >&5
3420  sed 's/^/| /' conftest.$ac_ext >&5
3421  
3422 +
3423  fi
3424 -rm -f conftest.err conftest.$ac_objext
3425 +
3426 +rm -f core conftest.err conftest.$ac_objext
3427 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
3428  done
3429 -rm -f conftest.$ac_ext conftest.$ac_objext
3430 +rm -f conftest.$ac_ext
3431  CC=$ac_save_CC
3432  
3433  fi
3434 -
3435 -case "x$ac_cv_prog_cc_stdc" in
3436 -  x|xno)
3437 -    echo "$as_me:$LINENO: result: none needed" >&5
3438 -echo "${ECHO_T}none needed" >&6 ;;
3439 +# AC_CACHE_VAL
3440 +case "x$ac_cv_prog_cc_c89" in
3441 +  x)
3442 +    { echo "$as_me:$LINENO: result: none needed" >&5
3443 +echo "${ECHO_T}none needed" >&6; } ;;
3444 +  xno)
3445 +    { echo "$as_me:$LINENO: result: unsupported" >&5
3446 +echo "${ECHO_T}unsupported" >&6; } ;;
3447    *)
3448 -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3449 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3450 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
3451 +    CC="$CC $ac_cv_prog_cc_c89"
3452 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3453 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3454  esac
3455  
3456 -# Some people use a C++ compiler to compile C.  Since we use `exit',
3457 -# in C++ we need to declare it.  In case someone uses the same compiler
3458 -# for both compiling C and C++ we need to have the C++ compiler decide
3459 -# the declaration of exit, since it's the most demanding environment.
3460 -cat >conftest.$ac_ext <<_ACEOF
3461 -#ifndef __cplusplus
3462 -  choke me
3463 -#endif
3464 -_ACEOF
3465 -rm -f conftest.$ac_objext
3466 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 -  (eval $ac_compile) 2>conftest.er1
3468 -  ac_status=$?
3469 -  grep -v '^ *+' conftest.er1 >conftest.err
3470 -  rm -f conftest.er1
3471 -  cat conftest.err >&5
3472 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 -  (exit $ac_status); } &&
3474 -        { ac_try='test -z "$ac_c_werror_flag"
3475 -                        || test ! -s conftest.err'
3476 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 -  (eval $ac_try) 2>&5
3478 -  ac_status=$?
3479 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 -  (exit $ac_status); }; } &&
3481 -        { ac_try='test -s conftest.$ac_objext'
3482 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 -  (eval $ac_try) 2>&5
3484 -  ac_status=$?
3485 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 -  (exit $ac_status); }; }; then
3487 -  for ac_declaration in \
3488 -   '' \
3489 -   'extern "C" void std::exit (int) throw (); using std::exit;' \
3490 -   'extern "C" void std::exit (int); using std::exit;' \
3491 -   'extern "C" void exit (int) throw ();' \
3492 -   'extern "C" void exit (int);' \
3493 -   'void exit (int);'
3494 -do
3495 -  cat >conftest.$ac_ext <<_ACEOF
3496 -/* confdefs.h.  */
3497 -_ACEOF
3498 -cat confdefs.h >>conftest.$ac_ext
3499 -cat >>conftest.$ac_ext <<_ACEOF
3500 -/* end confdefs.h.  */
3501 -$ac_declaration
3502 -#include <stdlib.h>
3503 -int
3504 -main ()
3505 -{
3506 -exit (42);
3507 -  ;
3508 -  return 0;
3509 -}
3510 -_ACEOF
3511 -rm -f conftest.$ac_objext
3512 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3513 -  (eval $ac_compile) 2>conftest.er1
3514 -  ac_status=$?
3515 -  grep -v '^ *+' conftest.er1 >conftest.err
3516 -  rm -f conftest.er1
3517 -  cat conftest.err >&5
3518 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 -  (exit $ac_status); } &&
3520 -        { ac_try='test -z "$ac_c_werror_flag"
3521 -                        || test ! -s conftest.err'
3522 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 -  (eval $ac_try) 2>&5
3524 -  ac_status=$?
3525 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 -  (exit $ac_status); }; } &&
3527 -        { ac_try='test -s conftest.$ac_objext'
3528 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 -  (eval $ac_try) 2>&5
3530 -  ac_status=$?
3531 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 -  (exit $ac_status); }; }; then
3533 -  :
3534 -else
3535 -  echo "$as_me: failed program was:" >&5
3536 -sed 's/^/| /' conftest.$ac_ext >&5
3537 -
3538 -continue
3539 -fi
3540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3541 -  cat >conftest.$ac_ext <<_ACEOF
3542 -/* confdefs.h.  */
3543 -_ACEOF
3544 -cat confdefs.h >>conftest.$ac_ext
3545 -cat >>conftest.$ac_ext <<_ACEOF
3546 -/* end confdefs.h.  */
3547 -$ac_declaration
3548 -int
3549 -main ()
3550 -{
3551 -exit (42);
3552 -  ;
3553 -  return 0;
3554 -}
3555 -_ACEOF
3556 -rm -f conftest.$ac_objext
3557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 -  (eval $ac_compile) 2>conftest.er1
3559 -  ac_status=$?
3560 -  grep -v '^ *+' conftest.er1 >conftest.err
3561 -  rm -f conftest.er1
3562 -  cat conftest.err >&5
3563 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 -  (exit $ac_status); } &&
3565 -        { ac_try='test -z "$ac_c_werror_flag"
3566 -                        || test ! -s conftest.err'
3567 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 -  (eval $ac_try) 2>&5
3569 -  ac_status=$?
3570 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 -  (exit $ac_status); }; } &&
3572 -        { ac_try='test -s conftest.$ac_objext'
3573 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 -  (eval $ac_try) 2>&5
3575 -  ac_status=$?
3576 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 -  (exit $ac_status); }; }; then
3578 -  break
3579 -else
3580 -  echo "$as_me: failed program was:" >&5
3581 -sed 's/^/| /' conftest.$ac_ext >&5
3582 -
3583 -fi
3584 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3585 -done
3586 -rm -f conftest*
3587 -if test -n "$ac_declaration"; then
3588 -  echo '#ifdef __cplusplus' >>confdefs.h
3589 -  echo $ac_declaration      >>confdefs.h
3590 -  echo '#endif'             >>confdefs.h
3591 -fi
3592 -
3593 -else
3594 -  echo "$as_me: failed program was:" >&5
3595 -sed 's/^/| /' conftest.$ac_ext >&5
3596  
3597 -fi
3598 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3599  ac_ext=c
3600  ac_cpp='$CPP $CPPFLAGS'
3601  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 @@ -2697,8 +3170,8 @@
3603  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3607 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3608 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3609 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3610  # On Suns, sometimes $CPP names a directory.
3611  if test -n "$CPP" && test -d "$CPP"; then
3612    CPP=
3613 @@ -2732,24 +3205,22 @@
3614  #endif
3615                      Syntax error
3616  _ACEOF
3617 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3618 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3619 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3620 +case "(($ac_try" in
3621 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 +  *) ac_try_echo=$ac_try;;
3623 +esac
3624 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3625 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3626    ac_status=$?
3627    grep -v '^ *+' conftest.er1 >conftest.err
3628    rm -f conftest.er1
3629    cat conftest.err >&5
3630    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 -  (exit $ac_status); } >/dev/null; then
3632 -  if test -s conftest.err; then
3633 -    ac_cpp_err=$ac_c_preproc_warn_flag
3634 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3635 -  else
3636 -    ac_cpp_err=
3637 -  fi
3638 -else
3639 -  ac_cpp_err=yes
3640 -fi
3641 -if test -z "$ac_cpp_err"; then
3642 +  (exit $ac_status); } >/dev/null && {
3643 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 +        test ! -s conftest.err
3645 +       }; then
3646    :
3647  else
3648    echo "$as_me: failed program was:" >&5
3649 @@ -2758,9 +3229,10 @@
3650    # Broken: fails on valid input.
3651  continue
3652  fi
3653 +
3654  rm -f conftest.err conftest.$ac_ext
3655  
3656 -  # OK, works on sane cases.  Now check whether non-existent headers
3657 +  # OK, works on sane cases.  Now check whether nonexistent headers
3658    # can be detected and how.
3659    cat >conftest.$ac_ext <<_ACEOF
3660  /* confdefs.h.  */
3661 @@ -2770,24 +3242,22 @@
3662  /* end confdefs.h.  */
3663  #include <ac_nonexistent.h>
3664  _ACEOF
3665 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3666 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3667 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3668 +case "(($ac_try" in
3669 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 +  *) ac_try_echo=$ac_try;;
3671 +esac
3672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3673 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3674    ac_status=$?
3675    grep -v '^ *+' conftest.er1 >conftest.err
3676    rm -f conftest.er1
3677    cat conftest.err >&5
3678    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 -  (exit $ac_status); } >/dev/null; then
3680 -  if test -s conftest.err; then
3681 -    ac_cpp_err=$ac_c_preproc_warn_flag
3682 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3683 -  else
3684 -    ac_cpp_err=
3685 -  fi
3686 -else
3687 -  ac_cpp_err=yes
3688 -fi
3689 -if test -z "$ac_cpp_err"; then
3690 +  (exit $ac_status); } >/dev/null && {
3691 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3692 +        test ! -s conftest.err
3693 +       }; then
3694    # Broken: success on invalid input.
3695  continue
3696  else
3697 @@ -2798,6 +3268,7 @@
3698  ac_preproc_ok=:
3699  break
3700  fi
3701 +
3702  rm -f conftest.err conftest.$ac_ext
3703  
3704  done
3705 @@ -2815,8 +3286,8 @@
3706  else
3707    ac_cv_prog_CPP=$CPP
3708  fi
3709 -echo "$as_me:$LINENO: result: $CPP" >&5
3710 -echo "${ECHO_T}$CPP" >&6
3711 +{ echo "$as_me:$LINENO: result: $CPP" >&5
3712 +echo "${ECHO_T}$CPP" >&6; }
3713  ac_preproc_ok=false
3714  for ac_c_preproc_warn_flag in '' yes
3715  do
3716 @@ -2839,24 +3310,22 @@
3717  #endif
3718                      Syntax error
3719  _ACEOF
3720 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3721 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3722 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3723 +case "(($ac_try" in
3724 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 +  *) ac_try_echo=$ac_try;;
3726 +esac
3727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3729    ac_status=$?
3730    grep -v '^ *+' conftest.er1 >conftest.err
3731    rm -f conftest.er1
3732    cat conftest.err >&5
3733    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 -  (exit $ac_status); } >/dev/null; then
3735 -  if test -s conftest.err; then
3736 -    ac_cpp_err=$ac_c_preproc_warn_flag
3737 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3738 -  else
3739 -    ac_cpp_err=
3740 -  fi
3741 -else
3742 -  ac_cpp_err=yes
3743 -fi
3744 -if test -z "$ac_cpp_err"; then
3745 +  (exit $ac_status); } >/dev/null && {
3746 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 +        test ! -s conftest.err
3748 +       }; then
3749    :
3750  else
3751    echo "$as_me: failed program was:" >&5
3752 @@ -2865,9 +3334,10 @@
3753    # Broken: fails on valid input.
3754  continue
3755  fi
3756 +
3757  rm -f conftest.err conftest.$ac_ext
3758  
3759 -  # OK, works on sane cases.  Now check whether non-existent headers
3760 +  # OK, works on sane cases.  Now check whether nonexistent headers
3761    # can be detected and how.
3762    cat >conftest.$ac_ext <<_ACEOF
3763  /* confdefs.h.  */
3764 @@ -2877,24 +3347,22 @@
3765  /* end confdefs.h.  */
3766  #include <ac_nonexistent.h>
3767  _ACEOF
3768 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3769 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3770 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3771 +case "(($ac_try" in
3772 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 +  *) ac_try_echo=$ac_try;;
3774 +esac
3775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3777    ac_status=$?
3778    grep -v '^ *+' conftest.er1 >conftest.err
3779    rm -f conftest.er1
3780    cat conftest.err >&5
3781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 -  (exit $ac_status); } >/dev/null; then
3783 -  if test -s conftest.err; then
3784 -    ac_cpp_err=$ac_c_preproc_warn_flag
3785 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3786 -  else
3787 -    ac_cpp_err=
3788 -  fi
3789 -else
3790 -  ac_cpp_err=yes
3791 -fi
3792 -if test -z "$ac_cpp_err"; then
3793 +  (exit $ac_status); } >/dev/null && {
3794 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3795 +        test ! -s conftest.err
3796 +       }; then
3797    # Broken: success on invalid input.
3798  continue
3799  else
3800 @@ -2905,6 +3373,7 @@
3801  ac_preproc_ok=:
3802  break
3803  fi
3804 +
3805  rm -f conftest.err conftest.$ac_ext
3806  
3807  done
3808 @@ -2931,8 +3400,8 @@
3809  
3810  # Warn C++ incompatibilities if supported.
3811  
3812 -echo "$as_me:$LINENO: checking whether ${CC} accepts -Wc++-compat" >&5
3813 -echo $ECHO_N "checking whether ${CC} accepts -Wc++-compat... $ECHO_C" >&6
3814 +{ echo "$as_me:$LINENO: checking whether ${CC} accepts -Wc++-compat" >&5
3815 +echo $ECHO_N "checking whether ${CC} accepts -Wc++-compat... $ECHO_C" >&6; }
3816  if test "${ac_cv_prog_cc_w_cxx_compat+set}" = set; then
3817    echo $ECHO_N "(cached) $ECHO_C" >&6
3818  else
3819 @@ -2947,40 +3416,36 @@
3820  
3821  _ACEOF
3822  rm -f conftest.$ac_objext
3823 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3824 -  (eval $ac_compile) 2>conftest.er1
3825 +if { (ac_try="$ac_compile"
3826 +case "(($ac_try" in
3827 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828 +  *) ac_try_echo=$ac_try;;
3829 +esac
3830 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831 +  (eval "$ac_compile") 2>conftest.er1
3832    ac_status=$?
3833    grep -v '^ *+' conftest.er1 >conftest.err
3834    rm -f conftest.er1
3835    cat conftest.err >&5
3836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 -  (exit $ac_status); } &&
3838 -        { ac_try='test -z "$ac_c_werror_flag"
3839 -                        || test ! -s conftest.err'
3840 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 -  (eval $ac_try) 2>&5
3842 -  ac_status=$?
3843 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 -  (exit $ac_status); }; } &&
3845 -        { ac_try='test -s conftest.$ac_objext'
3846 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 -  (eval $ac_try) 2>&5
3848 -  ac_status=$?
3849 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 -  (exit $ac_status); }; }; then
3851 +  (exit $ac_status); } && {
3852 +        test -z "$ac_c_werror_flag" ||
3853 +        test ! -s conftest.err
3854 +       } && test -s conftest.$ac_objext; then
3855    ac_cv_prog_cc_w_cxx_compat=yes
3856  else
3857    echo "$as_me: failed program was:" >&5
3858  sed 's/^/| /' conftest.$ac_ext >&5
3859  
3860 -ac_cv_prog_cc_w_cxx_compat=no
3861 +       ac_cv_prog_cc_w_cxx_compat=no
3862  fi
3863 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3864 +
3865 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866    CFLAGS="$save_CFLAGS"
3867  
3868  fi
3869 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_w_cxx_compat" >&5
3870 -echo "${ECHO_T}$ac_cv_prog_cc_w_cxx_compat" >&6
3871 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_w_cxx_compat" >&5
3872 +echo "${ECHO_T}$ac_cv_prog_cc_w_cxx_compat" >&6; }
3873  
3874  
3875  if test x$GCC = xyes; then
3876 @@ -2992,15 +3457,15 @@
3877  
3878  
3879  if test "x$CC" != xcc; then
3880 -  echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3881 -echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3882 +  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3883 +echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3884  else
3885 -  echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3886 -echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3887 +  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3888 +echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3889  fi
3890  set dummy $CC; ac_cc=`echo $2 |
3891                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3892 -if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3893 +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3894    echo $ECHO_N "(cached) $ECHO_C" >&6
3895  else
3896    cat >conftest.$ac_ext <<_ACEOF
3897 @@ -3021,14 +3486,23 @@
3898  # Make sure it works both with $CC and with simple cc.
3899  # We do the test twice because some compilers refuse to overwrite an
3900  # existing .o file with -o, though they will create one.
3901 -ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3902 -if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 -  (eval $ac_try) 2>&5
3904 +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3905 +rm -f conftest2.*
3906 +if { (case "(($ac_try" in
3907 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 +  *) ac_try_echo=$ac_try;;
3909 +esac
3910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3911 +  (eval "$ac_try") 2>&5
3912    ac_status=$?
3913    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914    (exit $ac_status); } &&
3915 -   test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 -  (eval $ac_try) 2>&5
3917 +   test -f conftest2.$ac_objext && { (case "(($ac_try" in
3918 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 +  *) ac_try_echo=$ac_try;;
3920 +esac
3921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3922 +  (eval "$ac_try") 2>&5
3923    ac_status=$?
3924    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925    (exit $ac_status); };
3926 @@ -3037,19 +3511,32 @@
3927    if test "x$CC" != xcc; then
3928      # Test first that cc exists at all.
3929      if { ac_try='cc -c conftest.$ac_ext >&5'
3930 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 -  (eval $ac_try) 2>&5
3932 +  { (case "(($ac_try" in
3933 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 +  *) ac_try_echo=$ac_try;;
3935 +esac
3936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3937 +  (eval "$ac_try") 2>&5
3938    ac_status=$?
3939    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940    (exit $ac_status); }; }; then
3941 -      ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3942 -      if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 -  (eval $ac_try) 2>&5
3944 +      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3945 +      rm -f conftest2.*
3946 +      if { (case "(($ac_try" in
3947 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 +  *) ac_try_echo=$ac_try;;
3949 +esac
3950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 +  (eval "$ac_try") 2>&5
3952    ac_status=$?
3953    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954    (exit $ac_status); } &&
3955 -        test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 -  (eval $ac_try) 2>&5
3957 +        test -f conftest2.$ac_objext && { (case "(($ac_try" in
3958 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 +  *) ac_try_echo=$ac_try;;
3960 +esac
3961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 +  (eval "$ac_try") 2>&5
3963    ac_status=$?
3964    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965    (exit $ac_status); };
3966 @@ -3065,15 +3552,15 @@
3967  else
3968    eval ac_cv_prog_cc_${ac_cc}_c_o=no
3969  fi
3970 -rm -f conftest*
3971 +rm -f core conftest*
3972  
3973  fi
3974 -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3975 -  echo "$as_me:$LINENO: result: yes" >&5
3976 -echo "${ECHO_T}yes" >&6
3977 +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3978 +  { echo "$as_me:$LINENO: result: yes" >&5
3979 +echo "${ECHO_T}yes" >&6; }
3980  else
3981 -  echo "$as_me:$LINENO: result: no" >&5
3982 -echo "${ECHO_T}no" >&6
3983 +  { echo "$as_me:$LINENO: result: no" >&5
3984 +echo "${ECHO_T}no" >&6; }
3985  
3986  cat >>confdefs.h <<\_ACEOF
3987  #define NO_MINUS_C_MINUS_O 1
3988 @@ -3090,8 +3577,8 @@
3989  
3990  
3991  
3992 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3993 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3994 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3995 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3996  if test "${ac_cv_c_const+set}" = set; then
3997    echo $ECHO_N "(cached) $ECHO_C" >&6
3998  else
3999 @@ -3109,10 +3596,10 @@
4000  #ifndef __cplusplus
4001    /* Ultrix mips cc rejects this.  */
4002    typedef int charset[2];
4003 -  const charset x;
4004 +  const charset cs;
4005    /* SunOS 4.1.1 cc rejects this.  */
4006 -  char const *const *ccp;
4007 -  char **p;
4008 +  char const *const *pcpcc;
4009 +  char **ppc;
4010    /* NEC SVR4.0.2 mips cc rejects this.  */
4011    struct point {int x, y;};
4012    static struct point const zero = {0,0};
4013 @@ -3121,16 +3608,17 @@
4014       an arm of an if-expression whose if-part is not a constant
4015       expression */
4016    const char *g = "string";
4017 -  ccp = &g + (g ? g-g : 0);
4018 +  pcpcc = &g + (g ? g-g : 0);
4019    /* HPUX 7.0 cc rejects these. */
4020 -  ++ccp;
4021 -  p = (char**) ccp;
4022 -  ccp = (char const *const *) p;
4023 +  ++pcpcc;
4024 +  ppc = (char**) pcpcc;
4025 +  pcpcc = (char const *const *) ppc;
4026    { /* SCO 3.2v4 cc rejects this.  */
4027      char *t;
4028      char const *s = 0 ? (char *) 0 : (char const *) 0;
4029  
4030      *t++ = 0;
4031 +    if (s) return 0;
4032    }
4033    { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4034      int x[] = {25, 17};
4035 @@ -3149,7 +3637,9 @@
4036    }
4037    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4038      const int foo = 10;
4039 +    if (!foo) return 0;
4040    }
4041 +  return !cs[0] && !zero.x;
4042  #endif
4043  
4044    ;
4045 @@ -3157,38 +3647,34 @@
4046  }
4047  _ACEOF
4048  rm -f conftest.$ac_objext
4049 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4050 -  (eval $ac_compile) 2>conftest.er1
4051 +if { (ac_try="$ac_compile"
4052 +case "(($ac_try" in
4053 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 +  *) ac_try_echo=$ac_try;;
4055 +esac
4056 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057 +  (eval "$ac_compile") 2>conftest.er1
4058    ac_status=$?
4059    grep -v '^ *+' conftest.er1 >conftest.err
4060    rm -f conftest.er1
4061    cat conftest.err >&5
4062    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 -  (exit $ac_status); } &&
4064 -        { ac_try='test -z "$ac_c_werror_flag"
4065 -                        || test ! -s conftest.err'
4066 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 -  (eval $ac_try) 2>&5
4068 -  ac_status=$?
4069 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 -  (exit $ac_status); }; } &&
4071 -        { ac_try='test -s conftest.$ac_objext'
4072 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 -  (eval $ac_try) 2>&5
4074 -  ac_status=$?
4075 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 -  (exit $ac_status); }; }; then
4077 +  (exit $ac_status); } && {
4078 +        test -z "$ac_c_werror_flag" ||
4079 +        test ! -s conftest.err
4080 +       } && test -s conftest.$ac_objext; then
4081    ac_cv_c_const=yes
4082  else
4083    echo "$as_me: failed program was:" >&5
4084  sed 's/^/| /' conftest.$ac_ext >&5
4085  
4086 -ac_cv_c_const=no
4087 +       ac_cv_c_const=no
4088  fi
4089 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4090 +
4091 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092  fi
4093 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4094 -echo "${ECHO_T}$ac_cv_c_const" >&6
4095 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4096 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
4097  if test $ac_cv_c_const = no; then
4098  
4099  cat >>confdefs.h <<\_ACEOF
4100 @@ -3197,8 +3683,8 @@
4101  
4102  fi
4103  
4104 -echo "$as_me:$LINENO: checking for inline" >&5
4105 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
4106 +{ echo "$as_me:$LINENO: checking for inline" >&5
4107 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4108  if test "${ac_cv_c_inline+set}" = set; then
4109    echo $ECHO_N "(cached) $ECHO_C" >&6
4110  else
4111 @@ -3218,39 +3704,37 @@
4112  
4113  _ACEOF
4114  rm -f conftest.$ac_objext
4115 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4116 -  (eval $ac_compile) 2>conftest.er1
4117 +if { (ac_try="$ac_compile"
4118 +case "(($ac_try" in
4119 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 +  *) ac_try_echo=$ac_try;;
4121 +esac
4122 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4123 +  (eval "$ac_compile") 2>conftest.er1
4124    ac_status=$?
4125    grep -v '^ *+' conftest.er1 >conftest.err
4126    rm -f conftest.er1
4127    cat conftest.err >&5
4128    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 -  (exit $ac_status); } &&
4130 -        { ac_try='test -z "$ac_c_werror_flag"
4131 -                        || test ! -s conftest.err'
4132 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 -  (eval $ac_try) 2>&5
4134 -  ac_status=$?
4135 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 -  (exit $ac_status); }; } &&
4137 -        { ac_try='test -s conftest.$ac_objext'
4138 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139 -  (eval $ac_try) 2>&5
4140 -  ac_status=$?
4141 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 -  (exit $ac_status); }; }; then
4143 -  ac_cv_c_inline=$ac_kw; break
4144 +  (exit $ac_status); } && {
4145 +        test -z "$ac_c_werror_flag" ||
4146 +        test ! -s conftest.err
4147 +       } && test -s conftest.$ac_objext; then
4148 +  ac_cv_c_inline=$ac_kw
4149  else
4150    echo "$as_me: failed program was:" >&5
4151  sed 's/^/| /' conftest.$ac_ext >&5
4152  
4153 +
4154  fi
4155 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4156 +
4157 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 +  test "$ac_cv_c_inline" != no && break
4159  done
4160  
4161  fi
4162 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4163 -echo "${ECHO_T}$ac_cv_c_inline" >&6
4164 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4165 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4166  
4167  
4168  case $ac_cv_c_inline in
4169 @@ -3268,155 +3752,544 @@
4170      ;;
4171  esac
4172  
4173 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4174 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4175 -if test "${ac_cv_c_bigendian+set}" = set; then
4176 +
4177 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4178 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4179 +if test "${ac_cv_path_GREP+set}" = set; then
4180    echo $ECHO_N "(cached) $ECHO_C" >&6
4181  else
4182 -  # See if sys/param.h defines the BYTE_ORDER macro.
4183 -cat >conftest.$ac_ext <<_ACEOF
4184 -/* confdefs.h.  */
4185 -_ACEOF
4186 -cat confdefs.h >>conftest.$ac_ext
4187 -cat >>conftest.$ac_ext <<_ACEOF
4188 -/* end confdefs.h.  */
4189 -#include <sys/types.h>
4190 -#include <sys/param.h>
4191 +  # Extract the first word of "grep ggrep" to use in msg output
4192 +if test -z "$GREP"; then
4193 +set dummy grep ggrep; ac_prog_name=$2
4194 +if test "${ac_cv_path_GREP+set}" = set; then
4195 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4196 +else
4197 +  ac_path_GREP_found=false
4198 +# Loop through the user's path and test for each of PROGNAME-LIST
4199 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4201 +do
4202 +  IFS=$as_save_IFS
4203 +  test -z "$as_dir" && as_dir=.
4204 +  for ac_prog in grep ggrep; do
4205 +  for ac_exec_ext in '' $ac_executable_extensions; do
4206 +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4207 +    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4208 +    # Check for GNU ac_path_GREP and select it if it is found.
4209 +  # Check for GNU $ac_path_GREP
4210 +case `"$ac_path_GREP" --version 2>&1` in
4211 +*GNU*)
4212 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4213 +*)
4214 +  ac_count=0
4215 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4216 +  while :
4217 +  do
4218 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 +    mv "conftest.tmp" "conftest.in"
4220 +    cp "conftest.in" "conftest.nl"
4221 +    echo 'GREP' >> "conftest.nl"
4222 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224 +    ac_count=`expr $ac_count + 1`
4225 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226 +      # Best one so far, save it but keep looking for a better one
4227 +      ac_cv_path_GREP="$ac_path_GREP"
4228 +      ac_path_GREP_max=$ac_count
4229 +    fi
4230 +    # 10*(2^10) chars as input seems more than enough
4231 +    test $ac_count -gt 10 && break
4232 +  done
4233 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4234 +esac
4235  
4236 -int
4237 -main ()
4238 -{
4239 -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4240 - bogus endian macros
4241 -#endif
4242  
4243 -  ;
4244 -  return 0;
4245 -}
4246 -_ACEOF
4247 -rm -f conftest.$ac_objext
4248 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249 -  (eval $ac_compile) 2>conftest.er1
4250 -  ac_status=$?
4251 -  grep -v '^ *+' conftest.er1 >conftest.err
4252 -  rm -f conftest.er1
4253 -  cat conftest.err >&5
4254 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 -  (exit $ac_status); } &&
4256 -        { ac_try='test -z "$ac_c_werror_flag"
4257 -                        || test ! -s conftest.err'
4258 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 -  (eval $ac_try) 2>&5
4260 -  ac_status=$?
4261 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 -  (exit $ac_status); }; } &&
4263 -        { ac_try='test -s conftest.$ac_objext'
4264 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 -  (eval $ac_try) 2>&5
4266 -  ac_status=$?
4267 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 -  (exit $ac_status); }; }; then
4269 -  # It does; now see whether it defined to BIG_ENDIAN or not.
4270 -cat >conftest.$ac_ext <<_ACEOF
4271 +    $ac_path_GREP_found && break 3
4272 +  done
4273 +done
4274 +
4275 +done
4276 +IFS=$as_save_IFS
4277 +
4278 +
4279 +fi
4280 +
4281 +GREP="$ac_cv_path_GREP"
4282 +if test -z "$GREP"; then
4283 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4284 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4285 +   { (exit 1); exit 1; }; }
4286 +fi
4287 +
4288 +else
4289 +  ac_cv_path_GREP=$GREP
4290 +fi
4291 +
4292 +
4293 +fi
4294 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4295 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4296 + GREP="$ac_cv_path_GREP"
4297 +
4298 +
4299 +{ echo "$as_me:$LINENO: checking for egrep" >&5
4300 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4301 +if test "${ac_cv_path_EGREP+set}" = set; then
4302 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4303 +else
4304 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4305 +   then ac_cv_path_EGREP="$GREP -E"
4306 +   else
4307 +     # Extract the first word of "egrep" to use in msg output
4308 +if test -z "$EGREP"; then
4309 +set dummy egrep; ac_prog_name=$2
4310 +if test "${ac_cv_path_EGREP+set}" = set; then
4311 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4312 +else
4313 +  ac_path_EGREP_found=false
4314 +# Loop through the user's path and test for each of PROGNAME-LIST
4315 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4317 +do
4318 +  IFS=$as_save_IFS
4319 +  test -z "$as_dir" && as_dir=.
4320 +  for ac_prog in egrep; do
4321 +  for ac_exec_ext in '' $ac_executable_extensions; do
4322 +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4323 +    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4324 +    # Check for GNU ac_path_EGREP and select it if it is found.
4325 +  # Check for GNU $ac_path_EGREP
4326 +case `"$ac_path_EGREP" --version 2>&1` in
4327 +*GNU*)
4328 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4329 +*)
4330 +  ac_count=0
4331 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4332 +  while :
4333 +  do
4334 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
4335 +    mv "conftest.tmp" "conftest.in"
4336 +    cp "conftest.in" "conftest.nl"
4337 +    echo 'EGREP' >> "conftest.nl"
4338 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4339 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4340 +    ac_count=`expr $ac_count + 1`
4341 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4342 +      # Best one so far, save it but keep looking for a better one
4343 +      ac_cv_path_EGREP="$ac_path_EGREP"
4344 +      ac_path_EGREP_max=$ac_count
4345 +    fi
4346 +    # 10*(2^10) chars as input seems more than enough
4347 +    test $ac_count -gt 10 && break
4348 +  done
4349 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4350 +esac
4351 +
4352 +
4353 +    $ac_path_EGREP_found && break 3
4354 +  done
4355 +done
4356 +
4357 +done
4358 +IFS=$as_save_IFS
4359 +
4360 +
4361 +fi
4362 +
4363 +EGREP="$ac_cv_path_EGREP"
4364 +if test -z "$EGREP"; then
4365 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4366 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4367 +   { (exit 1); exit 1; }; }
4368 +fi
4369 +
4370 +else
4371 +  ac_cv_path_EGREP=$EGREP
4372 +fi
4373 +
4374 +
4375 +   fi
4376 +fi
4377 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4378 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4379 + EGREP="$ac_cv_path_EGREP"
4380 +
4381 +
4382 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4383 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4384 +if test "${ac_cv_header_stdc+set}" = set; then
4385 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4386 +else
4387 +  cat >conftest.$ac_ext <<_ACEOF
4388  /* confdefs.h.  */
4389  _ACEOF
4390  cat confdefs.h >>conftest.$ac_ext
4391  cat >>conftest.$ac_ext <<_ACEOF
4392  /* end confdefs.h.  */
4393 -#include <sys/types.h>
4394 -#include <sys/param.h>
4395 +#include <stdlib.h>
4396 +#include <stdarg.h>
4397 +#include <string.h>
4398 +#include <float.h>
4399  
4400  int
4401  main ()
4402  {
4403 -#if BYTE_ORDER != BIG_ENDIAN
4404 - not big endian
4405 -#endif
4406  
4407    ;
4408    return 0;
4409  }
4410  _ACEOF
4411  rm -f conftest.$ac_objext
4412 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4413 -  (eval $ac_compile) 2>conftest.er1
4414 +if { (ac_try="$ac_compile"
4415 +case "(($ac_try" in
4416 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417 +  *) ac_try_echo=$ac_try;;
4418 +esac
4419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4420 +  (eval "$ac_compile") 2>conftest.er1
4421    ac_status=$?
4422    grep -v '^ *+' conftest.er1 >conftest.err
4423    rm -f conftest.er1
4424    cat conftest.err >&5
4425    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 -  (exit $ac_status); } &&
4427 -        { ac_try='test -z "$ac_c_werror_flag"
4428 -                        || test ! -s conftest.err'
4429 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 -  (eval $ac_try) 2>&5
4431 -  ac_status=$?
4432 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 -  (exit $ac_status); }; } &&
4434 -        { ac_try='test -s conftest.$ac_objext'
4435 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 -  (eval $ac_try) 2>&5
4437 -  ac_status=$?
4438 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 -  (exit $ac_status); }; }; then
4440 -  ac_cv_c_bigendian=yes
4441 +  (exit $ac_status); } && {
4442 +        test -z "$ac_c_werror_flag" ||
4443 +        test ! -s conftest.err
4444 +       } && test -s conftest.$ac_objext; then
4445 +  ac_cv_header_stdc=yes
4446  else
4447    echo "$as_me: failed program was:" >&5
4448  sed 's/^/| /' conftest.$ac_ext >&5
4449  
4450 -ac_cv_c_bigendian=no
4451 +       ac_cv_header_stdc=no
4452  fi
4453 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4454 -else
4455 -  echo "$as_me: failed program was:" >&5
4456 -sed 's/^/| /' conftest.$ac_ext >&5
4457  
4458 -# It does not; compile a test program.
4459 -if test "$cross_compiling" = yes; then
4460 -  # try to guess the endianness by grepping values into an object file
4461 -  ac_cv_c_bigendian=unknown
4462 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4463 +
4464 +if test $ac_cv_header_stdc = yes; then
4465 +  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4466    cat >conftest.$ac_ext <<_ACEOF
4467  /* confdefs.h.  */
4468  _ACEOF
4469  cat confdefs.h >>conftest.$ac_ext
4470  cat >>conftest.$ac_ext <<_ACEOF
4471  /* end confdefs.h.  */
4472 -short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4473 -short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4474 -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4475 -short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4476 -short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4477 -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4478 +#include <string.h>
4479 +
4480 +_ACEOF
4481 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4482 +  $EGREP "memchr" >/dev/null 2>&1; then
4483 +  :
4484 +else
4485 +  ac_cv_header_stdc=no
4486 +fi
4487 +rm -f conftest*
4488 +
4489 +fi
4490 +
4491 +if test $ac_cv_header_stdc = yes; then
4492 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4493 +  cat >conftest.$ac_ext <<_ACEOF
4494 +/* confdefs.h.  */
4495 +_ACEOF
4496 +cat confdefs.h >>conftest.$ac_ext
4497 +cat >>conftest.$ac_ext <<_ACEOF
4498 +/* end confdefs.h.  */
4499 +#include <stdlib.h>
4500 +
4501 +_ACEOF
4502 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4503 +  $EGREP "free" >/dev/null 2>&1; then
4504 +  :
4505 +else
4506 +  ac_cv_header_stdc=no
4507 +fi
4508 +rm -f conftest*
4509 +
4510 +fi
4511 +
4512 +if test $ac_cv_header_stdc = yes; then
4513 +  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4514 +  if test "$cross_compiling" = yes; then
4515 +  :
4516 +else
4517 +  cat >conftest.$ac_ext <<_ACEOF
4518 +/* confdefs.h.  */
4519 +_ACEOF
4520 +cat confdefs.h >>conftest.$ac_ext
4521 +cat >>conftest.$ac_ext <<_ACEOF
4522 +/* end confdefs.h.  */
4523 +#include <ctype.h>
4524 +#include <stdlib.h>
4525 +#if ((' ' & 0x0FF) == 0x020)
4526 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4527 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4528 +#else
4529 +# define ISLOWER(c) \
4530 +                  (('a' <= (c) && (c) <= 'i') \
4531 +                    || ('j' <= (c) && (c) <= 'r') \
4532 +                    || ('s' <= (c) && (c) <= 'z'))
4533 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4534 +#endif
4535 +
4536 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4537  int
4538  main ()
4539  {
4540 - _ascii (); _ebcdic ();
4541 +  int i;
4542 +  for (i = 0; i < 256; i++)
4543 +    if (XOR (islower (i), ISLOWER (i))
4544 +       || toupper (i) != TOUPPER (i))
4545 +      return 2;
4546 +  return 0;
4547 +}
4548 +_ACEOF
4549 +rm -f conftest$ac_exeext
4550 +if { (ac_try="$ac_link"
4551 +case "(($ac_try" in
4552 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 +  *) ac_try_echo=$ac_try;;
4554 +esac
4555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 +  (eval "$ac_link") 2>&5
4557 +  ac_status=$?
4558 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 +  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4560 +  { (case "(($ac_try" in
4561 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 +  *) ac_try_echo=$ac_try;;
4563 +esac
4564 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 +  (eval "$ac_try") 2>&5
4566 +  ac_status=$?
4567 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 +  (exit $ac_status); }; }; then
4569 +  :
4570 +else
4571 +  echo "$as_me: program exited with status $ac_status" >&5
4572 +echo "$as_me: failed program was:" >&5
4573 +sed 's/^/| /' conftest.$ac_ext >&5
4574 +
4575 +( exit $ac_status )
4576 +ac_cv_header_stdc=no
4577 +fi
4578 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4579 +fi
4580 +
4581 +
4582 +fi
4583 +fi
4584 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4585 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4586 +if test $ac_cv_header_stdc = yes; then
4587 +
4588 +cat >>confdefs.h <<\_ACEOF
4589 +#define STDC_HEADERS 1
4590 +_ACEOF
4591 +
4592 +fi
4593 +
4594 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4595 +
4596 +
4597 +
4598 +
4599 +
4600 +
4601 +
4602 +
4603 +
4604 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4605 +                 inttypes.h stdint.h unistd.h
4606 +do
4607 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4608 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4609 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4610 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4611 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4612 +else
4613 +  cat >conftest.$ac_ext <<_ACEOF
4614 +/* confdefs.h.  */
4615 +_ACEOF
4616 +cat confdefs.h >>conftest.$ac_ext
4617 +cat >>conftest.$ac_ext <<_ACEOF
4618 +/* end confdefs.h.  */
4619 +#include <$ac_header>
4620 +_ACEOF
4621 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4622 +case "(($ac_try" in
4623 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 +  *) ac_try_echo=$ac_try;;
4625 +esac
4626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4628 +  ac_status=$?
4629 +  grep -v '^ *+' conftest.er1 >conftest.err
4630 +  rm -f conftest.er1
4631 +  cat conftest.err >&5
4632 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 +  (exit $ac_status); } >/dev/null && {
4634 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4635 +        test ! -s conftest.err
4636 +       }; then
4637 +  eval "$as_ac_Header=yes"
4638 +else
4639 +  echo "$as_me: failed program was:" >&5
4640 +sed 's/^/| /' conftest.$ac_ext >&5
4641 +
4642 +  eval "$as_ac_Header=no"
4643 +fi
4644 +
4645 +rm -f conftest.err conftest.$ac_ext
4646 +fi
4647 +ac_res=`eval echo '${'$as_ac_Header'}'`
4648 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
4649 +echo "${ECHO_T}$ac_res" >&6; }
4650 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4651 +  cat >>confdefs.h <<_ACEOF
4652 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4653 +_ACEOF
4654 +
4655 +fi
4656 +done
4657 +
4658 +
4659 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4660 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4661 +if test "${ac_cv_c_bigendian+set}" = set; then
4662 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4663 +else
4664 +  # See if sys/param.h defines the BYTE_ORDER macro.
4665 +cat >conftest.$ac_ext <<_ACEOF
4666 +/* confdefs.h.  */
4667 +_ACEOF
4668 +cat confdefs.h >>conftest.$ac_ext
4669 +cat >>conftest.$ac_ext <<_ACEOF
4670 +/* end confdefs.h.  */
4671 +#include <sys/types.h>
4672 +#include <sys/param.h>
4673 +
4674 +int
4675 +main ()
4676 +{
4677 +#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4678 +       && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4679 + bogus endian macros
4680 +#endif
4681 +
4682    ;
4683    return 0;
4684  }
4685  _ACEOF
4686  rm -f conftest.$ac_objext
4687 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 -  (eval $ac_compile) 2>conftest.er1
4689 +if { (ac_try="$ac_compile"
4690 +case "(($ac_try" in
4691 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4692 +  *) ac_try_echo=$ac_try;;
4693 +esac
4694 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4695 +  (eval "$ac_compile") 2>conftest.er1
4696    ac_status=$?
4697    grep -v '^ *+' conftest.er1 >conftest.err
4698    rm -f conftest.er1
4699    cat conftest.err >&5
4700    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 -  (exit $ac_status); } &&
4702 -        { ac_try='test -z "$ac_c_werror_flag"
4703 -                        || test ! -s conftest.err'
4704 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 -  (eval $ac_try) 2>&5
4706 +  (exit $ac_status); } && {
4707 +        test -z "$ac_c_werror_flag" ||
4708 +        test ! -s conftest.err
4709 +       } && test -s conftest.$ac_objext; then
4710 +  # It does; now see whether it defined to BIG_ENDIAN or not.
4711 +cat >conftest.$ac_ext <<_ACEOF
4712 +/* confdefs.h.  */
4713 +_ACEOF
4714 +cat confdefs.h >>conftest.$ac_ext
4715 +cat >>conftest.$ac_ext <<_ACEOF
4716 +/* end confdefs.h.  */
4717 +#include <sys/types.h>
4718 +#include <sys/param.h>
4719 +
4720 +int
4721 +main ()
4722 +{
4723 +#if BYTE_ORDER != BIG_ENDIAN
4724 + not big endian
4725 +#endif
4726 +
4727 +  ;
4728 +  return 0;
4729 +}
4730 +_ACEOF
4731 +rm -f conftest.$ac_objext
4732 +if { (ac_try="$ac_compile"
4733 +case "(($ac_try" in
4734 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 +  *) ac_try_echo=$ac_try;;
4736 +esac
4737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 +  (eval "$ac_compile") 2>conftest.er1
4739    ac_status=$?
4740 +  grep -v '^ *+' conftest.er1 >conftest.err
4741 +  rm -f conftest.er1
4742 +  cat conftest.err >&5
4743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 -  (exit $ac_status); }; } &&
4745 -        { ac_try='test -s conftest.$ac_objext'
4746 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 -  (eval $ac_try) 2>&5
4748 +  (exit $ac_status); } && {
4749 +        test -z "$ac_c_werror_flag" ||
4750 +        test ! -s conftest.err
4751 +       } && test -s conftest.$ac_objext; then
4752 +  ac_cv_c_bigendian=yes
4753 +else
4754 +  echo "$as_me: failed program was:" >&5
4755 +sed 's/^/| /' conftest.$ac_ext >&5
4756 +
4757 +       ac_cv_c_bigendian=no
4758 +fi
4759 +
4760 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4761 +else
4762 +  echo "$as_me: failed program was:" >&5
4763 +sed 's/^/| /' conftest.$ac_ext >&5
4764 +
4765 +       # It does not; compile a test program.
4766 +if test "$cross_compiling" = yes; then
4767 +  # try to guess the endianness by grepping values into an object file
4768 +  ac_cv_c_bigendian=unknown
4769 +  cat >conftest.$ac_ext <<_ACEOF
4770 +/* confdefs.h.  */
4771 +_ACEOF
4772 +cat confdefs.h >>conftest.$ac_ext
4773 +cat >>conftest.$ac_ext <<_ACEOF
4774 +/* end confdefs.h.  */
4775 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4776 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4777 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4778 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4779 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4780 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4781 +int
4782 +main ()
4783 +{
4784 + _ascii (); _ebcdic ();
4785 +  ;
4786 +  return 0;
4787 +}
4788 +_ACEOF
4789 +rm -f conftest.$ac_objext
4790 +if { (ac_try="$ac_compile"
4791 +case "(($ac_try" in
4792 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 +  *) ac_try_echo=$ac_try;;
4794 +esac
4795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 +  (eval "$ac_compile") 2>conftest.er1
4797    ac_status=$?
4798 +  grep -v '^ *+' conftest.er1 >conftest.err
4799 +  rm -f conftest.er1
4800 +  cat conftest.err >&5
4801    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 -  (exit $ac_status); }; }; then
4803 +  (exit $ac_status); } && {
4804 +        test -z "$ac_c_werror_flag" ||
4805 +        test ! -s conftest.err
4806 +       } && test -s conftest.$ac_objext; then
4807    if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4808    ac_cv_c_bigendian=yes
4809  fi
4810 @@ -3432,8 +4305,10 @@
4811    echo "$as_me: failed program was:" >&5
4812  sed 's/^/| /' conftest.$ac_ext >&5
4813  
4814 +
4815  fi
4816 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4817 +
4818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4819  else
4820    cat >conftest.$ac_ext <<_ACEOF
4821  /* confdefs.h.  */
4822 @@ -3441,27 +4316,41 @@
4823  cat confdefs.h >>conftest.$ac_ext
4824  cat >>conftest.$ac_ext <<_ACEOF
4825  /* end confdefs.h.  */
4826 +$ac_includes_default
4827  int
4828  main ()
4829  {
4830 +
4831    /* Are we little or big endian?  From Harbison&Steele.  */
4832    union
4833    {
4834 -    long l;
4835 -    char c[sizeof (long)];
4836 +    long int l;
4837 +    char c[sizeof (long int)];
4838    } u;
4839    u.l = 1;
4840 -  exit (u.c[sizeof (long) - 1] == 1);
4841 +  return u.c[sizeof (long int) - 1] == 1;
4842 +
4843 +  ;
4844 +  return 0;
4845  }
4846  _ACEOF
4847  rm -f conftest$ac_exeext
4848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4849 -  (eval $ac_link) 2>&5
4850 +if { (ac_try="$ac_link"
4851 +case "(($ac_try" in
4852 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 +  *) ac_try_echo=$ac_try;;
4854 +esac
4855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 +  (eval "$ac_link") 2>&5
4857    ac_status=$?
4858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4860 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 -  (eval $ac_try) 2>&5
4862 +  { (case "(($ac_try" in
4863 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 +  *) ac_try_echo=$ac_try;;
4865 +esac
4866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867 +  (eval "$ac_try") 2>&5
4868    ac_status=$?
4869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870    (exit $ac_status); }; }; then
4871 @@ -3474,13 +4363,16 @@
4872  ( exit $ac_status )
4873  ac_cv_c_bigendian=yes
4874  fi
4875 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4876 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4877  fi
4878 +
4879 +
4880  fi
4881 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4882 +
4883 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884  fi
4885 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4886 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4887 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4888 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4889  case $ac_cv_c_bigendian in
4890    yes)
4891  
4892 @@ -3501,7 +4393,7 @@
4893  
4894  
4895  
4896 -          ac_config_headers="$ac_config_headers config.h:config.in"
4897 +ac_config_headers="$ac_config_headers config.h:config.in"
4898  
4899  
4900  
4901 @@ -3518,8 +4410,8 @@
4902  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4903  # OS/2's system install, which has a completely different semantic
4904  # ./install, which can be erroneously created by make from ./install.sh.
4905 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4906 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4907 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4908 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4909  if test -z "$INSTALL"; then
4910  if test "${ac_cv_path_install+set}" = set; then
4911    echo $ECHO_N "(cached) $ECHO_C" >&6
4912 @@ -3541,7 +4433,7 @@
4913      # by default.
4914      for ac_prog in ginstall scoinst install; do
4915        for ac_exec_ext in '' $ac_executable_extensions; do
4916 -       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4917 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4918           if test $ac_prog = install &&
4919             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4920             # AIX install.  It has an incompatible calling convention.
4921 @@ -3560,21 +4452,22 @@
4922      ;;
4923  esac
4924  done
4925 +IFS=$as_save_IFS
4926  
4927  
4928  fi
4929    if test "${ac_cv_path_install+set}" = set; then
4930      INSTALL=$ac_cv_path_install
4931    else
4932 -    # As a last resort, use the slow shell script.  We don't cache a
4933 -    # path for INSTALL within a source directory, because that will
4934 +    # As a last resort, use the slow shell script.  Don't cache a
4935 +    # value for INSTALL within a source directory, because that will
4936      # break other packages using the cache if that directory is
4937 -    # removed, or if the path is relative.
4938 +    # removed, or if the value is a relative name.
4939      INSTALL=$ac_install_sh
4940    fi
4941  fi
4942 -echo "$as_me:$LINENO: result: $INSTALL" >&5
4943 -echo "${ECHO_T}$INSTALL" >&6
4944 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4945 +echo "${ECHO_T}$INSTALL" >&6; }
4946  
4947  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4948  # It thinks the first close brace ends the variable substitution.
4949 @@ -3684,13 +4577,12 @@
4950  
4951  
4952  
4953 -
4954  for ac_header in sys/file.h sys/param.h limits.h stdlib.h malloc.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h stdint.h stdio_ext.h
4955  do
4956  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4957 -echo "$as_me:$LINENO: checking for $ac_header" >&5
4958 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4959 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4960 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4961 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4962 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4963    echo $ECHO_N "(cached) $ECHO_C" >&6
4964  else
4965    cat >conftest.$ac_ext <<_ACEOF
4966 @@ -3701,24 +4593,22 @@
4967  /* end confdefs.h.  */
4968  #include <$ac_header>
4969  _ACEOF
4970 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4971 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4972 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4973 +case "(($ac_try" in
4974 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 +  *) ac_try_echo=$ac_try;;
4976 +esac
4977 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4979    ac_status=$?
4980    grep -v '^ *+' conftest.er1 >conftest.err
4981    rm -f conftest.er1
4982    cat conftest.err >&5
4983    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 -  (exit $ac_status); } >/dev/null; then
4985 -  if test -s conftest.err; then
4986 -    ac_cpp_err=$ac_c_preproc_warn_flag
4987 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4988 -  else
4989 -    ac_cpp_err=
4990 -  fi
4991 -else
4992 -  ac_cpp_err=yes
4993 -fi
4994 -if test -z "$ac_cpp_err"; then
4995 +  (exit $ac_status); } >/dev/null && {
4996 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4997 +        test ! -s conftest.err
4998 +       }; then
4999    eval "$as_ac_Header=yes"
5000  else
5001    echo "$as_me: failed program was:" >&5
5002 @@ -3726,10 +4616,12 @@
5003  
5004    eval "$as_ac_Header=no"
5005  fi
5006 +
5007  rm -f conftest.err conftest.$ac_ext
5008  fi
5009 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5010 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5011 +ac_res=`eval echo '${'$as_ac_Header'}'`
5012 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
5013 +echo "${ECHO_T}$ac_res" >&6; }
5014  if test `eval echo '${'$as_ac_Header'}'` = yes; then
5015    cat >>confdefs.h <<_ACEOF
5016  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5017 @@ -3738,8 +4630,8 @@
5018  fi
5019  done
5020  
5021 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5022 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5023 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5024 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5025  if test "${ac_cv_header_sys_wait_h+set}" = set; then
5026    echo $ECHO_N "(cached) $ECHO_C" >&6
5027  else
5028 @@ -3752,7 +4644,7 @@
5029  #include <sys/types.h>
5030  #include <sys/wait.h>
5031  #ifndef WEXITSTATUS
5032 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5033 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5034  #endif
5035  #ifndef WIFEXITED
5036  # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5037 @@ -3769,38 +4661,34 @@
5038  }
5039  _ACEOF
5040  rm -f conftest.$ac_objext
5041 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 -  (eval $ac_compile) 2>conftest.er1
5043 +if { (ac_try="$ac_compile"
5044 +case "(($ac_try" in
5045 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 +  *) ac_try_echo=$ac_try;;
5047 +esac
5048 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5049 +  (eval "$ac_compile") 2>conftest.er1
5050    ac_status=$?
5051    grep -v '^ *+' conftest.er1 >conftest.err
5052    rm -f conftest.er1
5053    cat conftest.err >&5
5054    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 -  (exit $ac_status); } &&
5056 -        { ac_try='test -z "$ac_c_werror_flag"
5057 -                        || test ! -s conftest.err'
5058 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 -  (eval $ac_try) 2>&5
5060 -  ac_status=$?
5061 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 -  (exit $ac_status); }; } &&
5063 -        { ac_try='test -s conftest.$ac_objext'
5064 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5065 -  (eval $ac_try) 2>&5
5066 -  ac_status=$?
5067 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 -  (exit $ac_status); }; }; then
5069 +  (exit $ac_status); } && {
5070 +        test -z "$ac_c_werror_flag" ||
5071 +        test ! -s conftest.err
5072 +       } && test -s conftest.$ac_objext; then
5073    ac_cv_header_sys_wait_h=yes
5074  else
5075    echo "$as_me: failed program was:" >&5
5076  sed 's/^/| /' conftest.$ac_ext >&5
5077  
5078 -ac_cv_header_sys_wait_h=no
5079 +       ac_cv_header_sys_wait_h=no
5080  fi
5081 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5082 +
5083 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5084  fi
5085 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5086 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5087 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5088 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5089  if test $ac_cv_header_sys_wait_h = yes; then
5090  
5091  cat >>confdefs.h <<\_ACEOF
5092 @@ -3809,8 +4697,8 @@
5093  
5094  fi
5095  
5096 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5097 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5098 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5099 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5100  if test "${ac_cv_header_time+set}" = set; then
5101    echo $ECHO_N "(cached) $ECHO_C" >&6
5102  else
5103 @@ -3834,38 +4722,34 @@
5104  }
5105  _ACEOF
5106  rm -f conftest.$ac_objext
5107 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5108 -  (eval $ac_compile) 2>conftest.er1
5109 +if { (ac_try="$ac_compile"
5110 +case "(($ac_try" in
5111 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 +  *) ac_try_echo=$ac_try;;
5113 +esac
5114 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 +  (eval "$ac_compile") 2>conftest.er1
5116    ac_status=$?
5117    grep -v '^ *+' conftest.er1 >conftest.err
5118    rm -f conftest.er1
5119    cat conftest.err >&5
5120    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 -  (exit $ac_status); } &&
5122 -        { ac_try='test -z "$ac_c_werror_flag"
5123 -                        || test ! -s conftest.err'
5124 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 -  (eval $ac_try) 2>&5
5126 -  ac_status=$?
5127 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 -  (exit $ac_status); }; } &&
5129 -        { ac_try='test -s conftest.$ac_objext'
5130 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 -  (eval $ac_try) 2>&5
5132 -  ac_status=$?
5133 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 -  (exit $ac_status); }; }; then
5135 +  (exit $ac_status); } && {
5136 +        test -z "$ac_c_werror_flag" ||
5137 +        test ! -s conftest.err
5138 +       } && test -s conftest.$ac_objext; then
5139    ac_cv_header_time=yes
5140  else
5141    echo "$as_me: failed program was:" >&5
5142  sed 's/^/| /' conftest.$ac_ext >&5
5143  
5144 -ac_cv_header_time=no
5145 +       ac_cv_header_time=no
5146  fi
5147 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5148 +
5149 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150  fi
5151 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5152 -echo "${ECHO_T}$ac_cv_header_time" >&6
5153 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5154 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
5155  if test $ac_cv_header_time = yes; then
5156  
5157  cat >>confdefs.h <<\_ACEOF
5158 @@ -3875,8 +4759,8 @@
5159  fi
5160  
5161  
5162 -echo "$as_me:$LINENO: checking whether errno must be declared" >&5
5163 -echo $ECHO_N "checking whether errno must be declared... $ECHO_C" >&6
5164 +{ echo "$as_me:$LINENO: checking whether errno must be declared" >&5
5165 +echo $ECHO_N "checking whether errno must be declared... $ECHO_C" >&6; }
5166  if test "${libiberty_cv_declare_errno+set}" = set; then
5167    echo $ECHO_N "(cached) $ECHO_C" >&6
5168  else
5169 @@ -3896,38 +4780,34 @@
5170  }
5171  _ACEOF
5172  rm -f conftest.$ac_objext
5173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5174 -  (eval $ac_compile) 2>conftest.er1
5175 +if { (ac_try="$ac_compile"
5176 +case "(($ac_try" in
5177 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 +  *) ac_try_echo=$ac_try;;
5179 +esac
5180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181 +  (eval "$ac_compile") 2>conftest.er1
5182    ac_status=$?
5183    grep -v '^ *+' conftest.er1 >conftest.err
5184    rm -f conftest.er1
5185    cat conftest.err >&5
5186    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 -  (exit $ac_status); } &&
5188 -        { ac_try='test -z "$ac_c_werror_flag"
5189 -                        || test ! -s conftest.err'
5190 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191 -  (eval $ac_try) 2>&5
5192 -  ac_status=$?
5193 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 -  (exit $ac_status); }; } &&
5195 -        { ac_try='test -s conftest.$ac_objext'
5196 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 -  (eval $ac_try) 2>&5
5198 -  ac_status=$?
5199 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 -  (exit $ac_status); }; }; then
5201 +  (exit $ac_status); } && {
5202 +        test -z "$ac_c_werror_flag" ||
5203 +        test ! -s conftest.err
5204 +       } && test -s conftest.$ac_objext; then
5205    libiberty_cv_declare_errno=no
5206  else
5207    echo "$as_me: failed program was:" >&5
5208  sed 's/^/| /' conftest.$ac_ext >&5
5209  
5210 -libiberty_cv_declare_errno=yes
5211 +       libiberty_cv_declare_errno=yes
5212  fi
5213 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5214 +
5215 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5216  fi
5217 -echo "$as_me:$LINENO: result: $libiberty_cv_declare_errno" >&5
5218 -echo "${ECHO_T}$libiberty_cv_declare_errno" >&6
5219 +{ echo "$as_me:$LINENO: result: $libiberty_cv_declare_errno" >&5
5220 +echo "${ECHO_T}$libiberty_cv_declare_errno" >&6; }
5221  if test $libiberty_cv_declare_errno = yes
5222  then
5223  cat >>confdefs.h <<\_ACEOF
5224 @@ -3938,254 +4818,8 @@
5225  
5226  
5227  # Determine the size of an int for struct fibnode.
5228 -echo "$as_me:$LINENO: checking for egrep" >&5
5229 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5230 -if test "${ac_cv_prog_egrep+set}" = set; then
5231 -  echo $ECHO_N "(cached) $ECHO_C" >&6
5232 -else
5233 -  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5234 -    then ac_cv_prog_egrep='grep -E'
5235 -    else ac_cv_prog_egrep='egrep'
5236 -    fi
5237 -fi
5238 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5239 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5240 - EGREP=$ac_cv_prog_egrep
5241 -
5242 -
5243 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5244 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5245 -if test "${ac_cv_header_stdc+set}" = set; then
5246 -  echo $ECHO_N "(cached) $ECHO_C" >&6
5247 -else
5248 -  cat >conftest.$ac_ext <<_ACEOF
5249 -/* confdefs.h.  */
5250 -_ACEOF
5251 -cat confdefs.h >>conftest.$ac_ext
5252 -cat >>conftest.$ac_ext <<_ACEOF
5253 -/* end confdefs.h.  */
5254 -#include <stdlib.h>
5255 -#include <stdarg.h>
5256 -#include <string.h>
5257 -#include <float.h>
5258 -
5259 -int
5260 -main ()
5261 -{
5262 -
5263 -  ;
5264 -  return 0;
5265 -}
5266 -_ACEOF
5267 -rm -f conftest.$ac_objext
5268 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 -  (eval $ac_compile) 2>conftest.er1
5270 -  ac_status=$?
5271 -  grep -v '^ *+' conftest.er1 >conftest.err
5272 -  rm -f conftest.er1
5273 -  cat conftest.err >&5
5274 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 -  (exit $ac_status); } &&
5276 -        { ac_try='test -z "$ac_c_werror_flag"
5277 -                        || test ! -s conftest.err'
5278 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 -  (eval $ac_try) 2>&5
5280 -  ac_status=$?
5281 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 -  (exit $ac_status); }; } &&
5283 -        { ac_try='test -s conftest.$ac_objext'
5284 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 -  (eval $ac_try) 2>&5
5286 -  ac_status=$?
5287 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 -  (exit $ac_status); }; }; then
5289 -  ac_cv_header_stdc=yes
5290 -else
5291 -  echo "$as_me: failed program was:" >&5
5292 -sed 's/^/| /' conftest.$ac_ext >&5
5293 -
5294 -ac_cv_header_stdc=no
5295 -fi
5296 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5297 -
5298 -if test $ac_cv_header_stdc = yes; then
5299 -  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5300 -  cat >conftest.$ac_ext <<_ACEOF
5301 -/* confdefs.h.  */
5302 -_ACEOF
5303 -cat confdefs.h >>conftest.$ac_ext
5304 -cat >>conftest.$ac_ext <<_ACEOF
5305 -/* end confdefs.h.  */
5306 -#include <string.h>
5307 -
5308 -_ACEOF
5309 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 -  $EGREP "memchr" >/dev/null 2>&1; then
5311 -  :
5312 -else
5313 -  ac_cv_header_stdc=no
5314 -fi
5315 -rm -f conftest*
5316 -
5317 -fi
5318 -
5319 -if test $ac_cv_header_stdc = yes; then
5320 -  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5321 -  cat >conftest.$ac_ext <<_ACEOF
5322 -/* confdefs.h.  */
5323 -_ACEOF
5324 -cat confdefs.h >>conftest.$ac_ext
5325 -cat >>conftest.$ac_ext <<_ACEOF
5326 -/* end confdefs.h.  */
5327 -#include <stdlib.h>
5328 -
5329 -_ACEOF
5330 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 -  $EGREP "free" >/dev/null 2>&1; then
5332 -  :
5333 -else
5334 -  ac_cv_header_stdc=no
5335 -fi
5336 -rm -f conftest*
5337 -
5338 -fi
5339 -
5340 -if test $ac_cv_header_stdc = yes; then
5341 -  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5342 -  if test "$cross_compiling" = yes; then
5343 -  :
5344 -else
5345 -  cat >conftest.$ac_ext <<_ACEOF
5346 -/* confdefs.h.  */
5347 -_ACEOF
5348 -cat confdefs.h >>conftest.$ac_ext
5349 -cat >>conftest.$ac_ext <<_ACEOF
5350 -/* end confdefs.h.  */
5351 -#include <ctype.h>
5352 -#if ((' ' & 0x0FF) == 0x020)
5353 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5354 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5355 -#else
5356 -# define ISLOWER(c) \
5357 -                  (('a' <= (c) && (c) <= 'i') \
5358 -                    || ('j' <= (c) && (c) <= 'r') \
5359 -                    || ('s' <= (c) && (c) <= 'z'))
5360 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5361 -#endif
5362 -
5363 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5364 -int
5365 -main ()
5366 -{
5367 -  int i;
5368 -  for (i = 0; i < 256; i++)
5369 -    if (XOR (islower (i), ISLOWER (i))
5370 -       || toupper (i) != TOUPPER (i))
5371 -      exit(2);
5372 -  exit (0);
5373 -}
5374 -_ACEOF
5375 -rm -f conftest$ac_exeext
5376 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5377 -  (eval $ac_link) 2>&5
5378 -  ac_status=$?
5379 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 -  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5381 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 -  (eval $ac_try) 2>&5
5383 -  ac_status=$?
5384 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 -  (exit $ac_status); }; }; then
5386 -  :
5387 -else
5388 -  echo "$as_me: program exited with status $ac_status" >&5
5389 -echo "$as_me: failed program was:" >&5
5390 -sed 's/^/| /' conftest.$ac_ext >&5
5391 -
5392 -( exit $ac_status )
5393 -ac_cv_header_stdc=no
5394 -fi
5395 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5396 -fi
5397 -fi
5398 -fi
5399 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5400 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
5401 -if test $ac_cv_header_stdc = yes; then
5402 -
5403 -cat >>confdefs.h <<\_ACEOF
5404 -#define STDC_HEADERS 1
5405 -_ACEOF
5406 -
5407 -fi
5408 -
5409 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5410 -
5411 -
5412 -
5413 -
5414 -
5415 -
5416 -
5417 -
5418 -
5419 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5420 -                 inttypes.h stdint.h unistd.h
5421 -do
5422 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5423 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 -  echo $ECHO_N "(cached) $ECHO_C" >&6
5427 -else
5428 -  cat >conftest.$ac_ext <<_ACEOF
5429 -/* confdefs.h.  */
5430 -_ACEOF
5431 -cat confdefs.h >>conftest.$ac_ext
5432 -cat >>conftest.$ac_ext <<_ACEOF
5433 -/* end confdefs.h.  */
5434 -#include <$ac_header>
5435 -_ACEOF
5436 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5437 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5438 -  ac_status=$?
5439 -  grep -v '^ *+' conftest.er1 >conftest.err
5440 -  rm -f conftest.er1
5441 -  cat conftest.err >&5
5442 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 -  (exit $ac_status); } >/dev/null; then
5444 -  if test -s conftest.err; then
5445 -    ac_cpp_err=$ac_c_preproc_warn_flag
5446 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5447 -  else
5448 -    ac_cpp_err=
5449 -  fi
5450 -else
5451 -  ac_cpp_err=yes
5452 -fi
5453 -if test -z "$ac_cpp_err"; then
5454 -  eval "$as_ac_Header=yes"
5455 -else
5456 -  echo "$as_me: failed program was:" >&5
5457 -sed 's/^/| /' conftest.$ac_ext >&5
5458 -
5459 -  eval "$as_ac_Header=no"
5460 -fi
5461 -rm -f conftest.err conftest.$ac_ext
5462 -fi
5463 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5464 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5465 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5466 -  cat >>confdefs.h <<_ACEOF
5467 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5468 -_ACEOF
5469 -
5470 -fi
5471 -done
5472 -
5473 -
5474 -echo "$as_me:$LINENO: checking for int" >&5
5475 -echo $ECHO_N "checking for int... $ECHO_C" >&6
5476 +{ echo "$as_me:$LINENO: checking for int" >&5
5477 +echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5478  if test "${ac_cv_type_int+set}" = set; then
5479    echo $ECHO_N "(cached) $ECHO_C" >&6
5480  else
5481 @@ -4196,61 +4830,57 @@
5482  cat >>conftest.$ac_ext <<_ACEOF
5483  /* end confdefs.h.  */
5484  $ac_includes_default
5485 +typedef int ac__type_new_;
5486  int
5487  main ()
5488  {
5489 -if ((int *) 0)
5490 +if ((ac__type_new_ *) 0)
5491    return 0;
5492 -if (sizeof (int))
5493 +if (sizeof (ac__type_new_))
5494    return 0;
5495    ;
5496    return 0;
5497  }
5498  _ACEOF
5499  rm -f conftest.$ac_objext
5500 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 -  (eval $ac_compile) 2>conftest.er1
5502 +if { (ac_try="$ac_compile"
5503 +case "(($ac_try" in
5504 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5505 +  *) ac_try_echo=$ac_try;;
5506 +esac
5507 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 +  (eval "$ac_compile") 2>conftest.er1
5509    ac_status=$?
5510    grep -v '^ *+' conftest.er1 >conftest.err
5511    rm -f conftest.er1
5512    cat conftest.err >&5
5513    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 -  (exit $ac_status); } &&
5515 -        { ac_try='test -z "$ac_c_werror_flag"
5516 -                        || test ! -s conftest.err'
5517 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 -  (eval $ac_try) 2>&5
5519 -  ac_status=$?
5520 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 -  (exit $ac_status); }; } &&
5522 -        { ac_try='test -s conftest.$ac_objext'
5523 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 -  (eval $ac_try) 2>&5
5525 -  ac_status=$?
5526 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 -  (exit $ac_status); }; }; then
5528 +  (exit $ac_status); } && {
5529 +        test -z "$ac_c_werror_flag" ||
5530 +        test ! -s conftest.err
5531 +       } && test -s conftest.$ac_objext; then
5532    ac_cv_type_int=yes
5533  else
5534    echo "$as_me: failed program was:" >&5
5535  sed 's/^/| /' conftest.$ac_ext >&5
5536  
5537 -ac_cv_type_int=no
5538 +       ac_cv_type_int=no
5539  fi
5540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5541 +
5542 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543  fi
5544 -echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5545 -echo "${ECHO_T}$ac_cv_type_int" >&6
5546 +{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5547 +echo "${ECHO_T}$ac_cv_type_int" >&6; }
5548  
5549 -echo "$as_me:$LINENO: checking size of int" >&5
5550 -echo $ECHO_N "checking size of int... $ECHO_C" >&6
5551 +# The cast to long int works around a bug in the HP C Compiler
5552 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5553 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5554 +# This bug is HP SR number 8606223364.
5555 +{ echo "$as_me:$LINENO: checking size of int" >&5
5556 +echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5557  if test "${ac_cv_sizeof_int+set}" = set; then
5558    echo $ECHO_N "(cached) $ECHO_C" >&6
5559  else
5560 -  if test "$ac_cv_type_int" = yes; then
5561 -  # The cast to unsigned long works around a bug in the HP C Compiler
5562 -  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5563 -  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5564 -  # This bug is HP SR number 8606223364.
5565    if test "$cross_compiling" = yes; then
5566    # Depending upon the size, compute the lo and hi bounds.
5567  cat >conftest.$ac_ext <<_ACEOF
5568 @@ -4260,10 +4890,11 @@
5569  cat >>conftest.$ac_ext <<_ACEOF
5570  /* end confdefs.h.  */
5571  $ac_includes_default
5572 +   typedef int ac__type_sizeof_;
5573  int
5574  main ()
5575  {
5576 -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5577 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5578  test_array [0] = 0
5579  
5580    ;
5581 @@ -4271,27 +4902,22 @@
5582  }
5583  _ACEOF
5584  rm -f conftest.$ac_objext
5585 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5586 -  (eval $ac_compile) 2>conftest.er1
5587 +if { (ac_try="$ac_compile"
5588 +case "(($ac_try" in
5589 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590 +  *) ac_try_echo=$ac_try;;
5591 +esac
5592 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 +  (eval "$ac_compile") 2>conftest.er1
5594    ac_status=$?
5595    grep -v '^ *+' conftest.er1 >conftest.err
5596    rm -f conftest.er1
5597    cat conftest.err >&5
5598    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 -  (exit $ac_status); } &&
5600 -        { ac_try='test -z "$ac_c_werror_flag"
5601 -                        || test ! -s conftest.err'
5602 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 -  (eval $ac_try) 2>&5
5604 -  ac_status=$?
5605 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 -  (exit $ac_status); }; } &&
5607 -        { ac_try='test -s conftest.$ac_objext'
5608 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 -  (eval $ac_try) 2>&5
5610 -  ac_status=$?
5611 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 -  (exit $ac_status); }; }; then
5613 +  (exit $ac_status); } && {
5614 +        test -z "$ac_c_werror_flag" ||
5615 +        test ! -s conftest.err
5616 +       } && test -s conftest.$ac_objext; then
5617    ac_lo=0 ac_mid=0
5618    while :; do
5619      cat >conftest.$ac_ext <<_ACEOF
5620 @@ -4301,10 +4927,11 @@
5621  cat >>conftest.$ac_ext <<_ACEOF
5622  /* end confdefs.h.  */
5623  $ac_includes_default
5624 +   typedef int ac__type_sizeof_;
5625  int
5626  main ()
5627  {
5628 -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5629 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5630  test_array [0] = 0
5631  
5632    ;
5633 @@ -4312,56 +4939,53 @@
5634  }
5635  _ACEOF
5636  rm -f conftest.$ac_objext
5637 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5638 -  (eval $ac_compile) 2>conftest.er1
5639 +if { (ac_try="$ac_compile"
5640 +case "(($ac_try" in
5641 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 +  *) ac_try_echo=$ac_try;;
5643 +esac
5644 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 +  (eval "$ac_compile") 2>conftest.er1
5646    ac_status=$?
5647    grep -v '^ *+' conftest.er1 >conftest.err
5648    rm -f conftest.er1
5649    cat conftest.err >&5
5650    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 -  (exit $ac_status); } &&
5652 -        { ac_try='test -z "$ac_c_werror_flag"
5653 -                        || test ! -s conftest.err'
5654 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 -  (eval $ac_try) 2>&5
5656 -  ac_status=$?
5657 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 -  (exit $ac_status); }; } &&
5659 -        { ac_try='test -s conftest.$ac_objext'
5660 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 -  (eval $ac_try) 2>&5
5662 -  ac_status=$?
5663 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 -  (exit $ac_status); }; }; then
5665 +  (exit $ac_status); } && {
5666 +        test -z "$ac_c_werror_flag" ||
5667 +        test ! -s conftest.err
5668 +       } && test -s conftest.$ac_objext; then
5669    ac_hi=$ac_mid; break
5670  else
5671    echo "$as_me: failed program was:" >&5
5672  sed 's/^/| /' conftest.$ac_ext >&5
5673  
5674 -ac_lo=`expr $ac_mid + 1`
5675 -                   if test $ac_lo -le $ac_mid; then
5676 -                     ac_lo= ac_hi=
5677 -                     break
5678 -                   fi
5679 -                   ac_mid=`expr 2 '*' $ac_mid + 1`
5680 +       ac_lo=`expr $ac_mid + 1`
5681 +                       if test $ac_lo -le $ac_mid; then
5682 +                         ac_lo= ac_hi=
5683 +                         break
5684 +                       fi
5685 +                       ac_mid=`expr 2 '*' $ac_mid + 1`
5686  fi
5687 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5688 +
5689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5690    done
5691  else
5692    echo "$as_me: failed program was:" >&5
5693  sed 's/^/| /' conftest.$ac_ext >&5
5694  
5695 -cat >conftest.$ac_ext <<_ACEOF
5696 +       cat >conftest.$ac_ext <<_ACEOF
5697  /* confdefs.h.  */
5698  _ACEOF
5699  cat confdefs.h >>conftest.$ac_ext
5700  cat >>conftest.$ac_ext <<_ACEOF
5701  /* end confdefs.h.  */
5702  $ac_includes_default
5703 +   typedef int ac__type_sizeof_;
5704  int
5705  main ()
5706  {
5707 -static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5708 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5709  test_array [0] = 0
5710  
5711    ;
5712 @@ -4369,27 +4993,22 @@
5713  }
5714  _ACEOF
5715  rm -f conftest.$ac_objext
5716 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 -  (eval $ac_compile) 2>conftest.er1
5718 +if { (ac_try="$ac_compile"
5719 +case "(($ac_try" in
5720 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 +  *) ac_try_echo=$ac_try;;
5722 +esac
5723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 +  (eval "$ac_compile") 2>conftest.er1
5725    ac_status=$?
5726    grep -v '^ *+' conftest.er1 >conftest.err
5727    rm -f conftest.er1
5728    cat conftest.err >&5
5729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 -  (exit $ac_status); } &&
5731 -        { ac_try='test -z "$ac_c_werror_flag"
5732 -                        || test ! -s conftest.err'
5733 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 -  (eval $ac_try) 2>&5
5735 -  ac_status=$?
5736 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 -  (exit $ac_status); }; } &&
5738 -        { ac_try='test -s conftest.$ac_objext'
5739 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 -  (eval $ac_try) 2>&5
5741 -  ac_status=$?
5742 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 -  (exit $ac_status); }; }; then
5744 +  (exit $ac_status); } && {
5745 +        test -z "$ac_c_werror_flag" ||
5746 +        test ! -s conftest.err
5747 +       } && test -s conftest.$ac_objext; then
5748    ac_hi=-1 ac_mid=-1
5749    while :; do
5750      cat >conftest.$ac_ext <<_ACEOF
5751 @@ -4399,10 +5018,11 @@
5752  cat >>conftest.$ac_ext <<_ACEOF
5753  /* end confdefs.h.  */
5754  $ac_includes_default
5755 +   typedef int ac__type_sizeof_;
5756  int
5757  main ()
5758  {
5759 -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5760 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5761  test_array [0] = 0
5762  
5763    ;
5764 @@ -4410,50 +5030,48 @@
5765  }
5766  _ACEOF
5767  rm -f conftest.$ac_objext
5768 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 -  (eval $ac_compile) 2>conftest.er1
5770 +if { (ac_try="$ac_compile"
5771 +case "(($ac_try" in
5772 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5773 +  *) ac_try_echo=$ac_try;;
5774 +esac
5775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5776 +  (eval "$ac_compile") 2>conftest.er1
5777    ac_status=$?
5778    grep -v '^ *+' conftest.er1 >conftest.err
5779    rm -f conftest.er1
5780    cat conftest.err >&5
5781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 -  (exit $ac_status); } &&
5783 -        { ac_try='test -z "$ac_c_werror_flag"
5784 -                        || test ! -s conftest.err'
5785 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 -  (eval $ac_try) 2>&5
5787 -  ac_status=$?
5788 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 -  (exit $ac_status); }; } &&
5790 -        { ac_try='test -s conftest.$ac_objext'
5791 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 -  (eval $ac_try) 2>&5
5793 -  ac_status=$?
5794 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 -  (exit $ac_status); }; }; then
5796 +  (exit $ac_status); } && {
5797 +        test -z "$ac_c_werror_flag" ||
5798 +        test ! -s conftest.err
5799 +       } && test -s conftest.$ac_objext; then
5800    ac_lo=$ac_mid; break
5801  else
5802    echo "$as_me: failed program was:" >&5
5803  sed 's/^/| /' conftest.$ac_ext >&5
5804  
5805 -ac_hi=`expr '(' $ac_mid ')' - 1`
5806 -                      if test $ac_mid -le $ac_hi; then
5807 -                        ac_lo= ac_hi=
5808 -                        break
5809 -                      fi
5810 -                      ac_mid=`expr 2 '*' $ac_mid`
5811 +       ac_hi=`expr '(' $ac_mid ')' - 1`
5812 +                       if test $ac_mid -le $ac_hi; then
5813 +                         ac_lo= ac_hi=
5814 +                         break
5815 +                       fi
5816 +                       ac_mid=`expr 2 '*' $ac_mid`
5817  fi
5818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5819 +
5820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5821    done
5822  else
5823    echo "$as_me: failed program was:" >&5
5824  sed 's/^/| /' conftest.$ac_ext >&5
5825  
5826 -ac_lo= ac_hi=
5827 +       ac_lo= ac_hi=
5828  fi
5829 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5830 +
5831 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5832  fi
5833 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5834 +
5835 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836  # Binary search between lo and hi bounds.
5837  while test "x$ac_lo" != "x$ac_hi"; do
5838    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5839 @@ -4464,10 +5082,11 @@
5840  cat >>conftest.$ac_ext <<_ACEOF
5841  /* end confdefs.h.  */
5842  $ac_includes_default
5843 +   typedef int ac__type_sizeof_;
5844  int
5845  main ()
5846  {
5847 -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5848 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5849  test_array [0] = 0
5850  
5851    ;
5852 @@ -4475,52 +5094,45 @@
5853  }
5854  _ACEOF
5855  rm -f conftest.$ac_objext
5856 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5857 -  (eval $ac_compile) 2>conftest.er1
5858 +if { (ac_try="$ac_compile"
5859 +case "(($ac_try" in
5860 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 +  *) ac_try_echo=$ac_try;;
5862 +esac
5863 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864 +  (eval "$ac_compile") 2>conftest.er1
5865    ac_status=$?
5866    grep -v '^ *+' conftest.er1 >conftest.err
5867    rm -f conftest.er1
5868    cat conftest.err >&5
5869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 -  (exit $ac_status); } &&
5871 -        { ac_try='test -z "$ac_c_werror_flag"
5872 -                        || test ! -s conftest.err'
5873 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 -  (eval $ac_try) 2>&5
5875 -  ac_status=$?
5876 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 -  (exit $ac_status); }; } &&
5878 -        { ac_try='test -s conftest.$ac_objext'
5879 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 -  (eval $ac_try) 2>&5
5881 -  ac_status=$?
5882 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 -  (exit $ac_status); }; }; then
5884 +  (exit $ac_status); } && {
5885 +        test -z "$ac_c_werror_flag" ||
5886 +        test ! -s conftest.err
5887 +       } && test -s conftest.$ac_objext; then
5888    ac_hi=$ac_mid
5889  else
5890    echo "$as_me: failed program was:" >&5
5891  sed 's/^/| /' conftest.$ac_ext >&5
5892  
5893 -ac_lo=`expr '(' $ac_mid ')' + 1`
5894 +       ac_lo=`expr '(' $ac_mid ')' + 1`
5895  fi
5896 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5897 +
5898 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5899  done
5900  case $ac_lo in
5901  ?*) ac_cv_sizeof_int=$ac_lo;;
5902 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5903 +'') if test "$ac_cv_type_int" = yes; then
5904 +     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5905  See \`config.log' for more details." >&5
5906 -echo "$as_me: error: cannot compute sizeof (int), 77
5907 +echo "$as_me: error: cannot compute sizeof (int)
5908  See \`config.log' for more details." >&2;}
5909 -   { (exit 1); exit 1; }; } ;;
5910 +   { (exit 77); exit 77; }; }
5911 +   else
5912 +     ac_cv_sizeof_int=0
5913 +   fi ;;
5914  esac
5915  else
5916 -  if test "$cross_compiling" = yes; then
5917 -  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5918 -See \`config.log' for more details." >&5
5919 -echo "$as_me: error: cannot run test program while cross compiling
5920 -See \`config.log' for more details." >&2;}
5921 -   { (exit 1); exit 1; }; }
5922 -else
5923    cat >conftest.$ac_ext <<_ACEOF
5924  /* confdefs.h.  */
5925  _ACEOF
5926 @@ -4528,8 +5140,9 @@
5927  cat >>conftest.$ac_ext <<_ACEOF
5928  /* end confdefs.h.  */
5929  $ac_includes_default
5930 -long longval () { return (long) (sizeof (int)); }
5931 -unsigned long ulongval () { return (long) (sizeof (int)); }
5932 +   typedef int ac__type_sizeof_;
5933 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5934 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5935  #include <stdio.h>
5936  #include <stdlib.h>
5937  int
5938 @@ -4538,35 +5151,44 @@
5939  
5940    FILE *f = fopen ("conftest.val", "w");
5941    if (! f)
5942 -    exit (1);
5943 -  if (((long) (sizeof (int))) < 0)
5944 +    return 1;
5945 +  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5946      {
5947 -      long i = longval ();
5948 -      if (i != ((long) (sizeof (int))))
5949 -       exit (1);
5950 +      long int i = longval ();
5951 +      if (i != ((long int) (sizeof (ac__type_sizeof_))))
5952 +       return 1;
5953        fprintf (f, "%ld\n", i);
5954      }
5955    else
5956      {
5957 -      unsigned long i = ulongval ();
5958 -      if (i != ((long) (sizeof (int))))
5959 -       exit (1);
5960 +      unsigned long int i = ulongval ();
5961 +      if (i != ((long int) (sizeof (ac__type_sizeof_))))
5962 +       return 1;
5963        fprintf (f, "%lu\n", i);
5964      }
5965 -  exit (ferror (f) || fclose (f) != 0);
5966 +  return ferror (f) || fclose (f) != 0;
5967  
5968    ;
5969    return 0;
5970  }
5971  _ACEOF
5972  rm -f conftest$ac_exeext
5973 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5974 -  (eval $ac_link) 2>&5
5975 +if { (ac_try="$ac_link"
5976 +case "(($ac_try" in
5977 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 +  *) ac_try_echo=$ac_try;;
5979 +esac
5980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981 +  (eval "$ac_link") 2>&5
5982    ac_status=$?
5983    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5985 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 -  (eval $ac_try) 2>&5
5987 +  { (case "(($ac_try" in
5988 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989 +  *) ac_try_echo=$ac_try;;
5990 +esac
5991 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 +  (eval "$ac_try") 2>&5
5993    ac_status=$?
5994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995    (exit $ac_status); }; }; then
5996 @@ -4577,30 +5199,33 @@
5997  sed 's/^/| /' conftest.$ac_ext >&5
5998  
5999  ( exit $ac_status )
6000 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6001 +if test "$ac_cv_type_int" = yes; then
6002 +     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6003  See \`config.log' for more details." >&5
6004 -echo "$as_me: error: cannot compute sizeof (int), 77
6005 +echo "$as_me: error: cannot compute sizeof (int)
6006  See \`config.log' for more details." >&2;}
6007 -   { (exit 1); exit 1; }; }
6008 -fi
6009 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6010 +   { (exit 77); exit 77; }; }
6011 +   else
6012 +     ac_cv_sizeof_int=0
6013 +   fi
6014  fi
6015 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6016  fi
6017  rm -f conftest.val
6018 -else
6019 -  ac_cv_sizeof_int=0
6020  fi
6021 -fi
6022 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6023 -echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6024 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6025 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6026 +
6027 +
6028 +
6029  cat >>confdefs.h <<_ACEOF
6030  #define SIZEOF_INT $ac_cv_sizeof_int
6031  _ACEOF
6032  
6033  
6034  
6035 -echo "$as_me:$LINENO: checking for uintptr_t" >&5
6036 -echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6037 +{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
6038 +echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
6039  if test "${ac_cv_type_uintptr_t+set}" = set; then
6040    echo $ECHO_N "(cached) $ECHO_C" >&6
6041  else
6042 @@ -4611,50 +5236,47 @@
6043  cat >>conftest.$ac_ext <<_ACEOF
6044  /* end confdefs.h.  */
6045  $ac_includes_default
6046 +typedef uintptr_t ac__type_new_;
6047  int
6048  main ()
6049  {
6050 -if ((uintptr_t *) 0)
6051 +if ((ac__type_new_ *) 0)
6052    return 0;
6053 -if (sizeof (uintptr_t))
6054 +if (sizeof (ac__type_new_))
6055    return 0;
6056    ;
6057    return 0;
6058  }
6059  _ACEOF
6060  rm -f conftest.$ac_objext
6061 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6062 -  (eval $ac_compile) 2>conftest.er1
6063 +if { (ac_try="$ac_compile"
6064 +case "(($ac_try" in
6065 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6066 +  *) ac_try_echo=$ac_try;;
6067 +esac
6068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 +  (eval "$ac_compile") 2>conftest.er1
6070    ac_status=$?
6071    grep -v '^ *+' conftest.er1 >conftest.err
6072    rm -f conftest.er1
6073    cat conftest.err >&5
6074    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 -  (exit $ac_status); } &&
6076 -        { ac_try='test -z "$ac_c_werror_flag"
6077 -                        || test ! -s conftest.err'
6078 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 -  (eval $ac_try) 2>&5
6080 -  ac_status=$?
6081 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 -  (exit $ac_status); }; } &&
6083 -        { ac_try='test -s conftest.$ac_objext'
6084 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 -  (eval $ac_try) 2>&5
6086 -  ac_status=$?
6087 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 -  (exit $ac_status); }; }; then
6089 +  (exit $ac_status); } && {
6090 +        test -z "$ac_c_werror_flag" ||
6091 +        test ! -s conftest.err
6092 +       } && test -s conftest.$ac_objext; then
6093    ac_cv_type_uintptr_t=yes
6094  else
6095    echo "$as_me: failed program was:" >&5
6096  sed 's/^/| /' conftest.$ac_ext >&5
6097  
6098 -ac_cv_type_uintptr_t=no
6099 +       ac_cv_type_uintptr_t=no
6100  fi
6101 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6102 +
6103 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104  fi
6105 -echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6106 -echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6107 +{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6108 +echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
6109  if test $ac_cv_type_uintptr_t = yes; then
6110    :
6111  else
6112 @@ -4667,8 +5289,8 @@
6113  
6114  
6115  # Look for a 64-bit type.
6116 -echo "$as_me:$LINENO: checking for a 64-bit type" >&5
6117 -echo $ECHO_N "checking for a 64-bit type... $ECHO_C" >&6
6118 +{ echo "$as_me:$LINENO: checking for a 64-bit type" >&5
6119 +echo $ECHO_N "checking for a 64-bit type... $ECHO_C" >&6; }
6120  if test "${liberty_cv_uint64+set}" = set; then
6121    echo $ECHO_N "(cached) $ECHO_C" >&6
6122  else
6123 @@ -4690,33 +5312,28 @@
6124  }
6125  _ACEOF
6126  rm -f conftest.$ac_objext
6127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6128 -  (eval $ac_compile) 2>conftest.er1
6129 +if { (ac_try="$ac_compile"
6130 +case "(($ac_try" in
6131 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6132 +  *) ac_try_echo=$ac_try;;
6133 +esac
6134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6135 +  (eval "$ac_compile") 2>conftest.er1
6136    ac_status=$?
6137    grep -v '^ *+' conftest.er1 >conftest.err
6138    rm -f conftest.er1
6139    cat conftest.err >&5
6140    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 -  (exit $ac_status); } &&
6142 -        { ac_try='test -z "$ac_c_werror_flag"
6143 -                        || test ! -s conftest.err'
6144 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 -  (eval $ac_try) 2>&5
6146 -  ac_status=$?
6147 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 -  (exit $ac_status); }; } &&
6149 -        { ac_try='test -s conftest.$ac_objext'
6150 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 -  (eval $ac_try) 2>&5
6152 -  ac_status=$?
6153 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 -  (exit $ac_status); }; }; then
6155 +  (exit $ac_status); } && {
6156 +        test -z "$ac_c_werror_flag" ||
6157 +        test ! -s conftest.err
6158 +       } && test -s conftest.$ac_objext; then
6159    liberty_cv_uint64=uint64_t
6160  else
6161    echo "$as_me: failed program was:" >&5
6162  sed 's/^/| /' conftest.$ac_ext >&5
6163  
6164 -cat >conftest.$ac_ext <<_ACEOF
6165 +       cat >conftest.$ac_ext <<_ACEOF
6166  /* confdefs.h.  */
6167  _ACEOF
6168  cat confdefs.h >>conftest.$ac_ext
6169 @@ -4737,33 +5354,28 @@
6170  }
6171  _ACEOF
6172  rm -f conftest.$ac_objext
6173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174 -  (eval $ac_compile) 2>conftest.er1
6175 +if { (ac_try="$ac_compile"
6176 +case "(($ac_try" in
6177 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178 +  *) ac_try_echo=$ac_try;;
6179 +esac
6180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6181 +  (eval "$ac_compile") 2>conftest.er1
6182    ac_status=$?
6183    grep -v '^ *+' conftest.er1 >conftest.err
6184    rm -f conftest.er1
6185    cat conftest.err >&5
6186    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 -  (exit $ac_status); } &&
6188 -        { ac_try='test -z "$ac_c_werror_flag"
6189 -                        || test ! -s conftest.err'
6190 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 -  (eval $ac_try) 2>&5
6192 -  ac_status=$?
6193 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 -  (exit $ac_status); }; } &&
6195 -        { ac_try='test -s conftest.$ac_objext'
6196 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 -  (eval $ac_try) 2>&5
6198 -  ac_status=$?
6199 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 -  (exit $ac_status); }; }; then
6201 +  (exit $ac_status); } && {
6202 +        test -z "$ac_c_werror_flag" ||
6203 +        test ! -s conftest.err
6204 +       } && test -s conftest.$ac_objext; then
6205    liberty_cv_uint64="unsigned long"
6206  else
6207    echo "$as_me: failed program was:" >&5
6208  sed 's/^/| /' conftest.$ac_ext >&5
6209  
6210 -cat >conftest.$ac_ext <<_ACEOF
6211 +       cat >conftest.$ac_ext <<_ACEOF
6212  /* confdefs.h.  */
6213  _ACEOF
6214  cat confdefs.h >>conftest.$ac_ext
6215 @@ -4784,43 +5396,41 @@
6216  }
6217  _ACEOF
6218  rm -f conftest.$ac_objext
6219 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6220 -  (eval $ac_compile) 2>conftest.er1
6221 +if { (ac_try="$ac_compile"
6222 +case "(($ac_try" in
6223 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 +  *) ac_try_echo=$ac_try;;
6225 +esac
6226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 +  (eval "$ac_compile") 2>conftest.er1
6228    ac_status=$?
6229    grep -v '^ *+' conftest.er1 >conftest.err
6230    rm -f conftest.er1
6231    cat conftest.err >&5
6232    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 -  (exit $ac_status); } &&
6234 -        { ac_try='test -z "$ac_c_werror_flag"
6235 -                        || test ! -s conftest.err'
6236 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 -  (eval $ac_try) 2>&5
6238 -  ac_status=$?
6239 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 -  (exit $ac_status); }; } &&
6241 -        { ac_try='test -s conftest.$ac_objext'
6242 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 -  (eval $ac_try) 2>&5
6244 -  ac_status=$?
6245 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 -  (exit $ac_status); }; }; then
6247 +  (exit $ac_status); } && {
6248 +        test -z "$ac_c_werror_flag" ||
6249 +        test ! -s conftest.err
6250 +       } && test -s conftest.$ac_objext; then
6251    liberty_cv_uint64="unsigned long long"
6252  else
6253    echo "$as_me: failed program was:" >&5
6254  sed 's/^/| /' conftest.$ac_ext >&5
6255  
6256 -liberty_cv_uint64=none
6257 +       liberty_cv_uint64=none
6258  fi
6259 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6260 +
6261 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6262  fi
6263 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6264 +
6265 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6266  fi
6267 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6268 +
6269 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6270  fi
6271  
6272 -echo "$as_me:$LINENO: result: $liberty_cv_uint64" >&5
6273 -echo "${ECHO_T}$liberty_cv_uint64" >&6
6274 +{ echo "$as_me:$LINENO: result: $liberty_cv_uint64" >&5
6275 +echo "${ECHO_T}$liberty_cv_uint64" >&6; }
6276  if test "$liberty_cv_uint64" != none; then
6277  
6278  cat >>confdefs.h <<_ACEOF
6279 @@ -4838,8 +5448,8 @@
6280  _ACEOF
6281  
6282  
6283 -echo "$as_me:$LINENO: checking for pid_t" >&5
6284 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6285 +{ echo "$as_me:$LINENO: checking for pid_t" >&5
6286 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6287  if test "${ac_cv_type_pid_t+set}" = set; then
6288    echo $ECHO_N "(cached) $ECHO_C" >&6
6289  else
6290 @@ -4850,50 +5460,47 @@
6291  cat >>conftest.$ac_ext <<_ACEOF
6292  /* end confdefs.h.  */
6293  $ac_includes_default
6294 +typedef pid_t ac__type_new_;
6295  int
6296  main ()
6297  {
6298 -if ((pid_t *) 0)
6299 +if ((ac__type_new_ *) 0)
6300    return 0;
6301 -if (sizeof (pid_t))
6302 +if (sizeof (ac__type_new_))
6303    return 0;
6304    ;
6305    return 0;
6306  }
6307  _ACEOF
6308  rm -f conftest.$ac_objext
6309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6310 -  (eval $ac_compile) 2>conftest.er1
6311 +if { (ac_try="$ac_compile"
6312 +case "(($ac_try" in
6313 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 +  *) ac_try_echo=$ac_try;;
6315 +esac
6316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 +  (eval "$ac_compile") 2>conftest.er1
6318    ac_status=$?
6319    grep -v '^ *+' conftest.er1 >conftest.err
6320    rm -f conftest.er1
6321    cat conftest.err >&5
6322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 -  (exit $ac_status); } &&
6324 -        { ac_try='test -z "$ac_c_werror_flag"
6325 -                        || test ! -s conftest.err'
6326 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 -  (eval $ac_try) 2>&5
6328 -  ac_status=$?
6329 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 -  (exit $ac_status); }; } &&
6331 -        { ac_try='test -s conftest.$ac_objext'
6332 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 -  (eval $ac_try) 2>&5
6334 -  ac_status=$?
6335 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 -  (exit $ac_status); }; }; then
6337 +  (exit $ac_status); } && {
6338 +        test -z "$ac_c_werror_flag" ||
6339 +        test ! -s conftest.err
6340 +       } && test -s conftest.$ac_objext; then
6341    ac_cv_type_pid_t=yes
6342  else
6343    echo "$as_me: failed program was:" >&5
6344  sed 's/^/| /' conftest.$ac_ext >&5
6345  
6346 -ac_cv_type_pid_t=no
6347 +       ac_cv_type_pid_t=no
6348  fi
6349 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6350 +
6351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352  fi
6353 -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6354 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6355 +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6356 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6357  if test $ac_cv_type_pid_t = yes; then
6358    :
6359  else
6360 @@ -5049,9 +5656,9 @@
6361    realpath canonicalize_file_name __fsetlocking
6362  do
6363  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6364 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6365 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6366 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6367 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6368 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6369 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6370    echo $ECHO_N "(cached) $ECHO_C" >&6
6371  else
6372    if test x$gcc_no_link = xyes; then
6373 @@ -5105,39 +5712,37 @@
6374  }
6375  _ACEOF
6376  rm -f conftest.$ac_objext conftest$ac_exeext
6377 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6378 -  (eval $ac_link) 2>conftest.er1
6379 +if { (ac_try="$ac_link"
6380 +case "(($ac_try" in
6381 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6382 +  *) ac_try_echo=$ac_try;;
6383 +esac
6384 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6385 +  (eval "$ac_link") 2>conftest.er1
6386    ac_status=$?
6387    grep -v '^ *+' conftest.er1 >conftest.err
6388    rm -f conftest.er1
6389    cat conftest.err >&5
6390    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 -  (exit $ac_status); } &&
6392 -        { ac_try='test -z "$ac_c_werror_flag"
6393 -                        || test ! -s conftest.err'
6394 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 -  (eval $ac_try) 2>&5
6396 -  ac_status=$?
6397 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 -  (exit $ac_status); }; } &&
6399 -        { ac_try='test -s conftest$ac_exeext'
6400 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 -  (eval $ac_try) 2>&5
6402 -  ac_status=$?
6403 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 -  (exit $ac_status); }; }; then
6405 +  (exit $ac_status); } && {
6406 +        test -z "$ac_c_werror_flag" ||
6407 +        test ! -s conftest.err
6408 +       } && test -s conftest$ac_exeext &&
6409 +       $as_test_x conftest$ac_exeext; then
6410    eval "$as_ac_var=yes"
6411  else
6412    echo "$as_me: failed program was:" >&5
6413  sed 's/^/| /' conftest.$ac_ext >&5
6414  
6415 -eval "$as_ac_var=no"
6416 +       eval "$as_ac_var=no"
6417  fi
6418 -rm -f conftest.err conftest.$ac_objext \
6419 +
6420 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6421        conftest$ac_exeext conftest.$ac_ext
6422  fi
6423 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6424 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6425 +ac_res=`eval echo '${'$as_ac_var'}'`
6426 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6427 +echo "${ECHO_T}$ac_res" >&6; }
6428  if test `eval echo '${'$as_ac_var'}'` = yes; then
6429    cat >>confdefs.h <<_ACEOF
6430  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6431 @@ -5146,8 +5751,8 @@
6432  fi
6433  done
6434  
6435 -  echo "$as_me:$LINENO: checking whether basename is declared" >&5
6436 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
6437 +  { echo "$as_me:$LINENO: checking whether basename is declared" >&5
6438 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
6439  if test "${ac_cv_have_decl_basename+set}" = set; then
6440    echo $ECHO_N "(cached) $ECHO_C" >&6
6441  else
6442 @@ -5162,7 +5767,7 @@
6443  main ()
6444  {
6445  #ifndef basename
6446 -  char *p = (char *) basename;
6447 +  (void) basename;
6448  #endif
6449  
6450    ;
6451 @@ -5170,38 +5775,34 @@
6452  }
6453  _ACEOF
6454  rm -f conftest.$ac_objext
6455 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456 -  (eval $ac_compile) 2>conftest.er1
6457 +if { (ac_try="$ac_compile"
6458 +case "(($ac_try" in
6459 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6460 +  *) ac_try_echo=$ac_try;;
6461 +esac
6462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6463 +  (eval "$ac_compile") 2>conftest.er1
6464    ac_status=$?
6465    grep -v '^ *+' conftest.er1 >conftest.err
6466    rm -f conftest.er1
6467    cat conftest.err >&5
6468    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 -  (exit $ac_status); } &&
6470 -        { ac_try='test -z "$ac_c_werror_flag"
6471 -                        || test ! -s conftest.err'
6472 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 -  (eval $ac_try) 2>&5
6474 -  ac_status=$?
6475 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 -  (exit $ac_status); }; } &&
6477 -        { ac_try='test -s conftest.$ac_objext'
6478 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 -  (eval $ac_try) 2>&5
6480 -  ac_status=$?
6481 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 -  (exit $ac_status); }; }; then
6483 +  (exit $ac_status); } && {
6484 +        test -z "$ac_c_werror_flag" ||
6485 +        test ! -s conftest.err
6486 +       } && test -s conftest.$ac_objext; then
6487    ac_cv_have_decl_basename=yes
6488  else
6489    echo "$as_me: failed program was:" >&5
6490  sed 's/^/| /' conftest.$ac_ext >&5
6491  
6492 -ac_cv_have_decl_basename=no
6493 +       ac_cv_have_decl_basename=no
6494  fi
6495 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 +
6497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6498  fi
6499 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6500 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
6501 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6502 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
6503  if test $ac_cv_have_decl_basename = yes; then
6504  
6505  cat >>confdefs.h <<_ACEOF
6506 @@ -5216,8 +5817,8 @@
6507  
6508  
6509  fi
6510 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6511 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
6512 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6513 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
6514  if test "${ac_cv_have_decl_ffs+set}" = set; then
6515    echo $ECHO_N "(cached) $ECHO_C" >&6
6516  else
6517 @@ -5232,7 +5833,7 @@
6518  main ()
6519  {
6520  #ifndef ffs
6521 -  char *p = (char *) ffs;
6522 +  (void) ffs;
6523  #endif
6524  
6525    ;
6526 @@ -5240,38 +5841,34 @@
6527  }
6528  _ACEOF
6529  rm -f conftest.$ac_objext
6530 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6531 -  (eval $ac_compile) 2>conftest.er1
6532 +if { (ac_try="$ac_compile"
6533 +case "(($ac_try" in
6534 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6535 +  *) ac_try_echo=$ac_try;;
6536 +esac
6537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6538 +  (eval "$ac_compile") 2>conftest.er1
6539    ac_status=$?
6540    grep -v '^ *+' conftest.er1 >conftest.err
6541    rm -f conftest.er1
6542    cat conftest.err >&5
6543    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 -  (exit $ac_status); } &&
6545 -        { ac_try='test -z "$ac_c_werror_flag"
6546 -                        || test ! -s conftest.err'
6547 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 -  (eval $ac_try) 2>&5
6549 -  ac_status=$?
6550 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 -  (exit $ac_status); }; } &&
6552 -        { ac_try='test -s conftest.$ac_objext'
6553 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 -  (eval $ac_try) 2>&5
6555 -  ac_status=$?
6556 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 -  (exit $ac_status); }; }; then
6558 +  (exit $ac_status); } && {
6559 +        test -z "$ac_c_werror_flag" ||
6560 +        test ! -s conftest.err
6561 +       } && test -s conftest.$ac_objext; then
6562    ac_cv_have_decl_ffs=yes
6563  else
6564    echo "$as_me: failed program was:" >&5
6565  sed 's/^/| /' conftest.$ac_ext >&5
6566  
6567 -ac_cv_have_decl_ffs=no
6568 +       ac_cv_have_decl_ffs=no
6569  fi
6570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6571 +
6572 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6573  fi
6574 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6575 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
6576 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6577 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
6578  if test $ac_cv_have_decl_ffs = yes; then
6579  
6580  cat >>confdefs.h <<_ACEOF
6581 @@ -5286,8 +5883,8 @@
6582  
6583  
6584  fi
6585 -echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6586 -echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
6587 +{ echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6588 +echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6; }
6589  if test "${ac_cv_have_decl_asprintf+set}" = set; then
6590    echo $ECHO_N "(cached) $ECHO_C" >&6
6591  else
6592 @@ -5302,7 +5899,7 @@
6593  main ()
6594  {
6595  #ifndef asprintf
6596 -  char *p = (char *) asprintf;
6597 +  (void) asprintf;
6598  #endif
6599  
6600    ;
6601 @@ -5310,38 +5907,34 @@
6602  }
6603  _ACEOF
6604  rm -f conftest.$ac_objext
6605 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6606 -  (eval $ac_compile) 2>conftest.er1
6607 +if { (ac_try="$ac_compile"
6608 +case "(($ac_try" in
6609 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 +  *) ac_try_echo=$ac_try;;
6611 +esac
6612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 +  (eval "$ac_compile") 2>conftest.er1
6614    ac_status=$?
6615    grep -v '^ *+' conftest.er1 >conftest.err
6616    rm -f conftest.er1
6617    cat conftest.err >&5
6618    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 -  (exit $ac_status); } &&
6620 -        { ac_try='test -z "$ac_c_werror_flag"
6621 -                        || test ! -s conftest.err'
6622 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 -  (eval $ac_try) 2>&5
6624 -  ac_status=$?
6625 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 -  (exit $ac_status); }; } &&
6627 -        { ac_try='test -s conftest.$ac_objext'
6628 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 -  (eval $ac_try) 2>&5
6630 -  ac_status=$?
6631 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 -  (exit $ac_status); }; }; then
6633 +  (exit $ac_status); } && {
6634 +        test -z "$ac_c_werror_flag" ||
6635 +        test ! -s conftest.err
6636 +       } && test -s conftest.$ac_objext; then
6637    ac_cv_have_decl_asprintf=yes
6638  else
6639    echo "$as_me: failed program was:" >&5
6640  sed 's/^/| /' conftest.$ac_ext >&5
6641  
6642 -ac_cv_have_decl_asprintf=no
6643 +       ac_cv_have_decl_asprintf=no
6644  fi
6645 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6646 +
6647 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6648  fi
6649 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6650 -echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
6651 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6652 +echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6; }
6653  if test $ac_cv_have_decl_asprintf = yes; then
6654  
6655  cat >>confdefs.h <<_ACEOF
6656 @@ -5356,8 +5949,8 @@
6657  
6658  
6659  fi
6660 -echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6661 -echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6662 +{ echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6663 +echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6; }
6664  if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6665    echo $ECHO_N "(cached) $ECHO_C" >&6
6666  else
6667 @@ -5372,7 +5965,7 @@
6668  main ()
6669  {
6670  #ifndef vasprintf
6671 -  char *p = (char *) vasprintf;
6672 +  (void) vasprintf;
6673  #endif
6674  
6675    ;
6676 @@ -5380,38 +5973,34 @@
6677  }
6678  _ACEOF
6679  rm -f conftest.$ac_objext
6680 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6681 -  (eval $ac_compile) 2>conftest.er1
6682 +if { (ac_try="$ac_compile"
6683 +case "(($ac_try" in
6684 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6685 +  *) ac_try_echo=$ac_try;;
6686 +esac
6687 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6688 +  (eval "$ac_compile") 2>conftest.er1
6689    ac_status=$?
6690    grep -v '^ *+' conftest.er1 >conftest.err
6691    rm -f conftest.er1
6692    cat conftest.err >&5
6693    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 -  (exit $ac_status); } &&
6695 -        { ac_try='test -z "$ac_c_werror_flag"
6696 -                        || test ! -s conftest.err'
6697 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 -  (eval $ac_try) 2>&5
6699 -  ac_status=$?
6700 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 -  (exit $ac_status); }; } &&
6702 -        { ac_try='test -s conftest.$ac_objext'
6703 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704 -  (eval $ac_try) 2>&5
6705 -  ac_status=$?
6706 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 -  (exit $ac_status); }; }; then
6708 +  (exit $ac_status); } && {
6709 +        test -z "$ac_c_werror_flag" ||
6710 +        test ! -s conftest.err
6711 +       } && test -s conftest.$ac_objext; then
6712    ac_cv_have_decl_vasprintf=yes
6713  else
6714    echo "$as_me: failed program was:" >&5
6715  sed 's/^/| /' conftest.$ac_ext >&5
6716  
6717 -ac_cv_have_decl_vasprintf=no
6718 +       ac_cv_have_decl_vasprintf=no
6719  fi
6720 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6721 +
6722 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6723  fi
6724 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6725 -echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6726 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6727 +echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6; }
6728  if test $ac_cv_have_decl_vasprintf = yes; then
6729  
6730  cat >>confdefs.h <<_ACEOF
6731 @@ -5426,8 +6015,8 @@
6732  
6733  
6734  fi
6735 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6736 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
6737 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6738 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
6739  if test "${ac_cv_have_decl_snprintf+set}" = set; then
6740    echo $ECHO_N "(cached) $ECHO_C" >&6
6741  else
6742 @@ -5442,7 +6031,7 @@
6743  main ()
6744  {
6745  #ifndef snprintf
6746 -  char *p = (char *) snprintf;
6747 +  (void) snprintf;
6748  #endif
6749  
6750    ;
6751 @@ -5450,38 +6039,34 @@
6752  }
6753  _ACEOF
6754  rm -f conftest.$ac_objext
6755 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756 -  (eval $ac_compile) 2>conftest.er1
6757 +if { (ac_try="$ac_compile"
6758 +case "(($ac_try" in
6759 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6760 +  *) ac_try_echo=$ac_try;;
6761 +esac
6762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6763 +  (eval "$ac_compile") 2>conftest.er1
6764    ac_status=$?
6765    grep -v '^ *+' conftest.er1 >conftest.err
6766    rm -f conftest.er1
6767    cat conftest.err >&5
6768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 -  (exit $ac_status); } &&
6770 -        { ac_try='test -z "$ac_c_werror_flag"
6771 -                        || test ! -s conftest.err'
6772 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 -  (eval $ac_try) 2>&5
6774 -  ac_status=$?
6775 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 -  (exit $ac_status); }; } &&
6777 -        { ac_try='test -s conftest.$ac_objext'
6778 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 -  (eval $ac_try) 2>&5
6780 -  ac_status=$?
6781 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 -  (exit $ac_status); }; }; then
6783 +  (exit $ac_status); } && {
6784 +        test -z "$ac_c_werror_flag" ||
6785 +        test ! -s conftest.err
6786 +       } && test -s conftest.$ac_objext; then
6787    ac_cv_have_decl_snprintf=yes
6788  else
6789    echo "$as_me: failed program was:" >&5
6790  sed 's/^/| /' conftest.$ac_ext >&5
6791  
6792 -ac_cv_have_decl_snprintf=no
6793 +       ac_cv_have_decl_snprintf=no
6794  fi
6795 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6796 +
6797 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6798  fi
6799 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6800 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
6801 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6802 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
6803  if test $ac_cv_have_decl_snprintf = yes; then
6804  
6805  cat >>confdefs.h <<_ACEOF
6806 @@ -5496,8 +6081,8 @@
6807  
6808  
6809  fi
6810 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6811 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
6812 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6813 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
6814  if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
6815    echo $ECHO_N "(cached) $ECHO_C" >&6
6816  else
6817 @@ -5512,7 +6097,7 @@
6818  main ()
6819  {
6820  #ifndef vsnprintf
6821 -  char *p = (char *) vsnprintf;
6822 +  (void) vsnprintf;
6823  #endif
6824  
6825    ;
6826 @@ -5520,38 +6105,34 @@
6827  }
6828  _ACEOF
6829  rm -f conftest.$ac_objext
6830 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6831 -  (eval $ac_compile) 2>conftest.er1
6832 +if { (ac_try="$ac_compile"
6833 +case "(($ac_try" in
6834 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835 +  *) ac_try_echo=$ac_try;;
6836 +esac
6837 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6838 +  (eval "$ac_compile") 2>conftest.er1
6839    ac_status=$?
6840    grep -v '^ *+' conftest.er1 >conftest.err
6841    rm -f conftest.er1
6842    cat conftest.err >&5
6843    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 -  (exit $ac_status); } &&
6845 -        { ac_try='test -z "$ac_c_werror_flag"
6846 -                        || test ! -s conftest.err'
6847 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 -  (eval $ac_try) 2>&5
6849 -  ac_status=$?
6850 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 -  (exit $ac_status); }; } &&
6852 -        { ac_try='test -s conftest.$ac_objext'
6853 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854 -  (eval $ac_try) 2>&5
6855 -  ac_status=$?
6856 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 -  (exit $ac_status); }; }; then
6858 +  (exit $ac_status); } && {
6859 +        test -z "$ac_c_werror_flag" ||
6860 +        test ! -s conftest.err
6861 +       } && test -s conftest.$ac_objext; then
6862    ac_cv_have_decl_vsnprintf=yes
6863  else
6864    echo "$as_me: failed program was:" >&5
6865  sed 's/^/| /' conftest.$ac_ext >&5
6866  
6867 -ac_cv_have_decl_vsnprintf=no
6868 +       ac_cv_have_decl_vsnprintf=no
6869  fi
6870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6871 +
6872 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873  fi
6874 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6875 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
6876 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6877 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
6878  if test $ac_cv_have_decl_vsnprintf = yes; then
6879  
6880  cat >>confdefs.h <<_ACEOF
6881 @@ -5603,52 +6184,40 @@
6882    # newlib provide and which ones we will be expected to provide.
6883  
6884    if test "x${with_newlib}" = "xyes"; then
6885 -    case $LIBOBJS in
6886 -    "asprintf.$ac_objext"   | \
6887 -  *" asprintf.$ac_objext"   | \
6888 -    "asprintf.$ac_objext "* | \
6889 +    case " $LIBOBJS " in
6890    *" asprintf.$ac_objext "* ) ;;
6891 -  *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;;
6892 +  *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
6893 + ;;
6894  esac
6895  
6896 -    case $LIBOBJS in
6897 -    "basename.$ac_objext"   | \
6898 -  *" basename.$ac_objext"   | \
6899 -    "basename.$ac_objext "* | \
6900 +    case " $LIBOBJS " in
6901    *" basename.$ac_objext "* ) ;;
6902 -  *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
6903 +  *) LIBOBJS="$LIBOBJS basename.$ac_objext"
6904 + ;;
6905  esac
6906  
6907 -    case $LIBOBJS in
6908 -    "insque.$ac_objext"   | \
6909 -  *" insque.$ac_objext"   | \
6910 -    "insque.$ac_objext "* | \
6911 +    case " $LIBOBJS " in
6912    *" insque.$ac_objext "* ) ;;
6913 -  *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
6914 +  *) LIBOBJS="$LIBOBJS insque.$ac_objext"
6915 + ;;
6916  esac
6917  
6918 -    case $LIBOBJS in
6919 -    "random.$ac_objext"   | \
6920 -  *" random.$ac_objext"   | \
6921 -    "random.$ac_objext "* | \
6922 +    case " $LIBOBJS " in
6923    *" random.$ac_objext "* ) ;;
6924 -  *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
6925 +  *) LIBOBJS="$LIBOBJS random.$ac_objext"
6926 + ;;
6927  esac
6928  
6929 -    case $LIBOBJS in
6930 -    "strdup.$ac_objext"   | \
6931 -  *" strdup.$ac_objext"   | \
6932 -    "strdup.$ac_objext "* | \
6933 +    case " $LIBOBJS " in
6934    *" strdup.$ac_objext "* ) ;;
6935 -  *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;;
6936 +  *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
6937 + ;;
6938  esac
6939  
6940 -    case $LIBOBJS in
6941 -    "vasprintf.$ac_objext"   | \
6942 -  *" vasprintf.$ac_objext"   | \
6943 -    "vasprintf.$ac_objext "* | \
6944 +    case " $LIBOBJS " in
6945    *" vasprintf.$ac_objext "* ) ;;
6946 -  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
6947 +  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
6948 + ;;
6949  esac
6950  
6951  
6952 @@ -5684,172 +6253,130 @@
6953  
6954    case "${host}" in
6955    *-*-mingw*)
6956 -    case $LIBOBJS in
6957 -    "asprintf.$ac_objext"   | \
6958 -  *" asprintf.$ac_objext"   | \
6959 -    "asprintf.$ac_objext "* | \
6960 +    case " $LIBOBJS " in
6961    *" asprintf.$ac_objext "* ) ;;
6962 -  *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;;
6963 +  *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
6964 + ;;
6965  esac
6966  
6967 -    case $LIBOBJS in
6968 -    "basename.$ac_objext"   | \
6969 -  *" basename.$ac_objext"   | \
6970 -    "basename.$ac_objext "* | \
6971 +    case " $LIBOBJS " in
6972    *" basename.$ac_objext "* ) ;;
6973 -  *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
6974 +  *) LIBOBJS="$LIBOBJS basename.$ac_objext"
6975 + ;;
6976  esac
6977  
6978 -    case $LIBOBJS in
6979 -    "bcmp.$ac_objext"   | \
6980 -  *" bcmp.$ac_objext"   | \
6981 -    "bcmp.$ac_objext "* | \
6982 +    case " $LIBOBJS " in
6983    *" bcmp.$ac_objext "* ) ;;
6984 -  *) LIBOBJS="$LIBOBJS bcmp.$ac_objext" ;;
6985 +  *) LIBOBJS="$LIBOBJS bcmp.$ac_objext"
6986 + ;;
6987  esac
6988  
6989 -    case $LIBOBJS in
6990 -    "bcopy.$ac_objext"   | \
6991 -  *" bcopy.$ac_objext"   | \
6992 -    "bcopy.$ac_objext "* | \
6993 +    case " $LIBOBJS " in
6994    *" bcopy.$ac_objext "* ) ;;
6995 -  *) LIBOBJS="$LIBOBJS bcopy.$ac_objext" ;;
6996 +  *) LIBOBJS="$LIBOBJS bcopy.$ac_objext"
6997 + ;;
6998  esac
6999  
7000 -    case $LIBOBJS in
7001 -    "bzero.$ac_objext"   | \
7002 -  *" bzero.$ac_objext"   | \
7003 -    "bzero.$ac_objext "* | \
7004 +    case " $LIBOBJS " in
7005    *" bzero.$ac_objext "* ) ;;
7006 -  *) LIBOBJS="$LIBOBJS bzero.$ac_objext" ;;
7007 +  *) LIBOBJS="$LIBOBJS bzero.$ac_objext"
7008 + ;;
7009  esac
7010  
7011 -    case $LIBOBJS in
7012 -    "clock.$ac_objext"   | \
7013 -  *" clock.$ac_objext"   | \
7014 -    "clock.$ac_objext "* | \
7015 +    case " $LIBOBJS " in
7016    *" clock.$ac_objext "* ) ;;
7017 -  *) LIBOBJS="$LIBOBJS clock.$ac_objext" ;;
7018 +  *) LIBOBJS="$LIBOBJS clock.$ac_objext"
7019 + ;;
7020  esac
7021  
7022 -    case $LIBOBJS in
7023 -    "ffs.$ac_objext"   | \
7024 -  *" ffs.$ac_objext"   | \
7025 -    "ffs.$ac_objext "* | \
7026 +    case " $LIBOBJS " in
7027    *" ffs.$ac_objext "* ) ;;
7028 -  *) LIBOBJS="$LIBOBJS ffs.$ac_objext" ;;
7029 +  *) LIBOBJS="$LIBOBJS ffs.$ac_objext"
7030 + ;;
7031  esac
7032  
7033 -    case $LIBOBJS in
7034 -    "getpagesize.$ac_objext"   | \
7035 -  *" getpagesize.$ac_objext"   | \
7036 -    "getpagesize.$ac_objext "* | \
7037 +    case " $LIBOBJS " in
7038    *" getpagesize.$ac_objext "* ) ;;
7039 -  *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext" ;;
7040 +  *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext"
7041 + ;;
7042  esac
7043  
7044 -    case $LIBOBJS in
7045 -    "index.$ac_objext"   | \
7046 -  *" index.$ac_objext"   | \
7047 -    "index.$ac_objext "* | \
7048 +    case " $LIBOBJS " in
7049    *" index.$ac_objext "* ) ;;
7050 -  *) LIBOBJS="$LIBOBJS index.$ac_objext" ;;
7051 +  *) LIBOBJS="$LIBOBJS index.$ac_objext"
7052 + ;;
7053  esac
7054  
7055 -    case $LIBOBJS in
7056 -    "insque.$ac_objext"   | \
7057 -  *" insque.$ac_objext"   | \
7058 -    "insque.$ac_objext "* | \
7059 +    case " $LIBOBJS " in
7060    *" insque.$ac_objext "* ) ;;
7061 -  *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
7062 +  *) LIBOBJS="$LIBOBJS insque.$ac_objext"
7063 + ;;
7064  esac
7065  
7066 -    case $LIBOBJS in
7067 -    "mempcpy.$ac_objext"   | \
7068 -  *" mempcpy.$ac_objext"   | \
7069 -    "mempcpy.$ac_objext "* | \
7070 +    case " $LIBOBJS " in
7071    *" mempcpy.$ac_objext "* ) ;;
7072 -  *) LIBOBJS="$LIBOBJS mempcpy.$ac_objext" ;;
7073 +  *) LIBOBJS="$LIBOBJS mempcpy.$ac_objext"
7074 + ;;
7075  esac
7076  
7077 -    case $LIBOBJS in
7078 -    "mkstemps.$ac_objext"   | \
7079 -  *" mkstemps.$ac_objext"   | \
7080 -    "mkstemps.$ac_objext "* | \
7081 +    case " $LIBOBJS " in
7082    *" mkstemps.$ac_objext "* ) ;;
7083 -  *) LIBOBJS="$LIBOBJS mkstemps.$ac_objext" ;;
7084 +  *) LIBOBJS="$LIBOBJS mkstemps.$ac_objext"
7085 + ;;
7086  esac
7087  
7088 -    case $LIBOBJS in
7089 -    "random.$ac_objext"   | \
7090 -  *" random.$ac_objext"   | \
7091 -    "random.$ac_objext "* | \
7092 +    case " $LIBOBJS " in
7093    *" random.$ac_objext "* ) ;;
7094 -  *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7095 +  *) LIBOBJS="$LIBOBJS random.$ac_objext"
7096 + ;;
7097  esac
7098  
7099 -    case $LIBOBJS in
7100 -    "rindex.$ac_objext"   | \
7101 -  *" rindex.$ac_objext"   | \
7102 -    "rindex.$ac_objext "* | \
7103 +    case " $LIBOBJS " in
7104    *" rindex.$ac_objext "* ) ;;
7105 -  *) LIBOBJS="$LIBOBJS rindex.$ac_objext" ;;
7106 +  *) LIBOBJS="$LIBOBJS rindex.$ac_objext"
7107 + ;;
7108  esac
7109  
7110 -    case $LIBOBJS in
7111 -    "sigsetmask.$ac_objext"   | \
7112 -  *" sigsetmask.$ac_objext"   | \
7113 -    "sigsetmask.$ac_objext "* | \
7114 +    case " $LIBOBJS " in
7115    *" sigsetmask.$ac_objext "* ) ;;
7116 -  *) LIBOBJS="$LIBOBJS sigsetmask.$ac_objext" ;;
7117 +  *) LIBOBJS="$LIBOBJS sigsetmask.$ac_objext"
7118 + ;;
7119  esac
7120  
7121 -    case $LIBOBJS in
7122 -    "stpcpy.$ac_objext"   | \
7123 -  *" stpcpy.$ac_objext"   | \
7124 -    "stpcpy.$ac_objext "* | \
7125 +    case " $LIBOBJS " in
7126    *" stpcpy.$ac_objext "* ) ;;
7127 -  *) LIBOBJS="$LIBOBJS stpcpy.$ac_objext" ;;
7128 +  *) LIBOBJS="$LIBOBJS stpcpy.$ac_objext"
7129 + ;;
7130  esac
7131  
7132 -    case $LIBOBJS in
7133 -    "stpncpy.$ac_objext"   | \
7134 -  *" stpncpy.$ac_objext"   | \
7135 -    "stpncpy.$ac_objext "* | \
7136 +    case " $LIBOBJS " in
7137    *" stpncpy.$ac_objext "* ) ;;
7138 -  *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext" ;;
7139 +  *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext"
7140 + ;;
7141  esac
7142  
7143 -    case $LIBOBJS in
7144 -    "strndup.$ac_objext"   | \
7145 -  *" strndup.$ac_objext"   | \
7146 -    "strndup.$ac_objext "* | \
7147 +    case " $LIBOBJS " in
7148    *" strndup.$ac_objext "* ) ;;
7149 -  *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;;
7150 +  *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
7151 + ;;
7152  esac
7153  
7154 -    case $LIBOBJS in
7155 -    "strverscmp.$ac_objext"   | \
7156 -  *" strverscmp.$ac_objext"   | \
7157 -    "strverscmp.$ac_objext "* | \
7158 +    case " $LIBOBJS " in
7159    *" strverscmp.$ac_objext "* ) ;;
7160 -  *) LIBOBJS="$LIBOBJS strverscmp.$ac_objext" ;;
7161 +  *) LIBOBJS="$LIBOBJS strverscmp.$ac_objext"
7162 + ;;
7163  esac
7164  
7165 -    case $LIBOBJS in
7166 -    "vasprintf.$ac_objext"   | \
7167 -  *" vasprintf.$ac_objext"   | \
7168 -    "vasprintf.$ac_objext "* | \
7169 +    case " $LIBOBJS " in
7170    *" vasprintf.$ac_objext "* ) ;;
7171 -  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
7172 +  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
7173 + ;;
7174  esac
7175  
7176 -    case $LIBOBJS in
7177 -    "waitpid.$ac_objext"   | \
7178 -  *" waitpid.$ac_objext"   | \
7179 -    "waitpid.$ac_objext "* | \
7180 +    case " $LIBOBJS " in
7181    *" waitpid.$ac_objext "* ) ;;
7182 -  *) LIBOBJS="$LIBOBJS waitpid.$ac_objext" ;;
7183 +  *) LIBOBJS="$LIBOBJS waitpid.$ac_objext"
7184 + ;;
7185  esac
7186  
7187  
7188 @@ -5882,13 +6409,13 @@
7189    esac
7190  
7191    # We may wish to install the target headers somewhere.
7192 -  # Check whether --enable-install-libiberty or --disable-install-libiberty was given.
7193 +  # Check whether --enable-install-libiberty was given.
7194  if test "${enable_install_libiberty+set}" = set; then
7195 -  enableval="$enable_install_libiberty"
7196 -  enable_install_libiberty=$enableval
7197 +  enableval=$enable_install_libiberty; enable_install_libiberty=$enableval
7198  else
7199    enable_install_libiberty=no
7200 -fi;
7201 +fi
7202 +
7203    # Option parsed, now set things appropriately.
7204    case x"$enable_install_libiberty" in
7205      xyes|x)
7206 @@ -5934,84 +6461,64 @@
7207      # Handle VxWorks configuration specially, since on VxWorks the
7208      # libraries are actually on the target board, not in the file
7209      # system.
7210 -    case $LIBOBJS in
7211 -    "basename.$ac_objext"   | \
7212 -  *" basename.$ac_objext"   | \
7213 -    "basename.$ac_objext "* | \
7214 +    case " $LIBOBJS " in
7215    *" basename.$ac_objext "* ) ;;
7216 -  *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
7217 +  *) LIBOBJS="$LIBOBJS basename.$ac_objext"
7218 + ;;
7219  esac
7220  
7221 -    case $LIBOBJS in
7222 -    "getpagesize.$ac_objext"   | \
7223 -  *" getpagesize.$ac_objext"   | \
7224 -    "getpagesize.$ac_objext "* | \
7225 +    case " $LIBOBJS " in
7226    *" getpagesize.$ac_objext "* ) ;;
7227 -  *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext" ;;
7228 +  *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext"
7229 + ;;
7230  esac
7231  
7232 -    case $LIBOBJS in
7233 -    "insque.$ac_objext"   | \
7234 -  *" insque.$ac_objext"   | \
7235 -    "insque.$ac_objext "* | \
7236 +    case " $LIBOBJS " in
7237    *" insque.$ac_objext "* ) ;;
7238 -  *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
7239 +  *) LIBOBJS="$LIBOBJS insque.$ac_objext"
7240 + ;;
7241  esac
7242  
7243 -    case $LIBOBJS in
7244 -    "random.$ac_objext"   | \
7245 -  *" random.$ac_objext"   | \
7246 -    "random.$ac_objext "* | \
7247 +    case " $LIBOBJS " in
7248    *" random.$ac_objext "* ) ;;
7249 -  *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7250 +  *) LIBOBJS="$LIBOBJS random.$ac_objext"
7251 + ;;
7252  esac
7253  
7254 -    case $LIBOBJS in
7255 -    "strcasecmp.$ac_objext"   | \
7256 -  *" strcasecmp.$ac_objext"   | \
7257 -    "strcasecmp.$ac_objext "* | \
7258 +    case " $LIBOBJS " in
7259    *" strcasecmp.$ac_objext "* ) ;;
7260 -  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" ;;
7261 +  *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
7262 + ;;
7263  esac
7264  
7265 -    case $LIBOBJS in
7266 -    "strncasecmp.$ac_objext"   | \
7267 -  *" strncasecmp.$ac_objext"   | \
7268 -    "strncasecmp.$ac_objext "* | \
7269 +    case " $LIBOBJS " in
7270    *" strncasecmp.$ac_objext "* ) ;;
7271 -  *) LIBOBJS="$LIBOBJS strncasecmp.$ac_objext" ;;
7272 +  *) LIBOBJS="$LIBOBJS strncasecmp.$ac_objext"
7273 + ;;
7274  esac
7275  
7276 -    case $LIBOBJS in
7277 -    "strdup.$ac_objext"   | \
7278 -  *" strdup.$ac_objext"   | \
7279 -    "strdup.$ac_objext "* | \
7280 +    case " $LIBOBJS " in
7281    *" strdup.$ac_objext "* ) ;;
7282 -  *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;;
7283 +  *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
7284 + ;;
7285  esac
7286  
7287 -    case $LIBOBJS in
7288 -    "vfork.$ac_objext"   | \
7289 -  *" vfork.$ac_objext"   | \
7290 -    "vfork.$ac_objext "* | \
7291 +    case " $LIBOBJS " in
7292    *" vfork.$ac_objext "* ) ;;
7293 -  *) LIBOBJS="$LIBOBJS vfork.$ac_objext" ;;
7294 +  *) LIBOBJS="$LIBOBJS vfork.$ac_objext"
7295 + ;;
7296  esac
7297  
7298 -    case $LIBOBJS in
7299 -    "waitpid.$ac_objext"   | \
7300 -  *" waitpid.$ac_objext"   | \
7301 -    "waitpid.$ac_objext "* | \
7302 +    case " $LIBOBJS " in
7303    *" waitpid.$ac_objext "* ) ;;
7304 -  *) LIBOBJS="$LIBOBJS waitpid.$ac_objext" ;;
7305 +  *) LIBOBJS="$LIBOBJS waitpid.$ac_objext"
7306 + ;;
7307  esac
7308  
7309 -    case $LIBOBJS in
7310 -    "vasprintf.$ac_objext"   | \
7311 -  *" vasprintf.$ac_objext"   | \
7312 -    "vasprintf.$ac_objext "* | \
7313 +    case " $LIBOBJS " in
7314    *" vasprintf.$ac_objext "* ) ;;
7315 -  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
7316 +  *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
7317 + ;;
7318  esac
7319  
7320      for f in $funcs; do
7321 @@ -6042,6 +6549,11 @@
7322      setobjs=yes
7323      ;;
7324  
7325 +  *-*-polintos*)
7326 +    # PolIntOS has nothing yet
7327 +    setobjs=yes
7328 +    ;;
7329 +
7330    esac
7331  fi
7332  
7333 @@ -6066,12 +6578,10 @@
7334      if test -n "${with_target_subdir}"
7335      then
7336        funcs="`echo $funcs | sed -e 's/random//'`"
7337 -      case $LIBOBJS in
7338 -    "random.$ac_objext"   | \
7339 -  *" random.$ac_objext"   | \
7340 -    "random.$ac_objext "* | \
7341 +      case " $LIBOBJS " in
7342    *" random.$ac_objext "* ) ;;
7343 -  *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7344 +  *) LIBOBJS="$LIBOBJS random.$ac_objext"
7345 + ;;
7346  esac
7347  
7348        vars="`echo $vars | sed -e 's/sys_siglist//'`"
7349 @@ -6114,18 +6624,12 @@
7350  
7351    # We haven't set the list of objects yet.  Use the standard autoconf
7352    # tests.  This will only work if the compiler works.
7353 -  echo "$as_me:$LINENO: checking for library containing strerror" >&5
7354 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7355 +  { echo "$as_me:$LINENO: checking for library containing strerror" >&5
7356 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
7357  if test "${ac_cv_search_strerror+set}" = set; then
7358    echo $ECHO_N "(cached) $ECHO_C" >&6
7359  else
7360    ac_func_search_save_LIBS=$LIBS
7361 -ac_cv_search_strerror=no
7362 -if test x$gcc_no_link = xyes; then
7363 -  { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7364 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7365 -   { (exit 1); exit 1; }; }
7366 -fi
7367  cat >conftest.$ac_ext <<_ACEOF
7368  /* confdefs.h.  */
7369  _ACEOF
7370 @@ -6133,120 +6637,78 @@
7371  cat >>conftest.$ac_ext <<_ACEOF
7372  /* end confdefs.h.  */
7373  
7374 -/* Override any gcc2 internal prototype to avoid an error.  */
7375 +/* Override any GCC internal prototype to avoid an error.
7376 +   Use char because int might match the return type of a GCC
7377 +   builtin and then its argument prototype would still apply.  */
7378  #ifdef __cplusplus
7379  extern "C"
7380  #endif
7381 -/* We use char because int might match the return type of a gcc2
7382 -   builtin and then its argument prototype would still apply.  */
7383  char strerror ();
7384  int
7385  main ()
7386  {
7387 -strerror ();
7388 +return strerror ();
7389    ;
7390    return 0;
7391  }
7392  _ACEOF
7393 -rm -f conftest.$ac_objext conftest$ac_exeext
7394 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7395 -  (eval $ac_link) 2>conftest.er1
7396 -  ac_status=$?
7397 -  grep -v '^ *+' conftest.er1 >conftest.err
7398 -  rm -f conftest.er1
7399 -  cat conftest.err >&5
7400 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 -  (exit $ac_status); } &&
7402 -        { ac_try='test -z "$ac_c_werror_flag"
7403 -                        || test ! -s conftest.err'
7404 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 -  (eval $ac_try) 2>&5
7406 -  ac_status=$?
7407 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 -  (exit $ac_status); }; } &&
7409 -        { ac_try='test -s conftest$ac_exeext'
7410 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 -  (eval $ac_try) 2>&5
7412 -  ac_status=$?
7413 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 -  (exit $ac_status); }; }; then
7415 -  ac_cv_search_strerror="none required"
7416 -else
7417 -  echo "$as_me: failed program was:" >&5
7418 -sed 's/^/| /' conftest.$ac_ext >&5
7419 -
7420 -fi
7421 -rm -f conftest.err conftest.$ac_objext \
7422 -      conftest$ac_exeext conftest.$ac_ext
7423 -if test "$ac_cv_search_strerror" = no; then
7424 -  for ac_lib in cposix; do
7425 +for ac_lib in '' cposix; do
7426 +  if test -z "$ac_lib"; then
7427 +    ac_res="none required"
7428 +  else
7429 +    ac_res=-l$ac_lib
7430      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
7431 -    if test x$gcc_no_link = xyes; then
7432 +  fi
7433 +  if test x$gcc_no_link = xyes; then
7434    { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7435  echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7436     { (exit 1); exit 1; }; }
7437  fi
7438 -cat >conftest.$ac_ext <<_ACEOF
7439 -/* confdefs.h.  */
7440 -_ACEOF
7441 -cat confdefs.h >>conftest.$ac_ext
7442 -cat >>conftest.$ac_ext <<_ACEOF
7443 -/* end confdefs.h.  */
7444 -
7445 -/* Override any gcc2 internal prototype to avoid an error.  */
7446 -#ifdef __cplusplus
7447 -extern "C"
7448 -#endif
7449 -/* We use char because int might match the return type of a gcc2
7450 -   builtin and then its argument prototype would still apply.  */
7451 -char strerror ();
7452 -int
7453 -main ()
7454 -{
7455 -strerror ();
7456 -  ;
7457 -  return 0;
7458 -}
7459 -_ACEOF
7460  rm -f conftest.$ac_objext conftest$ac_exeext
7461 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7462 -  (eval $ac_link) 2>conftest.er1
7463 +if { (ac_try="$ac_link"
7464 +case "(($ac_try" in
7465 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7466 +  *) ac_try_echo=$ac_try;;
7467 +esac
7468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 +  (eval "$ac_link") 2>conftest.er1
7470    ac_status=$?
7471    grep -v '^ *+' conftest.er1 >conftest.err
7472    rm -f conftest.er1
7473    cat conftest.err >&5
7474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 -  (exit $ac_status); } &&
7476 -        { ac_try='test -z "$ac_c_werror_flag"
7477 -                        || test ! -s conftest.err'
7478 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 -  (eval $ac_try) 2>&5
7480 -  ac_status=$?
7481 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 -  (exit $ac_status); }; } &&
7483 -        { ac_try='test -s conftest$ac_exeext'
7484 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 -  (eval $ac_try) 2>&5
7486 -  ac_status=$?
7487 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 -  (exit $ac_status); }; }; then
7489 -  ac_cv_search_strerror="-l$ac_lib"
7490 -break
7491 +  (exit $ac_status); } && {
7492 +        test -z "$ac_c_werror_flag" ||
7493 +        test ! -s conftest.err
7494 +       } && test -s conftest$ac_exeext &&
7495 +       $as_test_x conftest$ac_exeext; then
7496 +  ac_cv_search_strerror=$ac_res
7497  else
7498    echo "$as_me: failed program was:" >&5
7499  sed 's/^/| /' conftest.$ac_ext >&5
7500  
7501 +
7502  fi
7503 -rm -f conftest.err conftest.$ac_objext \
7504 -      conftest$ac_exeext conftest.$ac_ext
7505 -  done
7506 +
7507 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7508 +      conftest$ac_exeext
7509 +  if test "${ac_cv_search_strerror+set}" = set; then
7510 +  break
7511 +fi
7512 +done
7513 +if test "${ac_cv_search_strerror+set}" = set; then
7514 +  :
7515 +else
7516 +  ac_cv_search_strerror=no
7517  fi
7518 +rm conftest.$ac_ext
7519  LIBS=$ac_func_search_save_LIBS
7520  fi
7521 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7522 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
7523 -if test "$ac_cv_search_strerror" != no; then
7524 -  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
7525 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7526 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
7527 +ac_res=$ac_cv_search_strerror
7528 +if test "$ac_res" != no; then
7529 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7530  
7531  fi
7532  
7533 @@ -6254,9 +6716,9 @@
7534  for ac_func in $funcs
7535  do
7536  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7537 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7538 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7539 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7540 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7541 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7542 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7543    echo $ECHO_N "(cached) $ECHO_C" >&6
7544  else
7545    if test x$gcc_no_link = xyes; then
7546 @@ -6310,59 +6772,55 @@
7547  }
7548  _ACEOF
7549  rm -f conftest.$ac_objext conftest$ac_exeext
7550 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7551 -  (eval $ac_link) 2>conftest.er1
7552 +if { (ac_try="$ac_link"
7553 +case "(($ac_try" in
7554 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7555 +  *) ac_try_echo=$ac_try;;
7556 +esac
7557 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7558 +  (eval "$ac_link") 2>conftest.er1
7559    ac_status=$?
7560    grep -v '^ *+' conftest.er1 >conftest.err
7561    rm -f conftest.er1
7562    cat conftest.err >&5
7563    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 -  (exit $ac_status); } &&
7565 -        { ac_try='test -z "$ac_c_werror_flag"
7566 -                        || test ! -s conftest.err'
7567 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 -  (eval $ac_try) 2>&5
7569 -  ac_status=$?
7570 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 -  (exit $ac_status); }; } &&
7572 -        { ac_try='test -s conftest$ac_exeext'
7573 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574 -  (eval $ac_try) 2>&5
7575 -  ac_status=$?
7576 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 -  (exit $ac_status); }; }; then
7578 +  (exit $ac_status); } && {
7579 +        test -z "$ac_c_werror_flag" ||
7580 +        test ! -s conftest.err
7581 +       } && test -s conftest$ac_exeext &&
7582 +       $as_test_x conftest$ac_exeext; then
7583    eval "$as_ac_var=yes"
7584  else
7585    echo "$as_me: failed program was:" >&5
7586  sed 's/^/| /' conftest.$ac_ext >&5
7587  
7588 -eval "$as_ac_var=no"
7589 +       eval "$as_ac_var=no"
7590  fi
7591 -rm -f conftest.err conftest.$ac_objext \
7592 +
7593 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7594        conftest$ac_exeext conftest.$ac_ext
7595  fi
7596 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7597 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7598 +ac_res=`eval echo '${'$as_ac_var'}'`
7599 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 +echo "${ECHO_T}$ac_res" >&6; }
7601  if test `eval echo '${'$as_ac_var'}'` = yes; then
7602    cat >>confdefs.h <<_ACEOF
7603  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7604  _ACEOF
7605  
7606  else
7607 -  case $LIBOBJS in
7608 -    "$ac_func.$ac_objext"   | \
7609 -  *" $ac_func.$ac_objext"   | \
7610 -    "$ac_func.$ac_objext "* | \
7611 +  case " $LIBOBJS " in
7612    *" $ac_func.$ac_objext "* ) ;;
7613 -  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
7614 +  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
7615 + ;;
7616  esac
7617  
7618  fi
7619  done
7620  
7621  
7622 -  echo "$as_me:$LINENO: checking whether alloca needs Cray hooks" >&5
7623 -echo $ECHO_N "checking whether alloca needs Cray hooks... $ECHO_C" >&6
7624 +  { echo "$as_me:$LINENO: checking whether alloca needs Cray hooks" >&5
7625 +echo $ECHO_N "checking whether alloca needs Cray hooks... $ECHO_C" >&6; }
7626  if test "${ac_cv_os_cray+set}" = set; then
7627    echo $ECHO_N "(cached) $ECHO_C" >&6
7628  else
7629 @@ -6388,14 +6846,14 @@
7630  rm -f conftest*
7631  
7632  fi
7633 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7634 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7635 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7636 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7637  if test $ac_cv_os_cray = yes; then
7638    for ac_func in _getb67 GETB67 getb67; do
7639      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7640 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7641 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7642 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7643 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7644 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7645 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7646    echo $ECHO_N "(cached) $ECHO_C" >&6
7647  else
7648    if test x$gcc_no_link = xyes; then
7649 @@ -6449,39 +6907,37 @@
7650  }
7651  _ACEOF
7652  rm -f conftest.$ac_objext conftest$ac_exeext
7653 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7654 -  (eval $ac_link) 2>conftest.er1
7655 +if { (ac_try="$ac_link"
7656 +case "(($ac_try" in
7657 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7658 +  *) ac_try_echo=$ac_try;;
7659 +esac
7660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7661 +  (eval "$ac_link") 2>conftest.er1
7662    ac_status=$?
7663    grep -v '^ *+' conftest.er1 >conftest.err
7664    rm -f conftest.er1
7665    cat conftest.err >&5
7666    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 -  (exit $ac_status); } &&
7668 -        { ac_try='test -z "$ac_c_werror_flag"
7669 -                        || test ! -s conftest.err'
7670 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 -  (eval $ac_try) 2>&5
7672 -  ac_status=$?
7673 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 -  (exit $ac_status); }; } &&
7675 -        { ac_try='test -s conftest$ac_exeext'
7676 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 -  (eval $ac_try) 2>&5
7678 -  ac_status=$?
7679 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 -  (exit $ac_status); }; }; then
7681 +  (exit $ac_status); } && {
7682 +        test -z "$ac_c_werror_flag" ||
7683 +        test ! -s conftest.err
7684 +       } && test -s conftest$ac_exeext &&
7685 +       $as_test_x conftest$ac_exeext; then
7686    eval "$as_ac_var=yes"
7687  else
7688    echo "$as_me: failed program was:" >&5
7689  sed 's/^/| /' conftest.$ac_ext >&5
7690  
7691 -eval "$as_ac_var=no"
7692 +       eval "$as_ac_var=no"
7693  fi
7694 -rm -f conftest.err conftest.$ac_objext \
7695 +
7696 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7697        conftest$ac_exeext conftest.$ac_ext
7698  fi
7699 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7700 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7701 +ac_res=`eval echo '${'$as_ac_var'}'`
7702 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
7703 +echo "${ECHO_T}$ac_res" >&6; }
7704  if test `eval echo '${'$as_ac_var'}'` = yes; then
7705  
7706  cat >>confdefs.h <<_ACEOF
7707 @@ -6493,8 +6949,8 @@
7708    done
7709  fi
7710  
7711 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7712 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7713 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7714 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7715  if test "${ac_cv_c_stack_direction+set}" = set; then
7716    echo $ECHO_N "(cached) $ECHO_C" >&6
7717  else
7718 @@ -6525,13 +6981,22 @@
7719  }
7720  _ACEOF
7721  rm -f conftest$ac_exeext
7722 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7723 -  (eval $ac_link) 2>&5
7724 +if { (ac_try="$ac_link"
7725 +case "(($ac_try" in
7726 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 +  *) ac_try_echo=$ac_try;;
7728 +esac
7729 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 +  (eval "$ac_link") 2>&5
7731    ac_status=$?
7732    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7734 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 -  (eval $ac_try) 2>&5
7736 +  { (case "(($ac_try" in
7737 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7738 +  *) ac_try_echo=$ac_try;;
7739 +esac
7740 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7741 +  (eval "$ac_try") 2>&5
7742    ac_status=$?
7743    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744    (exit $ac_status); }; }; then
7745 @@ -6544,11 +7009,13 @@
7746  ( exit $ac_status )
7747  ac_cv_c_stack_direction=-1
7748  fi
7749 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7750 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7751  fi
7752 +
7753 +
7754  fi
7755 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7756 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7757 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7758 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7759  
7760  cat >>confdefs.h <<_ACEOF
7761  #define STACK_DIRECTION $ac_cv_c_stack_direction
7762 @@ -6556,13 +7023,12 @@
7763  
7764  
7765  
7766 -
7767 -for ac_header in unistd.h vfork.h
7768 +for ac_header in vfork.h
7769  do
7770  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7771 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7772 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7773 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7774 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7775 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7776 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777    echo $ECHO_N "(cached) $ECHO_C" >&6
7778  else
7779    cat >conftest.$ac_ext <<_ACEOF
7780 @@ -6573,24 +7039,22 @@
7781  /* end confdefs.h.  */
7782  #include <$ac_header>
7783  _ACEOF
7784 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7785 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7786 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7787 +case "(($ac_try" in
7788 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7789 +  *) ac_try_echo=$ac_try;;
7790 +esac
7791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7792 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7793    ac_status=$?
7794    grep -v '^ *+' conftest.er1 >conftest.err
7795    rm -f conftest.er1
7796    cat conftest.err >&5
7797    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 -  (exit $ac_status); } >/dev/null; then
7799 -  if test -s conftest.err; then
7800 -    ac_cpp_err=$ac_c_preproc_warn_flag
7801 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7802 -  else
7803 -    ac_cpp_err=
7804 -  fi
7805 -else
7806 -  ac_cpp_err=yes
7807 -fi
7808 -if test -z "$ac_cpp_err"; then
7809 +  (exit $ac_status); } >/dev/null && {
7810 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7811 +        test ! -s conftest.err
7812 +       }; then
7813    eval "$as_ac_Header=yes"
7814  else
7815    echo "$as_me: failed program was:" >&5
7816 @@ -6598,10 +7062,12 @@
7817  
7818    eval "$as_ac_Header=no"
7819  fi
7820 +
7821  rm -f conftest.err conftest.$ac_ext
7822  fi
7823 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7824 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7825 +ac_res=`eval echo '${'$as_ac_Header'}'`
7826 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
7827 +echo "${ECHO_T}$ac_res" >&6; }
7828  if test `eval echo '${'$as_ac_Header'}'` = yes; then
7829    cat >>confdefs.h <<_ACEOF
7830  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7831 @@ -6615,9 +7081,9 @@
7832  for ac_func in fork vfork
7833  do
7834  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7835 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7836 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7837 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7838 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7839 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7840 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7841    echo $ECHO_N "(cached) $ECHO_C" >&6
7842  else
7843    if test x$gcc_no_link = xyes; then
7844 @@ -6671,39 +7137,37 @@
7845  }
7846  _ACEOF
7847  rm -f conftest.$ac_objext conftest$ac_exeext
7848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 -  (eval $ac_link) 2>conftest.er1
7850 +if { (ac_try="$ac_link"
7851 +case "(($ac_try" in
7852 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7853 +  *) ac_try_echo=$ac_try;;
7854 +esac
7855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7856 +  (eval "$ac_link") 2>conftest.er1
7857    ac_status=$?
7858    grep -v '^ *+' conftest.er1 >conftest.err
7859    rm -f conftest.er1
7860    cat conftest.err >&5
7861    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 -  (exit $ac_status); } &&
7863 -        { ac_try='test -z "$ac_c_werror_flag"
7864 -                        || test ! -s conftest.err'
7865 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 -  (eval $ac_try) 2>&5
7867 -  ac_status=$?
7868 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 -  (exit $ac_status); }; } &&
7870 -        { ac_try='test -s conftest$ac_exeext'
7871 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7872 -  (eval $ac_try) 2>&5
7873 -  ac_status=$?
7874 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 -  (exit $ac_status); }; }; then
7876 +  (exit $ac_status); } && {
7877 +        test -z "$ac_c_werror_flag" ||
7878 +        test ! -s conftest.err
7879 +       } && test -s conftest$ac_exeext &&
7880 +       $as_test_x conftest$ac_exeext; then
7881    eval "$as_ac_var=yes"
7882  else
7883    echo "$as_me: failed program was:" >&5
7884  sed 's/^/| /' conftest.$ac_ext >&5
7885  
7886 -eval "$as_ac_var=no"
7887 +       eval "$as_ac_var=no"
7888  fi
7889 -rm -f conftest.err conftest.$ac_objext \
7890 +
7891 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7892        conftest$ac_exeext conftest.$ac_ext
7893  fi
7894 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7895 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7896 +ac_res=`eval echo '${'$as_ac_var'}'`
7897 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
7898 +echo "${ECHO_T}$ac_res" >&6; }
7899  if test `eval echo '${'$as_ac_var'}'` = yes; then
7900    cat >>confdefs.h <<_ACEOF
7901  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7902 @@ -6713,8 +7177,8 @@
7903  done
7904  
7905  if test "x$ac_cv_func_fork" = xyes; then
7906 -  echo "$as_me:$LINENO: checking for working fork" >&5
7907 -echo $ECHO_N "checking for working fork... $ECHO_C" >&6
7908 +  { echo "$as_me:$LINENO: checking for working fork" >&5
7909 +echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
7910  if test "${ac_cv_func_fork_works+set}" = set; then
7911    echo $ECHO_N "(cached) $ECHO_C" >&6
7912  else
7913 @@ -6722,27 +7186,40 @@
7914    ac_cv_func_fork_works=cross
7915  else
7916    cat >conftest.$ac_ext <<_ACEOF
7917 -/* By Ruediger Kuhlmann. */
7918 -      #include <sys/types.h>
7919 -      #if HAVE_UNISTD_H
7920 -      # include <unistd.h>
7921 -      #endif
7922 -      /* Some systems only have a dummy stub for fork() */
7923 -      int main ()
7924 -      {
7925 -       if (fork() < 0)
7926 -         exit (1);
7927 -       exit (0);
7928 -      }
7929 +/* confdefs.h.  */
7930 +_ACEOF
7931 +cat confdefs.h >>conftest.$ac_ext
7932 +cat >>conftest.$ac_ext <<_ACEOF
7933 +/* end confdefs.h.  */
7934 +$ac_includes_default
7935 +int
7936 +main ()
7937 +{
7938 +
7939 +         /* By Ruediger Kuhlmann. */
7940 +         return fork () < 0;
7941 +
7942 +  ;
7943 +  return 0;
7944 +}
7945  _ACEOF
7946  rm -f conftest$ac_exeext
7947 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7948 -  (eval $ac_link) 2>&5
7949 +if { (ac_try="$ac_link"
7950 +case "(($ac_try" in
7951 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7952 +  *) ac_try_echo=$ac_try;;
7953 +esac
7954 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7955 +  (eval "$ac_link") 2>&5
7956    ac_status=$?
7957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7959 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7960 -  (eval $ac_try) 2>&5
7961 +  { (case "(($ac_try" in
7962 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7963 +  *) ac_try_echo=$ac_try;;
7964 +esac
7965 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7966 +  (eval "$ac_try") 2>&5
7967    ac_status=$?
7968    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969    (exit $ac_status); }; }; then
7970 @@ -6755,11 +7232,13 @@
7971  ( exit $ac_status )
7972  ac_cv_func_fork_works=no
7973  fi
7974 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7975 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7976  fi
7977 +
7978 +
7979  fi
7980 -echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7981 -echo "${ECHO_T}$ac_cv_func_fork_works" >&6
7982 +{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7983 +echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
7984  
7985  else
7986    ac_cv_func_fork_works=$ac_cv_func_fork
7987 @@ -6779,8 +7258,8 @@
7988  fi
7989  ac_cv_func_vfork_works=$ac_cv_func_vfork
7990  if test "x$ac_cv_func_vfork" = xyes; then
7991 -  echo "$as_me:$LINENO: checking for working vfork" >&5
7992 -echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
7993 +  { echo "$as_me:$LINENO: checking for working vfork" >&5
7994 +echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
7995  if test "${ac_cv_func_vfork_works+set}" = set; then
7996    echo $ECHO_N "(cached) $ECHO_C" >&6
7997  else
7998 @@ -6794,15 +7273,9 @@
7999  cat >>conftest.$ac_ext <<_ACEOF
8000  /* end confdefs.h.  */
8001  /* Thanks to Paul Eggert for this test.  */
8002 -#include <stdio.h>
8003 -#include <stdlib.h>
8004 -#include <sys/types.h>
8005 -#include <sys/stat.h>
8006 +$ac_includes_default
8007  #include <sys/wait.h>
8008 -#if HAVE_UNISTD_H
8009 -# include <unistd.h>
8010 -#endif
8011 -#if HAVE_VFORK_H
8012 +#ifdef HAVE_VFORK_H
8013  # include <vfork.h>
8014  #endif
8015  /* On some sparc systems, changes by the child to local and incoming
8016 @@ -6873,7 +7346,7 @@
8017  
8018      while (wait(&status) != child)
8019        ;
8020 -    exit(
8021 +    return (
8022          /* Was there some problem with vforking?  */
8023          child < 0
8024  
8025 @@ -6890,13 +7363,22 @@
8026  }
8027  _ACEOF
8028  rm -f conftest$ac_exeext
8029 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8030 -  (eval $ac_link) 2>&5
8031 +if { (ac_try="$ac_link"
8032 +case "(($ac_try" in
8033 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 +  *) ac_try_echo=$ac_try;;
8035 +esac
8036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 +  (eval "$ac_link") 2>&5
8038    ac_status=$?
8039    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8041 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 -  (eval $ac_try) 2>&5
8043 +  { (case "(($ac_try" in
8044 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8045 +  *) ac_try_echo=$ac_try;;
8046 +esac
8047 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8048 +  (eval "$ac_try") 2>&5
8049    ac_status=$?
8050    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051    (exit $ac_status); }; }; then
8052 @@ -6909,11 +7391,13 @@
8053  ( exit $ac_status )
8054  ac_cv_func_vfork_works=no
8055  fi
8056 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8057 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8058  fi
8059 +
8060 +
8061  fi
8062 -echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8063 -echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
8064 +{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8065 +echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
8066  
8067  fi;
8068  if test "x$ac_cv_func_fork_works" = xcross; then
8069 @@ -6944,12 +7428,10 @@
8070  fi
8071  
8072    if test $ac_cv_func_vfork_works = no; then
8073 -    case $LIBOBJS in
8074 -    "vfork.$ac_objext"   | \
8075 -  *" vfork.$ac_objext"   | \
8076 -    "vfork.$ac_objext "* | \
8077 +    case " $LIBOBJS " in
8078    *" vfork.$ac_objext "* ) ;;
8079 -  *) LIBOBJS="$LIBOBJS vfork.$ac_objext" ;;
8080 +  *) LIBOBJS="$LIBOBJS vfork.$ac_objext"
8081 + ;;
8082  esac
8083  
8084    fi
8085 @@ -6961,9 +7443,9 @@
8086  for ac_func in _doprnt
8087  do
8088  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8089 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8090 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8091 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8092 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8093 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8094 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8095    echo $ECHO_N "(cached) $ECHO_C" >&6
8096  else
8097    if test x$gcc_no_link = xyes; then
8098 @@ -7017,51 +7499,47 @@
8099  }
8100  _ACEOF
8101  rm -f conftest.$ac_objext conftest$ac_exeext
8102 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8103 -  (eval $ac_link) 2>conftest.er1
8104 +if { (ac_try="$ac_link"
8105 +case "(($ac_try" in
8106 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8107 +  *) ac_try_echo=$ac_try;;
8108 +esac
8109 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8110 +  (eval "$ac_link") 2>conftest.er1
8111    ac_status=$?
8112    grep -v '^ *+' conftest.er1 >conftest.err
8113    rm -f conftest.er1
8114    cat conftest.err >&5
8115    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 -  (exit $ac_status); } &&
8117 -        { ac_try='test -z "$ac_c_werror_flag"
8118 -                        || test ! -s conftest.err'
8119 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 -  (eval $ac_try) 2>&5
8121 -  ac_status=$?
8122 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 -  (exit $ac_status); }; } &&
8124 -        { ac_try='test -s conftest$ac_exeext'
8125 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 -  (eval $ac_try) 2>&5
8127 -  ac_status=$?
8128 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 -  (exit $ac_status); }; }; then
8130 +  (exit $ac_status); } && {
8131 +        test -z "$ac_c_werror_flag" ||
8132 +        test ! -s conftest.err
8133 +       } && test -s conftest$ac_exeext &&
8134 +       $as_test_x conftest$ac_exeext; then
8135    eval "$as_ac_var=yes"
8136  else
8137    echo "$as_me: failed program was:" >&5
8138  sed 's/^/| /' conftest.$ac_ext >&5
8139  
8140 -eval "$as_ac_var=no"
8141 +       eval "$as_ac_var=no"
8142  fi
8143 -rm -f conftest.err conftest.$ac_objext \
8144 +
8145 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8146        conftest$ac_exeext conftest.$ac_ext
8147  fi
8148 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8149 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8150 +ac_res=`eval echo '${'$as_ac_var'}'`
8151 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
8152 +echo "${ECHO_T}$ac_res" >&6; }
8153  if test `eval echo '${'$as_ac_var'}'` = yes; then
8154    cat >>confdefs.h <<_ACEOF
8155  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8156  _ACEOF
8157  
8158  else
8159 -  case $LIBOBJS in
8160 -    "$ac_func.$ac_objext"   | \
8161 -  *" $ac_func.$ac_objext"   | \
8162 -    "$ac_func.$ac_objext "* | \
8163 +  case " $LIBOBJS " in
8164    *" $ac_func.$ac_objext "* ) ;;
8165 -  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
8166 +  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
8167 + ;;
8168  esac
8169  
8170  fi
8171 @@ -7073,9 +7551,9 @@
8172  for ac_func in _doprnt
8173  do
8174  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8175 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8176 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8177 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8178 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8179 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8180 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8181    echo $ECHO_N "(cached) $ECHO_C" >&6
8182  else
8183    if test x$gcc_no_link = xyes; then
8184 @@ -7129,39 +7607,37 @@
8185  }
8186  _ACEOF
8187  rm -f conftest.$ac_objext conftest$ac_exeext
8188 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8189 -  (eval $ac_link) 2>conftest.er1
8190 +if { (ac_try="$ac_link"
8191 +case "(($ac_try" in
8192 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8193 +  *) ac_try_echo=$ac_try;;
8194 +esac
8195 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8196 +  (eval "$ac_link") 2>conftest.er1
8197    ac_status=$?
8198    grep -v '^ *+' conftest.er1 >conftest.err
8199    rm -f conftest.er1
8200    cat conftest.err >&5
8201    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 -  (exit $ac_status); } &&
8203 -        { ac_try='test -z "$ac_c_werror_flag"
8204 -                        || test ! -s conftest.err'
8205 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 -  (eval $ac_try) 2>&5
8207 -  ac_status=$?
8208 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 -  (exit $ac_status); }; } &&
8210 -        { ac_try='test -s conftest$ac_exeext'
8211 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8212 -  (eval $ac_try) 2>&5
8213 -  ac_status=$?
8214 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 -  (exit $ac_status); }; }; then
8216 +  (exit $ac_status); } && {
8217 +        test -z "$ac_c_werror_flag" ||
8218 +        test ! -s conftest.err
8219 +       } && test -s conftest$ac_exeext &&
8220 +       $as_test_x conftest$ac_exeext; then
8221    eval "$as_ac_var=yes"
8222  else
8223    echo "$as_me: failed program was:" >&5
8224  sed 's/^/| /' conftest.$ac_ext >&5
8225  
8226 -eval "$as_ac_var=no"
8227 +       eval "$as_ac_var=no"
8228  fi
8229 -rm -f conftest.err conftest.$ac_objext \
8230 +
8231 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8232        conftest$ac_exeext conftest.$ac_ext
8233  fi
8234 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8235 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8236 +ac_res=`eval echo '${'$as_ac_var'}'`
8237 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 +echo "${ECHO_T}$ac_res" >&6; }
8239  if test `eval echo '${'$as_ac_var'}'` = yes; then
8240    cat >>confdefs.h <<_ACEOF
8241  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8242 @@ -7173,9 +7649,9 @@
8243    fi
8244  
8245    for v in $vars; do
8246 -    echo "$as_me:$LINENO: checking for $v" >&5
8247 -echo $ECHO_N "checking for $v... $ECHO_C" >&6
8248 -    if eval "test \"\${libiberty_cv_var_$v+set}\" = set"; then
8249 +    { echo "$as_me:$LINENO: checking for $v" >&5
8250 +echo $ECHO_N "checking for $v... $ECHO_C" >&6; }
8251 +    if { as_var=libiberty_cv_var_$v; eval "test \"\${$as_var+set}\" = set"; }; then
8252    echo $ECHO_N "(cached) $ECHO_C" >&6
8253  else
8254    if test x$gcc_no_link = xyes; then
8255 @@ -7199,56 +7675,53 @@
8256  }
8257  _ACEOF
8258  rm -f conftest.$ac_objext conftest$ac_exeext
8259 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 -  (eval $ac_link) 2>conftest.er1
8261 +if { (ac_try="$ac_link"
8262 +case "(($ac_try" in
8263 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8264 +  *) ac_try_echo=$ac_try;;
8265 +esac
8266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 +  (eval "$ac_link") 2>conftest.er1
8268    ac_status=$?
8269    grep -v '^ *+' conftest.er1 >conftest.err
8270    rm -f conftest.er1
8271    cat conftest.err >&5
8272    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 -  (exit $ac_status); } &&
8274 -        { ac_try='test -z "$ac_c_werror_flag"
8275 -                        || test ! -s conftest.err'
8276 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 -  (eval $ac_try) 2>&5
8278 -  ac_status=$?
8279 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 -  (exit $ac_status); }; } &&
8281 -        { ac_try='test -s conftest$ac_exeext'
8282 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 -  (eval $ac_try) 2>&5
8284 -  ac_status=$?
8285 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 -  (exit $ac_status); }; }; then
8287 +  (exit $ac_status); } && {
8288 +        test -z "$ac_c_werror_flag" ||
8289 +        test ! -s conftest.err
8290 +       } && test -s conftest$ac_exeext &&
8291 +       $as_test_x conftest$ac_exeext; then
8292    eval "libiberty_cv_var_$v=yes"
8293  else
8294    echo "$as_me: failed program was:" >&5
8295  sed 's/^/| /' conftest.$ac_ext >&5
8296  
8297 -eval "libiberty_cv_var_$v=no"
8298 +       eval "libiberty_cv_var_$v=no"
8299  fi
8300 -rm -f conftest.err conftest.$ac_objext \
8301 +
8302 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8303        conftest$ac_exeext conftest.$ac_ext
8304  fi
8305  
8306      if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
8307 -      echo "$as_me:$LINENO: result: yes" >&5
8308 -echo "${ECHO_T}yes" >&6
8309 +      { echo "$as_me:$LINENO: result: yes" >&5
8310 +echo "${ECHO_T}yes" >&6; }
8311        n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8312        cat >>confdefs.h <<_ACEOF
8313  #define $n 1
8314  _ACEOF
8315  
8316      else
8317 -      echo "$as_me:$LINENO: result: no" >&5
8318 -echo "${ECHO_T}no" >&6
8319 +      { echo "$as_me:$LINENO: result: no" >&5
8320 +echo "${ECHO_T}no" >&6; }
8321      fi
8322    done
8323  
8324    # special check for _system_configuration because AIX <4.3.2 do not
8325    # contain the `physmem' member.
8326 -  echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
8327 -echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
8328 +  { echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
8329 +echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; }
8330    cat >conftest.$ac_ext <<_ACEOF
8331  /* confdefs.h.  */
8332  _ACEOF
8333 @@ -7265,29 +7738,24 @@
8334  }
8335  _ACEOF
8336  rm -f conftest.$ac_objext
8337 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8338 -  (eval $ac_compile) 2>conftest.er1
8339 +if { (ac_try="$ac_compile"
8340 +case "(($ac_try" in
8341 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8342 +  *) ac_try_echo=$ac_try;;
8343 +esac
8344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8345 +  (eval "$ac_compile") 2>conftest.er1
8346    ac_status=$?
8347    grep -v '^ *+' conftest.er1 >conftest.err
8348    rm -f conftest.er1
8349    cat conftest.err >&5
8350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 -  (exit $ac_status); } &&
8352 -        { ac_try='test -z "$ac_c_werror_flag"
8353 -                        || test ! -s conftest.err'
8354 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8355 -  (eval $ac_try) 2>&5
8356 -  ac_status=$?
8357 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 -  (exit $ac_status); }; } &&
8359 -        { ac_try='test -s conftest.$ac_objext'
8360 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 -  (eval $ac_try) 2>&5
8362 -  ac_status=$?
8363 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 -  (exit $ac_status); }; }; then
8365 -  echo "$as_me:$LINENO: result: yes" >&5
8366 -echo "${ECHO_T}yes" >&6
8367 +  (exit $ac_status); } && {
8368 +        test -z "$ac_c_werror_flag" ||
8369 +        test ! -s conftest.err
8370 +       } && test -s conftest.$ac_objext; then
8371 +  { echo "$as_me:$LINENO: result: yes" >&5
8372 +echo "${ECHO_T}yes" >&6; }
8373  
8374  cat >>confdefs.h <<\_ACEOF
8375  #define HAVE__SYSTEM_CONFIGURATION 1
8376 @@ -7297,18 +7765,19 @@
8377    echo "$as_me: failed program was:" >&5
8378  sed 's/^/| /' conftest.$ac_ext >&5
8379  
8380 -echo "$as_me:$LINENO: result: no" >&5
8381 -echo "${ECHO_T}no" >&6
8382 +       { echo "$as_me:$LINENO: result: no" >&5
8383 +echo "${ECHO_T}no" >&6; }
8384  fi
8385 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8386 +
8387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8388  
8389  
8390  for ac_func in $checkfuncs
8391  do
8392  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8393 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8394 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8395 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8396 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8397 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8398 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8399    echo $ECHO_N "(cached) $ECHO_C" >&6
8400  else
8401    if test x$gcc_no_link = xyes; then
8402 @@ -7362,39 +7831,37 @@
8403  }
8404  _ACEOF
8405  rm -f conftest.$ac_objext conftest$ac_exeext
8406 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 -  (eval $ac_link) 2>conftest.er1
8408 +if { (ac_try="$ac_link"
8409 +case "(($ac_try" in
8410 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8411 +  *) ac_try_echo=$ac_try;;
8412 +esac
8413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8414 +  (eval "$ac_link") 2>conftest.er1
8415    ac_status=$?
8416    grep -v '^ *+' conftest.er1 >conftest.err
8417    rm -f conftest.er1
8418    cat conftest.err >&5
8419    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 -  (exit $ac_status); } &&
8421 -        { ac_try='test -z "$ac_c_werror_flag"
8422 -                        || test ! -s conftest.err'
8423 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 -  (eval $ac_try) 2>&5
8425 -  ac_status=$?
8426 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 -  (exit $ac_status); }; } &&
8428 -        { ac_try='test -s conftest$ac_exeext'
8429 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 -  (eval $ac_try) 2>&5
8431 -  ac_status=$?
8432 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 -  (exit $ac_status); }; }; then
8434 +  (exit $ac_status); } && {
8435 +        test -z "$ac_c_werror_flag" ||
8436 +        test ! -s conftest.err
8437 +       } && test -s conftest$ac_exeext &&
8438 +       $as_test_x conftest$ac_exeext; then
8439    eval "$as_ac_var=yes"
8440  else
8441    echo "$as_me: failed program was:" >&5
8442  sed 's/^/| /' conftest.$ac_ext >&5
8443  
8444 -eval "$as_ac_var=no"
8445 +       eval "$as_ac_var=no"
8446  fi
8447 -rm -f conftest.err conftest.$ac_objext \
8448 +
8449 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8450        conftest$ac_exeext conftest.$ac_ext
8451  fi
8452 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8453 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8454 +ac_res=`eval echo '${'$as_ac_var'}'`
8455 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
8456 +echo "${ECHO_T}$ac_res" >&6; }
8457  if test `eval echo '${'$as_ac_var'}'` = yes; then
8458    cat >>confdefs.h <<_ACEOF
8459  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8460 @@ -7403,8 +7870,8 @@
8461  fi
8462  done
8463  
8464 -  echo "$as_me:$LINENO: checking whether basename is declared" >&5
8465 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8466 +  { echo "$as_me:$LINENO: checking whether basename is declared" >&5
8467 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
8468  if test "${ac_cv_have_decl_basename+set}" = set; then
8469    echo $ECHO_N "(cached) $ECHO_C" >&6
8470  else
8471 @@ -7419,7 +7886,7 @@
8472  main ()
8473  {
8474  #ifndef basename
8475 -  char *p = (char *) basename;
8476 +  (void) basename;
8477  #endif
8478  
8479    ;
8480 @@ -7427,38 +7894,34 @@
8481  }
8482  _ACEOF
8483  rm -f conftest.$ac_objext
8484 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8485 -  (eval $ac_compile) 2>conftest.er1
8486 +if { (ac_try="$ac_compile"
8487 +case "(($ac_try" in
8488 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 +  *) ac_try_echo=$ac_try;;
8490 +esac
8491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 +  (eval "$ac_compile") 2>conftest.er1
8493    ac_status=$?
8494    grep -v '^ *+' conftest.er1 >conftest.err
8495    rm -f conftest.er1
8496    cat conftest.err >&5
8497    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 -  (exit $ac_status); } &&
8499 -        { ac_try='test -z "$ac_c_werror_flag"
8500 -                        || test ! -s conftest.err'
8501 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 -  (eval $ac_try) 2>&5
8503 -  ac_status=$?
8504 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 -  (exit $ac_status); }; } &&
8506 -        { ac_try='test -s conftest.$ac_objext'
8507 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 -  (eval $ac_try) 2>&5
8509 -  ac_status=$?
8510 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 -  (exit $ac_status); }; }; then
8512 +  (exit $ac_status); } && {
8513 +        test -z "$ac_c_werror_flag" ||
8514 +        test ! -s conftest.err
8515 +       } && test -s conftest.$ac_objext; then
8516    ac_cv_have_decl_basename=yes
8517  else
8518    echo "$as_me: failed program was:" >&5
8519  sed 's/^/| /' conftest.$ac_ext >&5
8520  
8521 -ac_cv_have_decl_basename=no
8522 +       ac_cv_have_decl_basename=no
8523  fi
8524 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8525 +
8526 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8527  fi
8528 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8529 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8530 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8531 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
8532  if test $ac_cv_have_decl_basename = yes; then
8533  
8534  cat >>confdefs.h <<_ACEOF
8535 @@ -7473,8 +7936,8 @@
8536  
8537  
8538  fi
8539 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8540 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8541 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8542 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
8543  if test "${ac_cv_have_decl_ffs+set}" = set; then
8544    echo $ECHO_N "(cached) $ECHO_C" >&6
8545  else
8546 @@ -7489,7 +7952,7 @@
8547  main ()
8548  {
8549  #ifndef ffs
8550 -  char *p = (char *) ffs;
8551 +  (void) ffs;
8552  #endif
8553  
8554    ;
8555 @@ -7497,38 +7960,34 @@
8556  }
8557  _ACEOF
8558  rm -f conftest.$ac_objext
8559 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8560 -  (eval $ac_compile) 2>conftest.er1
8561 +if { (ac_try="$ac_compile"
8562 +case "(($ac_try" in
8563 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 +  *) ac_try_echo=$ac_try;;
8565 +esac
8566 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567 +  (eval "$ac_compile") 2>conftest.er1
8568    ac_status=$?
8569    grep -v '^ *+' conftest.er1 >conftest.err
8570    rm -f conftest.er1
8571    cat conftest.err >&5
8572    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 -  (exit $ac_status); } &&
8574 -        { ac_try='test -z "$ac_c_werror_flag"
8575 -                        || test ! -s conftest.err'
8576 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 -  (eval $ac_try) 2>&5
8578 -  ac_status=$?
8579 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 -  (exit $ac_status); }; } &&
8581 -        { ac_try='test -s conftest.$ac_objext'
8582 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 -  (eval $ac_try) 2>&5
8584 -  ac_status=$?
8585 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 -  (exit $ac_status); }; }; then
8587 +  (exit $ac_status); } && {
8588 +        test -z "$ac_c_werror_flag" ||
8589 +        test ! -s conftest.err
8590 +       } && test -s conftest.$ac_objext; then
8591    ac_cv_have_decl_ffs=yes
8592  else
8593    echo "$as_me: failed program was:" >&5
8594  sed 's/^/| /' conftest.$ac_ext >&5
8595  
8596 -ac_cv_have_decl_ffs=no
8597 +       ac_cv_have_decl_ffs=no
8598  fi
8599 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8600 +
8601 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8602  fi
8603 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8604 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8605 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8606 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
8607  if test $ac_cv_have_decl_ffs = yes; then
8608  
8609  cat >>confdefs.h <<_ACEOF
8610 @@ -7543,8 +8002,8 @@
8611  
8612  
8613  fi
8614 -echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
8615 -echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
8616 +{ echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
8617 +echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6; }
8618  if test "${ac_cv_have_decl_asprintf+set}" = set; then
8619    echo $ECHO_N "(cached) $ECHO_C" >&6
8620  else
8621 @@ -7559,7 +8018,7 @@
8622  main ()
8623  {
8624  #ifndef asprintf
8625 -  char *p = (char *) asprintf;
8626 +  (void) asprintf;
8627  #endif
8628  
8629    ;
8630 @@ -7567,38 +8026,34 @@
8631  }
8632  _ACEOF
8633  rm -f conftest.$ac_objext
8634 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 -  (eval $ac_compile) 2>conftest.er1
8636 +if { (ac_try="$ac_compile"
8637 +case "(($ac_try" in
8638 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 +  *) ac_try_echo=$ac_try;;
8640 +esac
8641 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8642 +  (eval "$ac_compile") 2>conftest.er1
8643    ac_status=$?
8644    grep -v '^ *+' conftest.er1 >conftest.err
8645    rm -f conftest.er1
8646    cat conftest.err >&5
8647    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 -  (exit $ac_status); } &&
8649 -        { ac_try='test -z "$ac_c_werror_flag"
8650 -                        || test ! -s conftest.err'
8651 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 -  (eval $ac_try) 2>&5
8653 -  ac_status=$?
8654 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 -  (exit $ac_status); }; } &&
8656 -        { ac_try='test -s conftest.$ac_objext'
8657 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 -  (eval $ac_try) 2>&5
8659 -  ac_status=$?
8660 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 -  (exit $ac_status); }; }; then
8662 +  (exit $ac_status); } && {
8663 +        test -z "$ac_c_werror_flag" ||
8664 +        test ! -s conftest.err
8665 +       } && test -s conftest.$ac_objext; then
8666    ac_cv_have_decl_asprintf=yes
8667  else
8668    echo "$as_me: failed program was:" >&5
8669  sed 's/^/| /' conftest.$ac_ext >&5
8670  
8671 -ac_cv_have_decl_asprintf=no
8672 +       ac_cv_have_decl_asprintf=no
8673  fi
8674 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8675 +
8676 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8677  fi
8678 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
8679 -echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
8680 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
8681 +echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6; }
8682  if test $ac_cv_have_decl_asprintf = yes; then
8683  
8684  cat >>confdefs.h <<_ACEOF
8685 @@ -7613,8 +8068,8 @@
8686  
8687  
8688  fi
8689 -echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
8690 -echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
8691 +{ echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
8692 +echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6; }
8693  if test "${ac_cv_have_decl_vasprintf+set}" = set; then
8694    echo $ECHO_N "(cached) $ECHO_C" >&6
8695  else
8696 @@ -7629,7 +8084,7 @@
8697  main ()
8698  {
8699  #ifndef vasprintf
8700 -  char *p = (char *) vasprintf;
8701 +  (void) vasprintf;
8702  #endif
8703  
8704    ;
8705 @@ -7637,38 +8092,34 @@
8706  }
8707  _ACEOF
8708  rm -f conftest.$ac_objext
8709 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8710 -  (eval $ac_compile) 2>conftest.er1
8711 +if { (ac_try="$ac_compile"
8712 +case "(($ac_try" in
8713 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8714 +  *) ac_try_echo=$ac_try;;
8715 +esac
8716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8717 +  (eval "$ac_compile") 2>conftest.er1
8718    ac_status=$?
8719    grep -v '^ *+' conftest.er1 >conftest.err
8720    rm -f conftest.er1
8721    cat conftest.err >&5
8722    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 -  (exit $ac_status); } &&
8724 -        { ac_try='test -z "$ac_c_werror_flag"
8725 -                        || test ! -s conftest.err'
8726 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 -  (eval $ac_try) 2>&5
8728 -  ac_status=$?
8729 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 -  (exit $ac_status); }; } &&
8731 -        { ac_try='test -s conftest.$ac_objext'
8732 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 -  (eval $ac_try) 2>&5
8734 -  ac_status=$?
8735 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 -  (exit $ac_status); }; }; then
8737 +  (exit $ac_status); } && {
8738 +        test -z "$ac_c_werror_flag" ||
8739 +        test ! -s conftest.err
8740 +       } && test -s conftest.$ac_objext; then
8741    ac_cv_have_decl_vasprintf=yes
8742  else
8743    echo "$as_me: failed program was:" >&5
8744  sed 's/^/| /' conftest.$ac_ext >&5
8745  
8746 -ac_cv_have_decl_vasprintf=no
8747 +       ac_cv_have_decl_vasprintf=no
8748  fi
8749 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8750 +
8751 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8752  fi
8753 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
8754 -echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
8755 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
8756 +echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6; }
8757  if test $ac_cv_have_decl_vasprintf = yes; then
8758  
8759  cat >>confdefs.h <<_ACEOF
8760 @@ -7683,8 +8134,8 @@
8761  
8762  
8763  fi
8764 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
8765 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
8766 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
8767 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
8768  if test "${ac_cv_have_decl_snprintf+set}" = set; then
8769    echo $ECHO_N "(cached) $ECHO_C" >&6
8770  else
8771 @@ -7699,7 +8150,7 @@
8772  main ()
8773  {
8774  #ifndef snprintf
8775 -  char *p = (char *) snprintf;
8776 +  (void) snprintf;
8777  #endif
8778  
8779    ;
8780 @@ -7707,38 +8158,34 @@
8781  }
8782  _ACEOF
8783  rm -f conftest.$ac_objext
8784 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8785 -  (eval $ac_compile) 2>conftest.er1
8786 +if { (ac_try="$ac_compile"
8787 +case "(($ac_try" in
8788 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8789 +  *) ac_try_echo=$ac_try;;
8790 +esac
8791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8792 +  (eval "$ac_compile") 2>conftest.er1
8793    ac_status=$?
8794    grep -v '^ *+' conftest.er1 >conftest.err
8795    rm -f conftest.er1
8796    cat conftest.err >&5
8797    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 -  (exit $ac_status); } &&
8799 -        { ac_try='test -z "$ac_c_werror_flag"
8800 -                        || test ! -s conftest.err'
8801 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 -  (eval $ac_try) 2>&5
8803 -  ac_status=$?
8804 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 -  (exit $ac_status); }; } &&
8806 -        { ac_try='test -s conftest.$ac_objext'
8807 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 -  (eval $ac_try) 2>&5
8809 -  ac_status=$?
8810 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 -  (exit $ac_status); }; }; then
8812 +  (exit $ac_status); } && {
8813 +        test -z "$ac_c_werror_flag" ||
8814 +        test ! -s conftest.err
8815 +       } && test -s conftest.$ac_objext; then
8816    ac_cv_have_decl_snprintf=yes
8817  else
8818    echo "$as_me: failed program was:" >&5
8819  sed 's/^/| /' conftest.$ac_ext >&5
8820  
8821 -ac_cv_have_decl_snprintf=no
8822 +       ac_cv_have_decl_snprintf=no
8823  fi
8824 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8825 +
8826 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8827  fi
8828 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
8829 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
8830 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
8831 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
8832  if test $ac_cv_have_decl_snprintf = yes; then
8833  
8834  cat >>confdefs.h <<_ACEOF
8835 @@ -7753,8 +8200,8 @@
8836  
8837  
8838  fi
8839 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8840 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
8841 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8842 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
8843  if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
8844    echo $ECHO_N "(cached) $ECHO_C" >&6
8845  else
8846 @@ -7769,7 +8216,7 @@
8847  main ()
8848  {
8849  #ifndef vsnprintf
8850 -  char *p = (char *) vsnprintf;
8851 +  (void) vsnprintf;
8852  #endif
8853  
8854    ;
8855 @@ -7777,38 +8224,34 @@
8856  }
8857  _ACEOF
8858  rm -f conftest.$ac_objext
8859 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8860 -  (eval $ac_compile) 2>conftest.er1
8861 +if { (ac_try="$ac_compile"
8862 +case "(($ac_try" in
8863 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8864 +  *) ac_try_echo=$ac_try;;
8865 +esac
8866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8867 +  (eval "$ac_compile") 2>conftest.er1
8868    ac_status=$?
8869    grep -v '^ *+' conftest.er1 >conftest.err
8870    rm -f conftest.er1
8871    cat conftest.err >&5
8872    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 -  (exit $ac_status); } &&
8874 -        { ac_try='test -z "$ac_c_werror_flag"
8875 -                        || test ! -s conftest.err'
8876 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 -  (eval $ac_try) 2>&5
8878 -  ac_status=$?
8879 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 -  (exit $ac_status); }; } &&
8881 -        { ac_try='test -s conftest.$ac_objext'
8882 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 -  (eval $ac_try) 2>&5
8884 -  ac_status=$?
8885 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 -  (exit $ac_status); }; }; then
8887 +  (exit $ac_status); } && {
8888 +        test -z "$ac_c_werror_flag" ||
8889 +        test ! -s conftest.err
8890 +       } && test -s conftest.$ac_objext; then
8891    ac_cv_have_decl_vsnprintf=yes
8892  else
8893    echo "$as_me: failed program was:" >&5
8894  sed 's/^/| /' conftest.$ac_ext >&5
8895  
8896 -ac_cv_have_decl_vsnprintf=no
8897 +       ac_cv_have_decl_vsnprintf=no
8898  fi
8899 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8900 +
8901 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8902  fi
8903 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8904 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
8905 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8906 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
8907  if test $ac_cv_have_decl_vsnprintf = yes; then
8908  
8909  cat >>confdefs.h <<_ACEOF
8910 @@ -7825,8 +8268,8 @@
8911  fi
8912  
8913  
8914 -  echo "$as_me:$LINENO: checking whether calloc is declared" >&5
8915 -echo $ECHO_N "checking whether calloc is declared... $ECHO_C" >&6
8916 +  { echo "$as_me:$LINENO: checking whether calloc is declared" >&5
8917 +echo $ECHO_N "checking whether calloc is declared... $ECHO_C" >&6; }
8918  if test "${ac_cv_have_decl_calloc+set}" = set; then
8919    echo $ECHO_N "(cached) $ECHO_C" >&6
8920  else
8921 @@ -7841,7 +8284,7 @@
8922  main ()
8923  {
8924  #ifndef calloc
8925 -  char *p = (char *) calloc;
8926 +  (void) calloc;
8927  #endif
8928  
8929    ;
8930 @@ -7849,38 +8292,34 @@
8931  }
8932  _ACEOF
8933  rm -f conftest.$ac_objext
8934 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8935 -  (eval $ac_compile) 2>conftest.er1
8936 +if { (ac_try="$ac_compile"
8937 +case "(($ac_try" in
8938 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 +  *) ac_try_echo=$ac_try;;
8940 +esac
8941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 +  (eval "$ac_compile") 2>conftest.er1
8943    ac_status=$?
8944    grep -v '^ *+' conftest.er1 >conftest.err
8945    rm -f conftest.er1
8946    cat conftest.err >&5
8947    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 -  (exit $ac_status); } &&
8949 -        { ac_try='test -z "$ac_c_werror_flag"
8950 -                        || test ! -s conftest.err'
8951 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 -  (eval $ac_try) 2>&5
8953 -  ac_status=$?
8954 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 -  (exit $ac_status); }; } &&
8956 -        { ac_try='test -s conftest.$ac_objext'
8957 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 -  (eval $ac_try) 2>&5
8959 -  ac_status=$?
8960 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 -  (exit $ac_status); }; }; then
8962 +  (exit $ac_status); } && {
8963 +        test -z "$ac_c_werror_flag" ||
8964 +        test ! -s conftest.err
8965 +       } && test -s conftest.$ac_objext; then
8966    ac_cv_have_decl_calloc=yes
8967  else
8968    echo "$as_me: failed program was:" >&5
8969  sed 's/^/| /' conftest.$ac_ext >&5
8970  
8971 -ac_cv_have_decl_calloc=no
8972 +       ac_cv_have_decl_calloc=no
8973  fi
8974 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8975 +
8976 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8977  fi
8978 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_calloc" >&5
8979 -echo "${ECHO_T}$ac_cv_have_decl_calloc" >&6
8980 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_calloc" >&5
8981 +echo "${ECHO_T}$ac_cv_have_decl_calloc" >&6; }
8982  if test $ac_cv_have_decl_calloc = yes; then
8983  
8984  cat >>confdefs.h <<_ACEOF
8985 @@ -7895,8 +8334,8 @@
8986  
8987  
8988  fi
8989 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8990 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8991 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8992 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
8993  if test "${ac_cv_have_decl_getenv+set}" = set; then
8994    echo $ECHO_N "(cached) $ECHO_C" >&6
8995  else
8996 @@ -7911,7 +8350,7 @@
8997  main ()
8998  {
8999  #ifndef getenv
9000 -  char *p = (char *) getenv;
9001 +  (void) getenv;
9002  #endif
9003  
9004    ;
9005 @@ -7919,38 +8358,34 @@
9006  }
9007  _ACEOF
9008  rm -f conftest.$ac_objext
9009 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 -  (eval $ac_compile) 2>conftest.er1
9011 +if { (ac_try="$ac_compile"
9012 +case "(($ac_try" in
9013 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014 +  *) ac_try_echo=$ac_try;;
9015 +esac
9016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017 +  (eval "$ac_compile") 2>conftest.er1
9018    ac_status=$?
9019    grep -v '^ *+' conftest.er1 >conftest.err
9020    rm -f conftest.er1
9021    cat conftest.err >&5
9022    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 -  (exit $ac_status); } &&
9024 -        { ac_try='test -z "$ac_c_werror_flag"
9025 -                        || test ! -s conftest.err'
9026 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 -  (eval $ac_try) 2>&5
9028 -  ac_status=$?
9029 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 -  (exit $ac_status); }; } &&
9031 -        { ac_try='test -s conftest.$ac_objext'
9032 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 -  (eval $ac_try) 2>&5
9034 -  ac_status=$?
9035 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 -  (exit $ac_status); }; }; then
9037 +  (exit $ac_status); } && {
9038 +        test -z "$ac_c_werror_flag" ||
9039 +        test ! -s conftest.err
9040 +       } && test -s conftest.$ac_objext; then
9041    ac_cv_have_decl_getenv=yes
9042  else
9043    echo "$as_me: failed program was:" >&5
9044  sed 's/^/| /' conftest.$ac_ext >&5
9045  
9046 -ac_cv_have_decl_getenv=no
9047 +       ac_cv_have_decl_getenv=no
9048  fi
9049 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9050 +
9051 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9052  fi
9053 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9054 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
9055 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9056 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
9057  if test $ac_cv_have_decl_getenv = yes; then
9058  
9059  cat >>confdefs.h <<_ACEOF
9060 @@ -7965,8 +8400,8 @@
9061  
9062  
9063  fi
9064 -echo "$as_me:$LINENO: checking whether getopt is declared" >&5
9065 -echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
9066 +{ echo "$as_me:$LINENO: checking whether getopt is declared" >&5
9067 +echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6; }
9068  if test "${ac_cv_have_decl_getopt+set}" = set; then
9069    echo $ECHO_N "(cached) $ECHO_C" >&6
9070  else
9071 @@ -7981,7 +8416,7 @@
9072  main ()
9073  {
9074  #ifndef getopt
9075 -  char *p = (char *) getopt;
9076 +  (void) getopt;
9077  #endif
9078  
9079    ;
9080 @@ -7989,38 +8424,34 @@
9081  }
9082  _ACEOF
9083  rm -f conftest.$ac_objext
9084 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9085 -  (eval $ac_compile) 2>conftest.er1
9086 +if { (ac_try="$ac_compile"
9087 +case "(($ac_try" in
9088 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9089 +  *) ac_try_echo=$ac_try;;
9090 +esac
9091 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9092 +  (eval "$ac_compile") 2>conftest.er1
9093    ac_status=$?
9094    grep -v '^ *+' conftest.er1 >conftest.err
9095    rm -f conftest.er1
9096    cat conftest.err >&5
9097    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 -  (exit $ac_status); } &&
9099 -        { ac_try='test -z "$ac_c_werror_flag"
9100 -                        || test ! -s conftest.err'
9101 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 -  (eval $ac_try) 2>&5
9103 -  ac_status=$?
9104 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 -  (exit $ac_status); }; } &&
9106 -        { ac_try='test -s conftest.$ac_objext'
9107 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 -  (eval $ac_try) 2>&5
9109 -  ac_status=$?
9110 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 -  (exit $ac_status); }; }; then
9112 +  (exit $ac_status); } && {
9113 +        test -z "$ac_c_werror_flag" ||
9114 +        test ! -s conftest.err
9115 +       } && test -s conftest.$ac_objext; then
9116    ac_cv_have_decl_getopt=yes
9117  else
9118    echo "$as_me: failed program was:" >&5
9119  sed 's/^/| /' conftest.$ac_ext >&5
9120  
9121 -ac_cv_have_decl_getopt=no
9122 +       ac_cv_have_decl_getopt=no
9123  fi
9124 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9125 +
9126 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9127  fi
9128 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
9129 -echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
9130 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
9131 +echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6; }
9132  if test $ac_cv_have_decl_getopt = yes; then
9133  
9134  cat >>confdefs.h <<_ACEOF
9135 @@ -8035,8 +8466,8 @@
9136  
9137  
9138  fi
9139 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
9140 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
9141 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
9142 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
9143  if test "${ac_cv_have_decl_malloc+set}" = set; then
9144    echo $ECHO_N "(cached) $ECHO_C" >&6
9145  else
9146 @@ -8051,7 +8482,7 @@
9147  main ()
9148  {
9149  #ifndef malloc
9150 -  char *p = (char *) malloc;
9151 +  (void) malloc;
9152  #endif
9153  
9154    ;
9155 @@ -8059,38 +8490,34 @@
9156  }
9157  _ACEOF
9158  rm -f conftest.$ac_objext
9159 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9160 -  (eval $ac_compile) 2>conftest.er1
9161 +if { (ac_try="$ac_compile"
9162 +case "(($ac_try" in
9163 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 +  *) ac_try_echo=$ac_try;;
9165 +esac
9166 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 +  (eval "$ac_compile") 2>conftest.er1
9168    ac_status=$?
9169    grep -v '^ *+' conftest.er1 >conftest.err
9170    rm -f conftest.er1
9171    cat conftest.err >&5
9172    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 -  (exit $ac_status); } &&
9174 -        { ac_try='test -z "$ac_c_werror_flag"
9175 -                        || test ! -s conftest.err'
9176 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 -  (eval $ac_try) 2>&5
9178 -  ac_status=$?
9179 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 -  (exit $ac_status); }; } &&
9181 -        { ac_try='test -s conftest.$ac_objext'
9182 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 -  (eval $ac_try) 2>&5
9184 -  ac_status=$?
9185 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 -  (exit $ac_status); }; }; then
9187 +  (exit $ac_status); } && {
9188 +        test -z "$ac_c_werror_flag" ||
9189 +        test ! -s conftest.err
9190 +       } && test -s conftest.$ac_objext; then
9191    ac_cv_have_decl_malloc=yes
9192  else
9193    echo "$as_me: failed program was:" >&5
9194  sed 's/^/| /' conftest.$ac_ext >&5
9195  
9196 -ac_cv_have_decl_malloc=no
9197 +       ac_cv_have_decl_malloc=no
9198  fi
9199 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9200 +
9201 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9202  fi
9203 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
9204 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
9205 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
9206 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
9207  if test $ac_cv_have_decl_malloc = yes; then
9208  
9209  cat >>confdefs.h <<_ACEOF
9210 @@ -8105,8 +8532,8 @@
9211  
9212  
9213  fi
9214 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
9215 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
9216 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
9217 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
9218  if test "${ac_cv_have_decl_realloc+set}" = set; then
9219    echo $ECHO_N "(cached) $ECHO_C" >&6
9220  else
9221 @@ -8121,7 +8548,7 @@
9222  main ()
9223  {
9224  #ifndef realloc
9225 -  char *p = (char *) realloc;
9226 +  (void) realloc;
9227  #endif
9228  
9229    ;
9230 @@ -8129,38 +8556,34 @@
9231  }
9232  _ACEOF
9233  rm -f conftest.$ac_objext
9234 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9235 -  (eval $ac_compile) 2>conftest.er1
9236 +if { (ac_try="$ac_compile"
9237 +case "(($ac_try" in
9238 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9239 +  *) ac_try_echo=$ac_try;;
9240 +esac
9241 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242 +  (eval "$ac_compile") 2>conftest.er1
9243    ac_status=$?
9244    grep -v '^ *+' conftest.er1 >conftest.err
9245    rm -f conftest.er1
9246    cat conftest.err >&5
9247    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 -  (exit $ac_status); } &&
9249 -        { ac_try='test -z "$ac_c_werror_flag"
9250 -                        || test ! -s conftest.err'
9251 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 -  (eval $ac_try) 2>&5
9253 -  ac_status=$?
9254 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 -  (exit $ac_status); }; } &&
9256 -        { ac_try='test -s conftest.$ac_objext'
9257 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 -  (eval $ac_try) 2>&5
9259 -  ac_status=$?
9260 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 -  (exit $ac_status); }; }; then
9262 +  (exit $ac_status); } && {
9263 +        test -z "$ac_c_werror_flag" ||
9264 +        test ! -s conftest.err
9265 +       } && test -s conftest.$ac_objext; then
9266    ac_cv_have_decl_realloc=yes
9267  else
9268    echo "$as_me: failed program was:" >&5
9269  sed 's/^/| /' conftest.$ac_ext >&5
9270  
9271 -ac_cv_have_decl_realloc=no
9272 +       ac_cv_have_decl_realloc=no
9273  fi
9274 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9275 +
9276 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9277  fi
9278 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
9279 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
9280 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
9281 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
9282  if test $ac_cv_have_decl_realloc = yes; then
9283  
9284  cat >>confdefs.h <<_ACEOF
9285 @@ -8175,8 +8598,8 @@
9286  
9287  
9288  fi
9289 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9290 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
9291 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9292 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
9293  if test "${ac_cv_have_decl_sbrk+set}" = set; then
9294    echo $ECHO_N "(cached) $ECHO_C" >&6
9295  else
9296 @@ -8191,7 +8614,7 @@
9297  main ()
9298  {
9299  #ifndef sbrk
9300 -  char *p = (char *) sbrk;
9301 +  (void) sbrk;
9302  #endif
9303  
9304    ;
9305 @@ -8199,38 +8622,34 @@
9306  }
9307  _ACEOF
9308  rm -f conftest.$ac_objext
9309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9310 -  (eval $ac_compile) 2>conftest.er1
9311 +if { (ac_try="$ac_compile"
9312 +case "(($ac_try" in
9313 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9314 +  *) ac_try_echo=$ac_try;;
9315 +esac
9316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317 +  (eval "$ac_compile") 2>conftest.er1
9318    ac_status=$?
9319    grep -v '^ *+' conftest.er1 >conftest.err
9320    rm -f conftest.er1
9321    cat conftest.err >&5
9322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 -  (exit $ac_status); } &&
9324 -        { ac_try='test -z "$ac_c_werror_flag"
9325 -                        || test ! -s conftest.err'
9326 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 -  (eval $ac_try) 2>&5
9328 -  ac_status=$?
9329 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 -  (exit $ac_status); }; } &&
9331 -        { ac_try='test -s conftest.$ac_objext'
9332 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 -  (eval $ac_try) 2>&5
9334 -  ac_status=$?
9335 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 -  (exit $ac_status); }; }; then
9337 +  (exit $ac_status); } && {
9338 +        test -z "$ac_c_werror_flag" ||
9339 +        test ! -s conftest.err
9340 +       } && test -s conftest.$ac_objext; then
9341    ac_cv_have_decl_sbrk=yes
9342  else
9343    echo "$as_me: failed program was:" >&5
9344  sed 's/^/| /' conftest.$ac_ext >&5
9345  
9346 -ac_cv_have_decl_sbrk=no
9347 +       ac_cv_have_decl_sbrk=no
9348  fi
9349 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9350 +
9351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9352  fi
9353 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9354 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
9355 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9356 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
9357  if test $ac_cv_have_decl_sbrk = yes; then
9358  
9359  cat >>confdefs.h <<_ACEOF
9360 @@ -8247,8 +8666,8 @@
9361  fi
9362  
9363  
9364 -  echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
9365 -echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
9366 +  { echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
9367 +echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6; }
9368  if test "${ac_cv_have_decl_strverscmp+set}" = set; then
9369    echo $ECHO_N "(cached) $ECHO_C" >&6
9370  else
9371 @@ -8263,7 +8682,7 @@
9372  main ()
9373  {
9374  #ifndef strverscmp
9375 -  char *p = (char *) strverscmp;
9376 +  (void) strverscmp;
9377  #endif
9378  
9379    ;
9380 @@ -8271,38 +8690,34 @@
9381  }
9382  _ACEOF
9383  rm -f conftest.$ac_objext
9384 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385 -  (eval $ac_compile) 2>conftest.er1
9386 +if { (ac_try="$ac_compile"
9387 +case "(($ac_try" in
9388 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 +  *) ac_try_echo=$ac_try;;
9390 +esac
9391 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 +  (eval "$ac_compile") 2>conftest.er1
9393    ac_status=$?
9394    grep -v '^ *+' conftest.er1 >conftest.err
9395    rm -f conftest.er1
9396    cat conftest.err >&5
9397    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 -  (exit $ac_status); } &&
9399 -        { ac_try='test -z "$ac_c_werror_flag"
9400 -                        || test ! -s conftest.err'
9401 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 -  (eval $ac_try) 2>&5
9403 -  ac_status=$?
9404 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 -  (exit $ac_status); }; } &&
9406 -        { ac_try='test -s conftest.$ac_objext'
9407 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 -  (eval $ac_try) 2>&5
9409 -  ac_status=$?
9410 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 -  (exit $ac_status); }; }; then
9412 +  (exit $ac_status); } && {
9413 +        test -z "$ac_c_werror_flag" ||
9414 +        test ! -s conftest.err
9415 +       } && test -s conftest.$ac_objext; then
9416    ac_cv_have_decl_strverscmp=yes
9417  else
9418    echo "$as_me: failed program was:" >&5
9419  sed 's/^/| /' conftest.$ac_ext >&5
9420  
9421 -ac_cv_have_decl_strverscmp=no
9422 +       ac_cv_have_decl_strverscmp=no
9423  fi
9424 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9425 +
9426 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9427  fi
9428 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
9429 -echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
9430 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
9431 +echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6; }
9432  if test $ac_cv_have_decl_strverscmp = yes; then
9433  
9434  cat >>confdefs.h <<_ACEOF
9435 @@ -8319,8 +8734,8 @@
9436  fi
9437  
9438  
9439 -  echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
9440 -echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6
9441 +  { echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
9442 +echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6; }
9443  if test "${libiberty_cv_decl_needed_canonicalize_file_name+set}" = set; then
9444    echo $ECHO_N "(cached) $ECHO_C" >&6
9445  else
9446 @@ -8355,39 +8770,35 @@
9447  }
9448  _ACEOF
9449  rm -f conftest.$ac_objext
9450 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9451 -  (eval $ac_compile) 2>conftest.er1
9452 +if { (ac_try="$ac_compile"
9453 +case "(($ac_try" in
9454 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 +  *) ac_try_echo=$ac_try;;
9456 +esac
9457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 +  (eval "$ac_compile") 2>conftest.er1
9459    ac_status=$?
9460    grep -v '^ *+' conftest.er1 >conftest.err
9461    rm -f conftest.er1
9462    cat conftest.err >&5
9463    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 -  (exit $ac_status); } &&
9465 -        { ac_try='test -z "$ac_c_werror_flag"
9466 -                        || test ! -s conftest.err'
9467 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 -  (eval $ac_try) 2>&5
9469 -  ac_status=$?
9470 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 -  (exit $ac_status); }; } &&
9472 -        { ac_try='test -s conftest.$ac_objext'
9473 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 -  (eval $ac_try) 2>&5
9475 -  ac_status=$?
9476 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 -  (exit $ac_status); }; }; then
9478 +  (exit $ac_status); } && {
9479 +        test -z "$ac_c_werror_flag" ||
9480 +        test ! -s conftest.err
9481 +       } && test -s conftest.$ac_objext; then
9482    libiberty_cv_decl_needed_canonicalize_file_name=no
9483  else
9484    echo "$as_me: failed program was:" >&5
9485  sed 's/^/| /' conftest.$ac_ext >&5
9486  
9487 -libiberty_cv_decl_needed_canonicalize_file_name=yes
9488 +       libiberty_cv_decl_needed_canonicalize_file_name=yes
9489  fi
9490 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9491 +
9492 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9493  fi
9494  
9495 -echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
9496 -echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6
9497 +{ echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
9498 +echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6; }
9499  if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
9500  
9501  cat >>confdefs.h <<\_ACEOF
9502 @@ -8418,9 +8829,9 @@
9503  for ac_header in stdlib.h unistd.h
9504  do
9505  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9506 -echo "$as_me:$LINENO: checking for $ac_header" >&5
9507 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9508 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
9509 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9510 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9511 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9512    echo $ECHO_N "(cached) $ECHO_C" >&6
9513  else
9514    cat >conftest.$ac_ext <<_ACEOF
9515 @@ -8431,24 +8842,22 @@
9516  /* end confdefs.h.  */
9517  #include <$ac_header>
9518  _ACEOF
9519 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9520 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9521 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9522 +case "(($ac_try" in
9523 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9524 +  *) ac_try_echo=$ac_try;;
9525 +esac
9526 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9527 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9528    ac_status=$?
9529    grep -v '^ *+' conftest.er1 >conftest.err
9530    rm -f conftest.er1
9531    cat conftest.err >&5
9532    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 -  (exit $ac_status); } >/dev/null; then
9534 -  if test -s conftest.err; then
9535 -    ac_cpp_err=$ac_c_preproc_warn_flag
9536 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9537 -  else
9538 -    ac_cpp_err=
9539 -  fi
9540 -else
9541 -  ac_cpp_err=yes
9542 -fi
9543 -if test -z "$ac_cpp_err"; then
9544 +  (exit $ac_status); } >/dev/null && {
9545 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9546 +        test ! -s conftest.err
9547 +       }; then
9548    eval "$as_ac_Header=yes"
9549  else
9550    echo "$as_me: failed program was:" >&5
9551 @@ -8456,10 +8865,12 @@
9552  
9553    eval "$as_ac_Header=no"
9554  fi
9555 +
9556  rm -f conftest.err conftest.$ac_ext
9557  fi
9558 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9559 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9560 +ac_res=`eval echo '${'$as_ac_Header'}'`
9561 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
9562 +echo "${ECHO_T}$ac_res" >&6; }
9563  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9564    cat >>confdefs.h <<_ACEOF
9565  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9566 @@ -8472,9 +8883,9 @@
9567  for ac_func in getpagesize
9568  do
9569  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9570 -echo "$as_me:$LINENO: checking for $ac_func" >&5
9571 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9572 -if eval "test \"\${$as_ac_var+set}\" = set"; then
9573 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9574 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9575 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9576    echo $ECHO_N "(cached) $ECHO_C" >&6
9577  else
9578    if test x$gcc_no_link = xyes; then
9579 @@ -8528,39 +8939,37 @@
9580  }
9581  _ACEOF
9582  rm -f conftest.$ac_objext conftest$ac_exeext
9583 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9584 -  (eval $ac_link) 2>conftest.er1
9585 +if { (ac_try="$ac_link"
9586 +case "(($ac_try" in
9587 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9588 +  *) ac_try_echo=$ac_try;;
9589 +esac
9590 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9591 +  (eval "$ac_link") 2>conftest.er1
9592    ac_status=$?
9593    grep -v '^ *+' conftest.er1 >conftest.err
9594    rm -f conftest.er1
9595    cat conftest.err >&5
9596    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 -  (exit $ac_status); } &&
9598 -        { ac_try='test -z "$ac_c_werror_flag"
9599 -                        || test ! -s conftest.err'
9600 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 -  (eval $ac_try) 2>&5
9602 -  ac_status=$?
9603 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 -  (exit $ac_status); }; } &&
9605 -        { ac_try='test -s conftest$ac_exeext'
9606 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 -  (eval $ac_try) 2>&5
9608 -  ac_status=$?
9609 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 -  (exit $ac_status); }; }; then
9611 +  (exit $ac_status); } && {
9612 +        test -z "$ac_c_werror_flag" ||
9613 +        test ! -s conftest.err
9614 +       } && test -s conftest$ac_exeext &&
9615 +       $as_test_x conftest$ac_exeext; then
9616    eval "$as_ac_var=yes"
9617  else
9618    echo "$as_me: failed program was:" >&5
9619  sed 's/^/| /' conftest.$ac_ext >&5
9620  
9621 -eval "$as_ac_var=no"
9622 +       eval "$as_ac_var=no"
9623  fi
9624 -rm -f conftest.err conftest.$ac_objext \
9625 +
9626 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9627        conftest$ac_exeext conftest.$ac_ext
9628  fi
9629 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9630 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9631 +ac_res=`eval echo '${'$as_ac_var'}'`
9632 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 +echo "${ECHO_T}$ac_res" >&6; }
9634  if test `eval echo '${'$as_ac_var'}'` = yes; then
9635    cat >>confdefs.h <<_ACEOF
9636  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9637 @@ -8569,8 +8978,8 @@
9638  fi
9639  done
9640  
9641 -echo "$as_me:$LINENO: checking for working mmap" >&5
9642 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9643 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
9644 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9645  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9646    echo $ECHO_N "(cached) $ECHO_C" >&6
9647  else
9648 @@ -8612,21 +9021,21 @@
9649  #include <fcntl.h>
9650  #include <sys/mman.h>
9651  
9652 -#if !STDC_HEADERS && !HAVE_STDLIB_H
9653 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
9654  char *malloc ();
9655  #endif
9656  
9657  /* This mess was copied from the GNU getpagesize.h.  */
9658 -#if !HAVE_GETPAGESIZE
9659 +#ifndef HAVE_GETPAGESIZE
9660  /* Assume that all systems that can run configure have sys/param.h.  */
9661 -# if !HAVE_SYS_PARAM_H
9662 +# ifndef HAVE_SYS_PARAM_H
9663  #  define HAVE_SYS_PARAM_H 1
9664  # endif
9665  
9666  # ifdef _SC_PAGESIZE
9667  #  define getpagesize() sysconf(_SC_PAGESIZE)
9668  # else /* no _SC_PAGESIZE */
9669 -#  if HAVE_SYS_PARAM_H
9670 +#  ifdef HAVE_SYS_PARAM_H
9671  #   include <sys/param.h>
9672  #   ifdef EXEC_PAGESIZE
9673  #    define getpagesize() EXEC_PAGESIZE
9674 @@ -8665,15 +9074,15 @@
9675    /* First, make a file with some known garbage in it. */
9676    data = (char *) malloc (pagesize);
9677    if (!data)
9678 -    exit (1);
9679 +    return 1;
9680    for (i = 0; i < pagesize; ++i)
9681      *(data + i) = rand ();
9682    umask (0);
9683    fd = creat ("conftest.mmap", 0600);
9684    if (fd < 0)
9685 -    exit (1);
9686 +    return 1;
9687    if (write (fd, data, pagesize) != pagesize)
9688 -    exit (1);
9689 +    return 1;
9690    close (fd);
9691  
9692    /* Next, try to mmap the file at a fixed address which already has
9693 @@ -8681,17 +9090,17 @@
9694       we see the same garbage.  */
9695    fd = open ("conftest.mmap", O_RDWR);
9696    if (fd < 0)
9697 -    exit (1);
9698 +    return 1;
9699    data2 = (char *) malloc (2 * pagesize);
9700    if (!data2)
9701 -    exit (1);
9702 -  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9703 +    return 1;
9704 +  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9705    if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9706                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
9707 -    exit (1);
9708 +    return 1;
9709    for (i = 0; i < pagesize; ++i)
9710      if (*(data + i) != *(data2 + i))
9711 -      exit (1);
9712 +      return 1;
9713  
9714    /* Finally, make sure that changes to the mapped area do not
9715       percolate back to the file as seen by read().  (This is a bug on
9716 @@ -8700,24 +9109,33 @@
9717      *(data2 + i) = *(data2 + i) + 1;
9718    data3 = (char *) malloc (pagesize);
9719    if (!data3)
9720 -    exit (1);
9721 +    return 1;
9722    if (read (fd, data3, pagesize) != pagesize)
9723 -    exit (1);
9724 +    return 1;
9725    for (i = 0; i < pagesize; ++i)
9726      if (*(data + i) != *(data3 + i))
9727 -      exit (1);
9728 +      return 1;
9729    close (fd);
9730 -  exit (0);
9731 +  return 0;
9732  }
9733  _ACEOF
9734  rm -f conftest$ac_exeext
9735 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9736 -  (eval $ac_link) 2>&5
9737 +if { (ac_try="$ac_link"
9738 +case "(($ac_try" in
9739 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 +  *) ac_try_echo=$ac_try;;
9741 +esac
9742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 +  (eval "$ac_link") 2>&5
9744    ac_status=$?
9745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9747 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 -  (eval $ac_try) 2>&5
9749 +  { (case "(($ac_try" in
9750 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 +  *) ac_try_echo=$ac_try;;
9752 +esac
9753 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 +  (eval "$ac_try") 2>&5
9755    ac_status=$?
9756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757    (exit $ac_status); }; }; then
9758 @@ -8730,11 +9148,13 @@
9759  ( exit $ac_status )
9760  ac_cv_func_mmap_fixed_mapped=no
9761  fi
9762 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9763 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9764  fi
9765 +
9766 +
9767  fi
9768 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9769 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9770 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9771 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9772  if test $ac_cv_func_mmap_fixed_mapped = yes; then
9773  
9774  cat >>confdefs.h <<\_ACEOF
9775 @@ -8746,8 +9166,8 @@
9776  
9777  fi
9778  
9779 -echo "$as_me:$LINENO: checking for working strncmp" >&5
9780 -echo $ECHO_N "checking for working strncmp... $ECHO_C" >&6
9781 +{ echo "$as_me:$LINENO: checking for working strncmp" >&5
9782 +echo $ECHO_N "checking for working strncmp... $ECHO_C" >&6; }
9783  if test "${ac_cv_func_strncmp_works+set}" = set; then
9784    echo $ECHO_N "(cached) $ECHO_C" >&6
9785  else
9786 @@ -8823,13 +9243,22 @@
9787  
9788  _ACEOF
9789  rm -f conftest$ac_exeext
9790 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9791 -  (eval $ac_link) 2>&5
9792 +if { (ac_try="$ac_link"
9793 +case "(($ac_try" in
9794 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795 +  *) ac_try_echo=$ac_try;;
9796 +esac
9797 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 +  (eval "$ac_link") 2>&5
9799    ac_status=$?
9800    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9802 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 -  (eval $ac_try) 2>&5
9804 +  { (case "(($ac_try" in
9805 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9806 +  *) ac_try_echo=$ac_try;;
9807 +esac
9808 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9809 +  (eval "$ac_try") 2>&5
9810    ac_status=$?
9811    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812    (exit $ac_status); }; }; then
9813 @@ -8842,19 +9271,19 @@
9814  ( exit $ac_status )
9815  ac_cv_func_strncmp_works=no
9816  fi
9817 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9818 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9819  fi
9820 +
9821 +
9822  rm -f core core.* *.core
9823  fi
9824 -echo "$as_me:$LINENO: result: $ac_cv_func_strncmp_works" >&5
9825 -echo "${ECHO_T}$ac_cv_func_strncmp_works" >&6
9826 +{ echo "$as_me:$LINENO: result: $ac_cv_func_strncmp_works" >&5
9827 +echo "${ECHO_T}$ac_cv_func_strncmp_works" >&6; }
9828  if test $ac_cv_func_strncmp_works = no ; then
9829 -  case $LIBOBJS in
9830 -    "strncmp.$ac_objext"   | \
9831 -  *" strncmp.$ac_objext"   | \
9832 -    "strncmp.$ac_objext "* | \
9833 +  case " $LIBOBJS " in
9834    *" strncmp.$ac_objext "* ) ;;
9835 -  *) LIBOBJS="$LIBOBJS strncmp.$ac_objext" ;;
9836 +  *) LIBOBJS="$LIBOBJS strncmp.$ac_objext"
9837 + ;;
9838  esac
9839  
9840  fi
9841 @@ -8884,9 +9313,9 @@
9842  
9843  
9844  # We need multilib support, but only if configuring for the target.
9845 -                    ac_config_files="$ac_config_files Makefile testsuite/Makefile"
9846 +ac_config_files="$ac_config_files Makefile testsuite/Makefile"
9847  
9848 -          ac_config_commands="$ac_config_commands default"
9849 +ac_config_commands="$ac_config_commands default"
9850  
9851  cat >confcache <<\_ACEOF
9852  # This file is a shell script that caches the results of configure
9853 @@ -8906,39 +9335,58 @@
9854  
9855  # The following way of writing the cache mishandles newlines in values,
9856  # but we know of no workaround that is simple, portable, and efficient.
9857 -# So, don't put newlines in cache variables' values.
9858 +# So, we kill variables containing newlines.
9859  # Ultrix sh set writes to stderr and can't be redirected directly,
9860  # and sets the high bit in the cache file unless we assign to the vars.
9861 -{
9862 +(
9863 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9864 +    eval ac_val=\$$ac_var
9865 +    case $ac_val in #(
9866 +    *${as_nl}*)
9867 +      case $ac_var in #(
9868 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9869 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9870 +      esac
9871 +      case $ac_var in #(
9872 +      _ | IFS | as_nl) ;; #(
9873 +      *) $as_unset $ac_var ;;
9874 +      esac ;;
9875 +    esac
9876 +  done
9877 +
9878    (set) 2>&1 |
9879 -    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9880 -    *ac_space=\ *)
9881 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
9882 +    *${as_nl}ac_space=\ *)
9883        # `set' does not quote correctly, so add quotes (double-quote
9884        # substitution turns \\\\ into \\, and sed turns \\ into \).
9885        sed -n \
9886         "s/'/'\\\\''/g;
9887           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9888 -      ;;
9889 +      ;; #(
9890      *)
9891        # `set' quotes correctly as required by POSIX, so do not add quotes.
9892 -      sed -n \
9893 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9894 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9895        ;;
9896 -    esac;
9897 -} |
9898 +    esac |
9899 +    sort
9900 +) |
9901    sed '
9902 +     /^ac_cv_env_/b end
9903       t clear
9904 -     : clear
9905 +     :clear
9906       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9907       t end
9908 -     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9909 -     : end' >>confcache
9910 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
9911 -  if test -w $cache_file; then
9912 -    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9913 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9914 +     :end' >>confcache
9915 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9916 +  if test -w "$cache_file"; then
9917 +    test "x$cache_file" != "x/dev/null" &&
9918 +      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9919 +echo "$as_me: updating cache $cache_file" >&6;}
9920      cat confcache >$cache_file
9921    else
9922 -    echo "not updating unwritable cache $cache_file"
9923 +    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9924 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9925    fi
9926  fi
9927  rm -f confcache
9928 @@ -8947,32 +9395,18 @@
9929  # Let make expand exec_prefix.
9930  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9931  
9932 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
9933 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9934 -# trailing colons and then remove the whole line if VPATH becomes empty
9935 -# (actually we leave an empty line to preserve line numbers).
9936 -if test "x$srcdir" = x.; then
9937 -  ac_vpsub='/^[         ]*VPATH[        ]*=/{
9938 -s/:*\$(srcdir):*/:/;
9939 -s/:*\${srcdir}:*/:/;
9940 -s/:*@srcdir@:*/:/;
9941 -s/^\([^=]*=[    ]*\):*/\1/;
9942 -s/:*$//;
9943 -s/^[^=]*=[      ]*$//;
9944 -}'
9945 -fi
9946 -
9947  DEFS=-DHAVE_CONFIG_H
9948  
9949  ac_libobjs=
9950  ac_ltlibobjs=
9951  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9952    # 1. Remove the extension, and $U if already installed.
9953 -  ac_i=`echo "$ac_i" |
9954 -        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9955 -  # 2. Add them.
9956 -  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9957 -  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9958 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9959 +  ac_i=`echo "$ac_i" | sed "$ac_script"`
9960 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9961 +  #    will be set to the directory where LIBOBJS objects are built.
9962 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9963 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9964  done
9965  LIBOBJS=$ac_libobjs
9966  
9967 @@ -9003,17 +9437,45 @@
9968  ## M4sh Initialization.  ##
9969  ## --------------------- ##
9970  
9971 -# Be Bourne compatible
9972 +# Be more Bourne compatible
9973 +DUALCASE=1; export DUALCASE # for MKS sh
9974  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9975    emulate sh
9976    NULLCMD=:
9977    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9978    # is contrary to our usage.  Disable this feature.
9979    alias -g '${1+"$@"}'='"$@"'
9980 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9981 -  set -o posix
9982 +  setopt NO_GLOB_SUBST
9983 +else
9984 +  case `(set -o) 2>/dev/null` in
9985 +  *posix*) set -o posix ;;
9986 +esac
9987 +
9988 +fi
9989 +
9990 +
9991 +
9992 +
9993 +# PATH needs CR
9994 +# Avoid depending upon Character Ranges.
9995 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9996 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9997 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9998 +as_cr_digits='0123456789'
9999 +as_cr_alnum=$as_cr_Letters$as_cr_digits
10000 +
10001 +# The user is always right.
10002 +if test "${PATH_SEPARATOR+set}" != set; then
10003 +  echo "#! /bin/sh" >conf$$.sh
10004 +  echo  "exit 0"   >>conf$$.sh
10005 +  chmod +x conf$$.sh
10006 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10007 +    PATH_SEPARATOR=';'
10008 +  else
10009 +    PATH_SEPARATOR=:
10010 +  fi
10011 +  rm -f conf$$.sh
10012  fi
10013 -DUALCASE=1; export DUALCASE # for MKS sh
10014  
10015  # Support unset when possible.
10016  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10017 @@ -9023,8 +9485,43 @@
10018  fi
10019  
10020  
10021 +# IFS
10022 +# We need space, tab and new line, in precisely that order.  Quoting is
10023 +# there to prevent editors from complaining about space-tab.
10024 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10025 +# splitting by setting IFS to empty value.)
10026 +as_nl='
10027 +'
10028 +IFS=" ""       $as_nl"
10029 +
10030 +# Find who we are.  Look in the path if we contain no directory separator.
10031 +case $0 in
10032 +  *[\\/]* ) as_myself=$0 ;;
10033 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 +for as_dir in $PATH
10035 +do
10036 +  IFS=$as_save_IFS
10037 +  test -z "$as_dir" && as_dir=.
10038 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10039 +done
10040 +IFS=$as_save_IFS
10041 +
10042 +     ;;
10043 +esac
10044 +# We did not find ourselves, most probably we were run as `sh COMMAND'
10045 +# in which case we are not to be found in the path.
10046 +if test "x$as_myself" = x; then
10047 +  as_myself=$0
10048 +fi
10049 +if test ! -f "$as_myself"; then
10050 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10051 +  { (exit 1); exit 1; }
10052 +fi
10053 +
10054  # Work around bugs in pre-3.0 UWIN ksh.
10055 -$as_unset ENV MAIL MAILPATH
10056 +for as_var in ENV MAIL MAILPATH
10057 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10058 +done
10059  PS1='$ '
10060  PS2='> '
10061  PS4='+ '
10062 @@ -9038,18 +9535,19 @@
10063    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10064      eval $as_var=C; export $as_var
10065    else
10066 -    $as_unset $as_var
10067 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10068    fi
10069  done
10070  
10071  # Required to use basename.
10072 -if expr a : '\(a\)' >/dev/null 2>&1; then
10073 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10074 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10075    as_expr=expr
10076  else
10077    as_expr=false
10078  fi
10079  
10080 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10081 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10082    as_basename=basename
10083  else
10084    as_basename=false
10085 @@ -9057,159 +9555,120 @@
10086  
10087  
10088  # Name of the executable.
10089 -as_me=`$as_basename "$0" ||
10090 +as_me=`$as_basename -- "$0" ||
10091  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10092          X"$0" : 'X\(//\)$' \| \
10093 -        X"$0" : 'X\(/\)$' \| \
10094 -        .     : '\(.\)' 2>/dev/null ||
10095 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10096  echo X/"$0" |
10097 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10098 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
10099 -         /^X\/\(\/\).*/{ s//\1/; q; }
10100 -         s/.*/./; q'`
10101 -
10102 -
10103 -# PATH needs CR, and LINENO needs CR and PATH.
10104 -# Avoid depending upon Character Ranges.
10105 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10106 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10107 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10108 -as_cr_digits='0123456789'
10109 -as_cr_alnum=$as_cr_Letters$as_cr_digits
10110 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
10111 +           s//\1/
10112 +           q
10113 +         }
10114 +         /^X\/\(\/\/\)$/{
10115 +           s//\1/
10116 +           q
10117 +         }
10118 +         /^X\/\(\/\).*/{
10119 +           s//\1/
10120 +           q
10121 +         }
10122 +         s/.*/./; q'`
10123  
10124 -# The user is always right.
10125 -if test "${PATH_SEPARATOR+set}" != set; then
10126 -  echo "#! /bin/sh" >conf$$.sh
10127 -  echo  "exit 0"   >>conf$$.sh
10128 -  chmod +x conf$$.sh
10129 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10130 -    PATH_SEPARATOR=';'
10131 -  else
10132 -    PATH_SEPARATOR=:
10133 -  fi
10134 -  rm -f conf$$.sh
10135 -fi
10136 +# CDPATH.
10137 +$as_unset CDPATH
10138  
10139  
10140 -  as_lineno_1=$LINENO
10141 -  as_lineno_2=$LINENO
10142 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10143 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
10144 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10145 -  # Find who we are.  Look in the path if we contain no path at all
10146 -  # relative or not.
10147 -  case $0 in
10148 -    *[\\/]* ) as_myself=$0 ;;
10149 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10150 -for as_dir in $PATH
10151 -do
10152 -  IFS=$as_save_IFS
10153 -  test -z "$as_dir" && as_dir=.
10154 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10155 -done
10156  
10157 -       ;;
10158 -  esac
10159 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
10160 -  # in which case we are not to be found in the path.
10161 -  if test "x$as_myself" = x; then
10162 -    as_myself=$0
10163 -  fi
10164 -  if test ! -f "$as_myself"; then
10165 -    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10166 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10167 -   { (exit 1); exit 1; }; }
10168 -  fi
10169 -  case $CONFIG_SHELL in
10170 -  '')
10171 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10172 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10173 -do
10174 -  IFS=$as_save_IFS
10175 -  test -z "$as_dir" && as_dir=.
10176 -  for as_base in sh bash ksh sh5; do
10177 -        case $as_dir in
10178 -        /*)
10179 -          if ("$as_dir/$as_base" -c '
10180    as_lineno_1=$LINENO
10181    as_lineno_2=$LINENO
10182 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10183    test "x$as_lineno_1" != "x$as_lineno_2" &&
10184 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10185 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10186 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10187 -            CONFIG_SHELL=$as_dir/$as_base
10188 -            export CONFIG_SHELL
10189 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10190 -          fi;;
10191 -        esac
10192 -       done
10193 -done
10194 -;;
10195 -  esac
10196 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10197  
10198    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10199    # uniformly replaced by the line number.  The first 'sed' inserts a
10200 -  # line-number line before each line; the second 'sed' does the real
10201 -  # work.  The second script uses 'N' to pair each line-number line
10202 -  # with the numbered line, and appends trailing '-' during
10203 -  # substitution so that $LINENO is not a special case at line end.
10204 +  # line-number line after each line using $LINENO; the second 'sed'
10205 +  # does the real work.  The second script uses 'N' to pair each
10206 +  # line-number line with the line containing $LINENO, and appends
10207 +  # trailing '-' during substitution so that $LINENO is not a special
10208 +  # case at line end.
10209    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10210 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10211 -  sed '=' <$as_myself |
10212 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
10213 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
10214 +  sed -n '
10215 +    p
10216 +    /[$]LINENO/=
10217 +  ' <$as_myself |
10218      sed '
10219 +      s/[$]LINENO.*/&-/
10220 +      t lineno
10221 +      b
10222 +      :lineno
10223        N
10224 -      s,$,-,
10225 -      : loop
10226 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10227 +      :loop
10228 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10229        t loop
10230 -      s,-$,,
10231 -      s,^['$as_cr_digits']*\n,,
10232 +      s/-\n.*//
10233      ' >$as_me.lineno &&
10234 -  chmod +x $as_me.lineno ||
10235 -    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10236 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10237 +  chmod +x "$as_me.lineno" ||
10238 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10239     { (exit 1); exit 1; }; }
10240  
10241    # Don't try to exec as it changes $[0], causing all sort of problems
10242    # (the dirname of $[0] is not the place where we might find the
10243 -  # original and so on.  Autoconf is especially sensible to this).
10244 -  . ./$as_me.lineno
10245 +  # original and so on.  Autoconf is especially sensitive to this).
10246 +  . "./$as_me.lineno"
10247    # Exit status is that of the last command.
10248    exit
10249  }
10250  
10251  
10252 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10253 -  *c*,-n*) ECHO_N= ECHO_C='
10254 -' ECHO_T='     ' ;;
10255 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10256 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10257 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10258 +  as_dirname=dirname
10259 +else
10260 +  as_dirname=false
10261 +fi
10262 +
10263 +ECHO_C= ECHO_N= ECHO_T=
10264 +case `echo -n x` in
10265 +-n*)
10266 +  case `echo 'x\c'` in
10267 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
10268 +  *)   ECHO_C='\c';;
10269 +  esac;;
10270 +*)
10271 +  ECHO_N='-n';;
10272  esac
10273  
10274 -if expr a : '\(a\)' >/dev/null 2>&1; then
10275 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10276 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10277    as_expr=expr
10278  else
10279    as_expr=false
10280  fi
10281  
10282  rm -f conf$$ conf$$.exe conf$$.file
10283 +if test -d conf$$.dir; then
10284 +  rm -f conf$$.dir/conf$$.file
10285 +else
10286 +  rm -f conf$$.dir
10287 +  mkdir conf$$.dir
10288 +fi
10289  echo >conf$$.file
10290  if ln -s conf$$.file conf$$ 2>/dev/null; then
10291 -  # We could just check for DJGPP; but this test a) works b) is more generic
10292 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10293 -  if test -f conf$$.exe; then
10294 -    # Don't use ln at all; we don't have any links
10295 +  as_ln_s='ln -s'
10296 +  # ... but there are two gotchas:
10297 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10298 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10299 +  # In both cases, we have to default to `cp -p'.
10300 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10301      as_ln_s='cp -p'
10302 -  else
10303 -    as_ln_s='ln -s'
10304 -  fi
10305  elif ln conf$$.file conf$$ 2>/dev/null; then
10306    as_ln_s=ln
10307  else
10308    as_ln_s='cp -p'
10309  fi
10310 -rm -f conf$$ conf$$.exe conf$$.file
10311 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10312 +rmdir conf$$.dir 2>/dev/null
10313  
10314  if mkdir -p . 2>/dev/null; then
10315    as_mkdir_p=:
10316 @@ -9218,7 +9677,28 @@
10317    as_mkdir_p=false
10318  fi
10319  
10320 -as_executable_p="test -f"
10321 +if test -x / >/dev/null 2>&1; then
10322 +  as_test_x='test -x'
10323 +else
10324 +  if ls -dL / >/dev/null 2>&1; then
10325 +    as_ls_L_option=L
10326 +  else
10327 +    as_ls_L_option=
10328 +  fi
10329 +  as_test_x='
10330 +    eval sh -c '\''
10331 +      if test -d "$1"; then
10332 +        test -d "$1/.";
10333 +      else
10334 +       case $1 in
10335 +        -*)set "./$1";;
10336 +       esac;
10337 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10338 +       ???[sx]*):;;*)false;;esac;fi
10339 +    '\'' sh
10340 +  '
10341 +fi
10342 +as_executable_p=$as_test_x
10343  
10344  # Sed expression to map a string onto a valid CPP name.
10345  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10346 @@ -9227,31 +9707,14 @@
10347  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10348  
10349  
10350 -# IFS
10351 -# We need space, tab and new line, in precisely that order.
10352 -as_nl='
10353 -'
10354 -IFS="  $as_nl"
10355 -
10356 -# CDPATH.
10357 -$as_unset CDPATH
10358 -
10359  exec 6>&1
10360  
10361 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
10362 +# Save the log message, to keep $[0] and so on meaningful, and to
10363  # report actual input values of CONFIG_FILES etc. instead of their
10364 -# values after options handling.  Logging --version etc. is OK.
10365 -exec 5>>config.log
10366 -{
10367 -  echo
10368 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10369 -## Running $as_me. ##
10370 -_ASBOX
10371 -} >&5
10372 -cat >&5 <<_CSEOF
10373 -
10374 +# values after options handling.
10375 +ac_log="
10376  This file was extended by $as_me, which was
10377 -generated by GNU Autoconf 2.59.  Invocation command line was
10378 +generated by GNU Autoconf 2.61.  Invocation command line was
10379  
10380    CONFIG_FILES    = $CONFIG_FILES
10381    CONFIG_HEADERS  = $CONFIG_HEADERS
10382 @@ -9259,30 +9722,20 @@
10383    CONFIG_COMMANDS = $CONFIG_COMMANDS
10384    $ $0 $@
10385  
10386 -_CSEOF
10387 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10388 -echo >&5
10389 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
10390 +"
10391 +
10392  _ACEOF
10393  
10394 +cat >>$CONFIG_STATUS <<_ACEOF
10395  # Files that config.status was made for.
10396 -if test -n "$ac_config_files"; then
10397 -  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10398 -fi
10399 +config_files="$ac_config_files"
10400 +config_headers="$ac_config_headers"
10401 +config_commands="$ac_config_commands"
10402  
10403 -if test -n "$ac_config_headers"; then
10404 -  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10405 -fi
10406 -
10407 -if test -n "$ac_config_links"; then
10408 -  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10409 -fi
10410 -
10411 -if test -n "$ac_config_commands"; then
10412 -  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10413 -fi
10414 +_ACEOF
10415  
10416  cat >>$CONFIG_STATUS <<\_ACEOF
10417 -
10418  ac_cs_usage="\
10419  \`$as_me' instantiates files from templates according to the
10420  current configuration.
10421 @@ -9290,7 +9743,7 @@
10422  Usage: $0 [OPTIONS] [FILE]...
10423  
10424    -h, --help       print this help, then exit
10425 -  -V, --version    print version number, then exit
10426 +  -V, --version    print version number and configuration settings, then exit
10427    -q, --quiet      do not print progress messages
10428    -d, --debug      don't remove temporary files
10429        --recheck    update $as_me by reconfiguring in the same conditions
10430 @@ -9309,19 +9762,21 @@
10431  $config_commands
10432  
10433  Report bugs to <bug-autoconf@gnu.org>."
10434 -_ACEOF
10435  
10436 +_ACEOF
10437  cat >>$CONFIG_STATUS <<_ACEOF
10438  ac_cs_version="\\
10439  config.status
10440 -configured by $0, generated by GNU Autoconf 2.59,
10441 -  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10442 +configured by $0, generated by GNU Autoconf 2.61,
10443 +  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10444  
10445 -Copyright (C) 2003 Free Software Foundation, Inc.
10446 +Copyright (C) 2006 Free Software Foundation, Inc.
10447  This config.status script is free software; the Free Software Foundation
10448  gives unlimited permission to copy, distribute and modify it."
10449 -srcdir=$srcdir
10450 -INSTALL="$INSTALL"
10451 +
10452 +ac_pwd='$ac_pwd'
10453 +srcdir='$srcdir'
10454 +INSTALL='$INSTALL'
10455  _ACEOF
10456  
10457  cat >>$CONFIG_STATUS <<\_ACEOF
10458 @@ -9332,39 +9787,24 @@
10459  do
10460    case $1 in
10461    --*=*)
10462 -    ac_option=`expr "x$1" : 'x\([^=]*\)='`
10463 -    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10464 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
10465 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10466      ac_shift=:
10467      ;;
10468 -  -*)
10469 +  *)
10470      ac_option=$1
10471      ac_optarg=$2
10472      ac_shift=shift
10473      ;;
10474 -  *) # This is not an option, so the user has probably given explicit
10475 -     # arguments.
10476 -     ac_option=$1
10477 -     ac_need_defaults=false;;
10478    esac
10479  
10480    case $ac_option in
10481    # Handling of the options.
10482 -_ACEOF
10483 -cat >>$CONFIG_STATUS <<\_ACEOF
10484    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10485      ac_cs_recheck=: ;;
10486 -  --version | --vers* | -V )
10487 -    echo "$ac_cs_version"; exit 0 ;;
10488 -  --he | --h)
10489 -    # Conflict between --help and --header
10490 -    { { echo "$as_me:$LINENO: error: ambiguous option: $1
10491 -Try \`$0 --help' for more information." >&5
10492 -echo "$as_me: error: ambiguous option: $1
10493 -Try \`$0 --help' for more information." >&2;}
10494 -   { (exit 1); exit 1; }; };;
10495 -  --help | --hel | -h )
10496 -    echo "$ac_cs_usage"; exit 0 ;;
10497 -  --debug | --d* | -d )
10498 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10499 +    echo "$ac_cs_version"; exit ;;
10500 +  --debug | --debu | --deb | --de | --d | -d )
10501      debug=: ;;
10502    --file | --fil | --fi | --f )
10503      $ac_shift
10504 @@ -9374,18 +9814,24 @@
10505      $ac_shift
10506      CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10507      ac_need_defaults=false;;
10508 +  --he | --h)
10509 +    # Conflict between --help and --header
10510 +    { echo "$as_me: error: ambiguous option: $1
10511 +Try \`$0 --help' for more information." >&2
10512 +   { (exit 1); exit 1; }; };;
10513 +  --help | --hel | -h )
10514 +    echo "$ac_cs_usage"; exit ;;
10515    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10516    | -silent | --silent | --silen | --sile | --sil | --si | --s)
10517      ac_cs_silent=: ;;
10518  
10519    # This is an error.
10520 -  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10521 -Try \`$0 --help' for more information." >&5
10522 -echo "$as_me: error: unrecognized option: $1
10523 -Try \`$0 --help' for more information." >&2;}
10524 +  -*) { echo "$as_me: error: unrecognized option: $1
10525 +Try \`$0 --help' for more information." >&2
10526     { (exit 1); exit 1; }; } ;;
10527  
10528 -  *) ac_config_targets="$ac_config_targets $1" ;;
10529 +  *) ac_config_targets="$ac_config_targets $1"
10530 +     ac_need_defaults=false ;;
10531  
10532    esac
10533    shift
10534 @@ -9401,17 +9847,28 @@
10535  _ACEOF
10536  cat >>$CONFIG_STATUS <<_ACEOF
10537  if \$ac_cs_recheck; then
10538 -  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10539 -  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10540 +  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10541 +  CONFIG_SHELL=$SHELL
10542 +  export CONFIG_SHELL
10543 +  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10544  fi
10545  
10546  _ACEOF
10547 +cat >>$CONFIG_STATUS <<\_ACEOF
10548 +exec 5>>config.log
10549 +{
10550 +  echo
10551 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10552 +## Running $as_me. ##
10553 +_ASBOX
10554 +  echo "$ac_log"
10555 +} >&5
10556  
10557 +_ACEOF
10558  cat >>$CONFIG_STATUS <<_ACEOF
10559  #
10560 -# INIT-COMMANDS section.
10561 +# INIT-COMMANDS
10562  #
10563 -
10564  srcdir=${srcdir}
10565  host=${host}
10566  target=${target}
10567 @@ -9425,23 +9882,24 @@
10568  
10569  _ACEOF
10570  
10571 -
10572 -
10573  cat >>$CONFIG_STATUS <<\_ACEOF
10574 +
10575 +# Handling of arguments.
10576  for ac_config_target in $ac_config_targets
10577  do
10578 -  case "$ac_config_target" in
10579 -  # Handling of arguments.
10580 -  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10581 -  "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
10582 -  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10583 -  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
10584 +  case $ac_config_target in
10585 +    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
10586 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10587 +    "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
10588 +    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10589 +
10590    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10591  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10592     { (exit 1); exit 1; }; };;
10593    esac
10594  done
10595  
10596 +
10597  # If the user did not use the arguments to specify the items to instantiate,
10598  # then the envvar interface is used.  Set only those that are not.
10599  # We use the long form for the default assignment because of an extremely
10600 @@ -9453,329 +9911,399 @@
10601  fi
10602  
10603  # Have a temporary directory for convenience.  Make it in the build tree
10604 -# simply because there is no reason to put it here, and in addition,
10605 +# simply because there is no reason against having it here, and in addition,
10606  # creating and moving files from /tmp can sometimes cause problems.
10607 -# Create a temporary directory, and hook for its removal unless debugging.
10608 +# Hook for its removal unless debugging.
10609 +# Note that there is a small window in which the directory will not be cleaned:
10610 +# after its creation but before its name has been assigned to `$tmp'.
10611  $debug ||
10612  {
10613 -  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10614 +  tmp=
10615 +  trap 'exit_status=$?
10616 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10617 +' 0
10618    trap '{ (exit 1); exit 1; }' 1 2 13 15
10619  }
10620 -
10621  # Create a (secure) tmp directory for tmp files.
10622  
10623  {
10624 -  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10625 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10626    test -n "$tmp" && test -d "$tmp"
10627  }  ||
10628  {
10629 -  tmp=./confstat$$-$RANDOM
10630 -  (umask 077 && mkdir $tmp)
10631 +  tmp=./conf$$-$RANDOM
10632 +  (umask 077 && mkdir "$tmp")
10633  } ||
10634  {
10635     echo "$me: cannot create a temporary directory in ." >&2
10636     { (exit 1); exit 1; }
10637  }
10638  
10639 -_ACEOF
10640 -
10641 -cat >>$CONFIG_STATUS <<_ACEOF
10642 -
10643  #
10644 -# CONFIG_FILES section.
10645 +# Set up the sed scripts for CONFIG_FILES section.
10646  #
10647  
10648  # No need to generate the scripts if there are no CONFIG_FILES.
10649  # This happens for instance when ./config.status config.h
10650 -if test -n "\$CONFIG_FILES"; then
10651 -  # Protect against being on the right side of a sed subst in config.status.
10652 -  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10653 -   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10654 -s,@SHELL@,$SHELL,;t t
10655 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10656 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10657 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10658 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10659 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10660 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10661 -s,@exec_prefix@,$exec_prefix,;t t
10662 -s,@prefix@,$prefix,;t t
10663 -s,@program_transform_name@,$program_transform_name,;t t
10664 -s,@bindir@,$bindir,;t t
10665 -s,@sbindir@,$sbindir,;t t
10666 -s,@libexecdir@,$libexecdir,;t t
10667 -s,@datadir@,$datadir,;t t
10668 -s,@sysconfdir@,$sysconfdir,;t t
10669 -s,@sharedstatedir@,$sharedstatedir,;t t
10670 -s,@localstatedir@,$localstatedir,;t t
10671 -s,@libdir@,$libdir,;t t
10672 -s,@includedir@,$includedir,;t t
10673 -s,@oldincludedir@,$oldincludedir,;t t
10674 -s,@infodir@,$infodir,;t t
10675 -s,@mandir@,$mandir,;t t
10676 -s,@build_alias@,$build_alias,;t t
10677 -s,@host_alias@,$host_alias,;t t
10678 -s,@target_alias@,$target_alias,;t t
10679 -s,@DEFS@,$DEFS,;t t
10680 -s,@ECHO_C@,$ECHO_C,;t t
10681 -s,@ECHO_N@,$ECHO_N,;t t
10682 -s,@ECHO_T@,$ECHO_T,;t t
10683 -s,@LIBS@,$LIBS,;t t
10684 -s,@libiberty_topdir@,$libiberty_topdir,;t t
10685 -s,@MAINT@,$MAINT,;t t
10686 -s,@NOTMAINT@,$NOTMAINT,;t t
10687 -s,@MAKEINFO@,$MAKEINFO,;t t
10688 -s,@BUILD_INFO@,$BUILD_INFO,;t t
10689 -s,@PERL@,$PERL,;t t
10690 -s,@HAVE_PERL@,$HAVE_PERL,;t t
10691 -s,@build@,$build,;t t
10692 -s,@build_cpu@,$build_cpu,;t t
10693 -s,@build_vendor@,$build_vendor,;t t
10694 -s,@build_os@,$build_os,;t t
10695 -s,@host@,$host,;t t
10696 -s,@host_cpu@,$host_cpu,;t t
10697 -s,@host_vendor@,$host_vendor,;t t
10698 -s,@host_os@,$host_os,;t t
10699 -s,@AR@,$AR,;t t
10700 -s,@ac_ct_AR@,$ac_ct_AR,;t t
10701 -s,@RANLIB@,$RANLIB,;t t
10702 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10703 -s,@CC@,$CC,;t t
10704 -s,@CFLAGS@,$CFLAGS,;t t
10705 -s,@LDFLAGS@,$LDFLAGS,;t t
10706 -s,@CPPFLAGS@,$CPPFLAGS,;t t
10707 -s,@ac_ct_CC@,$ac_ct_CC,;t t
10708 -s,@EXEEXT@,$EXEEXT,;t t
10709 -s,@OBJEXT@,$OBJEXT,;t t
10710 -s,@CPP@,$CPP,;t t
10711 -s,@ac_libiberty_warn_cflags@,$ac_libiberty_warn_cflags,;t t
10712 -s,@NO_MINUS_C_MINUS_O@,$NO_MINUS_C_MINUS_O,;t t
10713 -s,@OUTPUT_OPTION@,$OUTPUT_OPTION,;t t
10714 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10715 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10716 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10717 -s,@EGREP@,$EGREP,;t t
10718 -s,@LIBOBJS@,$LIBOBJS,;t t
10719 -s,@CHECK@,$CHECK,;t t
10720 -s,@target_header_dir@,$target_header_dir,;t t
10721 -s,@pexecute@,$pexecute,;t t
10722 -s,@INSTALL_DEST@,$INSTALL_DEST,;t t
10723 -s,@datarootdir@,$datarootdir,;t t
10724 -s,@docdir@,$docdir,;t t
10725 -s,@htmldir@,$htmldir,;t t
10726 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10727 -/@host_makefile_frag@/r $host_makefile_frag
10728 -s,@host_makefile_frag@,,;t t
10729 -CEOF
10730 -
10731 -_ACEOF
10732 -
10733 -  cat >>$CONFIG_STATUS <<\_ACEOF
10734 -  # Split the substitutions into bite-sized pieces for seds with
10735 -  # small command number limits, like on Digital OSF/1 and HP-UX.
10736 -  ac_max_sed_lines=48
10737 -  ac_sed_frag=1 # Number of current file.
10738 -  ac_beg=1 # First line for current file.
10739 -  ac_end=$ac_max_sed_lines # Line after last line for current file.
10740 -  ac_more_lines=:
10741 -  ac_sed_cmds=
10742 -  while $ac_more_lines; do
10743 -    if test $ac_beg -gt 1; then
10744 -      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10745 -    else
10746 -      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10747 -    fi
10748 -    if test ! -s $tmp/subs.frag; then
10749 -      ac_more_lines=false
10750 -    else
10751 -      # The purpose of the label and of the branching condition is to
10752 -      # speed up the sed processing (if there are no `@' at all, there
10753 -      # is no need to browse any of the substitutions).
10754 -      # These are the two extra sed commands mentioned above.
10755 -      (echo ':t
10756 -  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10757 -      if test -z "$ac_sed_cmds"; then
10758 -       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10759 -      else
10760 -       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10761 -      fi
10762 -      ac_sed_frag=`expr $ac_sed_frag + 1`
10763 -      ac_beg=$ac_end
10764 -      ac_end=`expr $ac_end + $ac_max_sed_lines`
10765 -    fi
10766 -  done
10767 -  if test -z "$ac_sed_cmds"; then
10768 -    ac_sed_cmds=cat
10769 +if test -n "$CONFIG_FILES"; then
10770 +
10771 +_ACEOF
10772 +
10773 +# Create sed commands to just substitute file output variables.
10774 +
10775 +# Remaining file output variables are in a fragment that also has non-file
10776 +# output varibles.
10777 +
10778 +
10779 +
10780 +ac_delim='%!_!# '
10781 +for ac_last_try in false false false false false :; do
10782 +  cat >conf$$subs.sed <<_ACEOF
10783 +SHELL!$SHELL$ac_delim
10784 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10785 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10786 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10787 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10788 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10789 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10790 +exec_prefix!$exec_prefix$ac_delim
10791 +prefix!$prefix$ac_delim
10792 +program_transform_name!$program_transform_name$ac_delim
10793 +bindir!$bindir$ac_delim
10794 +sbindir!$sbindir$ac_delim
10795 +libexecdir!$libexecdir$ac_delim
10796 +datarootdir!$datarootdir$ac_delim
10797 +datadir!$datadir$ac_delim
10798 +sysconfdir!$sysconfdir$ac_delim
10799 +sharedstatedir!$sharedstatedir$ac_delim
10800 +localstatedir!$localstatedir$ac_delim
10801 +includedir!$includedir$ac_delim
10802 +oldincludedir!$oldincludedir$ac_delim
10803 +docdir!$docdir$ac_delim
10804 +infodir!$infodir$ac_delim
10805 +htmldir!$htmldir$ac_delim
10806 +dvidir!$dvidir$ac_delim
10807 +pdfdir!$pdfdir$ac_delim
10808 +psdir!$psdir$ac_delim
10809 +libdir!$libdir$ac_delim
10810 +localedir!$localedir$ac_delim
10811 +mandir!$mandir$ac_delim
10812 +DEFS!$DEFS$ac_delim
10813 +ECHO_C!$ECHO_C$ac_delim
10814 +ECHO_N!$ECHO_N$ac_delim
10815 +ECHO_T!$ECHO_T$ac_delim
10816 +LIBS!$LIBS$ac_delim
10817 +build_alias!$build_alias$ac_delim
10818 +host_alias!$host_alias$ac_delim
10819 +target_alias!$target_alias$ac_delim
10820 +libiberty_topdir!$libiberty_topdir$ac_delim
10821 +MAINT!$MAINT$ac_delim
10822 +NOTMAINT!$NOTMAINT$ac_delim
10823 +MAKEINFO!$MAKEINFO$ac_delim
10824 +BUILD_INFO!$BUILD_INFO$ac_delim
10825 +PERL!$PERL$ac_delim
10826 +HAVE_PERL!$HAVE_PERL$ac_delim
10827 +build!$build$ac_delim
10828 +build_cpu!$build_cpu$ac_delim
10829 +build_vendor!$build_vendor$ac_delim
10830 +build_os!$build_os$ac_delim
10831 +host!$host$ac_delim
10832 +host_cpu!$host_cpu$ac_delim
10833 +host_vendor!$host_vendor$ac_delim
10834 +host_os!$host_os$ac_delim
10835 +AR!$AR$ac_delim
10836 +RANLIB!$RANLIB$ac_delim
10837 +CC!$CC$ac_delim
10838 +CFLAGS!$CFLAGS$ac_delim
10839 +LDFLAGS!$LDFLAGS$ac_delim
10840 +CPPFLAGS!$CPPFLAGS$ac_delim
10841 +ac_ct_CC!$ac_ct_CC$ac_delim
10842 +EXEEXT!$EXEEXT$ac_delim
10843 +OBJEXT!$OBJEXT$ac_delim
10844 +CPP!$CPP$ac_delim
10845 +ac_libiberty_warn_cflags!$ac_libiberty_warn_cflags$ac_delim
10846 +NO_MINUS_C_MINUS_O!$NO_MINUS_C_MINUS_O$ac_delim
10847 +OUTPUT_OPTION!$OUTPUT_OPTION$ac_delim
10848 +GREP!$GREP$ac_delim
10849 +EGREP!$EGREP$ac_delim
10850 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10851 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10852 +INSTALL_DATA!$INSTALL_DATA$ac_delim
10853 +LIBOBJS!$LIBOBJS$ac_delim
10854 +CHECK!$CHECK$ac_delim
10855 +target_header_dir!$target_header_dir$ac_delim
10856 +pexecute!$pexecute$ac_delim
10857 +INSTALL_DEST!$INSTALL_DEST$ac_delim
10858 +LTLIBOBJS!$LTLIBOBJS$ac_delim
10859 +_ACEOF
10860 +
10861 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
10862 +    break
10863 +  elif $ac_last_try; then
10864 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10865 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10866 +   { (exit 1); exit 1; }; }
10867 +  else
10868 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10869    fi
10870 -fi # test -n "$CONFIG_FILES"
10871 +done
10872 +
10873 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10874 +if test -n "$ac_eof"; then
10875 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10876 +  ac_eof=`expr $ac_eof + 1`
10877 +fi
10878  
10879 +cat >>$CONFIG_STATUS <<_ACEOF
10880 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10881 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10882 +/^[     ]*@host_makefile_frag@[         ]*$/{
10883 +r $host_makefile_frag
10884 +d
10885 +}
10886 +_ACEOF
10887 +sed '
10888 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10889 +s/^/s,@/; s/!/@,|#_!!_#|/
10890 +:n
10891 +t n
10892 +s/'"$ac_delim"'$/,g/; t
10893 +s/$/\\/; p
10894 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10895 +' >>$CONFIG_STATUS <conf$$subs.sed
10896 +rm -f conf$$subs.sed
10897 +cat >>$CONFIG_STATUS <<_ACEOF
10898 +:end
10899 +s/|#_!!_#|//g
10900 +CEOF$ac_eof
10901  _ACEOF
10902 +
10903 +
10904 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
10905 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10906 +# trailing colons and then remove the whole line if VPATH becomes empty
10907 +# (actually we leave an empty line to preserve line numbers).
10908 +if test "x$srcdir" = x.; then
10909 +  ac_vpsub='/^[         ]*VPATH[        ]*=/{
10910 +s/:*\$(srcdir):*/:/
10911 +s/:*\${srcdir}:*/:/
10912 +s/:*@srcdir@:*/:/
10913 +s/^\([^=]*=[    ]*\):*/\1/
10914 +s/:*$//
10915 +s/^[^=]*=[      ]*$//
10916 +}'
10917 +fi
10918 +
10919  cat >>$CONFIG_STATUS <<\_ACEOF
10920 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10921 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10922 -  case $ac_file in
10923 -  - | *:- | *:-:* ) # input from stdin
10924 -       cat >$tmp/stdin
10925 -       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10926 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10927 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10928 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10929 -  * )   ac_file_in=$ac_file.in ;;
10930 +fi # test -n "$CONFIG_FILES"
10931 +
10932 +
10933 +for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
10934 +do
10935 +  case $ac_tag in
10936 +  :[FHLC]) ac_mode=$ac_tag; continue;;
10937 +  esac
10938 +  case $ac_mode$ac_tag in
10939 +  :[FHL]*:*);;
10940 +  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10941 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10942 +   { (exit 1); exit 1; }; };;
10943 +  :[FH]-) ac_tag=-:-;;
10944 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10945 +  esac
10946 +  ac_save_IFS=$IFS
10947 +  IFS=:
10948 +  set x $ac_tag
10949 +  IFS=$ac_save_IFS
10950 +  shift
10951 +  ac_file=$1
10952 +  shift
10953 +
10954 +  case $ac_mode in
10955 +  :L) ac_source=$1;;
10956 +  :[FH])
10957 +    ac_file_inputs=
10958 +    for ac_f
10959 +    do
10960 +      case $ac_f in
10961 +      -) ac_f="$tmp/stdin";;
10962 +      *) # Look for the file first in the build tree, then in the source tree
10963 +        # (if the path is not absolute).  The absolute path cannot be DOS-style,
10964 +        # because $ac_f cannot contain `:'.
10965 +        test -f "$ac_f" ||
10966 +          case $ac_f in
10967 +          [\\/$]*) false;;
10968 +          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10969 +          esac ||
10970 +          { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10971 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10972 +   { (exit 1); exit 1; }; };;
10973 +      esac
10974 +      ac_file_inputs="$ac_file_inputs $ac_f"
10975 +    done
10976 +
10977 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
10978 +    # use $as_me), people would be surprised to read:
10979 +    #    /* config.h.  Generated by config.status.  */
10980 +    configure_input="Generated from "`IFS=:
10981 +         echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10982 +    if test x"$ac_file" != x-; then
10983 +      configure_input="$ac_file.  $configure_input"
10984 +      { echo "$as_me:$LINENO: creating $ac_file" >&5
10985 +echo "$as_me: creating $ac_file" >&6;}
10986 +    fi
10987 +
10988 +    case $ac_tag in
10989 +    *:-:* | *:-) cat >"$tmp/stdin";;
10990 +    esac
10991 +    ;;
10992    esac
10993  
10994 -  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10995 -  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10996 +  ac_dir=`$as_dirname -- "$ac_file" ||
10997  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10998          X"$ac_file" : 'X\(//\)[^/]' \| \
10999          X"$ac_file" : 'X\(//\)$' \| \
11000 -        X"$ac_file" : 'X\(/\)' \| \
11001 -        .     : '\(.\)' 2>/dev/null ||
11002 +        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11003  echo X"$ac_file" |
11004 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11005 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11006 -         /^X\(\/\/\)$/{ s//\1/; q; }
11007 -         /^X\(\/\).*/{ s//\1/; q; }
11008 -         s/.*/./; q'`
11009 -  { if $as_mkdir_p; then
11010 -    mkdir -p "$ac_dir"
11011 -  else
11012 -    as_dir="$ac_dir"
11013 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11014 +           s//\1/
11015 +           q
11016 +         }
11017 +         /^X\(\/\/\)[^/].*/{
11018 +           s//\1/
11019 +           q
11020 +         }
11021 +         /^X\(\/\/\)$/{
11022 +           s//\1/
11023 +           q
11024 +         }
11025 +         /^X\(\/\).*/{
11026 +           s//\1/
11027 +           q
11028 +         }
11029 +         s/.*/./; q'`
11030 +  { as_dir="$ac_dir"
11031 +  case $as_dir in #(
11032 +  -*) as_dir=./$as_dir;;
11033 +  esac
11034 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11035      as_dirs=
11036 -    while test ! -d "$as_dir"; do
11037 -      as_dirs="$as_dir $as_dirs"
11038 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11039 +    while :; do
11040 +      case $as_dir in #(
11041 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11042 +      *) as_qdir=$as_dir;;
11043 +      esac
11044 +      as_dirs="'$as_qdir' $as_dirs"
11045 +      as_dir=`$as_dirname -- "$as_dir" ||
11046  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11047          X"$as_dir" : 'X\(//\)[^/]' \| \
11048          X"$as_dir" : 'X\(//\)$' \| \
11049 -        X"$as_dir" : 'X\(/\)' \| \
11050 -        .     : '\(.\)' 2>/dev/null ||
11051 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11052  echo X"$as_dir" |
11053 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11054 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11055 -         /^X\(\/\/\)$/{ s//\1/; q; }
11056 -         /^X\(\/\).*/{ s//\1/; q; }
11057 -         s/.*/./; q'`
11058 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11059 +           s//\1/
11060 +           q
11061 +         }
11062 +         /^X\(\/\/\)[^/].*/{
11063 +           s//\1/
11064 +           q
11065 +         }
11066 +         /^X\(\/\/\)$/{
11067 +           s//\1/
11068 +           q
11069 +         }
11070 +         /^X\(\/\).*/{
11071 +           s//\1/
11072 +           q
11073 +         }
11074 +         s/.*/./; q'`
11075 +      test -d "$as_dir" && break
11076      done
11077 -    test ! -n "$as_dirs" || mkdir $as_dirs
11078 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11079 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11080 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
11081 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11082 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
11083     { (exit 1); exit 1; }; }; }
11084 -
11085    ac_builddir=.
11086  
11087 -if test "$ac_dir" != .; then
11088 +case "$ac_dir" in
11089 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11090 +*)
11091    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11092 -  # A "../" for each directory in $ac_dir_suffix.
11093 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11094 -else
11095 -  ac_dir_suffix= ac_top_builddir=
11096 -fi
11097 +  # A ".." for each directory in $ac_dir_suffix.
11098 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11099 +  case $ac_top_builddir_sub in
11100 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11101 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11102 +  esac ;;
11103 +esac
11104 +ac_abs_top_builddir=$ac_pwd
11105 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11106 +# for backward compatibility:
11107 +ac_top_builddir=$ac_top_build_prefix
11108  
11109  case $srcdir in
11110 -  .)  # No --srcdir option.  We are building in place.
11111 +  .)  # We are building in place.
11112      ac_srcdir=.
11113 -    if test -z "$ac_top_builddir"; then
11114 -       ac_top_srcdir=.
11115 -    else
11116 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11117 -    fi ;;
11118 -  [\\/]* | ?:[\\/]* )  # Absolute path.
11119 +    ac_top_srcdir=$ac_top_builddir_sub
11120 +    ac_abs_top_srcdir=$ac_pwd ;;
11121 +  [\\/]* | ?:[\\/]* )  # Absolute name.
11122      ac_srcdir=$srcdir$ac_dir_suffix;
11123 -    ac_top_srcdir=$srcdir ;;
11124 -  *) # Relative path.
11125 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11126 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11127 -esac
11128 +    ac_top_srcdir=$srcdir
11129 +    ac_abs_top_srcdir=$srcdir ;;
11130 +  *) # Relative name.
11131 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11132 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
11133 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11134 +esac
11135 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11136  
11137 -# Do not use `cd foo && pwd` to compute absolute paths, because
11138 -# the directories may not exist.
11139 -case `pwd` in
11140 -.) ac_abs_builddir="$ac_dir";;
11141 -*)
11142 -  case "$ac_dir" in
11143 -  .) ac_abs_builddir=`pwd`;;
11144 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11145 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11146 -  esac;;
11147 -esac
11148 -case $ac_abs_builddir in
11149 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11150 -*)
11151 -  case ${ac_top_builddir}. in
11152 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
11153 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11154 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11155 -  esac;;
11156 -esac
11157 -case $ac_abs_builddir in
11158 -.) ac_abs_srcdir=$ac_srcdir;;
11159 -*)
11160 -  case $ac_srcdir in
11161 -  .) ac_abs_srcdir=$ac_abs_builddir;;
11162 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11163 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11164 -  esac;;
11165 -esac
11166 -case $ac_abs_builddir in
11167 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11168 -*)
11169 -  case $ac_top_srcdir in
11170 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11171 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11172 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11173 -  esac;;
11174 -esac
11175  
11176 +  case $ac_mode in
11177 +  :F)
11178 +  #
11179 +  # CONFIG_FILE
11180 +  #
11181  
11182    case $INSTALL in
11183    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11184 -  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11185 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11186    esac
11187 +_ACEOF
11188  
11189 -  if test x"$ac_file" != x-; then
11190 -    { echo "$as_me:$LINENO: creating $ac_file" >&5
11191 -echo "$as_me: creating $ac_file" >&6;}
11192 -    rm -f "$ac_file"
11193 -  fi
11194 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
11195 -  # use $as_me), people would be surprised to read:
11196 -  #    /* config.h.  Generated by config.status.  */
11197 -  if test x"$ac_file" = x-; then
11198 -    configure_input=
11199 -  else
11200 -    configure_input="$ac_file.  "
11201 -  fi
11202 -  configure_input=$configure_input"Generated from `echo $ac_file_in |
11203 -                                    sed 's,.*/,,'` by configure."
11204 -
11205 -  # First look for the input files in the build tree, otherwise in the
11206 -  # src tree.
11207 -  ac_file_inputs=`IFS=:
11208 -    for f in $ac_file_in; do
11209 -      case $f in
11210 -      -) echo $tmp/stdin ;;
11211 -      [\\/$]*)
11212 -        # Absolute (can't be DOS-style, as IFS=:)
11213 -        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11214 -echo "$as_me: error: cannot find input file: $f" >&2;}
11215 -   { (exit 1); exit 1; }; }
11216 -        echo "$f";;
11217 -      *) # Relative
11218 -        if test -f "$f"; then
11219 -          # Build tree
11220 -          echo "$f"
11221 -        elif test -f "$srcdir/$f"; then
11222 -          # Source tree
11223 -          echo "$srcdir/$f"
11224 -        else
11225 -          # /dev/null tree
11226 -          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11227 -echo "$as_me: error: cannot find input file: $f" >&2;}
11228 -   { (exit 1); exit 1; }; }
11229 -        fi;;
11230 -      esac
11231 -    done` || { (exit 1); exit 1; }
11232 +cat >>$CONFIG_STATUS <<\_ACEOF
11233 +# If the template does not know about datarootdir, expand it.
11234 +# FIXME: This hack should be removed a few years after 2.60.
11235 +ac_datarootdir_hack=; ac_datarootdir_seen=
11236 +
11237 +case `sed -n '/datarootdir/ {
11238 +  p
11239 +  q
11240 +}
11241 +/@datadir@/p
11242 +/@docdir@/p
11243 +/@infodir@/p
11244 +/@localedir@/p
11245 +/@mandir@/p
11246 +' $ac_file_inputs` in
11247 +*datarootdir*) ac_datarootdir_seen=yes;;
11248 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11249 +  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11250 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11251 +_ACEOF
11252 +cat >>$CONFIG_STATUS <<_ACEOF
11253 +  ac_datarootdir_hack='
11254 +  s&@datadir@&$datadir&g
11255 +  s&@docdir@&$docdir&g
11256 +  s&@infodir@&$infodir&g
11257 +  s&@localedir@&$localedir&g
11258 +  s&@mandir@&$mandir&g
11259 +    s&\\\${datarootdir}&$datarootdir&g' ;;
11260 +esac
11261  _ACEOF
11262 +
11263 +# Neutralize VPATH when `$srcdir' = `.'.
11264 +# Shell code in configure.ac might set extrasub.
11265 +# FIXME: do we really want to maintain this feature?
11266  cat >>$CONFIG_STATUS <<_ACEOF
11267    sed "$ac_vpsub
11268  $extrasub
11269 @@ -9783,365 +10311,140 @@
11270  cat >>$CONFIG_STATUS <<\_ACEOF
11271  :t
11272  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11273 -s,@configure_input@,$configure_input,;t t
11274 -s,@srcdir@,$ac_srcdir,;t t
11275 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
11276 -s,@top_srcdir@,$ac_top_srcdir,;t t
11277 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11278 -s,@builddir@,$ac_builddir,;t t
11279 -s,@abs_builddir@,$ac_abs_builddir,;t t
11280 -s,@top_builddir@,$ac_top_builddir,;t t
11281 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11282 -s,@INSTALL@,$ac_INSTALL,;t t
11283 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11284 -  rm -f $tmp/stdin
11285 -  if test x"$ac_file" != x-; then
11286 -    mv $tmp/out $ac_file
11287 -  else
11288 -    cat $tmp/out
11289 -    rm -f $tmp/out
11290 -  fi
11291 -
11292 -done
11293 -_ACEOF
11294 -cat >>$CONFIG_STATUS <<\_ACEOF
11295 +s&@configure_input@&$configure_input&;t t
11296 +s&@top_builddir@&$ac_top_builddir_sub&;t t
11297 +s&@srcdir@&$ac_srcdir&;t t
11298 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
11299 +s&@top_srcdir@&$ac_top_srcdir&;t t
11300 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11301 +s&@builddir@&$ac_builddir&;t t
11302 +s&@abs_builddir@&$ac_abs_builddir&;t t
11303 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11304 +s&@INSTALL@&$ac_INSTALL&;t t
11305 +$ac_datarootdir_hack
11306 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
11307 +
11308 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11309 +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11310 +  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11311 +  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11312 +which seems to be undefined.  Please make sure it is defined." >&5
11313 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11314 +which seems to be undefined.  Please make sure it is defined." >&2;}
11315  
11316 -#
11317 -# CONFIG_HEADER section.
11318 -#
11319 -
11320 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11321 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
11322 -#
11323 -# ac_d sets the value in "#define NAME VALUE" lines.
11324 -ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
11325 -ac_dB='[        ].*$,\1#\2'
11326 -ac_dC=' '
11327 -ac_dD=',;t'
11328 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11329 -ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11330 -ac_uB='$,\1#\2define\3'
11331 -ac_uC=' '
11332 -ac_uD=',;t'
11333 -
11334 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11335 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11336 +  rm -f "$tmp/stdin"
11337    case $ac_file in
11338 -  - | *:- | *:-:* ) # input from stdin
11339 -       cat >$tmp/stdin
11340 -       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11341 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11342 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11343 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11344 -  * )   ac_file_in=$ac_file.in ;;
11345 +  -) cat "$tmp/out"; rm -f "$tmp/out";;
11346 +  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11347    esac
11348 + ;;
11349 +  :H)
11350 +  #
11351 +  # CONFIG_HEADER
11352 +  #
11353 +_ACEOF
11354 +
11355 +# Transform confdefs.h into a sed script `conftest.defines', that
11356 +# substitutes the proper values into config.h.in to produce config.h.
11357 +rm -f conftest.defines conftest.tail
11358 +# First, append a space to every undef/define line, to ease matching.
11359 +echo 's/$/ /' >conftest.defines
11360 +# Then, protect against being on the right side of a sed subst, or in
11361 +# an unquoted here document, in config.status.  If some macros were
11362 +# called several times there might be several #defines for the same
11363 +# symbol, which is useless.  But do not sort them, since the last
11364 +# AC_DEFINE must be honored.
11365 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11366 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11367 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
11368 +# PARAMS is the parameter list in the macro definition--in most cases, it's
11369 +# just an empty string.
11370 +ac_dA='s,^\\([  #]*\\)[^        ]*\\([  ]*'
11371 +ac_dB='\\)[     (].*,\\1define\\2'
11372 +ac_dC=' '
11373 +ac_dD=' ,'
11374  
11375 -  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11376 -echo "$as_me: creating $ac_file" >&6;}
11377 -
11378 -  # First look for the input files in the build tree, otherwise in the
11379 -  # src tree.
11380 -  ac_file_inputs=`IFS=:
11381 -    for f in $ac_file_in; do
11382 -      case $f in
11383 -      -) echo $tmp/stdin ;;
11384 -      [\\/$]*)
11385 -        # Absolute (can't be DOS-style, as IFS=:)
11386 -        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11387 -echo "$as_me: error: cannot find input file: $f" >&2;}
11388 -   { (exit 1); exit 1; }; }
11389 -        # Do quote $f, to prevent DOS paths from being IFS'd.
11390 -        echo "$f";;
11391 -      *) # Relative
11392 -        if test -f "$f"; then
11393 -          # Build tree
11394 -          echo "$f"
11395 -        elif test -f "$srcdir/$f"; then
11396 -          # Source tree
11397 -          echo "$srcdir/$f"
11398 -        else
11399 -          # /dev/null tree
11400 -          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11401 -echo "$as_me: error: cannot find input file: $f" >&2;}
11402 -   { (exit 1); exit 1; }; }
11403 -        fi;;
11404 -      esac
11405 -    done` || { (exit 1); exit 1; }
11406 -  # Remove the trailing spaces.
11407 -  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
11408 -
11409 -_ACEOF
11410 -
11411 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
11412 -# `conftest.undefs', that substitutes the proper values into
11413 -# config.h.in to produce config.h.  The first handles `#define'
11414 -# templates, and the second `#undef' templates.
11415 -# And first: Protect against being on the right side of a sed subst in
11416 -# config.status.  Protect against being in an unquoted here document
11417 -# in config.status.
11418 -rm -f conftest.defines conftest.undefs
11419 -# Using a here document instead of a string reduces the quoting nightmare.
11420 -# Putting comments in sed scripts is not portable.
11421 -#
11422 -# `end' is used to avoid that the second main sed command (meant for
11423 -# 0-ary CPP macros) applies to n-ary macro definitions.
11424 -# See the Autoconf documentation for `clear'.
11425 -cat >confdef2sed.sed <<\_ACEOF
11426 -s/[\\&,]/\\&/g
11427 -s,[\\$`],\\&,g
11428 -t clear
11429 -: clear
11430 -s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11431 -t end
11432 -s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11433 -: end
11434 -_ACEOF
11435 -# If some macros were called several times there might be several times
11436 -# the same #defines, which is useless.  Nevertheless, we may not want to
11437 -# sort them, since we want the *last* AC-DEFINE to be honored.
11438 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11439 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11440 -rm -f confdef2sed.sed
11441 +uniq confdefs.h |
11442 +  sed -n '
11443 +       t rset
11444 +       :rset
11445 +       s/^[     ]*#[    ]*define[       ][      ]*//
11446 +       t ok
11447 +       d
11448 +       :ok
11449 +       s/[\\&,]/\\&/g
11450 +       s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11451 +       s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11452 +  ' >>conftest.defines
11453  
11454 -# This sed command replaces #undef with comments.  This is necessary, for
11455 +# Remove the space that was appended to ease matching.
11456 +# Then replace #undef with comments.  This is necessary, for
11457  # example, in the case of _POSIX_SOURCE, which is predefined and required
11458  # on some systems where configure will not decide to define it.
11459 -cat >>conftest.undefs <<\_ACEOF
11460 -s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11461 +# (The regexp can be short, since the line contains either #define or #undef.)
11462 +echo 's/ $//
11463 +s,^[    #]*u.*,/* & */,' >>conftest.defines
11464 +
11465 +# Break up conftest.defines:
11466 +ac_max_sed_lines=50
11467 +
11468 +# First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11469 +# Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11470 +# Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11471 +# et cetera.
11472 +ac_in='$ac_file_inputs'
11473 +ac_out='"$tmp/out1"'
11474 +ac_nxt='"$tmp/out2"'
11475 +
11476 +while :
11477 +do
11478 +  # Write a here document:
11479 +    cat >>$CONFIG_STATUS <<_ACEOF
11480 +    # First, check the format of the line:
11481 +    cat >"\$tmp/defines.sed" <<\\CEOF
11482 +/^[     ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
11483 +/^[     ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
11484 +b
11485 +:def
11486  _ACEOF
11487 -
11488 -# Break up conftest.defines because some shells have a limit on the size
11489 -# of here documents, and old seds have small limits too (100 cmds).
11490 -echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11491 -echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11492 -echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11493 -echo '  :' >>$CONFIG_STATUS
11494 -rm -f conftest.tail
11495 -while grep . conftest.defines >/dev/null
11496 -do
11497 -  # Write a limited-size here document to $tmp/defines.sed.
11498 -  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11499 -  # Speed up: don't consider the non `#define' lines.
11500 -  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
11501 -  # Work around the forget-to-reset-the-flag bug.
11502 -  echo 't clr' >>$CONFIG_STATUS
11503 -  echo ': clr' >>$CONFIG_STATUS
11504 -  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11505 +  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11506    echo 'CEOF
11507 -  sed -f $tmp/defines.sed $tmp/in >$tmp/out
11508 -  rm -f $tmp/in
11509 -  mv $tmp/out $tmp/in
11510 -' >>$CONFIG_STATUS
11511 -  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11512 +    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11513 +  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11514 +  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11515 +  grep . conftest.tail >/dev/null || break
11516    rm -f conftest.defines
11517    mv conftest.tail conftest.defines
11518  done
11519 -rm -f conftest.defines
11520 -echo '  fi # grep' >>$CONFIG_STATUS
11521 -echo >>$CONFIG_STATUS
11522 -
11523 -# Break up conftest.undefs because some shells have a limit on the size
11524 -# of here documents, and old seds have small limits too (100 cmds).
11525 -echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
11526 -rm -f conftest.tail
11527 -while grep . conftest.undefs >/dev/null
11528 -do
11529 -  # Write a limited-size here document to $tmp/undefs.sed.
11530 -  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11531 -  # Speed up: don't consider the non `#undef'
11532 -  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11533 -  # Work around the forget-to-reset-the-flag bug.
11534 -  echo 't clr' >>$CONFIG_STATUS
11535 -  echo ': clr' >>$CONFIG_STATUS
11536 -  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11537 -  echo 'CEOF
11538 -  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11539 -  rm -f $tmp/in
11540 -  mv $tmp/out $tmp/in
11541 -' >>$CONFIG_STATUS
11542 -  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11543 -  rm -f conftest.undefs
11544 -  mv conftest.tail conftest.undefs
11545 -done
11546 -rm -f conftest.undefs
11547 +rm -f conftest.defines conftest.tail
11548  
11549 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
11550  cat >>$CONFIG_STATUS <<\_ACEOF
11551 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
11552 -  # use $as_me), people would be surprised to read:
11553 -  #    /* config.h.  Generated by config.status.  */
11554 -  if test x"$ac_file" = x-; then
11555 -    echo "/* Generated by configure.  */" >$tmp/config.h
11556 -  else
11557 -    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11558 -  fi
11559 -  cat $tmp/in >>$tmp/config.h
11560 -  rm -f $tmp/in
11561    if test x"$ac_file" != x-; then
11562 -    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11563 +    echo "/* $configure_input  */" >"$tmp/config.h"
11564 +    cat "$ac_result" >>"$tmp/config.h"
11565 +    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11566        { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11567  echo "$as_me: $ac_file is unchanged" >&6;}
11568      else
11569 -      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11570 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11571 -        X"$ac_file" : 'X\(//\)[^/]' \| \
11572 -        X"$ac_file" : 'X\(//\)$' \| \
11573 -        X"$ac_file" : 'X\(/\)' \| \
11574 -        .     : '\(.\)' 2>/dev/null ||
11575 -echo X"$ac_file" |
11576 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11577 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11578 -         /^X\(\/\/\)$/{ s//\1/; q; }
11579 -         /^X\(\/\).*/{ s//\1/; q; }
11580 -         s/.*/./; q'`
11581 -      { if $as_mkdir_p; then
11582 -    mkdir -p "$ac_dir"
11583 -  else
11584 -    as_dir="$ac_dir"
11585 -    as_dirs=
11586 -    while test ! -d "$as_dir"; do
11587 -      as_dirs="$as_dir $as_dirs"
11588 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11589 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11590 -        X"$as_dir" : 'X\(//\)[^/]' \| \
11591 -        X"$as_dir" : 'X\(//\)$' \| \
11592 -        X"$as_dir" : 'X\(/\)' \| \
11593 -        .     : '\(.\)' 2>/dev/null ||
11594 -echo X"$as_dir" |
11595 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11596 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11597 -         /^X\(\/\/\)$/{ s//\1/; q; }
11598 -         /^X\(\/\).*/{ s//\1/; q; }
11599 -         s/.*/./; q'`
11600 -    done
11601 -    test ! -n "$as_dirs" || mkdir $as_dirs
11602 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11603 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11604 -   { (exit 1); exit 1; }; }; }
11605 -
11606        rm -f $ac_file
11607 -      mv $tmp/config.h $ac_file
11608 +      mv "$tmp/config.h" $ac_file
11609      fi
11610    else
11611 -    cat $tmp/config.h
11612 -    rm -f $tmp/config.h
11613 +    echo "/* $configure_input  */"
11614 +    cat "$ac_result"
11615    fi
11616 -done
11617 -_ACEOF
11618 -cat >>$CONFIG_STATUS <<\_ACEOF
11619 -
11620 -#
11621 -# CONFIG_COMMANDS section.
11622 -#
11623 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11624 -  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11625 -  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11626 -  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11627 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11628 -        X"$ac_dest" : 'X\(//\)[^/]' \| \
11629 -        X"$ac_dest" : 'X\(//\)$' \| \
11630 -        X"$ac_dest" : 'X\(/\)' \| \
11631 -        .     : '\(.\)' 2>/dev/null ||
11632 -echo X"$ac_dest" |
11633 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11634 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11635 -         /^X\(\/\/\)$/{ s//\1/; q; }
11636 -         /^X\(\/\).*/{ s//\1/; q; }
11637 -         s/.*/./; q'`
11638 -  { if $as_mkdir_p; then
11639 -    mkdir -p "$ac_dir"
11640 -  else
11641 -    as_dir="$ac_dir"
11642 -    as_dirs=
11643 -    while test ! -d "$as_dir"; do
11644 -      as_dirs="$as_dir $as_dirs"
11645 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11646 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11647 -        X"$as_dir" : 'X\(//\)[^/]' \| \
11648 -        X"$as_dir" : 'X\(//\)$' \| \
11649 -        X"$as_dir" : 'X\(/\)' \| \
11650 -        .     : '\(.\)' 2>/dev/null ||
11651 -echo X"$as_dir" |
11652 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11653 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11654 -         /^X\(\/\/\)$/{ s//\1/; q; }
11655 -         /^X\(\/\).*/{ s//\1/; q; }
11656 -         s/.*/./; q'`
11657 -    done
11658 -    test ! -n "$as_dirs" || mkdir $as_dirs
11659 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11660 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11661 -   { (exit 1); exit 1; }; }; }
11662 -
11663 -  ac_builddir=.
11664 -
11665 -if test "$ac_dir" != .; then
11666 -  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11667 -  # A "../" for each directory in $ac_dir_suffix.
11668 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11669 -else
11670 -  ac_dir_suffix= ac_top_builddir=
11671 -fi
11672 -
11673 -case $srcdir in
11674 -  .)  # No --srcdir option.  We are building in place.
11675 -    ac_srcdir=.
11676 -    if test -z "$ac_top_builddir"; then
11677 -       ac_top_srcdir=.
11678 -    else
11679 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11680 -    fi ;;
11681 -  [\\/]* | ?:[\\/]* )  # Absolute path.
11682 -    ac_srcdir=$srcdir$ac_dir_suffix;
11683 -    ac_top_srcdir=$srcdir ;;
11684 -  *) # Relative path.
11685 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11686 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11687 -esac
11688 +  rm -f "$tmp/out12"
11689 + ;;
11690  
11691 -# Do not use `cd foo && pwd` to compute absolute paths, because
11692 -# the directories may not exist.
11693 -case `pwd` in
11694 -.) ac_abs_builddir="$ac_dir";;
11695 -*)
11696 -  case "$ac_dir" in
11697 -  .) ac_abs_builddir=`pwd`;;
11698 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11699 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11700 -  esac;;
11701 -esac
11702 -case $ac_abs_builddir in
11703 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11704 -*)
11705 -  case ${ac_top_builddir}. in
11706 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
11707 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11708 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11709 -  esac;;
11710 -esac
11711 -case $ac_abs_builddir in
11712 -.) ac_abs_srcdir=$ac_srcdir;;
11713 -*)
11714 -  case $ac_srcdir in
11715 -  .) ac_abs_srcdir=$ac_abs_builddir;;
11716 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11717 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11718 -  esac;;
11719 -esac
11720 -case $ac_abs_builddir in
11721 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11722 -*)
11723 -  case $ac_top_srcdir in
11724 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11725 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11726 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11727 -  esac;;
11728 -esac
11729 +  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11730 +echo "$as_me: executing $ac_file commands" >&6;}
11731 + ;;
11732 +  esac
11733  
11734  
11735 -  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11736 -echo "$as_me: executing $ac_dest commands" >&6;}
11737 -  case $ac_dest in
11738 -    default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
11739 +  case $ac_file$ac_mode in
11740 +    "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
11741  if test -n "$CONFIG_FILES"; then
11742    if test -n "${with_target_subdir}"; then
11743      # FIXME: We shouldn't need to set ac_file
11744 @@ -10150,11 +10453,10 @@
11745      . ${libiberty_topdir}/config-ml.in
11746    fi
11747  fi ;;
11748 +
11749    esac
11750 -done
11751 -_ACEOF
11752 +done # for ac_tag
11753  
11754 -cat >>$CONFIG_STATUS <<\_ACEOF
11755  
11756  { (exit 0); exit 0; }
11757  _ACEOF
11758 diff -urN gcc-4.2.1-orig/libiberty/configure.ac gcc-4.2.1/libiberty/configure.ac
11759 --- gcc-4.2.1-orig/libiberty/configure.ac       2006-08-30 08:46:50.000000000 -0500
11760 +++ gcc-4.2.1/libiberty/configure.ac    2007-07-29 16:34:26.000000000 -0500
11761 @@ -544,6 +544,11 @@
11762  
11763      setobjs=yes
11764      ;;
11765 +    
11766 +  *-*-polintos*)
11767 +    # PolIntOS has nothing yet
11768 +    setobjs=yes
11769 +    ;;
11770  
11771    esac
11772  fi
11773 diff -urN gcc-4.2.1-orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
11774 --- gcc-4.2.1-orig/libstdc++-v3/configure       2007-06-28 18:02:05.000000000 -0500
11775 +++ gcc-4.2.1/libstdc++-v3/configure    2007-07-29 16:34:26.000000000 -0500
11776 @@ -108514,6 +108514,8 @@
11777  _ACEOF
11778  
11779      ;;
11780 +  *-polintos*)
11781 +   ;;
11782    *)
11783      { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
11784  echo "$as_me: error: No support for this host/target combination." >&2;}
11785 diff -urN gcc-4.2.1-orig/libstdc++-v3/crossconfig.m4 gcc-4.2.1/libstdc++-v3/crossconfig.m4
11786 --- gcc-4.2.1-orig/libstdc++-v3/crossconfig.m4  2007-01-06 16:38:41.000000000 -0600
11787 +++ gcc-4.2.1/libstdc++-v3/crossconfig.m4       2007-07-29 16:34:26.000000000 -0500
11788 @@ -411,6 +411,8 @@
11789      AC_DEFINE(HAVE_TANHF)
11790      AC_DEFINE(HAVE_TANHL)
11791      ;;
11792 +  *-polintos*)
11793 +   ;;
11794    *)
11795      AC_MSG_ERROR([No support for this host/target combination.])
11796     ;;
11797 diff -urN gcc-4.2.1-orig/Makefile.def gcc-4.2.1/Makefile.def
11798 --- gcc-4.2.1-orig/Makefile.def 2006-12-29 11:47:06.000000000 -0600
11799 +++ gcc-4.2.1/Makefile.def      2007-08-04 20:02:26.000000000 -0500
11800 @@ -468,7 +468,7 @@
11801  dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
11802  dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
11803  dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
11804 -dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
11805 +dependencies = { module=all-target-libstdc++-v3; on=configure-target-libiberty; };
11806  
11807  // Target libraries installed under gcc need to be installed before gcc
11808  dependencies = { module=install-target-libssp; on=install-gcc; };
11809 diff -urN gcc-4.2.1-orig/Makefile.in gcc-4.2.1/Makefile.in
11810 --- gcc-4.2.1-orig/Makefile.in  2006-12-29 11:47:06.000000000 -0600
11811 +++ gcc-4.2.1/Makefile.in       2007-08-04 20:02:31.000000000 -0500
11812 @@ -43788,7 +43788,7 @@
11813  configure-target-libobjc: maybe-configure-target-boehm-gc
11814  all-target-libobjc: maybe-all-target-libiberty
11815  all-target-libobjc: maybe-all-target-boehm-gc
11816 -all-target-libstdc++-v3: maybe-all-target-libiberty
11817 +all-target-libstdc++-v3: maybe-configure-target-libiberty
11818  install-target-libssp: maybe-install-gcc
11819  install-target-libgomp: maybe-install-gcc
11820  all-target-libgloss: maybe-configure-target-newlib