prepare upload
[packages/xinetd.git] / debian / patches / 0005-Update-build-system.patch
1 From 90bbe2b36449257e62b4bbabc200affadca168d8 Mon Sep 17 00:00:00 2001
2 From: Pierre Habouzit <madcoder@debian.org>
3 Date: Mon, 26 Nov 2007 16:03:37 +0100
4 Subject: [PATCH] Update build system.
5
6 Signed-off-by: Pierre Habouzit <madcoder@debian.org>
7 ---
8  config.guess |  863 ++++---
9  config.sub   |  379 ++-
10  configure    | 8575 +++++++++++++++++++++++++++++-----------------------------
11  3 files changed, 5116 insertions(+), 4701 deletions(-)
12
13 diff --git a/config.guess b/config.guess
14 index ed2e03b..278f9e9 100755
15 --- a/config.guess
16 +++ b/config.guess
17 @@ -1,9 +1,10 @@
18  #! /bin/sh
19  # Attempt to guess a canonical system name.
20  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
21 -#   2000, 2001, 2002 Free Software Foundation, Inc.
22 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
23 +#   Inc.
24  
25 -timestamp='2002-03-20'
26 +timestamp='2007-07-22'
27  
28  # This file is free software; you can redistribute it and/or modify it
29  # under the terms of the GNU General Public License as published by
30 @@ -17,13 +18,15 @@ timestamp='2002-03-20'
31  #
32  # You should have received a copy of the GNU General Public License
33  # along with this program; if not, write to the Free Software
34 -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
35 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
36 +# 02110-1301, USA.
37  #
38  # As a special exception to the GNU General Public License, if you
39  # distribute this file as part of a program that contains a
40  # configuration script generated by Autoconf, you may include it under
41  # the same distribution terms that you use for the rest of that program.
42  
43 +
44  # Originally written by Per Bothner <per@bothner.com>.
45  # Please send patches to <config-patches@gnu.org>.  Submit a context
46  # diff and a properly formatted ChangeLog entry.
47 @@ -53,7 +56,7 @@ version="\
48  GNU config.guess ($timestamp)
49  
50  Originally written by Per Bothner.
51 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
52 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
53  Free Software Foundation, Inc.
54  
55  This is free software; see the source for copying conditions.  There is NO
56 @@ -66,11 +69,11 @@ Try \`$me --help' for more information."
57  while test $# -gt 0 ; do
58    case $1 in
59      --time-stamp | --time* | -t )
60 -       echo "$timestamp" ; exit 0 ;;
61 +       echo "$timestamp" ; exit ;;
62      --version | -v )
63 -       echo "$version" ; exit 0 ;;
64 +       echo "$version" ; exit ;;
65      --help | --h* | -h )
66 -       echo "$usage"; exit 0 ;;
67 +       echo "$usage"; exit ;;
68      -- )     # Stop option processing
69         shift; break ;;
70      - )        # Use stdin as input.
71 @@ -88,30 +91,42 @@ if test $# != 0; then
72    exit 1
73  fi
74  
75 +trap 'exit 1' 1 2 15
76  
77 -dummy=dummy-$$
78 -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
79 +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
80 +# compiler to aid in system detection is discouraged as it requires
81 +# temporary files to be created and, as you can see below, it is a
82 +# headache to deal with in a portable fashion.
83  
84 -# CC_FOR_BUILD -- compiler used by this script.
85  # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
86  # use `HOST_CC' if defined, but it is deprecated.
87  
88 -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
89 - ,,)    echo "int dummy(){}" > $dummy.c ;
90 +# Portable tmp directory creation inspired by the Autoconf team.
91 +
92 +set_cc_for_build='
93 +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
94 +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
95 +: ${TMPDIR=/tmp} ;
96 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
97 + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
98 + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
99 + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
100 +dummy=$tmp/dummy ;
101 +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
102 +case $CC_FOR_BUILD,$HOST_CC,$CC in
103 + ,,)    echo "int x;" > $dummy.c ;
104         for c in cc gcc c89 c99 ; do
105 -         ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
106 -         if test $? = 0 ; then
107 +         if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
108              CC_FOR_BUILD="$c"; break ;
109           fi ;
110         done ;
111 -       rm -f $dummy.c $dummy.o $dummy.rel ;
112         if test x"$CC_FOR_BUILD" = x ; then
113           CC_FOR_BUILD=no_compiler_found ;
114         fi
115         ;;
116   ,,*)   CC_FOR_BUILD=$CC ;;
117   ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
118 -esac'
119 +esac ; set_cc_for_build= ;'
120  
121  # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
122  # (ghazi@noc.rutgers.edu 1994-08-24)
123 @@ -142,9 +157,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
124         UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
125             /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
126         case "${UNAME_MACHINE_ARCH}" in
127 +           armeb) machine=armeb-unknown ;;
128             arm*) machine=arm-unknown ;;
129             sh3el) machine=shl-unknown ;;
130             sh3eb) machine=sh-unknown ;;
131 +           sh5el) machine=sh5le-unknown ;;
132             *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
133         esac
134         # The Operating System including object format, if it has switched
135 @@ -167,141 +184,128 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
136                 ;;
137         esac
138         # The OS release
139 -       release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
140 +       # Debian GNU/NetBSD machines have a different userland, and
141 +       # thus, need a distinct triplet. However, they do not need
142 +       # kernel version information, so it can be replaced with a
143 +       # suitable tag, in the style of linux-gnu.
144 +       case "${UNAME_VERSION}" in
145 +           Debian*)
146 +               release='-gnu'
147 +               ;;
148 +           *)
149 +               release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
150 +               ;;
151 +       esac
152         # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
153         # contains redundant information, the shorter form:
154         # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
155         echo "${machine}-${os}${release}"
156 -       exit 0 ;;
157 -    amiga:OpenBSD:*:*)
158 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
159 -       exit 0 ;;
160 -    arc:OpenBSD:*:*)
161 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
162 -       exit 0 ;;
163 -    hp300:OpenBSD:*:*)
164 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
165 -       exit 0 ;;
166 -    mac68k:OpenBSD:*:*)
167 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
168 -       exit 0 ;;
169 -    macppc:OpenBSD:*:*)
170 -       echo powerpc-unknown-openbsd${UNAME_RELEASE}
171 -       exit 0 ;;
172 -    mvme68k:OpenBSD:*:*)
173 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
174 -       exit 0 ;;
175 -    mvme88k:OpenBSD:*:*)
176 -       echo m88k-unknown-openbsd${UNAME_RELEASE}
177 -       exit 0 ;;
178 -    mvmeppc:OpenBSD:*:*)
179 -       echo powerpc-unknown-openbsd${UNAME_RELEASE}
180 -       exit 0 ;;
181 -    pmax:OpenBSD:*:*)
182 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
183 -       exit 0 ;;
184 -    sgi:OpenBSD:*:*)
185 -       echo mipseb-unknown-openbsd${UNAME_RELEASE}
186 -       exit 0 ;;
187 -    sun3:OpenBSD:*:*)
188 -       echo m68k-unknown-openbsd${UNAME_RELEASE}
189 -       exit 0 ;;
190 -    wgrisc:OpenBSD:*:*)
191 -       echo mipsel-unknown-openbsd${UNAME_RELEASE}
192 -       exit 0 ;;
193 +       exit ;;
194      *:OpenBSD:*:*)
195 -       echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
196 -       exit 0 ;;
197 +       UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
198 +       echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
199 +       exit ;;
200 +    *:ekkoBSD:*:*)
201 +       echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
202 +       exit ;;
203 +    *:SolidBSD:*:*)
204 +       echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
205 +       exit ;;
206 +    macppc:MirBSD:*:*)
207 +       echo powerpc-unknown-mirbsd${UNAME_RELEASE}
208 +       exit ;;
209 +    *:MirBSD:*:*)
210 +       echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
211 +       exit ;;
212      alpha:OSF1:*:*)
213 -       if test $UNAME_RELEASE = "V4.0"; then
214 +       case $UNAME_RELEASE in
215 +       *4.0)
216                 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
217 -       fi
218 +               ;;
219 +       *5.*)
220 +               UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
221 +               ;;
222 +       esac
223 +       # According to Compaq, /usr/sbin/psrinfo has been available on
224 +       # OSF/1 and Tru64 systems produced since 1995.  I hope that
225 +       # covers most systems running today.  This code pipes the CPU
226 +       # types through head -n 1, so we only detect the type of CPU 0.
227 +       ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
228 +       case "$ALPHA_CPU_TYPE" in
229 +           "EV4 (21064)")
230 +               UNAME_MACHINE="alpha" ;;
231 +           "EV4.5 (21064)")
232 +               UNAME_MACHINE="alpha" ;;
233 +           "LCA4 (21066/21068)")
234 +               UNAME_MACHINE="alpha" ;;
235 +           "EV5 (21164)")
236 +               UNAME_MACHINE="alphaev5" ;;
237 +           "EV5.6 (21164A)")
238 +               UNAME_MACHINE="alphaev56" ;;
239 +           "EV5.6 (21164PC)")
240 +               UNAME_MACHINE="alphapca56" ;;
241 +           "EV5.7 (21164PC)")
242 +               UNAME_MACHINE="alphapca57" ;;
243 +           "EV6 (21264)")
244 +               UNAME_MACHINE="alphaev6" ;;
245 +           "EV6.7 (21264A)")
246 +               UNAME_MACHINE="alphaev67" ;;
247 +           "EV6.8CB (21264C)")
248 +               UNAME_MACHINE="alphaev68" ;;
249 +           "EV6.8AL (21264B)")
250 +               UNAME_MACHINE="alphaev68" ;;
251 +           "EV6.8CX (21264D)")
252 +               UNAME_MACHINE="alphaev68" ;;
253 +           "EV6.9A (21264/EV69A)")
254 +               UNAME_MACHINE="alphaev69" ;;
255 +           "EV7 (21364)")
256 +               UNAME_MACHINE="alphaev7" ;;
257 +           "EV7.9 (21364A)")
258 +               UNAME_MACHINE="alphaev79" ;;
259 +       esac
260 +       # A Pn.n version is a patched version.
261         # A Vn.n version is a released version.
262         # A Tn.n version is a released field test version.
263         # A Xn.n version is an unreleased experimental baselevel.
264         # 1.2 uses "1.2" for uname -r.
265 -       cat <<EOF >$dummy.s
266 -       .data
267 -\$Lformat:
268 -       .byte 37,100,45,37,120,10,0     # "%d-%x\n"
269 -
270 -       .text
271 -       .globl main
272 -       .align 4
273 -       .ent main
274 -main:
275 -       .frame \$30,16,\$26,0
276 -       ldgp \$29,0(\$27)
277 -       .prologue 1
278 -       .long 0x47e03d80 # implver \$0
279 -       lda \$2,-1
280 -       .long 0x47e20c21 # amask \$2,\$1
281 -       lda \$16,\$Lformat
282 -       mov \$0,\$17
283 -       not \$1,\$18
284 -       jsr \$26,printf
285 -       ldgp \$29,0(\$26)
286 -       mov 0,\$16
287 -       jsr \$26,exit
288 -       .end main
289 -EOF
290 -       eval $set_cc_for_build
291 -       $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
292 -       if test "$?" = 0 ; then
293 -               case `./$dummy` in
294 -                       0-0)
295 -                               UNAME_MACHINE="alpha"
296 -                               ;;
297 -                       1-0)
298 -                               UNAME_MACHINE="alphaev5"
299 -                               ;;
300 -                       1-1)
301 -                               UNAME_MACHINE="alphaev56"
302 -                               ;;
303 -                       1-101)
304 -                               UNAME_MACHINE="alphapca56"
305 -                               ;;
306 -                       2-303)
307 -                               UNAME_MACHINE="alphaev6"
308 -                               ;;
309 -                       2-307)
310 -                               UNAME_MACHINE="alphaev67"
311 -                               ;;
312 -                       2-1307)
313 -                               UNAME_MACHINE="alphaev68"
314 -                               ;;
315 -               esac
316 -       fi
317 -       rm -f $dummy.s $dummy
318 -       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
319 -       exit 0 ;;
320 +       echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
321 +       exit ;;
322      Alpha\ *:Windows_NT*:*)
323         # How do we know it's Interix rather than the generic POSIX subsystem?
324         # Should we change UNAME_MACHINE based on the output of uname instead
325         # of the specific Alpha model?
326         echo alpha-pc-interix
327 -       exit 0 ;;
328 +       exit ;;
329      21064:Windows_NT:50:3)
330         echo alpha-dec-winnt3.5
331 -       exit 0 ;;
332 +       exit ;;
333      Amiga*:UNIX_System_V:4.0:*)
334         echo m68k-unknown-sysv4
335 -       exit 0;;
336 +       exit ;;
337      *:[Aa]miga[Oo][Ss]:*:*)
338         echo ${UNAME_MACHINE}-unknown-amigaos
339 -       exit 0 ;;
340 +       exit ;;
341      *:[Mm]orph[Oo][Ss]:*:*)
342         echo ${UNAME_MACHINE}-unknown-morphos
343 -       exit 0 ;;
344 +       exit ;;
345      *:OS/390:*:*)
346         echo i370-ibm-openedition
347 -       exit 0 ;;
348 +       exit ;;
349 +    *:z/VM:*:*)
350 +       echo s390-ibm-zvmoe
351 +       exit ;;
352 +    *:OS400:*:*)
353 +        echo powerpc-ibm-os400
354 +       exit ;;
355      arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
356         echo arm-acorn-riscix${UNAME_RELEASE}
357 -       exit 0;;
358 +       exit ;;
359 +    arm:riscos:*:*|arm:RISCOS:*:*)
360 +       echo arm-unknown-riscos
361 +       exit ;;
362      SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
363         echo hppa1.1-hitachi-hiuxmpp
364 -       exit 0;;
365 +       exit ;;
366      Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
367         # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
368         if test "`(/bin/universe) 2>/dev/null`" = att ; then
369 @@ -309,25 +313,32 @@ EOF
370         else
371                 echo pyramid-pyramid-bsd
372         fi
373 -       exit 0 ;;
374 +       exit ;;
375      NILE*:*:*:dcosx)
376         echo pyramid-pyramid-svr4
377 -       exit 0 ;;
378 +       exit ;;
379 +    DRS?6000:unix:4.0:6*)
380 +       echo sparc-icl-nx6
381 +       exit ;;
382 +    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
383 +       case `/usr/bin/uname -p` in
384 +           sparc) echo sparc-icl-nx7; exit ;;
385 +       esac ;;
386      sun4H:SunOS:5.*:*)
387         echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
388 -       exit 0 ;;
389 +       exit ;;
390      sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
391         echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
392 -       exit 0 ;;
393 -    i86pc:SunOS:5.*:*)
394 +       exit ;;
395 +    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
396         echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
397 -       exit 0 ;;
398 +       exit ;;
399      sun4*:SunOS:6*:*)
400         # According to config.sub, this is the proper way to canonicalize
401         # SunOS6.  Hard to guess exactly what SunOS6 will be like, but
402         # it's likely to be more like Solaris than SunOS4.
403         echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
404 -       exit 0 ;;
405 +       exit ;;
406      sun4*:SunOS:*:*)
407         case "`/usr/bin/arch -k`" in
408             Series*|S4*)
409 @@ -336,10 +347,10 @@ EOF
410         esac
411         # Japanese Language versions have a version number like `4.1.3-JL'.
412         echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
413 -       exit 0 ;;
414 +       exit ;;
415      sun3*:SunOS:*:*)
416         echo m68k-sun-sunos${UNAME_RELEASE}
417 -       exit 0 ;;
418 +       exit ;;
419      sun*:*:4.2BSD:*)
420         UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
421         test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
422 @@ -351,10 +362,10 @@ EOF
423                 echo sparc-sun-sunos${UNAME_RELEASE}
424                 ;;
425         esac
426 -       exit 0 ;;
427 +       exit ;;
428      aushp:SunOS:*:*)
429         echo sparc-auspex-sunos${UNAME_RELEASE}
430 -       exit 0 ;;
431 +       exit ;;
432      # The situation for MiNT is a little confusing.  The machine name
433      # can be virtually everything (everything which is not
434      # "atarist" or "atariste" at least should have a processor
435 @@ -365,37 +376,40 @@ EOF
436      # be no problem.
437      atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
438          echo m68k-atari-mint${UNAME_RELEASE}
439 -       exit 0 ;;
440 +       exit ;;
441      atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
442         echo m68k-atari-mint${UNAME_RELEASE}
443 -        exit 0 ;;
444 +        exit ;;
445      *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
446          echo m68k-atari-mint${UNAME_RELEASE}
447 -       exit 0 ;;
448 +       exit ;;
449      milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
450          echo m68k-milan-mint${UNAME_RELEASE}
451 -        exit 0 ;;
452 +        exit ;;
453      hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
454          echo m68k-hades-mint${UNAME_RELEASE}
455 -        exit 0 ;;
456 +        exit ;;
457      *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
458          echo m68k-unknown-mint${UNAME_RELEASE}
459 -        exit 0 ;;
460 +        exit ;;
461 +    m68k:machten:*:*)
462 +       echo m68k-apple-machten${UNAME_RELEASE}
463 +       exit ;;
464      powerpc:machten:*:*)
465         echo powerpc-apple-machten${UNAME_RELEASE}
466 -       exit 0 ;;
467 +       exit ;;
468      RISC*:Mach:*:*)
469         echo mips-dec-mach_bsd4.3
470 -       exit 0 ;;
471 +       exit ;;
472      RISC*:ULTRIX:*:*)
473         echo mips-dec-ultrix${UNAME_RELEASE}
474 -       exit 0 ;;
475 +       exit ;;
476      VAX*:ULTRIX*:*:*)
477         echo vax-dec-ultrix${UNAME_RELEASE}
478 -       exit 0 ;;
479 +       exit ;;
480      2020:CLIX:*:* | 2430:CLIX:*:*)
481         echo clipper-intergraph-clix${UNAME_RELEASE}
482 -       exit 0 ;;
483 +       exit ;;
484      mips:*:*:UMIPS | mips:*:*:RISCos)
485         eval $set_cc_for_build
486         sed 's/^        //' << EOF >$dummy.c
487 @@ -419,27 +433,33 @@ EOF
488           exit (-1);
489         }
490  EOF
491 -       $CC_FOR_BUILD $dummy.c -o $dummy \
492 -         && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
493 -         && rm -f $dummy.c $dummy && exit 0
494 -       rm -f $dummy.c $dummy
495 +       $CC_FOR_BUILD -o $dummy $dummy.c &&
496 +         dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
497 +         SYSTEM_NAME=`$dummy $dummyarg` &&
498 +           { echo "$SYSTEM_NAME"; exit; }
499         echo mips-mips-riscos${UNAME_RELEASE}
500 -       exit 0 ;;
501 +       exit ;;
502      Motorola:PowerMAX_OS:*:*)
503         echo powerpc-motorola-powermax
504 -       exit 0 ;;
505 +       exit ;;
506 +    Motorola:*:4.3:PL8-*)
507 +       echo powerpc-harris-powermax
508 +       exit ;;
509 +    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
510 +       echo powerpc-harris-powermax
511 +       exit ;;
512      Night_Hawk:Power_UNIX:*:*)
513         echo powerpc-harris-powerunix
514 -       exit 0 ;;
515 +       exit ;;
516      m88k:CX/UX:7*:*)
517         echo m88k-harris-cxux7
518 -       exit 0 ;;
519 +       exit ;;
520      m88k:*:4*:R4*)
521         echo m88k-motorola-sysv4
522 -       exit 0 ;;
523 +       exit ;;
524      m88k:*:3*:R3*)
525         echo m88k-motorola-sysv3
526 -       exit 0 ;;
527 +       exit ;;
528      AViiON:dgux:*:*)
529          # DG/UX returns AViiON for all architectures
530          UNAME_PROCESSOR=`/usr/bin/uname -p`
531 @@ -455,29 +475,29 @@ EOF
532         else
533             echo i586-dg-dgux${UNAME_RELEASE}
534         fi
535 -       exit 0 ;;
536 +       exit ;;
537      M88*:DolphinOS:*:*)        # DolphinOS (SVR3)
538         echo m88k-dolphin-sysv3
539 -       exit 0 ;;
540 +       exit ;;
541      M88*:*:R3*:*)
542         # Delta 88k system running SVR3
543         echo m88k-motorola-sysv3
544 -       exit 0 ;;
545 +       exit ;;
546      XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
547         echo m88k-tektronix-sysv3
548 -       exit 0 ;;
549 +       exit ;;
550      Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
551         echo m68k-tektronix-bsd
552 -       exit 0 ;;
553 +       exit ;;
554      *:IRIX*:*:*)
555         echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
556 -       exit 0 ;;
557 +       exit ;;
558      ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
559 -       echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
560 -       exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
561 +       echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
562 +       exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
563      i*86:AIX:*:*)
564         echo i386-ibm-aix
565 -       exit 0 ;;
566 +       exit ;;
567      ia64:AIX:*:*)
568         if [ -x /usr/bin/oslevel ] ; then
569                 IBM_REV=`/usr/bin/oslevel`
570 @@ -485,7 +505,7 @@ EOF
571                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
572         fi
573         echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
574 -       exit 0 ;;
575 +       exit ;;
576      *:AIX:2:3)
577         if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
578                 eval $set_cc_for_build
579 @@ -500,15 +520,18 @@ EOF
580                         exit(0);
581                         }
582  EOF
583 -               $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
584 -               rm -f $dummy.c $dummy
585 -               echo rs6000-ibm-aix3.2.5
586 +               if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
587 +               then
588 +                       echo "$SYSTEM_NAME"
589 +               else
590 +                       echo rs6000-ibm-aix3.2.5
591 +               fi
592         elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
593                 echo rs6000-ibm-aix3.2.4
594         else
595                 echo rs6000-ibm-aix3.2
596         fi
597 -       exit 0 ;;
598 +       exit ;;
599      *:AIX:*:[45])
600         IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
601         if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
602 @@ -522,28 +545,28 @@ EOF
603                 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
604         fi
605         echo ${IBM_ARCH}-ibm-aix${IBM_REV}
606 -       exit 0 ;;
607 +       exit ;;
608      *:AIX:*:*)
609         echo rs6000-ibm-aix
610 -       exit 0 ;;
611 +       exit ;;
612      ibmrt:4.4BSD:*|romp-ibm:BSD:*)
613         echo romp-ibm-bsd4.4
614 -       exit 0 ;;
615 +       exit ;;
616      ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
617         echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
618 -       exit 0 ;;                           # report: romp-ibm BSD 4.3
619 +       exit ;;                             # report: romp-ibm BSD 4.3
620      *:BOSX:*:*)
621         echo rs6000-bull-bosx
622 -       exit 0 ;;
623 +       exit ;;
624      DPX/2?00:B.O.S.:*:*)
625         echo m68k-bull-sysv3
626 -       exit 0 ;;
627 +       exit ;;
628      9000/[34]??:4.3bsd:1.*:*)
629         echo m68k-hp-bsd
630 -       exit 0 ;;
631 +       exit ;;
632      hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
633         echo m68k-hp-bsd4.4
634 -       exit 0 ;;
635 +       exit ;;
636      9000/[34678]??:HP-UX:*:*)
637         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
638         case "${UNAME_MACHINE}" in
639 @@ -599,17 +622,37 @@ EOF
640                    exit (0);
641                }
642  EOF
643 -                   (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
644 -                   if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
645 -                   rm -f $dummy.c $dummy
646 +                   (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
647 +                   test -z "$HP_ARCH" && HP_ARCH=hppa
648                 fi ;;
649         esac
650 +       if [ ${HP_ARCH} = "hppa2.0w" ]
651 +       then
652 +           eval $set_cc_for_build
653 +
654 +           # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
655 +           # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
656 +           # generating 64-bit code.  GNU and HP use different nomenclature:
657 +           #
658 +           # $ CC_FOR_BUILD=cc ./config.guess
659 +           # => hppa2.0w-hp-hpux11.23
660 +           # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
661 +           # => hppa64-hp-hpux11.23
662 +
663 +           if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
664 +               grep __LP64__ >/dev/null
665 +           then
666 +               HP_ARCH="hppa2.0w"
667 +           else
668 +               HP_ARCH="hppa64"
669 +           fi
670 +       fi
671         echo ${HP_ARCH}-hp-hpux${HPUX_REV}
672 -       exit 0 ;;
673 +       exit ;;
674      ia64:HP-UX:*:*)
675         HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
676         echo ia64-hp-hpux${HPUX_REV}
677 -       exit 0 ;;
678 +       exit ;;
679      3050*:HI-UX:*:*)
680         eval $set_cc_for_build
681         sed 's/^        //' << EOF >$dummy.c
682 @@ -637,134 +680,182 @@ EOF
683           exit (0);
684         }
685  EOF
686 -       $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
687 -       rm -f $dummy.c $dummy
688 +       $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
689 +               { echo "$SYSTEM_NAME"; exit; }
690         echo unknown-hitachi-hiuxwe2
691 -       exit 0 ;;
692 +       exit ;;
693      9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
694         echo hppa1.1-hp-bsd
695 -       exit 0 ;;
696 +       exit ;;
697      9000/8??:4.3bsd:*:*)
698         echo hppa1.0-hp-bsd
699 -       exit 0 ;;
700 +       exit ;;
701      *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
702         echo hppa1.0-hp-mpeix
703 -       exit 0 ;;
704 +       exit ;;
705      hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
706         echo hppa1.1-hp-osf
707 -       exit 0 ;;
708 +       exit ;;
709      hp8??:OSF1:*:*)
710         echo hppa1.0-hp-osf
711 -       exit 0 ;;
712 +       exit ;;
713      i*86:OSF1:*:*)
714         if [ -x /usr/sbin/sysversion ] ; then
715             echo ${UNAME_MACHINE}-unknown-osf1mk
716         else
717             echo ${UNAME_MACHINE}-unknown-osf1
718         fi
719 -       exit 0 ;;
720 +       exit ;;
721      parisc*:Lites*:*:*)
722         echo hppa1.1-hp-lites
723 -       exit 0 ;;
724 +       exit ;;
725      C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
726         echo c1-convex-bsd
727 -        exit 0 ;;
728 +        exit ;;
729      C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
730         if getsysinfo -f scalar_acc
731         then echo c32-convex-bsd
732         else echo c2-convex-bsd
733         fi
734 -        exit 0 ;;
735 +        exit ;;
736      C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
737         echo c34-convex-bsd
738 -        exit 0 ;;
739 +        exit ;;
740      C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
741         echo c38-convex-bsd
742 -        exit 0 ;;
743 +        exit ;;
744      C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
745         echo c4-convex-bsd
746 -        exit 0 ;;
747 +        exit ;;
748      CRAY*Y-MP:*:*:*)
749         echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
750 -       exit 0 ;;
751 +       exit ;;
752      CRAY*[A-Z]90:*:*:*)
753         echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
754         | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
755               -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
756               -e 's/\.[^.]*$/.X/'
757 -       exit 0 ;;
758 +       exit ;;
759      CRAY*TS:*:*:*)
760         echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
761 -       exit 0 ;;
762 -    CRAY*T3D:*:*:*)
763 -       echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
764 -       exit 0 ;;
765 +       exit ;;
766      CRAY*T3E:*:*:*)
767         echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
768 -       exit 0 ;;
769 +       exit ;;
770      CRAY*SV1:*:*:*)
771         echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
772 -       exit 0 ;;
773 +       exit ;;
774 +    *:UNICOS/mp:*:*)
775 +       echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
776 +       exit ;;
777      F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
778         FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
779          FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
780          FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
781          echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
782 -        exit 0 ;;
783 +        exit ;;
784 +    5000:UNIX_System_V:4.*:*)
785 +        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
786 +        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
787 +        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
788 +       exit ;;
789      i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
790         echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
791 -       exit 0 ;;
792 +       exit ;;
793      sparc*:BSD/OS:*:*)
794         echo sparc-unknown-bsdi${UNAME_RELEASE}
795 -       exit 0 ;;
796 +       exit ;;
797      *:BSD/OS:*:*)
798         echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
799 -       exit 0 ;;
800 +       exit ;;
801      *:FreeBSD:*:*)
802 -       echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
803 -       exit 0 ;;
804 +       case ${UNAME_MACHINE} in
805 +           pc98)
806 +               echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
807 +           amd64)
808 +               echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
809 +           *)
810 +               echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
811 +       esac
812 +       exit ;;
813      i*:CYGWIN*:*)
814         echo ${UNAME_MACHINE}-pc-cygwin
815 -       exit 0 ;;
816 -    i*:MINGW*:*)
817 +       exit ;;
818 +    *:MINGW*:*)
819         echo ${UNAME_MACHINE}-pc-mingw32
820 -       exit 0 ;;
821 +       exit ;;
822 +    i*:windows32*:*)
823 +       # uname -m includes "-pc" on this system.
824 +       echo ${UNAME_MACHINE}-mingw32
825 +       exit ;;
826      i*:PW*:*)
827         echo ${UNAME_MACHINE}-pc-pw32
828 -       exit 0 ;;
829 -    x86:Interix*:3*)
830 -       echo i386-pc-interix3
831 -       exit 0 ;;
832 +       exit ;;
833 +    *:Interix*:[3456]*)
834 +       case ${UNAME_MACHINE} in
835 +           x86)
836 +               echo i586-pc-interix${UNAME_RELEASE}
837 +               exit ;;
838 +           EM64T | authenticamd)
839 +               echo x86_64-unknown-interix${UNAME_RELEASE}
840 +               exit ;;
841 +       esac ;;
842 +    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
843 +       echo i${UNAME_MACHINE}-pc-mks
844 +       exit ;;
845      i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
846         # How do we know it's Interix rather than the generic POSIX subsystem?
847         # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
848         # UNAME_MACHINE based on the output of uname instead of i386?
849 -       echo i386-pc-interix
850 -       exit 0 ;;
851 +       echo i586-pc-interix
852 +       exit ;;
853      i*:UWIN*:*)
854         echo ${UNAME_MACHINE}-pc-uwin
855 -       exit 0 ;;
856 +       exit ;;
857 +    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
858 +       echo x86_64-unknown-cygwin
859 +       exit ;;
860      p*:CYGWIN*:*)
861         echo powerpcle-unknown-cygwin
862 -       exit 0 ;;
863 +       exit ;;
864      prep*:SunOS:5.*:*)
865         echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
866 -       exit 0 ;;
867 +       exit ;;
868      *:GNU:*:*)
869 +       # the GNU system
870         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
871 -       exit 0 ;;
872 +       exit ;;
873 +    *:GNU/*:*:*)
874 +       # other systems with GNU libc and userland
875 +       echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
876 +       exit ;;
877      i*86:Minix:*:*)
878         echo ${UNAME_MACHINE}-pc-minix
879 -       exit 0 ;;
880 +       exit ;;
881      arm*:Linux:*:*)
882         echo ${UNAME_MACHINE}-unknown-linux-gnu
883 -       exit 0 ;;
884 +       exit ;;
885 +    avr32*:Linux:*:*)
886 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
887 +       exit ;;
888 +    cris:Linux:*:*)
889 +       echo cris-axis-linux-gnu
890 +       exit ;;
891 +    crisv32:Linux:*:*)
892 +       echo crisv32-axis-linux-gnu
893 +       exit ;;
894 +    frv:Linux:*:*)
895 +       echo frv-unknown-linux-gnu
896 +       exit ;;
897      ia64:Linux:*:*)
898         echo ${UNAME_MACHINE}-unknown-linux-gnu
899 -       exit 0 ;;
900 +       exit ;;
901 +    m32r*:Linux:*:*)
902 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
903 +       exit ;;
904      m68*:Linux:*:*)
905         echo ${UNAME_MACHINE}-unknown-linux-gnu
906 -       exit 0 ;;
907 +       exit ;;
908      mips:Linux:*:*)
909         eval $set_cc_for_build
910         sed 's/^        //' << EOF >$dummy.c
911 @@ -781,16 +872,45 @@ EOF
912         #endif
913         #endif
914  EOF
915 -       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
916 -       rm -f $dummy.c
917 -       test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
918 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
919 +           /^CPU/{
920 +               s: ::g
921 +               p
922 +           }'`"
923 +       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
924         ;;
925 +    mips64:Linux:*:*)
926 +       eval $set_cc_for_build
927 +       sed 's/^        //' << EOF >$dummy.c
928 +       #undef CPU
929 +       #undef mips64
930 +       #undef mips64el
931 +       #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
932 +       CPU=mips64el
933 +       #else
934 +       #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
935 +       CPU=mips64
936 +       #else
937 +       CPU=
938 +       #endif
939 +       #endif
940 +EOF
941 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
942 +           /^CPU/{
943 +               s: ::g
944 +               p
945 +           }'`"
946 +       test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
947 +       ;;
948 +    or32:Linux:*:*)
949 +       echo or32-unknown-linux-gnu
950 +       exit ;;
951      ppc:Linux:*:*)
952         echo powerpc-unknown-linux-gnu
953 -       exit 0 ;;
954 +       exit ;;
955      ppc64:Linux:*:*)
956         echo powerpc64-unknown-linux-gnu
957 -       exit 0 ;;
958 +       exit ;;
959      alpha:Linux:*:*)
960         case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
961           EV5)   UNAME_MACHINE=alphaev5 ;;
962 @@ -804,7 +924,7 @@ EOF
963         objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
964         if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
965         echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
966 -       exit 0 ;;
967 +       exit ;;
968      parisc:Linux:*:* | hppa:Linux:*:*)
969         # Look for CPU level
970         case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
971 @@ -812,22 +932,31 @@ EOF
972           PA8*) echo hppa2.0-unknown-linux-gnu ;;
973           *)    echo hppa-unknown-linux-gnu ;;
974         esac
975 -       exit 0 ;;
976 +       exit ;;
977      parisc64:Linux:*:* | hppa64:Linux:*:*)
978         echo hppa64-unknown-linux-gnu
979 -       exit 0 ;;
980 +       exit ;;
981      s390:Linux:*:* | s390x:Linux:*:*)
982         echo ${UNAME_MACHINE}-ibm-linux
983 -       exit 0 ;;
984 +       exit ;;
985 +    sh64*:Linux:*:*)
986 +       echo ${UNAME_MACHINE}-unknown-linux-gnu
987 +       exit ;;
988      sh*:Linux:*:*)
989         echo ${UNAME_MACHINE}-unknown-linux-gnu
990 -       exit 0 ;;
991 +       exit ;;
992      sparc:Linux:*:* | sparc64:Linux:*:*)
993         echo ${UNAME_MACHINE}-unknown-linux-gnu
994 -       exit 0 ;;
995 +       exit ;;
996 +    vax:Linux:*:*)
997 +       echo ${UNAME_MACHINE}-dec-linux-gnu
998 +       exit ;;
999      x86_64:Linux:*:*)
1000         echo x86_64-unknown-linux-gnu
1001 -       exit 0 ;;
1002 +       exit ;;
1003 +    xtensa:Linux:*:*)
1004 +       echo xtensa-unknown-linux-gnu
1005 +       exit ;;
1006      i*86:Linux:*:*)
1007         # The BFD linker knows what the default object file format is, so
1008         # first see if it will tell us. cd to the root directory to prevent
1009 @@ -845,15 +974,15 @@ EOF
1010                 ;;
1011           a.out-i386-linux)
1012                 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
1013 -               exit 0 ;;               
1014 +               exit ;;
1015           coff-i386)
1016                 echo "${UNAME_MACHINE}-pc-linux-gnucoff"
1017 -               exit 0 ;;
1018 +               exit ;;
1019           "")
1020                 # Either a pre-BFD a.out linker (linux-gnuoldld) or
1021                 # one that does not give us useful --help.
1022                 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
1023 -               exit 0 ;;
1024 +               exit ;;
1025         esac
1026         # Determine whether the default compiler is a.out or elf
1027         eval $set_cc_for_build
1028 @@ -870,24 +999,33 @@ EOF
1029         LIBC=gnulibc1
1030         # endif
1031         #else
1032 -       #ifdef __INTEL_COMPILER
1033 +       #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
1034         LIBC=gnu
1035         #else
1036         LIBC=gnuaout
1037         #endif
1038         #endif
1039 +       #ifdef __dietlibc__
1040 +       LIBC=dietlibc
1041 +       #endif
1042  EOF
1043 -       eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
1044 -       rm -f $dummy.c
1045 -       test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
1046 -       test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
1047 +       eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
1048 +           /^LIBC/{
1049 +               s: ::g
1050 +               p
1051 +           }'`"
1052 +       test x"${LIBC}" != x && {
1053 +               echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
1054 +               exit
1055 +       }
1056 +       test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
1057         ;;
1058      i*86:DYNIX/ptx:4*:*)
1059         # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
1060         # earlier versions are messed up and put the nodename in both
1061         # sysname and nodename.
1062         echo i386-sequent-sysv4
1063 -       exit 0 ;;
1064 +       exit ;;
1065      i*86:UNIX_SV:4.2MP:2.*)
1066          # Unixware is an offshoot of SVR4, but it has its own version
1067          # number series starting with 2...
1068 @@ -895,7 +1033,27 @@ EOF
1069         # I just have to hope.  -- rms.
1070          # Use sysv4.2uw... so that sysv4* matches it.
1071         echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1072 -       exit 0 ;;
1073 +       exit ;;
1074 +    i*86:OS/2:*:*)
1075 +       # If we were able to find `uname', then EMX Unix compatibility
1076 +       # is probably installed.
1077 +       echo ${UNAME_MACHINE}-pc-os2-emx
1078 +       exit ;;
1079 +    i*86:XTS-300:*:STOP)
1080 +       echo ${UNAME_MACHINE}-unknown-stop
1081 +       exit ;;
1082 +    i*86:atheos:*:*)
1083 +       echo ${UNAME_MACHINE}-unknown-atheos
1084 +       exit ;;
1085 +    i*86:syllable:*:*)
1086 +       echo ${UNAME_MACHINE}-pc-syllable
1087 +       exit ;;
1088 +    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1089 +       echo i386-unknown-lynxos${UNAME_RELEASE}
1090 +       exit ;;
1091 +    i*86:*DOS:*:*)
1092 +       echo ${UNAME_MACHINE}-pc-msdosdjgpp
1093 +       exit ;;
1094      i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1095         UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1096         if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1097 @@ -903,99 +1061,100 @@ EOF
1098         else
1099                 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1100         fi
1101 -       exit 0 ;;
1102 -    i*86:*:5:[78]*)
1103 +       exit ;;
1104 +    i*86:*:5:[678]*)
1105 +       # UnixWare 7.x, OpenUNIX and OpenServer 6.
1106         case `/bin/uname -X | grep "^Machine"` in
1107             *486*)           UNAME_MACHINE=i486 ;;
1108             *Pentium)        UNAME_MACHINE=i586 ;;
1109             *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1110         esac
1111         echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1112 -       exit 0 ;;
1113 +       exit ;;
1114      i*86:*:3.2:*)
1115         if test -f /usr/options/cb.name; then
1116                 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1117                 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1118         elif /bin/uname -X 2>/dev/null >/dev/null ; then
1119 -               UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
1120 -               (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
1121 -               (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
1122 +               UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1123 +               (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
1124 +               (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
1125                         && UNAME_MACHINE=i586
1126 -               (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
1127 +               (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
1128                         && UNAME_MACHINE=i686
1129 -               (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
1130 +               (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1131                         && UNAME_MACHINE=i686
1132                 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1133         else
1134                 echo ${UNAME_MACHINE}-pc-sysv32
1135         fi
1136 -       exit 0 ;;
1137 -    i*86:*DOS:*:*)
1138 -       echo ${UNAME_MACHINE}-pc-msdosdjgpp
1139 -       exit 0 ;;
1140 +       exit ;;
1141      pc:*:*:*)
1142         # Left here for compatibility:
1143          # uname -m prints for DJGPP always 'pc', but it prints nothing about
1144          # the processor, so we play safe by assuming i386.
1145         echo i386-pc-msdosdjgpp
1146 -        exit 0 ;;
1147 +        exit ;;
1148      Intel:Mach:3*:*)
1149         echo i386-pc-mach3
1150 -       exit 0 ;;
1151 +       exit ;;
1152      paragon:*:*:*)
1153         echo i860-intel-osf1
1154 -       exit 0 ;;
1155 +       exit ;;
1156      i860:*:4.*:*) # i860-SVR4
1157         if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1158           echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1159         else # Add other i860-SVR4 vendors below as they are discovered.
1160           echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
1161         fi
1162 -       exit 0 ;;
1163 +       exit ;;
1164      mini*:CTIX:SYS*5:*)
1165         # "miniframe"
1166         echo m68010-convergent-sysv
1167 -       exit 0 ;;
1168 -    M68*:*:R3V[567]*:*)
1169 -       test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
1170 -    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
1171 +       exit ;;
1172 +    mc68k:UNIX:SYSTEM5:3.51m)
1173 +       echo m68k-convergent-sysv
1174 +       exit ;;
1175 +    M680?0:D-NIX:5.3:*)
1176 +       echo m68k-diab-dnix
1177 +       exit ;;
1178 +    M68*:*:R3V[5678]*:*)
1179 +       test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
1180 +    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
1181         OS_REL=''
1182         test -r /etc/.relid \
1183         && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1184         /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1185 -         && echo i486-ncr-sysv4.3${OS_REL} && exit 0
1186 +         && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1187         /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1188 -         && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
1189 +         && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1190      3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1191          /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1192 -          && echo i486-ncr-sysv4 && exit 0 ;;
1193 +          && { echo i486-ncr-sysv4; exit; } ;;
1194      m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1195         echo m68k-unknown-lynxos${UNAME_RELEASE}
1196 -       exit 0 ;;
1197 +       exit ;;
1198      mc68030:UNIX_System_V:4.*:*)
1199         echo m68k-atari-sysv4
1200 -       exit 0 ;;
1201 -    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1202 -       echo i386-unknown-lynxos${UNAME_RELEASE}
1203 -       exit 0 ;;
1204 +       exit ;;
1205      TSUNAMI:LynxOS:2.*:*)
1206         echo sparc-unknown-lynxos${UNAME_RELEASE}
1207 -       exit 0 ;;
1208 +       exit ;;
1209      rs6000:LynxOS:2.*:*)
1210         echo rs6000-unknown-lynxos${UNAME_RELEASE}
1211 -       exit 0 ;;
1212 +       exit ;;
1213      PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1214         echo powerpc-unknown-lynxos${UNAME_RELEASE}
1215 -       exit 0 ;;
1216 +       exit ;;
1217      SM[BE]S:UNIX_SV:*:*)
1218         echo mips-dde-sysv${UNAME_RELEASE}
1219 -       exit 0 ;;
1220 +       exit ;;
1221      RM*:ReliantUNIX-*:*:*)
1222         echo mips-sni-sysv4
1223 -       exit 0 ;;
1224 +       exit ;;
1225      RM*:SINIX-*:*:*)
1226         echo mips-sni-sysv4
1227 -       exit 0 ;;
1228 +       exit ;;
1229      *:SINIX-*:*:*)
1230         if uname -p 2>/dev/null >/dev/null ; then
1231                 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1232 @@ -1003,61 +1162,81 @@ EOF
1233         else
1234                 echo ns32k-sni-sysv
1235         fi
1236 -       exit 0 ;;
1237 +       exit ;;
1238      PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1239                        # says <Richard.M.Bartel@ccMail.Census.GOV>
1240          echo i586-unisys-sysv4
1241 -        exit 0 ;;
1242 +        exit ;;
1243      *:UNIX_System_V:4*:FTX*)
1244         # From Gerald Hewes <hewes@openmarket.com>.
1245         # How about differentiating between stratus architectures? -djm
1246         echo hppa1.1-stratus-sysv4
1247 -       exit 0 ;;
1248 +       exit ;;
1249      *:*:*:FTX*)
1250         # From seanf@swdc.stratus.com.
1251         echo i860-stratus-sysv4
1252 -       exit 0 ;;
1253 +       exit ;;
1254 +    i*86:VOS:*:*)
1255 +       # From Paul.Green@stratus.com.
1256 +       echo ${UNAME_MACHINE}-stratus-vos
1257 +       exit ;;
1258      *:VOS:*:*)
1259         # From Paul.Green@stratus.com.
1260         echo hppa1.1-stratus-vos
1261 -       exit 0 ;;
1262 +       exit ;;
1263      mc68*:A/UX:*:*)
1264         echo m68k-apple-aux${UNAME_RELEASE}
1265 -       exit 0 ;;
1266 +       exit ;;
1267      news*:NEWS-OS:6*:*)
1268         echo mips-sony-newsos6
1269 -       exit 0 ;;
1270 +       exit ;;
1271      R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1272         if [ -d /usr/nec ]; then
1273                 echo mips-nec-sysv${UNAME_RELEASE}
1274         else
1275                 echo mips-unknown-sysv${UNAME_RELEASE}
1276         fi
1277 -        exit 0 ;;
1278 +        exit ;;
1279      BeBox:BeOS:*:*)    # BeOS running on hardware made by Be, PPC only.
1280         echo powerpc-be-beos
1281 -       exit 0 ;;
1282 +       exit ;;
1283      BeMac:BeOS:*:*)    # BeOS running on Mac or Mac clone, PPC only.
1284         echo powerpc-apple-beos
1285 -       exit 0 ;;
1286 +       exit ;;
1287      BePC:BeOS:*:*)     # BeOS running on Intel PC compatible.
1288         echo i586-pc-beos
1289 -       exit 0 ;;
1290 +       exit ;;
1291      SX-4:SUPER-UX:*:*)
1292         echo sx4-nec-superux${UNAME_RELEASE}
1293 -       exit 0 ;;
1294 +       exit ;;
1295      SX-5:SUPER-UX:*:*)
1296         echo sx5-nec-superux${UNAME_RELEASE}
1297 -       exit 0 ;;
1298 +       exit ;;
1299 +    SX-6:SUPER-UX:*:*)
1300 +       echo sx6-nec-superux${UNAME_RELEASE}
1301 +       exit ;;
1302 +    SX-7:SUPER-UX:*:*)
1303 +       echo sx7-nec-superux${UNAME_RELEASE}
1304 +       exit ;;
1305 +    SX-8:SUPER-UX:*:*)
1306 +       echo sx8-nec-superux${UNAME_RELEASE}
1307 +       exit ;;
1308 +    SX-8R:SUPER-UX:*:*)
1309 +       echo sx8r-nec-superux${UNAME_RELEASE}
1310 +       exit ;;
1311      Power*:Rhapsody:*:*)
1312         echo powerpc-apple-rhapsody${UNAME_RELEASE}
1313 -       exit 0 ;;
1314 +       exit ;;
1315      *:Rhapsody:*:*)
1316         echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1317 -       exit 0 ;;
1318 +       exit ;;
1319      *:Darwin:*:*)
1320 -       echo `uname -p`-apple-darwin${UNAME_RELEASE}
1321 -       exit 0 ;;
1322 +       UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1323 +       case $UNAME_PROCESSOR in
1324 +           unknown) UNAME_PROCESSOR=powerpc ;;
1325 +       esac
1326 +       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1327 +       exit ;;
1328      *:procnto*:*:* | *:QNX:[0123456789]*:*)
1329         UNAME_PROCESSOR=`uname -p`
1330         if test "$UNAME_PROCESSOR" = "x86"; then
1331 @@ -1065,22 +1244,25 @@ EOF
1332                 UNAME_MACHINE=pc
1333         fi
1334         echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1335 -       exit 0 ;;
1336 +       exit ;;
1337      *:QNX:*:4*)
1338         echo i386-pc-qnx
1339 -       exit 0 ;;
1340 -    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
1341 +       exit ;;
1342 +    NSE-?:NONSTOP_KERNEL:*:*)
1343 +       echo nse-tandem-nsk${UNAME_RELEASE}
1344 +       exit ;;
1345 +    NSR-?:NONSTOP_KERNEL:*:*)
1346         echo nsr-tandem-nsk${UNAME_RELEASE}
1347 -       exit 0 ;;
1348 +       exit ;;
1349      *:NonStop-UX:*:*)
1350         echo mips-compaq-nonstopux
1351 -       exit 0 ;;
1352 +       exit ;;
1353      BS2000:POSIX*:*:*)
1354         echo bs2000-siemens-sysv
1355 -       exit 0 ;;
1356 +       exit ;;
1357      DS/*:UNIX_System_V:*:*)
1358         echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1359 -       exit 0 ;;
1360 +       exit ;;
1361      *:Plan9:*:*)
1362         # "uname -m" is not consistent, so use $cputype instead. 386
1363         # is converted to i386 for consistency with other x86
1364 @@ -1091,36 +1273,47 @@ EOF
1365             UNAME_MACHINE="$cputype"
1366         fi
1367         echo ${UNAME_MACHINE}-unknown-plan9
1368 -       exit 0 ;;
1369 -    i*86:OS/2:*:*)
1370 -       # If we were able to find `uname', then EMX Unix compatibility
1371 -       # is probably installed.
1372 -       echo ${UNAME_MACHINE}-pc-os2-emx
1373 -       exit 0 ;;
1374 +       exit ;;
1375      *:TOPS-10:*:*)
1376         echo pdp10-unknown-tops10
1377 -       exit 0 ;;
1378 +       exit ;;
1379      *:TENEX:*:*)
1380         echo pdp10-unknown-tenex
1381 -       exit 0 ;;
1382 +       exit ;;
1383      KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
1384         echo pdp10-dec-tops20
1385 -       exit 0 ;;
1386 +       exit ;;
1387      XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
1388         echo pdp10-xkl-tops20
1389 -       exit 0 ;;
1390 +       exit ;;
1391      *:TOPS-20:*:*)
1392         echo pdp10-unknown-tops20
1393 -       exit 0 ;;
1394 +       exit ;;
1395      *:ITS:*:*)
1396         echo pdp10-unknown-its
1397 -       exit 0 ;;
1398 -    i*86:XTS-300:*:STOP)
1399 -       echo ${UNAME_MACHINE}-unknown-stop
1400 -       exit 0 ;;
1401 -    i*86:atheos:*:*)
1402 -       echo ${UNAME_MACHINE}-unknown-atheos
1403 -       exit 0 ;;
1404 +       exit ;;
1405 +    SEI:*:*:SEIUX)
1406 +        echo mips-sei-seiux${UNAME_RELEASE}
1407 +       exit ;;
1408 +    *:DragonFly:*:*)
1409 +       echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1410 +       exit ;;
1411 +    *:*VMS:*:*)
1412 +       UNAME_MACHINE=`(uname -p) 2>/dev/null`
1413 +       case "${UNAME_MACHINE}" in
1414 +           A*) echo alpha-dec-vms ; exit ;;
1415 +           I*) echo ia64-dec-vms ; exit ;;
1416 +           V*) echo vax-dec-vms ; exit ;;
1417 +       esac ;;
1418 +    *:XENIX:*:SysV)
1419 +       echo i386-pc-xenix
1420 +       exit ;;
1421 +    i*86:skyos:*:*)
1422 +       echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1423 +       exit ;;
1424 +    i*86:rdos:*:*)
1425 +       echo ${UNAME_MACHINE}-pc-rdos
1426 +       exit ;;
1427  esac
1428  
1429  #echo '(No uname command or uname output not recognized.)' 1>&2
1430 @@ -1152,7 +1345,7 @@ main ()
1431  #endif
1432  
1433  #if defined (__arm) && defined (__acorn) && defined (__unix)
1434 -  printf ("arm-acorn-riscix"); exit (0);
1435 +  printf ("arm-acorn-riscix\n"); exit (0);
1436  #endif
1437  
1438  #if defined (hp300) && !defined (hpux)
1439 @@ -1241,12 +1434,12 @@ main ()
1440  }
1441  EOF
1442  
1443 -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
1444 -rm -f $dummy.c $dummy
1445 +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1446 +       { echo "$SYSTEM_NAME"; exit; }
1447  
1448  # Apollos put the system type in the environment.
1449  
1450 -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
1451 +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1452  
1453  # Convex versions that predate uname can use getsysinfo(1)
1454  
1455 @@ -1255,22 +1448,22 @@ then
1456      case `getsysinfo -f cpu_type` in
1457      c1*)
1458         echo c1-convex-bsd
1459 -       exit 0 ;;
1460 +       exit ;;
1461      c2*)
1462         if getsysinfo -f scalar_acc
1463         then echo c32-convex-bsd
1464         else echo c2-convex-bsd
1465         fi
1466 -       exit 0 ;;
1467 +       exit ;;
1468      c34*)
1469         echo c34-convex-bsd
1470 -       exit 0 ;;
1471 +       exit ;;
1472      c38*)
1473         echo c38-convex-bsd
1474 -       exit 0 ;;
1475 +       exit ;;
1476      c4*)
1477         echo c4-convex-bsd
1478 -       exit 0 ;;
1479 +       exit ;;
1480      esac
1481  fi
1482  
1483 @@ -1281,7 +1474,9 @@ This script, last modified $timestamp, has failed to recognize
1484  the operating system you are using. It is advised that you
1485  download the most up to date version of the config scripts from
1486  
1487 -    ftp://ftp.gnu.org/pub/gnu/config/
1488 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
1489 +and
1490 +  http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
1491  
1492  If the version you run ($0) is already up to date, please
1493  send the following data and any information you think might be
1494 diff --git a/config.sub b/config.sub
1495 index f365797..1761d8b 100755
1496 --- a/config.sub
1497 +++ b/config.sub
1498 @@ -1,9 +1,10 @@
1499  #! /bin/sh
1500  # Configuration validation subroutine script.
1501  #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
1502 -#   2000, 2001, 2002 Free Software Foundation, Inc.
1503 +#   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
1504 +#   Inc.
1505  
1506 -timestamp='2002-03-07'
1507 +timestamp='2007-06-28'
1508  
1509  # This file is (in principle) common to ALL GNU software.
1510  # The presence of a machine in this file suggests that SOME GNU software
1511 @@ -21,14 +22,15 @@ timestamp='2002-03-07'
1512  #
1513  # You should have received a copy of the GNU General Public License
1514  # along with this program; if not, write to the Free Software
1515 -# Foundation, Inc., 59 Temple Place - Suite 330,
1516 -# Boston, MA 02111-1307, USA.
1517 -
1518 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
1519 +# 02110-1301, USA.
1520 +#
1521  # As a special exception to the GNU General Public License, if you
1522  # distribute this file as part of a program that contains a
1523  # configuration script generated by Autoconf, you may include it under
1524  # the same distribution terms that you use for the rest of that program.
1525  
1526 +
1527  # Please send patches to <config-patches@gnu.org>.  Submit a context
1528  # diff and a properly formatted ChangeLog entry.
1529  #
1530 @@ -70,7 +72,7 @@ Report bugs and patches to <config-patches@gnu.org>."
1531  version="\
1532  GNU config.sub ($timestamp)
1533  
1534 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
1535 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1536  Free Software Foundation, Inc.
1537  
1538  This is free software; see the source for copying conditions.  There is NO
1539 @@ -83,11 +85,11 @@ Try \`$me --help' for more information."
1540  while test $# -gt 0 ; do
1541    case $1 in
1542      --time-stamp | --time* | -t )
1543 -       echo "$timestamp" ; exit 0 ;;
1544 +       echo "$timestamp" ; exit ;;
1545      --version | -v )
1546 -       echo "$version" ; exit 0 ;;
1547 +       echo "$version" ; exit ;;
1548      --help | --h* | -h )
1549 -       echo "$usage"; exit 0 ;;
1550 +       echo "$usage"; exit ;;
1551      -- )     # Stop option processing
1552         shift; break ;;
1553      - )        # Use stdin as input.
1554 @@ -99,7 +101,7 @@ while test $# -gt 0 ; do
1555      *local*)
1556         # First pass through any local machine types.
1557         echo $1
1558 -       exit 0;;
1559 +       exit ;;
1560  
1561      * )
1562         break ;;
1563 @@ -118,7 +120,9 @@ esac
1564  # Here we must recognize all the valid KERNEL-OS combinations.
1565  maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
1566  case $maybe_os in
1567 -  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
1568 +  nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
1569 +  uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
1570 +  storm-chaos* | os2-emx* | rtmk-nova*)
1571      os=-$maybe_os
1572      basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
1573      ;;
1574 @@ -144,7 +148,7 @@ case $os in
1575         -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
1576         -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
1577         -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
1578 -       -apple | -axis)
1579 +       -apple | -axis | -knuth | -cray)
1580                 os=
1581                 basic_machine=$1
1582                 ;;
1583 @@ -169,6 +173,10 @@ case $os in
1584         -hiux*)
1585                 os=-hiuxwe2
1586                 ;;
1587 +       -sco6)
1588 +               os=-sco5v6
1589 +               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1590 +               ;;
1591         -sco5)
1592                 os=-sco3.2v5
1593                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1594 @@ -185,6 +193,10 @@ case $os in
1595                 # Don't forget version if it is 3.2v4 or newer.
1596                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1597                 ;;
1598 +       -sco5v6*)
1599 +               # Don't forget version if it is 3.2v4 or newer.
1600 +               basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1601 +               ;;
1602         -sco*)
1603                 os=-sco3.2v2
1604                 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
1605 @@ -228,31 +240,52 @@ case $basic_machine in
1606         | a29k \
1607         | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
1608         | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
1609 -       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
1610 +       | am33_2.0 \
1611 +       | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
1612 +       | bfin \
1613         | c4x | clipper \
1614 -       | d10v | d30v | dsp16xx \
1615 -       | fr30 \
1616 +       | d10v | d30v | dlx | dsp16xx \
1617 +       | fido | fr30 | frv \
1618         | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1619         | i370 | i860 | i960 | ia64 \
1620 -       | m32r | m68000 | m68k | m88k | mcore \
1621 -       | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
1622 -       | mips64vr4100 | mips64vr4100el | mips64vr4300 \
1623 -       | mips64vr4300el | mips64vr5000 | mips64vr5000el \
1624 -       | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
1625 -       | mipsisa32 | mipsisa64 \
1626 +       | ip2k | iq2000 \
1627 +       | m32c | m32r | m32rle | m68000 | m68k | m88k \
1628 +       | maxq | mb | microblaze | mcore | mep \
1629 +       | mips | mipsbe | mipseb | mipsel | mipsle \
1630 +       | mips16 \
1631 +       | mips64 | mips64el \
1632 +       | mips64vr | mips64vrel \
1633 +       | mips64orion | mips64orionel \
1634 +       | mips64vr4100 | mips64vr4100el \
1635 +       | mips64vr4300 | mips64vr4300el \
1636 +       | mips64vr5000 | mips64vr5000el \
1637 +       | mips64vr5900 | mips64vr5900el \
1638 +       | mipsisa32 | mipsisa32el \
1639 +       | mipsisa32r2 | mipsisa32r2el \
1640 +       | mipsisa64 | mipsisa64el \
1641 +       | mipsisa64r2 | mipsisa64r2el \
1642 +       | mipsisa64sb1 | mipsisa64sb1el \
1643 +       | mipsisa64sr71k | mipsisa64sr71kel \
1644 +       | mipstx39 | mipstx39el \
1645         | mn10200 | mn10300 \
1646 +       | mt \
1647 +       | msp430 \
1648 +       | nios | nios2 \
1649         | ns16k | ns32k \
1650 -       | openrisc | or32 \
1651 +       | or32 \
1652         | pdp10 | pdp11 | pj | pjl \
1653         | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
1654         | pyramid \
1655 -       | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
1656 -       | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
1657 -       | strongarm \
1658 -       | tahoe | thumb | tic80 | tron \
1659 +       | score \
1660 +       | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
1661 +       | sh64 | sh64le \
1662 +       | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
1663 +       | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
1664 +       | spu | strongarm \
1665 +       | tahoe | thumb | tic4x | tic80 | tron \
1666         | v850 | v850e \
1667         | we32k \
1668 -       | x86 | xscale | xstormy16 | xtensa \
1669 +       | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
1670         | z8k)
1671                 basic_machine=$basic_machine-unknown
1672                 ;;
1673 @@ -263,6 +296,9 @@ case $basic_machine in
1674                 ;;
1675         m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
1676                 ;;
1677 +       ms1)
1678 +               basic_machine=mt-unknown
1679 +               ;;
1680  
1681         # We use `pc' rather than `unknown'
1682         # because (1) that's what they normally are, and
1683 @@ -281,38 +317,59 @@ case $basic_machine in
1684         | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
1685         | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
1686         | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
1687 -       | arm-*  | armbe-* | armle-* | armv*-* \
1688 -       | avr-* \
1689 -       | bs2000-* \
1690 -       | c[123]* | c30-* | [cjt]90-* | c54x-* \
1691 -       | clipper-* | cydra-* \
1692 -       | d10v-* | d30v-* \
1693 +       | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
1694 +       | avr-* | avr32-* \
1695 +       | bfin-* | bs2000-* \
1696 +       | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
1697 +       | clipper-* | craynv-* | cydra-* \
1698 +       | d10v-* | d30v-* | dlx-* \
1699         | elxsi-* \
1700 -       | f30[01]-* | f700-* | fr30-* | fx80-* \
1701 +       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
1702         | h8300-* | h8500-* \
1703         | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
1704         | i*86-* | i860-* | i960-* | ia64-* \
1705 -       | m32r-* \
1706 +       | ip2k-* | iq2000-* \
1707 +       | m32c-* | m32r-* | m32rle-* \
1708         | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
1709 -       | m88110-* | m88k-* | mcore-* \
1710 -       | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
1711 -       | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
1712 -       | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
1713 -       | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
1714 +       | m88110-* | m88k-* | maxq-* | mcore-* \
1715 +       | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
1716 +       | mips16-* \
1717 +       | mips64-* | mips64el-* \
1718 +       | mips64vr-* | mips64vrel-* \
1719 +       | mips64orion-* | mips64orionel-* \
1720 +       | mips64vr4100-* | mips64vr4100el-* \
1721 +       | mips64vr4300-* | mips64vr4300el-* \
1722 +       | mips64vr5000-* | mips64vr5000el-* \
1723 +       | mips64vr5900-* | mips64vr5900el-* \
1724 +       | mipsisa32-* | mipsisa32el-* \
1725 +       | mipsisa32r2-* | mipsisa32r2el-* \
1726 +       | mipsisa64-* | mipsisa64el-* \
1727 +       | mipsisa64r2-* | mipsisa64r2el-* \
1728 +       | mipsisa64sb1-* | mipsisa64sb1el-* \
1729 +       | mipsisa64sr71k-* | mipsisa64sr71kel-* \
1730 +       | mipstx39-* | mipstx39el-* \
1731 +       | mmix-* \
1732 +       | mt-* \
1733 +       | msp430-* \
1734 +       | nios-* | nios2-* \
1735         | none-* | np1-* | ns16k-* | ns32k-* \
1736         | orion-* \
1737         | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
1738         | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
1739         | pyramid-* \
1740         | romp-* | rs6000-* \
1741 -       | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
1742 -       | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
1743 -       | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
1744 -       | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
1745 +       | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
1746 +       | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
1747 +       | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
1748 +       | sparclite-* \
1749 +       | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
1750 +       | tahoe-* | thumb-* \
1751 +       | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
1752 +       | tron-* \
1753         | v850-* | v850e-* | vax-* \
1754         | we32k-* \
1755 -       | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
1756 -       | xtensa-* \
1757 +       | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
1758 +       | xstormy16-* | xtensa-* \
1759         | ymp-* \
1760         | z8k-*)
1761                 ;;
1762 @@ -332,6 +389,9 @@ case $basic_machine in
1763                 basic_machine=a29k-amd
1764                 os=-udi
1765                 ;;
1766 +       abacus)
1767 +               basic_machine=abacus-unknown
1768 +               ;;
1769         adobe68k)
1770                 basic_machine=m68010-adobe
1771                 os=-scout
1772 @@ -346,6 +406,12 @@ case $basic_machine in
1773                 basic_machine=a29k-none
1774                 os=-bsd
1775                 ;;
1776 +       amd64)
1777 +               basic_machine=x86_64-pc
1778 +               ;;
1779 +       amd64-*)
1780 +               basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
1781 +               ;;
1782         amdahl)
1783                 basic_machine=580-amdahl
1784                 os=-sysv
1785 @@ -405,12 +471,27 @@ case $basic_machine in
1786                 basic_machine=j90-cray
1787                 os=-unicos
1788                 ;;
1789 +       craynv)
1790 +               basic_machine=craynv-cray
1791 +               os=-unicosmp
1792 +               ;;
1793 +       cr16)
1794 +               basic_machine=cr16-unknown
1795 +               os=-elf
1796 +               ;;
1797         crds | unos)
1798                 basic_machine=m68k-crds
1799                 ;;
1800 +       crisv32 | crisv32-* | etraxfs*)
1801 +               basic_machine=crisv32-axis
1802 +               ;;
1803         cris | cris-* | etrax*)
1804                 basic_machine=cris-axis
1805                 ;;
1806 +       crx)
1807 +               basic_machine=crx-unknown
1808 +               os=-elf
1809 +               ;;
1810         da30 | da30-*)
1811                 basic_machine=m68k-da30
1812                 ;;
1813 @@ -433,6 +514,10 @@ case $basic_machine in
1814                 basic_machine=m88k-motorola
1815                 os=-sysv3
1816                 ;;
1817 +       djgpp)
1818 +               basic_machine=i586-pc
1819 +               os=-msdosdjgpp
1820 +               ;;
1821         dpx20 | dpx20-*)
1822                 basic_machine=rs6000-bull
1823                 os=-bosx
1824 @@ -598,6 +683,10 @@ case $basic_machine in
1825                 basic_machine=i386-pc
1826                 os=-mingw32
1827                 ;;
1828 +       mingw32ce)
1829 +               basic_machine=arm-unknown
1830 +               os=-mingw32ce
1831 +               ;;
1832         miniframe)
1833                 basic_machine=m68000-convergent
1834                 ;;
1835 @@ -611,10 +700,6 @@ case $basic_machine in
1836         mips3*)
1837                 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
1838                 ;;
1839 -       mmix*)
1840 -               basic_machine=mmix-knuth
1841 -               os=-mmixware
1842 -               ;;
1843         monitor)
1844                 basic_machine=m68k-rom68k
1845                 os=-coff
1846 @@ -627,6 +712,9 @@ case $basic_machine in
1847                 basic_machine=i386-pc
1848                 os=-msdos
1849                 ;;
1850 +       ms1-*)
1851 +               basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
1852 +               ;;
1853         mvs)
1854                 basic_machine=i370-ibm
1855                 os=-mvs
1856 @@ -702,9 +790,12 @@ case $basic_machine in
1857                 basic_machine=hppa1.1-oki
1858                 os=-proelf
1859                 ;;
1860 -       or32 | or32-*)
1861 +       openrisc | openrisc-*)
1862                 basic_machine=or32-unknown
1863 -               os=-coff
1864 +               ;;
1865 +       os400)
1866 +               basic_machine=powerpc-ibm
1867 +               os=-os400
1868                 ;;
1869         OSE68000 | ose68000)
1870                 basic_machine=m68000-ericsson
1871 @@ -728,49 +819,61 @@ case $basic_machine in
1872         pbb)
1873                 basic_machine=m68k-tti
1874                 ;;
1875 -        pc532 | pc532-*)
1876 +       pc532 | pc532-*)
1877                 basic_machine=ns32k-pc532
1878                 ;;
1879 +       pc98)
1880 +               basic_machine=i386-pc
1881 +               ;;
1882 +       pc98-*)
1883 +               basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
1884 +               ;;
1885         pentium | p5 | k5 | k6 | nexgen | viac3)
1886                 basic_machine=i586-pc
1887                 ;;
1888 -       pentiumpro | p6 | 6x86 | athlon)
1889 +       pentiumpro | p6 | 6x86 | athlon | athlon_*)
1890                 basic_machine=i686-pc
1891                 ;;
1892 -       pentiumii | pentium2)
1893 +       pentiumii | pentium2 | pentiumiii | pentium3)
1894                 basic_machine=i686-pc
1895                 ;;
1896 +       pentium4)
1897 +               basic_machine=i786-pc
1898 +               ;;
1899         pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1900                 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
1901                 ;;
1902         pentiumpro-* | p6-* | 6x86-* | athlon-*)
1903                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1904                 ;;
1905 -       pentiumii-* | pentium2-*)
1906 +       pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1907                 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1908                 ;;
1909 +       pentium4-*)
1910 +               basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1911 +               ;;
1912         pn)
1913                 basic_machine=pn-gould
1914                 ;;
1915         power)  basic_machine=power-ibm
1916                 ;;
1917         ppc)    basic_machine=powerpc-unknown
1918 -               ;;
1919 +               ;;
1920         ppc-*)  basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1921                 ;;
1922         ppcle | powerpclittle | ppc-le | powerpc-little)
1923                 basic_machine=powerpcle-unknown
1924 -               ;;
1925 +               ;;
1926         ppcle-* | powerpclittle-*)
1927                 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1928                 ;;
1929         ppc64)  basic_machine=powerpc64-unknown
1930 -               ;;
1931 +               ;;
1932         ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1933                 ;;
1934         ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1935                 basic_machine=powerpc64le-unknown
1936 -               ;;
1937 +               ;;
1938         ppc64le-* | powerpc64little-*)
1939                 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1940                 ;;
1941 @@ -781,6 +884,10 @@ case $basic_machine in
1942                 basic_machine=i586-unknown
1943                 os=-pw32
1944                 ;;
1945 +       rdos)
1946 +               basic_machine=i386-pc
1947 +               os=-rdos
1948 +               ;;
1949         rom68k)
1950                 basic_machine=m68k-rom68k
1951                 os=-coff
1952 @@ -801,6 +908,20 @@ case $basic_machine in
1953                 basic_machine=a29k-amd
1954                 os=-udi
1955                 ;;
1956 +       sb1)
1957 +               basic_machine=mipsisa64sb1-unknown
1958 +               ;;
1959 +       sb1el)
1960 +               basic_machine=mipsisa64sb1el-unknown
1961 +               ;;
1962 +       sde)
1963 +               basic_machine=mipsisa32-sde
1964 +               os=-elf
1965 +               ;;
1966 +       sei)
1967 +               basic_machine=mips-sei
1968 +               os=-seiux
1969 +               ;;
1970         sequent)
1971                 basic_machine=i386-sequent
1972                 ;;
1973 @@ -808,6 +929,12 @@ case $basic_machine in
1974                 basic_machine=sh-hitachi
1975                 os=-hms
1976                 ;;
1977 +       sh5el)
1978 +               basic_machine=sh5le-unknown
1979 +               ;;
1980 +       sh64)
1981 +               basic_machine=sh64-unknown
1982 +               ;;
1983         sparclite-wrs | simso-wrs)
1984                 basic_machine=sparclite-wrs
1985                 os=-vxworks
1986 @@ -866,7 +993,7 @@ case $basic_machine in
1987         sun386 | sun386i | roadrunner)
1988                 basic_machine=i386-sun
1989                 ;;
1990 -        sv1)
1991 +       sv1)
1992                 basic_machine=sv1-cray
1993                 os=-unicos
1994                 ;;
1995 @@ -874,10 +1001,6 @@ case $basic_machine in
1996                 basic_machine=i386-sequent
1997                 os=-dynix
1998                 ;;
1999 -       t3d)
2000 -               basic_machine=alpha-cray
2001 -               os=-unicos
2002 -               ;;
2003         t3e)
2004                 basic_machine=alphaev5-cray
2005                 os=-unicos
2006 @@ -890,6 +1013,14 @@ case $basic_machine in
2007                 basic_machine=tic54x-unknown
2008                 os=-coff
2009                 ;;
2010 +       tic55x | c55x*)
2011 +               basic_machine=tic55x-unknown
2012 +               os=-coff
2013 +               ;;
2014 +       tic6x | c6x*)
2015 +               basic_machine=tic6x-unknown
2016 +               os=-coff
2017 +               ;;
2018         tx39)
2019                 basic_machine=mipstx39-unknown
2020                 ;;
2021 @@ -903,6 +1034,10 @@ case $basic_machine in
2022         tower | tower-32)
2023                 basic_machine=m68k-ncr
2024                 ;;
2025 +       tpf)
2026 +               basic_machine=s390x-ibm
2027 +               os=-tpf
2028 +               ;;
2029         udi29k)
2030                 basic_machine=a29k-amd
2031                 os=-udi
2032 @@ -924,8 +1059,8 @@ case $basic_machine in
2033                 os=-vms
2034                 ;;
2035         vpp*|vx|vx-*)
2036 -               basic_machine=f301-fujitsu
2037 -               ;;
2038 +               basic_machine=f301-fujitsu
2039 +               ;;
2040         vxworks960)
2041                 basic_machine=i960-wrs
2042                 os=-vxworks
2043 @@ -946,11 +1081,11 @@ case $basic_machine in
2044                 basic_machine=hppa1.1-winbond
2045                 os=-proelf
2046                 ;;
2047 -       windows32)
2048 -               basic_machine=i386-pc
2049 -               os=-windows32-msvcrt
2050 +       xbox)
2051 +               basic_machine=i686-pc
2052 +               os=-mingw32
2053                 ;;
2054 -        xps | xps100)
2055 +       xps | xps100)
2056                 basic_machine=xps100-honeywell
2057                 ;;
2058         ymp)
2059 @@ -980,6 +1115,9 @@ case $basic_machine in
2060         romp)
2061                 basic_machine=romp-ibm
2062                 ;;
2063 +       mmix)
2064 +               basic_machine=mmix-knuth
2065 +               ;;
2066         rs6000)
2067                 basic_machine=rs6000-ibm
2068                 ;;
2069 @@ -996,16 +1134,13 @@ case $basic_machine in
2070         we32k)
2071                 basic_machine=we32k-att
2072                 ;;
2073 -       sh3 | sh4 | sh3eb | sh4eb)
2074 +       sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
2075                 basic_machine=sh-unknown
2076                 ;;
2077 -       sh64)
2078 -               basic_machine=sh64-unknown
2079 -               ;;
2080 -       sparc | sparcv9 | sparcv9b)
2081 +       sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
2082                 basic_machine=sparc-sun
2083                 ;;
2084 -        cydra)
2085 +       cydra)
2086                 basic_machine=cydra-cydrome
2087                 ;;
2088         orion)
2089 @@ -1020,10 +1155,6 @@ case $basic_machine in
2090         pmac | pmac-mpw)
2091                 basic_machine=powerpc-apple
2092                 ;;
2093 -       c4x*)
2094 -               basic_machine=c4x-none
2095 -               os=-coff
2096 -               ;;
2097         *-unknown)
2098                 # Make sure to match an already-canonicalized machine name.
2099                 ;;
2100 @@ -1079,18 +1210,23 @@ case $os in
2101               | -aos* \
2102               | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
2103               | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
2104 -             | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
2105 -             | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
2106 +             | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
2107 +             | -openbsd* | -solidbsd* \
2108 +             | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
2109 +             | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
2110               | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
2111               | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
2112               | -chorusos* | -chorusrdb* \
2113               | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
2114 -             | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
2115 -             | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
2116 +             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
2117 +             | -uxpv* | -beos* | -mpeix* | -udk* \
2118 +             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
2119               | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
2120               | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
2121               | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
2122 -             | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
2123 +             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
2124 +             | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
2125 +             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
2126         # Remember, each alternative MUST END IN *, to match a version number.
2127                 ;;
2128         -qnx*)
2129 @@ -1102,16 +1238,21 @@ case $os in
2130                         ;;
2131                 esac
2132                 ;;
2133 +       -nto-qnx*)
2134 +               ;;
2135         -nto*)
2136 -               os=-nto-qnx
2137 +               os=`echo $os | sed -e 's|nto|nto-qnx|'`
2138                 ;;
2139         -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
2140 -             | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
2141 +             | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
2142               | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
2143                 ;;
2144         -mac*)
2145                 os=`echo $os | sed -e 's|mac|macos|'`
2146                 ;;
2147 +       -linux-dietlibc)
2148 +               os=-linux-dietlibc
2149 +               ;;
2150         -linux*)
2151                 os=`echo $os | sed -e 's|linux|linux-gnu|'`
2152                 ;;
2153 @@ -1124,6 +1265,9 @@ case $os in
2154         -opened*)
2155                 os=-openedition
2156                 ;;
2157 +        -os400*)
2158 +               os=-os400
2159 +               ;;
2160         -wince*)
2161                 os=-wince
2162                 ;;
2163 @@ -1145,6 +1289,9 @@ case $os in
2164         -atheos*)
2165                 os=-atheos
2166                 ;;
2167 +       -syllable*)
2168 +               os=-syllable
2169 +               ;;
2170         -386bsd)
2171                 os=-bsd
2172                 ;;
2173 @@ -1155,7 +1302,7 @@ case $os in
2174                 os=-rtmk-nova
2175                 ;;
2176         -ns2 )
2177 -               os=-nextstep2
2178 +               os=-nextstep2
2179                 ;;
2180         -nsk*)
2181                 os=-nsk
2182 @@ -1167,6 +1314,9 @@ case $os in
2183         -sinix*)
2184                 os=-sysv4
2185                 ;;
2186 +        -tpf*)
2187 +               os=-tpf
2188 +               ;;
2189         -triton*)
2190                 os=-sysv3
2191                 ;;
2192 @@ -1194,8 +1344,17 @@ case $os in
2193         -xenix)
2194                 os=-xenix
2195                 ;;
2196 -        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
2197 -               os=-mint
2198 +       -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
2199 +               os=-mint
2200 +               ;;
2201 +       -aros*)
2202 +               os=-aros
2203 +               ;;
2204 +       -kaos*)
2205 +               os=-kaos
2206 +               ;;
2207 +       -zvmoe)
2208 +               os=-zvmoe
2209                 ;;
2210         -none)
2211                 ;;
2212 @@ -1219,6 +1378,12 @@ else
2213  # system, and we'll never get to this point.
2214  
2215  case $basic_machine in
2216 +        score-*)
2217 +               os=-elf
2218 +               ;;
2219 +        spu-*)
2220 +               os=-elf
2221 +               ;;
2222         *-acorn)
2223                 os=-riscix1.2
2224                 ;;
2225 @@ -1228,11 +1393,14 @@ case $basic_machine in
2226         arm*-semi)
2227                 os=-aout
2228                 ;;
2229 +        c4x-* | tic4x-*)
2230 +               os=-coff
2231 +               ;;
2232         # This must come before the *-dec entry.
2233         pdp10-*)
2234                 os=-tops20
2235                 ;;
2236 -        pdp11-*)
2237 +       pdp11-*)
2238                 os=-none
2239                 ;;
2240         *-dec | vax-*)
2241 @@ -1253,6 +1421,9 @@ case $basic_machine in
2242         m68*-cisco)
2243                 os=-aout
2244                 ;;
2245 +        mep-*)
2246 +               os=-elf
2247 +               ;;
2248         mips*-cisco)
2249                 os=-elf
2250                 ;;
2251 @@ -1271,9 +1442,15 @@ case $basic_machine in
2252         *-be)
2253                 os=-beos
2254                 ;;
2255 +       *-haiku)
2256 +               os=-haiku
2257 +               ;;
2258         *-ibm)
2259                 os=-aix
2260                 ;;
2261 +       *-knuth)
2262 +               os=-mmixware
2263 +               ;;
2264         *-wec)
2265                 os=-proelf
2266                 ;;
2267 @@ -1325,19 +1502,19 @@ case $basic_machine in
2268         *-next)
2269                 os=-nextstep3
2270                 ;;
2271 -        *-gould)
2272 +       *-gould)
2273                 os=-sysv
2274                 ;;
2275 -        *-highlevel)
2276 +       *-highlevel)
2277                 os=-bsd
2278                 ;;
2279         *-encore)
2280                 os=-bsd
2281                 ;;
2282 -        *-sgi)
2283 +       *-sgi)
2284                 os=-irix
2285                 ;;
2286 -        *-siemens)
2287 +       *-siemens)
2288                 os=-sysv4
2289                 ;;
2290         *-masscomp)
2291 @@ -1406,10 +1583,16 @@ case $basic_machine in
2292                         -mvs* | -opened*)
2293                                 vendor=ibm
2294                                 ;;
2295 +                       -os400*)
2296 +                               vendor=ibm
2297 +                               ;;
2298                         -ptx*)
2299                                 vendor=sequent
2300                                 ;;
2301 -                       -vxsim* | -vxworks*)
2302 +                       -tpf*)
2303 +                               vendor=ibm
2304 +                               ;;
2305 +                       -vxsim* | -vxworks* | -windiss*)
2306                                 vendor=wrs
2307                                 ;;
2308                         -aux*)
2309 @@ -1433,7 +1616,7 @@ case $basic_machine in
2310  esac
2311  
2312  echo $basic_machine$os
2313 -exit 0
2314 +exit
2315  
2316  # Local variables:
2317  # eval: (add-hook 'write-file-hooks 'time-stamp)
2318 diff --git a/configure b/configure
2319 index 416848d..188bc18 100755
2320 --- a/configure
2321 +++ b/configure
2322 @@ -1,25 +1,54 @@
2323  #! /bin/sh
2324  # Guess values for system-dependent variables and create Makefiles.
2325 -# Generated by GNU Autoconf 2.59.
2326 +# Generated by GNU Autoconf 2.61.
2327  #
2328 -# Copyright (C) 2003 Free Software Foundation, Inc.
2329 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2330 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2331  # This configure script is free software; the Free Software Foundation
2332  # gives unlimited permission to copy, distribute and modify it.
2333  ## --------------------- ##
2334  ## M4sh Initialization.  ##
2335  ## --------------------- ##
2336  
2337 -# Be Bourne compatible
2338 +# Be more Bourne compatible
2339 +DUALCASE=1; export DUALCASE # for MKS sh
2340  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2341    emulate sh
2342    NULLCMD=:
2343    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2344    # is contrary to our usage.  Disable this feature.
2345    alias -g '${1+"$@"}'='"$@"'
2346 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2347 -  set -o posix
2348 +  setopt NO_GLOB_SUBST
2349 +else
2350 +  case `(set -o) 2>/dev/null` in
2351 +  *posix*) set -o posix ;;
2352 +esac
2353 +
2354 +fi
2355 +
2356 +
2357 +
2358 +
2359 +# PATH needs CR
2360 +# Avoid depending upon Character Ranges.
2361 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2362 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2363 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2364 +as_cr_digits='0123456789'
2365 +as_cr_alnum=$as_cr_Letters$as_cr_digits
2366 +
2367 +# The user is always right.
2368 +if test "${PATH_SEPARATOR+set}" != set; then
2369 +  echo "#! /bin/sh" >conf$$.sh
2370 +  echo  "exit 0"   >>conf$$.sh
2371 +  chmod +x conf$$.sh
2372 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2373 +    PATH_SEPARATOR=';'
2374 +  else
2375 +    PATH_SEPARATOR=:
2376 +  fi
2377 +  rm -f conf$$.sh
2378  fi
2379 -DUALCASE=1; export DUALCASE # for MKS sh
2380  
2381  # Support unset when possible.
2382  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2383 @@ -29,8 +58,43 @@ else
2384  fi
2385  
2386  
2387 +# IFS
2388 +# We need space, tab and new line, in precisely that order.  Quoting is
2389 +# there to prevent editors from complaining about space-tab.
2390 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2391 +# splitting by setting IFS to empty value.)
2392 +as_nl='
2393 +'
2394 +IFS=" ""       $as_nl"
2395 +
2396 +# Find who we are.  Look in the path if we contain no directory separator.
2397 +case $0 in
2398 +  *[\\/]* ) as_myself=$0 ;;
2399 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 +for as_dir in $PATH
2401 +do
2402 +  IFS=$as_save_IFS
2403 +  test -z "$as_dir" && as_dir=.
2404 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2405 +done
2406 +IFS=$as_save_IFS
2407 +
2408 +     ;;
2409 +esac
2410 +# We did not find ourselves, most probably we were run as `sh COMMAND'
2411 +# in which case we are not to be found in the path.
2412 +if test "x$as_myself" = x; then
2413 +  as_myself=$0
2414 +fi
2415 +if test ! -f "$as_myself"; then
2416 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2417 +  { (exit 1); exit 1; }
2418 +fi
2419 +
2420  # Work around bugs in pre-3.0 UWIN ksh.
2421 -$as_unset ENV MAIL MAILPATH
2422 +for as_var in ENV MAIL MAILPATH
2423 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2424 +done
2425  PS1='$ '
2426  PS2='> '
2427  PS4='+ '
2428 @@ -44,18 +108,19 @@ do
2429    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2430      eval $as_var=C; export $as_var
2431    else
2432 -    $as_unset $as_var
2433 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2434    fi
2435  done
2436  
2437  # Required to use basename.
2438 -if expr a : '\(a\)' >/dev/null 2>&1; then
2439 +if expr a : '\(a\)' >/dev/null 2>&1 &&
2440 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2441    as_expr=expr
2442  else
2443    as_expr=false
2444  fi
2445  
2446 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2447 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2448    as_basename=basename
2449  else
2450    as_basename=false
2451 @@ -63,157 +128,388 @@ fi
2452  
2453  
2454  # Name of the executable.
2455 -as_me=`$as_basename "$0" ||
2456 +as_me=`$as_basename -- "$0" ||
2457  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2458          X"$0" : 'X\(//\)$' \| \
2459 -        X"$0" : 'X\(/\)$' \| \
2460 -        .     : '\(.\)' 2>/dev/null ||
2461 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2462  echo X/"$0" |
2463 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2464 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
2465 -         /^X\/\(\/\).*/{ s//\1/; q; }
2466 -         s/.*/./; q'`
2467 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
2468 +           s//\1/
2469 +           q
2470 +         }
2471 +         /^X\/\(\/\/\)$/{
2472 +           s//\1/
2473 +           q
2474 +         }
2475 +         /^X\/\(\/\).*/{
2476 +           s//\1/
2477 +           q
2478 +         }
2479 +         s/.*/./; q'`
2480  
2481 +# CDPATH.
2482 +$as_unset CDPATH
2483  
2484 -# PATH needs CR, and LINENO needs CR and PATH.
2485 -# Avoid depending upon Character Ranges.
2486 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2487 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2488 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2489 -as_cr_digits='0123456789'
2490 -as_cr_alnum=$as_cr_Letters$as_cr_digits
2491  
2492 -# The user is always right.
2493 -if test "${PATH_SEPARATOR+set}" != set; then
2494 -  echo "#! /bin/sh" >conf$$.sh
2495 -  echo  "exit 0"   >>conf$$.sh
2496 -  chmod +x conf$$.sh
2497 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2498 -    PATH_SEPARATOR=';'
2499 -  else
2500 -    PATH_SEPARATOR=:
2501 -  fi
2502 -  rm -f conf$$.sh
2503 +if test "x$CONFIG_SHELL" = x; then
2504 +  if (eval ":") 2>/dev/null; then
2505 +  as_have_required=yes
2506 +else
2507 +  as_have_required=no
2508  fi
2509  
2510 +  if test $as_have_required = yes &&    (eval ":
2511 +(as_func_return () {
2512 +  (exit \$1)
2513 +}
2514 +as_func_success () {
2515 +  as_func_return 0
2516 +}
2517 +as_func_failure () {
2518 +  as_func_return 1
2519 +}
2520 +as_func_ret_success () {
2521 +  return 0
2522 +}
2523 +as_func_ret_failure () {
2524 +  return 1
2525 +}
2526  
2527 -  as_lineno_1=$LINENO
2528 -  as_lineno_2=$LINENO
2529 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2530 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
2531 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2532 -  # Find who we are.  Look in the path if we contain no path at all
2533 -  # relative or not.
2534 -  case $0 in
2535 -    *[\\/]* ) as_myself=$0 ;;
2536 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 -for as_dir in $PATH
2538 -do
2539 -  IFS=$as_save_IFS
2540 -  test -z "$as_dir" && as_dir=.
2541 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2542 -done
2543 +exitcode=0
2544 +if as_func_success; then
2545 +  :
2546 +else
2547 +  exitcode=1
2548 +  echo as_func_success failed.
2549 +fi
2550  
2551 -       ;;
2552 -  esac
2553 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
2554 -  # in which case we are not to be found in the path.
2555 -  if test "x$as_myself" = x; then
2556 -    as_myself=$0
2557 -  fi
2558 -  if test ! -f "$as_myself"; then
2559 -    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
2560 -   { (exit 1); exit 1; }; }
2561 -  fi
2562 -  case $CONFIG_SHELL in
2563 -  '')
2564 +if as_func_failure; then
2565 +  exitcode=1
2566 +  echo as_func_failure succeeded.
2567 +fi
2568 +
2569 +if as_func_ret_success; then
2570 +  :
2571 +else
2572 +  exitcode=1
2573 +  echo as_func_ret_success failed.
2574 +fi
2575 +
2576 +if as_func_ret_failure; then
2577 +  exitcode=1
2578 +  echo as_func_ret_failure succeeded.
2579 +fi
2580 +
2581 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2582 +  :
2583 +else
2584 +  exitcode=1
2585 +  echo positional parameters were not saved.
2586 +fi
2587 +
2588 +test \$exitcode = 0) || { (exit 1); exit 1; }
2589 +
2590 +(
2591 +  as_lineno_1=\$LINENO
2592 +  as_lineno_2=\$LINENO
2593 +  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
2594 +  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
2595 +") 2> /dev/null; then
2596 +  :
2597 +else
2598 +  as_candidate_shells=
2599      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2601  do
2602    IFS=$as_save_IFS
2603    test -z "$as_dir" && as_dir=.
2604 -  for as_base in sh bash ksh sh5; do
2605 -        case $as_dir in
2606 +  case $as_dir in
2607          /*)
2608 -          if ("$as_dir/$as_base" -c '
2609 +          for as_base in sh bash ksh sh5; do
2610 +            as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
2611 +          done;;
2612 +       esac
2613 +done
2614 +IFS=$as_save_IFS
2615 +
2616 +
2617 +      for as_shell in $as_candidate_shells $SHELL; do
2618 +        # Try only shells that exist, to save several forks.
2619 +        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
2620 +               { ("$as_shell") 2> /dev/null <<\_ASEOF
2621 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2622 +  emulate sh
2623 +  NULLCMD=:
2624 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2625 +  # is contrary to our usage.  Disable this feature.
2626 +  alias -g '${1+"$@"}'='"$@"'
2627 +  setopt NO_GLOB_SUBST
2628 +else
2629 +  case `(set -o) 2>/dev/null` in
2630 +  *posix*) set -o posix ;;
2631 +esac
2632 +
2633 +fi
2634 +
2635 +
2636 +:
2637 +_ASEOF
2638 +}; then
2639 +  CONFIG_SHELL=$as_shell
2640 +              as_have_required=yes
2641 +              if { "$as_shell" 2> /dev/null <<\_ASEOF
2642 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2643 +  emulate sh
2644 +  NULLCMD=:
2645 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2646 +  # is contrary to our usage.  Disable this feature.
2647 +  alias -g '${1+"$@"}'='"$@"'
2648 +  setopt NO_GLOB_SUBST
2649 +else
2650 +  case `(set -o) 2>/dev/null` in
2651 +  *posix*) set -o posix ;;
2652 +esac
2653 +
2654 +fi
2655 +
2656 +
2657 +:
2658 +(as_func_return () {
2659 +  (exit $1)
2660 +}
2661 +as_func_success () {
2662 +  as_func_return 0
2663 +}
2664 +as_func_failure () {
2665 +  as_func_return 1
2666 +}
2667 +as_func_ret_success () {
2668 +  return 0
2669 +}
2670 +as_func_ret_failure () {
2671 +  return 1
2672 +}
2673 +
2674 +exitcode=0
2675 +if as_func_success; then
2676 +  :
2677 +else
2678 +  exitcode=1
2679 +  echo as_func_success failed.
2680 +fi
2681 +
2682 +if as_func_failure; then
2683 +  exitcode=1
2684 +  echo as_func_failure succeeded.
2685 +fi
2686 +
2687 +if as_func_ret_success; then
2688 +  :
2689 +else
2690 +  exitcode=1
2691 +  echo as_func_ret_success failed.
2692 +fi
2693 +
2694 +if as_func_ret_failure; then
2695 +  exitcode=1
2696 +  echo as_func_ret_failure succeeded.
2697 +fi
2698 +
2699 +if ( set x; as_func_ret_success y && test x = "$1" ); then
2700 +  :
2701 +else
2702 +  exitcode=1
2703 +  echo positional parameters were not saved.
2704 +fi
2705 +
2706 +test $exitcode = 0) || { (exit 1); exit 1; }
2707 +
2708 +(
2709    as_lineno_1=$LINENO
2710    as_lineno_2=$LINENO
2711 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2712    test "x$as_lineno_1" != "x$as_lineno_2" &&
2713 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2714 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2715 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2716 -            CONFIG_SHELL=$as_dir/$as_base
2717 -            export CONFIG_SHELL
2718 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2719 -          fi;;
2720 -        esac
2721 -       done
2722 -done
2723 -;;
2724 -  esac
2725 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
2726 +
2727 +_ASEOF
2728 +}; then
2729 +  break
2730 +fi
2731 +
2732 +fi
2733 +
2734 +      done
2735 +
2736 +      if test "x$CONFIG_SHELL" != x; then
2737 +  for as_var in BASH_ENV ENV
2738 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2739 +        done
2740 +        export CONFIG_SHELL
2741 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
2742 +fi
2743 +
2744 +
2745 +    if test $as_have_required = no; then
2746 +  echo This script requires a shell more modern than all the
2747 +      echo shells that I found on your system.  Please install a
2748 +      echo modern shell, or manually run the script under such a
2749 +      echo shell if you do have one.
2750 +      { (exit 1); exit 1; }
2751 +fi
2752 +
2753 +
2754 +fi
2755 +
2756 +fi
2757 +
2758 +
2759 +
2760 +(eval "as_func_return () {
2761 +  (exit \$1)
2762 +}
2763 +as_func_success () {
2764 +  as_func_return 0
2765 +}
2766 +as_func_failure () {
2767 +  as_func_return 1
2768 +}
2769 +as_func_ret_success () {
2770 +  return 0
2771 +}
2772 +as_func_ret_failure () {
2773 +  return 1
2774 +}
2775 +
2776 +exitcode=0
2777 +if as_func_success; then
2778 +  :
2779 +else
2780 +  exitcode=1
2781 +  echo as_func_success failed.
2782 +fi
2783 +
2784 +if as_func_failure; then
2785 +  exitcode=1
2786 +  echo as_func_failure succeeded.
2787 +fi
2788 +
2789 +if as_func_ret_success; then
2790 +  :
2791 +else
2792 +  exitcode=1
2793 +  echo as_func_ret_success failed.
2794 +fi
2795 +
2796 +if as_func_ret_failure; then
2797 +  exitcode=1
2798 +  echo as_func_ret_failure succeeded.
2799 +fi
2800 +
2801 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
2802 +  :
2803 +else
2804 +  exitcode=1
2805 +  echo positional parameters were not saved.
2806 +fi
2807 +
2808 +test \$exitcode = 0") || {
2809 +  echo No shell found that supports shell functions.
2810 +  echo Please tell autoconf@gnu.org about your system,
2811 +  echo including any error possibly output before this
2812 +  echo message
2813 +}
2814 +
2815 +
2816 +
2817 +  as_lineno_1=$LINENO
2818 +  as_lineno_2=$LINENO
2819 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
2820 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2821  
2822    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2823    # uniformly replaced by the line number.  The first 'sed' inserts a
2824 -  # line-number line before each line; the second 'sed' does the real
2825 -  # work.  The second script uses 'N' to pair each line-number line
2826 -  # with the numbered line, and appends trailing '-' during
2827 -  # substitution so that $LINENO is not a special case at line end.
2828 +  # line-number line after each line using $LINENO; the second 'sed'
2829 +  # does the real work.  The second script uses 'N' to pair each
2830 +  # line-number line with the line containing $LINENO, and appends
2831 +  # trailing '-' during substitution so that $LINENO is not a special
2832 +  # case at line end.
2833    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2834 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2835 -  sed '=' <$as_myself |
2836 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
2837 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
2838 +  sed -n '
2839 +    p
2840 +    /[$]LINENO/=
2841 +  ' <$as_myself |
2842      sed '
2843 +      s/[$]LINENO.*/&-/
2844 +      t lineno
2845 +      b
2846 +      :lineno
2847        N
2848 -      s,$,-,
2849 -      : loop
2850 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2851 +      :loop
2852 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2853        t loop
2854 -      s,-$,,
2855 -      s,^['$as_cr_digits']*\n,,
2856 +      s/-\n.*//
2857      ' >$as_me.lineno &&
2858 -  chmod +x $as_me.lineno ||
2859 +  chmod +x "$as_me.lineno" ||
2860      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2861     { (exit 1); exit 1; }; }
2862  
2863    # Don't try to exec as it changes $[0], causing all sort of problems
2864    # (the dirname of $[0] is not the place where we might find the
2865 -  # original and so on.  Autoconf is especially sensible to this).
2866 -  . ./$as_me.lineno
2867 +  # original and so on.  Autoconf is especially sensitive to this).
2868 +  . "./$as_me.lineno"
2869    # Exit status is that of the last command.
2870    exit
2871  }
2872  
2873  
2874 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2875 -  *c*,-n*) ECHO_N= ECHO_C='
2876 -' ECHO_T='     ' ;;
2877 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2878 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2879 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2880 +  as_dirname=dirname
2881 +else
2882 +  as_dirname=false
2883 +fi
2884 +
2885 +ECHO_C= ECHO_N= ECHO_T=
2886 +case `echo -n x` in
2887 +-n*)
2888 +  case `echo 'x\c'` in
2889 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
2890 +  *)   ECHO_C='\c';;
2891 +  esac;;
2892 +*)
2893 +  ECHO_N='-n';;
2894  esac
2895  
2896 -if expr a : '\(a\)' >/dev/null 2>&1; then
2897 +if expr a : '\(a\)' >/dev/null 2>&1 &&
2898 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2899    as_expr=expr
2900  else
2901    as_expr=false
2902  fi
2903  
2904  rm -f conf$$ conf$$.exe conf$$.file
2905 +if test -d conf$$.dir; then
2906 +  rm -f conf$$.dir/conf$$.file
2907 +else
2908 +  rm -f conf$$.dir
2909 +  mkdir conf$$.dir
2910 +fi
2911  echo >conf$$.file
2912  if ln -s conf$$.file conf$$ 2>/dev/null; then
2913 -  # We could just check for DJGPP; but this test a) works b) is more generic
2914 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2915 -  if test -f conf$$.exe; then
2916 -    # Don't use ln at all; we don't have any links
2917 +  as_ln_s='ln -s'
2918 +  # ... but there are two gotchas:
2919 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2920 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2921 +  # In both cases, we have to default to `cp -p'.
2922 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2923      as_ln_s='cp -p'
2924 -  else
2925 -    as_ln_s='ln -s'
2926 -  fi
2927  elif ln conf$$.file conf$$ 2>/dev/null; then
2928    as_ln_s=ln
2929  else
2930    as_ln_s='cp -p'
2931  fi
2932 -rm -f conf$$ conf$$.exe conf$$.file
2933 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2934 +rmdir conf$$.dir 2>/dev/null
2935  
2936  if mkdir -p . 2>/dev/null; then
2937    as_mkdir_p=:
2938 @@ -222,7 +518,28 @@ else
2939    as_mkdir_p=false
2940  fi
2941  
2942 -as_executable_p="test -f"
2943 +if test -x / >/dev/null 2>&1; then
2944 +  as_test_x='test -x'
2945 +else
2946 +  if ls -dL / >/dev/null 2>&1; then
2947 +    as_ls_L_option=L
2948 +  else
2949 +    as_ls_L_option=
2950 +  fi
2951 +  as_test_x='
2952 +    eval sh -c '\''
2953 +      if test -d "$1"; then
2954 +        test -d "$1/.";
2955 +      else
2956 +       case $1 in
2957 +        -*)set "./$1";;
2958 +       esac;
2959 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2960 +       ???[sx]*):;;*)false;;esac;fi
2961 +    '\'' sh
2962 +  '
2963 +fi
2964 +as_executable_p=$as_test_x
2965  
2966  # Sed expression to map a string onto a valid CPP name.
2967  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2968 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2969  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2970  
2971  
2972 -# IFS
2973 -# We need space, tab and new line, in precisely that order.
2974 -as_nl='
2975 -'
2976 -IFS="  $as_nl"
2977 -
2978 -# CDPATH.
2979 -$as_unset CDPATH
2980  
2981 +exec 7<&0 </dev/null 6>&1
2982  
2983  # Name of the host.
2984  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
2985  # so uname gets run too.
2986  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2987  
2988 -exec 6>&1
2989 -
2990  #
2991  # Initializations.
2992  #
2993  ac_default_prefix=/usr/local
2994 +ac_clean_files=
2995  ac_config_libobj_dir=.
2996 +LIBOBJS=
2997  cross_compiling=no
2998  subdirs=
2999  MFLAGS=
3000  MAKEFLAGS=
3001  SHELL=${CONFIG_SHELL-/bin/sh}
3002  
3003 -# Maximum number of lines to put in a shell here document.
3004 -# This variable seems obsolete.  It should probably be removed, and
3005 -# only ac_max_sed_lines should be used.
3006 -: ${ac_max_here_lines=38}
3007 -
3008  # Identity of this package.
3009  PACKAGE_NAME=
3010  PACKAGE_TARNAME=
3011 @@ -275,42 +580,115 @@ ac_unique_file="xinetd/main.c"
3012  # Factoring default headers for most tests.
3013  ac_includes_default="\
3014  #include <stdio.h>
3015 -#if HAVE_SYS_TYPES_H
3016 +#ifdef HAVE_SYS_TYPES_H
3017  # include <sys/types.h>
3018  #endif
3019 -#if HAVE_SYS_STAT_H
3020 +#ifdef HAVE_SYS_STAT_H
3021  # include <sys/stat.h>
3022  #endif
3023 -#if STDC_HEADERS
3024 +#ifdef STDC_HEADERS
3025  # include <stdlib.h>
3026  # include <stddef.h>
3027  #else
3028 -# if HAVE_STDLIB_H
3029 +# ifdef HAVE_STDLIB_H
3030  #  include <stdlib.h>
3031  # endif
3032  #endif
3033 -#if HAVE_STRING_H
3034 -# if !STDC_HEADERS && HAVE_MEMORY_H
3035 +#ifdef HAVE_STRING_H
3036 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
3037  #  include <memory.h>
3038  # endif
3039  # include <string.h>
3040  #endif
3041 -#if HAVE_STRINGS_H
3042 +#ifdef HAVE_STRINGS_H
3043  # include <strings.h>
3044  #endif
3045 -#if HAVE_INTTYPES_H
3046 +#ifdef HAVE_INTTYPES_H
3047  # include <inttypes.h>
3048 -#else
3049 -# if HAVE_STDINT_H
3050 -#  include <stdint.h>
3051 -# endif
3052  #endif
3053 -#if HAVE_UNISTD_H
3054 +#ifdef HAVE_STDINT_H
3055 +# include <stdint.h>
3056 +#endif
3057 +#ifdef HAVE_UNISTD_H
3058  # include <unistd.h>
3059  #endif"
3060  
3061 -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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
3062 +ac_subst_vars='SHELL
3063 +PATH_SEPARATOR
3064 +PACKAGE_NAME
3065 +PACKAGE_TARNAME
3066 +PACKAGE_VERSION
3067 +PACKAGE_STRING
3068 +PACKAGE_BUGREPORT
3069 +exec_prefix
3070 +prefix
3071 +program_transform_name
3072 +bindir
3073 +sbindir
3074 +libexecdir
3075 +datarootdir
3076 +datadir
3077 +sysconfdir
3078 +sharedstatedir
3079 +localstatedir
3080 +includedir
3081 +oldincludedir
3082 +docdir
3083 +infodir
3084 +htmldir
3085 +dvidir
3086 +pdfdir
3087 +psdir
3088 +libdir
3089 +localedir
3090 +mandir
3091 +DEFS
3092 +ECHO_C
3093 +ECHO_N
3094 +ECHO_T
3095 +LIBS
3096 +build_alias
3097 +host_alias
3098 +target_alias
3099 +build
3100 +build_cpu
3101 +build_vendor
3102 +build_os
3103 +host
3104 +host_cpu
3105 +host_vendor
3106 +host_os
3107 +target
3108 +target_cpu
3109 +target_vendor
3110 +target_os
3111 +CC
3112 +CFLAGS
3113 +LDFLAGS
3114 +CPPFLAGS
3115 +ac_ct_CC
3116 +EXEEXT
3117 +OBJEXT
3118 +INSTALL_PROGRAM
3119 +INSTALL_SCRIPT
3120 +INSTALL_DATA
3121 +RANLIB
3122 +CPP
3123 +GREP
3124 +EGREP
3125 +LIBOBJS
3126 +LTLIBOBJS'
3127  ac_subst_files=''
3128 +      ac_precious_vars='build_alias
3129 +host_alias
3130 +target_alias
3131 +CC
3132 +CFLAGS
3133 +LDFLAGS
3134 +LIBS
3135 +CPPFLAGS
3136 +CPP'
3137 +
3138  
3139  # Initialize some variables set by options.
3140  ac_init_help=
3141 @@ -337,34 +715,48 @@ x_libraries=NONE
3142  # and all the variables that are supposed to be based on exec_prefix
3143  # by default will actually change.
3144  # Use braces instead of parens because sh, perl, etc. also accept them.
3145 +# (The list follows the same order as the GNU Coding Standards.)
3146  bindir='${exec_prefix}/bin'
3147  sbindir='${exec_prefix}/sbin'
3148  libexecdir='${exec_prefix}/libexec'
3149 -datadir='${prefix}/share'
3150 +datarootdir='${prefix}/share'
3151 +datadir='${datarootdir}'
3152  sysconfdir='${prefix}/etc'
3153  sharedstatedir='${prefix}/com'
3154  localstatedir='${prefix}/var'
3155 -libdir='${exec_prefix}/lib'
3156  includedir='${prefix}/include'
3157  oldincludedir='/usr/include'
3158 -infodir='${prefix}/info'
3159 -mandir='${prefix}/man'
3160 +docdir='${datarootdir}/doc/${PACKAGE}'
3161 +infodir='${datarootdir}/info'
3162 +htmldir='${docdir}'
3163 +dvidir='${docdir}'
3164 +pdfdir='${docdir}'
3165 +psdir='${docdir}'
3166 +libdir='${exec_prefix}/lib'
3167 +localedir='${datarootdir}/locale'
3168 +mandir='${datarootdir}/man'
3169  
3170  ac_prev=
3171 +ac_dashdash=
3172  for ac_option
3173  do
3174    # If the previous option needs an argument, assign it.
3175    if test -n "$ac_prev"; then
3176 -    eval "$ac_prev=\$ac_option"
3177 +    eval $ac_prev=\$ac_option
3178      ac_prev=
3179      continue
3180    fi
3181  
3182 -  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
3183 +  case $ac_option in
3184 +  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
3185 +  *)   ac_optarg=yes ;;
3186 +  esac
3187  
3188    # Accept the important Cygnus configure options, so we can diagnose typos.
3189  
3190 -  case $ac_option in
3191 +  case $ac_dashdash$ac_option in
3192 +  --)
3193 +    ac_dashdash=yes ;;
3194  
3195    -bindir | --bindir | --bindi | --bind | --bin | --bi)
3196      ac_prev=bindir ;;
3197 @@ -386,33 +778,45 @@ do
3198    --config-cache | -C)
3199      cache_file=config.cache ;;
3200  
3201 -  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
3202 +  -datadir | --datadir | --datadi | --datad)
3203      ac_prev=datadir ;;
3204 -  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
3205 -  | --da=*)
3206 +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
3207      datadir=$ac_optarg ;;
3208  
3209 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
3210 +  | --dataroo | --dataro | --datar)
3211 +    ac_prev=datarootdir ;;
3212 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
3213 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
3214 +    datarootdir=$ac_optarg ;;
3215 +
3216    -disable-* | --disable-*)
3217      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
3218      # Reject names that are not valid shell variable names.
3219 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3220 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3221        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3222     { (exit 1); exit 1; }; }
3223 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3224 -    eval "enable_$ac_feature=no" ;;
3225 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
3226 +    eval enable_$ac_feature=no ;;
3227 +
3228 +  -docdir | --docdir | --docdi | --doc | --do)
3229 +    ac_prev=docdir ;;
3230 +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
3231 +    docdir=$ac_optarg ;;
3232 +
3233 +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
3234 +    ac_prev=dvidir ;;
3235 +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
3236 +    dvidir=$ac_optarg ;;
3237  
3238    -enable-* | --enable-*)
3239      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
3240      # Reject names that are not valid shell variable names.
3241 -    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3242 +    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3243        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
3244     { (exit 1); exit 1; }; }
3245 -    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
3246 -    case $ac_option in
3247 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
3248 -      *) ac_optarg=yes ;;
3249 -    esac
3250 -    eval "enable_$ac_feature='$ac_optarg'" ;;
3251 +    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
3252 +    eval enable_$ac_feature=\$ac_optarg ;;
3253  
3254    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
3255    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
3256 @@ -439,6 +843,12 @@ do
3257    -host=* | --host=* | --hos=* | --ho=*)
3258      host_alias=$ac_optarg ;;
3259  
3260 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
3261 +    ac_prev=htmldir ;;
3262 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
3263 +  | --ht=*)
3264 +    htmldir=$ac_optarg ;;
3265 +
3266    -includedir | --includedir | --includedi | --included | --include \
3267    | --includ | --inclu | --incl | --inc)
3268      ac_prev=includedir ;;
3269 @@ -463,13 +873,16 @@ do
3270    | --libexe=* | --libex=* | --libe=*)
3271      libexecdir=$ac_optarg ;;
3272  
3273 +  -localedir | --localedir | --localedi | --localed | --locale)
3274 +    ac_prev=localedir ;;
3275 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
3276 +    localedir=$ac_optarg ;;
3277 +
3278    -localstatedir | --localstatedir | --localstatedi | --localstated \
3279 -  | --localstate | --localstat | --localsta | --localst \
3280 -  | --locals | --local | --loca | --loc | --lo)
3281 +  | --localstate | --localstat | --localsta | --localst | --locals)
3282      ac_prev=localstatedir ;;
3283    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3284 -  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3285 -  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3286 +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
3287      localstatedir=$ac_optarg ;;
3288  
3289    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3290 @@ -534,6 +947,16 @@ do
3291    | --progr-tra=* | --program-tr=* | --program-t=*)
3292      program_transform_name=$ac_optarg ;;
3293  
3294 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
3295 +    ac_prev=pdfdir ;;
3296 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
3297 +    pdfdir=$ac_optarg ;;
3298 +
3299 +  -psdir | --psdir | --psdi | --psd | --ps)
3300 +    ac_prev=psdir ;;
3301 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
3302 +    psdir=$ac_optarg ;;
3303 +
3304    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3305    | -silent | --silent | --silen | --sile | --sil)
3306      silent=yes ;;
3307 @@ -586,24 +1009,20 @@ do
3308    -with-* | --with-*)
3309      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
3310      # Reject names that are not valid shell variable names.
3311 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3312 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3313        { echo "$as_me: error: invalid package name: $ac_package" >&2
3314     { (exit 1); exit 1; }; }
3315 -    ac_package=`echo $ac_package| sed 's/-/_/g'`
3316 -    case $ac_option in
3317 -      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
3318 -      *) ac_optarg=yes ;;
3319 -    esac
3320 -    eval "with_$ac_package='$ac_optarg'" ;;
3321 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
3322 +    eval with_$ac_package=\$ac_optarg ;;
3323  
3324    -without-* | --without-*)
3325      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
3326      # Reject names that are not valid shell variable names.
3327 -    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
3328 +    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
3329        { echo "$as_me: error: invalid package name: $ac_package" >&2
3330     { (exit 1); exit 1; }; }
3331 -    ac_package=`echo $ac_package | sed 's/-/_/g'`
3332 -    eval "with_$ac_package=no" ;;
3333 +    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
3334 +    eval with_$ac_package=no ;;
3335  
3336    --x)
3337      # Obsolete; use --with-x.
3338 @@ -634,8 +1053,7 @@ Try \`$0 --help' for more information." >&2
3339      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
3340        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
3341     { (exit 1); exit 1; }; }
3342 -    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
3343 -    eval "$ac_envvar='$ac_optarg'"
3344 +    eval $ac_envvar=\$ac_optarg
3345      export $ac_envvar ;;
3346  
3347    *)
3348 @@ -655,27 +1073,19 @@ if test -n "$ac_prev"; then
3349     { (exit 1); exit 1; }; }
3350  fi
3351  
3352 -# Be sure to have absolute paths.
3353 -for ac_var in exec_prefix prefix
3354 +# Be sure to have absolute directory names.
3355 +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
3356 +               datadir sysconfdir sharedstatedir localstatedir includedir \
3357 +               oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
3358 +               libdir localedir mandir
3359  do
3360 -  eval ac_val=$`echo $ac_var`
3361 +  eval ac_val=\$$ac_var
3362    case $ac_val in
3363 -    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
3364 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3365 -   { (exit 1); exit 1; }; };;
3366 -  esac
3367 -done
3368 -
3369 -# Be sure to have absolute paths.
3370 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
3371 -             localstatedir libdir includedir oldincludedir infodir mandir
3372 -do
3373 -  eval ac_val=$`echo $ac_var`
3374 -  case $ac_val in
3375 -    [\\/$]* | ?:[\\/]* ) ;;
3376 -    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3377 -   { (exit 1); exit 1; }; };;
3378 +    [\\/$]* | ?:[\\/]* )  continue;;
3379 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
3380    esac
3381 +  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
3382 +   { (exit 1); exit 1; }; }
3383  done
3384  
3385  # There might be people who depend on the old broken behavior: `$host'
3386 @@ -702,74 +1112,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
3387  test "$silent" = yes && exec 6>/dev/null
3388  
3389  
3390 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
3391 +ac_ls_di=`ls -di .` &&
3392 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
3393 +  { echo "$as_me: error: Working directory cannot be determined" >&2
3394 +   { (exit 1); exit 1; }; }
3395 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
3396 +  { echo "$as_me: error: pwd does not report name of working directory" >&2
3397 +   { (exit 1); exit 1; }; }
3398 +
3399 +
3400  # Find the source files, if location was not specified.
3401  if test -z "$srcdir"; then
3402    ac_srcdir_defaulted=yes
3403 -  # Try the directory containing this script, then its parent.
3404 -  ac_confdir=`(dirname "$0") 2>/dev/null ||
3405 +  # Try the directory containing this script, then the parent directory.
3406 +  ac_confdir=`$as_dirname -- "$0" ||
3407  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3408          X"$0" : 'X\(//\)[^/]' \| \
3409          X"$0" : 'X\(//\)$' \| \
3410 -        X"$0" : 'X\(/\)' \| \
3411 -        .     : '\(.\)' 2>/dev/null ||
3412 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3413  echo X"$0" |
3414 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3415 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3416 -         /^X\(\/\/\)$/{ s//\1/; q; }
3417 -         /^X\(\/\).*/{ s//\1/; q; }
3418 -         s/.*/./; q'`
3419 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3420 +           s//\1/
3421 +           q
3422 +         }
3423 +         /^X\(\/\/\)[^/].*/{
3424 +           s//\1/
3425 +           q
3426 +         }
3427 +         /^X\(\/\/\)$/{
3428 +           s//\1/
3429 +           q
3430 +         }
3431 +         /^X\(\/\).*/{
3432 +           s//\1/
3433 +           q
3434 +         }
3435 +         s/.*/./; q'`
3436    srcdir=$ac_confdir
3437 -  if test ! -r $srcdir/$ac_unique_file; then
3438 +  if test ! -r "$srcdir/$ac_unique_file"; then
3439      srcdir=..
3440    fi
3441  else
3442    ac_srcdir_defaulted=no
3443  fi
3444 -if test ! -r $srcdir/$ac_unique_file; then
3445 -  if test "$ac_srcdir_defaulted" = yes; then
3446 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
3447 -   { (exit 1); exit 1; }; }
3448 -  else
3449 -    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3450 +if test ! -r "$srcdir/$ac_unique_file"; then
3451 +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
3452 +  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
3453     { (exit 1); exit 1; }; }
3454 -  fi
3455  fi
3456 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
3457 -  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
3458 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
3459 +ac_abs_confdir=`(
3460 +       cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
3461     { (exit 1); exit 1; }; }
3462 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
3463 -ac_env_build_alias_set=${build_alias+set}
3464 -ac_env_build_alias_value=$build_alias
3465 -ac_cv_env_build_alias_set=${build_alias+set}
3466 -ac_cv_env_build_alias_value=$build_alias
3467 -ac_env_host_alias_set=${host_alias+set}
3468 -ac_env_host_alias_value=$host_alias
3469 -ac_cv_env_host_alias_set=${host_alias+set}
3470 -ac_cv_env_host_alias_value=$host_alias
3471 -ac_env_target_alias_set=${target_alias+set}
3472 -ac_env_target_alias_value=$target_alias
3473 -ac_cv_env_target_alias_set=${target_alias+set}
3474 -ac_cv_env_target_alias_value=$target_alias
3475 -ac_env_CC_set=${CC+set}
3476 -ac_env_CC_value=$CC
3477 -ac_cv_env_CC_set=${CC+set}
3478 -ac_cv_env_CC_value=$CC
3479 -ac_env_CFLAGS_set=${CFLAGS+set}
3480 -ac_env_CFLAGS_value=$CFLAGS
3481 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
3482 -ac_cv_env_CFLAGS_value=$CFLAGS
3483 -ac_env_LDFLAGS_set=${LDFLAGS+set}
3484 -ac_env_LDFLAGS_value=$LDFLAGS
3485 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
3486 -ac_cv_env_LDFLAGS_value=$LDFLAGS
3487 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
3488 -ac_env_CPPFLAGS_value=$CPPFLAGS
3489 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
3490 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
3491 -ac_env_CPP_set=${CPP+set}
3492 -ac_env_CPP_value=$CPP
3493 -ac_cv_env_CPP_set=${CPP+set}
3494 -ac_cv_env_CPP_value=$CPP
3495 +       pwd)`
3496 +# When building in place, set srcdir=.
3497 +if test "$ac_abs_confdir" = "$ac_pwd"; then
3498 +  srcdir=.
3499 +fi
3500 +# Remove unnecessary trailing slashes from srcdir.
3501 +# Double slashes in file names in object file debugging info
3502 +# mess up M-x gdb in Emacs.
3503 +case $srcdir in
3504 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
3505 +esac
3506 +for ac_var in $ac_precious_vars; do
3507 +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
3508 +  eval ac_env_${ac_var}_value=\$${ac_var}
3509 +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
3510 +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
3511 +done
3512  
3513  #
3514  # Report the --help message.
3515 @@ -798,9 +1210,6 @@ Configuration:
3516    -n, --no-create         do not create output files
3517        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
3518  
3519 -_ACEOF
3520 -
3521 -  cat <<_ACEOF
3522  Installation directories:
3523    --prefix=PREFIX         install architecture-independent files in PREFIX
3524                           [$ac_default_prefix]
3525 @@ -818,15 +1227,22 @@ Fine tuning of the installation directories:
3526    --bindir=DIR           user executables [EPREFIX/bin]
3527    --sbindir=DIR          system admin executables [EPREFIX/sbin]
3528    --libexecdir=DIR       program executables [EPREFIX/libexec]
3529 -  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
3530    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
3531    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
3532    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
3533    --libdir=DIR           object code libraries [EPREFIX/lib]
3534    --includedir=DIR       C header files [PREFIX/include]
3535    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
3536 -  --infodir=DIR          info documentation [PREFIX/info]
3537 -  --mandir=DIR           man documentation [PREFIX/man]
3538 +  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
3539 +  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
3540 +  --infodir=DIR          info documentation [DATAROOTDIR/info]
3541 +  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
3542 +  --mandir=DIR           man documentation [DATAROOTDIR/man]
3543 +  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
3544 +  --htmldir=DIR          html documentation [DOCDIR]
3545 +  --dvidir=DIR           dvi documentation [DOCDIR]
3546 +  --pdfdir=DIR           pdf documentation [DOCDIR]
3547 +  --psdir=DIR            ps documentation [DOCDIR]
3548  _ACEOF
3549  
3550    cat <<\_ACEOF
3551 @@ -858,126 +1274,95 @@ Some influential environment variables:
3552    CFLAGS      C compiler flags
3553    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
3554                nonstandard directory <lib dir>
3555 -  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
3556 -              headers in a nonstandard directory <include dir>
3557 +  LIBS        libraries to pass to the linker, e.g. -l<library>
3558 +  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
3559 +              you have headers in a nonstandard directory <include dir>
3560    CPP         C preprocessor
3561  
3562  Use these variables to override the choices made by `configure' or to help
3563  it to find libraries and programs with nonstandard names/locations.
3564  
3565  _ACEOF
3566 +ac_status=$?
3567  fi
3568  
3569  if test "$ac_init_help" = "recursive"; then
3570    # If there are subdirs, report their specific --help.
3571 -  ac_popdir=`pwd`
3572    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
3573 -    test -d $ac_dir || continue
3574 +    test -d "$ac_dir" || continue
3575      ac_builddir=.
3576  
3577 -if test "$ac_dir" != .; then
3578 +case "$ac_dir" in
3579 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3580 +*)
3581    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3582 -  # A "../" for each directory in $ac_dir_suffix.
3583 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3584 -else
3585 -  ac_dir_suffix= ac_top_builddir=
3586 -fi
3587 +  # A ".." for each directory in $ac_dir_suffix.
3588 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3589 +  case $ac_top_builddir_sub in
3590 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3591 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3592 +  esac ;;
3593 +esac
3594 +ac_abs_top_builddir=$ac_pwd
3595 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
3596 +# for backward compatibility:
3597 +ac_top_builddir=$ac_top_build_prefix
3598  
3599  case $srcdir in
3600 -  .)  # No --srcdir option.  We are building in place.
3601 +  .)  # We are building in place.
3602      ac_srcdir=.
3603 -    if test -z "$ac_top_builddir"; then
3604 -       ac_top_srcdir=.
3605 -    else
3606 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3607 -    fi ;;
3608 -  [\\/]* | ?:[\\/]* )  # Absolute path.
3609 +    ac_top_srcdir=$ac_top_builddir_sub
3610 +    ac_abs_top_srcdir=$ac_pwd ;;
3611 +  [\\/]* | ?:[\\/]* )  # Absolute name.
3612      ac_srcdir=$srcdir$ac_dir_suffix;
3613 -    ac_top_srcdir=$srcdir ;;
3614 -  *) # Relative path.
3615 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3616 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3617 -esac
3618 -
3619 -# Do not use `cd foo && pwd` to compute absolute paths, because
3620 -# the directories may not exist.
3621 -case `pwd` in
3622 -.) ac_abs_builddir="$ac_dir";;
3623 -*)
3624 -  case "$ac_dir" in
3625 -  .) ac_abs_builddir=`pwd`;;
3626 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3627 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3628 -  esac;;
3629 -esac
3630 -case $ac_abs_builddir in
3631 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
3632 -*)
3633 -  case ${ac_top_builddir}. in
3634 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
3635 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3636 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3637 -  esac;;
3638 -esac
3639 -case $ac_abs_builddir in
3640 -.) ac_abs_srcdir=$ac_srcdir;;
3641 -*)
3642 -  case $ac_srcdir in
3643 -  .) ac_abs_srcdir=$ac_abs_builddir;;
3644 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3645 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3646 -  esac;;
3647 -esac
3648 -case $ac_abs_builddir in
3649 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
3650 -*)
3651 -  case $ac_top_srcdir in
3652 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3653 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3654 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3655 -  esac;;
3656 +    ac_top_srcdir=$srcdir
3657 +    ac_abs_top_srcdir=$srcdir ;;
3658 +  *) # Relative name.
3659 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3660 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
3661 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3662  esac
3663 -
3664 -    cd $ac_dir
3665 -    # Check for guested configure; otherwise get Cygnus style configure.
3666 -    if test -f $ac_srcdir/configure.gnu; then
3667 -      echo
3668 -      $SHELL $ac_srcdir/configure.gnu  --help=recursive
3669 -    elif test -f $ac_srcdir/configure; then
3670 -      echo
3671 -      $SHELL $ac_srcdir/configure  --help=recursive
3672 -    elif test -f $ac_srcdir/configure.ac ||
3673 -          test -f $ac_srcdir/configure.in; then
3674 -      echo
3675 -      $ac_configure --help
3676 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3677 +
3678 +    cd "$ac_dir" || { ac_status=$?; continue; }
3679 +    # Check for guested configure.
3680 +    if test -f "$ac_srcdir/configure.gnu"; then
3681 +      echo &&
3682 +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
3683 +    elif test -f "$ac_srcdir/configure"; then
3684 +      echo &&
3685 +      $SHELL "$ac_srcdir/configure" --help=recursive
3686      else
3687        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
3688 -    fi
3689 -    cd $ac_popdir
3690 +    fi || ac_status=$?
3691 +    cd "$ac_pwd" || { ac_status=$?; break; }
3692    done
3693  fi
3694  
3695 -test -n "$ac_init_help" && exit 0
3696 +test -n "$ac_init_help" && exit $ac_status
3697  if $ac_init_version; then
3698    cat <<\_ACEOF
3699 +configure
3700 +generated by GNU Autoconf 2.61
3701  
3702 -Copyright (C) 2003 Free Software Foundation, Inc.
3703 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
3704 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
3705  This configure script is free software; the Free Software Foundation
3706  gives unlimited permission to copy, distribute and modify it.
3707  _ACEOF
3708 -  exit 0
3709 +  exit
3710  fi
3711 -exec 5>config.log
3712 -cat >&5 <<_ACEOF
3713 +cat >config.log <<_ACEOF
3714  This file contains any messages produced by compilers while
3715  running configure, to aid debugging if configure makes a mistake.
3716  
3717  It was created by $as_me, which was
3718 -generated by GNU Autoconf 2.59.  Invocation command line was
3719 +generated by GNU Autoconf 2.61.  Invocation command line was
3720  
3721    $ $0 $@
3722  
3723  _ACEOF
3724 +exec 5>>config.log
3725  {
3726  cat <<_ASUNAME
3727  ## --------- ##
3728 @@ -996,7 +1381,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
3729  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
3730  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
3731  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3732 -hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
3733 +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
3734  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
3735  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
3736  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
3737 @@ -1010,6 +1395,7 @@ do
3738    test -z "$as_dir" && as_dir=.
3739    echo "PATH: $as_dir"
3740  done
3741 +IFS=$as_save_IFS
3742  
3743  } >&5
3744  
3745 @@ -1031,7 +1417,6 @@ _ACEOF
3746  ac_configure_args=
3747  ac_configure_args0=
3748  ac_configure_args1=
3749 -ac_sep=
3750  ac_must_keep_next=false
3751  for ac_pass in 1 2
3752  do
3753 @@ -1042,7 +1427,7 @@ do
3754      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3755      | -silent | --silent | --silen | --sile | --sil)
3756        continue ;;
3757 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3758 +    *\'*)
3759        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3760      esac
3761      case $ac_pass in
3762 @@ -1064,9 +1449,7 @@ do
3763           -* ) ac_must_keep_next=true ;;
3764         esac
3765        fi
3766 -      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
3767 -      # Get rid of the leading space.
3768 -      ac_sep=" "
3769 +      ac_configure_args="$ac_configure_args '$ac_arg'"
3770        ;;
3771      esac
3772    done
3773 @@ -1077,8 +1460,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
3774  # When interrupted or exit'd, cleanup temporary files, and complete
3775  # config.log.  We remove comments because anyway the quotes in there
3776  # would cause problems or look ugly.
3777 -# WARNING: Be sure not to use single quotes in there, as some shells,
3778 -# such as our DU 5.0 friend, will then `close' the trap.
3779 +# WARNING: Use '\'' to represent an apostrophe within the trap.
3780 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3781  trap 'exit_status=$?
3782    # Save into config.log some information that might help in debugging.
3783    {
3784 @@ -1091,20 +1474,34 @@ trap 'exit_status=$?
3785  _ASBOX
3786      echo
3787      # The following way of writing the cache mishandles newlines in values,
3788 -{
3789 +(
3790 +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3791 +    eval ac_val=\$$ac_var
3792 +    case $ac_val in #(
3793 +    *${as_nl}*)
3794 +      case $ac_var in #(
3795 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3796 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3797 +      esac
3798 +      case $ac_var in #(
3799 +      _ | IFS | as_nl) ;; #(
3800 +      *) $as_unset $ac_var ;;
3801 +      esac ;;
3802 +    esac
3803 +  done
3804    (set) 2>&1 |
3805 -    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
3806 -    *ac_space=\ *)
3807 +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3808 +    *${as_nl}ac_space=\ *)
3809        sed -n \
3810 -       "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
3811 -         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
3812 -      ;;
3813 +       "s/'\''/'\''\\\\'\'''\''/g;
3814 +         s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3815 +      ;; #(
3816      *)
3817 -      sed -n \
3818 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3819 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3820        ;;
3821 -    esac;
3822 -}
3823 +    esac |
3824 +    sort
3825 +)
3826      echo
3827  
3828      cat <<\_ASBOX
3829 @@ -1115,22 +1512,28 @@ _ASBOX
3830      echo
3831      for ac_var in $ac_subst_vars
3832      do
3833 -      eval ac_val=$`echo $ac_var`
3834 -      echo "$ac_var='"'"'$ac_val'"'"'"
3835 +      eval ac_val=\$$ac_var
3836 +      case $ac_val in
3837 +      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3838 +      esac
3839 +      echo "$ac_var='\''$ac_val'\''"
3840      done | sort
3841      echo
3842  
3843      if test -n "$ac_subst_files"; then
3844        cat <<\_ASBOX
3845 -## ------------- ##
3846 -## Output files. ##
3847 -## ------------- ##
3848 +## ------------------- ##
3849 +## File substitutions. ##
3850 +## ------------------- ##
3851  _ASBOX
3852        echo
3853        for ac_var in $ac_subst_files
3854        do
3855 -       eval ac_val=$`echo $ac_var`
3856 -       echo "$ac_var='"'"'$ac_val'"'"'"
3857 +       eval ac_val=\$$ac_var
3858 +       case $ac_val in
3859 +       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3860 +       esac
3861 +       echo "$ac_var='\''$ac_val'\''"
3862        done | sort
3863        echo
3864      fi
3865 @@ -1142,26 +1545,24 @@ _ASBOX
3866  ## ----------- ##
3867  _ASBOX
3868        echo
3869 -      sed "/^$/d" confdefs.h | sort
3870 +      cat confdefs.h
3871        echo
3872      fi
3873      test "$ac_signal" != 0 &&
3874        echo "$as_me: caught signal $ac_signal"
3875      echo "$as_me: exit $exit_status"
3876    } >&5
3877 -  rm -f core *.core &&
3878 -  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
3879 +  rm -f core *.core core.conftest.* &&
3880 +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3881      exit $exit_status
3882 -     ' 0
3883 +' 0
3884  for ac_signal in 1 2 13 15; do
3885    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
3886  done
3887  ac_signal=0
3888  
3889  # confdefs.h avoids OS command line length limits that DEFS can exceed.
3890 -rm -rf conftest* confdefs.h
3891 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
3892 -echo >confdefs.h
3893 +rm -f -r conftest* confdefs.h
3894  
3895  # Predefined preprocessor variables.
3896  
3897 @@ -1192,14 +1593,17 @@ _ACEOF
3898  
3899  # Let the site file select an alternate cache file if it wants to.
3900  # Prefer explicitly selected file to automatically selected ones.
3901 -if test -z "$CONFIG_SITE"; then
3902 -  if test "x$prefix" != xNONE; then
3903 -    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
3904 -  else
3905 -    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3906 -  fi
3907 +if test -n "$CONFIG_SITE"; then
3908 +  set x "$CONFIG_SITE"
3909 +elif test "x$prefix" != xNONE; then
3910 +  set x "$prefix/share/config.site" "$prefix/etc/config.site"
3911 +else
3912 +  set x "$ac_default_prefix/share/config.site" \
3913 +       "$ac_default_prefix/etc/config.site"
3914  fi
3915 -for ac_site_file in $CONFIG_SITE; do
3916 +shift
3917 +for ac_site_file
3918 +do
3919    if test -r "$ac_site_file"; then
3920      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
3921  echo "$as_me: loading site script $ac_site_file" >&6;}
3922 @@ -1215,8 +1619,8 @@ if test -r "$cache_file"; then
3923      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3924  echo "$as_me: loading cache $cache_file" >&6;}
3925      case $cache_file in
3926 -      [\\/]* | ?:[\\/]* ) . $cache_file;;
3927 -      *)                      . ./$cache_file;;
3928 +      [\\/]* | ?:[\\/]* ) . "$cache_file";;
3929 +      *)                      . "./$cache_file";;
3930      esac
3931    fi
3932  else
3933 @@ -1228,12 +1632,11 @@ fi
3934  # Check that the precious variables saved in the cache have kept the same
3935  # value.
3936  ac_cache_corrupted=false
3937 -for ac_var in `(set) 2>&1 |
3938 -              sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
3939 +for ac_var in $ac_precious_vars; do
3940    eval ac_old_set=\$ac_cv_env_${ac_var}_set
3941    eval ac_new_set=\$ac_env_${ac_var}_set
3942 -  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
3943 -  eval ac_new_val="\$ac_env_${ac_var}_value"
3944 +  eval ac_old_val=\$ac_cv_env_${ac_var}_value
3945 +  eval ac_new_val=\$ac_env_${ac_var}_value
3946    case $ac_old_set,$ac_new_set in
3947      set,)
3948        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3949 @@ -1258,8 +1661,7 @@ echo "$as_me:   current value: $ac_new_val" >&2;}
3950    # Pass precious variables to config.status.
3951    if test "$ac_new_set" = set; then
3952      case $ac_new_val in
3953 -    *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
3954 -      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3955 +    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3956      *) ac_arg=$ac_var=$ac_new_val ;;
3957      esac
3958      case " $ac_configure_args " in
3959 @@ -1276,12 +1678,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
3960     { (exit 1); exit 1; }; }
3961  fi
3962  
3963 -ac_ext=c
3964 -ac_cpp='$CPP $CPPFLAGS'
3965 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
3968 -
3969  
3970  
3971  
3972 @@ -1298,108 +1694,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3973  
3974  
3975  
3976 +ac_ext=c
3977 +ac_cpp='$CPP $CPPFLAGS'
3978 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3979 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3980 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3981  
3982  
3983  
3984  ac_aux_dir=
3985 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3986 -  if test -f $ac_dir/install-sh; then
3987 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3988 +  if test -f "$ac_dir/install-sh"; then
3989      ac_aux_dir=$ac_dir
3990      ac_install_sh="$ac_aux_dir/install-sh -c"
3991      break
3992 -  elif test -f $ac_dir/install.sh; then
3993 +  elif test -f "$ac_dir/install.sh"; then
3994      ac_aux_dir=$ac_dir
3995      ac_install_sh="$ac_aux_dir/install.sh -c"
3996      break
3997 -  elif test -f $ac_dir/shtool; then
3998 +  elif test -f "$ac_dir/shtool"; then
3999      ac_aux_dir=$ac_dir
4000      ac_install_sh="$ac_aux_dir/shtool install -c"
4001      break
4002    fi
4003  done
4004  if test -z "$ac_aux_dir"; then
4005 -  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
4006 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
4007 +  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
4008 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
4009     { (exit 1); exit 1; }; }
4010  fi
4011 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
4012 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4013 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4014 +
4015 +# These three variables are undocumented and unsupported,
4016 +# and are intended to be withdrawn in a future Autoconf release.
4017 +# They can cause serious problems if a builder's source tree is in a directory
4018 +# whose full name contains unusual characters.
4019 +ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
4020 +ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
4021 +ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
4022 +
4023  
4024  # Make sure we can run config.sub.
4025 -$ac_config_sub sun4 >/dev/null 2>&1 ||
4026 -  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4027 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4028 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4029 +  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4030 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4031     { (exit 1); exit 1; }; }
4032  
4033 -echo "$as_me:$LINENO: checking build system type" >&5
4034 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
4035 +{ echo "$as_me:$LINENO: checking build system type" >&5
4036 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4037  if test "${ac_cv_build+set}" = set; then
4038    echo $ECHO_N "(cached) $ECHO_C" >&6
4039  else
4040 -  ac_cv_build_alias=$build_alias
4041 -test -z "$ac_cv_build_alias" &&
4042 -  ac_cv_build_alias=`$ac_config_guess`
4043 -test -z "$ac_cv_build_alias" &&
4044 +  ac_build_alias=$build_alias
4045 +test "x$ac_build_alias" = x &&
4046 +  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4047 +test "x$ac_build_alias" = x &&
4048    { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4049  echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4050     { (exit 1); exit 1; }; }
4051 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4052 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4053 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4054 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4055 +  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4056 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4057     { (exit 1); exit 1; }; }
4058  
4059  fi
4060 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4061 -echo "${ECHO_T}$ac_cv_build" >&6
4062 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4063 +echo "${ECHO_T}$ac_cv_build" >&6; }
4064 +case $ac_cv_build in
4065 +*-*-*) ;;
4066 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4067 +echo "$as_me: error: invalid value of canonical build" >&2;}
4068 +   { (exit 1); exit 1; }; };;
4069 +esac
4070  build=$ac_cv_build
4071 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4072 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4073 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4074 -
4075 -
4076 -echo "$as_me:$LINENO: checking host system type" >&5
4077 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
4078 +ac_save_IFS=$IFS; IFS='-'
4079 +set x $ac_cv_build
4080 +shift
4081 +build_cpu=$1
4082 +build_vendor=$2
4083 +shift; shift
4084 +# Remember, the first character of IFS is used to create $*,
4085 +# except with old shells:
4086 +build_os=$*
4087 +IFS=$ac_save_IFS
4088 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4089 +
4090 +
4091 +{ echo "$as_me:$LINENO: checking host system type" >&5
4092 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4093  if test "${ac_cv_host+set}" = set; then
4094    echo $ECHO_N "(cached) $ECHO_C" >&6
4095  else
4096 -  ac_cv_host_alias=$host_alias
4097 -test -z "$ac_cv_host_alias" &&
4098 -  ac_cv_host_alias=$ac_cv_build_alias
4099 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4100 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4101 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4102 +  if test "x$host_alias" = x; then
4103 +  ac_cv_host=$ac_cv_build
4104 +else
4105 +  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4106 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4107 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4108     { (exit 1); exit 1; }; }
4109 +fi
4110  
4111  fi
4112 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4113 -echo "${ECHO_T}$ac_cv_host" >&6
4114 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4115 +echo "${ECHO_T}$ac_cv_host" >&6; }
4116 +case $ac_cv_host in
4117 +*-*-*) ;;
4118 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4119 +echo "$as_me: error: invalid value of canonical host" >&2;}
4120 +   { (exit 1); exit 1; }; };;
4121 +esac
4122  host=$ac_cv_host
4123 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4124 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4125 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4126 -
4127 -
4128 -echo "$as_me:$LINENO: checking target system type" >&5
4129 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
4130 +ac_save_IFS=$IFS; IFS='-'
4131 +set x $ac_cv_host
4132 +shift
4133 +host_cpu=$1
4134 +host_vendor=$2
4135 +shift; shift
4136 +# Remember, the first character of IFS is used to create $*,
4137 +# except with old shells:
4138 +host_os=$*
4139 +IFS=$ac_save_IFS
4140 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4141 +
4142 +
4143 +{ echo "$as_me:$LINENO: checking target system type" >&5
4144 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
4145  if test "${ac_cv_target+set}" = set; then
4146    echo $ECHO_N "(cached) $ECHO_C" >&6
4147  else
4148 -  ac_cv_target_alias=$target_alias
4149 -test "x$ac_cv_target_alias" = "x" &&
4150 -  ac_cv_target_alias=$ac_cv_host_alias
4151 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
4152 -  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
4153 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
4154 +  if test "x$target_alias" = x; then
4155 +  ac_cv_target=$ac_cv_host
4156 +else
4157 +  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4158 +    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
4159 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
4160     { (exit 1); exit 1; }; }
4161 +fi
4162  
4163  fi
4164 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4165 -echo "${ECHO_T}$ac_cv_target" >&6
4166 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
4167 +echo "${ECHO_T}$ac_cv_target" >&6; }
4168 +case $ac_cv_target in
4169 +*-*-*) ;;
4170 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
4171 +echo "$as_me: error: invalid value of canonical target" >&2;}
4172 +   { (exit 1); exit 1; }; };;
4173 +esac
4174  target=$ac_cv_target
4175 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4176 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4177 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4178 +ac_save_IFS=$IFS; IFS='-'
4179 +set x $ac_cv_target
4180 +shift
4181 +target_cpu=$1
4182 +target_vendor=$2
4183 +shift; shift
4184 +# Remember, the first character of IFS is used to create $*,
4185 +# except with old shells:
4186 +target_os=$*
4187 +IFS=$ac_save_IFS
4188 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4189  
4190  
4191  # The aliases save the names the user supplied, while $host etc.
4192 @@ -1417,8 +1868,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4193  if test -n "$ac_tool_prefix"; then
4194    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4195  set dummy ${ac_tool_prefix}gcc; ac_word=$2
4196 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4197 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4198 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4199 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4200  if test "${ac_cv_prog_CC+set}" = set; then
4201    echo $ECHO_N "(cached) $ECHO_C" >&6
4202  else
4203 @@ -1431,32 +1882,34 @@ do
4204    IFS=$as_save_IFS
4205    test -z "$as_dir" && as_dir=.
4206    for ac_exec_ext in '' $ac_executable_extensions; do
4207 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4208 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4209      ac_cv_prog_CC="${ac_tool_prefix}gcc"
4210      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211      break 2
4212    fi
4213  done
4214  done
4215 +IFS=$as_save_IFS
4216  
4217  fi
4218  fi
4219  CC=$ac_cv_prog_CC
4220  if test -n "$CC"; then
4221 -  echo "$as_me:$LINENO: result: $CC" >&5
4222 -echo "${ECHO_T}$CC" >&6
4223 +  { echo "$as_me:$LINENO: result: $CC" >&5
4224 +echo "${ECHO_T}$CC" >&6; }
4225  else
4226 -  echo "$as_me:$LINENO: result: no" >&5
4227 -echo "${ECHO_T}no" >&6
4228 +  { echo "$as_me:$LINENO: result: no" >&5
4229 +echo "${ECHO_T}no" >&6; }
4230  fi
4231  
4232 +
4233  fi
4234  if test -z "$ac_cv_prog_CC"; then
4235    ac_ct_CC=$CC
4236    # Extract the first word of "gcc", so it can be a program name with args.
4237  set dummy gcc; ac_word=$2
4238 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4239 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4240 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4241 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4242  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4243    echo $ECHO_N "(cached) $ECHO_C" >&6
4244  else
4245 @@ -1469,36 +1922,51 @@ do
4246    IFS=$as_save_IFS
4247    test -z "$as_dir" && as_dir=.
4248    for ac_exec_ext in '' $ac_executable_extensions; do
4249 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4250 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251      ac_cv_prog_ac_ct_CC="gcc"
4252      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253      break 2
4254    fi
4255  done
4256  done
4257 +IFS=$as_save_IFS
4258  
4259  fi
4260  fi
4261  ac_ct_CC=$ac_cv_prog_ac_ct_CC
4262  if test -n "$ac_ct_CC"; then
4263 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4264 -echo "${ECHO_T}$ac_ct_CC" >&6
4265 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4266 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4267  else
4268 -  echo "$as_me:$LINENO: result: no" >&5
4269 -echo "${ECHO_T}no" >&6
4270 +  { echo "$as_me:$LINENO: result: no" >&5
4271 +echo "${ECHO_T}no" >&6; }
4272  fi
4273  
4274 -  CC=$ac_ct_CC
4275 +  if test "x$ac_ct_CC" = x; then
4276 +    CC=""
4277 +  else
4278 +    case $cross_compiling:$ac_tool_warned in
4279 +yes:)
4280 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4281 +whose name does not start with the host triplet.  If you think this
4282 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4283 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4284 +whose name does not start with the host triplet.  If you think this
4285 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4286 +ac_tool_warned=yes ;;
4287 +esac
4288 +    CC=$ac_ct_CC
4289 +  fi
4290  else
4291    CC="$ac_cv_prog_CC"
4292  fi
4293  
4294  if test -z "$CC"; then
4295 -  if test -n "$ac_tool_prefix"; then
4296 -  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4297 +          if test -n "$ac_tool_prefix"; then
4298 +    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4299  set dummy ${ac_tool_prefix}cc; ac_word=$2
4300 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4301 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4304  if test "${ac_cv_prog_CC+set}" = set; then
4305    echo $ECHO_N "(cached) $ECHO_C" >&6
4306  else
4307 @@ -1511,74 +1979,34 @@ do
4308    IFS=$as_save_IFS
4309    test -z "$as_dir" && as_dir=.
4310    for ac_exec_ext in '' $ac_executable_extensions; do
4311 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313      ac_cv_prog_CC="${ac_tool_prefix}cc"
4314      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315      break 2
4316    fi
4317  done
4318  done
4319 +IFS=$as_save_IFS
4320  
4321  fi
4322  fi
4323  CC=$ac_cv_prog_CC
4324  if test -n "$CC"; then
4325 -  echo "$as_me:$LINENO: result: $CC" >&5
4326 -echo "${ECHO_T}$CC" >&6
4327 -else
4328 -  echo "$as_me:$LINENO: result: no" >&5
4329 -echo "${ECHO_T}no" >&6
4330 -fi
4331 -
4332 -fi
4333 -if test -z "$ac_cv_prog_CC"; then
4334 -  ac_ct_CC=$CC
4335 -  # Extract the first word of "cc", so it can be a program name with args.
4336 -set dummy cc; ac_word=$2
4337 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4338 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4339 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4340 -  echo $ECHO_N "(cached) $ECHO_C" >&6
4341 -else
4342 -  if test -n "$ac_ct_CC"; then
4343 -  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4344 -else
4345 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 -for as_dir in $PATH
4347 -do
4348 -  IFS=$as_save_IFS
4349 -  test -z "$as_dir" && as_dir=.
4350 -  for ac_exec_ext in '' $ac_executable_extensions; do
4351 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352 -    ac_cv_prog_ac_ct_CC="cc"
4353 -    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 -    break 2
4355 -  fi
4356 -done
4357 -done
4358 -
4359 -fi
4360 -fi
4361 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
4362 -if test -n "$ac_ct_CC"; then
4363 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4364 -echo "${ECHO_T}$ac_ct_CC" >&6
4365 +  { echo "$as_me:$LINENO: result: $CC" >&5
4366 +echo "${ECHO_T}$CC" >&6; }
4367  else
4368 -  echo "$as_me:$LINENO: result: no" >&5
4369 -echo "${ECHO_T}no" >&6
4370 +  { echo "$as_me:$LINENO: result: no" >&5
4371 +echo "${ECHO_T}no" >&6; }
4372  fi
4373  
4374 -  CC=$ac_ct_CC
4375 -else
4376 -  CC="$ac_cv_prog_CC"
4377 -fi
4378  
4379 +  fi
4380  fi
4381  if test -z "$CC"; then
4382    # Extract the first word of "cc", so it can be a program name with args.
4383  set dummy cc; ac_word=$2
4384 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4385 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4386 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388  if test "${ac_cv_prog_CC+set}" = set; then
4389    echo $ECHO_N "(cached) $ECHO_C" >&6
4390  else
4391 @@ -1592,7 +2020,7 @@ do
4392    IFS=$as_save_IFS
4393    test -z "$as_dir" && as_dir=.
4394    for ac_exec_ext in '' $ac_executable_extensions; do
4395 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4398         ac_prog_rejected=yes
4399         continue
4400 @@ -1603,6 +2031,7 @@ do
4401    fi
4402  done
4403  done
4404 +IFS=$as_save_IFS
4405  
4406  if test $ac_prog_rejected = yes; then
4407    # We found a bogon in the path, so make sure we never use it.
4408 @@ -1620,22 +2049,23 @@ fi
4409  fi
4410  CC=$ac_cv_prog_CC
4411  if test -n "$CC"; then
4412 -  echo "$as_me:$LINENO: result: $CC" >&5
4413 -echo "${ECHO_T}$CC" >&6
4414 +  { echo "$as_me:$LINENO: result: $CC" >&5
4415 +echo "${ECHO_T}$CC" >&6; }
4416  else
4417 -  echo "$as_me:$LINENO: result: no" >&5
4418 -echo "${ECHO_T}no" >&6
4419 +  { echo "$as_me:$LINENO: result: no" >&5
4420 +echo "${ECHO_T}no" >&6; }
4421  fi
4422  
4423 +
4424  fi
4425  if test -z "$CC"; then
4426    if test -n "$ac_tool_prefix"; then
4427 -  for ac_prog in cl
4428 +  for ac_prog in cl.exe
4429    do
4430      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4433 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4434 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4435 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4436  if test "${ac_cv_prog_CC+set}" = set; then
4437    echo $ECHO_N "(cached) $ECHO_C" >&6
4438  else
4439 @@ -1648,36 +2078,38 @@ do
4440    IFS=$as_save_IFS
4441    test -z "$as_dir" && as_dir=.
4442    for ac_exec_ext in '' $ac_executable_extensions; do
4443 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4446      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447      break 2
4448    fi
4449  done
4450  done
4451 +IFS=$as_save_IFS
4452  
4453  fi
4454  fi
4455  CC=$ac_cv_prog_CC
4456  if test -n "$CC"; then
4457 -  echo "$as_me:$LINENO: result: $CC" >&5
4458 -echo "${ECHO_T}$CC" >&6
4459 +  { echo "$as_me:$LINENO: result: $CC" >&5
4460 +echo "${ECHO_T}$CC" >&6; }
4461  else
4462 -  echo "$as_me:$LINENO: result: no" >&5
4463 -echo "${ECHO_T}no" >&6
4464 +  { echo "$as_me:$LINENO: result: no" >&5
4465 +echo "${ECHO_T}no" >&6; }
4466  fi
4467  
4468 +
4469      test -n "$CC" && break
4470    done
4471  fi
4472  if test -z "$CC"; then
4473    ac_ct_CC=$CC
4474 -  for ac_prog in cl
4475 +  for ac_prog in cl.exe
4476  do
4477    # Extract the first word of "$ac_prog", so it can be a program name with args.
4478  set dummy $ac_prog; ac_word=$2
4479 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4480 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4481 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4483  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4484    echo $ECHO_N "(cached) $ECHO_C" >&6
4485  else
4486 @@ -1690,29 +2122,45 @@ do
4487    IFS=$as_save_IFS
4488    test -z "$as_dir" && as_dir=.
4489    for ac_exec_ext in '' $ac_executable_extensions; do
4490 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492      ac_cv_prog_ac_ct_CC="$ac_prog"
4493      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4494      break 2
4495    fi
4496  done
4497  done
4498 +IFS=$as_save_IFS
4499  
4500  fi
4501  fi
4502  ac_ct_CC=$ac_cv_prog_ac_ct_CC
4503  if test -n "$ac_ct_CC"; then
4504 -  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4505 -echo "${ECHO_T}$ac_ct_CC" >&6
4506 +  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4507 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4508  else
4509 -  echo "$as_me:$LINENO: result: no" >&5
4510 -echo "${ECHO_T}no" >&6
4511 +  { echo "$as_me:$LINENO: result: no" >&5
4512 +echo "${ECHO_T}no" >&6; }
4513  fi
4514  
4515 +
4516    test -n "$ac_ct_CC" && break
4517  done
4518  
4519 -  CC=$ac_ct_CC
4520 +  if test "x$ac_ct_CC" = x; then
4521 +    CC=""
4522 +  else
4523 +    case $cross_compiling:$ac_tool_warned in
4524 +yes:)
4525 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4526 +whose name does not start with the host triplet.  If you think this
4527 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4528 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4529 +whose name does not start with the host triplet.  If you think this
4530 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4531 +ac_tool_warned=yes ;;
4532 +esac
4533 +    CC=$ac_ct_CC
4534 +  fi
4535  fi
4536  
4537  fi
4538 @@ -1725,21 +2173,35 @@ See \`config.log' for more details." >&2;}
4539     { (exit 1); exit 1; }; }
4540  
4541  # Provide some information about the compiler.
4542 -echo "$as_me:$LINENO:" \
4543 -     "checking for C compiler version" >&5
4544 +echo "$as_me:$LINENO: checking for C compiler version" >&5
4545  ac_compiler=`set X $ac_compile; echo $2`
4546 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4547 -  (eval $ac_compiler --version </dev/null >&5) 2>&5
4548 +{ (ac_try="$ac_compiler --version >&5"
4549 +case "(($ac_try" in
4550 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4551 +  *) ac_try_echo=$ac_try;;
4552 +esac
4553 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4554 +  (eval "$ac_compiler --version >&5") 2>&5
4555    ac_status=$?
4556    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557    (exit $ac_status); }
4558 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4559 -  (eval $ac_compiler -v </dev/null >&5) 2>&5
4560 +{ (ac_try="$ac_compiler -v >&5"
4561 +case "(($ac_try" in
4562 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563 +  *) ac_try_echo=$ac_try;;
4564 +esac
4565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566 +  (eval "$ac_compiler -v >&5") 2>&5
4567    ac_status=$?
4568    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569    (exit $ac_status); }
4570 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4571 -  (eval $ac_compiler -V </dev/null >&5) 2>&5
4572 +{ (ac_try="$ac_compiler -V >&5"
4573 +case "(($ac_try" in
4574 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4575 +  *) ac_try_echo=$ac_try;;
4576 +esac
4577 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4578 +  (eval "$ac_compiler -V >&5") 2>&5
4579    ac_status=$?
4580    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581    (exit $ac_status); }
4582 @@ -1764,47 +2226,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out"
4583  # Try to create an executable without -o first, disregard a.out.
4584  # It will help us diagnose broken compilers, and finding out an intuition
4585  # of exeext.
4586 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4587 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4588 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4589 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
4590  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4591 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4592 -  (eval $ac_link_default) 2>&5
4593 +#
4594 +# List of possible output files, starting from the most likely.
4595 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
4596 +# only as a last resort.  b.out is created by i960 compilers.
4597 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
4598 +#
4599 +# The IRIX 6 linker writes into existing files which may not be
4600 +# executable, retaining their permissions.  Remove them first so a
4601 +# subsequent execution test works.
4602 +ac_rmfiles=
4603 +for ac_file in $ac_files
4604 +do
4605 +  case $ac_file in
4606 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4607 +    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4608 +  esac
4609 +done
4610 +rm -f $ac_rmfiles
4611 +
4612 +if { (ac_try="$ac_link_default"
4613 +case "(($ac_try" in
4614 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615 +  *) ac_try_echo=$ac_try;;
4616 +esac
4617 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4618 +  (eval "$ac_link_default") 2>&5
4619    ac_status=$?
4620    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621    (exit $ac_status); }; then
4622 -  # Find the output, starting from the most likely.  This scheme is
4623 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
4624 -# resort.
4625 -
4626 -# Be careful to initialize this variable, since it used to be cached.
4627 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4628 -ac_cv_exeext=
4629 -# b.out is created by i960 compilers.
4630 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4631 +  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4632 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4633 +# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4634 +# so that the user can short-circuit this test for compilers unknown to
4635 +# Autoconf.
4636 +for ac_file in $ac_files ''
4637  do
4638    test -f "$ac_file" || continue
4639    case $ac_file in
4640 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4641 -       ;;
4642 -    conftest.$ac_ext )
4643 -       # This is the source file.
4644 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
4645         ;;
4646      [ab].out )
4647         # We found the default executable, but exeext='' is most
4648         # certainly right.
4649         break;;
4650      *.* )
4651 -       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4652 -       # FIXME: I believe we export ac_cv_exeext for Libtool,
4653 -       # but it would be cool to find out if it's true.  Does anybody
4654 -       # maintain Libtool? --akim.
4655 -       export ac_cv_exeext
4656 +        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4657 +       then :; else
4658 +          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4659 +       fi
4660 +       # We set ac_cv_exeext here because the later test for it is not
4661 +       # safe: cross compilers may not add the suffix if given an `-o'
4662 +       # argument, so we may need to know it at that point already.
4663 +       # Even if this section looks crufty: it has the advantage of
4664 +       # actually working.
4665         break;;
4666      * )
4667         break;;
4668    esac
4669  done
4670 +test "$ac_cv_exeext" = no && ac_cv_exeext=
4671 +
4672  else
4673 +  ac_file=''
4674 +fi
4675 +
4676 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
4677 +echo "${ECHO_T}$ac_file" >&6; }
4678 +if test -z "$ac_file"; then
4679    echo "$as_me: failed program was:" >&5
4680  sed 's/^/| /' conftest.$ac_ext >&5
4681  
4682 @@ -1816,19 +2308,21 @@ See \`config.log' for more details." >&2;}
4683  fi
4684  
4685  ac_exeext=$ac_cv_exeext
4686 -echo "$as_me:$LINENO: result: $ac_file" >&5
4687 -echo "${ECHO_T}$ac_file" >&6
4688  
4689 -# Check the compiler produces executables we can run.  If not, either
4690 +# Check that the compiler produces executables we can run.  If not, either
4691  # the compiler is broken, or we cross compile.
4692 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4693 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4694 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4695 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
4696  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4697  # If not cross compiling, check that we can run a simple program.
4698  if test "$cross_compiling" != yes; then
4699    if { ac_try='./$ac_file'
4700 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 -  (eval $ac_try) 2>&5
4702 +  { (case "(($ac_try" in
4703 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4704 +  *) ac_try_echo=$ac_try;;
4705 +esac
4706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4707 +  (eval "$ac_try") 2>&5
4708    ac_status=$?
4709    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710    (exit $ac_status); }; }; then
4711 @@ -1847,22 +2341,27 @@ See \`config.log' for more details." >&2;}
4712      fi
4713    fi
4714  fi
4715 -echo "$as_me:$LINENO: result: yes" >&5
4716 -echo "${ECHO_T}yes" >&6
4717 +{ echo "$as_me:$LINENO: result: yes" >&5
4718 +echo "${ECHO_T}yes" >&6; }
4719  
4720  rm -f a.out a.exe conftest$ac_cv_exeext b.out
4721  ac_clean_files=$ac_clean_files_save
4722 -# Check the compiler produces executables we can run.  If not, either
4723 +# Check that the compiler produces executables we can run.  If not, either
4724  # the compiler is broken, or we cross compile.
4725 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4726 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4727 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
4728 -echo "${ECHO_T}$cross_compiling" >&6
4729 -
4730 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
4731 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4732 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4733 -  (eval $ac_link) 2>&5
4734 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4735 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
4736 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
4737 +echo "${ECHO_T}$cross_compiling" >&6; }
4738 +
4739 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
4740 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
4741 +if { (ac_try="$ac_link"
4742 +case "(($ac_try" in
4743 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 +  *) ac_try_echo=$ac_try;;
4745 +esac
4746 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 +  (eval "$ac_link") 2>&5
4748    ac_status=$?
4749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750    (exit $ac_status); }; then
4751 @@ -1873,9 +2372,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4752  for ac_file in conftest.exe conftest conftest.*; do
4753    test -f "$ac_file" || continue
4754    case $ac_file in
4755 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4756 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4757      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4758 -         export ac_cv_exeext
4759           break;;
4760      * ) break;;
4761    esac
4762 @@ -1889,14 +2387,14 @@ See \`config.log' for more details." >&2;}
4763  fi
4764  
4765  rm -f conftest$ac_cv_exeext
4766 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4767 -echo "${ECHO_T}$ac_cv_exeext" >&6
4768 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4769 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
4770  
4771  rm -f conftest.$ac_ext
4772  EXEEXT=$ac_cv_exeext
4773  ac_exeext=$EXEEXT
4774 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
4775 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4776 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
4777 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
4778  if test "${ac_cv_objext+set}" = set; then
4779    echo $ECHO_N "(cached) $ECHO_C" >&6
4780  else
4781 @@ -1916,14 +2414,20 @@ main ()
4782  }
4783  _ACEOF
4784  rm -f conftest.o conftest.obj
4785 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 -  (eval $ac_compile) 2>&5
4787 +if { (ac_try="$ac_compile"
4788 +case "(($ac_try" in
4789 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4790 +  *) ac_try_echo=$ac_try;;
4791 +esac
4792 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4793 +  (eval "$ac_compile") 2>&5
4794    ac_status=$?
4795    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796    (exit $ac_status); }; then
4797 -  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4798 +  for ac_file in conftest.o conftest.obj conftest.*; do
4799 +  test -f "$ac_file" || continue;
4800    case $ac_file in
4801 -    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4802 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
4803      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4804         break;;
4805    esac
4806 @@ -1941,12 +2445,12 @@ fi
4807  
4808  rm -f conftest.$ac_cv_objext conftest.$ac_ext
4809  fi
4810 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4811 -echo "${ECHO_T}$ac_cv_objext" >&6
4812 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4813 +echo "${ECHO_T}$ac_cv_objext" >&6; }
4814  OBJEXT=$ac_cv_objext
4815  ac_objext=$OBJEXT
4816 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4817 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4818 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4819 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4820  if test "${ac_cv_c_compiler_gnu+set}" = set; then
4821    echo $ECHO_N "(cached) $ECHO_C" >&6
4822  else
4823 @@ -1969,50 +2473,49 @@ main ()
4824  }
4825  _ACEOF
4826  rm -f conftest.$ac_objext
4827 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4828 -  (eval $ac_compile) 2>conftest.er1
4829 +if { (ac_try="$ac_compile"
4830 +case "(($ac_try" in
4831 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 +  *) ac_try_echo=$ac_try;;
4833 +esac
4834 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835 +  (eval "$ac_compile") 2>conftest.er1
4836    ac_status=$?
4837    grep -v '^ *+' conftest.er1 >conftest.err
4838    rm -f conftest.er1
4839    cat conftest.err >&5
4840    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 -  (exit $ac_status); } &&
4842 -        { ac_try='test -z "$ac_c_werror_flag"
4843 -                        || test ! -s conftest.err'
4844 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 -  (eval $ac_try) 2>&5
4846 -  ac_status=$?
4847 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 -  (exit $ac_status); }; } &&
4849 -        { ac_try='test -s conftest.$ac_objext'
4850 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 -  (eval $ac_try) 2>&5
4852 -  ac_status=$?
4853 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 -  (exit $ac_status); }; }; then
4855 +  (exit $ac_status); } && {
4856 +        test -z "$ac_c_werror_flag" ||
4857 +        test ! -s conftest.err
4858 +       } && test -s conftest.$ac_objext; then
4859    ac_compiler_gnu=yes
4860  else
4861    echo "$as_me: failed program was:" >&5
4862  sed 's/^/| /' conftest.$ac_ext >&5
4863  
4864 -ac_compiler_gnu=no
4865 +       ac_compiler_gnu=no
4866  fi
4867 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4868 +
4869 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870  ac_cv_c_compiler_gnu=$ac_compiler_gnu
4871  
4872  fi
4873 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4874 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4875 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4876 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4877  GCC=`test $ac_compiler_gnu = yes && echo yes`
4878  ac_test_CFLAGS=${CFLAGS+set}
4879  ac_save_CFLAGS=$CFLAGS
4880 -CFLAGS="-g"
4881 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4882 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4883 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4884 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4885  if test "${ac_cv_prog_cc_g+set}" = set; then
4886    echo $ECHO_N "(cached) $ECHO_C" >&6
4887  else
4888 -  cat >conftest.$ac_ext <<_ACEOF
4889 +  ac_save_c_werror_flag=$ac_c_werror_flag
4890 +   ac_c_werror_flag=yes
4891 +   ac_cv_prog_cc_g=no
4892 +   CFLAGS="-g"
4893 +   cat >conftest.$ac_ext <<_ACEOF
4894  /* confdefs.h.  */
4895  _ACEOF
4896  cat confdefs.h >>conftest.$ac_ext
4897 @@ -2028,38 +2531,118 @@ main ()
4898  }
4899  _ACEOF
4900  rm -f conftest.$ac_objext
4901 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4902 -  (eval $ac_compile) 2>conftest.er1
4903 +if { (ac_try="$ac_compile"
4904 +case "(($ac_try" in
4905 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4906 +  *) ac_try_echo=$ac_try;;
4907 +esac
4908 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4909 +  (eval "$ac_compile") 2>conftest.er1
4910    ac_status=$?
4911    grep -v '^ *+' conftest.er1 >conftest.err
4912    rm -f conftest.er1
4913    cat conftest.err >&5
4914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 -  (exit $ac_status); } &&
4916 -        { ac_try='test -z "$ac_c_werror_flag"
4917 -                        || test ! -s conftest.err'
4918 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919 -  (eval $ac_try) 2>&5
4920 +  (exit $ac_status); } && {
4921 +        test -z "$ac_c_werror_flag" ||
4922 +        test ! -s conftest.err
4923 +       } && test -s conftest.$ac_objext; then
4924 +  ac_cv_prog_cc_g=yes
4925 +else
4926 +  echo "$as_me: failed program was:" >&5
4927 +sed 's/^/| /' conftest.$ac_ext >&5
4928 +
4929 +       CFLAGS=""
4930 +      cat >conftest.$ac_ext <<_ACEOF
4931 +/* confdefs.h.  */
4932 +_ACEOF
4933 +cat confdefs.h >>conftest.$ac_ext
4934 +cat >>conftest.$ac_ext <<_ACEOF
4935 +/* end confdefs.h.  */
4936 +
4937 +int
4938 +main ()
4939 +{
4940 +
4941 +  ;
4942 +  return 0;
4943 +}
4944 +_ACEOF
4945 +rm -f conftest.$ac_objext
4946 +if { (ac_try="$ac_compile"
4947 +case "(($ac_try" in
4948 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 +  *) ac_try_echo=$ac_try;;
4950 +esac
4951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4952 +  (eval "$ac_compile") 2>conftest.er1
4953    ac_status=$?
4954 +  grep -v '^ *+' conftest.er1 >conftest.err
4955 +  rm -f conftest.er1
4956 +  cat conftest.err >&5
4957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 -  (exit $ac_status); }; } &&
4959 -        { ac_try='test -s conftest.$ac_objext'
4960 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 -  (eval $ac_try) 2>&5
4962 +  (exit $ac_status); } && {
4963 +        test -z "$ac_c_werror_flag" ||
4964 +        test ! -s conftest.err
4965 +       } && test -s conftest.$ac_objext; then
4966 +  :
4967 +else
4968 +  echo "$as_me: failed program was:" >&5
4969 +sed 's/^/| /' conftest.$ac_ext >&5
4970 +
4971 +       ac_c_werror_flag=$ac_save_c_werror_flag
4972 +        CFLAGS="-g"
4973 +        cat >conftest.$ac_ext <<_ACEOF
4974 +/* confdefs.h.  */
4975 +_ACEOF
4976 +cat confdefs.h >>conftest.$ac_ext
4977 +cat >>conftest.$ac_ext <<_ACEOF
4978 +/* end confdefs.h.  */
4979 +
4980 +int
4981 +main ()
4982 +{
4983 +
4984 +  ;
4985 +  return 0;
4986 +}
4987 +_ACEOF
4988 +rm -f conftest.$ac_objext
4989 +if { (ac_try="$ac_compile"
4990 +case "(($ac_try" in
4991 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992 +  *) ac_try_echo=$ac_try;;
4993 +esac
4994 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4995 +  (eval "$ac_compile") 2>conftest.er1
4996    ac_status=$?
4997 +  grep -v '^ *+' conftest.er1 >conftest.err
4998 +  rm -f conftest.er1
4999 +  cat conftest.err >&5
5000    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001 -  (exit $ac_status); }; }; then
5002 +  (exit $ac_status); } && {
5003 +        test -z "$ac_c_werror_flag" ||
5004 +        test ! -s conftest.err
5005 +       } && test -s conftest.$ac_objext; then
5006    ac_cv_prog_cc_g=yes
5007  else
5008    echo "$as_me: failed program was:" >&5
5009  sed 's/^/| /' conftest.$ac_ext >&5
5010  
5011 -ac_cv_prog_cc_g=no
5012 +
5013  fi
5014 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5015 +
5016 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017  fi
5018 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5019 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5020 +
5021 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 +fi
5023 +
5024 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 +   ac_c_werror_flag=$ac_save_c_werror_flag
5026 +fi
5027 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5028 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5029  if test "$ac_test_CFLAGS" = set; then
5030    CFLAGS=$ac_save_CFLAGS
5031  elif test $ac_cv_prog_cc_g = yes; then
5032 @@ -2075,12 +2658,12 @@ else
5033      CFLAGS=
5034    fi
5035  fi
5036 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5037 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5038 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5039 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5040 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5041 +if test "${ac_cv_prog_cc_c89+set}" = set; then
5042    echo $ECHO_N "(cached) $ECHO_C" >&6
5043  else
5044 -  ac_cv_prog_cc_stdc=no
5045 +  ac_cv_prog_cc_c89=no
5046  ac_save_CC=$CC
5047  cat >conftest.$ac_ext <<_ACEOF
5048  /* confdefs.h.  */
5049 @@ -2114,12 +2697,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
5050  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5051     function prototypes and stuff, but not '\xHH' hex character constants.
5052     These don't provoke an error unfortunately, instead are silently treated
5053 -   as 'x'.  The following induces an error, until -std1 is added to get
5054 +   as 'x'.  The following induces an error, until -std is added to get
5055     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5056     array size at least.  It's necessary to write '\x00'==0 to get something
5057 -   that's true only with -std1.  */
5058 +   that's true only with -std.  */
5059  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5060  
5061 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5062 +   inside strings and character constants.  */
5063 +#define FOO(x) 'x'
5064 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5065 +
5066  int test (int i, double x);
5067  struct s1 {int (*f) (int a);};
5068  struct s2 {int (*f) (double a);};
5069 @@ -2134,205 +2722,57 @@ return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5070    return 0;
5071  }
5072  _ACEOF
5073 -# Don't try gcc -ansi; that turns off useful extensions and
5074 -# breaks some systems' header files.
5075 -# AIX                  -qlanglvl=ansi
5076 -# Ultrix and OSF/1     -std1
5077 -# HP-UX 10.20 and later        -Ae
5078 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5079 -# SVR4                 -Xc -D__EXTENSIONS__
5080 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5081 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5082 +       -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5083  do
5084    CC="$ac_save_CC $ac_arg"
5085    rm -f conftest.$ac_objext
5086 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5087 -  (eval $ac_compile) 2>conftest.er1
5088 +if { (ac_try="$ac_compile"
5089 +case "(($ac_try" in
5090 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5091 +  *) ac_try_echo=$ac_try;;
5092 +esac
5093 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5094 +  (eval "$ac_compile") 2>conftest.er1
5095    ac_status=$?
5096    grep -v '^ *+' conftest.er1 >conftest.err
5097    rm -f conftest.er1
5098    cat conftest.err >&5
5099    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 -  (exit $ac_status); } &&
5101 -        { ac_try='test -z "$ac_c_werror_flag"
5102 -                        || test ! -s conftest.err'
5103 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5104 -  (eval $ac_try) 2>&5
5105 -  ac_status=$?
5106 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 -  (exit $ac_status); }; } &&
5108 -        { ac_try='test -s conftest.$ac_objext'
5109 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110 -  (eval $ac_try) 2>&5
5111 -  ac_status=$?
5112 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 -  (exit $ac_status); }; }; then
5114 -  ac_cv_prog_cc_stdc=$ac_arg
5115 -break
5116 +  (exit $ac_status); } && {
5117 +        test -z "$ac_c_werror_flag" ||
5118 +        test ! -s conftest.err
5119 +       } && test -s conftest.$ac_objext; then
5120 +  ac_cv_prog_cc_c89=$ac_arg
5121  else
5122    echo "$as_me: failed program was:" >&5
5123  sed 's/^/| /' conftest.$ac_ext >&5
5124  
5125 +
5126  fi
5127 -rm -f conftest.err conftest.$ac_objext
5128 +
5129 +rm -f core conftest.err conftest.$ac_objext
5130 +  test "x$ac_cv_prog_cc_c89" != "xno" && break
5131  done
5132 -rm -f conftest.$ac_ext conftest.$ac_objext
5133 +rm -f conftest.$ac_ext
5134  CC=$ac_save_CC
5135  
5136  fi
5137 -
5138 -case "x$ac_cv_prog_cc_stdc" in
5139 -  x|xno)
5140 -    echo "$as_me:$LINENO: result: none needed" >&5
5141 -echo "${ECHO_T}none needed" >&6 ;;
5142 +# AC_CACHE_VAL
5143 +case "x$ac_cv_prog_cc_c89" in
5144 +  x)
5145 +    { echo "$as_me:$LINENO: result: none needed" >&5
5146 +echo "${ECHO_T}none needed" >&6; } ;;
5147 +  xno)
5148 +    { echo "$as_me:$LINENO: result: unsupported" >&5
5149 +echo "${ECHO_T}unsupported" >&6; } ;;
5150    *)
5151 -    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5152 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5153 -    CC="$CC $ac_cv_prog_cc_stdc" ;;
5154 +    CC="$CC $ac_cv_prog_cc_c89"
5155 +    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5156 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5157  esac
5158  
5159 -# Some people use a C++ compiler to compile C.  Since we use `exit',
5160 -# in C++ we need to declare it.  In case someone uses the same compiler
5161 -# for both compiling C and C++ we need to have the C++ compiler decide
5162 -# the declaration of exit, since it's the most demanding environment.
5163 -cat >conftest.$ac_ext <<_ACEOF
5164 -#ifndef __cplusplus
5165 -  choke me
5166 -#endif
5167 -_ACEOF
5168 -rm -f conftest.$ac_objext
5169 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5170 -  (eval $ac_compile) 2>conftest.er1
5171 -  ac_status=$?
5172 -  grep -v '^ *+' conftest.er1 >conftest.err
5173 -  rm -f conftest.er1
5174 -  cat conftest.err >&5
5175 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 -  (exit $ac_status); } &&
5177 -        { ac_try='test -z "$ac_c_werror_flag"
5178 -                        || test ! -s conftest.err'
5179 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 -  (eval $ac_try) 2>&5
5181 -  ac_status=$?
5182 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 -  (exit $ac_status); }; } &&
5184 -        { ac_try='test -s conftest.$ac_objext'
5185 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 -  (eval $ac_try) 2>&5
5187 -  ac_status=$?
5188 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 -  (exit $ac_status); }; }; then
5190 -  for ac_declaration in \
5191 -   '' \
5192 -   'extern "C" void std::exit (int) throw (); using std::exit;' \
5193 -   'extern "C" void std::exit (int); using std::exit;' \
5194 -   'extern "C" void exit (int) throw ();' \
5195 -   'extern "C" void exit (int);' \
5196 -   'void exit (int);'
5197 -do
5198 -  cat >conftest.$ac_ext <<_ACEOF
5199 -/* confdefs.h.  */
5200 -_ACEOF
5201 -cat confdefs.h >>conftest.$ac_ext
5202 -cat >>conftest.$ac_ext <<_ACEOF
5203 -/* end confdefs.h.  */
5204 -$ac_declaration
5205 -#include <stdlib.h>
5206 -int
5207 -main ()
5208 -{
5209 -exit (42);
5210 -  ;
5211 -  return 0;
5212 -}
5213 -_ACEOF
5214 -rm -f conftest.$ac_objext
5215 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5216 -  (eval $ac_compile) 2>conftest.er1
5217 -  ac_status=$?
5218 -  grep -v '^ *+' conftest.er1 >conftest.err
5219 -  rm -f conftest.er1
5220 -  cat conftest.err >&5
5221 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 -  (exit $ac_status); } &&
5223 -        { ac_try='test -z "$ac_c_werror_flag"
5224 -                        || test ! -s conftest.err'
5225 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 -  (eval $ac_try) 2>&5
5227 -  ac_status=$?
5228 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 -  (exit $ac_status); }; } &&
5230 -        { ac_try='test -s conftest.$ac_objext'
5231 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 -  (eval $ac_try) 2>&5
5233 -  ac_status=$?
5234 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 -  (exit $ac_status); }; }; then
5236 -  :
5237 -else
5238 -  echo "$as_me: failed program was:" >&5
5239 -sed 's/^/| /' conftest.$ac_ext >&5
5240 -
5241 -continue
5242 -fi
5243 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5244 -  cat >conftest.$ac_ext <<_ACEOF
5245 -/* confdefs.h.  */
5246 -_ACEOF
5247 -cat confdefs.h >>conftest.$ac_ext
5248 -cat >>conftest.$ac_ext <<_ACEOF
5249 -/* end confdefs.h.  */
5250 -$ac_declaration
5251 -int
5252 -main ()
5253 -{
5254 -exit (42);
5255 -  ;
5256 -  return 0;
5257 -}
5258 -_ACEOF
5259 -rm -f conftest.$ac_objext
5260 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5261 -  (eval $ac_compile) 2>conftest.er1
5262 -  ac_status=$?
5263 -  grep -v '^ *+' conftest.er1 >conftest.err
5264 -  rm -f conftest.er1
5265 -  cat conftest.err >&5
5266 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 -  (exit $ac_status); } &&
5268 -        { ac_try='test -z "$ac_c_werror_flag"
5269 -                        || test ! -s conftest.err'
5270 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 -  (eval $ac_try) 2>&5
5272 -  ac_status=$?
5273 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 -  (exit $ac_status); }; } &&
5275 -        { ac_try='test -s conftest.$ac_objext'
5276 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 -  (eval $ac_try) 2>&5
5278 -  ac_status=$?
5279 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 -  (exit $ac_status); }; }; then
5281 -  break
5282 -else
5283 -  echo "$as_me: failed program was:" >&5
5284 -sed 's/^/| /' conftest.$ac_ext >&5
5285 -
5286 -fi
5287 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5288 -done
5289 -rm -f conftest*
5290 -if test -n "$ac_declaration"; then
5291 -  echo '#ifdef __cplusplus' >>confdefs.h
5292 -  echo $ac_declaration      >>confdefs.h
5293 -  echo '#endif'             >>confdefs.h
5294 -fi
5295 -
5296 -else
5297 -  echo "$as_me: failed program was:" >&5
5298 -sed 's/^/| /' conftest.$ac_ext >&5
5299  
5300 -fi
5301 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5302  ac_ext=c
5303  ac_cpp='$CPP $CPPFLAGS'
5304  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5305 @@ -2352,8 +2792,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5306  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5307  # OS/2's system install, which has a completely different semantic
5308  # ./install, which can be erroneously created by make from ./install.sh.
5309 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5310 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5311 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5312 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5313  if test -z "$INSTALL"; then
5314  if test "${ac_cv_path_install+set}" = set; then
5315    echo $ECHO_N "(cached) $ECHO_C" >&6
5316 @@ -2375,7 +2815,7 @@ case $as_dir/ in
5317      # by default.
5318      for ac_prog in ginstall scoinst install; do
5319        for ac_exec_ext in '' $ac_executable_extensions; do
5320 -       if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5321 +       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5322           if test $ac_prog = install &&
5323             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5324             # AIX install.  It has an incompatible calling convention.
5325 @@ -2394,21 +2834,22 @@ case $as_dir/ in
5326      ;;
5327  esac
5328  done
5329 +IFS=$as_save_IFS
5330  
5331  
5332  fi
5333    if test "${ac_cv_path_install+set}" = set; then
5334      INSTALL=$ac_cv_path_install
5335    else
5336 -    # As a last resort, use the slow shell script.  We don't cache a
5337 -    # path for INSTALL within a source directory, because that will
5338 +    # As a last resort, use the slow shell script.  Don't cache a
5339 +    # value for INSTALL within a source directory, because that will
5340      # break other packages using the cache if that directory is
5341 -    # removed, or if the path is relative.
5342 +    # removed, or if the value is a relative name.
5343      INSTALL=$ac_install_sh
5344    fi
5345  fi
5346 -echo "$as_me:$LINENO: result: $INSTALL" >&5
5347 -echo "${ECHO_T}$INSTALL" >&6
5348 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5349 +echo "${ECHO_T}$INSTALL" >&6; }
5350  
5351  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5352  # It thinks the first close brace ends the variable substitution.
5353 @@ -2421,8 +2862,8 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5354  if test -n "$ac_tool_prefix"; then
5355    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5356  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5357 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5359 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361  if test "${ac_cv_prog_RANLIB+set}" = set; then
5362    echo $ECHO_N "(cached) $ECHO_C" >&6
5363  else
5364 @@ -2435,32 +2876,34 @@ do
5365    IFS=$as_save_IFS
5366    test -z "$as_dir" && as_dir=.
5367    for ac_exec_ext in '' $ac_executable_extensions; do
5368 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5371      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5372      break 2
5373    fi
5374  done
5375  done
5376 +IFS=$as_save_IFS
5377  
5378  fi
5379  fi
5380  RANLIB=$ac_cv_prog_RANLIB
5381  if test -n "$RANLIB"; then
5382 -  echo "$as_me:$LINENO: result: $RANLIB" >&5
5383 -echo "${ECHO_T}$RANLIB" >&6
5384 +  { echo "$as_me:$LINENO: result: $RANLIB" >&5
5385 +echo "${ECHO_T}$RANLIB" >&6; }
5386  else
5387 -  echo "$as_me:$LINENO: result: no" >&5
5388 -echo "${ECHO_T}no" >&6
5389 +  { echo "$as_me:$LINENO: result: no" >&5
5390 +echo "${ECHO_T}no" >&6; }
5391  fi
5392  
5393 +
5394  fi
5395  if test -z "$ac_cv_prog_RANLIB"; then
5396    ac_ct_RANLIB=$RANLIB
5397    # Extract the first word of "ranlib", so it can be a program name with args.
5398  set dummy ranlib; ac_word=$2
5399 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5400 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5401 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5402 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5403  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5404    echo $ECHO_N "(cached) $ECHO_C" >&6
5405  else
5406 @@ -2473,27 +2916,41 @@ do
5407    IFS=$as_save_IFS
5408    test -z "$as_dir" && as_dir=.
5409    for ac_exec_ext in '' $ac_executable_extensions; do
5410 -  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 +  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412      ac_cv_prog_ac_ct_RANLIB="ranlib"
5413      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414      break 2
5415    fi
5416  done
5417  done
5418 +IFS=$as_save_IFS
5419  
5420 -  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5421  fi
5422  fi
5423  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5424  if test -n "$ac_ct_RANLIB"; then
5425 -  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5426 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5427 +  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5428 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5429  else
5430 -  echo "$as_me:$LINENO: result: no" >&5
5431 -echo "${ECHO_T}no" >&6
5432 +  { echo "$as_me:$LINENO: result: no" >&5
5433 +echo "${ECHO_T}no" >&6; }
5434  fi
5435  
5436 -  RANLIB=$ac_ct_RANLIB
5437 +  if test "x$ac_ct_RANLIB" = x; then
5438 +    RANLIB=":"
5439 +  else
5440 +    case $cross_compiling:$ac_tool_warned in
5441 +yes:)
5442 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5443 +whose name does not start with the host triplet.  If you think this
5444 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5445 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5446 +whose name does not start with the host triplet.  If you think this
5447 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5448 +ac_tool_warned=yes ;;
5449 +esac
5450 +    RANLIB=$ac_ct_RANLIB
5451 +  fi
5452  else
5453    RANLIB="$ac_cv_prog_RANLIB"
5454  fi
5455 @@ -2501,8 +2958,8 @@ fi
5456  
5457  
5458  
5459 -echo "$as_me:$LINENO: checking for main in -lcompat" >&5
5460 -echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
5461 +{ echo "$as_me:$LINENO: checking for main in -lcompat" >&5
5462 +echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
5463  if test "${ac_cv_lib_compat_main+set}" = set; then
5464    echo $ECHO_N "(cached) $ECHO_C" >&6
5465  else
5466 @@ -2519,46 +2976,43 @@ cat >>conftest.$ac_ext <<_ACEOF
5467  int
5468  main ()
5469  {
5470 -main ();
5471 +return main ();
5472    ;
5473    return 0;
5474  }
5475  _ACEOF
5476  rm -f conftest.$ac_objext conftest$ac_exeext
5477 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5478 -  (eval $ac_link) 2>conftest.er1
5479 +if { (ac_try="$ac_link"
5480 +case "(($ac_try" in
5481 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5482 +  *) ac_try_echo=$ac_try;;
5483 +esac
5484 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 +  (eval "$ac_link") 2>conftest.er1
5486    ac_status=$?
5487    grep -v '^ *+' conftest.er1 >conftest.err
5488    rm -f conftest.er1
5489    cat conftest.err >&5
5490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 -  (exit $ac_status); } &&
5492 -        { ac_try='test -z "$ac_c_werror_flag"
5493 -                        || test ! -s conftest.err'
5494 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 -  (eval $ac_try) 2>&5
5496 -  ac_status=$?
5497 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 -  (exit $ac_status); }; } &&
5499 -        { ac_try='test -s conftest$ac_exeext'
5500 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5501 -  (eval $ac_try) 2>&5
5502 -  ac_status=$?
5503 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 -  (exit $ac_status); }; }; then
5505 +  (exit $ac_status); } && {
5506 +        test -z "$ac_c_werror_flag" ||
5507 +        test ! -s conftest.err
5508 +       } && test -s conftest$ac_exeext &&
5509 +       $as_test_x conftest$ac_exeext; then
5510    ac_cv_lib_compat_main=yes
5511  else
5512    echo "$as_me: failed program was:" >&5
5513  sed 's/^/| /' conftest.$ac_ext >&5
5514  
5515 -ac_cv_lib_compat_main=no
5516 +       ac_cv_lib_compat_main=no
5517  fi
5518 -rm -f conftest.err conftest.$ac_objext \
5519 +
5520 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5521        conftest$ac_exeext conftest.$ac_ext
5522  LIBS=$ac_check_lib_save_LIBS
5523  fi
5524 -echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
5525 -echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
5526 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
5527 +echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
5528  if test $ac_cv_lib_compat_main = yes; then
5529    cat >>confdefs.h <<_ACEOF
5530  #define HAVE_LIBCOMPAT 1
5531 @@ -2568,13 +3022,12 @@ _ACEOF
5532  
5533  fi
5534  
5535 -echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5536 -echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
5537 +{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
5538 +echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
5539  if test "${ac_cv_search_gethostbyname+set}" = set; then
5540    echo $ECHO_N "(cached) $ECHO_C" >&6
5541  else
5542    ac_func_search_save_LIBS=$LIBS
5543 -ac_cv_search_gethostbyname=no
5544  cat >conftest.$ac_ext <<_ACEOF
5545  /* confdefs.h.  */
5546  _ACEOF
5547 @@ -2582,125 +3035,82 @@ cat confdefs.h >>conftest.$ac_ext
5548  cat >>conftest.$ac_ext <<_ACEOF
5549  /* end confdefs.h.  */
5550  
5551 -/* Override any gcc2 internal prototype to avoid an error.  */
5552 +/* Override any GCC internal prototype to avoid an error.
5553 +   Use char because int might match the return type of a GCC
5554 +   builtin and then its argument prototype would still apply.  */
5555  #ifdef __cplusplus
5556  extern "C"
5557  #endif
5558 -/* We use char because int might match the return type of a gcc2
5559 -   builtin and then its argument prototype would still apply.  */
5560  char gethostbyname ();
5561  int
5562  main ()
5563  {
5564 -gethostbyname ();
5565 +return gethostbyname ();
5566    ;
5567    return 0;
5568  }
5569  _ACEOF
5570 -rm -f conftest.$ac_objext conftest$ac_exeext
5571 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5572 -  (eval $ac_link) 2>conftest.er1
5573 +for ac_lib in '' nsl socket resolv; do
5574 +  if test -z "$ac_lib"; then
5575 +    ac_res="none required"
5576 +  else
5577 +    ac_res=-l$ac_lib
5578 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5579 +  fi
5580 +  rm -f conftest.$ac_objext conftest$ac_exeext
5581 +if { (ac_try="$ac_link"
5582 +case "(($ac_try" in
5583 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5584 +  *) ac_try_echo=$ac_try;;
5585 +esac
5586 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5587 +  (eval "$ac_link") 2>conftest.er1
5588    ac_status=$?
5589    grep -v '^ *+' conftest.er1 >conftest.err
5590    rm -f conftest.er1
5591    cat conftest.err >&5
5592    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 -  (exit $ac_status); } &&
5594 -        { ac_try='test -z "$ac_c_werror_flag"
5595 -                        || test ! -s conftest.err'
5596 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 -  (eval $ac_try) 2>&5
5598 -  ac_status=$?
5599 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 -  (exit $ac_status); }; } &&
5601 -        { ac_try='test -s conftest$ac_exeext'
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); }; }; then
5607 -  ac_cv_search_gethostbyname="none required"
5608 +  (exit $ac_status); } && {
5609 +        test -z "$ac_c_werror_flag" ||
5610 +        test ! -s conftest.err
5611 +       } && test -s conftest$ac_exeext &&
5612 +       $as_test_x conftest$ac_exeext; then
5613 +  ac_cv_search_gethostbyname=$ac_res
5614  else
5615    echo "$as_me: failed program was:" >&5
5616  sed 's/^/| /' conftest.$ac_ext >&5
5617  
5618 -fi
5619 -rm -f conftest.err conftest.$ac_objext \
5620 -      conftest$ac_exeext conftest.$ac_ext
5621 -if test "$ac_cv_search_gethostbyname" = no; then
5622 -  for ac_lib in nsl socket resolv; do
5623 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5624 -    cat >conftest.$ac_ext <<_ACEOF
5625 -/* confdefs.h.  */
5626 -_ACEOF
5627 -cat confdefs.h >>conftest.$ac_ext
5628 -cat >>conftest.$ac_ext <<_ACEOF
5629 -/* end confdefs.h.  */
5630  
5631 -/* Override any gcc2 internal prototype to avoid an error.  */
5632 -#ifdef __cplusplus
5633 -extern "C"
5634 -#endif
5635 -/* We use char because int might match the return type of a gcc2
5636 -   builtin and then its argument prototype would still apply.  */
5637 -char gethostbyname ();
5638 -int
5639 -main ()
5640 -{
5641 -gethostbyname ();
5642 -  ;
5643 -  return 0;
5644 -}
5645 -_ACEOF
5646 -rm -f conftest.$ac_objext conftest$ac_exeext
5647 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648 -  (eval $ac_link) 2>conftest.er1
5649 -  ac_status=$?
5650 -  grep -v '^ *+' conftest.er1 >conftest.err
5651 -  rm -f conftest.er1
5652 -  cat conftest.err >&5
5653 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 -  (exit $ac_status); } &&
5655 -        { ac_try='test -z "$ac_c_werror_flag"
5656 -                        || test ! -s conftest.err'
5657 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5658 -  (eval $ac_try) 2>&5
5659 -  ac_status=$?
5660 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 -  (exit $ac_status); }; } &&
5662 -        { ac_try='test -s conftest$ac_exeext'
5663 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5664 -  (eval $ac_try) 2>&5
5665 -  ac_status=$?
5666 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 -  (exit $ac_status); }; }; then
5668 -  ac_cv_search_gethostbyname="-l$ac_lib"
5669 -break
5670 -else
5671 -  echo "$as_me: failed program was:" >&5
5672 -sed 's/^/| /' conftest.$ac_ext >&5
5673 +fi
5674  
5675 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5676 +      conftest$ac_exeext
5677 +  if test "${ac_cv_search_gethostbyname+set}" = set; then
5678 +  break
5679  fi
5680 -rm -f conftest.err conftest.$ac_objext \
5681 -      conftest$ac_exeext conftest.$ac_ext
5682 -  done
5683 +done
5684 +if test "${ac_cv_search_gethostbyname+set}" = set; then
5685 +  :
5686 +else
5687 +  ac_cv_search_gethostbyname=no
5688  fi
5689 +rm conftest.$ac_ext
5690  LIBS=$ac_func_search_save_LIBS
5691  fi
5692 -echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5693 -echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
5694 -if test "$ac_cv_search_gethostbyname" != no; then
5695 -  test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
5696 +{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
5697 +echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
5698 +ac_res=$ac_cv_search_gethostbyname
5699 +if test "$ac_res" != no; then
5700 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5701  
5702  fi
5703  
5704 -echo "$as_me:$LINENO: checking for library containing getnameinfo" >&5
5705 -echo $ECHO_N "checking for library containing getnameinfo... $ECHO_C" >&6
5706 +{ echo "$as_me:$LINENO: checking for library containing getnameinfo" >&5
5707 +echo $ECHO_N "checking for library containing getnameinfo... $ECHO_C" >&6; }
5708  if test "${ac_cv_search_getnameinfo+set}" = set; then
5709    echo $ECHO_N "(cached) $ECHO_C" >&6
5710  else
5711    ac_func_search_save_LIBS=$LIBS
5712 -ac_cv_search_getnameinfo=no
5713  cat >conftest.$ac_ext <<_ACEOF
5714  /* confdefs.h.  */
5715  _ACEOF
5716 @@ -2708,125 +3118,82 @@ cat confdefs.h >>conftest.$ac_ext
5717  cat >>conftest.$ac_ext <<_ACEOF
5718  /* end confdefs.h.  */
5719  
5720 -/* Override any gcc2 internal prototype to avoid an error.  */
5721 +/* Override any GCC internal prototype to avoid an error.
5722 +   Use char because int might match the return type of a GCC
5723 +   builtin and then its argument prototype would still apply.  */
5724  #ifdef __cplusplus
5725  extern "C"
5726  #endif
5727 -/* We use char because int might match the return type of a gcc2
5728 -   builtin and then its argument prototype would still apply.  */
5729  char getnameinfo ();
5730  int
5731  main ()
5732  {
5733 -getnameinfo ();
5734 +return getnameinfo ();
5735    ;
5736    return 0;
5737  }
5738  _ACEOF
5739 -rm -f conftest.$ac_objext conftest$ac_exeext
5740 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5741 -  (eval $ac_link) 2>conftest.er1
5742 +for ac_lib in '' nsl socket resolv; do
5743 +  if test -z "$ac_lib"; then
5744 +    ac_res="none required"
5745 +  else
5746 +    ac_res=-l$ac_lib
5747 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5748 +  fi
5749 +  rm -f conftest.$ac_objext conftest$ac_exeext
5750 +if { (ac_try="$ac_link"
5751 +case "(($ac_try" in
5752 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5753 +  *) ac_try_echo=$ac_try;;
5754 +esac
5755 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5756 +  (eval "$ac_link") 2>conftest.er1
5757    ac_status=$?
5758    grep -v '^ *+' conftest.er1 >conftest.err
5759    rm -f conftest.er1
5760    cat conftest.err >&5
5761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762 -  (exit $ac_status); } &&
5763 -        { ac_try='test -z "$ac_c_werror_flag"
5764 -                        || test ! -s conftest.err'
5765 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 -  (eval $ac_try) 2>&5
5767 -  ac_status=$?
5768 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769 -  (exit $ac_status); }; } &&
5770 -        { ac_try='test -s conftest$ac_exeext'
5771 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 -  (eval $ac_try) 2>&5
5773 -  ac_status=$?
5774 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 -  (exit $ac_status); }; }; then
5776 -  ac_cv_search_getnameinfo="none required"
5777 +  (exit $ac_status); } && {
5778 +        test -z "$ac_c_werror_flag" ||
5779 +        test ! -s conftest.err
5780 +       } && test -s conftest$ac_exeext &&
5781 +       $as_test_x conftest$ac_exeext; then
5782 +  ac_cv_search_getnameinfo=$ac_res
5783  else
5784    echo "$as_me: failed program was:" >&5
5785  sed 's/^/| /' conftest.$ac_ext >&5
5786  
5787 -fi
5788 -rm -f conftest.err conftest.$ac_objext \
5789 -      conftest$ac_exeext conftest.$ac_ext
5790 -if test "$ac_cv_search_getnameinfo" = no; then
5791 -  for ac_lib in nsl socket resolv; do
5792 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5793 -    cat >conftest.$ac_ext <<_ACEOF
5794 -/* confdefs.h.  */
5795 -_ACEOF
5796 -cat confdefs.h >>conftest.$ac_ext
5797 -cat >>conftest.$ac_ext <<_ACEOF
5798 -/* end confdefs.h.  */
5799  
5800 -/* Override any gcc2 internal prototype to avoid an error.  */
5801 -#ifdef __cplusplus
5802 -extern "C"
5803 -#endif
5804 -/* We use char because int might match the return type of a gcc2
5805 -   builtin and then its argument prototype would still apply.  */
5806 -char getnameinfo ();
5807 -int
5808 -main ()
5809 -{
5810 -getnameinfo ();
5811 -  ;
5812 -  return 0;
5813 -}
5814 -_ACEOF
5815 -rm -f conftest.$ac_objext conftest$ac_exeext
5816 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5817 -  (eval $ac_link) 2>conftest.er1
5818 -  ac_status=$?
5819 -  grep -v '^ *+' conftest.er1 >conftest.err
5820 -  rm -f conftest.er1
5821 -  cat conftest.err >&5
5822 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 -  (exit $ac_status); } &&
5824 -        { ac_try='test -z "$ac_c_werror_flag"
5825 -                        || test ! -s conftest.err'
5826 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 -  (eval $ac_try) 2>&5
5828 -  ac_status=$?
5829 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 -  (exit $ac_status); }; } &&
5831 -        { ac_try='test -s conftest$ac_exeext'
5832 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 -  (eval $ac_try) 2>&5
5834 -  ac_status=$?
5835 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 -  (exit $ac_status); }; }; then
5837 -  ac_cv_search_getnameinfo="-l$ac_lib"
5838 -break
5839 -else
5840 -  echo "$as_me: failed program was:" >&5
5841 -sed 's/^/| /' conftest.$ac_ext >&5
5842 +fi
5843  
5844 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5845 +      conftest$ac_exeext
5846 +  if test "${ac_cv_search_getnameinfo+set}" = set; then
5847 +  break
5848  fi
5849 -rm -f conftest.err conftest.$ac_objext \
5850 -      conftest$ac_exeext conftest.$ac_ext
5851 -  done
5852 +done
5853 +if test "${ac_cv_search_getnameinfo+set}" = set; then
5854 +  :
5855 +else
5856 +  ac_cv_search_getnameinfo=no
5857  fi
5858 +rm conftest.$ac_ext
5859  LIBS=$ac_func_search_save_LIBS
5860  fi
5861 -echo "$as_me:$LINENO: result: $ac_cv_search_getnameinfo" >&5
5862 -echo "${ECHO_T}$ac_cv_search_getnameinfo" >&6
5863 -if test "$ac_cv_search_getnameinfo" != no; then
5864 -  test "$ac_cv_search_getnameinfo" = "none required" || LIBS="$ac_cv_search_getnameinfo $LIBS"
5865 +{ echo "$as_me:$LINENO: result: $ac_cv_search_getnameinfo" >&5
5866 +echo "${ECHO_T}$ac_cv_search_getnameinfo" >&6; }
5867 +ac_res=$ac_cv_search_getnameinfo
5868 +if test "$ac_res" != no; then
5869 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5870  
5871  fi
5872  
5873 -echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5
5874 -echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6
5875 +{ echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5
5876 +echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; }
5877  if test "${ac_cv_search_inet_ntop+set}" = set; then
5878    echo $ECHO_N "(cached) $ECHO_C" >&6
5879  else
5880    ac_func_search_save_LIBS=$LIBS
5881 -ac_cv_search_inet_ntop=no
5882  cat >conftest.$ac_ext <<_ACEOF
5883  /* confdefs.h.  */
5884  _ACEOF
5885 @@ -2834,115 +3201,73 @@ cat confdefs.h >>conftest.$ac_ext
5886  cat >>conftest.$ac_ext <<_ACEOF
5887  /* end confdefs.h.  */
5888  
5889 -/* Override any gcc2 internal prototype to avoid an error.  */
5890 +/* Override any GCC internal prototype to avoid an error.
5891 +   Use char because int might match the return type of a GCC
5892 +   builtin and then its argument prototype would still apply.  */
5893  #ifdef __cplusplus
5894  extern "C"
5895  #endif
5896 -/* We use char because int might match the return type of a gcc2
5897 -   builtin and then its argument prototype would still apply.  */
5898  char inet_ntop ();
5899  int
5900  main ()
5901  {
5902 -inet_ntop ();
5903 +return inet_ntop ();
5904    ;
5905    return 0;
5906  }
5907  _ACEOF
5908 -rm -f conftest.$ac_objext conftest$ac_exeext
5909 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5910 -  (eval $ac_link) 2>conftest.er1
5911 +for ac_lib in '' nsl socket resolv; do
5912 +  if test -z "$ac_lib"; then
5913 +    ac_res="none required"
5914 +  else
5915 +    ac_res=-l$ac_lib
5916 +    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5917 +  fi
5918 +  rm -f conftest.$ac_objext conftest$ac_exeext
5919 +if { (ac_try="$ac_link"
5920 +case "(($ac_try" in
5921 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5922 +  *) ac_try_echo=$ac_try;;
5923 +esac
5924 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925 +  (eval "$ac_link") 2>conftest.er1
5926    ac_status=$?
5927    grep -v '^ *+' conftest.er1 >conftest.err
5928    rm -f conftest.er1
5929    cat conftest.err >&5
5930    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 -  (exit $ac_status); } &&
5932 -        { ac_try='test -z "$ac_c_werror_flag"
5933 -                        || test ! -s conftest.err'
5934 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 -  (eval $ac_try) 2>&5
5936 -  ac_status=$?
5937 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 -  (exit $ac_status); }; } &&
5939 -        { ac_try='test -s conftest$ac_exeext'
5940 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 -  (eval $ac_try) 2>&5
5942 -  ac_status=$?
5943 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 -  (exit $ac_status); }; }; then
5945 -  ac_cv_search_inet_ntop="none required"
5946 +  (exit $ac_status); } && {
5947 +        test -z "$ac_c_werror_flag" ||
5948 +        test ! -s conftest.err
5949 +       } && test -s conftest$ac_exeext &&
5950 +       $as_test_x conftest$ac_exeext; then
5951 +  ac_cv_search_inet_ntop=$ac_res
5952  else
5953    echo "$as_me: failed program was:" >&5
5954  sed 's/^/| /' conftest.$ac_ext >&5
5955  
5956 -fi
5957 -rm -f conftest.err conftest.$ac_objext \
5958 -      conftest$ac_exeext conftest.$ac_ext
5959 -if test "$ac_cv_search_inet_ntop" = no; then
5960 -  for ac_lib in nsl socket resolv; do
5961 -    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
5962 -    cat >conftest.$ac_ext <<_ACEOF
5963 -/* confdefs.h.  */
5964 -_ACEOF
5965 -cat confdefs.h >>conftest.$ac_ext
5966 -cat >>conftest.$ac_ext <<_ACEOF
5967 -/* end confdefs.h.  */
5968  
5969 -/* Override any gcc2 internal prototype to avoid an error.  */
5970 -#ifdef __cplusplus
5971 -extern "C"
5972 -#endif
5973 -/* We use char because int might match the return type of a gcc2
5974 -   builtin and then its argument prototype would still apply.  */
5975 -char inet_ntop ();
5976 -int
5977 -main ()
5978 -{
5979 -inet_ntop ();
5980 -  ;
5981 -  return 0;
5982 -}
5983 -_ACEOF
5984 -rm -f conftest.$ac_objext conftest$ac_exeext
5985 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5986 -  (eval $ac_link) 2>conftest.er1
5987 -  ac_status=$?
5988 -  grep -v '^ *+' conftest.er1 >conftest.err
5989 -  rm -f conftest.er1
5990 -  cat conftest.err >&5
5991 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 -  (exit $ac_status); } &&
5993 -        { ac_try='test -z "$ac_c_werror_flag"
5994 -                        || test ! -s conftest.err'
5995 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5996 -  (eval $ac_try) 2>&5
5997 -  ac_status=$?
5998 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 -  (exit $ac_status); }; } &&
6000 -        { ac_try='test -s conftest$ac_exeext'
6001 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 -  (eval $ac_try) 2>&5
6003 -  ac_status=$?
6004 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 -  (exit $ac_status); }; }; then
6006 -  ac_cv_search_inet_ntop="-l$ac_lib"
6007 -break
6008 -else
6009 -  echo "$as_me: failed program was:" >&5
6010 -sed 's/^/| /' conftest.$ac_ext >&5
6011 +fi
6012  
6013 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6014 +      conftest$ac_exeext
6015 +  if test "${ac_cv_search_inet_ntop+set}" = set; then
6016 +  break
6017  fi
6018 -rm -f conftest.err conftest.$ac_objext \
6019 -      conftest$ac_exeext conftest.$ac_ext
6020 -  done
6021 +done
6022 +if test "${ac_cv_search_inet_ntop+set}" = set; then
6023 +  :
6024 +else
6025 +  ac_cv_search_inet_ntop=no
6026  fi
6027 +rm conftest.$ac_ext
6028  LIBS=$ac_func_search_save_LIBS
6029  fi
6030 -echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5
6031 -echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6
6032 -if test "$ac_cv_search_inet_ntop" != no; then
6033 -  test "$ac_cv_search_inet_ntop" = "none required" || LIBS="$ac_cv_search_inet_ntop $LIBS"
6034 +{ echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5
6035 +echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; }
6036 +ac_res=$ac_cv_search_inet_ntop
6037 +if test "$ac_res" != no; then
6038 +  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6039  
6040  fi
6041  
6042 @@ -2951,9 +3276,9 @@ fi
6043  for ac_func in getnameinfo inet_ntop
6044  do
6045  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6046 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6047 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6048 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6049 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6050 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6051 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6052    echo $ECHO_N "(cached) $ECHO_C" >&6
6053  else
6054    cat >conftest.$ac_ext <<_ACEOF
6055 @@ -2979,68 +3304,60 @@ cat >>conftest.$ac_ext <<_ACEOF
6056  
6057  #undef $ac_func
6058  
6059 -/* Override any gcc2 internal prototype to avoid an error.  */
6060 +/* Override any GCC internal prototype to avoid an error.
6061 +   Use char because int might match the return type of a GCC
6062 +   builtin and then its argument prototype would still apply.  */
6063  #ifdef __cplusplus
6064  extern "C"
6065 -{
6066  #endif
6067 -/* We use char because int might match the return type of a gcc2
6068 -   builtin and then its argument prototype would still apply.  */
6069  char $ac_func ();
6070  /* The GNU C library defines this for functions which it implements
6071      to always fail with ENOSYS.  Some functions are actually named
6072      something starting with __ and the normal name is an alias.  */
6073 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6074 +#if defined __stub_$ac_func || defined __stub___$ac_func
6075  choke me
6076 -#else
6077 -char (*f) () = $ac_func;
6078 -#endif
6079 -#ifdef __cplusplus
6080 -}
6081  #endif
6082  
6083  int
6084  main ()
6085  {
6086 -return f != $ac_func;
6087 +return $ac_func ();
6088    ;
6089    return 0;
6090  }
6091  _ACEOF
6092  rm -f conftest.$ac_objext conftest$ac_exeext
6093 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6094 -  (eval $ac_link) 2>conftest.er1
6095 +if { (ac_try="$ac_link"
6096 +case "(($ac_try" in
6097 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6098 +  *) ac_try_echo=$ac_try;;
6099 +esac
6100 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6101 +  (eval "$ac_link") 2>conftest.er1
6102    ac_status=$?
6103    grep -v '^ *+' conftest.er1 >conftest.err
6104    rm -f conftest.er1
6105    cat conftest.err >&5
6106    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 -  (exit $ac_status); } &&
6108 -        { ac_try='test -z "$ac_c_werror_flag"
6109 -                        || test ! -s conftest.err'
6110 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 -  (eval $ac_try) 2>&5
6112 -  ac_status=$?
6113 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 -  (exit $ac_status); }; } &&
6115 -        { ac_try='test -s conftest$ac_exeext'
6116 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 -  (eval $ac_try) 2>&5
6118 -  ac_status=$?
6119 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 -  (exit $ac_status); }; }; then
6121 +  (exit $ac_status); } && {
6122 +        test -z "$ac_c_werror_flag" ||
6123 +        test ! -s conftest.err
6124 +       } && test -s conftest$ac_exeext &&
6125 +       $as_test_x conftest$ac_exeext; then
6126    eval "$as_ac_var=yes"
6127  else
6128    echo "$as_me: failed program was:" >&5
6129  sed 's/^/| /' conftest.$ac_ext >&5
6130  
6131 -eval "$as_ac_var=no"
6132 +       eval "$as_ac_var=no"
6133  fi
6134 -rm -f conftest.err conftest.$ac_objext \
6135 +
6136 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6137        conftest$ac_exeext conftest.$ac_ext
6138  fi
6139 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6140 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6141 +ac_res=`eval echo '${'$as_ac_var'}'`
6142 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6143 +echo "${ECHO_T}$ac_res" >&6; }
6144  if test `eval echo '${'$as_ac_var'}'` = yes; then
6145    cat >>confdefs.h <<_ACEOF
6146  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6147 @@ -3053,9 +3370,9 @@ done
6148  for ac_func in difftime
6149  do
6150  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6151 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6152 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6153 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6154 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6155 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6156 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6157    echo $ECHO_N "(cached) $ECHO_C" >&6
6158  else
6159    cat >conftest.$ac_ext <<_ACEOF
6160 @@ -3081,68 +3398,60 @@ cat >>conftest.$ac_ext <<_ACEOF
6161  
6162  #undef $ac_func
6163  
6164 -/* Override any gcc2 internal prototype to avoid an error.  */
6165 +/* Override any GCC internal prototype to avoid an error.
6166 +   Use char because int might match the return type of a GCC
6167 +   builtin and then its argument prototype would still apply.  */
6168  #ifdef __cplusplus
6169  extern "C"
6170 -{
6171  #endif
6172 -/* We use char because int might match the return type of a gcc2
6173 -   builtin and then its argument prototype would still apply.  */
6174  char $ac_func ();
6175  /* The GNU C library defines this for functions which it implements
6176      to always fail with ENOSYS.  Some functions are actually named
6177      something starting with __ and the normal name is an alias.  */
6178 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6179 +#if defined __stub_$ac_func || defined __stub___$ac_func
6180  choke me
6181 -#else
6182 -char (*f) () = $ac_func;
6183 -#endif
6184 -#ifdef __cplusplus
6185 -}
6186  #endif
6187  
6188  int
6189  main ()
6190  {
6191 -return f != $ac_func;
6192 +return $ac_func ();
6193    ;
6194    return 0;
6195  }
6196  _ACEOF
6197  rm -f conftest.$ac_objext conftest$ac_exeext
6198 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6199 -  (eval $ac_link) 2>conftest.er1
6200 +if { (ac_try="$ac_link"
6201 +case "(($ac_try" in
6202 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203 +  *) ac_try_echo=$ac_try;;
6204 +esac
6205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206 +  (eval "$ac_link") 2>conftest.er1
6207    ac_status=$?
6208    grep -v '^ *+' conftest.er1 >conftest.err
6209    rm -f conftest.er1
6210    cat conftest.err >&5
6211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 -  (exit $ac_status); } &&
6213 -        { ac_try='test -z "$ac_c_werror_flag"
6214 -                        || test ! -s conftest.err'
6215 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 -  (eval $ac_try) 2>&5
6217 -  ac_status=$?
6218 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 -  (exit $ac_status); }; } &&
6220 -        { ac_try='test -s conftest$ac_exeext'
6221 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 -  (eval $ac_try) 2>&5
6223 -  ac_status=$?
6224 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 -  (exit $ac_status); }; }; then
6226 +  (exit $ac_status); } && {
6227 +        test -z "$ac_c_werror_flag" ||
6228 +        test ! -s conftest.err
6229 +       } && test -s conftest$ac_exeext &&
6230 +       $as_test_x conftest$ac_exeext; then
6231    eval "$as_ac_var=yes"
6232  else
6233    echo "$as_me: failed program was:" >&5
6234  sed 's/^/| /' conftest.$ac_ext >&5
6235  
6236 -eval "$as_ac_var=no"
6237 +       eval "$as_ac_var=no"
6238  fi
6239 -rm -f conftest.err conftest.$ac_objext \
6240 +
6241 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6242        conftest$ac_exeext conftest.$ac_ext
6243  fi
6244 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6245 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6246 +ac_res=`eval echo '${'$as_ac_var'}'`
6247 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6248 +echo "${ECHO_T}$ac_res" >&6; }
6249  if test `eval echo '${'$as_ac_var'}'` = yes; then
6250    cat >>confdefs.h <<_ACEOF
6251  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6252 @@ -3150,8 +3459,8 @@ _ACEOF
6253  
6254  else
6255  
6256 -echo "$as_me:$LINENO: checking for difftime in -lm" >&5
6257 -echo $ECHO_N "checking for difftime in -lm... $ECHO_C" >&6
6258 +{ echo "$as_me:$LINENO: checking for difftime in -lm" >&5
6259 +echo $ECHO_N "checking for difftime in -lm... $ECHO_C" >&6; }
6260  if test "${ac_cv_lib_m_difftime+set}" = set; then
6261    echo $ECHO_N "(cached) $ECHO_C" >&6
6262  else
6263 @@ -3164,56 +3473,53 @@ cat confdefs.h >>conftest.$ac_ext
6264  cat >>conftest.$ac_ext <<_ACEOF
6265  /* end confdefs.h.  */
6266  
6267 -/* Override any gcc2 internal prototype to avoid an error.  */
6268 +/* Override any GCC internal prototype to avoid an error.
6269 +   Use char because int might match the return type of a GCC
6270 +   builtin and then its argument prototype would still apply.  */
6271  #ifdef __cplusplus
6272  extern "C"
6273  #endif
6274 -/* We use char because int might match the return type of a gcc2
6275 -   builtin and then its argument prototype would still apply.  */
6276  char difftime ();
6277  int
6278  main ()
6279  {
6280 -difftime ();
6281 +return difftime ();
6282    ;
6283    return 0;
6284  }
6285  _ACEOF
6286  rm -f conftest.$ac_objext conftest$ac_exeext
6287 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6288 -  (eval $ac_link) 2>conftest.er1
6289 +if { (ac_try="$ac_link"
6290 +case "(($ac_try" in
6291 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6292 +  *) ac_try_echo=$ac_try;;
6293 +esac
6294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6295 +  (eval "$ac_link") 2>conftest.er1
6296    ac_status=$?
6297    grep -v '^ *+' conftest.er1 >conftest.err
6298    rm -f conftest.er1
6299    cat conftest.err >&5
6300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 -  (exit $ac_status); } &&
6302 -        { ac_try='test -z "$ac_c_werror_flag"
6303 -                        || test ! -s conftest.err'
6304 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 -  (eval $ac_try) 2>&5
6306 -  ac_status=$?
6307 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 -  (exit $ac_status); }; } &&
6309 -        { ac_try='test -s conftest$ac_exeext'
6310 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 -  (eval $ac_try) 2>&5
6312 -  ac_status=$?
6313 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 -  (exit $ac_status); }; }; then
6315 +  (exit $ac_status); } && {
6316 +        test -z "$ac_c_werror_flag" ||
6317 +        test ! -s conftest.err
6318 +       } && test -s conftest$ac_exeext &&
6319 +       $as_test_x conftest$ac_exeext; then
6320    ac_cv_lib_m_difftime=yes
6321  else
6322    echo "$as_me: failed program was:" >&5
6323  sed 's/^/| /' conftest.$ac_ext >&5
6324  
6325 -ac_cv_lib_m_difftime=no
6326 +       ac_cv_lib_m_difftime=no
6327  fi
6328 -rm -f conftest.err conftest.$ac_objext \
6329 +
6330 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6331        conftest$ac_exeext conftest.$ac_ext
6332  LIBS=$ac_check_lib_save_LIBS
6333  fi
6334 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_difftime" >&5
6335 -echo "${ECHO_T}$ac_cv_lib_m_difftime" >&6
6336 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_difftime" >&5
6337 +echo "${ECHO_T}$ac_cv_lib_m_difftime" >&6; }
6338  if test $ac_cv_lib_m_difftime = yes; then
6339    cat >>confdefs.h <<_ACEOF
6340  #define HAVE_LIBM 1
6341 @@ -3230,9 +3536,9 @@ done
6342  for ac_func in fcvt
6343  do
6344  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6345 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6346 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6347 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6348 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6349 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6350 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6351    echo $ECHO_N "(cached) $ECHO_C" >&6
6352  else
6353    cat >conftest.$ac_ext <<_ACEOF
6354 @@ -3258,68 +3564,60 @@ cat >>conftest.$ac_ext <<_ACEOF
6355  
6356  #undef $ac_func
6357  
6358 -/* Override any gcc2 internal prototype to avoid an error.  */
6359 +/* Override any GCC internal prototype to avoid an error.
6360 +   Use char because int might match the return type of a GCC
6361 +   builtin and then its argument prototype would still apply.  */
6362  #ifdef __cplusplus
6363  extern "C"
6364 -{
6365  #endif
6366 -/* We use char because int might match the return type of a gcc2
6367 -   builtin and then its argument prototype would still apply.  */
6368  char $ac_func ();
6369  /* The GNU C library defines this for functions which it implements
6370      to always fail with ENOSYS.  Some functions are actually named
6371      something starting with __ and the normal name is an alias.  */
6372 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6373 +#if defined __stub_$ac_func || defined __stub___$ac_func
6374  choke me
6375 -#else
6376 -char (*f) () = $ac_func;
6377 -#endif
6378 -#ifdef __cplusplus
6379 -}
6380  #endif
6381  
6382  int
6383  main ()
6384  {
6385 -return f != $ac_func;
6386 +return $ac_func ();
6387    ;
6388    return 0;
6389  }
6390  _ACEOF
6391  rm -f conftest.$ac_objext conftest$ac_exeext
6392 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6393 -  (eval $ac_link) 2>conftest.er1
6394 +if { (ac_try="$ac_link"
6395 +case "(($ac_try" in
6396 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6397 +  *) ac_try_echo=$ac_try;;
6398 +esac
6399 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6400 +  (eval "$ac_link") 2>conftest.er1
6401    ac_status=$?
6402    grep -v '^ *+' conftest.er1 >conftest.err
6403    rm -f conftest.er1
6404    cat conftest.err >&5
6405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 -  (exit $ac_status); } &&
6407 -        { ac_try='test -z "$ac_c_werror_flag"
6408 -                        || test ! -s conftest.err'
6409 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6410 -  (eval $ac_try) 2>&5
6411 -  ac_status=$?
6412 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 -  (exit $ac_status); }; } &&
6414 -        { ac_try='test -s conftest$ac_exeext'
6415 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 -  (eval $ac_try) 2>&5
6417 -  ac_status=$?
6418 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 -  (exit $ac_status); }; }; then
6420 +  (exit $ac_status); } && {
6421 +        test -z "$ac_c_werror_flag" ||
6422 +        test ! -s conftest.err
6423 +       } && test -s conftest$ac_exeext &&
6424 +       $as_test_x conftest$ac_exeext; then
6425    eval "$as_ac_var=yes"
6426  else
6427    echo "$as_me: failed program was:" >&5
6428  sed 's/^/| /' conftest.$ac_ext >&5
6429  
6430 -eval "$as_ac_var=no"
6431 +       eval "$as_ac_var=no"
6432  fi
6433 -rm -f conftest.err conftest.$ac_objext \
6434 +
6435 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6436        conftest$ac_exeext conftest.$ac_ext
6437  fi
6438 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6439 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6440 +ac_res=`eval echo '${'$as_ac_var'}'`
6441 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6442 +echo "${ECHO_T}$ac_res" >&6; }
6443  if test `eval echo '${'$as_ac_var'}'` = yes; then
6444    cat >>confdefs.h <<_ACEOF
6445  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6446 @@ -3327,8 +3625,8 @@ _ACEOF
6447  
6448  else
6449  
6450 -echo "$as_me:$LINENO: checking for fcvt in -lm" >&5
6451 -echo $ECHO_N "checking for fcvt in -lm... $ECHO_C" >&6
6452 +{ echo "$as_me:$LINENO: checking for fcvt in -lm" >&5
6453 +echo $ECHO_N "checking for fcvt in -lm... $ECHO_C" >&6; }
6454  if test "${ac_cv_lib_m_fcvt+set}" = set; then
6455    echo $ECHO_N "(cached) $ECHO_C" >&6
6456  else
6457 @@ -3341,56 +3639,53 @@ cat confdefs.h >>conftest.$ac_ext
6458  cat >>conftest.$ac_ext <<_ACEOF
6459  /* end confdefs.h.  */
6460  
6461 -/* Override any gcc2 internal prototype to avoid an error.  */
6462 +/* Override any GCC internal prototype to avoid an error.
6463 +   Use char because int might match the return type of a GCC
6464 +   builtin and then its argument prototype would still apply.  */
6465  #ifdef __cplusplus
6466  extern "C"
6467  #endif
6468 -/* We use char because int might match the return type of a gcc2
6469 -   builtin and then its argument prototype would still apply.  */
6470  char fcvt ();
6471  int
6472  main ()
6473  {
6474 -fcvt ();
6475 +return fcvt ();
6476    ;
6477    return 0;
6478  }
6479  _ACEOF
6480  rm -f conftest.$ac_objext conftest$ac_exeext
6481 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6482 -  (eval $ac_link) 2>conftest.er1
6483 +if { (ac_try="$ac_link"
6484 +case "(($ac_try" in
6485 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6486 +  *) ac_try_echo=$ac_try;;
6487 +esac
6488 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489 +  (eval "$ac_link") 2>conftest.er1
6490    ac_status=$?
6491    grep -v '^ *+' conftest.er1 >conftest.err
6492    rm -f conftest.er1
6493    cat conftest.err >&5
6494    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 -  (exit $ac_status); } &&
6496 -        { ac_try='test -z "$ac_c_werror_flag"
6497 -                        || test ! -s conftest.err'
6498 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6499 -  (eval $ac_try) 2>&5
6500 -  ac_status=$?
6501 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 -  (exit $ac_status); }; } &&
6503 -        { ac_try='test -s conftest$ac_exeext'
6504 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 -  (eval $ac_try) 2>&5
6506 -  ac_status=$?
6507 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 -  (exit $ac_status); }; }; then
6509 +  (exit $ac_status); } && {
6510 +        test -z "$ac_c_werror_flag" ||
6511 +        test ! -s conftest.err
6512 +       } && test -s conftest$ac_exeext &&
6513 +       $as_test_x conftest$ac_exeext; then
6514    ac_cv_lib_m_fcvt=yes
6515  else
6516    echo "$as_me: failed program was:" >&5
6517  sed 's/^/| /' conftest.$ac_ext >&5
6518  
6519 -ac_cv_lib_m_fcvt=no
6520 +       ac_cv_lib_m_fcvt=no
6521  fi
6522 -rm -f conftest.err conftest.$ac_objext \
6523 +
6524 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6525        conftest$ac_exeext conftest.$ac_ext
6526  LIBS=$ac_check_lib_save_LIBS
6527  fi
6528 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_fcvt" >&5
6529 -echo "${ECHO_T}$ac_cv_lib_m_fcvt" >&6
6530 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_fcvt" >&5
6531 +echo "${ECHO_T}$ac_cv_lib_m_fcvt" >&6; }
6532  if test $ac_cv_lib_m_fcvt = yes; then
6533    cat >>confdefs.h <<_ACEOF
6534  #define HAVE_LIBM 1
6535 @@ -3407,9 +3702,9 @@ done
6536  for ac_func in ecvt
6537  do
6538  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6539 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6540 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6541 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6542 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6543 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6544 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6545    echo $ECHO_N "(cached) $ECHO_C" >&6
6546  else
6547    cat >conftest.$ac_ext <<_ACEOF
6548 @@ -3435,68 +3730,60 @@ cat >>conftest.$ac_ext <<_ACEOF
6549  
6550  #undef $ac_func
6551  
6552 -/* Override any gcc2 internal prototype to avoid an error.  */
6553 +/* Override any GCC internal prototype to avoid an error.
6554 +   Use char because int might match the return type of a GCC
6555 +   builtin and then its argument prototype would still apply.  */
6556  #ifdef __cplusplus
6557  extern "C"
6558 -{
6559  #endif
6560 -/* We use char because int might match the return type of a gcc2
6561 -   builtin and then its argument prototype would still apply.  */
6562  char $ac_func ();
6563  /* The GNU C library defines this for functions which it implements
6564      to always fail with ENOSYS.  Some functions are actually named
6565      something starting with __ and the normal name is an alias.  */
6566 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6567 +#if defined __stub_$ac_func || defined __stub___$ac_func
6568  choke me
6569 -#else
6570 -char (*f) () = $ac_func;
6571 -#endif
6572 -#ifdef __cplusplus
6573 -}
6574  #endif
6575  
6576  int
6577  main ()
6578  {
6579 -return f != $ac_func;
6580 +return $ac_func ();
6581    ;
6582    return 0;
6583  }
6584  _ACEOF
6585  rm -f conftest.$ac_objext conftest$ac_exeext
6586 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6587 -  (eval $ac_link) 2>conftest.er1
6588 +if { (ac_try="$ac_link"
6589 +case "(($ac_try" in
6590 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6591 +  *) ac_try_echo=$ac_try;;
6592 +esac
6593 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6594 +  (eval "$ac_link") 2>conftest.er1
6595    ac_status=$?
6596    grep -v '^ *+' conftest.er1 >conftest.err
6597    rm -f conftest.er1
6598    cat conftest.err >&5
6599    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 -  (exit $ac_status); } &&
6601 -        { ac_try='test -z "$ac_c_werror_flag"
6602 -                        || test ! -s conftest.err'
6603 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 -  (eval $ac_try) 2>&5
6605 -  ac_status=$?
6606 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 -  (exit $ac_status); }; } &&
6608 -        { ac_try='test -s conftest$ac_exeext'
6609 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 -  (eval $ac_try) 2>&5
6611 -  ac_status=$?
6612 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 -  (exit $ac_status); }; }; then
6614 +  (exit $ac_status); } && {
6615 +        test -z "$ac_c_werror_flag" ||
6616 +        test ! -s conftest.err
6617 +       } && test -s conftest$ac_exeext &&
6618 +       $as_test_x conftest$ac_exeext; then
6619    eval "$as_ac_var=yes"
6620  else
6621    echo "$as_me: failed program was:" >&5
6622  sed 's/^/| /' conftest.$ac_ext >&5
6623  
6624 -eval "$as_ac_var=no"
6625 +       eval "$as_ac_var=no"
6626  fi
6627 -rm -f conftest.err conftest.$ac_objext \
6628 +
6629 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6630        conftest$ac_exeext conftest.$ac_ext
6631  fi
6632 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6633 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6634 +ac_res=`eval echo '${'$as_ac_var'}'`
6635 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6636 +echo "${ECHO_T}$ac_res" >&6; }
6637  if test `eval echo '${'$as_ac_var'}'` = yes; then
6638    cat >>confdefs.h <<_ACEOF
6639  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6640 @@ -3504,8 +3791,8 @@ _ACEOF
6641  
6642  else
6643  
6644 -echo "$as_me:$LINENO: checking for ecvt in -lm" >&5
6645 -echo $ECHO_N "checking for ecvt in -lm... $ECHO_C" >&6
6646 +{ echo "$as_me:$LINENO: checking for ecvt in -lm" >&5
6647 +echo $ECHO_N "checking for ecvt in -lm... $ECHO_C" >&6; }
6648  if test "${ac_cv_lib_m_ecvt+set}" = set; then
6649    echo $ECHO_N "(cached) $ECHO_C" >&6
6650  else
6651 @@ -3518,56 +3805,53 @@ cat confdefs.h >>conftest.$ac_ext
6652  cat >>conftest.$ac_ext <<_ACEOF
6653  /* end confdefs.h.  */
6654  
6655 -/* Override any gcc2 internal prototype to avoid an error.  */
6656 +/* Override any GCC internal prototype to avoid an error.
6657 +   Use char because int might match the return type of a GCC
6658 +   builtin and then its argument prototype would still apply.  */
6659  #ifdef __cplusplus
6660  extern "C"
6661  #endif
6662 -/* We use char because int might match the return type of a gcc2
6663 -   builtin and then its argument prototype would still apply.  */
6664  char ecvt ();
6665  int
6666  main ()
6667  {
6668 -ecvt ();
6669 +return ecvt ();
6670    ;
6671    return 0;
6672  }
6673  _ACEOF
6674  rm -f conftest.$ac_objext conftest$ac_exeext
6675 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6676 -  (eval $ac_link) 2>conftest.er1
6677 +if { (ac_try="$ac_link"
6678 +case "(($ac_try" in
6679 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 +  *) ac_try_echo=$ac_try;;
6681 +esac
6682 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 +  (eval "$ac_link") 2>conftest.er1
6684    ac_status=$?
6685    grep -v '^ *+' conftest.er1 >conftest.err
6686    rm -f conftest.er1
6687    cat conftest.err >&5
6688    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 -  (exit $ac_status); } &&
6690 -        { ac_try='test -z "$ac_c_werror_flag"
6691 -                        || test ! -s conftest.err'
6692 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 -  (eval $ac_try) 2>&5
6694 -  ac_status=$?
6695 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 -  (exit $ac_status); }; } &&
6697 -        { ac_try='test -s conftest$ac_exeext'
6698 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 -  (eval $ac_try) 2>&5
6700 -  ac_status=$?
6701 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 -  (exit $ac_status); }; }; then
6703 +  (exit $ac_status); } && {
6704 +        test -z "$ac_c_werror_flag" ||
6705 +        test ! -s conftest.err
6706 +       } && test -s conftest$ac_exeext &&
6707 +       $as_test_x conftest$ac_exeext; then
6708    ac_cv_lib_m_ecvt=yes
6709  else
6710    echo "$as_me: failed program was:" >&5
6711  sed 's/^/| /' conftest.$ac_ext >&5
6712  
6713 -ac_cv_lib_m_ecvt=no
6714 +       ac_cv_lib_m_ecvt=no
6715  fi
6716 -rm -f conftest.err conftest.$ac_objext \
6717 +
6718 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6719        conftest$ac_exeext conftest.$ac_ext
6720  LIBS=$ac_check_lib_save_LIBS
6721  fi
6722 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_ecvt" >&5
6723 -echo "${ECHO_T}$ac_cv_lib_m_ecvt" >&6
6724 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ecvt" >&5
6725 +echo "${ECHO_T}$ac_cv_lib_m_ecvt" >&6; }
6726  if test $ac_cv_lib_m_ecvt = yes; then
6727    cat >>confdefs.h <<_ACEOF
6728  #define HAVE_LIBM 1
6729 @@ -3584,9 +3868,9 @@ done
6730  for ac_func in gcvt
6731  do
6732  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6733 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6734 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6735 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6736 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6737 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6738 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6739    echo $ECHO_N "(cached) $ECHO_C" >&6
6740  else
6741    cat >conftest.$ac_ext <<_ACEOF
6742 @@ -3612,68 +3896,60 @@ cat >>conftest.$ac_ext <<_ACEOF
6743  
6744  #undef $ac_func
6745  
6746 -/* Override any gcc2 internal prototype to avoid an error.  */
6747 +/* Override any GCC internal prototype to avoid an error.
6748 +   Use char because int might match the return type of a GCC
6749 +   builtin and then its argument prototype would still apply.  */
6750  #ifdef __cplusplus
6751  extern "C"
6752 -{
6753  #endif
6754 -/* We use char because int might match the return type of a gcc2
6755 -   builtin and then its argument prototype would still apply.  */
6756  char $ac_func ();
6757  /* The GNU C library defines this for functions which it implements
6758      to always fail with ENOSYS.  Some functions are actually named
6759      something starting with __ and the normal name is an alias.  */
6760 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6761 +#if defined __stub_$ac_func || defined __stub___$ac_func
6762  choke me
6763 -#else
6764 -char (*f) () = $ac_func;
6765 -#endif
6766 -#ifdef __cplusplus
6767 -}
6768  #endif
6769  
6770  int
6771  main ()
6772  {
6773 -return f != $ac_func;
6774 +return $ac_func ();
6775    ;
6776    return 0;
6777  }
6778  _ACEOF
6779  rm -f conftest.$ac_objext conftest$ac_exeext
6780 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6781 -  (eval $ac_link) 2>conftest.er1
6782 +if { (ac_try="$ac_link"
6783 +case "(($ac_try" in
6784 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6785 +  *) ac_try_echo=$ac_try;;
6786 +esac
6787 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6788 +  (eval "$ac_link") 2>conftest.er1
6789    ac_status=$?
6790    grep -v '^ *+' conftest.er1 >conftest.err
6791    rm -f conftest.er1
6792    cat conftest.err >&5
6793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 -  (exit $ac_status); } &&
6795 -        { ac_try='test -z "$ac_c_werror_flag"
6796 -                        || test ! -s conftest.err'
6797 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6798 -  (eval $ac_try) 2>&5
6799 -  ac_status=$?
6800 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 -  (exit $ac_status); }; } &&
6802 -        { ac_try='test -s conftest$ac_exeext'
6803 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804 -  (eval $ac_try) 2>&5
6805 -  ac_status=$?
6806 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 -  (exit $ac_status); }; }; then
6808 +  (exit $ac_status); } && {
6809 +        test -z "$ac_c_werror_flag" ||
6810 +        test ! -s conftest.err
6811 +       } && test -s conftest$ac_exeext &&
6812 +       $as_test_x conftest$ac_exeext; then
6813    eval "$as_ac_var=yes"
6814  else
6815    echo "$as_me: failed program was:" >&5
6816  sed 's/^/| /' conftest.$ac_ext >&5
6817  
6818 -eval "$as_ac_var=no"
6819 +       eval "$as_ac_var=no"
6820  fi
6821 -rm -f conftest.err conftest.$ac_objext \
6822 +
6823 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6824        conftest$ac_exeext conftest.$ac_ext
6825  fi
6826 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6827 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6828 +ac_res=`eval echo '${'$as_ac_var'}'`
6829 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
6830 +echo "${ECHO_T}$ac_res" >&6; }
6831  if test `eval echo '${'$as_ac_var'}'` = yes; then
6832    cat >>confdefs.h <<_ACEOF
6833  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6834 @@ -3681,8 +3957,8 @@ _ACEOF
6835  
6836  else
6837  
6838 -echo "$as_me:$LINENO: checking for gcvt in -lm" >&5
6839 -echo $ECHO_N "checking for gcvt in -lm... $ECHO_C" >&6
6840 +{ echo "$as_me:$LINENO: checking for gcvt in -lm" >&5
6841 +echo $ECHO_N "checking for gcvt in -lm... $ECHO_C" >&6; }
6842  if test "${ac_cv_lib_m_gcvt+set}" = set; then
6843    echo $ECHO_N "(cached) $ECHO_C" >&6
6844  else
6845 @@ -3695,56 +3971,53 @@ cat confdefs.h >>conftest.$ac_ext
6846  cat >>conftest.$ac_ext <<_ACEOF
6847  /* end confdefs.h.  */
6848  
6849 -/* Override any gcc2 internal prototype to avoid an error.  */
6850 +/* Override any GCC internal prototype to avoid an error.
6851 +   Use char because int might match the return type of a GCC
6852 +   builtin and then its argument prototype would still apply.  */
6853  #ifdef __cplusplus
6854  extern "C"
6855  #endif
6856 -/* We use char because int might match the return type of a gcc2
6857 -   builtin and then its argument prototype would still apply.  */
6858  char gcvt ();
6859  int
6860  main ()
6861  {
6862 -gcvt ();
6863 +return gcvt ();
6864    ;
6865    return 0;
6866  }
6867  _ACEOF
6868  rm -f conftest.$ac_objext conftest$ac_exeext
6869 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6870 -  (eval $ac_link) 2>conftest.er1
6871 +if { (ac_try="$ac_link"
6872 +case "(($ac_try" in
6873 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 +  *) ac_try_echo=$ac_try;;
6875 +esac
6876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 +  (eval "$ac_link") 2>conftest.er1
6878    ac_status=$?
6879    grep -v '^ *+' conftest.er1 >conftest.err
6880    rm -f conftest.er1
6881    cat conftest.err >&5
6882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 -  (exit $ac_status); } &&
6884 -        { ac_try='test -z "$ac_c_werror_flag"
6885 -                        || test ! -s conftest.err'
6886 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 -  (eval $ac_try) 2>&5
6888 -  ac_status=$?
6889 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 -  (exit $ac_status); }; } &&
6891 -        { ac_try='test -s conftest$ac_exeext'
6892 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 -  (eval $ac_try) 2>&5
6894 -  ac_status=$?
6895 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 -  (exit $ac_status); }; }; then
6897 +  (exit $ac_status); } && {
6898 +        test -z "$ac_c_werror_flag" ||
6899 +        test ! -s conftest.err
6900 +       } && test -s conftest$ac_exeext &&
6901 +       $as_test_x conftest$ac_exeext; then
6902    ac_cv_lib_m_gcvt=yes
6903  else
6904    echo "$as_me: failed program was:" >&5
6905  sed 's/^/| /' conftest.$ac_ext >&5
6906  
6907 -ac_cv_lib_m_gcvt=no
6908 +       ac_cv_lib_m_gcvt=no
6909  fi
6910 -rm -f conftest.err conftest.$ac_objext \
6911 +
6912 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6913        conftest$ac_exeext conftest.$ac_ext
6914  LIBS=$ac_check_lib_save_LIBS
6915  fi
6916 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_gcvt" >&5
6917 -echo "${ECHO_T}$ac_cv_lib_m_gcvt" >&6
6918 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_gcvt" >&5
6919 +echo "${ECHO_T}$ac_cv_lib_m_gcvt" >&6; }
6920  if test $ac_cv_lib_m_gcvt = yes; then
6921    cat >>confdefs.h <<_ACEOF
6922  #define HAVE_LIBM 1
6923 @@ -3758,8 +4031,8 @@ fi
6924  done
6925  
6926  
6927 -echo "$as_me:$LINENO: checking for strerror" >&5
6928 -echo $ECHO_N "checking for strerror... $ECHO_C" >&6
6929 +{ echo "$as_me:$LINENO: checking for strerror" >&5
6930 +echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
6931  if test "${ac_cv_func_strerror+set}" = set; then
6932    echo $ECHO_N "(cached) $ECHO_C" >&6
6933  else
6934 @@ -3786,68 +4059,59 @@ cat >>conftest.$ac_ext <<_ACEOF
6935  
6936  #undef strerror
6937  
6938 -/* Override any gcc2 internal prototype to avoid an error.  */
6939 +/* Override any GCC internal prototype to avoid an error.
6940 +   Use char because int might match the return type of a GCC
6941 +   builtin and then its argument prototype would still apply.  */
6942  #ifdef __cplusplus
6943  extern "C"
6944 -{
6945  #endif
6946 -/* We use char because int might match the return type of a gcc2
6947 -   builtin and then its argument prototype would still apply.  */
6948  char strerror ();
6949  /* The GNU C library defines this for functions which it implements
6950      to always fail with ENOSYS.  Some functions are actually named
6951      something starting with __ and the normal name is an alias.  */
6952 -#if defined (__stub_strerror) || defined (__stub___strerror)
6953 +#if defined __stub_strerror || defined __stub___strerror
6954  choke me
6955 -#else
6956 -char (*f) () = strerror;
6957 -#endif
6958 -#ifdef __cplusplus
6959 -}
6960  #endif
6961  
6962  int
6963  main ()
6964  {
6965 -return f != strerror;
6966 +return strerror ();
6967    ;
6968    return 0;
6969  }
6970  _ACEOF
6971  rm -f conftest.$ac_objext conftest$ac_exeext
6972 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6973 -  (eval $ac_link) 2>conftest.er1
6974 +if { (ac_try="$ac_link"
6975 +case "(($ac_try" in
6976 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6977 +  *) ac_try_echo=$ac_try;;
6978 +esac
6979 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6980 +  (eval "$ac_link") 2>conftest.er1
6981    ac_status=$?
6982    grep -v '^ *+' conftest.er1 >conftest.err
6983    rm -f conftest.er1
6984    cat conftest.err >&5
6985    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 -  (exit $ac_status); } &&
6987 -        { ac_try='test -z "$ac_c_werror_flag"
6988 -                        || test ! -s conftest.err'
6989 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 -  (eval $ac_try) 2>&5
6991 -  ac_status=$?
6992 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 -  (exit $ac_status); }; } &&
6994 -        { ac_try='test -s conftest$ac_exeext'
6995 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6996 -  (eval $ac_try) 2>&5
6997 -  ac_status=$?
6998 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 -  (exit $ac_status); }; }; then
7000 +  (exit $ac_status); } && {
7001 +        test -z "$ac_c_werror_flag" ||
7002 +        test ! -s conftest.err
7003 +       } && test -s conftest$ac_exeext &&
7004 +       $as_test_x conftest$ac_exeext; then
7005    ac_cv_func_strerror=yes
7006  else
7007    echo "$as_me: failed program was:" >&5
7008  sed 's/^/| /' conftest.$ac_ext >&5
7009  
7010 -ac_cv_func_strerror=no
7011 +       ac_cv_func_strerror=no
7012  fi
7013 -rm -f conftest.err conftest.$ac_objext \
7014 +
7015 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7016        conftest$ac_exeext conftest.$ac_ext
7017  fi
7018 -echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
7019 -echo "${ECHO_T}$ac_cv_func_strerror" >&6
7020 +{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
7021 +echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
7022  if test $ac_cv_func_strerror = yes; then
7023    cat >>confdefs.h <<\_ACEOF
7024  #define HAVE_STRERROR 1
7025 @@ -3855,8 +4119,8 @@ _ACEOF
7026  
7027  fi
7028  
7029 -echo "$as_me:$LINENO: checking for strcasecmp" >&5
7030 -echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
7031 +{ echo "$as_me:$LINENO: checking for strcasecmp" >&5
7032 +echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; }
7033  if test "${ac_cv_func_strcasecmp+set}" = set; then
7034    echo $ECHO_N "(cached) $ECHO_C" >&6
7035  else
7036 @@ -3883,68 +4147,59 @@ cat >>conftest.$ac_ext <<_ACEOF
7037  
7038  #undef strcasecmp
7039  
7040 -/* Override any gcc2 internal prototype to avoid an error.  */
7041 +/* Override any GCC internal prototype to avoid an error.
7042 +   Use char because int might match the return type of a GCC
7043 +   builtin and then its argument prototype would still apply.  */
7044  #ifdef __cplusplus
7045  extern "C"
7046 -{
7047  #endif
7048 -/* We use char because int might match the return type of a gcc2
7049 -   builtin and then its argument prototype would still apply.  */
7050  char strcasecmp ();
7051  /* The GNU C library defines this for functions which it implements
7052      to always fail with ENOSYS.  Some functions are actually named
7053      something starting with __ and the normal name is an alias.  */
7054 -#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
7055 +#if defined __stub_strcasecmp || defined __stub___strcasecmp
7056  choke me
7057 -#else
7058 -char (*f) () = strcasecmp;
7059 -#endif
7060 -#ifdef __cplusplus
7061 -}
7062  #endif
7063  
7064  int
7065  main ()
7066  {
7067 -return f != strcasecmp;
7068 +return strcasecmp ();
7069    ;
7070    return 0;
7071  }
7072  _ACEOF
7073  rm -f conftest.$ac_objext conftest$ac_exeext
7074 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7075 -  (eval $ac_link) 2>conftest.er1
7076 +if { (ac_try="$ac_link"
7077 +case "(($ac_try" in
7078 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7079 +  *) ac_try_echo=$ac_try;;
7080 +esac
7081 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7082 +  (eval "$ac_link") 2>conftest.er1
7083    ac_status=$?
7084    grep -v '^ *+' conftest.er1 >conftest.err
7085    rm -f conftest.er1
7086    cat conftest.err >&5
7087    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 -  (exit $ac_status); } &&
7089 -        { ac_try='test -z "$ac_c_werror_flag"
7090 -                        || test ! -s conftest.err'
7091 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 -  (eval $ac_try) 2>&5
7093 -  ac_status=$?
7094 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 -  (exit $ac_status); }; } &&
7096 -        { ac_try='test -s conftest$ac_exeext'
7097 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 -  (eval $ac_try) 2>&5
7099 -  ac_status=$?
7100 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 -  (exit $ac_status); }; }; then
7102 +  (exit $ac_status); } && {
7103 +        test -z "$ac_c_werror_flag" ||
7104 +        test ! -s conftest.err
7105 +       } && test -s conftest$ac_exeext &&
7106 +       $as_test_x conftest$ac_exeext; then
7107    ac_cv_func_strcasecmp=yes
7108  else
7109    echo "$as_me: failed program was:" >&5
7110  sed 's/^/| /' conftest.$ac_ext >&5
7111  
7112 -ac_cv_func_strcasecmp=no
7113 +       ac_cv_func_strcasecmp=no
7114  fi
7115 -rm -f conftest.err conftest.$ac_objext \
7116 +
7117 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7118        conftest$ac_exeext conftest.$ac_ext
7119  fi
7120 -echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
7121 -echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
7122 +{ echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
7123 +echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; }
7124  if test $ac_cv_func_strcasecmp = yes; then
7125    cat >>confdefs.h <<\_ACEOF
7126  #define HAVE_STRCASECMP 1
7127 @@ -3952,8 +4207,8 @@ _ACEOF
7128  
7129  fi
7130  
7131 -echo "$as_me:$LINENO: checking for socket" >&5
7132 -echo $ECHO_N "checking for socket... $ECHO_C" >&6
7133 +{ echo "$as_me:$LINENO: checking for socket" >&5
7134 +echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
7135  if test "${ac_cv_func_socket+set}" = set; then
7136    echo $ECHO_N "(cached) $ECHO_C" >&6
7137  else
7138 @@ -3980,74 +4235,65 @@ cat >>conftest.$ac_ext <<_ACEOF
7139  
7140  #undef socket
7141  
7142 -/* Override any gcc2 internal prototype to avoid an error.  */
7143 +/* Override any GCC internal prototype to avoid an error.
7144 +   Use char because int might match the return type of a GCC
7145 +   builtin and then its argument prototype would still apply.  */
7146  #ifdef __cplusplus
7147  extern "C"
7148 -{
7149  #endif
7150 -/* We use char because int might match the return type of a gcc2
7151 -   builtin and then its argument prototype would still apply.  */
7152  char socket ();
7153  /* The GNU C library defines this for functions which it implements
7154      to always fail with ENOSYS.  Some functions are actually named
7155      something starting with __ and the normal name is an alias.  */
7156 -#if defined (__stub_socket) || defined (__stub___socket)
7157 +#if defined __stub_socket || defined __stub___socket
7158  choke me
7159 -#else
7160 -char (*f) () = socket;
7161 -#endif
7162 -#ifdef __cplusplus
7163 -}
7164  #endif
7165  
7166  int
7167  main ()
7168  {
7169 -return f != socket;
7170 +return socket ();
7171    ;
7172    return 0;
7173  }
7174  _ACEOF
7175  rm -f conftest.$ac_objext conftest$ac_exeext
7176 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7177 -  (eval $ac_link) 2>conftest.er1
7178 +if { (ac_try="$ac_link"
7179 +case "(($ac_try" in
7180 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7181 +  *) ac_try_echo=$ac_try;;
7182 +esac
7183 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7184 +  (eval "$ac_link") 2>conftest.er1
7185    ac_status=$?
7186    grep -v '^ *+' conftest.er1 >conftest.err
7187    rm -f conftest.er1
7188    cat conftest.err >&5
7189    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 -  (exit $ac_status); } &&
7191 -        { ac_try='test -z "$ac_c_werror_flag"
7192 -                        || test ! -s conftest.err'
7193 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 -  (eval $ac_try) 2>&5
7195 -  ac_status=$?
7196 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 -  (exit $ac_status); }; } &&
7198 -        { ac_try='test -s conftest$ac_exeext'
7199 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 -  (eval $ac_try) 2>&5
7201 -  ac_status=$?
7202 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 -  (exit $ac_status); }; }; then
7204 +  (exit $ac_status); } && {
7205 +        test -z "$ac_c_werror_flag" ||
7206 +        test ! -s conftest.err
7207 +       } && test -s conftest$ac_exeext &&
7208 +       $as_test_x conftest$ac_exeext; then
7209    ac_cv_func_socket=yes
7210  else
7211    echo "$as_me: failed program was:" >&5
7212  sed 's/^/| /' conftest.$ac_ext >&5
7213  
7214 -ac_cv_func_socket=no
7215 +       ac_cv_func_socket=no
7216  fi
7217 -rm -f conftest.err conftest.$ac_objext \
7218 +
7219 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7220        conftest$ac_exeext conftest.$ac_ext
7221  fi
7222 -echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
7223 -echo "${ECHO_T}$ac_cv_func_socket" >&6
7224 +{ echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
7225 +echo "${ECHO_T}$ac_cv_func_socket" >&6; }
7226  if test $ac_cv_func_socket = yes; then
7227    :
7228  else
7229  
7230 -echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
7231 -echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
7232 +{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
7233 +echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
7234  if test "${ac_cv_lib_socket_socket+set}" = set; then
7235    echo $ECHO_N "(cached) $ECHO_C" >&6
7236  else
7237 @@ -4060,56 +4306,53 @@ cat confdefs.h >>conftest.$ac_ext
7238  cat >>conftest.$ac_ext <<_ACEOF
7239  /* end confdefs.h.  */
7240  
7241 -/* Override any gcc2 internal prototype to avoid an error.  */
7242 +/* Override any GCC internal prototype to avoid an error.
7243 +   Use char because int might match the return type of a GCC
7244 +   builtin and then its argument prototype would still apply.  */
7245  #ifdef __cplusplus
7246  extern "C"
7247  #endif
7248 -/* We use char because int might match the return type of a gcc2
7249 -   builtin and then its argument prototype would still apply.  */
7250  char socket ();
7251  int
7252  main ()
7253  {
7254 -socket ();
7255 +return socket ();
7256    ;
7257    return 0;
7258  }
7259  _ACEOF
7260  rm -f conftest.$ac_objext conftest$ac_exeext
7261 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7262 -  (eval $ac_link) 2>conftest.er1
7263 +if { (ac_try="$ac_link"
7264 +case "(($ac_try" in
7265 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7266 +  *) ac_try_echo=$ac_try;;
7267 +esac
7268 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7269 +  (eval "$ac_link") 2>conftest.er1
7270    ac_status=$?
7271    grep -v '^ *+' conftest.er1 >conftest.err
7272    rm -f conftest.er1
7273    cat conftest.err >&5
7274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7275 -  (exit $ac_status); } &&
7276 -        { ac_try='test -z "$ac_c_werror_flag"
7277 -                        || test ! -s conftest.err'
7278 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7279 -  (eval $ac_try) 2>&5
7280 -  ac_status=$?
7281 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 -  (exit $ac_status); }; } &&
7283 -        { ac_try='test -s conftest$ac_exeext'
7284 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 -  (eval $ac_try) 2>&5
7286 -  ac_status=$?
7287 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 -  (exit $ac_status); }; }; then
7289 +  (exit $ac_status); } && {
7290 +        test -z "$ac_c_werror_flag" ||
7291 +        test ! -s conftest.err
7292 +       } && test -s conftest$ac_exeext &&
7293 +       $as_test_x conftest$ac_exeext; then
7294    ac_cv_lib_socket_socket=yes
7295  else
7296    echo "$as_me: failed program was:" >&5
7297  sed 's/^/| /' conftest.$ac_ext >&5
7298  
7299 -ac_cv_lib_socket_socket=no
7300 +       ac_cv_lib_socket_socket=no
7301  fi
7302 -rm -f conftest.err conftest.$ac_objext \
7303 +
7304 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7305        conftest$ac_exeext conftest.$ac_ext
7306  LIBS=$ac_check_lib_save_LIBS
7307  fi
7308 -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7309 -echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
7310 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7311 +echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
7312  if test $ac_cv_lib_socket_socket = yes; then
7313    cat >>confdefs.h <<_ACEOF
7314  #define HAVE_LIBSOCKET 1
7315 @@ -4119,8 +4362,8 @@ _ACEOF
7316  
7317  else
7318  
7319 -echo "$as_me:$LINENO: checking for socket in -lnsl" >&5
7320 -echo $ECHO_N "checking for socket in -lnsl... $ECHO_C" >&6
7321 +{ echo "$as_me:$LINENO: checking for socket in -lnsl" >&5
7322 +echo $ECHO_N "checking for socket in -lnsl... $ECHO_C" >&6; }
7323  if test "${ac_cv_lib_nsl_socket+set}" = set; then
7324    echo $ECHO_N "(cached) $ECHO_C" >&6
7325  else
7326 @@ -4133,56 +4376,53 @@ cat confdefs.h >>conftest.$ac_ext
7327  cat >>conftest.$ac_ext <<_ACEOF
7328  /* end confdefs.h.  */
7329  
7330 -/* Override any gcc2 internal prototype to avoid an error.  */
7331 +/* Override any GCC internal prototype to avoid an error.
7332 +   Use char because int might match the return type of a GCC
7333 +   builtin and then its argument prototype would still apply.  */
7334  #ifdef __cplusplus
7335  extern "C"
7336  #endif
7337 -/* We use char because int might match the return type of a gcc2
7338 -   builtin and then its argument prototype would still apply.  */
7339  char socket ();
7340  int
7341  main ()
7342  {
7343 -socket ();
7344 +return socket ();
7345    ;
7346    return 0;
7347  }
7348  _ACEOF
7349  rm -f conftest.$ac_objext conftest$ac_exeext
7350 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7351 -  (eval $ac_link) 2>conftest.er1
7352 +if { (ac_try="$ac_link"
7353 +case "(($ac_try" in
7354 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 +  *) ac_try_echo=$ac_try;;
7356 +esac
7357 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 +  (eval "$ac_link") 2>conftest.er1
7359    ac_status=$?
7360    grep -v '^ *+' conftest.er1 >conftest.err
7361    rm -f conftest.er1
7362    cat conftest.err >&5
7363    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 -  (exit $ac_status); } &&
7365 -        { ac_try='test -z "$ac_c_werror_flag"
7366 -                        || test ! -s conftest.err'
7367 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7368 -  (eval $ac_try) 2>&5
7369 -  ac_status=$?
7370 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 -  (exit $ac_status); }; } &&
7372 -        { ac_try='test -s conftest$ac_exeext'
7373 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 -  (eval $ac_try) 2>&5
7375 -  ac_status=$?
7376 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 -  (exit $ac_status); }; }; then
7378 +  (exit $ac_status); } && {
7379 +        test -z "$ac_c_werror_flag" ||
7380 +        test ! -s conftest.err
7381 +       } && test -s conftest$ac_exeext &&
7382 +       $as_test_x conftest$ac_exeext; then
7383    ac_cv_lib_nsl_socket=yes
7384  else
7385    echo "$as_me: failed program was:" >&5
7386  sed 's/^/| /' conftest.$ac_ext >&5
7387  
7388 -ac_cv_lib_nsl_socket=no
7389 +       ac_cv_lib_nsl_socket=no
7390  fi
7391 -rm -f conftest.err conftest.$ac_objext \
7392 +
7393 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7394        conftest$ac_exeext conftest.$ac_ext
7395  LIBS=$ac_check_lib_save_LIBS
7396  fi
7397 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_socket" >&5
7398 -echo "${ECHO_T}$ac_cv_lib_nsl_socket" >&6
7399 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_socket" >&5
7400 +echo "${ECHO_T}$ac_cv_lib_nsl_socket" >&6; }
7401  if test $ac_cv_lib_nsl_socket = yes; then
7402    cat >>confdefs.h <<_ACEOF
7403  #define HAVE_LIBNSL 1
7404 @@ -4196,8 +4436,8 @@ fi
7405  
7406  fi
7407  
7408 -echo "$as_me:$LINENO: checking for inet_aton" >&5
7409 -echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
7410 +{ echo "$as_me:$LINENO: checking for inet_aton" >&5
7411 +echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
7412  if test "${ac_cv_func_inet_aton+set}" = set; then
7413    echo $ECHO_N "(cached) $ECHO_C" >&6
7414  else
7415 @@ -4224,74 +4464,65 @@ cat >>conftest.$ac_ext <<_ACEOF
7416  
7417  #undef inet_aton
7418  
7419 -/* Override any gcc2 internal prototype to avoid an error.  */
7420 +/* Override any GCC internal prototype to avoid an error.
7421 +   Use char because int might match the return type of a GCC
7422 +   builtin and then its argument prototype would still apply.  */
7423  #ifdef __cplusplus
7424  extern "C"
7425 -{
7426  #endif
7427 -/* We use char because int might match the return type of a gcc2
7428 -   builtin and then its argument prototype would still apply.  */
7429  char inet_aton ();
7430  /* The GNU C library defines this for functions which it implements
7431      to always fail with ENOSYS.  Some functions are actually named
7432      something starting with __ and the normal name is an alias.  */
7433 -#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
7434 +#if defined __stub_inet_aton || defined __stub___inet_aton
7435  choke me
7436 -#else
7437 -char (*f) () = inet_aton;
7438 -#endif
7439 -#ifdef __cplusplus
7440 -}
7441  #endif
7442  
7443  int
7444  main ()
7445  {
7446 -return f != inet_aton;
7447 +return inet_aton ();
7448    ;
7449    return 0;
7450  }
7451  _ACEOF
7452  rm -f conftest.$ac_objext conftest$ac_exeext
7453 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7454 -  (eval $ac_link) 2>conftest.er1
7455 +if { (ac_try="$ac_link"
7456 +case "(($ac_try" in
7457 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7458 +  *) ac_try_echo=$ac_try;;
7459 +esac
7460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 +  (eval "$ac_link") 2>conftest.er1
7462    ac_status=$?
7463    grep -v '^ *+' conftest.er1 >conftest.err
7464    rm -f conftest.er1
7465    cat conftest.err >&5
7466    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 -  (exit $ac_status); } &&
7468 -        { ac_try='test -z "$ac_c_werror_flag"
7469 -                        || test ! -s conftest.err'
7470 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7471 -  (eval $ac_try) 2>&5
7472 -  ac_status=$?
7473 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 -  (exit $ac_status); }; } &&
7475 -        { ac_try='test -s conftest$ac_exeext'
7476 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 -  (eval $ac_try) 2>&5
7478 -  ac_status=$?
7479 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 -  (exit $ac_status); }; }; then
7481 +  (exit $ac_status); } && {
7482 +        test -z "$ac_c_werror_flag" ||
7483 +        test ! -s conftest.err
7484 +       } && test -s conftest$ac_exeext &&
7485 +       $as_test_x conftest$ac_exeext; then
7486    ac_cv_func_inet_aton=yes
7487  else
7488    echo "$as_me: failed program was:" >&5
7489  sed 's/^/| /' conftest.$ac_ext >&5
7490  
7491 -ac_cv_func_inet_aton=no
7492 +       ac_cv_func_inet_aton=no
7493  fi
7494 -rm -f conftest.err conftest.$ac_objext \
7495 +
7496 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7497        conftest$ac_exeext conftest.$ac_ext
7498  fi
7499 -echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
7500 -echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
7501 +{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
7502 +echo "${ECHO_T}$ac_cv_func_inet_aton" >&6; }
7503  if test $ac_cv_func_inet_aton = yes; then
7504    :
7505  else
7506  
7507 -echo "$as_me:$LINENO: checking for inet_aton in -lnsl" >&5
7508 -echo $ECHO_N "checking for inet_aton in -lnsl... $ECHO_C" >&6
7509 +{ echo "$as_me:$LINENO: checking for inet_aton in -lnsl" >&5
7510 +echo $ECHO_N "checking for inet_aton in -lnsl... $ECHO_C" >&6; }
7511  if test "${ac_cv_lib_nsl_inet_aton+set}" = set; then
7512    echo $ECHO_N "(cached) $ECHO_C" >&6
7513  else
7514 @@ -4304,56 +4535,53 @@ cat confdefs.h >>conftest.$ac_ext
7515  cat >>conftest.$ac_ext <<_ACEOF
7516  /* end confdefs.h.  */
7517  
7518 -/* Override any gcc2 internal prototype to avoid an error.  */
7519 +/* Override any GCC internal prototype to avoid an error.
7520 +   Use char because int might match the return type of a GCC
7521 +   builtin and then its argument prototype would still apply.  */
7522  #ifdef __cplusplus
7523  extern "C"
7524  #endif
7525 -/* We use char because int might match the return type of a gcc2
7526 -   builtin and then its argument prototype would still apply.  */
7527  char inet_aton ();
7528  int
7529  main ()
7530  {
7531 -inet_aton ();
7532 +return inet_aton ();
7533    ;
7534    return 0;
7535  }
7536  _ACEOF
7537  rm -f conftest.$ac_objext conftest$ac_exeext
7538 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7539 -  (eval $ac_link) 2>conftest.er1
7540 +if { (ac_try="$ac_link"
7541 +case "(($ac_try" in
7542 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7543 +  *) ac_try_echo=$ac_try;;
7544 +esac
7545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7546 +  (eval "$ac_link") 2>conftest.er1
7547    ac_status=$?
7548    grep -v '^ *+' conftest.er1 >conftest.err
7549    rm -f conftest.er1
7550    cat conftest.err >&5
7551    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7552 -  (exit $ac_status); } &&
7553 -        { ac_try='test -z "$ac_c_werror_flag"
7554 -                        || test ! -s conftest.err'
7555 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 -  (eval $ac_try) 2>&5
7557 -  ac_status=$?
7558 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 -  (exit $ac_status); }; } &&
7560 -        { ac_try='test -s conftest$ac_exeext'
7561 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 -  (eval $ac_try) 2>&5
7563 -  ac_status=$?
7564 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 -  (exit $ac_status); }; }; then
7566 +  (exit $ac_status); } && {
7567 +        test -z "$ac_c_werror_flag" ||
7568 +        test ! -s conftest.err
7569 +       } && test -s conftest$ac_exeext &&
7570 +       $as_test_x conftest$ac_exeext; then
7571    ac_cv_lib_nsl_inet_aton=yes
7572  else
7573    echo "$as_me: failed program was:" >&5
7574  sed 's/^/| /' conftest.$ac_ext >&5
7575  
7576 -ac_cv_lib_nsl_inet_aton=no
7577 +       ac_cv_lib_nsl_inet_aton=no
7578  fi
7579 -rm -f conftest.err conftest.$ac_objext \
7580 +
7581 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7582        conftest$ac_exeext conftest.$ac_ext
7583  LIBS=$ac_check_lib_save_LIBS
7584  fi
7585 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_aton" >&5
7586 -echo "${ECHO_T}$ac_cv_lib_nsl_inet_aton" >&6
7587 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_aton" >&5
7588 +echo "${ECHO_T}$ac_cv_lib_nsl_inet_aton" >&6; }
7589  if test $ac_cv_lib_nsl_inet_aton = yes; then
7590    cat >>confdefs.h <<_ACEOF
7591  #define HAVE_LIBNSL 1
7592 @@ -4363,8 +4591,8 @@ _ACEOF
7593  
7594  else
7595  
7596 -echo "$as_me:$LINENO: checking for inet_aton in -lsocket" >&5
7597 -echo $ECHO_N "checking for inet_aton in -lsocket... $ECHO_C" >&6
7598 +{ echo "$as_me:$LINENO: checking for inet_aton in -lsocket" >&5
7599 +echo $ECHO_N "checking for inet_aton in -lsocket... $ECHO_C" >&6; }
7600  if test "${ac_cv_lib_socket_inet_aton+set}" = set; then
7601    echo $ECHO_N "(cached) $ECHO_C" >&6
7602  else
7603 @@ -4377,56 +4605,53 @@ cat confdefs.h >>conftest.$ac_ext
7604  cat >>conftest.$ac_ext <<_ACEOF
7605  /* end confdefs.h.  */
7606  
7607 -/* Override any gcc2 internal prototype to avoid an error.  */
7608 +/* Override any GCC internal prototype to avoid an error.
7609 +   Use char because int might match the return type of a GCC
7610 +   builtin and then its argument prototype would still apply.  */
7611  #ifdef __cplusplus
7612  extern "C"
7613  #endif
7614 -/* We use char because int might match the return type of a gcc2
7615 -   builtin and then its argument prototype would still apply.  */
7616  char inet_aton ();
7617  int
7618  main ()
7619  {
7620 -inet_aton ();
7621 +return inet_aton ();
7622    ;
7623    return 0;
7624  }
7625  _ACEOF
7626  rm -f conftest.$ac_objext conftest$ac_exeext
7627 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7628 -  (eval $ac_link) 2>conftest.er1
7629 +if { (ac_try="$ac_link"
7630 +case "(($ac_try" in
7631 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7632 +  *) ac_try_echo=$ac_try;;
7633 +esac
7634 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7635 +  (eval "$ac_link") 2>conftest.er1
7636    ac_status=$?
7637    grep -v '^ *+' conftest.er1 >conftest.err
7638    rm -f conftest.er1
7639    cat conftest.err >&5
7640    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 -  (exit $ac_status); } &&
7642 -        { ac_try='test -z "$ac_c_werror_flag"
7643 -                        || test ! -s conftest.err'
7644 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 -  (eval $ac_try) 2>&5
7646 -  ac_status=$?
7647 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 -  (exit $ac_status); }; } &&
7649 -        { ac_try='test -s conftest$ac_exeext'
7650 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 -  (eval $ac_try) 2>&5
7652 -  ac_status=$?
7653 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 -  (exit $ac_status); }; }; then
7655 +  (exit $ac_status); } && {
7656 +        test -z "$ac_c_werror_flag" ||
7657 +        test ! -s conftest.err
7658 +       } && test -s conftest$ac_exeext &&
7659 +       $as_test_x conftest$ac_exeext; then
7660    ac_cv_lib_socket_inet_aton=yes
7661  else
7662    echo "$as_me: failed program was:" >&5
7663  sed 's/^/| /' conftest.$ac_ext >&5
7664  
7665 -ac_cv_lib_socket_inet_aton=no
7666 +       ac_cv_lib_socket_inet_aton=no
7667  fi
7668 -rm -f conftest.err conftest.$ac_objext \
7669 +
7670 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7671        conftest$ac_exeext conftest.$ac_ext
7672  LIBS=$ac_check_lib_save_LIBS
7673  fi
7674 -echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_aton" >&5
7675 -echo "${ECHO_T}$ac_cv_lib_socket_inet_aton" >&6
7676 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_aton" >&5
7677 +echo "${ECHO_T}$ac_cv_lib_socket_inet_aton" >&6; }
7678  if test $ac_cv_lib_socket_inet_aton = yes; then
7679    cat >>confdefs.h <<_ACEOF
7680  #define HAVE_LIBSOCKET 1
7681 @@ -4436,8 +4661,8 @@ _ACEOF
7682  
7683  else
7684  
7685 -echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7686 -echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
7687 +{ echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
7688 +echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
7689  if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
7690    echo $ECHO_N "(cached) $ECHO_C" >&6
7691  else
7692 @@ -4450,56 +4675,53 @@ cat confdefs.h >>conftest.$ac_ext
7693  cat >>conftest.$ac_ext <<_ACEOF
7694  /* end confdefs.h.  */
7695  
7696 -/* Override any gcc2 internal prototype to avoid an error.  */
7697 +/* Override any GCC internal prototype to avoid an error.
7698 +   Use char because int might match the return type of a GCC
7699 +   builtin and then its argument prototype would still apply.  */
7700  #ifdef __cplusplus
7701  extern "C"
7702  #endif
7703 -/* We use char because int might match the return type of a gcc2
7704 -   builtin and then its argument prototype would still apply.  */
7705  char inet_aton ();
7706  int
7707  main ()
7708  {
7709 -inet_aton ();
7710 +return inet_aton ();
7711    ;
7712    return 0;
7713  }
7714  _ACEOF
7715  rm -f conftest.$ac_objext conftest$ac_exeext
7716 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7717 -  (eval $ac_link) 2>conftest.er1
7718 +if { (ac_try="$ac_link"
7719 +case "(($ac_try" in
7720 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 +  *) ac_try_echo=$ac_try;;
7722 +esac
7723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 +  (eval "$ac_link") 2>conftest.er1
7725    ac_status=$?
7726    grep -v '^ *+' conftest.er1 >conftest.err
7727    rm -f conftest.er1
7728    cat conftest.err >&5
7729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 -  (exit $ac_status); } &&
7731 -        { ac_try='test -z "$ac_c_werror_flag"
7732 -                        || test ! -s conftest.err'
7733 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7734 -  (eval $ac_try) 2>&5
7735 -  ac_status=$?
7736 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 -  (exit $ac_status); }; } &&
7738 -        { ac_try='test -s conftest$ac_exeext'
7739 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7740 -  (eval $ac_try) 2>&5
7741 -  ac_status=$?
7742 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 -  (exit $ac_status); }; }; then
7744 +  (exit $ac_status); } && {
7745 +        test -z "$ac_c_werror_flag" ||
7746 +        test ! -s conftest.err
7747 +       } && test -s conftest$ac_exeext &&
7748 +       $as_test_x conftest$ac_exeext; then
7749    ac_cv_lib_resolv_inet_aton=yes
7750  else
7751    echo "$as_me: failed program was:" >&5
7752  sed 's/^/| /' conftest.$ac_ext >&5
7753  
7754 -ac_cv_lib_resolv_inet_aton=no
7755 +       ac_cv_lib_resolv_inet_aton=no
7756  fi
7757 -rm -f conftest.err conftest.$ac_objext \
7758 +
7759 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7760        conftest$ac_exeext conftest.$ac_ext
7761  LIBS=$ac_check_lib_save_LIBS
7762  fi
7763 -echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7764 -echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
7765 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
7766 +echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
7767  if test $ac_cv_lib_resolv_inet_aton = yes; then
7768    cat >>confdefs.h <<_ACEOF
7769  #define HAVE_LIBRESOLV 1
7770 @@ -4520,8 +4742,8 @@ fi
7771  
7772  fi
7773  
7774 -echo "$as_me:$LINENO: checking for setenv" >&5
7775 -echo $ECHO_N "checking for setenv... $ECHO_C" >&6
7776 +{ echo "$as_me:$LINENO: checking for setenv" >&5
7777 +echo $ECHO_N "checking for setenv... $ECHO_C" >&6; }
7778  if test "${ac_cv_func_setenv+set}" = set; then
7779    echo $ECHO_N "(cached) $ECHO_C" >&6
7780  else
7781 @@ -4548,68 +4770,59 @@ cat >>conftest.$ac_ext <<_ACEOF
7782  
7783  #undef setenv
7784  
7785 -/* Override any gcc2 internal prototype to avoid an error.  */
7786 +/* Override any GCC internal prototype to avoid an error.
7787 +   Use char because int might match the return type of a GCC
7788 +   builtin and then its argument prototype would still apply.  */
7789  #ifdef __cplusplus
7790  extern "C"
7791 -{
7792  #endif
7793 -/* We use char because int might match the return type of a gcc2
7794 -   builtin and then its argument prototype would still apply.  */
7795  char setenv ();
7796  /* The GNU C library defines this for functions which it implements
7797      to always fail with ENOSYS.  Some functions are actually named
7798      something starting with __ and the normal name is an alias.  */
7799 -#if defined (__stub_setenv) || defined (__stub___setenv)
7800 +#if defined __stub_setenv || defined __stub___setenv
7801  choke me
7802 -#else
7803 -char (*f) () = setenv;
7804 -#endif
7805 -#ifdef __cplusplus
7806 -}
7807  #endif
7808  
7809  int
7810  main ()
7811  {
7812 -return f != setenv;
7813 +return setenv ();
7814    ;
7815    return 0;
7816  }
7817  _ACEOF
7818  rm -f conftest.$ac_objext conftest$ac_exeext
7819 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7820 -  (eval $ac_link) 2>conftest.er1
7821 +if { (ac_try="$ac_link"
7822 +case "(($ac_try" in
7823 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 +  *) ac_try_echo=$ac_try;;
7825 +esac
7826 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 +  (eval "$ac_link") 2>conftest.er1
7828    ac_status=$?
7829    grep -v '^ *+' conftest.er1 >conftest.err
7830    rm -f conftest.er1
7831    cat conftest.err >&5
7832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 -  (exit $ac_status); } &&
7834 -        { ac_try='test -z "$ac_c_werror_flag"
7835 -                        || test ! -s conftest.err'
7836 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837 -  (eval $ac_try) 2>&5
7838 -  ac_status=$?
7839 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 -  (exit $ac_status); }; } &&
7841 -        { ac_try='test -s conftest$ac_exeext'
7842 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 -  (eval $ac_try) 2>&5
7844 -  ac_status=$?
7845 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 -  (exit $ac_status); }; }; then
7847 +  (exit $ac_status); } && {
7848 +        test -z "$ac_c_werror_flag" ||
7849 +        test ! -s conftest.err
7850 +       } && test -s conftest$ac_exeext &&
7851 +       $as_test_x conftest$ac_exeext; then
7852    ac_cv_func_setenv=yes
7853  else
7854    echo "$as_me: failed program was:" >&5
7855  sed 's/^/| /' conftest.$ac_ext >&5
7856  
7857 -ac_cv_func_setenv=no
7858 +       ac_cv_func_setenv=no
7859  fi
7860 -rm -f conftest.err conftest.$ac_objext \
7861 +
7862 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7863        conftest$ac_exeext conftest.$ac_ext
7864  fi
7865 -echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
7866 -echo "${ECHO_T}$ac_cv_func_setenv" >&6
7867 +{ echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
7868 +echo "${ECHO_T}$ac_cv_func_setenv" >&6; }
7869  if test $ac_cv_func_setenv = yes; then
7870    cat >>confdefs.h <<\_ACEOF
7871  #define HAVE_SETENV 1
7872 @@ -4617,8 +4830,8 @@ _ACEOF
7873  
7874  fi
7875  
7876 -echo "$as_me:$LINENO: checking for strsignal" >&5
7877 -echo $ECHO_N "checking for strsignal... $ECHO_C" >&6
7878 +{ echo "$as_me:$LINENO: checking for strsignal" >&5
7879 +echo $ECHO_N "checking for strsignal... $ECHO_C" >&6; }
7880  if test "${ac_cv_func_strsignal+set}" = set; then
7881    echo $ECHO_N "(cached) $ECHO_C" >&6
7882  else
7883 @@ -4645,68 +4858,59 @@ cat >>conftest.$ac_ext <<_ACEOF
7884  
7885  #undef strsignal
7886  
7887 -/* Override any gcc2 internal prototype to avoid an error.  */
7888 +/* Override any GCC internal prototype to avoid an error.
7889 +   Use char because int might match the return type of a GCC
7890 +   builtin and then its argument prototype would still apply.  */
7891  #ifdef __cplusplus
7892  extern "C"
7893 -{
7894  #endif
7895 -/* We use char because int might match the return type of a gcc2
7896 -   builtin and then its argument prototype would still apply.  */
7897  char strsignal ();
7898  /* The GNU C library defines this for functions which it implements
7899      to always fail with ENOSYS.  Some functions are actually named
7900      something starting with __ and the normal name is an alias.  */
7901 -#if defined (__stub_strsignal) || defined (__stub___strsignal)
7902 +#if defined __stub_strsignal || defined __stub___strsignal
7903  choke me
7904 -#else
7905 -char (*f) () = strsignal;
7906 -#endif
7907 -#ifdef __cplusplus
7908 -}
7909  #endif
7910  
7911  int
7912  main ()
7913  {
7914 -return f != strsignal;
7915 +return strsignal ();
7916    ;
7917    return 0;
7918  }
7919  _ACEOF
7920  rm -f conftest.$ac_objext conftest$ac_exeext
7921 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7922 -  (eval $ac_link) 2>conftest.er1
7923 +if { (ac_try="$ac_link"
7924 +case "(($ac_try" in
7925 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7926 +  *) ac_try_echo=$ac_try;;
7927 +esac
7928 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 +  (eval "$ac_link") 2>conftest.er1
7930    ac_status=$?
7931    grep -v '^ *+' conftest.er1 >conftest.err
7932    rm -f conftest.er1
7933    cat conftest.err >&5
7934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 -  (exit $ac_status); } &&
7936 -        { ac_try='test -z "$ac_c_werror_flag"
7937 -                        || test ! -s conftest.err'
7938 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 -  (eval $ac_try) 2>&5
7940 -  ac_status=$?
7941 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 -  (exit $ac_status); }; } &&
7943 -        { ac_try='test -s conftest$ac_exeext'
7944 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7945 -  (eval $ac_try) 2>&5
7946 -  ac_status=$?
7947 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 -  (exit $ac_status); }; }; then
7949 +  (exit $ac_status); } && {
7950 +        test -z "$ac_c_werror_flag" ||
7951 +        test ! -s conftest.err
7952 +       } && test -s conftest$ac_exeext &&
7953 +       $as_test_x conftest$ac_exeext; then
7954    ac_cv_func_strsignal=yes
7955  else
7956    echo "$as_me: failed program was:" >&5
7957  sed 's/^/| /' conftest.$ac_ext >&5
7958  
7959 -ac_cv_func_strsignal=no
7960 +       ac_cv_func_strsignal=no
7961  fi
7962 -rm -f conftest.err conftest.$ac_objext \
7963 +
7964 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7965        conftest$ac_exeext conftest.$ac_ext
7966  fi
7967 -echo "$as_me:$LINENO: result: $ac_cv_func_strsignal" >&5
7968 -echo "${ECHO_T}$ac_cv_func_strsignal" >&6
7969 +{ echo "$as_me:$LINENO: result: $ac_cv_func_strsignal" >&5
7970 +echo "${ECHO_T}$ac_cv_func_strsignal" >&6; }
7971  if test $ac_cv_func_strsignal = yes; then
7972    cat >>confdefs.h <<\_ACEOF
7973  #define HAVE_STRSIGNAL 1
7974 @@ -4714,8 +4918,8 @@ _ACEOF
7975  
7976  fi
7977  
7978 -echo "$as_me:$LINENO: checking for sys_siglist in -lc" >&5
7979 -echo $ECHO_N "checking for sys_siglist in -lc... $ECHO_C" >&6
7980 +{ echo "$as_me:$LINENO: checking for sys_siglist in -lc" >&5
7981 +echo $ECHO_N "checking for sys_siglist in -lc... $ECHO_C" >&6; }
7982  if test "${ac_cv_lib_c_sys_siglist+set}" = set; then
7983    echo $ECHO_N "(cached) $ECHO_C" >&6
7984  else
7985 @@ -4728,56 +4932,53 @@ cat confdefs.h >>conftest.$ac_ext
7986  cat >>conftest.$ac_ext <<_ACEOF
7987  /* end confdefs.h.  */
7988  
7989 -/* Override any gcc2 internal prototype to avoid an error.  */
7990 +/* Override any GCC internal prototype to avoid an error.
7991 +   Use char because int might match the return type of a GCC
7992 +   builtin and then its argument prototype would still apply.  */
7993  #ifdef __cplusplus
7994  extern "C"
7995  #endif
7996 -/* We use char because int might match the return type of a gcc2
7997 -   builtin and then its argument prototype would still apply.  */
7998  char sys_siglist ();
7999  int
8000  main ()
8001  {
8002 -sys_siglist ();
8003 +return sys_siglist ();
8004    ;
8005    return 0;
8006  }
8007  _ACEOF
8008  rm -f conftest.$ac_objext conftest$ac_exeext
8009 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8010 -  (eval $ac_link) 2>conftest.er1
8011 +if { (ac_try="$ac_link"
8012 +case "(($ac_try" in
8013 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8014 +  *) ac_try_echo=$ac_try;;
8015 +esac
8016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8017 +  (eval "$ac_link") 2>conftest.er1
8018    ac_status=$?
8019    grep -v '^ *+' conftest.er1 >conftest.err
8020    rm -f conftest.er1
8021    cat conftest.err >&5
8022    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8023 -  (exit $ac_status); } &&
8024 -        { ac_try='test -z "$ac_c_werror_flag"
8025 -                        || test ! -s conftest.err'
8026 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8027 -  (eval $ac_try) 2>&5
8028 -  ac_status=$?
8029 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 -  (exit $ac_status); }; } &&
8031 -        { ac_try='test -s conftest$ac_exeext'
8032 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8033 -  (eval $ac_try) 2>&5
8034 -  ac_status=$?
8035 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 -  (exit $ac_status); }; }; then
8037 +  (exit $ac_status); } && {
8038 +        test -z "$ac_c_werror_flag" ||
8039 +        test ! -s conftest.err
8040 +       } && test -s conftest$ac_exeext &&
8041 +       $as_test_x conftest$ac_exeext; then
8042    ac_cv_lib_c_sys_siglist=yes
8043  else
8044    echo "$as_me: failed program was:" >&5
8045  sed 's/^/| /' conftest.$ac_ext >&5
8046  
8047 -ac_cv_lib_c_sys_siglist=no
8048 +       ac_cv_lib_c_sys_siglist=no
8049  fi
8050 -rm -f conftest.err conftest.$ac_objext \
8051 +
8052 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8053        conftest$ac_exeext conftest.$ac_ext
8054  LIBS=$ac_check_lib_save_LIBS
8055  fi
8056 -echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_siglist" >&5
8057 -echo "${ECHO_T}$ac_cv_lib_c_sys_siglist" >&6
8058 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_siglist" >&5
8059 +echo "${ECHO_T}$ac_cv_lib_c_sys_siglist" >&6; }
8060  if test $ac_cv_lib_c_sys_siglist = yes; then
8061    cat >>confdefs.h <<\_ACEOF
8062  #define HAVE_SYS_SIGLIST 1
8063 @@ -4785,8 +4986,8 @@ _ACEOF
8064  
8065  fi
8066  
8067 -echo "$as_me:$LINENO: checking for gai_strerror" >&5
8068 -echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
8069 +{ echo "$as_me:$LINENO: checking for gai_strerror" >&5
8070 +echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6; }
8071  if test "${ac_cv_func_gai_strerror+set}" = set; then
8072    echo $ECHO_N "(cached) $ECHO_C" >&6
8073  else
8074 @@ -4813,68 +5014,59 @@ cat >>conftest.$ac_ext <<_ACEOF
8075  
8076  #undef gai_strerror
8077  
8078 -/* Override any gcc2 internal prototype to avoid an error.  */
8079 +/* Override any GCC internal prototype to avoid an error.
8080 +   Use char because int might match the return type of a GCC
8081 +   builtin and then its argument prototype would still apply.  */
8082  #ifdef __cplusplus
8083  extern "C"
8084 -{
8085  #endif
8086 -/* We use char because int might match the return type of a gcc2
8087 -   builtin and then its argument prototype would still apply.  */
8088  char gai_strerror ();
8089  /* The GNU C library defines this for functions which it implements
8090      to always fail with ENOSYS.  Some functions are actually named
8091      something starting with __ and the normal name is an alias.  */
8092 -#if defined (__stub_gai_strerror) || defined (__stub___gai_strerror)
8093 +#if defined __stub_gai_strerror || defined __stub___gai_strerror
8094  choke me
8095 -#else
8096 -char (*f) () = gai_strerror;
8097 -#endif
8098 -#ifdef __cplusplus
8099 -}
8100  #endif
8101  
8102  int
8103  main ()
8104  {
8105 -return f != gai_strerror;
8106 +return gai_strerror ();
8107    ;
8108    return 0;
8109  }
8110  _ACEOF
8111  rm -f conftest.$ac_objext conftest$ac_exeext
8112 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8113 -  (eval $ac_link) 2>conftest.er1
8114 +if { (ac_try="$ac_link"
8115 +case "(($ac_try" in
8116 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8117 +  *) ac_try_echo=$ac_try;;
8118 +esac
8119 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8120 +  (eval "$ac_link") 2>conftest.er1
8121    ac_status=$?
8122    grep -v '^ *+' conftest.er1 >conftest.err
8123    rm -f conftest.er1
8124    cat conftest.err >&5
8125    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 -  (exit $ac_status); } &&
8127 -        { ac_try='test -z "$ac_c_werror_flag"
8128 -                        || test ! -s conftest.err'
8129 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8130 -  (eval $ac_try) 2>&5
8131 -  ac_status=$?
8132 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 -  (exit $ac_status); }; } &&
8134 -        { ac_try='test -s conftest$ac_exeext'
8135 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 -  (eval $ac_try) 2>&5
8137 -  ac_status=$?
8138 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 -  (exit $ac_status); }; }; then
8140 +  (exit $ac_status); } && {
8141 +        test -z "$ac_c_werror_flag" ||
8142 +        test ! -s conftest.err
8143 +       } && test -s conftest$ac_exeext &&
8144 +       $as_test_x conftest$ac_exeext; then
8145    ac_cv_func_gai_strerror=yes
8146  else
8147    echo "$as_me: failed program was:" >&5
8148  sed 's/^/| /' conftest.$ac_ext >&5
8149  
8150 -ac_cv_func_gai_strerror=no
8151 +       ac_cv_func_gai_strerror=no
8152  fi
8153 -rm -f conftest.err conftest.$ac_objext \
8154 +
8155 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8156        conftest$ac_exeext conftest.$ac_ext
8157  fi
8158 -echo "$as_me:$LINENO: result: $ac_cv_func_gai_strerror" >&5
8159 -echo "${ECHO_T}$ac_cv_func_gai_strerror" >&6
8160 +{ echo "$as_me:$LINENO: result: $ac_cv_func_gai_strerror" >&5
8161 +echo "${ECHO_T}$ac_cv_func_gai_strerror" >&6; }
8162  if test $ac_cv_func_gai_strerror = yes; then
8163    cat >>confdefs.h <<\_ACEOF
8164  #define HAVE_GAI_STRERROR 1
8165 @@ -4882,8 +5074,8 @@ _ACEOF
8166  
8167  fi
8168  
8169 -echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
8170 -echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
8171 +{ echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
8172 +echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6; }
8173  if test "${ac_cv_func_freeaddrinfo+set}" = set; then
8174    echo $ECHO_N "(cached) $ECHO_C" >&6
8175  else
8176 @@ -4910,68 +5102,59 @@ cat >>conftest.$ac_ext <<_ACEOF
8177  
8178  #undef freeaddrinfo
8179  
8180 -/* Override any gcc2 internal prototype to avoid an error.  */
8181 +/* Override any GCC internal prototype to avoid an error.
8182 +   Use char because int might match the return type of a GCC
8183 +   builtin and then its argument prototype would still apply.  */
8184  #ifdef __cplusplus
8185  extern "C"
8186 -{
8187  #endif
8188 -/* We use char because int might match the return type of a gcc2
8189 -   builtin and then its argument prototype would still apply.  */
8190  char freeaddrinfo ();
8191  /* The GNU C library defines this for functions which it implements
8192      to always fail with ENOSYS.  Some functions are actually named
8193      something starting with __ and the normal name is an alias.  */
8194 -#if defined (__stub_freeaddrinfo) || defined (__stub___freeaddrinfo)
8195 +#if defined __stub_freeaddrinfo || defined __stub___freeaddrinfo
8196  choke me
8197 -#else
8198 -char (*f) () = freeaddrinfo;
8199 -#endif
8200 -#ifdef __cplusplus
8201 -}
8202  #endif
8203  
8204  int
8205  main ()
8206  {
8207 -return f != freeaddrinfo;
8208 +return freeaddrinfo ();
8209    ;
8210    return 0;
8211  }
8212  _ACEOF
8213  rm -f conftest.$ac_objext conftest$ac_exeext
8214 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 -  (eval $ac_link) 2>conftest.er1
8216 +if { (ac_try="$ac_link"
8217 +case "(($ac_try" in
8218 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 +  *) ac_try_echo=$ac_try;;
8220 +esac
8221 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 +  (eval "$ac_link") 2>conftest.er1
8223    ac_status=$?
8224    grep -v '^ *+' conftest.er1 >conftest.err
8225    rm -f conftest.er1
8226    cat conftest.err >&5
8227    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 -  (exit $ac_status); } &&
8229 -        { ac_try='test -z "$ac_c_werror_flag"
8230 -                        || test ! -s conftest.err'
8231 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8232 -  (eval $ac_try) 2>&5
8233 -  ac_status=$?
8234 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 -  (exit $ac_status); }; } &&
8236 -        { ac_try='test -s conftest$ac_exeext'
8237 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 -  (eval $ac_try) 2>&5
8239 -  ac_status=$?
8240 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 -  (exit $ac_status); }; }; then
8242 +  (exit $ac_status); } && {
8243 +        test -z "$ac_c_werror_flag" ||
8244 +        test ! -s conftest.err
8245 +       } && test -s conftest$ac_exeext &&
8246 +       $as_test_x conftest$ac_exeext; then
8247    ac_cv_func_freeaddrinfo=yes
8248  else
8249    echo "$as_me: failed program was:" >&5
8250  sed 's/^/| /' conftest.$ac_ext >&5
8251  
8252 -ac_cv_func_freeaddrinfo=no
8253 +       ac_cv_func_freeaddrinfo=no
8254  fi
8255 -rm -f conftest.err conftest.$ac_objext \
8256 +
8257 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8258        conftest$ac_exeext conftest.$ac_ext
8259  fi
8260 -echo "$as_me:$LINENO: result: $ac_cv_func_freeaddrinfo" >&5
8261 -echo "${ECHO_T}$ac_cv_func_freeaddrinfo" >&6
8262 +{ echo "$as_me:$LINENO: result: $ac_cv_func_freeaddrinfo" >&5
8263 +echo "${ECHO_T}$ac_cv_func_freeaddrinfo" >&6; }
8264  if test $ac_cv_func_freeaddrinfo = yes; then
8265    cat >>confdefs.h <<\_ACEOF
8266  #define HAVE_FREEADDRINFO 1
8267 @@ -4979,8 +5162,8 @@ _ACEOF
8268  
8269  fi
8270  
8271 -echo "$as_me:$LINENO: checking for getaddrinfo" >&5
8272 -echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
8273 +{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
8274 +echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
8275  if test "${ac_cv_func_getaddrinfo+set}" = set; then
8276    echo $ECHO_N "(cached) $ECHO_C" >&6
8277  else
8278 @@ -5007,68 +5190,59 @@ cat >>conftest.$ac_ext <<_ACEOF
8279  
8280  #undef getaddrinfo
8281  
8282 -/* Override any gcc2 internal prototype to avoid an error.  */
8283 +/* Override any GCC internal prototype to avoid an error.
8284 +   Use char because int might match the return type of a GCC
8285 +   builtin and then its argument prototype would still apply.  */
8286  #ifdef __cplusplus
8287  extern "C"
8288 -{
8289  #endif
8290 -/* We use char because int might match the return type of a gcc2
8291 -   builtin and then its argument prototype would still apply.  */
8292  char getaddrinfo ();
8293  /* The GNU C library defines this for functions which it implements
8294      to always fail with ENOSYS.  Some functions are actually named
8295      something starting with __ and the normal name is an alias.  */
8296 -#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
8297 +#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
8298  choke me
8299 -#else
8300 -char (*f) () = getaddrinfo;
8301 -#endif
8302 -#ifdef __cplusplus
8303 -}
8304  #endif
8305  
8306  int
8307  main ()
8308  {
8309 -return f != getaddrinfo;
8310 +return getaddrinfo ();
8311    ;
8312    return 0;
8313  }
8314  _ACEOF
8315  rm -f conftest.$ac_objext conftest$ac_exeext
8316 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8317 -  (eval $ac_link) 2>conftest.er1
8318 +if { (ac_try="$ac_link"
8319 +case "(($ac_try" in
8320 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8321 +  *) ac_try_echo=$ac_try;;
8322 +esac
8323 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8324 +  (eval "$ac_link") 2>conftest.er1
8325    ac_status=$?
8326    grep -v '^ *+' conftest.er1 >conftest.err
8327    rm -f conftest.er1
8328    cat conftest.err >&5
8329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 -  (exit $ac_status); } &&
8331 -        { ac_try='test -z "$ac_c_werror_flag"
8332 -                        || test ! -s conftest.err'
8333 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8334 -  (eval $ac_try) 2>&5
8335 -  ac_status=$?
8336 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 -  (exit $ac_status); }; } &&
8338 -        { ac_try='test -s conftest$ac_exeext'
8339 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8340 -  (eval $ac_try) 2>&5
8341 -  ac_status=$?
8342 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 -  (exit $ac_status); }; }; then
8344 +  (exit $ac_status); } && {
8345 +        test -z "$ac_c_werror_flag" ||
8346 +        test ! -s conftest.err
8347 +       } && test -s conftest$ac_exeext &&
8348 +       $as_test_x conftest$ac_exeext; then
8349    ac_cv_func_getaddrinfo=yes
8350  else
8351    echo "$as_me: failed program was:" >&5
8352  sed 's/^/| /' conftest.$ac_ext >&5
8353  
8354 -ac_cv_func_getaddrinfo=no
8355 +       ac_cv_func_getaddrinfo=no
8356  fi
8357 -rm -f conftest.err conftest.$ac_objext \
8358 +
8359 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8360        conftest$ac_exeext conftest.$ac_ext
8361  fi
8362 -echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
8363 -echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
8364 +{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
8365 +echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
8366  if test $ac_cv_func_getaddrinfo = yes; then
8367    cat >>confdefs.h <<\_ACEOF
8368  #define HAVE_GETADDRINFO 1
8369 @@ -5082,8 +5256,8 @@ ac_cpp='$CPP $CPPFLAGS'
8370  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8371  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8372  ac_compiler_gnu=$ac_cv_c_compiler_gnu
8373 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8374 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
8375 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8376 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
8377  # On Suns, sometimes $CPP names a directory.
8378  if test -n "$CPP" && test -d "$CPP"; then
8379    CPP=
8380 @@ -5117,24 +5291,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8381  #endif
8382                      Syntax error
8383  _ACEOF
8384 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8385 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8386 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8387 +case "(($ac_try" in
8388 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8389 +  *) ac_try_echo=$ac_try;;
8390 +esac
8391 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8393    ac_status=$?
8394    grep -v '^ *+' conftest.er1 >conftest.err
8395    rm -f conftest.er1
8396    cat conftest.err >&5
8397    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 -  (exit $ac_status); } >/dev/null; then
8399 -  if test -s conftest.err; then
8400 -    ac_cpp_err=$ac_c_preproc_warn_flag
8401 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8402 -  else
8403 -    ac_cpp_err=
8404 -  fi
8405 -else
8406 -  ac_cpp_err=yes
8407 -fi
8408 -if test -z "$ac_cpp_err"; then
8409 +  (exit $ac_status); } >/dev/null && {
8410 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8411 +        test ! -s conftest.err
8412 +       }; then
8413    :
8414  else
8415    echo "$as_me: failed program was:" >&5
8416 @@ -5143,9 +5315,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8417    # Broken: fails on valid input.
8418  continue
8419  fi
8420 +
8421  rm -f conftest.err conftest.$ac_ext
8422  
8423 -  # OK, works on sane cases.  Now check whether non-existent headers
8424 +  # OK, works on sane cases.  Now check whether nonexistent headers
8425    # can be detected and how.
8426    cat >conftest.$ac_ext <<_ACEOF
8427  /* confdefs.h.  */
8428 @@ -5155,24 +5328,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8429  /* end confdefs.h.  */
8430  #include <ac_nonexistent.h>
8431  _ACEOF
8432 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8433 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8434 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8435 +case "(($ac_try" in
8436 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8437 +  *) ac_try_echo=$ac_try;;
8438 +esac
8439 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8440 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8441    ac_status=$?
8442    grep -v '^ *+' conftest.er1 >conftest.err
8443    rm -f conftest.er1
8444    cat conftest.err >&5
8445    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8446 -  (exit $ac_status); } >/dev/null; then
8447 -  if test -s conftest.err; then
8448 -    ac_cpp_err=$ac_c_preproc_warn_flag
8449 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8450 -  else
8451 -    ac_cpp_err=
8452 -  fi
8453 -else
8454 -  ac_cpp_err=yes
8455 -fi
8456 -if test -z "$ac_cpp_err"; then
8457 +  (exit $ac_status); } >/dev/null && {
8458 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8459 +        test ! -s conftest.err
8460 +       }; then
8461    # Broken: success on invalid input.
8462  continue
8463  else
8464 @@ -5183,6 +5354,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8465  ac_preproc_ok=:
8466  break
8467  fi
8468 +
8469  rm -f conftest.err conftest.$ac_ext
8470  
8471  done
8472 @@ -5200,8 +5372,8 @@ fi
8473  else
8474    ac_cv_prog_CPP=$CPP
8475  fi
8476 -echo "$as_me:$LINENO: result: $CPP" >&5
8477 -echo "${ECHO_T}$CPP" >&6
8478 +{ echo "$as_me:$LINENO: result: $CPP" >&5
8479 +echo "${ECHO_T}$CPP" >&6; }
8480  ac_preproc_ok=false
8481  for ac_c_preproc_warn_flag in '' yes
8482  do
8483 @@ -5224,24 +5396,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8484  #endif
8485                      Syntax error
8486  _ACEOF
8487 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8488 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8489 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8490 +case "(($ac_try" in
8491 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8492 +  *) ac_try_echo=$ac_try;;
8493 +esac
8494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8495 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8496    ac_status=$?
8497    grep -v '^ *+' conftest.er1 >conftest.err
8498    rm -f conftest.er1
8499    cat conftest.err >&5
8500    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 -  (exit $ac_status); } >/dev/null; then
8502 -  if test -s conftest.err; then
8503 -    ac_cpp_err=$ac_c_preproc_warn_flag
8504 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8505 -  else
8506 -    ac_cpp_err=
8507 -  fi
8508 -else
8509 -  ac_cpp_err=yes
8510 -fi
8511 -if test -z "$ac_cpp_err"; then
8512 +  (exit $ac_status); } >/dev/null && {
8513 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8514 +        test ! -s conftest.err
8515 +       }; then
8516    :
8517  else
8518    echo "$as_me: failed program was:" >&5
8519 @@ -5250,9 +5420,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8520    # Broken: fails on valid input.
8521  continue
8522  fi
8523 +
8524  rm -f conftest.err conftest.$ac_ext
8525  
8526 -  # OK, works on sane cases.  Now check whether non-existent headers
8527 +  # OK, works on sane cases.  Now check whether nonexistent headers
8528    # can be detected and how.
8529    cat >conftest.$ac_ext <<_ACEOF
8530  /* confdefs.h.  */
8531 @@ -5262,24 +5433,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8532  /* end confdefs.h.  */
8533  #include <ac_nonexistent.h>
8534  _ACEOF
8535 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8536 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8537 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8538 +case "(($ac_try" in
8539 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 +  *) ac_try_echo=$ac_try;;
8541 +esac
8542 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8544    ac_status=$?
8545    grep -v '^ *+' conftest.er1 >conftest.err
8546    rm -f conftest.er1
8547    cat conftest.err >&5
8548    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 -  (exit $ac_status); } >/dev/null; then
8550 -  if test -s conftest.err; then
8551 -    ac_cpp_err=$ac_c_preproc_warn_flag
8552 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8553 -  else
8554 -    ac_cpp_err=
8555 -  fi
8556 -else
8557 -  ac_cpp_err=yes
8558 -fi
8559 -if test -z "$ac_cpp_err"; then
8560 +  (exit $ac_status); } >/dev/null && {
8561 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8562 +        test ! -s conftest.err
8563 +       }; then
8564    # Broken: success on invalid input.
8565  continue
8566  else
8567 @@ -5290,6 +5459,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
8568  ac_preproc_ok=:
8569  break
8570  fi
8571 +
8572  rm -f conftest.err conftest.$ac_ext
8573  
8574  done
8575 @@ -5312,23 +5482,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
8576  ac_compiler_gnu=$ac_cv_c_compiler_gnu
8577  
8578  
8579 -echo "$as_me:$LINENO: checking for egrep" >&5
8580 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
8581 -if test "${ac_cv_prog_egrep+set}" = set; then
8582 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
8583 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
8584 +if test "${ac_cv_path_GREP+set}" = set; then
8585 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8586 +else
8587 +  # Extract the first word of "grep ggrep" to use in msg output
8588 +if test -z "$GREP"; then
8589 +set dummy grep ggrep; ac_prog_name=$2
8590 +if test "${ac_cv_path_GREP+set}" = set; then
8591 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8592 +else
8593 +  ac_path_GREP_found=false
8594 +# Loop through the user's path and test for each of PROGNAME-LIST
8595 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8596 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8597 +do
8598 +  IFS=$as_save_IFS
8599 +  test -z "$as_dir" && as_dir=.
8600 +  for ac_prog in grep ggrep; do
8601 +  for ac_exec_ext in '' $ac_executable_extensions; do
8602 +    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8603 +    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
8604 +    # Check for GNU ac_path_GREP and select it if it is found.
8605 +  # Check for GNU $ac_path_GREP
8606 +case `"$ac_path_GREP" --version 2>&1` in
8607 +*GNU*)
8608 +  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8609 +*)
8610 +  ac_count=0
8611 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8612 +  while :
8613 +  do
8614 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
8615 +    mv "conftest.tmp" "conftest.in"
8616 +    cp "conftest.in" "conftest.nl"
8617 +    echo 'GREP' >> "conftest.nl"
8618 +    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8619 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8620 +    ac_count=`expr $ac_count + 1`
8621 +    if test $ac_count -gt ${ac_path_GREP_max-0}; then
8622 +      # Best one so far, save it but keep looking for a better one
8623 +      ac_cv_path_GREP="$ac_path_GREP"
8624 +      ac_path_GREP_max=$ac_count
8625 +    fi
8626 +    # 10*(2^10) chars as input seems more than enough
8627 +    test $ac_count -gt 10 && break
8628 +  done
8629 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8630 +esac
8631 +
8632 +
8633 +    $ac_path_GREP_found && break 3
8634 +  done
8635 +done
8636 +
8637 +done
8638 +IFS=$as_save_IFS
8639 +
8640 +
8641 +fi
8642 +
8643 +GREP="$ac_cv_path_GREP"
8644 +if test -z "$GREP"; then
8645 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8646 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8647 +   { (exit 1); exit 1; }; }
8648 +fi
8649 +
8650 +else
8651 +  ac_cv_path_GREP=$GREP
8652 +fi
8653 +
8654 +
8655 +fi
8656 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
8657 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
8658 + GREP="$ac_cv_path_GREP"
8659 +
8660 +
8661 +{ echo "$as_me:$LINENO: checking for egrep" >&5
8662 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
8663 +if test "${ac_cv_path_EGREP+set}" = set; then
8664 +  echo $ECHO_N "(cached) $ECHO_C" >&6
8665 +else
8666 +  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8667 +   then ac_cv_path_EGREP="$GREP -E"
8668 +   else
8669 +     # Extract the first word of "egrep" to use in msg output
8670 +if test -z "$EGREP"; then
8671 +set dummy egrep; ac_prog_name=$2
8672 +if test "${ac_cv_path_EGREP+set}" = set; then
8673    echo $ECHO_N "(cached) $ECHO_C" >&6
8674  else
8675 -  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
8676 -    then ac_cv_prog_egrep='grep -E'
8677 -    else ac_cv_prog_egrep='egrep'
8678 +  ac_path_EGREP_found=false
8679 +# Loop through the user's path and test for each of PROGNAME-LIST
8680 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8682 +do
8683 +  IFS=$as_save_IFS
8684 +  test -z "$as_dir" && as_dir=.
8685 +  for ac_prog in egrep; do
8686 +  for ac_exec_ext in '' $ac_executable_extensions; do
8687 +    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8688 +    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
8689 +    # Check for GNU ac_path_EGREP and select it if it is found.
8690 +  # Check for GNU $ac_path_EGREP
8691 +case `"$ac_path_EGREP" --version 2>&1` in
8692 +*GNU*)
8693 +  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8694 +*)
8695 +  ac_count=0
8696 +  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8697 +  while :
8698 +  do
8699 +    cat "conftest.in" "conftest.in" >"conftest.tmp"
8700 +    mv "conftest.tmp" "conftest.in"
8701 +    cp "conftest.in" "conftest.nl"
8702 +    echo 'EGREP' >> "conftest.nl"
8703 +    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8704 +    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8705 +    ac_count=`expr $ac_count + 1`
8706 +    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8707 +      # Best one so far, save it but keep looking for a better one
8708 +      ac_cv_path_EGREP="$ac_path_EGREP"
8709 +      ac_path_EGREP_max=$ac_count
8710      fi
8711 +    # 10*(2^10) chars as input seems more than enough
8712 +    test $ac_count -gt 10 && break
8713 +  done
8714 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8715 +esac
8716 +
8717 +
8718 +    $ac_path_EGREP_found && break 3
8719 +  done
8720 +done
8721 +
8722 +done
8723 +IFS=$as_save_IFS
8724 +
8725 +
8726 +fi
8727 +
8728 +EGREP="$ac_cv_path_EGREP"
8729 +if test -z "$EGREP"; then
8730 +  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8731 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8732 +   { (exit 1); exit 1; }; }
8733 +fi
8734 +
8735 +else
8736 +  ac_cv_path_EGREP=$EGREP
8737  fi
8738 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
8739 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
8740 - EGREP=$ac_cv_prog_egrep
8741  
8742  
8743 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8744 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8745 +   fi
8746 +fi
8747 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
8748 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
8749 + EGREP="$ac_cv_path_EGREP"
8750 +
8751 +
8752 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8753 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8754  if test "${ac_cv_header_stdc+set}" = set; then
8755    echo $ECHO_N "(cached) $ECHO_C" >&6
8756  else
8757 @@ -5352,35 +5669,31 @@ main ()
8758  }
8759  _ACEOF
8760  rm -f conftest.$ac_objext
8761 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8762 -  (eval $ac_compile) 2>conftest.er1
8763 +if { (ac_try="$ac_compile"
8764 +case "(($ac_try" in
8765 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8766 +  *) ac_try_echo=$ac_try;;
8767 +esac
8768 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8769 +  (eval "$ac_compile") 2>conftest.er1
8770    ac_status=$?
8771    grep -v '^ *+' conftest.er1 >conftest.err
8772    rm -f conftest.er1
8773    cat conftest.err >&5
8774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 -  (exit $ac_status); } &&
8776 -        { ac_try='test -z "$ac_c_werror_flag"
8777 -                        || test ! -s conftest.err'
8778 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 -  (eval $ac_try) 2>&5
8780 -  ac_status=$?
8781 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 -  (exit $ac_status); }; } &&
8783 -        { ac_try='test -s conftest.$ac_objext'
8784 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 -  (eval $ac_try) 2>&5
8786 -  ac_status=$?
8787 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 -  (exit $ac_status); }; }; then
8789 +  (exit $ac_status); } && {
8790 +        test -z "$ac_c_werror_flag" ||
8791 +        test ! -s conftest.err
8792 +       } && test -s conftest.$ac_objext; then
8793    ac_cv_header_stdc=yes
8794  else
8795    echo "$as_me: failed program was:" >&5
8796  sed 's/^/| /' conftest.$ac_ext >&5
8797  
8798 -ac_cv_header_stdc=no
8799 +       ac_cv_header_stdc=no
8800  fi
8801 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8802 +
8803 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8804  
8805  if test $ac_cv_header_stdc = yes; then
8806    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8807 @@ -5436,6 +5749,7 @@ cat confdefs.h >>conftest.$ac_ext
8808  cat >>conftest.$ac_ext <<_ACEOF
8809  /* end confdefs.h.  */
8810  #include <ctype.h>
8811 +#include <stdlib.h>
8812  #if ((' ' & 0x0FF) == 0x020)
8813  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8814  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8815 @@ -5455,18 +5769,27 @@ main ()
8816    for (i = 0; i < 256; i++)
8817      if (XOR (islower (i), ISLOWER (i))
8818         || toupper (i) != TOUPPER (i))
8819 -      exit(2);
8820 -  exit (0);
8821 +      return 2;
8822 +  return 0;
8823  }
8824  _ACEOF
8825  rm -f conftest$ac_exeext
8826 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827 -  (eval $ac_link) 2>&5
8828 +if { (ac_try="$ac_link"
8829 +case "(($ac_try" in
8830 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8831 +  *) ac_try_echo=$ac_try;;
8832 +esac
8833 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8834 +  (eval "$ac_link") 2>&5
8835    ac_status=$?
8836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8838 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8839 -  (eval $ac_try) 2>&5
8840 +  { (case "(($ac_try" in
8841 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8842 +  *) ac_try_echo=$ac_try;;
8843 +esac
8844 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8845 +  (eval "$ac_try") 2>&5
8846    ac_status=$?
8847    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848    (exit $ac_status); }; }; then
8849 @@ -5479,12 +5802,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
8850  ( exit $ac_status )
8851  ac_cv_header_stdc=no
8852  fi
8853 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8854 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8855  fi
8856 +
8857 +
8858  fi
8859  fi
8860 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8861 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
8862 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8863 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8864  if test $ac_cv_header_stdc = yes; then
8865  
8866  cat >>confdefs.h <<\_ACEOF
8867 @@ -5507,9 +5832,9 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8868                   inttypes.h stdint.h unistd.h
8869  do
8870  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8871 -echo "$as_me:$LINENO: checking for $ac_header" >&5
8872 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8873 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8874 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8875 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8876 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8877    echo $ECHO_N "(cached) $ECHO_C" >&6
8878  else
8879    cat >conftest.$ac_ext <<_ACEOF
8880 @@ -5523,38 +5848,35 @@ $ac_includes_default
8881  #include <$ac_header>
8882  _ACEOF
8883  rm -f conftest.$ac_objext
8884 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8885 -  (eval $ac_compile) 2>conftest.er1
8886 +if { (ac_try="$ac_compile"
8887 +case "(($ac_try" in
8888 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8889 +  *) ac_try_echo=$ac_try;;
8890 +esac
8891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8892 +  (eval "$ac_compile") 2>conftest.er1
8893    ac_status=$?
8894    grep -v '^ *+' conftest.er1 >conftest.err
8895    rm -f conftest.er1
8896    cat conftest.err >&5
8897    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 -  (exit $ac_status); } &&
8899 -        { ac_try='test -z "$ac_c_werror_flag"
8900 -                        || test ! -s conftest.err'
8901 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 -  (eval $ac_try) 2>&5
8903 -  ac_status=$?
8904 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 -  (exit $ac_status); }; } &&
8906 -        { ac_try='test -s conftest.$ac_objext'
8907 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 -  (eval $ac_try) 2>&5
8909 -  ac_status=$?
8910 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 -  (exit $ac_status); }; }; then
8912 +  (exit $ac_status); } && {
8913 +        test -z "$ac_c_werror_flag" ||
8914 +        test ! -s conftest.err
8915 +       } && test -s conftest.$ac_objext; then
8916    eval "$as_ac_Header=yes"
8917  else
8918    echo "$as_me: failed program was:" >&5
8919  sed 's/^/| /' conftest.$ac_ext >&5
8920  
8921 -eval "$as_ac_Header=no"
8922 +       eval "$as_ac_Header=no"
8923  fi
8924 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8925 +
8926 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8927  fi
8928 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8929 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8930 +ac_res=`eval echo '${'$as_ac_Header'}'`
8931 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
8932 +echo "${ECHO_T}$ac_res" >&6; }
8933  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8934    cat >>confdefs.h <<_ACEOF
8935  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8936 @@ -5579,18 +5901,19 @@ done
8937  for ac_header in sys/types.h sys/termios.h termios.h sys/ioctl.h sys/select.h rpc/rpc.h rpc/rpcent.h sys/file.h ftw.h machine/reg.h netdb.h
8938  do
8939  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8940 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8941 -  echo "$as_me:$LINENO: checking for $ac_header" >&5
8942 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8943 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
8944 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8945 +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
8946 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8947 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8948    echo $ECHO_N "(cached) $ECHO_C" >&6
8949  fi
8950 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8951 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8952 +ac_res=`eval echo '${'$as_ac_Header'}'`
8953 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
8954 +echo "${ECHO_T}$ac_res" >&6; }
8955  else
8956    # Is the header compilable?
8957 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
8958 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8959 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8960 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8961  cat >conftest.$ac_ext <<_ACEOF
8962  /* confdefs.h.  */
8963  _ACEOF
8964 @@ -5601,41 +5924,37 @@ $ac_includes_default
8965  #include <$ac_header>
8966  _ACEOF
8967  rm -f conftest.$ac_objext
8968 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8969 -  (eval $ac_compile) 2>conftest.er1
8970 +if { (ac_try="$ac_compile"
8971 +case "(($ac_try" in
8972 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973 +  *) ac_try_echo=$ac_try;;
8974 +esac
8975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976 +  (eval "$ac_compile") 2>conftest.er1
8977    ac_status=$?
8978    grep -v '^ *+' conftest.er1 >conftest.err
8979    rm -f conftest.er1
8980    cat conftest.err >&5
8981    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 -  (exit $ac_status); } &&
8983 -        { ac_try='test -z "$ac_c_werror_flag"
8984 -                        || test ! -s conftest.err'
8985 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 -  (eval $ac_try) 2>&5
8987 -  ac_status=$?
8988 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 -  (exit $ac_status); }; } &&
8990 -        { ac_try='test -s conftest.$ac_objext'
8991 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992 -  (eval $ac_try) 2>&5
8993 -  ac_status=$?
8994 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 -  (exit $ac_status); }; }; then
8996 +  (exit $ac_status); } && {
8997 +        test -z "$ac_c_werror_flag" ||
8998 +        test ! -s conftest.err
8999 +       } && test -s conftest.$ac_objext; then
9000    ac_header_compiler=yes
9001  else
9002    echo "$as_me: failed program was:" >&5
9003  sed 's/^/| /' conftest.$ac_ext >&5
9004  
9005 -ac_header_compiler=no
9006 +       ac_header_compiler=no
9007  fi
9008 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9009 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9010 -echo "${ECHO_T}$ac_header_compiler" >&6
9011 +
9012 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9013 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9014 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9015  
9016  # Is the header present?
9017 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
9018 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9019 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9020 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9021  cat >conftest.$ac_ext <<_ACEOF
9022  /* confdefs.h.  */
9023  _ACEOF
9024 @@ -5644,24 +5963,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9025  /* end confdefs.h.  */
9026  #include <$ac_header>
9027  _ACEOF
9028 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9029 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9030 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9031 +case "(($ac_try" in
9032 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9033 +  *) ac_try_echo=$ac_try;;
9034 +esac
9035 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9036 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9037    ac_status=$?
9038    grep -v '^ *+' conftest.er1 >conftest.err
9039    rm -f conftest.er1
9040    cat conftest.err >&5
9041    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 -  (exit $ac_status); } >/dev/null; then
9043 -  if test -s conftest.err; then
9044 -    ac_cpp_err=$ac_c_preproc_warn_flag
9045 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9046 -  else
9047 -    ac_cpp_err=
9048 -  fi
9049 -else
9050 -  ac_cpp_err=yes
9051 -fi
9052 -if test -z "$ac_cpp_err"; then
9053 +  (exit $ac_status); } >/dev/null && {
9054 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9055 +        test ! -s conftest.err
9056 +       }; then
9057    ac_header_preproc=yes
9058  else
9059    echo "$as_me: failed program was:" >&5
9060 @@ -5669,9 +5986,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9061  
9062    ac_header_preproc=no
9063  fi
9064 +
9065  rm -f conftest.err conftest.$ac_ext
9066 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9067 -echo "${ECHO_T}$ac_header_preproc" >&6
9068 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9069 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9070  
9071  # So?  What about this header?
9072  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9073 @@ -5695,25 +6013,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
9074  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9075      { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9076  echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9077 -    (
9078 -      cat <<\_ASBOX
9079 -## ------------------------------------------ ##
9080 -## Report this to the AC_PACKAGE_NAME lists.  ##
9081 -## ------------------------------------------ ##
9082 -_ASBOX
9083 -    ) |
9084 -      sed "s/^/$as_me: WARNING:     /" >&2
9085 +
9086      ;;
9087  esac
9088 -echo "$as_me:$LINENO: checking for $ac_header" >&5
9089 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9090 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
9091 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9092 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9093 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9094    echo $ECHO_N "(cached) $ECHO_C" >&6
9095  else
9096    eval "$as_ac_Header=\$ac_header_preproc"
9097  fi
9098 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9099 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9100 +ac_res=`eval echo '${'$as_ac_Header'}'`
9101 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
9102 +echo "${ECHO_T}$ac_res" >&6; }
9103  
9104  fi
9105  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9106 @@ -5726,17 +6038,17 @@ fi
9107  done
9108  
9109  if test "${ac_cv_header_sys_resource_h+set}" = set; then
9110 -  echo "$as_me:$LINENO: checking for sys/resource.h" >&5
9111 -echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6
9112 +  { echo "$as_me:$LINENO: checking for sys/resource.h" >&5
9113 +echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6; }
9114  if test "${ac_cv_header_sys_resource_h+set}" = set; then
9115    echo $ECHO_N "(cached) $ECHO_C" >&6
9116  fi
9117 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
9118 -echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6
9119 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
9120 +echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6; }
9121  else
9122    # Is the header compilable?
9123 -echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
9124 -echo $ECHO_N "checking sys/resource.h usability... $ECHO_C" >&6
9125 +{ echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
9126 +echo $ECHO_N "checking sys/resource.h usability... $ECHO_C" >&6; }
9127  cat >conftest.$ac_ext <<_ACEOF
9128  /* confdefs.h.  */
9129  _ACEOF
9130 @@ -5747,41 +6059,37 @@ $ac_includes_default
9131  #include <sys/resource.h>
9132  _ACEOF
9133  rm -f conftest.$ac_objext
9134 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9135 -  (eval $ac_compile) 2>conftest.er1
9136 +if { (ac_try="$ac_compile"
9137 +case "(($ac_try" in
9138 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 +  *) ac_try_echo=$ac_try;;
9140 +esac
9141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 +  (eval "$ac_compile") 2>conftest.er1
9143    ac_status=$?
9144    grep -v '^ *+' conftest.er1 >conftest.err
9145    rm -f conftest.er1
9146    cat conftest.err >&5
9147    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 -  (exit $ac_status); } &&
9149 -        { ac_try='test -z "$ac_c_werror_flag"
9150 -                        || test ! -s conftest.err'
9151 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 -  (eval $ac_try) 2>&5
9153 -  ac_status=$?
9154 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 -  (exit $ac_status); }; } &&
9156 -        { ac_try='test -s conftest.$ac_objext'
9157 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 -  (eval $ac_try) 2>&5
9159 -  ac_status=$?
9160 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 -  (exit $ac_status); }; }; then
9162 +  (exit $ac_status); } && {
9163 +        test -z "$ac_c_werror_flag" ||
9164 +        test ! -s conftest.err
9165 +       } && test -s conftest.$ac_objext; then
9166    ac_header_compiler=yes
9167  else
9168    echo "$as_me: failed program was:" >&5
9169  sed 's/^/| /' conftest.$ac_ext >&5
9170  
9171 -ac_header_compiler=no
9172 +       ac_header_compiler=no
9173  fi
9174 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9175 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9176 -echo "${ECHO_T}$ac_header_compiler" >&6
9177 +
9178 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9179 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9180 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9181  
9182  # Is the header present?
9183 -echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
9184 -echo $ECHO_N "checking sys/resource.h presence... $ECHO_C" >&6
9185 +{ echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
9186 +echo $ECHO_N "checking sys/resource.h presence... $ECHO_C" >&6; }
9187  cat >conftest.$ac_ext <<_ACEOF
9188  /* confdefs.h.  */
9189  _ACEOF
9190 @@ -5790,24 +6098,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9191  /* end confdefs.h.  */
9192  #include <sys/resource.h>
9193  _ACEOF
9194 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9195 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9196 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9197 +case "(($ac_try" in
9198 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9199 +  *) ac_try_echo=$ac_try;;
9200 +esac
9201 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9202 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9203    ac_status=$?
9204    grep -v '^ *+' conftest.er1 >conftest.err
9205    rm -f conftest.er1
9206    cat conftest.err >&5
9207    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9208 -  (exit $ac_status); } >/dev/null; then
9209 -  if test -s conftest.err; then
9210 -    ac_cpp_err=$ac_c_preproc_warn_flag
9211 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9212 -  else
9213 -    ac_cpp_err=
9214 -  fi
9215 -else
9216 -  ac_cpp_err=yes
9217 -fi
9218 -if test -z "$ac_cpp_err"; then
9219 +  (exit $ac_status); } >/dev/null && {
9220 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9221 +        test ! -s conftest.err
9222 +       }; then
9223    ac_header_preproc=yes
9224  else
9225    echo "$as_me: failed program was:" >&5
9226 @@ -5815,9 +6121,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9227  
9228    ac_header_preproc=no
9229  fi
9230 +
9231  rm -f conftest.err conftest.$ac_ext
9232 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9233 -echo "${ECHO_T}$ac_header_preproc" >&6
9234 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9235 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9236  
9237  # So?  What about this header?
9238  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9239 @@ -5841,25 +6148,18 @@ echo "$as_me: WARNING: sys/resource.h:     section \"Present But Cannot Be Compi
9240  echo "$as_me: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&2;}
9241      { echo "$as_me:$LINENO: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&5
9242  echo "$as_me: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&2;}
9243 -    (
9244 -      cat <<\_ASBOX
9245 -## ------------------------------------------ ##
9246 -## Report this to the AC_PACKAGE_NAME lists.  ##
9247 -## ------------------------------------------ ##
9248 -_ASBOX
9249 -    ) |
9250 -      sed "s/^/$as_me: WARNING:     /" >&2
9251 +
9252      ;;
9253  esac
9254 -echo "$as_me:$LINENO: checking for sys/resource.h" >&5
9255 -echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6
9256 +{ echo "$as_me:$LINENO: checking for sys/resource.h" >&5
9257 +echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6; }
9258  if test "${ac_cv_header_sys_resource_h+set}" = set; then
9259    echo $ECHO_N "(cached) $ECHO_C" >&6
9260  else
9261    ac_cv_header_sys_resource_h=$ac_header_preproc
9262  fi
9263 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
9264 -echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6
9265 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
9266 +echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6; }
9267  
9268  fi
9269  if test $ac_cv_header_sys_resource_h = yes; then
9270 @@ -5871,17 +6171,17 @@ fi
9271  
9272  
9273  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9274 -  echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
9275 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
9276 +  { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
9277 +echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
9278  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9279    echo $ECHO_N "(cached) $ECHO_C" >&6
9280  fi
9281 -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
9282 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
9283 +{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
9284 +echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
9285  else
9286    # Is the header compilable?
9287 -echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
9288 -echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
9289 +{ echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
9290 +echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
9291  cat >conftest.$ac_ext <<_ACEOF
9292  /* confdefs.h.  */
9293  _ACEOF
9294 @@ -5892,41 +6192,37 @@ $ac_includes_default
9295  #include <arpa/inet.h>
9296  _ACEOF
9297  rm -f conftest.$ac_objext
9298 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9299 -  (eval $ac_compile) 2>conftest.er1
9300 +if { (ac_try="$ac_compile"
9301 +case "(($ac_try" in
9302 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9303 +  *) ac_try_echo=$ac_try;;
9304 +esac
9305 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 +  (eval "$ac_compile") 2>conftest.er1
9307    ac_status=$?
9308    grep -v '^ *+' conftest.er1 >conftest.err
9309    rm -f conftest.er1
9310    cat conftest.err >&5
9311    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 -  (exit $ac_status); } &&
9313 -        { ac_try='test -z "$ac_c_werror_flag"
9314 -                        || test ! -s conftest.err'
9315 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 -  (eval $ac_try) 2>&5
9317 -  ac_status=$?
9318 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 -  (exit $ac_status); }; } &&
9320 -        { ac_try='test -s conftest.$ac_objext'
9321 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 -  (eval $ac_try) 2>&5
9323 -  ac_status=$?
9324 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 -  (exit $ac_status); }; }; then
9326 +  (exit $ac_status); } && {
9327 +        test -z "$ac_c_werror_flag" ||
9328 +        test ! -s conftest.err
9329 +       } && test -s conftest.$ac_objext; then
9330    ac_header_compiler=yes
9331  else
9332    echo "$as_me: failed program was:" >&5
9333  sed 's/^/| /' conftest.$ac_ext >&5
9334  
9335 -ac_header_compiler=no
9336 +       ac_header_compiler=no
9337  fi
9338 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9339 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9340 -echo "${ECHO_T}$ac_header_compiler" >&6
9341 +
9342 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9343 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9344 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9345  
9346  # Is the header present?
9347 -echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
9348 -echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
9349 +{ echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
9350 +echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
9351  cat >conftest.$ac_ext <<_ACEOF
9352  /* confdefs.h.  */
9353  _ACEOF
9354 @@ -5935,24 +6231,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9355  /* end confdefs.h.  */
9356  #include <arpa/inet.h>
9357  _ACEOF
9358 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9359 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9360 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9361 +case "(($ac_try" in
9362 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9363 +  *) ac_try_echo=$ac_try;;
9364 +esac
9365 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9366 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9367    ac_status=$?
9368    grep -v '^ *+' conftest.er1 >conftest.err
9369    rm -f conftest.er1
9370    cat conftest.err >&5
9371    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 -  (exit $ac_status); } >/dev/null; then
9373 -  if test -s conftest.err; then
9374 -    ac_cpp_err=$ac_c_preproc_warn_flag
9375 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9376 -  else
9377 -    ac_cpp_err=
9378 -  fi
9379 -else
9380 -  ac_cpp_err=yes
9381 -fi
9382 -if test -z "$ac_cpp_err"; then
9383 +  (exit $ac_status); } >/dev/null && {
9384 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9385 +        test ! -s conftest.err
9386 +       }; then
9387    ac_header_preproc=yes
9388  else
9389    echo "$as_me: failed program was:" >&5
9390 @@ -5960,9 +6254,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9391  
9392    ac_header_preproc=no
9393  fi
9394 +
9395  rm -f conftest.err conftest.$ac_ext
9396 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9397 -echo "${ECHO_T}$ac_header_preproc" >&6
9398 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9399 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9400  
9401  # So?  What about this header?
9402  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9403 @@ -5986,25 +6281,18 @@ echo "$as_me: WARNING: arpa/inet.h:     section \"Present But Cannot Be Compiled
9404  echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
9405      { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
9406  echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
9407 -    (
9408 -      cat <<\_ASBOX
9409 -## ------------------------------------------ ##
9410 -## Report this to the AC_PACKAGE_NAME lists.  ##
9411 -## ------------------------------------------ ##
9412 -_ASBOX
9413 -    ) |
9414 -      sed "s/^/$as_me: WARNING:     /" >&2
9415 +
9416      ;;
9417  esac
9418 -echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
9419 -echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
9420 +{ echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
9421 +echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
9422  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9423    echo $ECHO_N "(cached) $ECHO_C" >&6
9424  else
9425    ac_cv_header_arpa_inet_h=$ac_header_preproc
9426  fi
9427 -echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
9428 -echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
9429 +{ echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
9430 +echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
9431  
9432  fi
9433  if test $ac_cv_header_arpa_inet_h = yes; then
9434 @@ -6016,17 +6304,17 @@ fi
9435  
9436  
9437  if test "${ac_cv_header_grp_h+set}" = set; then
9438 -  echo "$as_me:$LINENO: checking for grp.h" >&5
9439 -echo $ECHO_N "checking for grp.h... $ECHO_C" >&6
9440 +  { echo "$as_me:$LINENO: checking for grp.h" >&5
9441 +echo $ECHO_N "checking for grp.h... $ECHO_C" >&6; }
9442  if test "${ac_cv_header_grp_h+set}" = set; then
9443    echo $ECHO_N "(cached) $ECHO_C" >&6
9444  fi
9445 -echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
9446 -echo "${ECHO_T}$ac_cv_header_grp_h" >&6
9447 +{ echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
9448 +echo "${ECHO_T}$ac_cv_header_grp_h" >&6; }
9449  else
9450    # Is the header compilable?
9451 -echo "$as_me:$LINENO: checking grp.h usability" >&5
9452 -echo $ECHO_N "checking grp.h usability... $ECHO_C" >&6
9453 +{ echo "$as_me:$LINENO: checking grp.h usability" >&5
9454 +echo $ECHO_N "checking grp.h usability... $ECHO_C" >&6; }
9455  cat >conftest.$ac_ext <<_ACEOF
9456  /* confdefs.h.  */
9457  _ACEOF
9458 @@ -6037,41 +6325,37 @@ $ac_includes_default
9459  #include <grp.h>
9460  _ACEOF
9461  rm -f conftest.$ac_objext
9462 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 -  (eval $ac_compile) 2>conftest.er1
9464 +if { (ac_try="$ac_compile"
9465 +case "(($ac_try" in
9466 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9467 +  *) ac_try_echo=$ac_try;;
9468 +esac
9469 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9470 +  (eval "$ac_compile") 2>conftest.er1
9471    ac_status=$?
9472    grep -v '^ *+' conftest.er1 >conftest.err
9473    rm -f conftest.er1
9474    cat conftest.err >&5
9475    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 -  (exit $ac_status); } &&
9477 -        { ac_try='test -z "$ac_c_werror_flag"
9478 -                        || test ! -s conftest.err'
9479 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 -  (eval $ac_try) 2>&5
9481 -  ac_status=$?
9482 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483 -  (exit $ac_status); }; } &&
9484 -        { ac_try='test -s conftest.$ac_objext'
9485 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486 -  (eval $ac_try) 2>&5
9487 -  ac_status=$?
9488 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489 -  (exit $ac_status); }; }; then
9490 +  (exit $ac_status); } && {
9491 +        test -z "$ac_c_werror_flag" ||
9492 +        test ! -s conftest.err
9493 +       } && test -s conftest.$ac_objext; then
9494    ac_header_compiler=yes
9495  else
9496    echo "$as_me: failed program was:" >&5
9497  sed 's/^/| /' conftest.$ac_ext >&5
9498  
9499 -ac_header_compiler=no
9500 +       ac_header_compiler=no
9501  fi
9502 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9503 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9504 -echo "${ECHO_T}$ac_header_compiler" >&6
9505 +
9506 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9507 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9508 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9509  
9510  # Is the header present?
9511 -echo "$as_me:$LINENO: checking grp.h presence" >&5
9512 -echo $ECHO_N "checking grp.h presence... $ECHO_C" >&6
9513 +{ echo "$as_me:$LINENO: checking grp.h presence" >&5
9514 +echo $ECHO_N "checking grp.h presence... $ECHO_C" >&6; }
9515  cat >conftest.$ac_ext <<_ACEOF
9516  /* confdefs.h.  */
9517  _ACEOF
9518 @@ -6080,24 +6364,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9519  /* end confdefs.h.  */
9520  #include <grp.h>
9521  _ACEOF
9522 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9523 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9524 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9525 +case "(($ac_try" in
9526 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527 +  *) ac_try_echo=$ac_try;;
9528 +esac
9529 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9531    ac_status=$?
9532    grep -v '^ *+' conftest.er1 >conftest.err
9533    rm -f conftest.er1
9534    cat conftest.err >&5
9535    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 -  (exit $ac_status); } >/dev/null; then
9537 -  if test -s conftest.err; then
9538 -    ac_cpp_err=$ac_c_preproc_warn_flag
9539 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9540 -  else
9541 -    ac_cpp_err=
9542 -  fi
9543 -else
9544 -  ac_cpp_err=yes
9545 -fi
9546 -if test -z "$ac_cpp_err"; then
9547 +  (exit $ac_status); } >/dev/null && {
9548 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9549 +        test ! -s conftest.err
9550 +       }; then
9551    ac_header_preproc=yes
9552  else
9553    echo "$as_me: failed program was:" >&5
9554 @@ -6105,9 +6387,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9555  
9556    ac_header_preproc=no
9557  fi
9558 +
9559  rm -f conftest.err conftest.$ac_ext
9560 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9561 -echo "${ECHO_T}$ac_header_preproc" >&6
9562 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9563 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9564  
9565  # So?  What about this header?
9566  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9567 @@ -6131,25 +6414,18 @@ echo "$as_me: WARNING: grp.h:     section \"Present But Cannot Be Compiled\"" >&
9568  echo "$as_me: WARNING: grp.h: proceeding with the preprocessor's result" >&2;}
9569      { echo "$as_me:$LINENO: WARNING: grp.h: in the future, the compiler will take precedence" >&5
9570  echo "$as_me: WARNING: grp.h: in the future, the compiler will take precedence" >&2;}
9571 -    (
9572 -      cat <<\_ASBOX
9573 -## ------------------------------------------ ##
9574 -## Report this to the AC_PACKAGE_NAME lists.  ##
9575 -## ------------------------------------------ ##
9576 -_ASBOX
9577 -    ) |
9578 -      sed "s/^/$as_me: WARNING:     /" >&2
9579 +
9580      ;;
9581  esac
9582 -echo "$as_me:$LINENO: checking for grp.h" >&5
9583 -echo $ECHO_N "checking for grp.h... $ECHO_C" >&6
9584 +{ echo "$as_me:$LINENO: checking for grp.h" >&5
9585 +echo $ECHO_N "checking for grp.h... $ECHO_C" >&6; }
9586  if test "${ac_cv_header_grp_h+set}" = set; then
9587    echo $ECHO_N "(cached) $ECHO_C" >&6
9588  else
9589    ac_cv_header_grp_h=$ac_header_preproc
9590  fi
9591 -echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
9592 -echo "${ECHO_T}$ac_cv_header_grp_h" >&6
9593 +{ echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
9594 +echo "${ECHO_T}$ac_cv_header_grp_h" >&6; }
9595  
9596  fi
9597  if test $ac_cv_header_grp_h = yes; then
9598 @@ -6161,17 +6437,17 @@ fi
9599  
9600  
9601  if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
9602 -  echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
9603 -echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6
9604 +  { echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
9605 +echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6; }
9606  if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
9607    echo $ECHO_N "(cached) $ECHO_C" >&6
9608  fi
9609 -echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
9610 -echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6
9611 +{ echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
9612 +echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6; }
9613  else
9614    # Is the header compilable?
9615 -echo "$as_me:$LINENO: checking rpc/pmap_clnt.h usability" >&5
9616 -echo $ECHO_N "checking rpc/pmap_clnt.h usability... $ECHO_C" >&6
9617 +{ echo "$as_me:$LINENO: checking rpc/pmap_clnt.h usability" >&5
9618 +echo $ECHO_N "checking rpc/pmap_clnt.h usability... $ECHO_C" >&6; }
9619  cat >conftest.$ac_ext <<_ACEOF
9620  /* confdefs.h.  */
9621  _ACEOF
9622 @@ -6182,41 +6458,37 @@ $ac_includes_default
9623  #include <rpc/pmap_clnt.h>
9624  _ACEOF
9625  rm -f conftest.$ac_objext
9626 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9627 -  (eval $ac_compile) 2>conftest.er1
9628 +if { (ac_try="$ac_compile"
9629 +case "(($ac_try" in
9630 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631 +  *) ac_try_echo=$ac_try;;
9632 +esac
9633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9634 +  (eval "$ac_compile") 2>conftest.er1
9635    ac_status=$?
9636    grep -v '^ *+' conftest.er1 >conftest.err
9637    rm -f conftest.er1
9638    cat conftest.err >&5
9639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 -  (exit $ac_status); } &&
9641 -        { ac_try='test -z "$ac_c_werror_flag"
9642 -                        || test ! -s conftest.err'
9643 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 -  (eval $ac_try) 2>&5
9645 -  ac_status=$?
9646 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 -  (exit $ac_status); }; } &&
9648 -        { ac_try='test -s conftest.$ac_objext'
9649 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 -  (eval $ac_try) 2>&5
9651 -  ac_status=$?
9652 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 -  (exit $ac_status); }; }; then
9654 +  (exit $ac_status); } && {
9655 +        test -z "$ac_c_werror_flag" ||
9656 +        test ! -s conftest.err
9657 +       } && test -s conftest.$ac_objext; then
9658    ac_header_compiler=yes
9659  else
9660    echo "$as_me: failed program was:" >&5
9661  sed 's/^/| /' conftest.$ac_ext >&5
9662  
9663 -ac_header_compiler=no
9664 +       ac_header_compiler=no
9665  fi
9666 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9667 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9668 -echo "${ECHO_T}$ac_header_compiler" >&6
9669 +
9670 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9671 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9672 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9673  
9674  # Is the header present?
9675 -echo "$as_me:$LINENO: checking rpc/pmap_clnt.h presence" >&5
9676 -echo $ECHO_N "checking rpc/pmap_clnt.h presence... $ECHO_C" >&6
9677 +{ echo "$as_me:$LINENO: checking rpc/pmap_clnt.h presence" >&5
9678 +echo $ECHO_N "checking rpc/pmap_clnt.h presence... $ECHO_C" >&6; }
9679  cat >conftest.$ac_ext <<_ACEOF
9680  /* confdefs.h.  */
9681  _ACEOF
9682 @@ -6225,24 +6497,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9683  /* end confdefs.h.  */
9684  #include <rpc/pmap_clnt.h>
9685  _ACEOF
9686 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9687 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9688 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9689 +case "(($ac_try" in
9690 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 +  *) ac_try_echo=$ac_try;;
9692 +esac
9693 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9694 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9695    ac_status=$?
9696    grep -v '^ *+' conftest.er1 >conftest.err
9697    rm -f conftest.er1
9698    cat conftest.err >&5
9699    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 -  (exit $ac_status); } >/dev/null; then
9701 -  if test -s conftest.err; then
9702 -    ac_cpp_err=$ac_c_preproc_warn_flag
9703 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9704 -  else
9705 -    ac_cpp_err=
9706 -  fi
9707 -else
9708 -  ac_cpp_err=yes
9709 -fi
9710 -if test -z "$ac_cpp_err"; then
9711 +  (exit $ac_status); } >/dev/null && {
9712 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9713 +        test ! -s conftest.err
9714 +       }; then
9715    ac_header_preproc=yes
9716  else
9717    echo "$as_me: failed program was:" >&5
9718 @@ -6250,9 +6520,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9719  
9720    ac_header_preproc=no
9721  fi
9722 +
9723  rm -f conftest.err conftest.$ac_ext
9724 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9725 -echo "${ECHO_T}$ac_header_preproc" >&6
9726 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9727 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9728  
9729  # So?  What about this header?
9730  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9731 @@ -6276,25 +6547,18 @@ echo "$as_me: WARNING: rpc/pmap_clnt.h:     section \"Present But Cannot Be Comp
9732  echo "$as_me: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result" >&2;}
9733      { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&5
9734  echo "$as_me: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&2;}
9735 -    (
9736 -      cat <<\_ASBOX
9737 -## ------------------------------------------ ##
9738 -## Report this to the AC_PACKAGE_NAME lists.  ##
9739 -## ------------------------------------------ ##
9740 -_ASBOX
9741 -    ) |
9742 -      sed "s/^/$as_me: WARNING:     /" >&2
9743 +
9744      ;;
9745  esac
9746 -echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
9747 -echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6
9748 +{ echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
9749 +echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6; }
9750  if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
9751    echo $ECHO_N "(cached) $ECHO_C" >&6
9752  else
9753    ac_cv_header_rpc_pmap_clnt_h=$ac_header_preproc
9754  fi
9755 -echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
9756 -echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6
9757 +{ echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
9758 +echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6; }
9759  
9760  fi
9761  if test $ac_cv_header_rpc_pmap_clnt_h = yes; then
9762 @@ -6306,17 +6570,17 @@ fi
9763  
9764  
9765  if test "${ac_cv_header_sys_socket_h+set}" = set; then
9766 -  echo "$as_me:$LINENO: checking for sys/socket.h" >&5
9767 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
9768 +  { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
9769 +echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
9770  if test "${ac_cv_header_sys_socket_h+set}" = set; then
9771    echo $ECHO_N "(cached) $ECHO_C" >&6
9772  fi
9773 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
9774 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
9775 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
9776 +echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
9777  else
9778    # Is the header compilable?
9779 -echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
9780 -echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6
9781 +{ echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
9782 +echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; }
9783  cat >conftest.$ac_ext <<_ACEOF
9784  /* confdefs.h.  */
9785  _ACEOF
9786 @@ -6327,41 +6591,37 @@ $ac_includes_default
9787  #include <sys/socket.h>
9788  _ACEOF
9789  rm -f conftest.$ac_objext
9790 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9791 -  (eval $ac_compile) 2>conftest.er1
9792 +if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
9799    ac_status=$?
9800    grep -v '^ *+' conftest.er1 >conftest.err
9801    rm -f conftest.er1
9802    cat conftest.err >&5
9803    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 -  (exit $ac_status); } &&
9805 -        { ac_try='test -z "$ac_c_werror_flag"
9806 -                        || test ! -s conftest.err'
9807 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 -  (eval $ac_try) 2>&5
9809 -  ac_status=$?
9810 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 -  (exit $ac_status); }; } &&
9812 -        { ac_try='test -s conftest.$ac_objext'
9813 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9814 -  (eval $ac_try) 2>&5
9815 -  ac_status=$?
9816 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 -  (exit $ac_status); }; }; then
9818 +  (exit $ac_status); } && {
9819 +        test -z "$ac_c_werror_flag" ||
9820 +        test ! -s conftest.err
9821 +       } && test -s conftest.$ac_objext; then
9822    ac_header_compiler=yes
9823  else
9824    echo "$as_me: failed program was:" >&5
9825  sed 's/^/| /' conftest.$ac_ext >&5
9826  
9827 -ac_header_compiler=no
9828 +       ac_header_compiler=no
9829  fi
9830 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9831 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9832 -echo "${ECHO_T}$ac_header_compiler" >&6
9833 +
9834 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9835 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9836 +echo "${ECHO_T}$ac_header_compiler" >&6; }
9837  
9838  # Is the header present?
9839 -echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
9840 -echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6
9841 +{ echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
9842 +echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; }
9843  cat >conftest.$ac_ext <<_ACEOF
9844  /* confdefs.h.  */
9845  _ACEOF
9846 @@ -6370,24 +6630,22 @@ cat >>conftest.$ac_ext <<_ACEOF
9847  /* end confdefs.h.  */
9848  #include <sys/socket.h>
9849  _ACEOF
9850 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9851 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9852 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9853 +case "(($ac_try" in
9854 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9855 +  *) ac_try_echo=$ac_try;;
9856 +esac
9857 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9858 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9859    ac_status=$?
9860    grep -v '^ *+' conftest.er1 >conftest.err
9861    rm -f conftest.er1
9862    cat conftest.err >&5
9863    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 -  (exit $ac_status); } >/dev/null; then
9865 -  if test -s conftest.err; then
9866 -    ac_cpp_err=$ac_c_preproc_warn_flag
9867 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9868 -  else
9869 -    ac_cpp_err=
9870 -  fi
9871 -else
9872 -  ac_cpp_err=yes
9873 -fi
9874 -if test -z "$ac_cpp_err"; then
9875 +  (exit $ac_status); } >/dev/null && {
9876 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9877 +        test ! -s conftest.err
9878 +       }; then
9879    ac_header_preproc=yes
9880  else
9881    echo "$as_me: failed program was:" >&5
9882 @@ -6395,9 +6653,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9883  
9884    ac_header_preproc=no
9885  fi
9886 +
9887  rm -f conftest.err conftest.$ac_ext
9888 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9889 -echo "${ECHO_T}$ac_header_preproc" >&6
9890 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9891 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9892  
9893  # So?  What about this header?
9894  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9895 @@ -6421,25 +6680,18 @@ echo "$as_me: WARNING: sys/socket.h:     section \"Present But Cannot Be Compile
9896  echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;}
9897      { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
9898  echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
9899 -    (
9900 -      cat <<\_ASBOX
9901 -## ------------------------------------------ ##
9902 -## Report this to the AC_PACKAGE_NAME lists.  ##
9903 -## ------------------------------------------ ##
9904 -_ASBOX
9905 -    ) |
9906 -      sed "s/^/$as_me: WARNING:     /" >&2
9907 +
9908      ;;
9909  esac
9910 -echo "$as_me:$LINENO: checking for sys/socket.h" >&5
9911 -echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
9912 +{ echo "$as_me:$LINENO: checking for sys/socket.h" >&5
9913 +echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
9914  if test "${ac_cv_header_sys_socket_h+set}" = set; then
9915    echo $ECHO_N "(cached) $ECHO_C" >&6
9916  else
9917    ac_cv_header_sys_socket_h=$ac_header_preproc
9918  fi
9919 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
9920 -echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
9921 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
9922 +echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
9923  
9924  fi
9925  if test $ac_cv_header_sys_socket_h = yes; then
9926 @@ -6451,17 +6703,17 @@ fi
9927  
9928  
9929  if test "${ac_cv_header_sys_signal_h+set}" = set; then
9930 -  echo "$as_me:$LINENO: checking for sys/signal.h" >&5
9931 -echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6
9932 +  { echo "$as_me:$LINENO: checking for sys/signal.h" >&5
9933 +echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6; }
9934  if test "${ac_cv_header_sys_signal_h+set}" = set; then
9935    echo $ECHO_N "(cached) $ECHO_C" >&6
9936  fi
9937 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
9938 -echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6
9939 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
9940 +echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6; }
9941  else
9942    # Is the header compilable?
9943 -echo "$as_me:$LINENO: checking sys/signal.h usability" >&5
9944 -echo $ECHO_N "checking sys/signal.h usability... $ECHO_C" >&6
9945 +{ echo "$as_me:$LINENO: checking sys/signal.h usability" >&5
9946 +echo $ECHO_N "checking sys/signal.h usability... $ECHO_C" >&6; }
9947  cat >conftest.$ac_ext <<_ACEOF
9948  /* confdefs.h.  */
9949  _ACEOF
9950 @@ -6472,41 +6724,37 @@ $ac_includes_default
9951  #include <sys/signal.h>
9952  _ACEOF
9953  rm -f conftest.$ac_objext
9954 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9955 -  (eval $ac_compile) 2>conftest.er1
9956 +if { (ac_try="$ac_compile"
9957 +case "(($ac_try" in
9958 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9959 +  *) ac_try_echo=$ac_try;;
9960 +esac
9961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9962 +  (eval "$ac_compile") 2>conftest.er1
9963    ac_status=$?
9964    grep -v '^ *+' conftest.er1 >conftest.err
9965    rm -f conftest.er1
9966    cat conftest.err >&5
9967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 -  (exit $ac_status); } &&
9969 -        { ac_try='test -z "$ac_c_werror_flag"
9970 -                        || test ! -s conftest.err'
9971 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972 -  (eval $ac_try) 2>&5
9973 -  ac_status=$?
9974 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 -  (exit $ac_status); }; } &&
9976 -        { ac_try='test -s conftest.$ac_objext'
9977 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978 -  (eval $ac_try) 2>&5
9979 -  ac_status=$?
9980 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 -  (exit $ac_status); }; }; then
9982 +  (exit $ac_status); } && {
9983 +        test -z "$ac_c_werror_flag" ||
9984 +        test ! -s conftest.err
9985 +       } && test -s conftest.$ac_objext; then
9986    ac_header_compiler=yes
9987  else
9988    echo "$as_me: failed program was:" >&5
9989  sed 's/^/| /' conftest.$ac_ext >&5
9990  
9991 -ac_header_compiler=no
9992 +       ac_header_compiler=no
9993  fi
9994 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9995 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9996 -echo "${ECHO_T}$ac_header_compiler" >&6
9997 +
9998 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9999 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10000 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10001  
10002  # Is the header present?
10003 -echo "$as_me:$LINENO: checking sys/signal.h presence" >&5
10004 -echo $ECHO_N "checking sys/signal.h presence... $ECHO_C" >&6
10005 +{ echo "$as_me:$LINENO: checking sys/signal.h presence" >&5
10006 +echo $ECHO_N "checking sys/signal.h presence... $ECHO_C" >&6; }
10007  cat >conftest.$ac_ext <<_ACEOF
10008  /* confdefs.h.  */
10009  _ACEOF
10010 @@ -6515,24 +6763,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10011  /* end confdefs.h.  */
10012  #include <sys/signal.h>
10013  _ACEOF
10014 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10015 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10016 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10017 +case "(($ac_try" in
10018 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10019 +  *) ac_try_echo=$ac_try;;
10020 +esac
10021 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10022 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10023    ac_status=$?
10024    grep -v '^ *+' conftest.er1 >conftest.err
10025    rm -f conftest.er1
10026    cat conftest.err >&5
10027    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 -  (exit $ac_status); } >/dev/null; then
10029 -  if test -s conftest.err; then
10030 -    ac_cpp_err=$ac_c_preproc_warn_flag
10031 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10032 -  else
10033 -    ac_cpp_err=
10034 -  fi
10035 -else
10036 -  ac_cpp_err=yes
10037 -fi
10038 -if test -z "$ac_cpp_err"; then
10039 +  (exit $ac_status); } >/dev/null && {
10040 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10041 +        test ! -s conftest.err
10042 +       }; then
10043    ac_header_preproc=yes
10044  else
10045    echo "$as_me: failed program was:" >&5
10046 @@ -6540,9 +6786,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10047  
10048    ac_header_preproc=no
10049  fi
10050 +
10051  rm -f conftest.err conftest.$ac_ext
10052 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10053 -echo "${ECHO_T}$ac_header_preproc" >&6
10054 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10055 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10056  
10057  # So?  What about this header?
10058  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10059 @@ -6566,25 +6813,18 @@ echo "$as_me: WARNING: sys/signal.h:     section \"Present But Cannot Be Compile
10060  echo "$as_me: WARNING: sys/signal.h: proceeding with the preprocessor's result" >&2;}
10061      { echo "$as_me:$LINENO: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&5
10062  echo "$as_me: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&2;}
10063 -    (
10064 -      cat <<\_ASBOX
10065 -## ------------------------------------------ ##
10066 -## Report this to the AC_PACKAGE_NAME lists.  ##
10067 -## ------------------------------------------ ##
10068 -_ASBOX
10069 -    ) |
10070 -      sed "s/^/$as_me: WARNING:     /" >&2
10071 +
10072      ;;
10073  esac
10074 -echo "$as_me:$LINENO: checking for sys/signal.h" >&5
10075 -echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6
10076 +{ echo "$as_me:$LINENO: checking for sys/signal.h" >&5
10077 +echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6; }
10078  if test "${ac_cv_header_sys_signal_h+set}" = set; then
10079    echo $ECHO_N "(cached) $ECHO_C" >&6
10080  else
10081    ac_cv_header_sys_signal_h=$ac_header_preproc
10082  fi
10083 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
10084 -echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6
10085 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
10086 +echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6; }
10087  
10088  fi
10089  if test $ac_cv_header_sys_signal_h = yes; then
10090 @@ -6596,17 +6836,17 @@ fi
10091  
10092  
10093  if test "${ac_cv_header_crypt_h+set}" = set; then
10094 -  echo "$as_me:$LINENO: checking for crypt.h" >&5
10095 -echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6
10096 +  { echo "$as_me:$LINENO: checking for crypt.h" >&5
10097 +echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6; }
10098  if test "${ac_cv_header_crypt_h+set}" = set; then
10099    echo $ECHO_N "(cached) $ECHO_C" >&6
10100  fi
10101 -echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
10102 -echo "${ECHO_T}$ac_cv_header_crypt_h" >&6
10103 +{ echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
10104 +echo "${ECHO_T}$ac_cv_header_crypt_h" >&6; }
10105  else
10106    # Is the header compilable?
10107 -echo "$as_me:$LINENO: checking crypt.h usability" >&5
10108 -echo $ECHO_N "checking crypt.h usability... $ECHO_C" >&6
10109 +{ echo "$as_me:$LINENO: checking crypt.h usability" >&5
10110 +echo $ECHO_N "checking crypt.h usability... $ECHO_C" >&6; }
10111  cat >conftest.$ac_ext <<_ACEOF
10112  /* confdefs.h.  */
10113  _ACEOF
10114 @@ -6617,41 +6857,37 @@ $ac_includes_default
10115  #include <crypt.h>
10116  _ACEOF
10117  rm -f conftest.$ac_objext
10118 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10119 -  (eval $ac_compile) 2>conftest.er1
10120 +if { (ac_try="$ac_compile"
10121 +case "(($ac_try" in
10122 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 +  *) ac_try_echo=$ac_try;;
10124 +esac
10125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 +  (eval "$ac_compile") 2>conftest.er1
10127    ac_status=$?
10128    grep -v '^ *+' conftest.er1 >conftest.err
10129    rm -f conftest.er1
10130    cat conftest.err >&5
10131    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 -  (exit $ac_status); } &&
10133 -        { ac_try='test -z "$ac_c_werror_flag"
10134 -                        || test ! -s conftest.err'
10135 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 -  (eval $ac_try) 2>&5
10137 -  ac_status=$?
10138 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 -  (exit $ac_status); }; } &&
10140 -        { ac_try='test -s conftest.$ac_objext'
10141 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 -  (eval $ac_try) 2>&5
10143 -  ac_status=$?
10144 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 -  (exit $ac_status); }; }; then
10146 +  (exit $ac_status); } && {
10147 +        test -z "$ac_c_werror_flag" ||
10148 +        test ! -s conftest.err
10149 +       } && test -s conftest.$ac_objext; then
10150    ac_header_compiler=yes
10151  else
10152    echo "$as_me: failed program was:" >&5
10153  sed 's/^/| /' conftest.$ac_ext >&5
10154  
10155 -ac_header_compiler=no
10156 +       ac_header_compiler=no
10157  fi
10158 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10159 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10160 -echo "${ECHO_T}$ac_header_compiler" >&6
10161 +
10162 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10163 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10164 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10165  
10166  # Is the header present?
10167 -echo "$as_me:$LINENO: checking crypt.h presence" >&5
10168 -echo $ECHO_N "checking crypt.h presence... $ECHO_C" >&6
10169 +{ echo "$as_me:$LINENO: checking crypt.h presence" >&5
10170 +echo $ECHO_N "checking crypt.h presence... $ECHO_C" >&6; }
10171  cat >conftest.$ac_ext <<_ACEOF
10172  /* confdefs.h.  */
10173  _ACEOF
10174 @@ -6660,24 +6896,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10175  /* end confdefs.h.  */
10176  #include <crypt.h>
10177  _ACEOF
10178 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10179 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10180 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10181 +case "(($ac_try" in
10182 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10183 +  *) ac_try_echo=$ac_try;;
10184 +esac
10185 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10186 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10187    ac_status=$?
10188    grep -v '^ *+' conftest.er1 >conftest.err
10189    rm -f conftest.er1
10190    cat conftest.err >&5
10191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 -  (exit $ac_status); } >/dev/null; then
10193 -  if test -s conftest.err; then
10194 -    ac_cpp_err=$ac_c_preproc_warn_flag
10195 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10196 -  else
10197 -    ac_cpp_err=
10198 -  fi
10199 -else
10200 -  ac_cpp_err=yes
10201 -fi
10202 -if test -z "$ac_cpp_err"; then
10203 +  (exit $ac_status); } >/dev/null && {
10204 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10205 +        test ! -s conftest.err
10206 +       }; then
10207    ac_header_preproc=yes
10208  else
10209    echo "$as_me: failed program was:" >&5
10210 @@ -6685,9 +6919,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10211  
10212    ac_header_preproc=no
10213  fi
10214 +
10215  rm -f conftest.err conftest.$ac_ext
10216 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10217 -echo "${ECHO_T}$ac_header_preproc" >&6
10218 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10219 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10220  
10221  # So?  What about this header?
10222  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10223 @@ -6711,25 +6946,18 @@ echo "$as_me: WARNING: crypt.h:     section \"Present But Cannot Be Compiled\""
10224  echo "$as_me: WARNING: crypt.h: proceeding with the preprocessor's result" >&2;}
10225      { echo "$as_me:$LINENO: WARNING: crypt.h: in the future, the compiler will take precedence" >&5
10226  echo "$as_me: WARNING: crypt.h: in the future, the compiler will take precedence" >&2;}
10227 -    (
10228 -      cat <<\_ASBOX
10229 -## ------------------------------------------ ##
10230 -## Report this to the AC_PACKAGE_NAME lists.  ##
10231 -## ------------------------------------------ ##
10232 -_ASBOX
10233 -    ) |
10234 -      sed "s/^/$as_me: WARNING:     /" >&2
10235 +
10236      ;;
10237  esac
10238 -echo "$as_me:$LINENO: checking for crypt.h" >&5
10239 -echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6
10240 +{ echo "$as_me:$LINENO: checking for crypt.h" >&5
10241 +echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6; }
10242  if test "${ac_cv_header_crypt_h+set}" = set; then
10243    echo $ECHO_N "(cached) $ECHO_C" >&6
10244  else
10245    ac_cv_header_crypt_h=$ac_header_preproc
10246  fi
10247 -echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
10248 -echo "${ECHO_T}$ac_cv_header_crypt_h" >&6
10249 +{ echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
10250 +echo "${ECHO_T}$ac_cv_header_crypt_h" >&6; }
10251  
10252  fi
10253  if test $ac_cv_header_crypt_h = yes; then
10254 @@ -6741,17 +6969,17 @@ fi
10255  
10256  
10257  if test "${ac_cv_header_stdint_h+set}" = set; then
10258 -  echo "$as_me:$LINENO: checking for stdint.h" >&5
10259 -echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
10260 +  { echo "$as_me:$LINENO: checking for stdint.h" >&5
10261 +echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
10262  if test "${ac_cv_header_stdint_h+set}" = set; then
10263    echo $ECHO_N "(cached) $ECHO_C" >&6
10264  fi
10265 -echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
10266 -echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
10267 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
10268 +echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; }
10269  else
10270    # Is the header compilable?
10271 -echo "$as_me:$LINENO: checking stdint.h usability" >&5
10272 -echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
10273 +{ echo "$as_me:$LINENO: checking stdint.h usability" >&5
10274 +echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; }
10275  cat >conftest.$ac_ext <<_ACEOF
10276  /* confdefs.h.  */
10277  _ACEOF
10278 @@ -6762,41 +6990,37 @@ $ac_includes_default
10279  #include <stdint.h>
10280  _ACEOF
10281  rm -f conftest.$ac_objext
10282 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10283 -  (eval $ac_compile) 2>conftest.er1
10284 +if { (ac_try="$ac_compile"
10285 +case "(($ac_try" in
10286 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 +  *) ac_try_echo=$ac_try;;
10288 +esac
10289 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 +  (eval "$ac_compile") 2>conftest.er1
10291    ac_status=$?
10292    grep -v '^ *+' conftest.er1 >conftest.err
10293    rm -f conftest.er1
10294    cat conftest.err >&5
10295    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 -  (exit $ac_status); } &&
10297 -        { ac_try='test -z "$ac_c_werror_flag"
10298 -                        || test ! -s conftest.err'
10299 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300 -  (eval $ac_try) 2>&5
10301 -  ac_status=$?
10302 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 -  (exit $ac_status); }; } &&
10304 -        { ac_try='test -s conftest.$ac_objext'
10305 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 -  (eval $ac_try) 2>&5
10307 -  ac_status=$?
10308 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 -  (exit $ac_status); }; }; then
10310 +  (exit $ac_status); } && {
10311 +        test -z "$ac_c_werror_flag" ||
10312 +        test ! -s conftest.err
10313 +       } && test -s conftest.$ac_objext; then
10314    ac_header_compiler=yes
10315  else
10316    echo "$as_me: failed program was:" >&5
10317  sed 's/^/| /' conftest.$ac_ext >&5
10318  
10319 -ac_header_compiler=no
10320 +       ac_header_compiler=no
10321  fi
10322 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10323 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10324 -echo "${ECHO_T}$ac_header_compiler" >&6
10325 +
10326 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10327 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10328 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10329  
10330  # Is the header present?
10331 -echo "$as_me:$LINENO: checking stdint.h presence" >&5
10332 -echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
10333 +{ echo "$as_me:$LINENO: checking stdint.h presence" >&5
10334 +echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; }
10335  cat >conftest.$ac_ext <<_ACEOF
10336  /* confdefs.h.  */
10337  _ACEOF
10338 @@ -6805,24 +7029,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10339  /* end confdefs.h.  */
10340  #include <stdint.h>
10341  _ACEOF
10342 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10343 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10344 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10345 +case "(($ac_try" in
10346 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10347 +  *) ac_try_echo=$ac_try;;
10348 +esac
10349 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10350 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10351    ac_status=$?
10352    grep -v '^ *+' conftest.er1 >conftest.err
10353    rm -f conftest.er1
10354    cat conftest.err >&5
10355    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 -  (exit $ac_status); } >/dev/null; then
10357 -  if test -s conftest.err; then
10358 -    ac_cpp_err=$ac_c_preproc_warn_flag
10359 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10360 -  else
10361 -    ac_cpp_err=
10362 -  fi
10363 -else
10364 -  ac_cpp_err=yes
10365 -fi
10366 -if test -z "$ac_cpp_err"; then
10367 +  (exit $ac_status); } >/dev/null && {
10368 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10369 +        test ! -s conftest.err
10370 +       }; then
10371    ac_header_preproc=yes
10372  else
10373    echo "$as_me: failed program was:" >&5
10374 @@ -6830,9 +7052,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10375  
10376    ac_header_preproc=no
10377  fi
10378 +
10379  rm -f conftest.err conftest.$ac_ext
10380 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10381 -echo "${ECHO_T}$ac_header_preproc" >&6
10382 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10383 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10384  
10385  # So?  What about this header?
10386  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10387 @@ -6856,25 +7079,18 @@ echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\""
10388  echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
10389      { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
10390  echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
10391 -    (
10392 -      cat <<\_ASBOX
10393 -## ------------------------------------------ ##
10394 -## Report this to the AC_PACKAGE_NAME lists.  ##
10395 -## ------------------------------------------ ##
10396 -_ASBOX
10397 -    ) |
10398 -      sed "s/^/$as_me: WARNING:     /" >&2
10399 +
10400      ;;
10401  esac
10402 -echo "$as_me:$LINENO: checking for stdint.h" >&5
10403 -echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
10404 +{ echo "$as_me:$LINENO: checking for stdint.h" >&5
10405 +echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
10406  if test "${ac_cv_header_stdint_h+set}" = set; then
10407    echo $ECHO_N "(cached) $ECHO_C" >&6
10408  else
10409    ac_cv_header_stdint_h=$ac_header_preproc
10410  fi
10411 -echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
10412 -echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
10413 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
10414 +echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; }
10415  
10416  fi
10417  if test $ac_cv_header_stdint_h = yes; then
10418 @@ -6886,17 +7102,17 @@ fi
10419  
10420  
10421  if test "${ac_cv_header_stdbool_h+set}" = set; then
10422 -  echo "$as_me:$LINENO: checking for stdbool.h" >&5
10423 -echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6
10424 +  { echo "$as_me:$LINENO: checking for stdbool.h" >&5
10425 +echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; }
10426  if test "${ac_cv_header_stdbool_h+set}" = set; then
10427    echo $ECHO_N "(cached) $ECHO_C" >&6
10428  fi
10429 -echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10430 -echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10431 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10432 +echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10433  else
10434    # Is the header compilable?
10435 -echo "$as_me:$LINENO: checking stdbool.h usability" >&5
10436 -echo $ECHO_N "checking stdbool.h usability... $ECHO_C" >&6
10437 +{ echo "$as_me:$LINENO: checking stdbool.h usability" >&5
10438 +echo $ECHO_N "checking stdbool.h usability... $ECHO_C" >&6; }
10439  cat >conftest.$ac_ext <<_ACEOF
10440  /* confdefs.h.  */
10441  _ACEOF
10442 @@ -6907,41 +7123,37 @@ $ac_includes_default
10443  #include <stdbool.h>
10444  _ACEOF
10445  rm -f conftest.$ac_objext
10446 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 -  (eval $ac_compile) 2>conftest.er1
10448 +if { (ac_try="$ac_compile"
10449 +case "(($ac_try" in
10450 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10451 +  *) ac_try_echo=$ac_try;;
10452 +esac
10453 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10454 +  (eval "$ac_compile") 2>conftest.er1
10455    ac_status=$?
10456    grep -v '^ *+' conftest.er1 >conftest.err
10457    rm -f conftest.er1
10458    cat conftest.err >&5
10459    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 -  (exit $ac_status); } &&
10461 -        { ac_try='test -z "$ac_c_werror_flag"
10462 -                        || test ! -s conftest.err'
10463 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 -  (eval $ac_try) 2>&5
10465 -  ac_status=$?
10466 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 -  (exit $ac_status); }; } &&
10468 -        { ac_try='test -s conftest.$ac_objext'
10469 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 -  (eval $ac_try) 2>&5
10471 -  ac_status=$?
10472 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 -  (exit $ac_status); }; }; then
10474 +  (exit $ac_status); } && {
10475 +        test -z "$ac_c_werror_flag" ||
10476 +        test ! -s conftest.err
10477 +       } && test -s conftest.$ac_objext; then
10478    ac_header_compiler=yes
10479  else
10480    echo "$as_me: failed program was:" >&5
10481  sed 's/^/| /' conftest.$ac_ext >&5
10482  
10483 -ac_header_compiler=no
10484 +       ac_header_compiler=no
10485  fi
10486 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10487 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10488 -echo "${ECHO_T}$ac_header_compiler" >&6
10489 +
10490 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10491 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10492 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10493  
10494  # Is the header present?
10495 -echo "$as_me:$LINENO: checking stdbool.h presence" >&5
10496 -echo $ECHO_N "checking stdbool.h presence... $ECHO_C" >&6
10497 +{ echo "$as_me:$LINENO: checking stdbool.h presence" >&5
10498 +echo $ECHO_N "checking stdbool.h presence... $ECHO_C" >&6; }
10499  cat >conftest.$ac_ext <<_ACEOF
10500  /* confdefs.h.  */
10501  _ACEOF
10502 @@ -6950,24 +7162,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10503  /* end confdefs.h.  */
10504  #include <stdbool.h>
10505  _ACEOF
10506 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10507 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10508 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10509 +case "(($ac_try" in
10510 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10511 +  *) ac_try_echo=$ac_try;;
10512 +esac
10513 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10514 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10515    ac_status=$?
10516    grep -v '^ *+' conftest.er1 >conftest.err
10517    rm -f conftest.er1
10518    cat conftest.err >&5
10519    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 -  (exit $ac_status); } >/dev/null; then
10521 -  if test -s conftest.err; then
10522 -    ac_cpp_err=$ac_c_preproc_warn_flag
10523 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10524 -  else
10525 -    ac_cpp_err=
10526 -  fi
10527 -else
10528 -  ac_cpp_err=yes
10529 -fi
10530 -if test -z "$ac_cpp_err"; then
10531 +  (exit $ac_status); } >/dev/null && {
10532 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10533 +        test ! -s conftest.err
10534 +       }; then
10535    ac_header_preproc=yes
10536  else
10537    echo "$as_me: failed program was:" >&5
10538 @@ -6975,9 +7185,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10539  
10540    ac_header_preproc=no
10541  fi
10542 +
10543  rm -f conftest.err conftest.$ac_ext
10544 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10545 -echo "${ECHO_T}$ac_header_preproc" >&6
10546 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10547 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10548  
10549  # So?  What about this header?
10550  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10551 @@ -7001,25 +7212,18 @@ echo "$as_me: WARNING: stdbool.h:     section \"Present But Cannot Be Compiled\"
10552  echo "$as_me: WARNING: stdbool.h: proceeding with the preprocessor's result" >&2;}
10553      { echo "$as_me:$LINENO: WARNING: stdbool.h: in the future, the compiler will take precedence" >&5
10554  echo "$as_me: WARNING: stdbool.h: in the future, the compiler will take precedence" >&2;}
10555 -    (
10556 -      cat <<\_ASBOX
10557 -## ------------------------------------------ ##
10558 -## Report this to the AC_PACKAGE_NAME lists.  ##
10559 -## ------------------------------------------ ##
10560 -_ASBOX
10561 -    ) |
10562 -      sed "s/^/$as_me: WARNING:     /" >&2
10563 +
10564      ;;
10565  esac
10566 -echo "$as_me:$LINENO: checking for stdbool.h" >&5
10567 -echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6
10568 +{ echo "$as_me:$LINENO: checking for stdbool.h" >&5
10569 +echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; }
10570  if test "${ac_cv_header_stdbool_h+set}" = set; then
10571    echo $ECHO_N "(cached) $ECHO_C" >&6
10572  else
10573    ac_cv_header_stdbool_h=$ac_header_preproc
10574  fi
10575 -echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10576 -echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10577 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10578 +echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10579  
10580  fi
10581  if test $ac_cv_header_stdbool_h = yes; then
10582 @@ -7031,17 +7235,17 @@ fi
10583  
10584  
10585  if test "${ac_cv_header_sys_filio_h+set}" = set; then
10586 -  echo "$as_me:$LINENO: checking for sys/filio.h" >&5
10587 -echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6
10588 +  { echo "$as_me:$LINENO: checking for sys/filio.h" >&5
10589 +echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
10590  if test "${ac_cv_header_sys_filio_h+set}" = set; then
10591    echo $ECHO_N "(cached) $ECHO_C" >&6
10592  fi
10593 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
10594 -echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6
10595 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
10596 +echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
10597  else
10598    # Is the header compilable?
10599 -echo "$as_me:$LINENO: checking sys/filio.h usability" >&5
10600 -echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6
10601 +{ echo "$as_me:$LINENO: checking sys/filio.h usability" >&5
10602 +echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; }
10603  cat >conftest.$ac_ext <<_ACEOF
10604  /* confdefs.h.  */
10605  _ACEOF
10606 @@ -7052,41 +7256,37 @@ $ac_includes_default
10607  #include <sys/filio.h>
10608  _ACEOF
10609  rm -f conftest.$ac_objext
10610 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611 -  (eval $ac_compile) 2>conftest.er1
10612 +if { (ac_try="$ac_compile"
10613 +case "(($ac_try" in
10614 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 +  *) ac_try_echo=$ac_try;;
10616 +esac
10617 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 +  (eval "$ac_compile") 2>conftest.er1
10619    ac_status=$?
10620    grep -v '^ *+' conftest.er1 >conftest.err
10621    rm -f conftest.er1
10622    cat conftest.err >&5
10623    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 -  (exit $ac_status); } &&
10625 -        { ac_try='test -z "$ac_c_werror_flag"
10626 -                        || test ! -s conftest.err'
10627 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10628 -  (eval $ac_try) 2>&5
10629 -  ac_status=$?
10630 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 -  (exit $ac_status); }; } &&
10632 -        { ac_try='test -s conftest.$ac_objext'
10633 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10634 -  (eval $ac_try) 2>&5
10635 -  ac_status=$?
10636 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 -  (exit $ac_status); }; }; then
10638 +  (exit $ac_status); } && {
10639 +        test -z "$ac_c_werror_flag" ||
10640 +        test ! -s conftest.err
10641 +       } && test -s conftest.$ac_objext; then
10642    ac_header_compiler=yes
10643  else
10644    echo "$as_me: failed program was:" >&5
10645  sed 's/^/| /' conftest.$ac_ext >&5
10646  
10647 -ac_header_compiler=no
10648 +       ac_header_compiler=no
10649  fi
10650 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10651 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10652 -echo "${ECHO_T}$ac_header_compiler" >&6
10653 +
10654 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10655 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10656 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10657  
10658  # Is the header present?
10659 -echo "$as_me:$LINENO: checking sys/filio.h presence" >&5
10660 -echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6
10661 +{ echo "$as_me:$LINENO: checking sys/filio.h presence" >&5
10662 +echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; }
10663  cat >conftest.$ac_ext <<_ACEOF
10664  /* confdefs.h.  */
10665  _ACEOF
10666 @@ -7095,24 +7295,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10667  /* end confdefs.h.  */
10668  #include <sys/filio.h>
10669  _ACEOF
10670 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10671 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10672 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10673 +case "(($ac_try" in
10674 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10675 +  *) ac_try_echo=$ac_try;;
10676 +esac
10677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10678 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10679    ac_status=$?
10680    grep -v '^ *+' conftest.er1 >conftest.err
10681    rm -f conftest.er1
10682    cat conftest.err >&5
10683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 -  (exit $ac_status); } >/dev/null; then
10685 -  if test -s conftest.err; then
10686 -    ac_cpp_err=$ac_c_preproc_warn_flag
10687 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10688 -  else
10689 -    ac_cpp_err=
10690 -  fi
10691 -else
10692 -  ac_cpp_err=yes
10693 -fi
10694 -if test -z "$ac_cpp_err"; then
10695 +  (exit $ac_status); } >/dev/null && {
10696 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10697 +        test ! -s conftest.err
10698 +       }; then
10699    ac_header_preproc=yes
10700  else
10701    echo "$as_me: failed program was:" >&5
10702 @@ -7120,9 +7318,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10703  
10704    ac_header_preproc=no
10705  fi
10706 +
10707  rm -f conftest.err conftest.$ac_ext
10708 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10709 -echo "${ECHO_T}$ac_header_preproc" >&6
10710 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10711 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10712  
10713  # So?  What about this header?
10714  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10715 @@ -7146,25 +7345,18 @@ echo "$as_me: WARNING: sys/filio.h:     section \"Present But Cannot Be Compiled
10716  echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;}
10717      { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5
10718  echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;}
10719 -    (
10720 -      cat <<\_ASBOX
10721 -## ------------------------------------------ ##
10722 -## Report this to the AC_PACKAGE_NAME lists.  ##
10723 -## ------------------------------------------ ##
10724 -_ASBOX
10725 -    ) |
10726 -      sed "s/^/$as_me: WARNING:     /" >&2
10727 +
10728      ;;
10729  esac
10730 -echo "$as_me:$LINENO: checking for sys/filio.h" >&5
10731 -echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6
10732 +{ echo "$as_me:$LINENO: checking for sys/filio.h" >&5
10733 +echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
10734  if test "${ac_cv_header_sys_filio_h+set}" = set; then
10735    echo $ECHO_N "(cached) $ECHO_C" >&6
10736  else
10737    ac_cv_header_sys_filio_h=$ac_header_preproc
10738  fi
10739 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
10740 -echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6
10741 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
10742 +echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
10743  
10744  fi
10745  if test $ac_cv_header_sys_filio_h = yes; then
10746 @@ -7176,17 +7368,17 @@ fi
10747  
10748  
10749  if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
10750 -  echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
10751 -echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6
10752 +  { echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
10753 +echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6; }
10754  if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
10755    echo $ECHO_N "(cached) $ECHO_C" >&6
10756  fi
10757 -echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
10758 -echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6
10759 +{ echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
10760 +echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6; }
10761  else
10762    # Is the header compilable?
10763 -echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h usability" >&5
10764 -echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h usability... $ECHO_C" >&6
10765 +{ echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h usability" >&5
10766 +echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h usability... $ECHO_C" >&6; }
10767  cat >conftest.$ac_ext <<_ACEOF
10768  /* confdefs.h.  */
10769  _ACEOF
10770 @@ -7197,41 +7389,37 @@ $ac_includes_default
10771  #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
10772  _ACEOF
10773  rm -f conftest.$ac_objext
10774 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10775 -  (eval $ac_compile) 2>conftest.er1
10776 +if { (ac_try="$ac_compile"
10777 +case "(($ac_try" in
10778 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779 +  *) ac_try_echo=$ac_try;;
10780 +esac
10781 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10782 +  (eval "$ac_compile") 2>conftest.er1
10783    ac_status=$?
10784    grep -v '^ *+' conftest.er1 >conftest.err
10785    rm -f conftest.er1
10786    cat conftest.err >&5
10787    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 -  (exit $ac_status); } &&
10789 -        { ac_try='test -z "$ac_c_werror_flag"
10790 -                        || test ! -s conftest.err'
10791 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 -  (eval $ac_try) 2>&5
10793 -  ac_status=$?
10794 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 -  (exit $ac_status); }; } &&
10796 -        { ac_try='test -s conftest.$ac_objext'
10797 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 -  (eval $ac_try) 2>&5
10799 -  ac_status=$?
10800 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 -  (exit $ac_status); }; }; then
10802 +  (exit $ac_status); } && {
10803 +        test -z "$ac_c_werror_flag" ||
10804 +        test ! -s conftest.err
10805 +       } && test -s conftest.$ac_objext; then
10806    ac_header_compiler=yes
10807  else
10808    echo "$as_me: failed program was:" >&5
10809  sed 's/^/| /' conftest.$ac_ext >&5
10810  
10811 -ac_header_compiler=no
10812 +       ac_header_compiler=no
10813  fi
10814 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10815 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10816 -echo "${ECHO_T}$ac_header_compiler" >&6
10817 +
10818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10820 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10821  
10822  # Is the header present?
10823 -echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence" >&5
10824 -echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h presence... $ECHO_C" >&6
10825 +{ echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence" >&5
10826 +echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h presence... $ECHO_C" >&6; }
10827  cat >conftest.$ac_ext <<_ACEOF
10828  /* confdefs.h.  */
10829  _ACEOF
10830 @@ -7240,24 +7428,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10831  /* end confdefs.h.  */
10832  #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
10833  _ACEOF
10834 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10835 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10836 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10837 +case "(($ac_try" in
10838 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10839 +  *) ac_try_echo=$ac_try;;
10840 +esac
10841 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10842 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10843    ac_status=$?
10844    grep -v '^ *+' conftest.er1 >conftest.err
10845    rm -f conftest.er1
10846    cat conftest.err >&5
10847    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 -  (exit $ac_status); } >/dev/null; then
10849 -  if test -s conftest.err; then
10850 -    ac_cpp_err=$ac_c_preproc_warn_flag
10851 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10852 -  else
10853 -    ac_cpp_err=
10854 -  fi
10855 -else
10856 -  ac_cpp_err=yes
10857 -fi
10858 -if test -z "$ac_cpp_err"; then
10859 +  (exit $ac_status); } >/dev/null && {
10860 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10861 +        test ! -s conftest.err
10862 +       }; then
10863    ac_header_preproc=yes
10864  else
10865    echo "$as_me: failed program was:" >&5
10866 @@ -7265,9 +7451,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10867  
10868    ac_header_preproc=no
10869  fi
10870 +
10871  rm -f conftest.err conftest.$ac_ext
10872 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10873 -echo "${ECHO_T}$ac_header_preproc" >&6
10874 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10875 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10876  
10877  # So?  What about this header?
10878  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10879 @@ -7291,25 +7478,18 @@ echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h:     section \"
10880  echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the preprocessor's result" >&2;}
10881      { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&5
10882  echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&2;}
10883 -    (
10884 -      cat <<\_ASBOX
10885 -## ------------------------------------------ ##
10886 -## Report this to the AC_PACKAGE_NAME lists.  ##
10887 -## ------------------------------------------ ##
10888 -_ASBOX
10889 -    ) |
10890 -      sed "s/^/$as_me: WARNING:     /" >&2
10891 +
10892      ;;
10893  esac
10894 -echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
10895 -echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6
10896 +{ echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
10897 +echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6; }
10898  if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
10899    echo $ECHO_N "(cached) $ECHO_C" >&6
10900  else
10901    ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h=$ac_header_preproc
10902  fi
10903 -echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
10904 -echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6
10905 +{ echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
10906 +echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6; }
10907  
10908  fi
10909  if test $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h = yes; then
10910 @@ -7325,25 +7505,25 @@ fi
10911  
10912  
10913  
10914 -# Check whether --with-howl or --without-howl was given.
10915 +# Check whether --with-howl was given.
10916  if test "${with_howl+set}" = set; then
10917 -  withval="$with_howl"
10918 -   OLDCFLAGS=$CFLAGS; CFLAGS="-I$withval/include/howl/ $CFLAGS";
10919 +  withval=$with_howl;  OLDCFLAGS=$CFLAGS; CFLAGS="-I$withval/include/howl/ $CFLAGS";
10920       OLDLDFLAGS=$LDFLAGS; LDFLAGS="-L$withval/lib/ $LDFLAGS";
10921       OLDCPPFLAGS=$CPPFLAGS; CPPFLAGS="-I$withval/include/howl/ $CPPFLAGS";
10922       as_ac_Header=`echo "ac_cv_header_$withval/include/howl/howl.h" | $as_tr_sh`
10923 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10924 -  echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
10925 -echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6
10926 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10927 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10928 +  { echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
10929 +echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6; }
10930 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10931    echo $ECHO_N "(cached) $ECHO_C" >&6
10932  fi
10933 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10934 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10935 +ac_res=`eval echo '${'$as_ac_Header'}'`
10936 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
10937 +echo "${ECHO_T}$ac_res" >&6; }
10938  else
10939    # Is the header compilable?
10940 -echo "$as_me:$LINENO: checking $withval/include/howl/howl.h usability" >&5
10941 -echo $ECHO_N "checking $withval/include/howl/howl.h usability... $ECHO_C" >&6
10942 +{ echo "$as_me:$LINENO: checking $withval/include/howl/howl.h usability" >&5
10943 +echo $ECHO_N "checking $withval/include/howl/howl.h usability... $ECHO_C" >&6; }
10944  cat >conftest.$ac_ext <<_ACEOF
10945  /* confdefs.h.  */
10946  _ACEOF
10947 @@ -7354,41 +7534,37 @@ $ac_includes_default
10948  #include <$withval/include/howl/howl.h>
10949  _ACEOF
10950  rm -f conftest.$ac_objext
10951 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10952 -  (eval $ac_compile) 2>conftest.er1
10953 +if { (ac_try="$ac_compile"
10954 +case "(($ac_try" in
10955 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956 +  *) ac_try_echo=$ac_try;;
10957 +esac
10958 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10959 +  (eval "$ac_compile") 2>conftest.er1
10960    ac_status=$?
10961    grep -v '^ *+' conftest.er1 >conftest.err
10962    rm -f conftest.er1
10963    cat conftest.err >&5
10964    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 -  (exit $ac_status); } &&
10966 -        { ac_try='test -z "$ac_c_werror_flag"
10967 -                        || test ! -s conftest.err'
10968 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 -  (eval $ac_try) 2>&5
10970 -  ac_status=$?
10971 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 -  (exit $ac_status); }; } &&
10973 -        { ac_try='test -s conftest.$ac_objext'
10974 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 -  (eval $ac_try) 2>&5
10976 -  ac_status=$?
10977 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 -  (exit $ac_status); }; }; then
10979 +  (exit $ac_status); } && {
10980 +        test -z "$ac_c_werror_flag" ||
10981 +        test ! -s conftest.err
10982 +       } && test -s conftest.$ac_objext; then
10983    ac_header_compiler=yes
10984  else
10985    echo "$as_me: failed program was:" >&5
10986  sed 's/^/| /' conftest.$ac_ext >&5
10987  
10988 -ac_header_compiler=no
10989 +       ac_header_compiler=no
10990  fi
10991 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10992 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10993 -echo "${ECHO_T}$ac_header_compiler" >&6
10994 +
10995 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10996 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10997 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10998  
10999  # Is the header present?
11000 -echo "$as_me:$LINENO: checking $withval/include/howl/howl.h presence" >&5
11001 -echo $ECHO_N "checking $withval/include/howl/howl.h presence... $ECHO_C" >&6
11002 +{ echo "$as_me:$LINENO: checking $withval/include/howl/howl.h presence" >&5
11003 +echo $ECHO_N "checking $withval/include/howl/howl.h presence... $ECHO_C" >&6; }
11004  cat >conftest.$ac_ext <<_ACEOF
11005  /* confdefs.h.  */
11006  _ACEOF
11007 @@ -7397,24 +7573,22 @@ cat >>conftest.$ac_ext <<_ACEOF
11008  /* end confdefs.h.  */
11009  #include <$withval/include/howl/howl.h>
11010  _ACEOF
11011 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11012 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11013 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11014 +case "(($ac_try" in
11015 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11016 +  *) ac_try_echo=$ac_try;;
11017 +esac
11018 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11019 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11020    ac_status=$?
11021    grep -v '^ *+' conftest.er1 >conftest.err
11022    rm -f conftest.er1
11023    cat conftest.err >&5
11024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 -  (exit $ac_status); } >/dev/null; then
11026 -  if test -s conftest.err; then
11027 -    ac_cpp_err=$ac_c_preproc_warn_flag
11028 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11029 -  else
11030 -    ac_cpp_err=
11031 -  fi
11032 -else
11033 -  ac_cpp_err=yes
11034 -fi
11035 -if test -z "$ac_cpp_err"; then
11036 +  (exit $ac_status); } >/dev/null && {
11037 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11038 +        test ! -s conftest.err
11039 +       }; then
11040    ac_header_preproc=yes
11041  else
11042    echo "$as_me: failed program was:" >&5
11043 @@ -7422,9 +7596,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
11044  
11045    ac_header_preproc=no
11046  fi
11047 +
11048  rm -f conftest.err conftest.$ac_ext
11049 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11050 -echo "${ECHO_T}$ac_header_preproc" >&6
11051 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11052 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11053  
11054  # So?  What about this header?
11055  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11056 @@ -7448,25 +7623,19 @@ echo "$as_me: WARNING: $withval/include/howl/howl.h:     section \"Present But C
11057  echo "$as_me: WARNING: $withval/include/howl/howl.h: proceeding with the preprocessor's result" >&2;}
11058      { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&5
11059  echo "$as_me: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&2;}
11060 -    (
11061 -      cat <<\_ASBOX
11062 -## ------------------------------------------ ##
11063 -## Report this to the AC_PACKAGE_NAME lists.  ##
11064 -## ------------------------------------------ ##
11065 -_ASBOX
11066 -    ) |
11067 -      sed "s/^/$as_me: WARNING:     /" >&2
11068 +
11069      ;;
11070  esac
11071 -echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
11072 -echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6
11073 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
11074 +{ echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
11075 +echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6; }
11076 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11077    echo $ECHO_N "(cached) $ECHO_C" >&6
11078  else
11079    eval "$as_ac_Header=\$ac_header_preproc"
11080  fi
11081 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11082 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11083 +ac_res=`eval echo '${'$as_ac_Header'}'`
11084 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
11085 +echo "${ECHO_T}$ac_res" >&6; }
11086  
11087  fi
11088  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11089 @@ -7482,8 +7651,8 @@ else
11090  fi
11091  
11092  
11093 -     echo "$as_me:$LINENO: checking for sw_discovery_publish in -lhowl" >&5
11094 -echo $ECHO_N "checking for sw_discovery_publish in -lhowl... $ECHO_C" >&6
11095 +     { echo "$as_me:$LINENO: checking for sw_discovery_publish in -lhowl" >&5
11096 +echo $ECHO_N "checking for sw_discovery_publish in -lhowl... $ECHO_C" >&6; }
11097  if test "${ac_cv_lib_howl_sw_discovery_publish+set}" = set; then
11098    echo $ECHO_N "(cached) $ECHO_C" >&6
11099  else
11100 @@ -7496,63 +7665,60 @@ cat confdefs.h >>conftest.$ac_ext
11101  cat >>conftest.$ac_ext <<_ACEOF
11102  /* end confdefs.h.  */
11103  
11104 -/* Override any gcc2 internal prototype to avoid an error.  */
11105 +/* Override any GCC internal prototype to avoid an error.
11106 +   Use char because int might match the return type of a GCC
11107 +   builtin and then its argument prototype would still apply.  */
11108  #ifdef __cplusplus
11109  extern "C"
11110  #endif
11111 -/* We use char because int might match the return type of a gcc2
11112 -   builtin and then its argument prototype would still apply.  */
11113  char sw_discovery_publish ();
11114  int
11115  main ()
11116  {
11117 -sw_discovery_publish ();
11118 +return sw_discovery_publish ();
11119    ;
11120    return 0;
11121  }
11122  _ACEOF
11123  rm -f conftest.$ac_objext conftest$ac_exeext
11124 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11125 -  (eval $ac_link) 2>conftest.er1
11126 +if { (ac_try="$ac_link"
11127 +case "(($ac_try" in
11128 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11129 +  *) ac_try_echo=$ac_try;;
11130 +esac
11131 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 +  (eval "$ac_link") 2>conftest.er1
11133    ac_status=$?
11134    grep -v '^ *+' conftest.er1 >conftest.err
11135    rm -f conftest.er1
11136    cat conftest.err >&5
11137    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 -  (exit $ac_status); } &&
11139 -        { ac_try='test -z "$ac_c_werror_flag"
11140 -                        || test ! -s conftest.err'
11141 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 -  (eval $ac_try) 2>&5
11143 -  ac_status=$?
11144 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 -  (exit $ac_status); }; } &&
11146 -        { ac_try='test -s conftest$ac_exeext'
11147 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 -  (eval $ac_try) 2>&5
11149 -  ac_status=$?
11150 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 -  (exit $ac_status); }; }; then
11152 +  (exit $ac_status); } && {
11153 +        test -z "$ac_c_werror_flag" ||
11154 +        test ! -s conftest.err
11155 +       } && test -s conftest$ac_exeext &&
11156 +       $as_test_x conftest$ac_exeext; then
11157    ac_cv_lib_howl_sw_discovery_publish=yes
11158  else
11159    echo "$as_me: failed program was:" >&5
11160  sed 's/^/| /' conftest.$ac_ext >&5
11161  
11162 -ac_cv_lib_howl_sw_discovery_publish=no
11163 +       ac_cv_lib_howl_sw_discovery_publish=no
11164  fi
11165 -rm -f conftest.err conftest.$ac_objext \
11166 +
11167 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168        conftest$ac_exeext conftest.$ac_ext
11169  LIBS=$ac_check_lib_save_LIBS
11170  fi
11171 -echo "$as_me:$LINENO: result: $ac_cv_lib_howl_sw_discovery_publish" >&5
11172 -echo "${ECHO_T}$ac_cv_lib_howl_sw_discovery_publish" >&6
11173 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_howl_sw_discovery_publish" >&5
11174 +echo "${ECHO_T}$ac_cv_lib_howl_sw_discovery_publish" >&6; }
11175  if test $ac_cv_lib_howl_sw_discovery_publish = yes; then
11176    LIBS="-lhowl $LIBS"
11177  else
11178  
11179          OLDLIBS=$LIBS; LIBS="-lpthread $LIBS";
11180 -        echo "$as_me:$LINENO: checking for main in -lhowl" >&5
11181 -echo $ECHO_N "checking for main in -lhowl... $ECHO_C" >&6
11182 +        { echo "$as_me:$LINENO: checking for main in -lhowl" >&5
11183 +echo $ECHO_N "checking for main in -lhowl... $ECHO_C" >&6; }
11184  if test "${ac_cv_lib_howl_main+set}" = set; then
11185    echo $ECHO_N "(cached) $ECHO_C" >&6
11186  else
11187 @@ -7569,46 +7735,43 @@ cat >>conftest.$ac_ext <<_ACEOF
11188  int
11189  main ()
11190  {
11191 -main ();
11192 +return main ();
11193    ;
11194    return 0;
11195  }
11196  _ACEOF
11197  rm -f conftest.$ac_objext conftest$ac_exeext
11198 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11199 -  (eval $ac_link) 2>conftest.er1
11200 +if { (ac_try="$ac_link"
11201 +case "(($ac_try" in
11202 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11203 +  *) ac_try_echo=$ac_try;;
11204 +esac
11205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11206 +  (eval "$ac_link") 2>conftest.er1
11207    ac_status=$?
11208    grep -v '^ *+' conftest.er1 >conftest.err
11209    rm -f conftest.er1
11210    cat conftest.err >&5
11211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 -  (exit $ac_status); } &&
11213 -        { ac_try='test -z "$ac_c_werror_flag"
11214 -                        || test ! -s conftest.err'
11215 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 -  (eval $ac_try) 2>&5
11217 -  ac_status=$?
11218 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 -  (exit $ac_status); }; } &&
11220 -        { ac_try='test -s conftest$ac_exeext'
11221 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 -  (eval $ac_try) 2>&5
11223 -  ac_status=$?
11224 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 -  (exit $ac_status); }; }; then
11226 +  (exit $ac_status); } && {
11227 +        test -z "$ac_c_werror_flag" ||
11228 +        test ! -s conftest.err
11229 +       } && test -s conftest$ac_exeext &&
11230 +       $as_test_x conftest$ac_exeext; then
11231    ac_cv_lib_howl_main=yes
11232  else
11233    echo "$as_me: failed program was:" >&5
11234  sed 's/^/| /' conftest.$ac_ext >&5
11235  
11236 -ac_cv_lib_howl_main=no
11237 +       ac_cv_lib_howl_main=no
11238  fi
11239 -rm -f conftest.err conftest.$ac_objext \
11240 +
11241 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11242        conftest$ac_exeext conftest.$ac_ext
11243  LIBS=$ac_check_lib_save_LIBS
11244  fi
11245 -echo "$as_me:$LINENO: result: $ac_cv_lib_howl_main" >&5
11246 -echo "${ECHO_T}$ac_cv_lib_howl_main" >&6
11247 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_howl_main" >&5
11248 +echo "${ECHO_T}$ac_cv_lib_howl_main" >&6; }
11249  if test $ac_cv_lib_howl_main = yes; then
11250    LIBS="-lhowl $LIBS"
11251  else
11252 @@ -7619,10 +7782,11 @@ fi
11253  fi
11254  
11255  
11256 -fi;
11257 +fi
11258 +
11259  
11260 -echo "$as_me:$LINENO: checking for uint16_t" >&5
11261 -echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
11262 +{ echo "$as_me:$LINENO: checking for uint16_t" >&5
11263 +echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
11264  if test "${xinetd_cv_type_uint16_t+set}" = set; then
11265    echo $ECHO_N "(cached) $ECHO_C" >&6
11266  else
11267 @@ -7658,8 +7822,8 @@ fi
11268  rm -f conftest*
11269  
11270  fi
11271 -echo "$as_me:$LINENO: result: $xinetd_cv_type_uint16_t" >&5
11272 -echo "${ECHO_T}$xinetd_cv_type_uint16_t" >&6
11273 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_uint16_t" >&5
11274 +echo "${ECHO_T}$xinetd_cv_type_uint16_t" >&6; }
11275  if test $xinetd_cv_type_uint16_t = no; then
11276     cat >>confdefs.h <<\_ACEOF
11277  #define uint16_t unsigned short
11278 @@ -7667,8 +7831,8 @@ _ACEOF
11279  
11280  fi
11281  
11282 -echo "$as_me:$LINENO: checking for uint32_t" >&5
11283 -echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
11284 +{ echo "$as_me:$LINENO: checking for uint32_t" >&5
11285 +echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
11286  if test "${xinetd_cv_type_uint32_t+set}" = set; then
11287    echo $ECHO_N "(cached) $ECHO_C" >&6
11288  else
11289 @@ -7704,8 +7868,8 @@ fi
11290  rm -f conftest*
11291  
11292  fi
11293 -echo "$as_me:$LINENO: result: $xinetd_cv_type_uint32_t" >&5
11294 -echo "${ECHO_T}$xinetd_cv_type_uint32_t" >&6
11295 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_uint32_t" >&5
11296 +echo "${ECHO_T}$xinetd_cv_type_uint32_t" >&6; }
11297  if test $xinetd_cv_type_uint32_t = no; then
11298     cat >>confdefs.h <<\_ACEOF
11299  #define uint32_t unsigned int
11300 @@ -7713,8 +7877,8 @@ _ACEOF
11301  
11302  fi
11303  
11304 -echo "$as_me:$LINENO: checking for uint64_t" >&5
11305 -echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
11306 +{ echo "$as_me:$LINENO: checking for uint64_t" >&5
11307 +echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
11308  if test "${xinetd_cv_type_uint64_t+set}" = set; then
11309    echo $ECHO_N "(cached) $ECHO_C" >&6
11310  else
11311 @@ -7750,8 +7914,8 @@ fi
11312  rm -f conftest*
11313  
11314  fi
11315 -echo "$as_me:$LINENO: result: $xinetd_cv_type_uint64_t" >&5
11316 -echo "${ECHO_T}$xinetd_cv_type_uint64_t" >&6
11317 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_uint64_t" >&5
11318 +echo "${ECHO_T}$xinetd_cv_type_uint64_t" >&6; }
11319  if test $xinetd_cv_type_uint64_t = no; then
11320     cat >>confdefs.h <<\_ACEOF
11321  #define uint64_t unsigned long long
11322 @@ -7759,8 +7923,8 @@ _ACEOF
11323  
11324  fi
11325  
11326 -echo "$as_me:$LINENO: checking for uid_t" >&5
11327 -echo $ECHO_N "checking for uid_t... $ECHO_C" >&6
11328 +{ echo "$as_me:$LINENO: checking for uid_t" >&5
11329 +echo $ECHO_N "checking for uid_t... $ECHO_C" >&6; }
11330  if test "${xinetd_cv_type_uid_t+set}" = set; then
11331    echo $ECHO_N "(cached) $ECHO_C" >&6
11332  else
11333 @@ -7796,8 +7960,8 @@ fi
11334  rm -f conftest*
11335  
11336  fi
11337 -echo "$as_me:$LINENO: result: $xinetd_cv_type_uid_t" >&5
11338 -echo "${ECHO_T}$xinetd_cv_type_uid_t" >&6
11339 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_uid_t" >&5
11340 +echo "${ECHO_T}$xinetd_cv_type_uid_t" >&6; }
11341  if test $xinetd_cv_type_uid_t = no; then
11342     cat >>confdefs.h <<\_ACEOF
11343  #define uid_t unsigned int
11344 @@ -7805,8 +7969,8 @@ _ACEOF
11345  
11346  fi
11347  
11348 -echo "$as_me:$LINENO: checking for gid_t" >&5
11349 -echo $ECHO_N "checking for gid_t... $ECHO_C" >&6
11350 +{ echo "$as_me:$LINENO: checking for gid_t" >&5
11351 +echo $ECHO_N "checking for gid_t... $ECHO_C" >&6; }
11352  if test "${xinetd_cv_type_gid_t+set}" = set; then
11353    echo $ECHO_N "(cached) $ECHO_C" >&6
11354  else
11355 @@ -7842,8 +8006,8 @@ fi
11356  rm -f conftest*
11357  
11358  fi
11359 -echo "$as_me:$LINENO: result: $xinetd_cv_type_gid_t" >&5
11360 -echo "${ECHO_T}$xinetd_cv_type_gid_t" >&6
11361 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_gid_t" >&5
11362 +echo "${ECHO_T}$xinetd_cv_type_gid_t" >&6; }
11363  if test $xinetd_cv_type_gid_t = no; then
11364     cat >>confdefs.h <<\_ACEOF
11365  #define gid_t unsigned int
11366 @@ -7851,8 +8015,8 @@ _ACEOF
11367  
11368  fi
11369  
11370 -echo "$as_me:$LINENO: checking for socklen_t" >&5
11371 -echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
11372 +{ echo "$as_me:$LINENO: checking for socklen_t" >&5
11373 +echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
11374  if test "${xinetd_cv_type_socklen_t+set}" = set; then
11375    echo $ECHO_N "(cached) $ECHO_C" >&6
11376  else
11377 @@ -7888,8 +8052,8 @@ fi
11378  rm -f conftest*
11379  
11380  fi
11381 -echo "$as_me:$LINENO: result: $xinetd_cv_type_socklen_t" >&5
11382 -echo "${ECHO_T}$xinetd_cv_type_socklen_t" >&6
11383 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_socklen_t" >&5
11384 +echo "${ECHO_T}$xinetd_cv_type_socklen_t" >&6; }
11385  if test $xinetd_cv_type_socklen_t = no; then
11386     cat >>confdefs.h <<\_ACEOF
11387  #define socklen_t unsigned int
11388 @@ -7897,8 +8061,8 @@ _ACEOF
11389  
11390  fi
11391  
11392 -echo "$as_me:$LINENO: checking for rlim_t" >&5
11393 -echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
11394 +{ echo "$as_me:$LINENO: checking for rlim_t" >&5
11395 +echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6; }
11396  if test "${xinetd_cv_type_rlim_t+set}" = set; then
11397    echo $ECHO_N "(cached) $ECHO_C" >&6
11398  else
11399 @@ -7934,8 +8098,8 @@ fi
11400  rm -f conftest*
11401  
11402  fi
11403 -echo "$as_me:$LINENO: result: $xinetd_cv_type_rlim_t" >&5
11404 -echo "${ECHO_T}$xinetd_cv_type_rlim_t" >&6
11405 +{ echo "$as_me:$LINENO: result: $xinetd_cv_type_rlim_t" >&5
11406 +echo "${ECHO_T}$xinetd_cv_type_rlim_t" >&6; }
11407  if test $xinetd_cv_type_rlim_t = no; then
11408     cat >>confdefs.h <<\_ACEOF
11409  #define rlim_t long long
11410 @@ -7944,8 +8108,8 @@ _ACEOF
11411  fi
11412  
11413  
11414 -echo "$as_me:$LINENO: checking for struct addrinfo" >&5
11415 -echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
11416 +{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5
11417 +echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
11418  if test "${ac_cv_have_struct_addrinfo+set}" = set; then
11419    echo $ECHO_N "(cached) $ECHO_C" >&6
11420  else
11421 @@ -7972,40 +8136,36 @@ main ()
11422  }
11423  _ACEOF
11424  rm -f conftest.$ac_objext
11425 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11426 -  (eval $ac_compile) 2>conftest.er1
11427 +if { (ac_try="$ac_compile"
11428 +case "(($ac_try" in
11429 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11430 +  *) ac_try_echo=$ac_try;;
11431 +esac
11432 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 +  (eval "$ac_compile") 2>conftest.er1
11434    ac_status=$?
11435    grep -v '^ *+' conftest.er1 >conftest.err
11436    rm -f conftest.er1
11437    cat conftest.err >&5
11438    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 -  (exit $ac_status); } &&
11440 -        { ac_try='test -z "$ac_c_werror_flag"
11441 -                        || test ! -s conftest.err'
11442 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 -  (eval $ac_try) 2>&5
11444 -  ac_status=$?
11445 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 -  (exit $ac_status); }; } &&
11447 -        { ac_try='test -s conftest.$ac_objext'
11448 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 -  (eval $ac_try) 2>&5
11450 -  ac_status=$?
11451 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 -  (exit $ac_status); }; }; then
11453 +  (exit $ac_status); } && {
11454 +        test -z "$ac_c_werror_flag" ||
11455 +        test ! -s conftest.err
11456 +       } && test -s conftest.$ac_objext; then
11457     ac_cv_have_struct_addrinfo="yes"
11458  else
11459    echo "$as_me: failed program was:" >&5
11460  sed 's/^/| /' conftest.$ac_ext >&5
11461  
11462 - ac_cv_have_struct_addrinfo="no"
11463 +        ac_cv_have_struct_addrinfo="no"
11464  
11465  fi
11466 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11467 +
11468 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469  
11470  fi
11471 -echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
11472 -echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
11473 +{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
11474 +echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; }
11475  if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
11476          cat >>confdefs.h <<\_ACEOF
11477  #define HAVE_STRUCT_ADDRINFO 1
11478 @@ -8013,8 +8173,8 @@ _ACEOF
11479  
11480  fi
11481  
11482 -echo "$as_me:$LINENO: checking for struct in6_addr" >&5
11483 -echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
11484 +{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5
11485 +echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
11486  if test "${ac_cv_have_struct_in6_addr+set}" = set; then
11487    echo $ECHO_N "(cached) $ECHO_C" >&6
11488  else
11489 @@ -8038,40 +8198,36 @@ main ()
11490  }
11491  _ACEOF
11492  rm -f conftest.$ac_objext
11493 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11494 -  (eval $ac_compile) 2>conftest.er1
11495 +if { (ac_try="$ac_compile"
11496 +case "(($ac_try" in
11497 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11498 +  *) ac_try_echo=$ac_try;;
11499 +esac
11500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11501 +  (eval "$ac_compile") 2>conftest.er1
11502    ac_status=$?
11503    grep -v '^ *+' conftest.er1 >conftest.err
11504    rm -f conftest.er1
11505    cat conftest.err >&5
11506    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 -  (exit $ac_status); } &&
11508 -        { ac_try='test -z "$ac_c_werror_flag"
11509 -                        || test ! -s conftest.err'
11510 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 -  (eval $ac_try) 2>&5
11512 -  ac_status=$?
11513 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 -  (exit $ac_status); }; } &&
11515 -        { ac_try='test -s conftest.$ac_objext'
11516 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11517 -  (eval $ac_try) 2>&5
11518 -  ac_status=$?
11519 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11520 -  (exit $ac_status); }; }; then
11521 +  (exit $ac_status); } && {
11522 +        test -z "$ac_c_werror_flag" ||
11523 +        test ! -s conftest.err
11524 +       } && test -s conftest.$ac_objext; then
11525     ac_cv_have_struct_in6_addr="yes"
11526  else
11527    echo "$as_me: failed program was:" >&5
11528  sed 's/^/| /' conftest.$ac_ext >&5
11529  
11530 - ac_cv_have_struct_in6_addr="no"
11531 +        ac_cv_have_struct_in6_addr="no"
11532  
11533  fi
11534 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11535 +
11536 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11537  
11538  fi
11539 -echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
11540 -echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
11541 +{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
11542 +echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; }
11543  if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
11544          cat >>confdefs.h <<\_ACEOF
11545  #define HAVE_STRUCT_IN6_ADDR 1
11546 @@ -8079,8 +8235,8 @@ _ACEOF
11547  
11548  fi
11549  
11550 -echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
11551 -echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
11552 +{ echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
11553 +echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
11554  if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
11555    echo $ECHO_N "(cached) $ECHO_C" >&6
11556  else
11557 @@ -8104,40 +8260,36 @@ main ()
11558  }
11559  _ACEOF
11560  rm -f conftest.$ac_objext
11561 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 -  (eval $ac_compile) 2>conftest.er1
11563 +if { (ac_try="$ac_compile"
11564 +case "(($ac_try" in
11565 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11566 +  *) ac_try_echo=$ac_try;;
11567 +esac
11568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11569 +  (eval "$ac_compile") 2>conftest.er1
11570    ac_status=$?
11571    grep -v '^ *+' conftest.er1 >conftest.err
11572    rm -f conftest.er1
11573    cat conftest.err >&5
11574    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 -  (exit $ac_status); } &&
11576 -        { ac_try='test -z "$ac_c_werror_flag"
11577 -                        || test ! -s conftest.err'
11578 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 -  (eval $ac_try) 2>&5
11580 -  ac_status=$?
11581 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 -  (exit $ac_status); }; } &&
11583 -        { ac_try='test -s conftest.$ac_objext'
11584 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 -  (eval $ac_try) 2>&5
11586 -  ac_status=$?
11587 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 -  (exit $ac_status); }; }; then
11589 +  (exit $ac_status); } && {
11590 +        test -z "$ac_c_werror_flag" ||
11591 +        test ! -s conftest.err
11592 +       } && test -s conftest.$ac_objext; then
11593     ac_cv_have_struct_sockaddr_in6="yes"
11594  else
11595    echo "$as_me: failed program was:" >&5
11596  sed 's/^/| /' conftest.$ac_ext >&5
11597  
11598 - ac_cv_have_struct_sockaddr_in6="no"
11599 +        ac_cv_have_struct_sockaddr_in6="no"
11600  
11601  fi
11602 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11603 +
11604 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605  
11606  fi
11607 -echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
11608 -echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
11609 +{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
11610 +echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; }
11611  if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
11612          cat >>confdefs.h <<\_ACEOF
11613  #define HAVE_STRUCT_SOCKADDR_IN6 1
11614 @@ -8145,8 +8297,8 @@ _ACEOF
11615  
11616  fi
11617  
11618 -echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
11619 -echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
11620 +{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
11621 +echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
11622  if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
11623    echo $ECHO_N "(cached) $ECHO_C" >&6
11624  else
11625 @@ -8170,40 +8322,36 @@ main ()
11626  }
11627  _ACEOF
11628  rm -f conftest.$ac_objext
11629 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 -  (eval $ac_compile) 2>conftest.er1
11631 +if { (ac_try="$ac_compile"
11632 +case "(($ac_try" in
11633 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11634 +  *) ac_try_echo=$ac_try;;
11635 +esac
11636 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11637 +  (eval "$ac_compile") 2>conftest.er1
11638    ac_status=$?
11639    grep -v '^ *+' conftest.er1 >conftest.err
11640    rm -f conftest.er1
11641    cat conftest.err >&5
11642    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 -  (exit $ac_status); } &&
11644 -        { ac_try='test -z "$ac_c_werror_flag"
11645 -                        || test ! -s conftest.err'
11646 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 -  (eval $ac_try) 2>&5
11648 -  ac_status=$?
11649 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 -  (exit $ac_status); }; } &&
11651 -        { ac_try='test -s conftest.$ac_objext'
11652 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 -  (eval $ac_try) 2>&5
11654 -  ac_status=$?
11655 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 -  (exit $ac_status); }; }; then
11657 +  (exit $ac_status); } && {
11658 +        test -z "$ac_c_werror_flag" ||
11659 +        test ! -s conftest.err
11660 +       } && test -s conftest.$ac_objext; then
11661     ac_cv_have_struct_sockaddr_storage="yes"
11662  else
11663    echo "$as_me: failed program was:" >&5
11664  sed 's/^/| /' conftest.$ac_ext >&5
11665  
11666 - ac_cv_have_struct_sockaddr_storage="no"
11667 +        ac_cv_have_struct_sockaddr_storage="no"
11668  
11669  fi
11670 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11671 +
11672 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11673  
11674  fi
11675 -echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
11676 -echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
11677 +{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
11678 +echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; }
11679  if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
11680          cat >>confdefs.h <<\_ACEOF
11681  #define HAVE_STRUCT_SOCKADDR_STORAGE 1
11682 @@ -8224,23 +8372,22 @@ _ACEOF
11683  _ACEOF
11684  
11685  
11686 -       echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
11687 -echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
11688 +       { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
11689 +echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
11690  
11691 -# Check whether --with-loadavg or --without-loadavg was given.
11692 +# Check whether --with-loadavg was given.
11693  if test "${with_loadavg+set}" = set; then
11694 -  withval="$with_loadavg"
11695 -   case "$withval" in
11696 +  withval=$with_loadavg;  case "$withval" in
11697                 no)
11698 -                       echo "$as_me:$LINENO: result: no" >&5
11699 -echo "${ECHO_T}no" >&6
11700 +                       { echo "$as_me:$LINENO: result: no" >&5
11701 +echo "${ECHO_T}no" >&6; }
11702                         ;;
11703                 yes)
11704 -                       echo "$as_me:$LINENO: result: yes" >&5
11705 -echo "${ECHO_T}yes" >&6
11706 +                       { echo "$as_me:$LINENO: result: yes" >&5
11707 +echo "${ECHO_T}yes" >&6; }
11708  
11709 -echo "$as_me:$LINENO: checking for main in -lkstat" >&5
11710 -echo $ECHO_N "checking for main in -lkstat... $ECHO_C" >&6
11711 +{ echo "$as_me:$LINENO: checking for main in -lkstat" >&5
11712 +echo $ECHO_N "checking for main in -lkstat... $ECHO_C" >&6; }
11713  if test "${ac_cv_lib_kstat_main+set}" = set; then
11714    echo $ECHO_N "(cached) $ECHO_C" >&6
11715  else
11716 @@ -8257,46 +8404,43 @@ cat >>conftest.$ac_ext <<_ACEOF
11717  int
11718  main ()
11719  {
11720 -main ();
11721 +return main ();
11722    ;
11723    return 0;
11724  }
11725  _ACEOF
11726  rm -f conftest.$ac_objext conftest$ac_exeext
11727 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11728 -  (eval $ac_link) 2>conftest.er1
11729 +if { (ac_try="$ac_link"
11730 +case "(($ac_try" in
11731 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11732 +  *) ac_try_echo=$ac_try;;
11733 +esac
11734 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11735 +  (eval "$ac_link") 2>conftest.er1
11736    ac_status=$?
11737    grep -v '^ *+' conftest.er1 >conftest.err
11738    rm -f conftest.er1
11739    cat conftest.err >&5
11740    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 -  (exit $ac_status); } &&
11742 -        { ac_try='test -z "$ac_c_werror_flag"
11743 -                        || test ! -s conftest.err'
11744 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 -  (eval $ac_try) 2>&5
11746 -  ac_status=$?
11747 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 -  (exit $ac_status); }; } &&
11749 -        { ac_try='test -s conftest$ac_exeext'
11750 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 -  (eval $ac_try) 2>&5
11752 -  ac_status=$?
11753 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 -  (exit $ac_status); }; }; then
11755 +  (exit $ac_status); } && {
11756 +        test -z "$ac_c_werror_flag" ||
11757 +        test ! -s conftest.err
11758 +       } && test -s conftest$ac_exeext &&
11759 +       $as_test_x conftest$ac_exeext; then
11760    ac_cv_lib_kstat_main=yes
11761  else
11762    echo "$as_me: failed program was:" >&5
11763  sed 's/^/| /' conftest.$ac_ext >&5
11764  
11765 -ac_cv_lib_kstat_main=no
11766 +       ac_cv_lib_kstat_main=no
11767  fi
11768 -rm -f conftest.err conftest.$ac_objext \
11769 +
11770 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771        conftest$ac_exeext conftest.$ac_ext
11772  LIBS=$ac_check_lib_save_LIBS
11773  fi
11774 -echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_main" >&5
11775 -echo "${ECHO_T}$ac_cv_lib_kstat_main" >&6
11776 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_main" >&5
11777 +echo "${ECHO_T}$ac_cv_lib_kstat_main" >&6; }
11778  if test $ac_cv_lib_kstat_main = yes; then
11779    cat >>confdefs.h <<_ACEOF
11780  #define HAVE_LIBKSTAT 1
11781 @@ -8307,17 +8451,17 @@ _ACEOF
11782  fi
11783  
11784                         if test "${ac_cv_header_kstat_h+set}" = set; then
11785 -  echo "$as_me:$LINENO: checking for kstat.h" >&5
11786 -echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6
11787 +  { echo "$as_me:$LINENO: checking for kstat.h" >&5
11788 +echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6; }
11789  if test "${ac_cv_header_kstat_h+set}" = set; then
11790    echo $ECHO_N "(cached) $ECHO_C" >&6
11791  fi
11792 -echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
11793 -echo "${ECHO_T}$ac_cv_header_kstat_h" >&6
11794 +{ echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
11795 +echo "${ECHO_T}$ac_cv_header_kstat_h" >&6; }
11796  else
11797    # Is the header compilable?
11798 -echo "$as_me:$LINENO: checking kstat.h usability" >&5
11799 -echo $ECHO_N "checking kstat.h usability... $ECHO_C" >&6
11800 +{ echo "$as_me:$LINENO: checking kstat.h usability" >&5
11801 +echo $ECHO_N "checking kstat.h usability... $ECHO_C" >&6; }
11802  cat >conftest.$ac_ext <<_ACEOF
11803  /* confdefs.h.  */
11804  _ACEOF
11805 @@ -8328,41 +8472,37 @@ $ac_includes_default
11806  #include <kstat.h>
11807  _ACEOF
11808  rm -f conftest.$ac_objext
11809 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11810 -  (eval $ac_compile) 2>conftest.er1
11811 +if { (ac_try="$ac_compile"
11812 +case "(($ac_try" in
11813 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11814 +  *) ac_try_echo=$ac_try;;
11815 +esac
11816 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11817 +  (eval "$ac_compile") 2>conftest.er1
11818    ac_status=$?
11819    grep -v '^ *+' conftest.er1 >conftest.err
11820    rm -f conftest.er1
11821    cat conftest.err >&5
11822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 -  (exit $ac_status); } &&
11824 -        { ac_try='test -z "$ac_c_werror_flag"
11825 -                        || test ! -s conftest.err'
11826 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 -  (eval $ac_try) 2>&5
11828 -  ac_status=$?
11829 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 -  (exit $ac_status); }; } &&
11831 -        { ac_try='test -s conftest.$ac_objext'
11832 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11833 -  (eval $ac_try) 2>&5
11834 -  ac_status=$?
11835 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 -  (exit $ac_status); }; }; then
11837 +  (exit $ac_status); } && {
11838 +        test -z "$ac_c_werror_flag" ||
11839 +        test ! -s conftest.err
11840 +       } && test -s conftest.$ac_objext; then
11841    ac_header_compiler=yes
11842  else
11843    echo "$as_me: failed program was:" >&5
11844  sed 's/^/| /' conftest.$ac_ext >&5
11845  
11846 -ac_header_compiler=no
11847 +       ac_header_compiler=no
11848  fi
11849 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11850 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11851 -echo "${ECHO_T}$ac_header_compiler" >&6
11852 +
11853 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11854 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11855 +echo "${ECHO_T}$ac_header_compiler" >&6; }
11856  
11857  # Is the header present?
11858 -echo "$as_me:$LINENO: checking kstat.h presence" >&5
11859 -echo $ECHO_N "checking kstat.h presence... $ECHO_C" >&6
11860 +{ echo "$as_me:$LINENO: checking kstat.h presence" >&5
11861 +echo $ECHO_N "checking kstat.h presence... $ECHO_C" >&6; }
11862  cat >conftest.$ac_ext <<_ACEOF
11863  /* confdefs.h.  */
11864  _ACEOF
11865 @@ -8371,24 +8511,22 @@ cat >>conftest.$ac_ext <<_ACEOF
11866  /* end confdefs.h.  */
11867  #include <kstat.h>
11868  _ACEOF
11869 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11870 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11871 +if { (ac_try="$ac_cpp conftest.$ac_ext"
11872 +case "(($ac_try" in
11873 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 +  *) ac_try_echo=$ac_try;;
11875 +esac
11876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11878    ac_status=$?
11879    grep -v '^ *+' conftest.er1 >conftest.err
11880    rm -f conftest.er1
11881    cat conftest.err >&5
11882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 -  (exit $ac_status); } >/dev/null; then
11884 -  if test -s conftest.err; then
11885 -    ac_cpp_err=$ac_c_preproc_warn_flag
11886 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11887 -  else
11888 -    ac_cpp_err=
11889 -  fi
11890 -else
11891 -  ac_cpp_err=yes
11892 -fi
11893 -if test -z "$ac_cpp_err"; then
11894 +  (exit $ac_status); } >/dev/null && {
11895 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11896 +        test ! -s conftest.err
11897 +       }; then
11898    ac_header_preproc=yes
11899  else
11900    echo "$as_me: failed program was:" >&5
11901 @@ -8396,9 +8534,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
11902  
11903    ac_header_preproc=no
11904  fi
11905 +
11906  rm -f conftest.err conftest.$ac_ext
11907 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11908 -echo "${ECHO_T}$ac_header_preproc" >&6
11909 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11910 +echo "${ECHO_T}$ac_header_preproc" >&6; }
11911  
11912  # So?  What about this header?
11913  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11914 @@ -8422,25 +8561,18 @@ echo "$as_me: WARNING: kstat.h:     section \"Present But Cannot Be Compiled\""
11915  echo "$as_me: WARNING: kstat.h: proceeding with the preprocessor's result" >&2;}
11916      { echo "$as_me:$LINENO: WARNING: kstat.h: in the future, the compiler will take precedence" >&5
11917  echo "$as_me: WARNING: kstat.h: in the future, the compiler will take precedence" >&2;}
11918 -    (
11919 -      cat <<\_ASBOX
11920 -## ------------------------------------------ ##
11921 -## Report this to the AC_PACKAGE_NAME lists.  ##
11922 -## ------------------------------------------ ##
11923 -_ASBOX
11924 -    ) |
11925 -      sed "s/^/$as_me: WARNING:     /" >&2
11926 +
11927      ;;
11928  esac
11929 -echo "$as_me:$LINENO: checking for kstat.h" >&5
11930 -echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6
11931 +{ echo "$as_me:$LINENO: checking for kstat.h" >&5
11932 +echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6; }
11933  if test "${ac_cv_header_kstat_h+set}" = set; then
11934    echo $ECHO_N "(cached) $ECHO_C" >&6
11935  else
11936    ac_cv_header_kstat_h=$ac_header_preproc
11937  fi
11938 -echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
11939 -echo "${ECHO_T}$ac_cv_header_kstat_h" >&6
11940 +{ echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
11941 +echo "${ECHO_T}$ac_cv_header_kstat_h" >&6; }
11942  
11943  fi
11944  if test $ac_cv_header_kstat_h = yes; then
11945 @@ -8457,8 +8589,8 @@ _ACEOF
11946  
11947                         ;;
11948                 *)
11949 -                       echo "$as_me:$LINENO: result: yes" >&5
11950 -echo "${ECHO_T}yes" >&6
11951 +                       { echo "$as_me:$LINENO: result: yes" >&5
11952 +echo "${ECHO_T}yes" >&6; }
11953                         cat >>confdefs.h <<\_ACEOF
11954  #define HAVE_LOADAVG 1
11955  _ACEOF
11956 @@ -8466,34 +8598,34 @@ _ACEOF
11957                         ;;
11958         esac
11959  else
11960 -  echo "$as_me:$LINENO: result: no" >&5
11961 -echo "${ECHO_T}no" >&6
11962 -fi;
11963 +  { echo "$as_me:$LINENO: result: no" >&5
11964 +echo "${ECHO_T}no" >&6; }
11965 +fi
11966 +
11967         ;;
11968  osf*)
11969         LDFLAGS=-oldstyle_liblookup
11970 -       echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
11971 -echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
11972 +       { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
11973 +echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
11974  
11975 -# Check whether --with-loadavg or --without-loadavg was given.
11976 +# Check whether --with-loadavg was given.
11977  if test "${with_loadavg+set}" = set; then
11978 -  withval="$with_loadavg"
11979 -   case "$withval" in
11980 +  withval=$with_loadavg;  case "$withval" in
11981                 no)
11982 -                       echo "$as_me:$LINENO: result: no" >&5
11983 -echo "${ECHO_T}no" >&6
11984 +                       { echo "$as_me:$LINENO: result: no" >&5
11985 +echo "${ECHO_T}no" >&6; }
11986                         ;;
11987                 yes)
11988 -                       echo "$as_me:$LINENO: result: yes" >&5
11989 -echo "${ECHO_T}yes" >&6
11990 +                       { echo "$as_me:$LINENO: result: yes" >&5
11991 +echo "${ECHO_T}yes" >&6; }
11992                         cat >>confdefs.h <<\_ACEOF
11993  #define HAVE_LOADAVG 1
11994  _ACEOF
11995  
11996                         ;;
11997                 *)
11998 -                       echo "$as_me:$LINENO: result: yes" >&5
11999 -echo "${ECHO_T}yes" >&6
12000 +                       { echo "$as_me:$LINENO: result: yes" >&5
12001 +echo "${ECHO_T}yes" >&6; }
12002                         cat >>confdefs.h <<\_ACEOF
12003  #define HAVE_LOADAVG 1
12004  _ACEOF
12005 @@ -8501,14 +8633,15 @@ _ACEOF
12006                         ;;
12007         esac
12008  else
12009 -  echo "$as_me:$LINENO: result: no" >&5
12010 -echo "${ECHO_T}no" >&6
12011 -fi;
12012 +  { echo "$as_me:$LINENO: result: no" >&5
12013 +echo "${ECHO_T}no" >&6; }
12014 +fi
12015 +
12016         ;;
12017  linux*|freebsd*)
12018  
12019 -echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
12020 -echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
12021 +{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
12022 +echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
12023  if test "${ac_cv_lib_crypt_main+set}" = set; then
12024    echo $ECHO_N "(cached) $ECHO_C" >&6
12025  else
12026 @@ -8525,46 +8658,43 @@ cat >>conftest.$ac_ext <<_ACEOF
12027  int
12028  main ()
12029  {
12030 -main ();
12031 +return main ();
12032    ;
12033    return 0;
12034  }
12035  _ACEOF
12036  rm -f conftest.$ac_objext conftest$ac_exeext
12037 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 -  (eval $ac_link) 2>conftest.er1
12039 +if { (ac_try="$ac_link"
12040 +case "(($ac_try" in
12041 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12042 +  *) ac_try_echo=$ac_try;;
12043 +esac
12044 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12045 +  (eval "$ac_link") 2>conftest.er1
12046    ac_status=$?
12047    grep -v '^ *+' conftest.er1 >conftest.err
12048    rm -f conftest.er1
12049    cat conftest.err >&5
12050    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12051 -  (exit $ac_status); } &&
12052 -        { ac_try='test -z "$ac_c_werror_flag"
12053 -                        || test ! -s conftest.err'
12054 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12055 -  (eval $ac_try) 2>&5
12056 -  ac_status=$?
12057 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 -  (exit $ac_status); }; } &&
12059 -        { ac_try='test -s conftest$ac_exeext'
12060 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 -  (eval $ac_try) 2>&5
12062 -  ac_status=$?
12063 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 -  (exit $ac_status); }; }; then
12065 +  (exit $ac_status); } && {
12066 +        test -z "$ac_c_werror_flag" ||
12067 +        test ! -s conftest.err
12068 +       } && test -s conftest$ac_exeext &&
12069 +       $as_test_x conftest$ac_exeext; then
12070    ac_cv_lib_crypt_main=yes
12071  else
12072    echo "$as_me: failed program was:" >&5
12073  sed 's/^/| /' conftest.$ac_ext >&5
12074  
12075 -ac_cv_lib_crypt_main=no
12076 +       ac_cv_lib_crypt_main=no
12077  fi
12078 -rm -f conftest.err conftest.$ac_objext \
12079 +
12080 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12081        conftest$ac_exeext conftest.$ac_ext
12082  LIBS=$ac_check_lib_save_LIBS
12083  fi
12084 -echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
12085 -echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
12086 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
12087 +echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
12088  if test $ac_cv_lib_crypt_main = yes; then
12089    cat >>confdefs.h <<_ACEOF
12090  #define HAVE_LIBCRYPT 1
12091 @@ -8575,28 +8705,27 @@ _ACEOF
12092  fi
12093  
12094  
12095 -       echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12096 -echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
12097 +       { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12098 +echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
12099  
12100 -# Check whether --with-loadavg or --without-loadavg was given.
12101 +# Check whether --with-loadavg was given.
12102  if test "${with_loadavg+set}" = set; then
12103 -  withval="$with_loadavg"
12104 -   case "$withval" in
12105 +  withval=$with_loadavg;  case "$withval" in
12106                 no)
12107 -                       echo "$as_me:$LINENO: result: no" >&5
12108 -echo "${ECHO_T}no" >&6
12109 +                       { echo "$as_me:$LINENO: result: no" >&5
12110 +echo "${ECHO_T}no" >&6; }
12111                         ;;
12112                 yes)
12113 -                       echo "$as_me:$LINENO: result: yes" >&5
12114 -echo "${ECHO_T}yes" >&6
12115 +                       { echo "$as_me:$LINENO: result: yes" >&5
12116 +echo "${ECHO_T}yes" >&6; }
12117                         cat >>confdefs.h <<\_ACEOF
12118  #define HAVE_LOADAVG 1
12119  _ACEOF
12120  
12121                         ;;
12122                 *)
12123 -                       echo "$as_me:$LINENO: result: yes" >&5
12124 -echo "${ECHO_T}yes" >&6
12125 +                       { echo "$as_me:$LINENO: result: yes" >&5
12126 +echo "${ECHO_T}yes" >&6; }
12127                         cat >>confdefs.h <<\_ACEOF
12128  #define HAVE_LOADAVG 1
12129  _ACEOF
12130 @@ -8604,9 +8733,10 @@ _ACEOF
12131                         ;;
12132         esac
12133  else
12134 -  echo "$as_me:$LINENO: result: no" >&5
12135 -echo "${ECHO_T}no" >&6
12136 -fi;
12137 +  { echo "$as_me:$LINENO: result: no" >&5
12138 +echo "${ECHO_T}no" >&6; }
12139 +fi
12140 +
12141         ;;
12142  darwin* | "Mac OS"*)
12143         ac_cv_prog_RANLIB="ranlib"
12144 @@ -8616,28 +8746,27 @@ darwin* | "Mac OS"*)
12145  _ACEOF
12146  
12147         CFLAGS="$CFLAGS -no-cpp-precomp"
12148 -       echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12149 -echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
12150 +       { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12151 +echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
12152  
12153 -# Check whether --with-loadavg or --without-loadavg was given.
12154 +# Check whether --with-loadavg was given.
12155  if test "${with_loadavg+set}" = set; then
12156 -  withval="$with_loadavg"
12157 -   case "$withval" in
12158 +  withval=$with_loadavg;  case "$withval" in
12159                 no)
12160 -                       echo "$as_me:$LINENO: result: no" >&5
12161 -echo "${ECHO_T}no" >&6
12162 +                       { echo "$as_me:$LINENO: result: no" >&5
12163 +echo "${ECHO_T}no" >&6; }
12164                         ;;
12165                 yes)
12166 -                       echo "$as_me:$LINENO: result: yes" >&5
12167 -echo "${ECHO_T}yes" >&6
12168 +                       { echo "$as_me:$LINENO: result: yes" >&5
12169 +echo "${ECHO_T}yes" >&6; }
12170                         cat >>confdefs.h <<\_ACEOF
12171  #define HAVE_LOADAVG 1
12172  _ACEOF
12173  
12174                         ;;
12175                 *)
12176 -                       echo "$as_me:$LINENO: result: yes" >&5
12177 -echo "${ECHO_T}yes" >&6
12178 +                       { echo "$as_me:$LINENO: result: yes" >&5
12179 +echo "${ECHO_T}yes" >&6; }
12180                         cat >>confdefs.h <<\_ACEOF
12181  #define HAVE_LOADAVG 1
12182  _ACEOF
12183 @@ -8645,25 +8774,25 @@ _ACEOF
12184                         ;;
12185         esac
12186  else
12187 -  echo "$as_me:$LINENO: result: no" >&5
12188 -echo "${ECHO_T}no" >&6
12189 -fi;
12190 +  { echo "$as_me:$LINENO: result: no" >&5
12191 +echo "${ECHO_T}no" >&6; }
12192 +fi
12193 +
12194         ;;
12195  *bsdi*)
12196 -       echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12197 -echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
12198 +       { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
12199 +echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
12200  
12201 -# Check whether --with-loadavg or --without-loadavg was given.
12202 +# Check whether --with-loadavg was given.
12203  if test "${with_loadavg+set}" = set; then
12204 -  withval="$with_loadavg"
12205 -   case "$withval" in
12206 +  withval=$with_loadavg;  case "$withval" in
12207                 no)
12208 -                       echo "$as_me:$LINENO: result: no" >&5
12209 -echo "${ECHO_T}no" >&6
12210 +                       { echo "$as_me:$LINENO: result: no" >&5
12211 +echo "${ECHO_T}no" >&6; }
12212                         ;;
12213                 yes)
12214 -                       echo "$as_me:$LINENO: result: yes" >&5
12215 -echo "${ECHO_T}yes" >&6
12216 +                       { echo "$as_me:$LINENO: result: yes" >&5
12217 +echo "${ECHO_T}yes" >&6; }
12218                         cat >>confdefs.h <<\_ACEOF
12219  #define bsdi 1
12220  _ACEOF
12221 @@ -8674,8 +8803,8 @@ _ACEOF
12222  
12223                         ;;
12224                 *)
12225 -                       echo "$as_me:$LINENO: result: yes" >&5
12226 -echo "${ECHO_T}yes" >&6
12227 +                       { echo "$as_me:$LINENO: result: yes" >&5
12228 +echo "${ECHO_T}yes" >&6; }
12229                         cat >>confdefs.h <<\_ACEOF
12230  #define bsdi 1
12231  _ACEOF
12232 @@ -8687,15 +8816,16 @@ _ACEOF
12233                         ;;
12234         esac
12235  else
12236 -  echo "$as_me:$LINENO: result: no" >&5
12237 -echo "${ECHO_T}no" >&6
12238 -fi;
12239 +  { echo "$as_me:$LINENO: result: no" >&5
12240 +echo "${ECHO_T}no" >&6; }
12241 +fi
12242 +
12243         ;;
12244  esac
12245  
12246  
12247 -echo "$as_me:$LINENO: checking for crypt in -lc" >&5
12248 -echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
12249 +{ echo "$as_me:$LINENO: checking for crypt in -lc" >&5
12250 +echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
12251  if test "${ac_cv_lib_c_crypt+set}" = set; then
12252    echo $ECHO_N "(cached) $ECHO_C" >&6
12253  else
12254 @@ -8708,62 +8838,59 @@ cat confdefs.h >>conftest.$ac_ext
12255  cat >>conftest.$ac_ext <<_ACEOF
12256  /* end confdefs.h.  */
12257  
12258 -/* Override any gcc2 internal prototype to avoid an error.  */
12259 +/* Override any GCC internal prototype to avoid an error.
12260 +   Use char because int might match the return type of a GCC
12261 +   builtin and then its argument prototype would still apply.  */
12262  #ifdef __cplusplus
12263  extern "C"
12264  #endif
12265 -/* We use char because int might match the return type of a gcc2
12266 -   builtin and then its argument prototype would still apply.  */
12267  char crypt ();
12268  int
12269  main ()
12270  {
12271 -crypt ();
12272 +return crypt ();
12273    ;
12274    return 0;
12275  }
12276  _ACEOF
12277  rm -f conftest.$ac_objext conftest$ac_exeext
12278 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279 -  (eval $ac_link) 2>conftest.er1
12280 +if { (ac_try="$ac_link"
12281 +case "(($ac_try" in
12282 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12283 +  *) ac_try_echo=$ac_try;;
12284 +esac
12285 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12286 +  (eval "$ac_link") 2>conftest.er1
12287    ac_status=$?
12288    grep -v '^ *+' conftest.er1 >conftest.err
12289    rm -f conftest.er1
12290    cat conftest.err >&5
12291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 -  (exit $ac_status); } &&
12293 -        { ac_try='test -z "$ac_c_werror_flag"
12294 -                        || test ! -s conftest.err'
12295 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 -  (eval $ac_try) 2>&5
12297 -  ac_status=$?
12298 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 -  (exit $ac_status); }; } &&
12300 -        { ac_try='test -s conftest$ac_exeext'
12301 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 -  (eval $ac_try) 2>&5
12303 -  ac_status=$?
12304 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 -  (exit $ac_status); }; }; then
12306 +  (exit $ac_status); } && {
12307 +        test -z "$ac_c_werror_flag" ||
12308 +        test ! -s conftest.err
12309 +       } && test -s conftest$ac_exeext &&
12310 +       $as_test_x conftest$ac_exeext; then
12311    ac_cv_lib_c_crypt=yes
12312  else
12313    echo "$as_me: failed program was:" >&5
12314  sed 's/^/| /' conftest.$ac_ext >&5
12315  
12316 -ac_cv_lib_c_crypt=no
12317 +       ac_cv_lib_c_crypt=no
12318  fi
12319 -rm -f conftest.err conftest.$ac_objext \
12320 +
12321 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12322        conftest$ac_exeext conftest.$ac_ext
12323  LIBS=$ac_check_lib_save_LIBS
12324  fi
12325 -echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
12326 -echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
12327 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
12328 +echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
12329  if test $ac_cv_lib_c_crypt = yes; then
12330    :
12331  else
12332  
12333 - echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12334 -echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
12335 + { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
12336 +echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
12337  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
12338    echo $ECHO_N "(cached) $ECHO_C" >&6
12339  else
12340 @@ -8776,56 +8903,53 @@ cat confdefs.h >>conftest.$ac_ext
12341  cat >>conftest.$ac_ext <<_ACEOF
12342  /* end confdefs.h.  */
12343  
12344 -/* Override any gcc2 internal prototype to avoid an error.  */
12345 +/* Override any GCC internal prototype to avoid an error.
12346 +   Use char because int might match the return type of a GCC
12347 +   builtin and then its argument prototype would still apply.  */
12348  #ifdef __cplusplus
12349  extern "C"
12350  #endif
12351 -/* We use char because int might match the return type of a gcc2
12352 -   builtin and then its argument prototype would still apply.  */
12353  char crypt ();
12354  int
12355  main ()
12356  {
12357 -crypt ();
12358 +return crypt ();
12359    ;
12360    return 0;
12361  }
12362  _ACEOF
12363  rm -f conftest.$ac_objext conftest$ac_exeext
12364 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12365 -  (eval $ac_link) 2>conftest.er1
12366 +if { (ac_try="$ac_link"
12367 +case "(($ac_try" in
12368 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12369 +  *) ac_try_echo=$ac_try;;
12370 +esac
12371 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12372 +  (eval "$ac_link") 2>conftest.er1
12373    ac_status=$?
12374    grep -v '^ *+' conftest.er1 >conftest.err
12375    rm -f conftest.er1
12376    cat conftest.err >&5
12377    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 -  (exit $ac_status); } &&
12379 -        { ac_try='test -z "$ac_c_werror_flag"
12380 -                        || test ! -s conftest.err'
12381 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382 -  (eval $ac_try) 2>&5
12383 -  ac_status=$?
12384 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385 -  (exit $ac_status); }; } &&
12386 -        { ac_try='test -s conftest$ac_exeext'
12387 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 -  (eval $ac_try) 2>&5
12389 -  ac_status=$?
12390 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 -  (exit $ac_status); }; }; then
12392 +  (exit $ac_status); } && {
12393 +        test -z "$ac_c_werror_flag" ||
12394 +        test ! -s conftest.err
12395 +       } && test -s conftest$ac_exeext &&
12396 +       $as_test_x conftest$ac_exeext; then
12397    ac_cv_lib_crypt_crypt=yes
12398  else
12399    echo "$as_me: failed program was:" >&5
12400  sed 's/^/| /' conftest.$ac_ext >&5
12401  
12402 -ac_cv_lib_crypt_crypt=no
12403 +       ac_cv_lib_crypt_crypt=no
12404  fi
12405 -rm -f conftest.err conftest.$ac_objext \
12406 +
12407 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12408        conftest$ac_exeext conftest.$ac_ext
12409  LIBS=$ac_check_lib_save_LIBS
12410  fi
12411 -echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
12412 -echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
12413 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
12414 +echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
12415  if test $ac_cv_lib_crypt_crypt = yes; then
12416  
12417    LIBS="-lcrypt $LIBS"
12418 @@ -8838,8 +8962,8 @@ fi
12419  fi
12420  
12421  
12422 -echo "$as_me:$LINENO: checking for log10 in -lm" >&5
12423 -echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
12424 +{ echo "$as_me:$LINENO: checking for log10 in -lm" >&5
12425 +echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6; }
12426  if test "${ac_cv_lib_m_log10+set}" = set; then
12427    echo $ECHO_N "(cached) $ECHO_C" >&6
12428  else
12429 @@ -8852,90 +8976,86 @@ cat confdefs.h >>conftest.$ac_ext
12430  cat >>conftest.$ac_ext <<_ACEOF
12431  /* end confdefs.h.  */
12432  
12433 -/* Override any gcc2 internal prototype to avoid an error.  */
12434 +/* Override any GCC internal prototype to avoid an error.
12435 +   Use char because int might match the return type of a GCC
12436 +   builtin and then its argument prototype would still apply.  */
12437  #ifdef __cplusplus
12438  extern "C"
12439  #endif
12440 -/* We use char because int might match the return type of a gcc2
12441 -   builtin and then its argument prototype would still apply.  */
12442  char log10 ();
12443  int
12444  main ()
12445  {
12446 -log10 ();
12447 +return log10 ();
12448    ;
12449    return 0;
12450  }
12451  _ACEOF
12452  rm -f conftest.$ac_objext conftest$ac_exeext
12453 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12454 -  (eval $ac_link) 2>conftest.er1
12455 +if { (ac_try="$ac_link"
12456 +case "(($ac_try" in
12457 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12458 +  *) ac_try_echo=$ac_try;;
12459 +esac
12460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12461 +  (eval "$ac_link") 2>conftest.er1
12462    ac_status=$?
12463    grep -v '^ *+' conftest.er1 >conftest.err
12464    rm -f conftest.er1
12465    cat conftest.err >&5
12466    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 -  (exit $ac_status); } &&
12468 -        { ac_try='test -z "$ac_c_werror_flag"
12469 -                        || test ! -s conftest.err'
12470 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 -  (eval $ac_try) 2>&5
12472 -  ac_status=$?
12473 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 -  (exit $ac_status); }; } &&
12475 -        { ac_try='test -s conftest$ac_exeext'
12476 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12477 -  (eval $ac_try) 2>&5
12478 -  ac_status=$?
12479 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 -  (exit $ac_status); }; }; then
12481 +  (exit $ac_status); } && {
12482 +        test -z "$ac_c_werror_flag" ||
12483 +        test ! -s conftest.err
12484 +       } && test -s conftest$ac_exeext &&
12485 +       $as_test_x conftest$ac_exeext; then
12486    ac_cv_lib_m_log10=yes
12487  else
12488    echo "$as_me: failed program was:" >&5
12489  sed 's/^/| /' conftest.$ac_ext >&5
12490  
12491 -ac_cv_lib_m_log10=no
12492 +       ac_cv_lib_m_log10=no
12493  fi
12494 -rm -f conftest.err conftest.$ac_objext \
12495 +
12496 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12497        conftest$ac_exeext conftest.$ac_ext
12498  LIBS=$ac_check_lib_save_LIBS
12499  fi
12500 -echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
12501 -echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
12502 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
12503 +echo "${ECHO_T}$ac_cv_lib_m_log10" >&6; }
12504  if test $ac_cv_lib_m_log10 = yes; then
12505     LIBS="-lm $LIBS"
12506  fi
12507  
12508  
12509 -echo "$as_me:$LINENO: checking whether to default to ipv6" >&5
12510 -echo $ECHO_N "checking whether to default to ipv6... $ECHO_C" >&6
12511 +{ echo "$as_me:$LINENO: checking whether to default to ipv6" >&5
12512 +echo $ECHO_N "checking whether to default to ipv6... $ECHO_C" >&6; }
12513  
12514 -# Check whether --with-inet6 or --without-inet6 was given.
12515 +# Check whether --with-inet6 was given.
12516  if test "${with_inet6+set}" = set; then
12517 -  withval="$with_inet6"
12518 -  echo "$as_me:$LINENO: result: ignored" >&5
12519 -echo "${ECHO_T}ignored" >&6
12520 +  withval=$with_inet6; { echo "$as_me:$LINENO: result: ignored" >&5
12521 +echo "${ECHO_T}ignored" >&6; }
12522  else
12523 -  echo "$as_me:$LINENO: result: ignored" >&5
12524 -echo "${ECHO_T}ignored" >&6
12525 -fi;
12526 +  { echo "$as_me:$LINENO: result: ignored" >&5
12527 +echo "${ECHO_T}ignored" >&6; }
12528 +fi
12529 +
12530  
12531 -echo "$as_me:$LINENO: checking whether to use libwrap" >&5
12532 -echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6
12533 +{ echo "$as_me:$LINENO: checking whether to use libwrap" >&5
12534 +echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6; }
12535  
12536 -# Check whether --with-libwrap or --without-libwrap was given.
12537 +# Check whether --with-libwrap was given.
12538  if test "${with_libwrap+set}" = set; then
12539 -  withval="$with_libwrap"
12540 -   case "$withval" in
12541 +  withval=$with_libwrap;  case "$withval" in
12542         no)
12543 -               echo "$as_me:$LINENO: result: no" >&5
12544 -echo "${ECHO_T}no" >&6
12545 +               { echo "$as_me:$LINENO: result: no" >&5
12546 +echo "${ECHO_T}no" >&6; }
12547                 ;;
12548         yes)
12549 -               echo "$as_me:$LINENO: result: yes" >&5
12550 -echo "${ECHO_T}yes" >&6
12551 -               echo "$as_me:$LINENO: checking for request_init in -lwrap" >&5
12552 -echo $ECHO_N "checking for request_init in -lwrap... $ECHO_C" >&6
12553 +               { echo "$as_me:$LINENO: result: yes" >&5
12554 +echo "${ECHO_T}yes" >&6; }
12555 +               { echo "$as_me:$LINENO: checking for request_init in -lwrap" >&5
12556 +echo $ECHO_N "checking for request_init in -lwrap... $ECHO_C" >&6; }
12557  if test "${ac_cv_lib_wrap_request_init+set}" = set; then
12558    echo $ECHO_N "(cached) $ECHO_C" >&6
12559  else
12560 @@ -8948,56 +9068,53 @@ cat confdefs.h >>conftest.$ac_ext
12561  cat >>conftest.$ac_ext <<_ACEOF
12562  /* end confdefs.h.  */
12563  
12564 -/* Override any gcc2 internal prototype to avoid an error.  */
12565 +/* Override any GCC internal prototype to avoid an error.
12566 +   Use char because int might match the return type of a GCC
12567 +   builtin and then its argument prototype would still apply.  */
12568  #ifdef __cplusplus
12569  extern "C"
12570  #endif
12571 -/* We use char because int might match the return type of a gcc2
12572 -   builtin and then its argument prototype would still apply.  */
12573  char request_init ();
12574  int
12575  main ()
12576  {
12577 -request_init ();
12578 +return request_init ();
12579    ;
12580    return 0;
12581  }
12582  _ACEOF
12583  rm -f conftest.$ac_objext conftest$ac_exeext
12584 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12585 -  (eval $ac_link) 2>conftest.er1
12586 +if { (ac_try="$ac_link"
12587 +case "(($ac_try" in
12588 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12589 +  *) ac_try_echo=$ac_try;;
12590 +esac
12591 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12592 +  (eval "$ac_link") 2>conftest.er1
12593    ac_status=$?
12594    grep -v '^ *+' conftest.er1 >conftest.err
12595    rm -f conftest.er1
12596    cat conftest.err >&5
12597    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 -  (exit $ac_status); } &&
12599 -        { ac_try='test -z "$ac_c_werror_flag"
12600 -                        || test ! -s conftest.err'
12601 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 -  (eval $ac_try) 2>&5
12603 -  ac_status=$?
12604 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 -  (exit $ac_status); }; } &&
12606 -        { ac_try='test -s conftest$ac_exeext'
12607 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 -  (eval $ac_try) 2>&5
12609 -  ac_status=$?
12610 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 -  (exit $ac_status); }; }; then
12612 +  (exit $ac_status); } && {
12613 +        test -z "$ac_c_werror_flag" ||
12614 +        test ! -s conftest.err
12615 +       } && test -s conftest$ac_exeext &&
12616 +       $as_test_x conftest$ac_exeext; then
12617    ac_cv_lib_wrap_request_init=yes
12618  else
12619    echo "$as_me: failed program was:" >&5
12620  sed 's/^/| /' conftest.$ac_ext >&5
12621  
12622 -ac_cv_lib_wrap_request_init=no
12623 +       ac_cv_lib_wrap_request_init=no
12624  fi
12625 -rm -f conftest.err conftest.$ac_objext \
12626 +
12627 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12628        conftest$ac_exeext conftest.$ac_ext
12629  LIBS=$ac_check_lib_save_LIBS
12630  fi
12631 -echo "$as_me:$LINENO: result: $ac_cv_lib_wrap_request_init" >&5
12632 -echo "${ECHO_T}$ac_cv_lib_wrap_request_init" >&6
12633 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_wrap_request_init" >&5
12634 +echo "${ECHO_T}$ac_cv_lib_wrap_request_init" >&6; }
12635  if test $ac_cv_lib_wrap_request_init = yes; then
12636  
12637                         cat >>confdefs.h <<\_ACEOF
12638 @@ -9011,8 +9128,8 @@ _ACEOF
12639  
12640  fi
12641  
12642 -               echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
12643 -echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
12644 +               { echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
12645 +echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6; }
12646  if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
12647    echo $ECHO_N "(cached) $ECHO_C" >&6
12648  else
12649 @@ -9025,56 +9142,53 @@ cat confdefs.h >>conftest.$ac_ext
12650  cat >>conftest.$ac_ext <<_ACEOF
12651  /* end confdefs.h.  */
12652  
12653 -/* Override any gcc2 internal prototype to avoid an error.  */
12654 +/* Override any GCC internal prototype to avoid an error.
12655 +   Use char because int might match the return type of a GCC
12656 +   builtin and then its argument prototype would still apply.  */
12657  #ifdef __cplusplus
12658  extern "C"
12659  #endif
12660 -/* We use char because int might match the return type of a gcc2
12661 -   builtin and then its argument prototype would still apply.  */
12662  char yp_get_default_domain ();
12663  int
12664  main ()
12665  {
12666 -yp_get_default_domain ();
12667 +return yp_get_default_domain ();
12668    ;
12669    return 0;
12670  }
12671  _ACEOF
12672  rm -f conftest.$ac_objext conftest$ac_exeext
12673 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674 -  (eval $ac_link) 2>conftest.er1
12675 +if { (ac_try="$ac_link"
12676 +case "(($ac_try" in
12677 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12678 +  *) ac_try_echo=$ac_try;;
12679 +esac
12680 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12681 +  (eval "$ac_link") 2>conftest.er1
12682    ac_status=$?
12683    grep -v '^ *+' conftest.er1 >conftest.err
12684    rm -f conftest.er1
12685    cat conftest.err >&5
12686    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 -  (exit $ac_status); } &&
12688 -        { ac_try='test -z "$ac_c_werror_flag"
12689 -                        || test ! -s conftest.err'
12690 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 -  (eval $ac_try) 2>&5
12692 -  ac_status=$?
12693 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 -  (exit $ac_status); }; } &&
12695 -        { ac_try='test -s conftest$ac_exeext'
12696 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 -  (eval $ac_try) 2>&5
12698 -  ac_status=$?
12699 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 -  (exit $ac_status); }; }; then
12701 +  (exit $ac_status); } && {
12702 +        test -z "$ac_c_werror_flag" ||
12703 +        test ! -s conftest.err
12704 +       } && test -s conftest$ac_exeext &&
12705 +       $as_test_x conftest$ac_exeext; then
12706    ac_cv_lib_nsl_yp_get_default_domain=yes
12707  else
12708    echo "$as_me: failed program was:" >&5
12709  sed 's/^/| /' conftest.$ac_ext >&5
12710  
12711 -ac_cv_lib_nsl_yp_get_default_domain=no
12712 +       ac_cv_lib_nsl_yp_get_default_domain=no
12713  fi
12714 -rm -f conftest.err conftest.$ac_objext \
12715 +
12716 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12717        conftest$ac_exeext conftest.$ac_ext
12718  LIBS=$ac_check_lib_save_LIBS
12719  fi
12720 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
12721 -echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
12722 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
12723 +echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
12724  if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
12725  
12726                         WRAPLIBS="$WRAPLIBS -lnsl"
12727 @@ -9083,8 +9197,8 @@ fi
12728                 LIBS="$WRAPLIBS $LIBS"
12729                 ;;
12730         *)
12731 -               echo "$as_me:$LINENO: result: yes" >&5
12732 -echo "${ECHO_T}yes" >&6
12733 +               { echo "$as_me:$LINENO: result: yes" >&5
12734 +echo "${ECHO_T}yes" >&6; }
12735                 cat >>confdefs.h <<\_ACEOF
12736  #define LIBWRAP 1
12737  _ACEOF
12738 @@ -9094,8 +9208,8 @@ _ACEOF
12739                 else
12740                         WRAPLIBS="$withval"
12741                 fi
12742 -               echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
12743 -echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
12744 +               { echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
12745 +echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6; }
12746  if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
12747    echo $ECHO_N "(cached) $ECHO_C" >&6
12748  else
12749 @@ -9108,56 +9222,53 @@ cat confdefs.h >>conftest.$ac_ext
12750  cat >>conftest.$ac_ext <<_ACEOF
12751  /* end confdefs.h.  */
12752  
12753 -/* Override any gcc2 internal prototype to avoid an error.  */
12754 +/* Override any GCC internal prototype to avoid an error.
12755 +   Use char because int might match the return type of a GCC
12756 +   builtin and then its argument prototype would still apply.  */
12757  #ifdef __cplusplus
12758  extern "C"
12759  #endif
12760 -/* We use char because int might match the return type of a gcc2
12761 -   builtin and then its argument prototype would still apply.  */
12762  char yp_get_default_domain ();
12763  int
12764  main ()
12765  {
12766 -yp_get_default_domain ();
12767 +return yp_get_default_domain ();
12768    ;
12769    return 0;
12770  }
12771  _ACEOF
12772  rm -f conftest.$ac_objext conftest$ac_exeext
12773 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12774 -  (eval $ac_link) 2>conftest.er1
12775 +if { (ac_try="$ac_link"
12776 +case "(($ac_try" in
12777 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12778 +  *) ac_try_echo=$ac_try;;
12779 +esac
12780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12781 +  (eval "$ac_link") 2>conftest.er1
12782    ac_status=$?
12783    grep -v '^ *+' conftest.er1 >conftest.err
12784    rm -f conftest.er1
12785    cat conftest.err >&5
12786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12787 -  (exit $ac_status); } &&
12788 -        { ac_try='test -z "$ac_c_werror_flag"
12789 -                        || test ! -s conftest.err'
12790 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 -  (eval $ac_try) 2>&5
12792 -  ac_status=$?
12793 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 -  (exit $ac_status); }; } &&
12795 -        { ac_try='test -s conftest$ac_exeext'
12796 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 -  (eval $ac_try) 2>&5
12798 -  ac_status=$?
12799 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 -  (exit $ac_status); }; }; then
12801 +  (exit $ac_status); } && {
12802 +        test -z "$ac_c_werror_flag" ||
12803 +        test ! -s conftest.err
12804 +       } && test -s conftest$ac_exeext &&
12805 +       $as_test_x conftest$ac_exeext; then
12806    ac_cv_lib_nsl_yp_get_default_domain=yes
12807  else
12808    echo "$as_me: failed program was:" >&5
12809  sed 's/^/| /' conftest.$ac_ext >&5
12810  
12811 -ac_cv_lib_nsl_yp_get_default_domain=no
12812 +       ac_cv_lib_nsl_yp_get_default_domain=no
12813  fi
12814 -rm -f conftest.err conftest.$ac_objext \
12815 +
12816 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12817        conftest$ac_exeext conftest.$ac_ext
12818  LIBS=$ac_check_lib_save_LIBS
12819  fi
12820 -echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
12821 -echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
12822 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
12823 +echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
12824  if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
12825  
12826                         WRAPLIBS="$WRAPLIBS -lnsl"
12827 @@ -9181,63 +9292,62 @@ main ()
12828  }
12829  _ACEOF
12830  rm -f conftest.$ac_objext conftest$ac_exeext
12831 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12832 -  (eval $ac_link) 2>conftest.er1
12833 +if { (ac_try="$ac_link"
12834 +case "(($ac_try" in
12835 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12836 +  *) ac_try_echo=$ac_try;;
12837 +esac
12838 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12839 +  (eval "$ac_link") 2>conftest.er1
12840    ac_status=$?
12841    grep -v '^ *+' conftest.er1 >conftest.err
12842    rm -f conftest.er1
12843    cat conftest.err >&5
12844    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 -  (exit $ac_status); } &&
12846 -        { ac_try='test -z "$ac_c_werror_flag"
12847 -                        || test ! -s conftest.err'
12848 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 -  (eval $ac_try) 2>&5
12850 -  ac_status=$?
12851 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 -  (exit $ac_status); }; } &&
12853 -        { ac_try='test -s conftest$ac_exeext'
12854 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 -  (eval $ac_try) 2>&5
12856 -  ac_status=$?
12857 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 -  (exit $ac_status); }; }; then
12859 +  (exit $ac_status); } && {
12860 +        test -z "$ac_c_werror_flag" ||
12861 +        test ! -s conftest.err
12862 +       } && test -s conftest$ac_exeext &&
12863 +       $as_test_x conftest$ac_exeext; then
12864    :
12865  else
12866    echo "$as_me: failed program was:" >&5
12867  sed 's/^/| /' conftest.$ac_ext >&5
12868  
12869 - { { echo "$as_me:$LINENO: error: Could not find the $withval library.  You must first install tcp_wrappers." >&5
12870 +        { { echo "$as_me:$LINENO: error: Could not find the $withval library.  You must first install tcp_wrappers." >&5
12871  echo "$as_me: error: Could not find the $withval library.  You must first install tcp_wrappers." >&2;}
12872     { (exit 1); exit 1; }; }
12873  fi
12874 -rm -f conftest.err conftest.$ac_objext \
12875 +
12876 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12877        conftest$ac_exeext conftest.$ac_ext
12878                 ;;
12879         esac
12880  else
12881 -  echo "$as_me:$LINENO: result: no" >&5
12882 -echo "${ECHO_T}no" >&6
12883 +  { echo "$as_me:$LINENO: result: no" >&5
12884 +echo "${ECHO_T}no" >&6; }
12885 +
12886 +fi
12887  
12888 -fi;
12889  
12890  
12891  
12892  for ac_header in stdlib.h unistd.h
12893  do
12894  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12895 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12896 -  echo "$as_me:$LINENO: checking for $ac_header" >&5
12897 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12898 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12899 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12900 +  { echo "$as_me:$LINENO: checking for $ac_header" >&5
12901 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12902 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12903    echo $ECHO_N "(cached) $ECHO_C" >&6
12904  fi
12905 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12906 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12907 +ac_res=`eval echo '${'$as_ac_Header'}'`
12908 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
12909 +echo "${ECHO_T}$ac_res" >&6; }
12910  else
12911    # Is the header compilable?
12912 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
12913 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12914 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12915 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12916  cat >conftest.$ac_ext <<_ACEOF
12917  /* confdefs.h.  */
12918  _ACEOF
12919 @@ -9248,41 +9358,37 @@ $ac_includes_default
12920  #include <$ac_header>
12921  _ACEOF
12922  rm -f conftest.$ac_objext
12923 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12924 -  (eval $ac_compile) 2>conftest.er1
12925 +if { (ac_try="$ac_compile"
12926 +case "(($ac_try" in
12927 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12928 +  *) ac_try_echo=$ac_try;;
12929 +esac
12930 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12931 +  (eval "$ac_compile") 2>conftest.er1
12932    ac_status=$?
12933    grep -v '^ *+' conftest.er1 >conftest.err
12934    rm -f conftest.er1
12935    cat conftest.err >&5
12936    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 -  (exit $ac_status); } &&
12938 -        { ac_try='test -z "$ac_c_werror_flag"
12939 -                        || test ! -s conftest.err'
12940 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 -  (eval $ac_try) 2>&5
12942 -  ac_status=$?
12943 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 -  (exit $ac_status); }; } &&
12945 -        { ac_try='test -s conftest.$ac_objext'
12946 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 -  (eval $ac_try) 2>&5
12948 -  ac_status=$?
12949 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 -  (exit $ac_status); }; }; then
12951 +  (exit $ac_status); } && {
12952 +        test -z "$ac_c_werror_flag" ||
12953 +        test ! -s conftest.err
12954 +       } && test -s conftest.$ac_objext; then
12955    ac_header_compiler=yes
12956  else
12957    echo "$as_me: failed program was:" >&5
12958  sed 's/^/| /' conftest.$ac_ext >&5
12959  
12960 -ac_header_compiler=no
12961 +       ac_header_compiler=no
12962  fi
12963 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12964 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12965 -echo "${ECHO_T}$ac_header_compiler" >&6
12966 +
12967 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12968 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12969 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12970  
12971  # Is the header present?
12972 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
12973 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12974 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12975 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12976  cat >conftest.$ac_ext <<_ACEOF
12977  /* confdefs.h.  */
12978  _ACEOF
12979 @@ -9291,24 +9397,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12980  /* end confdefs.h.  */
12981  #include <$ac_header>
12982  _ACEOF
12983 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12984 -  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12985 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12986 +case "(($ac_try" in
12987 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12988 +  *) ac_try_echo=$ac_try;;
12989 +esac
12990 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12991 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12992    ac_status=$?
12993    grep -v '^ *+' conftest.er1 >conftest.err
12994    rm -f conftest.er1
12995    cat conftest.err >&5
12996    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 -  (exit $ac_status); } >/dev/null; then
12998 -  if test -s conftest.err; then
12999 -    ac_cpp_err=$ac_c_preproc_warn_flag
13000 -    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13001 -  else
13002 -    ac_cpp_err=
13003 -  fi
13004 -else
13005 -  ac_cpp_err=yes
13006 -fi
13007 -if test -z "$ac_cpp_err"; then
13008 +  (exit $ac_status); } >/dev/null && {
13009 +        test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13010 +        test ! -s conftest.err
13011 +       }; then
13012    ac_header_preproc=yes
13013  else
13014    echo "$as_me: failed program was:" >&5
13015 @@ -9316,9 +9420,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
13016  
13017    ac_header_preproc=no
13018  fi
13019 +
13020  rm -f conftest.err conftest.$ac_ext
13021 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13022 -echo "${ECHO_T}$ac_header_preproc" >&6
13023 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13024 +echo "${ECHO_T}$ac_header_preproc" >&6; }
13025  
13026  # So?  What about this header?
13027  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13028 @@ -9342,25 +9447,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
13029  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13030      { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13031  echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13032 -    (
13033 -      cat <<\_ASBOX
13034 -## ------------------------------------------ ##
13035 -## Report this to the AC_PACKAGE_NAME lists.  ##
13036 -## ------------------------------------------ ##
13037 -_ASBOX
13038 -    ) |
13039 -      sed "s/^/$as_me: WARNING:     /" >&2
13040 +
13041      ;;
13042  esac
13043 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13044 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13045 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13046 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13047 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13048 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13049    echo $ECHO_N "(cached) $ECHO_C" >&6
13050  else
13051    eval "$as_ac_Header=\$ac_header_preproc"
13052  fi
13053 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13054 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13055 +ac_res=`eval echo '${'$as_ac_Header'}'`
13056 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13057 +echo "${ECHO_T}$ac_res" >&6; }
13058  
13059  fi
13060  if test `eval echo '${'$as_ac_Header'}'` = yes; then
13061 @@ -9376,9 +9475,9 @@ done
13062  for ac_func in getpagesize
13063  do
13064  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13065 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13066 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13067 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13068 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13069 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13070 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13071    echo $ECHO_N "(cached) $ECHO_C" >&6
13072  else
13073    cat >conftest.$ac_ext <<_ACEOF
13074 @@ -9404,68 +9503,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13075  
13076  #undef $ac_func
13077  
13078 -/* Override any gcc2 internal prototype to avoid an error.  */
13079 +/* Override any GCC internal prototype to avoid an error.
13080 +   Use char because int might match the return type of a GCC
13081 +   builtin and then its argument prototype would still apply.  */
13082  #ifdef __cplusplus
13083  extern "C"
13084 -{
13085  #endif
13086 -/* We use char because int might match the return type of a gcc2
13087 -   builtin and then its argument prototype would still apply.  */
13088  char $ac_func ();
13089  /* The GNU C library defines this for functions which it implements
13090      to always fail with ENOSYS.  Some functions are actually named
13091      something starting with __ and the normal name is an alias.  */
13092 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13093 +#if defined __stub_$ac_func || defined __stub___$ac_func
13094  choke me
13095 -#else
13096 -char (*f) () = $ac_func;
13097 -#endif
13098 -#ifdef __cplusplus
13099 -}
13100  #endif
13101  
13102  int
13103  main ()
13104  {
13105 -return f != $ac_func;
13106 +return $ac_func ();
13107    ;
13108    return 0;
13109  }
13110  _ACEOF
13111  rm -f conftest.$ac_objext conftest$ac_exeext
13112 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113 -  (eval $ac_link) 2>conftest.er1
13114 +if { (ac_try="$ac_link"
13115 +case "(($ac_try" in
13116 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117 +  *) ac_try_echo=$ac_try;;
13118 +esac
13119 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13120 +  (eval "$ac_link") 2>conftest.er1
13121    ac_status=$?
13122    grep -v '^ *+' conftest.er1 >conftest.err
13123    rm -f conftest.er1
13124    cat conftest.err >&5
13125    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 -  (exit $ac_status); } &&
13127 -        { ac_try='test -z "$ac_c_werror_flag"
13128 -                        || test ! -s conftest.err'
13129 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 -  (eval $ac_try) 2>&5
13131 -  ac_status=$?
13132 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 -  (exit $ac_status); }; } &&
13134 -        { ac_try='test -s conftest$ac_exeext'
13135 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 -  (eval $ac_try) 2>&5
13137 -  ac_status=$?
13138 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 -  (exit $ac_status); }; }; then
13140 +  (exit $ac_status); } && {
13141 +        test -z "$ac_c_werror_flag" ||
13142 +        test ! -s conftest.err
13143 +       } && test -s conftest$ac_exeext &&
13144 +       $as_test_x conftest$ac_exeext; then
13145    eval "$as_ac_var=yes"
13146  else
13147    echo "$as_me: failed program was:" >&5
13148  sed 's/^/| /' conftest.$ac_ext >&5
13149  
13150 -eval "$as_ac_var=no"
13151 +       eval "$as_ac_var=no"
13152  fi
13153 -rm -f conftest.err conftest.$ac_objext \
13154 +
13155 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13156        conftest$ac_exeext conftest.$ac_ext
13157  fi
13158 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13159 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13160 +ac_res=`eval echo '${'$as_ac_var'}'`
13161 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13162 +echo "${ECHO_T}$ac_res" >&6; }
13163  if test `eval echo '${'$as_ac_var'}'` = yes; then
13164    cat >>confdefs.h <<_ACEOF
13165  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13166 @@ -9474,8 +9565,8 @@ _ACEOF
13167  fi
13168  done
13169  
13170 -echo "$as_me:$LINENO: checking for working mmap" >&5
13171 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
13172 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
13173 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
13174  if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
13175    echo $ECHO_N "(cached) $ECHO_C" >&6
13176  else
13177 @@ -9517,21 +9608,21 @@ $ac_includes_default
13178  #include <fcntl.h>
13179  #include <sys/mman.h>
13180  
13181 -#if !STDC_HEADERS && !HAVE_STDLIB_H
13182 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13183  char *malloc ();
13184  #endif
13185  
13186  /* This mess was copied from the GNU getpagesize.h.  */
13187 -#if !HAVE_GETPAGESIZE
13188 +#ifndef HAVE_GETPAGESIZE
13189  /* Assume that all systems that can run configure have sys/param.h.  */
13190 -# if !HAVE_SYS_PARAM_H
13191 +# ifndef HAVE_SYS_PARAM_H
13192  #  define HAVE_SYS_PARAM_H 1
13193  # endif
13194  
13195  # ifdef _SC_PAGESIZE
13196  #  define getpagesize() sysconf(_SC_PAGESIZE)
13197  # else /* no _SC_PAGESIZE */
13198 -#  if HAVE_SYS_PARAM_H
13199 +#  ifdef HAVE_SYS_PARAM_H
13200  #   include <sys/param.h>
13201  #   ifdef EXEC_PAGESIZE
13202  #    define getpagesize() EXEC_PAGESIZE
13203 @@ -9570,15 +9661,15 @@ main ()
13204    /* First, make a file with some known garbage in it. */
13205    data = (char *) malloc (pagesize);
13206    if (!data)
13207 -    exit (1);
13208 +    return 1;
13209    for (i = 0; i < pagesize; ++i)
13210      *(data + i) = rand ();
13211    umask (0);
13212    fd = creat ("conftest.mmap", 0600);
13213    if (fd < 0)
13214 -    exit (1);
13215 +    return 1;
13216    if (write (fd, data, pagesize) != pagesize)
13217 -    exit (1);
13218 +    return 1;
13219    close (fd);
13220  
13221    /* Next, try to mmap the file at a fixed address which already has
13222 @@ -9586,17 +9677,17 @@ main ()
13223       we see the same garbage.  */
13224    fd = open ("conftest.mmap", O_RDWR);
13225    if (fd < 0)
13226 -    exit (1);
13227 +    return 1;
13228    data2 = (char *) malloc (2 * pagesize);
13229    if (!data2)
13230 -    exit (1);
13231 -  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
13232 +    return 1;
13233 +  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13234    if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13235                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
13236 -    exit (1);
13237 +    return 1;
13238    for (i = 0; i < pagesize; ++i)
13239      if (*(data + i) != *(data2 + i))
13240 -      exit (1);
13241 +      return 1;
13242  
13243    /* Finally, make sure that changes to the mapped area do not
13244       percolate back to the file as seen by read().  (This is a bug on
13245 @@ -9605,24 +9696,33 @@ main ()
13246      *(data2 + i) = *(data2 + i) + 1;
13247    data3 = (char *) malloc (pagesize);
13248    if (!data3)
13249 -    exit (1);
13250 +    return 1;
13251    if (read (fd, data3, pagesize) != pagesize)
13252 -    exit (1);
13253 +    return 1;
13254    for (i = 0; i < pagesize; ++i)
13255      if (*(data + i) != *(data3 + i))
13256 -      exit (1);
13257 +      return 1;
13258    close (fd);
13259 -  exit (0);
13260 +  return 0;
13261  }
13262  _ACEOF
13263  rm -f conftest$ac_exeext
13264 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13265 -  (eval $ac_link) 2>&5
13266 +if { (ac_try="$ac_link"
13267 +case "(($ac_try" in
13268 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13269 +  *) ac_try_echo=$ac_try;;
13270 +esac
13271 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13272 +  (eval "$ac_link") 2>&5
13273    ac_status=$?
13274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13276 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 -  (eval $ac_try) 2>&5
13278 +  { (case "(($ac_try" in
13279 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13280 +  *) ac_try_echo=$ac_try;;
13281 +esac
13282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13283 +  (eval "$ac_try") 2>&5
13284    ac_status=$?
13285    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286    (exit $ac_status); }; }; then
13287 @@ -9635,11 +9735,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
13288  ( exit $ac_status )
13289  ac_cv_func_mmap_fixed_mapped=no
13290  fi
13291 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13292 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13293  fi
13294 +
13295 +
13296  fi
13297 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
13298 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
13299 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
13300 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13301  if test $ac_cv_func_mmap_fixed_mapped = yes; then
13302  
13303  cat >>confdefs.h <<\_ACEOF
13304 @@ -9654,9 +9756,9 @@ rm -f conftest.mmap
13305  for ac_func in isatty
13306  do
13307  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13308 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13309 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13310 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13311 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13312 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13313 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13314    echo $ECHO_N "(cached) $ECHO_C" >&6
13315  else
13316    cat >conftest.$ac_ext <<_ACEOF
13317 @@ -9682,68 +9784,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13318  
13319  #undef $ac_func
13320  
13321 -/* Override any gcc2 internal prototype to avoid an error.  */
13322 +/* Override any GCC internal prototype to avoid an error.
13323 +   Use char because int might match the return type of a GCC
13324 +   builtin and then its argument prototype would still apply.  */
13325  #ifdef __cplusplus
13326  extern "C"
13327 -{
13328  #endif
13329 -/* We use char because int might match the return type of a gcc2
13330 -   builtin and then its argument prototype would still apply.  */
13331  char $ac_func ();
13332  /* The GNU C library defines this for functions which it implements
13333      to always fail with ENOSYS.  Some functions are actually named
13334      something starting with __ and the normal name is an alias.  */
13335 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13336 +#if defined __stub_$ac_func || defined __stub___$ac_func
13337  choke me
13338 -#else
13339 -char (*f) () = $ac_func;
13340 -#endif
13341 -#ifdef __cplusplus
13342 -}
13343  #endif
13344  
13345  int
13346  main ()
13347  {
13348 -return f != $ac_func;
13349 +return $ac_func ();
13350    ;
13351    return 0;
13352  }
13353  _ACEOF
13354  rm -f conftest.$ac_objext conftest$ac_exeext
13355 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13356 -  (eval $ac_link) 2>conftest.er1
13357 +if { (ac_try="$ac_link"
13358 +case "(($ac_try" in
13359 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13360 +  *) ac_try_echo=$ac_try;;
13361 +esac
13362 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13363 +  (eval "$ac_link") 2>conftest.er1
13364    ac_status=$?
13365    grep -v '^ *+' conftest.er1 >conftest.err
13366    rm -f conftest.er1
13367    cat conftest.err >&5
13368    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 -  (exit $ac_status); } &&
13370 -        { ac_try='test -z "$ac_c_werror_flag"
13371 -                        || test ! -s conftest.err'
13372 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 -  (eval $ac_try) 2>&5
13374 -  ac_status=$?
13375 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 -  (exit $ac_status); }; } &&
13377 -        { ac_try='test -s conftest$ac_exeext'
13378 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 -  (eval $ac_try) 2>&5
13380 -  ac_status=$?
13381 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 -  (exit $ac_status); }; }; then
13383 +  (exit $ac_status); } && {
13384 +        test -z "$ac_c_werror_flag" ||
13385 +        test ! -s conftest.err
13386 +       } && test -s conftest$ac_exeext &&
13387 +       $as_test_x conftest$ac_exeext; then
13388    eval "$as_ac_var=yes"
13389  else
13390    echo "$as_me: failed program was:" >&5
13391  sed 's/^/| /' conftest.$ac_ext >&5
13392  
13393 -eval "$as_ac_var=no"
13394 +       eval "$as_ac_var=no"
13395  fi
13396 -rm -f conftest.err conftest.$ac_objext \
13397 +
13398 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13399        conftest$ac_exeext conftest.$ac_ext
13400  fi
13401 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13402 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13403 +ac_res=`eval echo '${'$as_ac_var'}'`
13404 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13405 +echo "${ECHO_T}$ac_res" >&6; }
13406  if test `eval echo '${'$as_ac_var'}'` = yes; then
13407    cat >>confdefs.h <<_ACEOF
13408  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13409 @@ -9756,9 +9850,9 @@ done
13410  for ac_func in memcpy
13411  do
13412  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13413 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13414 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13415 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13416 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13417 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13418 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13419    echo $ECHO_N "(cached) $ECHO_C" >&6
13420  else
13421    cat >conftest.$ac_ext <<_ACEOF
13422 @@ -9784,68 +9878,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13423  
13424  #undef $ac_func
13425  
13426 -/* Override any gcc2 internal prototype to avoid an error.  */
13427 +/* Override any GCC internal prototype to avoid an error.
13428 +   Use char because int might match the return type of a GCC
13429 +   builtin and then its argument prototype would still apply.  */
13430  #ifdef __cplusplus
13431  extern "C"
13432 -{
13433  #endif
13434 -/* We use char because int might match the return type of a gcc2
13435 -   builtin and then its argument prototype would still apply.  */
13436  char $ac_func ();
13437  /* The GNU C library defines this for functions which it implements
13438      to always fail with ENOSYS.  Some functions are actually named
13439      something starting with __ and the normal name is an alias.  */
13440 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13441 +#if defined __stub_$ac_func || defined __stub___$ac_func
13442  choke me
13443 -#else
13444 -char (*f) () = $ac_func;
13445 -#endif
13446 -#ifdef __cplusplus
13447 -}
13448  #endif
13449  
13450  int
13451  main ()
13452  {
13453 -return f != $ac_func;
13454 +return $ac_func ();
13455    ;
13456    return 0;
13457  }
13458  _ACEOF
13459  rm -f conftest.$ac_objext conftest$ac_exeext
13460 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13461 -  (eval $ac_link) 2>conftest.er1
13462 +if { (ac_try="$ac_link"
13463 +case "(($ac_try" in
13464 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13465 +  *) ac_try_echo=$ac_try;;
13466 +esac
13467 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13468 +  (eval "$ac_link") 2>conftest.er1
13469    ac_status=$?
13470    grep -v '^ *+' conftest.er1 >conftest.err
13471    rm -f conftest.er1
13472    cat conftest.err >&5
13473    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 -  (exit $ac_status); } &&
13475 -        { ac_try='test -z "$ac_c_werror_flag"
13476 -                        || test ! -s conftest.err'
13477 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 -  (eval $ac_try) 2>&5
13479 -  ac_status=$?
13480 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 -  (exit $ac_status); }; } &&
13482 -        { ac_try='test -s conftest$ac_exeext'
13483 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13484 -  (eval $ac_try) 2>&5
13485 -  ac_status=$?
13486 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 -  (exit $ac_status); }; }; then
13488 +  (exit $ac_status); } && {
13489 +        test -z "$ac_c_werror_flag" ||
13490 +        test ! -s conftest.err
13491 +       } && test -s conftest$ac_exeext &&
13492 +       $as_test_x conftest$ac_exeext; then
13493    eval "$as_ac_var=yes"
13494  else
13495    echo "$as_me: failed program was:" >&5
13496  sed 's/^/| /' conftest.$ac_ext >&5
13497  
13498 -eval "$as_ac_var=no"
13499 +       eval "$as_ac_var=no"
13500  fi
13501 -rm -f conftest.err conftest.$ac_objext \
13502 +
13503 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13504        conftest$ac_exeext conftest.$ac_ext
13505  fi
13506 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13507 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13508 +ac_res=`eval echo '${'$as_ac_var'}'`
13509 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13510 +echo "${ECHO_T}$ac_res" >&6; }
13511  if test `eval echo '${'$as_ac_var'}'` = yes; then
13512    cat >>confdefs.h <<_ACEOF
13513  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13514 @@ -9858,9 +9944,9 @@ done
13515  for ac_func in waitpid
13516  do
13517  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13518 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13519 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13520 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13521 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13522 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13523 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13524    echo $ECHO_N "(cached) $ECHO_C" >&6
13525  else
13526    cat >conftest.$ac_ext <<_ACEOF
13527 @@ -9886,68 +9972,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13528  
13529  #undef $ac_func
13530  
13531 -/* Override any gcc2 internal prototype to avoid an error.  */
13532 +/* Override any GCC internal prototype to avoid an error.
13533 +   Use char because int might match the return type of a GCC
13534 +   builtin and then its argument prototype would still apply.  */
13535  #ifdef __cplusplus
13536  extern "C"
13537 -{
13538  #endif
13539 -/* We use char because int might match the return type of a gcc2
13540 -   builtin and then its argument prototype would still apply.  */
13541  char $ac_func ();
13542  /* The GNU C library defines this for functions which it implements
13543      to always fail with ENOSYS.  Some functions are actually named
13544      something starting with __ and the normal name is an alias.  */
13545 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13546 +#if defined __stub_$ac_func || defined __stub___$ac_func
13547  choke me
13548 -#else
13549 -char (*f) () = $ac_func;
13550 -#endif
13551 -#ifdef __cplusplus
13552 -}
13553  #endif
13554  
13555  int
13556  main ()
13557  {
13558 -return f != $ac_func;
13559 +return $ac_func ();
13560    ;
13561    return 0;
13562  }
13563  _ACEOF
13564  rm -f conftest.$ac_objext conftest$ac_exeext
13565 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13566 -  (eval $ac_link) 2>conftest.er1
13567 +if { (ac_try="$ac_link"
13568 +case "(($ac_try" in
13569 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13570 +  *) ac_try_echo=$ac_try;;
13571 +esac
13572 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13573 +  (eval "$ac_link") 2>conftest.er1
13574    ac_status=$?
13575    grep -v '^ *+' conftest.er1 >conftest.err
13576    rm -f conftest.er1
13577    cat conftest.err >&5
13578    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 -  (exit $ac_status); } &&
13580 -        { ac_try='test -z "$ac_c_werror_flag"
13581 -                        || test ! -s conftest.err'
13582 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13583 -  (eval $ac_try) 2>&5
13584 -  ac_status=$?
13585 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 -  (exit $ac_status); }; } &&
13587 -        { ac_try='test -s conftest$ac_exeext'
13588 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13589 -  (eval $ac_try) 2>&5
13590 -  ac_status=$?
13591 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 -  (exit $ac_status); }; }; then
13593 +  (exit $ac_status); } && {
13594 +        test -z "$ac_c_werror_flag" ||
13595 +        test ! -s conftest.err
13596 +       } && test -s conftest$ac_exeext &&
13597 +       $as_test_x conftest$ac_exeext; then
13598    eval "$as_ac_var=yes"
13599  else
13600    echo "$as_me: failed program was:" >&5
13601  sed 's/^/| /' conftest.$ac_ext >&5
13602  
13603 -eval "$as_ac_var=no"
13604 +       eval "$as_ac_var=no"
13605  fi
13606 -rm -f conftest.err conftest.$ac_objext \
13607 +
13608 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13609        conftest$ac_exeext conftest.$ac_ext
13610  fi
13611 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13612 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13613 +ac_res=`eval echo '${'$as_ac_var'}'`
13614 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13615 +echo "${ECHO_T}$ac_res" >&6; }
13616  if test `eval echo '${'$as_ac_var'}'` = yes; then
13617    cat >>confdefs.h <<_ACEOF
13618  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13619 @@ -9960,9 +10038,9 @@ done
13620  for ac_func in sigvec
13621  do
13622  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13623 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13624 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13625 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13626 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13627 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13628 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13629    echo $ECHO_N "(cached) $ECHO_C" >&6
13630  else
13631    cat >conftest.$ac_ext <<_ACEOF
13632 @@ -9988,68 +10066,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13633  
13634  #undef $ac_func
13635  
13636 -/* Override any gcc2 internal prototype to avoid an error.  */
13637 +/* Override any GCC internal prototype to avoid an error.
13638 +   Use char because int might match the return type of a GCC
13639 +   builtin and then its argument prototype would still apply.  */
13640  #ifdef __cplusplus
13641  extern "C"
13642 -{
13643  #endif
13644 -/* We use char because int might match the return type of a gcc2
13645 -   builtin and then its argument prototype would still apply.  */
13646  char $ac_func ();
13647  /* The GNU C library defines this for functions which it implements
13648      to always fail with ENOSYS.  Some functions are actually named
13649      something starting with __ and the normal name is an alias.  */
13650 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13651 +#if defined __stub_$ac_func || defined __stub___$ac_func
13652  choke me
13653 -#else
13654 -char (*f) () = $ac_func;
13655 -#endif
13656 -#ifdef __cplusplus
13657 -}
13658  #endif
13659  
13660  int
13661  main ()
13662  {
13663 -return f != $ac_func;
13664 +return $ac_func ();
13665    ;
13666    return 0;
13667  }
13668  _ACEOF
13669  rm -f conftest.$ac_objext conftest$ac_exeext
13670 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13671 -  (eval $ac_link) 2>conftest.er1
13672 +if { (ac_try="$ac_link"
13673 +case "(($ac_try" in
13674 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 +  *) ac_try_echo=$ac_try;;
13676 +esac
13677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 +  (eval "$ac_link") 2>conftest.er1
13679    ac_status=$?
13680    grep -v '^ *+' conftest.er1 >conftest.err
13681    rm -f conftest.er1
13682    cat conftest.err >&5
13683    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 -  (exit $ac_status); } &&
13685 -        { ac_try='test -z "$ac_c_werror_flag"
13686 -                        || test ! -s conftest.err'
13687 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 -  (eval $ac_try) 2>&5
13689 -  ac_status=$?
13690 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 -  (exit $ac_status); }; } &&
13692 -        { ac_try='test -s conftest$ac_exeext'
13693 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13694 -  (eval $ac_try) 2>&5
13695 -  ac_status=$?
13696 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 -  (exit $ac_status); }; }; then
13698 +  (exit $ac_status); } && {
13699 +        test -z "$ac_c_werror_flag" ||
13700 +        test ! -s conftest.err
13701 +       } && test -s conftest$ac_exeext &&
13702 +       $as_test_x conftest$ac_exeext; then
13703    eval "$as_ac_var=yes"
13704  else
13705    echo "$as_me: failed program was:" >&5
13706  sed 's/^/| /' conftest.$ac_ext >&5
13707  
13708 -eval "$as_ac_var=no"
13709 +       eval "$as_ac_var=no"
13710  fi
13711 -rm -f conftest.err conftest.$ac_objext \
13712 +
13713 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714        conftest$ac_exeext conftest.$ac_ext
13715  fi
13716 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13717 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13718 +ac_res=`eval echo '${'$as_ac_var'}'`
13719 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13720 +echo "${ECHO_T}$ac_res" >&6; }
13721  if test `eval echo '${'$as_ac_var'}'` = yes; then
13722    cat >>confdefs.h <<_ACEOF
13723  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13724 @@ -10062,9 +10132,9 @@ done
13725  for ac_func in setsid
13726  do
13727  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13730 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13731 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13732 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13733 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13734    echo $ECHO_N "(cached) $ECHO_C" >&6
13735  else
13736    cat >conftest.$ac_ext <<_ACEOF
13737 @@ -10090,68 +10160,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13738  
13739  #undef $ac_func
13740  
13741 -/* Override any gcc2 internal prototype to avoid an error.  */
13742 +/* Override any GCC internal prototype to avoid an error.
13743 +   Use char because int might match the return type of a GCC
13744 +   builtin and then its argument prototype would still apply.  */
13745  #ifdef __cplusplus
13746  extern "C"
13747 -{
13748  #endif
13749 -/* We use char because int might match the return type of a gcc2
13750 -   builtin and then its argument prototype would still apply.  */
13751  char $ac_func ();
13752  /* The GNU C library defines this for functions which it implements
13753      to always fail with ENOSYS.  Some functions are actually named
13754      something starting with __ and the normal name is an alias.  */
13755 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13756 +#if defined __stub_$ac_func || defined __stub___$ac_func
13757  choke me
13758 -#else
13759 -char (*f) () = $ac_func;
13760 -#endif
13761 -#ifdef __cplusplus
13762 -}
13763  #endif
13764  
13765  int
13766  main ()
13767  {
13768 -return f != $ac_func;
13769 +return $ac_func ();
13770    ;
13771    return 0;
13772  }
13773  _ACEOF
13774  rm -f conftest.$ac_objext conftest$ac_exeext
13775 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13776 -  (eval $ac_link) 2>conftest.er1
13777 +if { (ac_try="$ac_link"
13778 +case "(($ac_try" in
13779 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13780 +  *) ac_try_echo=$ac_try;;
13781 +esac
13782 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13783 +  (eval "$ac_link") 2>conftest.er1
13784    ac_status=$?
13785    grep -v '^ *+' conftest.er1 >conftest.err
13786    rm -f conftest.er1
13787    cat conftest.err >&5
13788    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 -  (exit $ac_status); } &&
13790 -        { ac_try='test -z "$ac_c_werror_flag"
13791 -                        || test ! -s conftest.err'
13792 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 -  (eval $ac_try) 2>&5
13794 -  ac_status=$?
13795 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 -  (exit $ac_status); }; } &&
13797 -        { ac_try='test -s conftest$ac_exeext'
13798 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13799 -  (eval $ac_try) 2>&5
13800 -  ac_status=$?
13801 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 -  (exit $ac_status); }; }; then
13803 +  (exit $ac_status); } && {
13804 +        test -z "$ac_c_werror_flag" ||
13805 +        test ! -s conftest.err
13806 +       } && test -s conftest$ac_exeext &&
13807 +       $as_test_x conftest$ac_exeext; then
13808    eval "$as_ac_var=yes"
13809  else
13810    echo "$as_me: failed program was:" >&5
13811  sed 's/^/| /' conftest.$ac_ext >&5
13812  
13813 -eval "$as_ac_var=no"
13814 +       eval "$as_ac_var=no"
13815  fi
13816 -rm -f conftest.err conftest.$ac_objext \
13817 +
13818 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13819        conftest$ac_exeext conftest.$ac_ext
13820  fi
13821 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13822 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13823 +ac_res=`eval echo '${'$as_ac_var'}'`
13824 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13825 +echo "${ECHO_T}$ac_res" >&6; }
13826  if test `eval echo '${'$as_ac_var'}'` = yes; then
13827    cat >>confdefs.h <<_ACEOF
13828  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13829 @@ -10164,9 +10226,9 @@ done
13830  for ac_func in strftime
13831  do
13832  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13833 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13834 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13835 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13836 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13837 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13838 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13839    echo $ECHO_N "(cached) $ECHO_C" >&6
13840  else
13841    cat >conftest.$ac_ext <<_ACEOF
13842 @@ -10192,68 +10254,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13843  
13844  #undef $ac_func
13845  
13846 -/* Override any gcc2 internal prototype to avoid an error.  */
13847 +/* Override any GCC internal prototype to avoid an error.
13848 +   Use char because int might match the return type of a GCC
13849 +   builtin and then its argument prototype would still apply.  */
13850  #ifdef __cplusplus
13851  extern "C"
13852 -{
13853  #endif
13854 -/* We use char because int might match the return type of a gcc2
13855 -   builtin and then its argument prototype would still apply.  */
13856  char $ac_func ();
13857  /* The GNU C library defines this for functions which it implements
13858      to always fail with ENOSYS.  Some functions are actually named
13859      something starting with __ and the normal name is an alias.  */
13860 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13861 +#if defined __stub_$ac_func || defined __stub___$ac_func
13862  choke me
13863 -#else
13864 -char (*f) () = $ac_func;
13865 -#endif
13866 -#ifdef __cplusplus
13867 -}
13868  #endif
13869  
13870  int
13871  main ()
13872  {
13873 -return f != $ac_func;
13874 +return $ac_func ();
13875    ;
13876    return 0;
13877  }
13878  _ACEOF
13879  rm -f conftest.$ac_objext conftest$ac_exeext
13880 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13881 -  (eval $ac_link) 2>conftest.er1
13882 +if { (ac_try="$ac_link"
13883 +case "(($ac_try" in
13884 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13885 +  *) ac_try_echo=$ac_try;;
13886 +esac
13887 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13888 +  (eval "$ac_link") 2>conftest.er1
13889    ac_status=$?
13890    grep -v '^ *+' conftest.er1 >conftest.err
13891    rm -f conftest.er1
13892    cat conftest.err >&5
13893    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 -  (exit $ac_status); } &&
13895 -        { ac_try='test -z "$ac_c_werror_flag"
13896 -                        || test ! -s conftest.err'
13897 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13898 -  (eval $ac_try) 2>&5
13899 -  ac_status=$?
13900 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 -  (exit $ac_status); }; } &&
13902 -        { ac_try='test -s conftest$ac_exeext'
13903 -  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13904 -  (eval $ac_try) 2>&5
13905 -  ac_status=$?
13906 -  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 -  (exit $ac_status); }; }; then
13908 +  (exit $ac_status); } && {
13909 +        test -z "$ac_c_werror_flag" ||
13910 +        test ! -s conftest.err
13911 +       } && test -s conftest$ac_exeext &&
13912 +       $as_test_x conftest$ac_exeext; then
13913    eval "$as_ac_var=yes"
13914  else
13915    echo "$as_me: failed program was:" >&5
13916  sed 's/^/| /' conftest.$ac_ext >&5
13917  
13918 -eval "$as_ac_var=no"
13919 +       eval "$as_ac_var=no"
13920  fi
13921 -rm -f conftest.err conftest.$ac_objext \
13922 +
13923 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13924        conftest$ac_exeext conftest.$ac_ext
13925  fi
13926 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13927 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13928 +ac_res=`eval echo '${'$as_ac_var'}'`
13929 +              { echo "$as_me:$LINENO: result: $ac_res" >&5
13930 +echo "${ECHO_T}$ac_res" >&6; }
13931  if test `eval echo '${'$as_ac_var'}'` = yes; then
13932    cat >>confdefs.h <<_ACEOF
13933  #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13934 @@ -10275,9 +10329,10 @@ mkdir -p libs/include
13935  mkdir -p libs/lib
13936  mkdir -p libs/man
13937  
13938 -          ac_config_headers="$ac_config_headers config.h"
13939 +ac_config_headers="$ac_config_headers config.h"
13940 +
13941 +ac_config_files="$ac_config_files Makefile libs/src/misc/Makefile libs/src/pset/Makefile libs/src/sio/Makefile libs/src/str/Makefile libs/src/xlog/Makefile libs/src/portable/Makefile xinetd/Makefile"
13942  
13943 -                                                                                ac_config_files="$ac_config_files Makefile libs/src/misc/Makefile libs/src/pset/Makefile libs/src/sio/Makefile libs/src/str/Makefile libs/src/xlog/Makefile libs/src/portable/Makefile xinetd/Makefile"
13944  cat >confcache <<\_ACEOF
13945  # This file is a shell script that caches the results of configure
13946  # tests run on this system so they can be shared between configure
13947 @@ -10296,39 +10351,58 @@ _ACEOF
13948  
13949  # The following way of writing the cache mishandles newlines in values,
13950  # but we know of no workaround that is simple, portable, and efficient.
13951 -# So, don't put newlines in cache variables' values.
13952 +# So, we kill variables containing newlines.
13953  # Ultrix sh set writes to stderr and can't be redirected directly,
13954  # and sets the high bit in the cache file unless we assign to the vars.
13955 -{
13956 +(
13957 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13958 +    eval ac_val=\$$ac_var
13959 +    case $ac_val in #(
13960 +    *${as_nl}*)
13961 +      case $ac_var in #(
13962 +      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13963 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13964 +      esac
13965 +      case $ac_var in #(
13966 +      _ | IFS | as_nl) ;; #(
13967 +      *) $as_unset $ac_var ;;
13968 +      esac ;;
13969 +    esac
13970 +  done
13971 +
13972    (set) 2>&1 |
13973 -    case `(ac_space=' '; set | grep ac_space) 2>&1` in
13974 -    *ac_space=\ *)
13975 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13976 +    *${as_nl}ac_space=\ *)
13977        # `set' does not quote correctly, so add quotes (double-quote
13978        # substitution turns \\\\ into \\, and sed turns \\ into \).
13979        sed -n \
13980         "s/'/'\\\\''/g;
13981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13982 -      ;;
13983 +      ;; #(
13984      *)
13985        # `set' quotes correctly as required by POSIX, so do not add quotes.
13986 -      sed -n \
13987 -       "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13988 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13989        ;;
13990 -    esac;
13991 -} |
13992 +    esac |
13993 +    sort
13994 +) |
13995    sed '
13996 +     /^ac_cv_env_/b end
13997       t clear
13998 -     : clear
13999 +     :clear
14000       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14001       t end
14002 -     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14003 -     : end' >>confcache
14004 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
14005 -  if test -w $cache_file; then
14006 -    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14007 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14008 +     :end' >>confcache
14009 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14010 +  if test -w "$cache_file"; then
14011 +    test "x$cache_file" != "x/dev/null" &&
14012 +      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14013 +echo "$as_me: updating cache $cache_file" >&6;}
14014      cat confcache >$cache_file
14015    else
14016 -    echo "not updating unwritable cache $cache_file"
14017 +    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14018 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14019    fi
14020  fi
14021  rm -f confcache
14022 @@ -10337,32 +10411,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
14023  # Let make expand exec_prefix.
14024  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14025  
14026 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
14027 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14028 -# trailing colons and then remove the whole line if VPATH becomes empty
14029 -# (actually we leave an empty line to preserve line numbers).
14030 -if test "x$srcdir" = x.; then
14031 -  ac_vpsub='/^[         ]*VPATH[        ]*=/{
14032 -s/:*\$(srcdir):*/:/;
14033 -s/:*\${srcdir}:*/:/;
14034 -s/:*@srcdir@:*/:/;
14035 -s/^\([^=]*=[    ]*\):*/\1/;
14036 -s/:*$//;
14037 -s/^[^=]*=[      ]*$//;
14038 -}'
14039 -fi
14040 -
14041  DEFS=-DHAVE_CONFIG_H
14042  
14043  ac_libobjs=
14044  ac_ltlibobjs=
14045  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14046    # 1. Remove the extension, and $U if already installed.
14047 -  ac_i=`echo "$ac_i" |
14048 -        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14049 -  # 2. Add them.
14050 -  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14051 -  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14052 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14053 +  ac_i=`echo "$ac_i" | sed "$ac_script"`
14054 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14055 +  #    will be set to the directory where LIBOBJS objects are built.
14056 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14057 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14058  done
14059  LIBOBJS=$ac_libobjs
14060  
14061 @@ -10393,17 +10453,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
14062  ## M4sh Initialization.  ##
14063  ## --------------------- ##
14064  
14065 -# Be Bourne compatible
14066 +# Be more Bourne compatible
14067 +DUALCASE=1; export DUALCASE # for MKS sh
14068  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14069    emulate sh
14070    NULLCMD=:
14071    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14072    # is contrary to our usage.  Disable this feature.
14073    alias -g '${1+"$@"}'='"$@"'
14074 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14075 -  set -o posix
14076 +  setopt NO_GLOB_SUBST
14077 +else
14078 +  case `(set -o) 2>/dev/null` in
14079 +  *posix*) set -o posix ;;
14080 +esac
14081 +
14082 +fi
14083 +
14084 +
14085 +
14086 +
14087 +# PATH needs CR
14088 +# Avoid depending upon Character Ranges.
14089 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14090 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14091 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14092 +as_cr_digits='0123456789'
14093 +as_cr_alnum=$as_cr_Letters$as_cr_digits
14094 +
14095 +# The user is always right.
14096 +if test "${PATH_SEPARATOR+set}" != set; then
14097 +  echo "#! /bin/sh" >conf$$.sh
14098 +  echo  "exit 0"   >>conf$$.sh
14099 +  chmod +x conf$$.sh
14100 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14101 +    PATH_SEPARATOR=';'
14102 +  else
14103 +    PATH_SEPARATOR=:
14104 +  fi
14105 +  rm -f conf$$.sh
14106  fi
14107 -DUALCASE=1; export DUALCASE # for MKS sh
14108  
14109  # Support unset when possible.
14110  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14111 @@ -10413,8 +10501,43 @@ else
14112  fi
14113  
14114  
14115 +# IFS
14116 +# We need space, tab and new line, in precisely that order.  Quoting is
14117 +# there to prevent editors from complaining about space-tab.
14118 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14119 +# splitting by setting IFS to empty value.)
14120 +as_nl='
14121 +'
14122 +IFS=" ""       $as_nl"
14123 +
14124 +# Find who we are.  Look in the path if we contain no directory separator.
14125 +case $0 in
14126 +  *[\\/]* ) as_myself=$0 ;;
14127 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 +for as_dir in $PATH
14129 +do
14130 +  IFS=$as_save_IFS
14131 +  test -z "$as_dir" && as_dir=.
14132 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14133 +done
14134 +IFS=$as_save_IFS
14135 +
14136 +     ;;
14137 +esac
14138 +# We did not find ourselves, most probably we were run as `sh COMMAND'
14139 +# in which case we are not to be found in the path.
14140 +if test "x$as_myself" = x; then
14141 +  as_myself=$0
14142 +fi
14143 +if test ! -f "$as_myself"; then
14144 +  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14145 +  { (exit 1); exit 1; }
14146 +fi
14147 +
14148  # Work around bugs in pre-3.0 UWIN ksh.
14149 -$as_unset ENV MAIL MAILPATH
14150 +for as_var in ENV MAIL MAILPATH
14151 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14152 +done
14153  PS1='$ '
14154  PS2='> '
14155  PS4='+ '
14156 @@ -10428,18 +10551,19 @@ do
14157    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14158      eval $as_var=C; export $as_var
14159    else
14160 -    $as_unset $as_var
14161 +    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14162    fi
14163  done
14164  
14165  # Required to use basename.
14166 -if expr a : '\(a\)' >/dev/null 2>&1; then
14167 +if expr a : '\(a\)' >/dev/null 2>&1 &&
14168 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14169    as_expr=expr
14170  else
14171    as_expr=false
14172  fi
14173  
14174 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14175 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14176    as_basename=basename
14177  else
14178    as_basename=false
14179 @@ -10447,159 +10571,120 @@ fi
14180  
14181  
14182  # Name of the executable.
14183 -as_me=`$as_basename "$0" ||
14184 +as_me=`$as_basename -- "$0" ||
14185  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14186          X"$0" : 'X\(//\)$' \| \
14187 -        X"$0" : 'X\(/\)$' \| \
14188 -        .     : '\(.\)' 2>/dev/null ||
14189 +        X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14190  echo X/"$0" |
14191 -    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14192 -         /^X\/\(\/\/\)$/{ s//\1/; q; }
14193 -         /^X\/\(\/\).*/{ s//\1/; q; }
14194 -         s/.*/./; q'`
14195 -
14196 +    sed '/^.*\/\([^/][^/]*\)\/*$/{
14197 +           s//\1/
14198 +           q
14199 +         }
14200 +         /^X\/\(\/\/\)$/{
14201 +           s//\1/
14202 +           q
14203 +         }
14204 +         /^X\/\(\/\).*/{
14205 +           s//\1/
14206 +           q
14207 +         }
14208 +         s/.*/./; q'`
14209  
14210 -# PATH needs CR, and LINENO needs CR and PATH.
14211 -# Avoid depending upon Character Ranges.
14212 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14213 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14214 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14215 -as_cr_digits='0123456789'
14216 -as_cr_alnum=$as_cr_Letters$as_cr_digits
14217 -
14218 -# The user is always right.
14219 -if test "${PATH_SEPARATOR+set}" != set; then
14220 -  echo "#! /bin/sh" >conf$$.sh
14221 -  echo  "exit 0"   >>conf$$.sh
14222 -  chmod +x conf$$.sh
14223 -  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14224 -    PATH_SEPARATOR=';'
14225 -  else
14226 -    PATH_SEPARATOR=:
14227 -  fi
14228 -  rm -f conf$$.sh
14229 -fi
14230 +# CDPATH.
14231 +$as_unset CDPATH
14232  
14233  
14234 -  as_lineno_1=$LINENO
14235 -  as_lineno_2=$LINENO
14236 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14237 -  test "x$as_lineno_1" != "x$as_lineno_2" &&
14238 -  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
14239 -  # Find who we are.  Look in the path if we contain no path at all
14240 -  # relative or not.
14241 -  case $0 in
14242 -    *[\\/]* ) as_myself=$0 ;;
14243 -    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14244 -for as_dir in $PATH
14245 -do
14246 -  IFS=$as_save_IFS
14247 -  test -z "$as_dir" && as_dir=.
14248 -  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14249 -done
14250  
14251 -       ;;
14252 -  esac
14253 -  # We did not find ourselves, most probably we were run as `sh COMMAND'
14254 -  # in which case we are not to be found in the path.
14255 -  if test "x$as_myself" = x; then
14256 -    as_myself=$0
14257 -  fi
14258 -  if test ! -f "$as_myself"; then
14259 -    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14260 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14261 -   { (exit 1); exit 1; }; }
14262 -  fi
14263 -  case $CONFIG_SHELL in
14264 -  '')
14265 -    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14266 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14267 -do
14268 -  IFS=$as_save_IFS
14269 -  test -z "$as_dir" && as_dir=.
14270 -  for as_base in sh bash ksh sh5; do
14271 -        case $as_dir in
14272 -        /*)
14273 -          if ("$as_dir/$as_base" -c '
14274    as_lineno_1=$LINENO
14275    as_lineno_2=$LINENO
14276 -  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14277    test "x$as_lineno_1" != "x$as_lineno_2" &&
14278 -  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
14279 -            $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14280 -            $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14281 -            CONFIG_SHELL=$as_dir/$as_base
14282 -            export CONFIG_SHELL
14283 -            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14284 -          fi;;
14285 -        esac
14286 -       done
14287 -done
14288 -;;
14289 -  esac
14290 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14291  
14292    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14293    # uniformly replaced by the line number.  The first 'sed' inserts a
14294 -  # line-number line before each line; the second 'sed' does the real
14295 -  # work.  The second script uses 'N' to pair each line-number line
14296 -  # with the numbered line, and appends trailing '-' during
14297 -  # substitution so that $LINENO is not a special case at line end.
14298 +  # line-number line after each line using $LINENO; the second 'sed'
14299 +  # does the real work.  The second script uses 'N' to pair each
14300 +  # line-number line with the line containing $LINENO, and appends
14301 +  # trailing '-' during substitution so that $LINENO is not a special
14302 +  # case at line end.
14303    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14304 -  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
14305 -  sed '=' <$as_myself |
14306 +  # scripts with optimization help from Paolo Bonzini.  Blame Lee
14307 +  # E. McMahon (1931-1989) for sed's syntax.  :-)
14308 +  sed -n '
14309 +    p
14310 +    /[$]LINENO/=
14311 +  ' <$as_myself |
14312      sed '
14313 +      s/[$]LINENO.*/&-/
14314 +      t lineno
14315 +      b
14316 +      :lineno
14317        N
14318 -      s,$,-,
14319 -      : loop
14320 -      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14321 +      :loop
14322 +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14323        t loop
14324 -      s,-$,,
14325 -      s,^['$as_cr_digits']*\n,,
14326 +      s/-\n.*//
14327      ' >$as_me.lineno &&
14328 -  chmod +x $as_me.lineno ||
14329 -    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14330 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14331 +  chmod +x "$as_me.lineno" ||
14332 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14333     { (exit 1); exit 1; }; }
14334  
14335    # Don't try to exec as it changes $[0], causing all sort of problems
14336    # (the dirname of $[0] is not the place where we might find the
14337 -  # original and so on.  Autoconf is especially sensible to this).
14338 -  . ./$as_me.lineno
14339 +  # original and so on.  Autoconf is especially sensitive to this).
14340 +  . "./$as_me.lineno"
14341    # Exit status is that of the last command.
14342    exit
14343  }
14344  
14345  
14346 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14347 -  *c*,-n*) ECHO_N= ECHO_C='
14348 -' ECHO_T='     ' ;;
14349 -  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14350 -  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
14351 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14352 +  as_dirname=dirname
14353 +else
14354 +  as_dirname=false
14355 +fi
14356 +
14357 +ECHO_C= ECHO_N= ECHO_T=
14358 +case `echo -n x` in
14359 +-n*)
14360 +  case `echo 'x\c'` in
14361 +  *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
14362 +  *)   ECHO_C='\c';;
14363 +  esac;;
14364 +*)
14365 +  ECHO_N='-n';;
14366  esac
14367  
14368 -if expr a : '\(a\)' >/dev/null 2>&1; then
14369 +if expr a : '\(a\)' >/dev/null 2>&1 &&
14370 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14371    as_expr=expr
14372  else
14373    as_expr=false
14374  fi
14375  
14376  rm -f conf$$ conf$$.exe conf$$.file
14377 +if test -d conf$$.dir; then
14378 +  rm -f conf$$.dir/conf$$.file
14379 +else
14380 +  rm -f conf$$.dir
14381 +  mkdir conf$$.dir
14382 +fi
14383  echo >conf$$.file
14384  if ln -s conf$$.file conf$$ 2>/dev/null; then
14385 -  # We could just check for DJGPP; but this test a) works b) is more generic
14386 -  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14387 -  if test -f conf$$.exe; then
14388 -    # Don't use ln at all; we don't have any links
14389 +  as_ln_s='ln -s'
14390 +  # ... but there are two gotchas:
14391 +  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14392 +  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14393 +  # In both cases, we have to default to `cp -p'.
14394 +  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14395      as_ln_s='cp -p'
14396 -  else
14397 -    as_ln_s='ln -s'
14398 -  fi
14399  elif ln conf$$.file conf$$ 2>/dev/null; then
14400    as_ln_s=ln
14401  else
14402    as_ln_s='cp -p'
14403  fi
14404 -rm -f conf$$ conf$$.exe conf$$.file
14405 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14406 +rmdir conf$$.dir 2>/dev/null
14407  
14408  if mkdir -p . 2>/dev/null; then
14409    as_mkdir_p=:
14410 @@ -10608,7 +10693,28 @@ else
14411    as_mkdir_p=false
14412  fi
14413  
14414 -as_executable_p="test -f"
14415 +if test -x / >/dev/null 2>&1; then
14416 +  as_test_x='test -x'
14417 +else
14418 +  if ls -dL / >/dev/null 2>&1; then
14419 +    as_ls_L_option=L
14420 +  else
14421 +    as_ls_L_option=
14422 +  fi
14423 +  as_test_x='
14424 +    eval sh -c '\''
14425 +      if test -d "$1"; then
14426 +        test -d "$1/.";
14427 +      else
14428 +       case $1 in
14429 +        -*)set "./$1";;
14430 +       esac;
14431 +       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14432 +       ???[sx]*):;;*)false;;esac;fi
14433 +    '\'' sh
14434 +  '
14435 +fi
14436 +as_executable_p=$as_test_x
14437  
14438  # Sed expression to map a string onto a valid CPP name.
14439  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14440 @@ -10617,31 +10723,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14441  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14442  
14443  
14444 -# IFS
14445 -# We need space, tab and new line, in precisely that order.
14446 -as_nl='
14447 -'
14448 -IFS="  $as_nl"
14449 -
14450 -# CDPATH.
14451 -$as_unset CDPATH
14452 -
14453  exec 6>&1
14454  
14455 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
14456 +# Save the log message, to keep $[0] and so on meaningful, and to
14457  # report actual input values of CONFIG_FILES etc. instead of their
14458 -# values after options handling.  Logging --version etc. is OK.
14459 -exec 5>>config.log
14460 -{
14461 -  echo
14462 -  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14463 -## Running $as_me. ##
14464 -_ASBOX
14465 -} >&5
14466 -cat >&5 <<_CSEOF
14467 -
14468 +# values after options handling.
14469 +ac_log="
14470  This file was extended by $as_me, which was
14471 -generated by GNU Autoconf 2.59.  Invocation command line was
14472 +generated by GNU Autoconf 2.61.  Invocation command line was
14473  
14474    CONFIG_FILES    = $CONFIG_FILES
14475    CONFIG_HEADERS  = $CONFIG_HEADERS
14476 @@ -10649,30 +10738,19 @@ generated by GNU Autoconf 2.59.  Invocation command line was
14477    CONFIG_COMMANDS = $CONFIG_COMMANDS
14478    $ $0 $@
14479  
14480 -_CSEOF
14481 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14482 -echo >&5
14483 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
14484 +"
14485 +
14486  _ACEOF
14487  
14488 +cat >>$CONFIG_STATUS <<_ACEOF
14489  # Files that config.status was made for.
14490 -if test -n "$ac_config_files"; then
14491 -  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14492 -fi
14493 -
14494 -if test -n "$ac_config_headers"; then
14495 -  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14496 -fi
14497 -
14498 -if test -n "$ac_config_links"; then
14499 -  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14500 -fi
14501 +config_files="$ac_config_files"
14502 +config_headers="$ac_config_headers"
14503  
14504 -if test -n "$ac_config_commands"; then
14505 -  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14506 -fi
14507 +_ACEOF
14508  
14509  cat >>$CONFIG_STATUS <<\_ACEOF
14510 -
14511  ac_cs_usage="\
14512  \`$as_me' instantiates files from templates according to the
14513  current configuration.
14514 @@ -10680,7 +10758,7 @@ current configuration.
14515  Usage: $0 [OPTIONS] [FILE]...
14516  
14517    -h, --help       print this help, then exit
14518 -  -V, --version    print version number, then exit
14519 +  -V, --version    print version number and configuration settings, then exit
14520    -q, --quiet      do not print progress messages
14521    -d, --debug      don't remove temporary files
14522        --recheck    update $as_me by reconfiguring in the same conditions
14523 @@ -10696,19 +10774,21 @@ Configuration headers:
14524  $config_headers
14525  
14526  Report bugs to <bug-autoconf@gnu.org>."
14527 -_ACEOF
14528  
14529 +_ACEOF
14530  cat >>$CONFIG_STATUS <<_ACEOF
14531  ac_cs_version="\\
14532  config.status
14533 -configured by $0, generated by GNU Autoconf 2.59,
14534 -  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14535 +configured by $0, generated by GNU Autoconf 2.61,
14536 +  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14537  
14538 -Copyright (C) 2003 Free Software Foundation, Inc.
14539 +Copyright (C) 2006 Free Software Foundation, Inc.
14540  This config.status script is free software; the Free Software Foundation
14541  gives unlimited permission to copy, distribute and modify it."
14542 -srcdir=$srcdir
14543 -INSTALL="$INSTALL"
14544 +
14545 +ac_pwd='$ac_pwd'
14546 +srcdir='$srcdir'
14547 +INSTALL='$INSTALL'
14548  _ACEOF
14549  
14550  cat >>$CONFIG_STATUS <<\_ACEOF
14551 @@ -10719,39 +10799,24 @@ while test $# != 0
14552  do
14553    case $1 in
14554    --*=*)
14555 -    ac_option=`expr "x$1" : 'x\([^=]*\)='`
14556 -    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14557 +    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14558 +    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14559      ac_shift=:
14560      ;;
14561 -  -*)
14562 +  *)
14563      ac_option=$1
14564      ac_optarg=$2
14565      ac_shift=shift
14566      ;;
14567 -  *) # This is not an option, so the user has probably given explicit
14568 -     # arguments.
14569 -     ac_option=$1
14570 -     ac_need_defaults=false;;
14571    esac
14572  
14573    case $ac_option in
14574    # Handling of the options.
14575 -_ACEOF
14576 -cat >>$CONFIG_STATUS <<\_ACEOF
14577    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14578      ac_cs_recheck=: ;;
14579 -  --version | --vers* | -V )
14580 -    echo "$ac_cs_version"; exit 0 ;;
14581 -  --he | --h)
14582 -    # Conflict between --help and --header
14583 -    { { echo "$as_me:$LINENO: error: ambiguous option: $1
14584 -Try \`$0 --help' for more information." >&5
14585 -echo "$as_me: error: ambiguous option: $1
14586 -Try \`$0 --help' for more information." >&2;}
14587 -   { (exit 1); exit 1; }; };;
14588 -  --help | --hel | -h )
14589 -    echo "$ac_cs_usage"; exit 0 ;;
14590 -  --debug | --d* | -d )
14591 +  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14592 +    echo "$ac_cs_version"; exit ;;
14593 +  --debug | --debu | --deb | --de | --d | -d )
14594      debug=: ;;
14595    --file | --fil | --fi | --f )
14596      $ac_shift
14597 @@ -10761,18 +10826,24 @@ Try \`$0 --help' for more information." >&2;}
14598      $ac_shift
14599      CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14600      ac_need_defaults=false;;
14601 +  --he | --h)
14602 +    # Conflict between --help and --header
14603 +    { echo "$as_me: error: ambiguous option: $1
14604 +Try \`$0 --help' for more information." >&2
14605 +   { (exit 1); exit 1; }; };;
14606 +  --help | --hel | -h )
14607 +    echo "$ac_cs_usage"; exit ;;
14608    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14609    | -silent | --silent | --silen | --sile | --sil | --si | --s)
14610      ac_cs_silent=: ;;
14611  
14612    # This is an error.
14613 -  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14614 -Try \`$0 --help' for more information." >&5
14615 -echo "$as_me: error: unrecognized option: $1
14616 -Try \`$0 --help' for more information." >&2;}
14617 +  -*) { echo "$as_me: error: unrecognized option: $1
14618 +Try \`$0 --help' for more information." >&2
14619     { (exit 1); exit 1; }; } ;;
14620  
14621 -  *) ac_config_targets="$ac_config_targets $1" ;;
14622 +  *) ac_config_targets="$ac_config_targets $1"
14623 +     ac_need_defaults=false ;;
14624  
14625    esac
14626    shift
14627 @@ -10788,36 +10859,50 @@ fi
14628  _ACEOF
14629  cat >>$CONFIG_STATUS <<_ACEOF
14630  if \$ac_cs_recheck; then
14631 -  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14632 -  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14633 +  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14634 +  CONFIG_SHELL=$SHELL
14635 +  export CONFIG_SHELL
14636 +  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14637  fi
14638  
14639  _ACEOF
14640 +cat >>$CONFIG_STATUS <<\_ACEOF
14641 +exec 5>>config.log
14642 +{
14643 +  echo
14644 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14645 +## Running $as_me. ##
14646 +_ASBOX
14647 +  echo "$ac_log"
14648 +} >&5
14649  
14650 -
14651 -
14652 -
14653 +_ACEOF
14654 +cat >>$CONFIG_STATUS <<_ACEOF
14655 +_ACEOF
14656  
14657  cat >>$CONFIG_STATUS <<\_ACEOF
14658 +
14659 +# Handling of arguments.
14660  for ac_config_target in $ac_config_targets
14661  do
14662 -  case "$ac_config_target" in
14663 -  # Handling of arguments.
14664 -  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14665 -  "libs/src/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/misc/Makefile" ;;
14666 -  "libs/src/pset/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/pset/Makefile" ;;
14667 -  "libs/src/sio/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/sio/Makefile" ;;
14668 -  "libs/src/str/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/str/Makefile" ;;
14669 -  "libs/src/xlog/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/xlog/Makefile" ;;
14670 -  "libs/src/portable/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/portable/Makefile" ;;
14671 -  "xinetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES xinetd/Makefile" ;;
14672 -  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14673 +  case $ac_config_target in
14674 +    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14675 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14676 +    "libs/src/misc/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/misc/Makefile" ;;
14677 +    "libs/src/pset/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/pset/Makefile" ;;
14678 +    "libs/src/sio/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/sio/Makefile" ;;
14679 +    "libs/src/str/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/str/Makefile" ;;
14680 +    "libs/src/xlog/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/xlog/Makefile" ;;
14681 +    "libs/src/portable/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/portable/Makefile" ;;
14682 +    "xinetd/Makefile") CONFIG_FILES="$CONFIG_FILES xinetd/Makefile" ;;
14683 +
14684    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14685  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14686     { (exit 1); exit 1; }; };;
14687    esac
14688  done
14689  
14690 +
14691  # If the user did not use the arguments to specify the items to instantiate,
14692  # then the envvar interface is used.  Set only those that are not.
14693  # We use the long form for the default assignment because of an extremely
14694 @@ -10828,565 +10913,517 @@ if $ac_need_defaults; then
14695  fi
14696  
14697  # Have a temporary directory for convenience.  Make it in the build tree
14698 -# simply because there is no reason to put it here, and in addition,
14699 +# simply because there is no reason against having it here, and in addition,
14700  # creating and moving files from /tmp can sometimes cause problems.
14701 -# Create a temporary directory, and hook for its removal unless debugging.
14702 +# Hook for its removal unless debugging.
14703 +# Note that there is a small window in which the directory will not be cleaned:
14704 +# after its creation but before its name has been assigned to `$tmp'.
14705  $debug ||
14706  {
14707 -  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14708 +  tmp=
14709 +  trap 'exit_status=$?
14710 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14711 +' 0
14712    trap '{ (exit 1); exit 1; }' 1 2 13 15
14713  }
14714 -
14715  # Create a (secure) tmp directory for tmp files.
14716  
14717  {
14718 -  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14719 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14720    test -n "$tmp" && test -d "$tmp"
14721  }  ||
14722  {
14723 -  tmp=./confstat$$-$RANDOM
14724 -  (umask 077 && mkdir $tmp)
14725 +  tmp=./conf$$-$RANDOM
14726 +  (umask 077 && mkdir "$tmp")
14727  } ||
14728  {
14729     echo "$me: cannot create a temporary directory in ." >&2
14730     { (exit 1); exit 1; }
14731  }
14732  
14733 -_ACEOF
14734 -
14735 -cat >>$CONFIG_STATUS <<_ACEOF
14736 -
14737  #
14738 -# CONFIG_FILES section.
14739 +# Set up the sed scripts for CONFIG_FILES section.
14740  #
14741  
14742  # No need to generate the scripts if there are no CONFIG_FILES.
14743  # This happens for instance when ./config.status config.h
14744 -if test -n "\$CONFIG_FILES"; then
14745 -  # Protect against being on the right side of a sed subst in config.status.
14746 -  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14747 -   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14748 -s,@SHELL@,$SHELL,;t t
14749 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14750 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14751 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14752 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14753 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14754 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14755 -s,@exec_prefix@,$exec_prefix,;t t
14756 -s,@prefix@,$prefix,;t t
14757 -s,@program_transform_name@,$program_transform_name,;t t
14758 -s,@bindir@,$bindir,;t t
14759 -s,@sbindir@,$sbindir,;t t
14760 -s,@libexecdir@,$libexecdir,;t t
14761 -s,@datadir@,$datadir,;t t
14762 -s,@sysconfdir@,$sysconfdir,;t t
14763 -s,@sharedstatedir@,$sharedstatedir,;t t
14764 -s,@localstatedir@,$localstatedir,;t t
14765 -s,@libdir@,$libdir,;t t
14766 -s,@includedir@,$includedir,;t t
14767 -s,@oldincludedir@,$oldincludedir,;t t
14768 -s,@infodir@,$infodir,;t t
14769 -s,@mandir@,$mandir,;t t
14770 -s,@build_alias@,$build_alias,;t t
14771 -s,@host_alias@,$host_alias,;t t
14772 -s,@target_alias@,$target_alias,;t t
14773 -s,@DEFS@,$DEFS,;t t
14774 -s,@ECHO_C@,$ECHO_C,;t t
14775 -s,@ECHO_N@,$ECHO_N,;t t
14776 -s,@ECHO_T@,$ECHO_T,;t t
14777 -s,@LIBS@,$LIBS,;t t
14778 -s,@build@,$build,;t t
14779 -s,@build_cpu@,$build_cpu,;t t
14780 -s,@build_vendor@,$build_vendor,;t t
14781 -s,@build_os@,$build_os,;t t
14782 -s,@host@,$host,;t t
14783 -s,@host_cpu@,$host_cpu,;t t
14784 -s,@host_vendor@,$host_vendor,;t t
14785 -s,@host_os@,$host_os,;t t
14786 -s,@target@,$target,;t t
14787 -s,@target_cpu@,$target_cpu,;t t
14788 -s,@target_vendor@,$target_vendor,;t t
14789 -s,@target_os@,$target_os,;t t
14790 -s,@CC@,$CC,;t t
14791 -s,@CFLAGS@,$CFLAGS,;t t
14792 -s,@LDFLAGS@,$LDFLAGS,;t t
14793 -s,@CPPFLAGS@,$CPPFLAGS,;t t
14794 -s,@ac_ct_CC@,$ac_ct_CC,;t t
14795 -s,@EXEEXT@,$EXEEXT,;t t
14796 -s,@OBJEXT@,$OBJEXT,;t t
14797 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14798 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14799 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14800 -s,@RANLIB@,$RANLIB,;t t
14801 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14802 -s,@CPP@,$CPP,;t t
14803 -s,@EGREP@,$EGREP,;t t
14804 -s,@LIBOBJS@,$LIBOBJS,;t t
14805 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14806 -CEOF
14807 -
14808 -_ACEOF
14809 -
14810 -  cat >>$CONFIG_STATUS <<\_ACEOF
14811 -  # Split the substitutions into bite-sized pieces for seds with
14812 -  # small command number limits, like on Digital OSF/1 and HP-UX.
14813 -  ac_max_sed_lines=48
14814 -  ac_sed_frag=1 # Number of current file.
14815 -  ac_beg=1 # First line for current file.
14816 -  ac_end=$ac_max_sed_lines # Line after last line for current file.
14817 -  ac_more_lines=:
14818 -  ac_sed_cmds=
14819 -  while $ac_more_lines; do
14820 -    if test $ac_beg -gt 1; then
14821 -      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14822 -    else
14823 -      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14824 -    fi
14825 -    if test ! -s $tmp/subs.frag; then
14826 -      ac_more_lines=false
14827 -    else
14828 -      # The purpose of the label and of the branching condition is to
14829 -      # speed up the sed processing (if there are no `@' at all, there
14830 -      # is no need to browse any of the substitutions).
14831 -      # These are the two extra sed commands mentioned above.
14832 -      (echo ':t
14833 -  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14834 -      if test -z "$ac_sed_cmds"; then
14835 -       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14836 -      else
14837 -       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14838 -      fi
14839 -      ac_sed_frag=`expr $ac_sed_frag + 1`
14840 -      ac_beg=$ac_end
14841 -      ac_end=`expr $ac_end + $ac_max_sed_lines`
14842 -    fi
14843 -  done
14844 -  if test -z "$ac_sed_cmds"; then
14845 -    ac_sed_cmds=cat
14846 +if test -n "$CONFIG_FILES"; then
14847 +
14848 +_ACEOF
14849 +
14850 +
14851 +
14852 +ac_delim='%!_!# '
14853 +for ac_last_try in false false false false false :; do
14854 +  cat >conf$$subs.sed <<_ACEOF
14855 +SHELL!$SHELL$ac_delim
14856 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14857 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14858 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14859 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14860 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14861 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14862 +exec_prefix!$exec_prefix$ac_delim
14863 +prefix!$prefix$ac_delim
14864 +program_transform_name!$program_transform_name$ac_delim
14865 +bindir!$bindir$ac_delim
14866 +sbindir!$sbindir$ac_delim
14867 +libexecdir!$libexecdir$ac_delim
14868 +datarootdir!$datarootdir$ac_delim
14869 +datadir!$datadir$ac_delim
14870 +sysconfdir!$sysconfdir$ac_delim
14871 +sharedstatedir!$sharedstatedir$ac_delim
14872 +localstatedir!$localstatedir$ac_delim
14873 +includedir!$includedir$ac_delim
14874 +oldincludedir!$oldincludedir$ac_delim
14875 +docdir!$docdir$ac_delim
14876 +infodir!$infodir$ac_delim
14877 +htmldir!$htmldir$ac_delim
14878 +dvidir!$dvidir$ac_delim
14879 +pdfdir!$pdfdir$ac_delim
14880 +psdir!$psdir$ac_delim
14881 +libdir!$libdir$ac_delim
14882 +localedir!$localedir$ac_delim
14883 +mandir!$mandir$ac_delim
14884 +DEFS!$DEFS$ac_delim
14885 +ECHO_C!$ECHO_C$ac_delim
14886 +ECHO_N!$ECHO_N$ac_delim
14887 +ECHO_T!$ECHO_T$ac_delim
14888 +LIBS!$LIBS$ac_delim
14889 +build_alias!$build_alias$ac_delim
14890 +host_alias!$host_alias$ac_delim
14891 +target_alias!$target_alias$ac_delim
14892 +build!$build$ac_delim
14893 +build_cpu!$build_cpu$ac_delim
14894 +build_vendor!$build_vendor$ac_delim
14895 +build_os!$build_os$ac_delim
14896 +host!$host$ac_delim
14897 +host_cpu!$host_cpu$ac_delim
14898 +host_vendor!$host_vendor$ac_delim
14899 +host_os!$host_os$ac_delim
14900 +target!$target$ac_delim
14901 +target_cpu!$target_cpu$ac_delim
14902 +target_vendor!$target_vendor$ac_delim
14903 +target_os!$target_os$ac_delim
14904 +CC!$CC$ac_delim
14905 +CFLAGS!$CFLAGS$ac_delim
14906 +LDFLAGS!$LDFLAGS$ac_delim
14907 +CPPFLAGS!$CPPFLAGS$ac_delim
14908 +ac_ct_CC!$ac_ct_CC$ac_delim
14909 +EXEEXT!$EXEEXT$ac_delim
14910 +OBJEXT!$OBJEXT$ac_delim
14911 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14912 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14913 +INSTALL_DATA!$INSTALL_DATA$ac_delim
14914 +RANLIB!$RANLIB$ac_delim
14915 +CPP!$CPP$ac_delim
14916 +GREP!$GREP$ac_delim
14917 +EGREP!$EGREP$ac_delim
14918 +LIBOBJS!$LIBOBJS$ac_delim
14919 +LTLIBOBJS!$LTLIBOBJS$ac_delim
14920 +_ACEOF
14921 +
14922 +  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
14923 +    break
14924 +  elif $ac_last_try; then
14925 +    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14926 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14927 +   { (exit 1); exit 1; }; }
14928 +  else
14929 +    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14930    fi
14931 -fi # test -n "$CONFIG_FILES"
14932 +done
14933 +
14934 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14935 +if test -n "$ac_eof"; then
14936 +  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14937 +  ac_eof=`expr $ac_eof + 1`
14938 +fi
14939  
14940 +cat >>$CONFIG_STATUS <<_ACEOF
14941 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14942 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14943 +_ACEOF
14944 +sed '
14945 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14946 +s/^/s,@/; s/!/@,|#_!!_#|/
14947 +:n
14948 +t n
14949 +s/'"$ac_delim"'$/,g/; t
14950 +s/$/\\/; p
14951 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14952 +' >>$CONFIG_STATUS <conf$$subs.sed
14953 +rm -f conf$$subs.sed
14954 +cat >>$CONFIG_STATUS <<_ACEOF
14955 +:end
14956 +s/|#_!!_#|//g
14957 +CEOF$ac_eof
14958  _ACEOF
14959 +
14960 +
14961 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
14962 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14963 +# trailing colons and then remove the whole line if VPATH becomes empty
14964 +# (actually we leave an empty line to preserve line numbers).
14965 +if test "x$srcdir" = x.; then
14966 +  ac_vpsub='/^[         ]*VPATH[        ]*=/{
14967 +s/:*\$(srcdir):*/:/
14968 +s/:*\${srcdir}:*/:/
14969 +s/:*@srcdir@:*/:/
14970 +s/^\([^=]*=[    ]*\):*/\1/
14971 +s/:*$//
14972 +s/^[^=]*=[      ]*$//
14973 +}'
14974 +fi
14975 +
14976  cat >>$CONFIG_STATUS <<\_ACEOF
14977 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14978 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14979 -  case $ac_file in
14980 -  - | *:- | *:-:* ) # input from stdin
14981 -       cat >$tmp/stdin
14982 -       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14983 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14984 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14985 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14986 -  * )   ac_file_in=$ac_file.in ;;
14987 +fi # test -n "$CONFIG_FILES"
14988 +
14989 +
14990 +for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
14991 +do
14992 +  case $ac_tag in
14993 +  :[FHLC]) ac_mode=$ac_tag; continue;;
14994 +  esac
14995 +  case $ac_mode$ac_tag in
14996 +  :[FHL]*:*);;
14997 +  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14998 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14999 +   { (exit 1); exit 1; }; };;
15000 +  :[FH]-) ac_tag=-:-;;
15001 +  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15002 +  esac
15003 +  ac_save_IFS=$IFS
15004 +  IFS=:
15005 +  set x $ac_tag
15006 +  IFS=$ac_save_IFS
15007 +  shift
15008 +  ac_file=$1
15009 +  shift
15010 +
15011 +  case $ac_mode in
15012 +  :L) ac_source=$1;;
15013 +  :[FH])
15014 +    ac_file_inputs=
15015 +    for ac_f
15016 +    do
15017 +      case $ac_f in
15018 +      -) ac_f="$tmp/stdin";;
15019 +      *) # Look for the file first in the build tree, then in the source tree
15020 +        # (if the path is not absolute).  The absolute path cannot be DOS-style,
15021 +        # because $ac_f cannot contain `:'.
15022 +        test -f "$ac_f" ||
15023 +          case $ac_f in
15024 +          [\\/$]*) false;;
15025 +          *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15026 +          esac ||
15027 +          { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15028 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15029 +   { (exit 1); exit 1; }; };;
15030 +      esac
15031 +      ac_file_inputs="$ac_file_inputs $ac_f"
15032 +    done
15033 +
15034 +    # Let's still pretend it is `configure' which instantiates (i.e., don't
15035 +    # use $as_me), people would be surprised to read:
15036 +    #    /* config.h.  Generated by config.status.  */
15037 +    configure_input="Generated from "`IFS=:
15038 +         echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15039 +    if test x"$ac_file" != x-; then
15040 +      configure_input="$ac_file.  $configure_input"
15041 +      { echo "$as_me:$LINENO: creating $ac_file" >&5
15042 +echo "$as_me: creating $ac_file" >&6;}
15043 +    fi
15044 +
15045 +    case $ac_tag in
15046 +    *:-:* | *:-) cat >"$tmp/stdin";;
15047 +    esac
15048 +    ;;
15049    esac
15050  
15051 -  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15052 -  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15053 +  ac_dir=`$as_dirname -- "$ac_file" ||
15054  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15055          X"$ac_file" : 'X\(//\)[^/]' \| \
15056          X"$ac_file" : 'X\(//\)$' \| \
15057 -        X"$ac_file" : 'X\(/\)' \| \
15058 -        .     : '\(.\)' 2>/dev/null ||
15059 +        X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15060  echo X"$ac_file" |
15061 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15062 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15063 -         /^X\(\/\/\)$/{ s//\1/; q; }
15064 -         /^X\(\/\).*/{ s//\1/; q; }
15065 -         s/.*/./; q'`
15066 -  { if $as_mkdir_p; then
15067 -    mkdir -p "$ac_dir"
15068 -  else
15069 -    as_dir="$ac_dir"
15070 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15071 +           s//\1/
15072 +           q
15073 +         }
15074 +         /^X\(\/\/\)[^/].*/{
15075 +           s//\1/
15076 +           q
15077 +         }
15078 +         /^X\(\/\/\)$/{
15079 +           s//\1/
15080 +           q
15081 +         }
15082 +         /^X\(\/\).*/{
15083 +           s//\1/
15084 +           q
15085 +         }
15086 +         s/.*/./; q'`
15087 +  { as_dir="$ac_dir"
15088 +  case $as_dir in #(
15089 +  -*) as_dir=./$as_dir;;
15090 +  esac
15091 +  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15092      as_dirs=
15093 -    while test ! -d "$as_dir"; do
15094 -      as_dirs="$as_dir $as_dirs"
15095 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
15096 +    while :; do
15097 +      case $as_dir in #(
15098 +      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15099 +      *) as_qdir=$as_dir;;
15100 +      esac
15101 +      as_dirs="'$as_qdir' $as_dirs"
15102 +      as_dir=`$as_dirname -- "$as_dir" ||
15103  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15104          X"$as_dir" : 'X\(//\)[^/]' \| \
15105          X"$as_dir" : 'X\(//\)$' \| \
15106 -        X"$as_dir" : 'X\(/\)' \| \
15107 -        .     : '\(.\)' 2>/dev/null ||
15108 +        X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15109  echo X"$as_dir" |
15110 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15111 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15112 -         /^X\(\/\/\)$/{ s//\1/; q; }
15113 -         /^X\(\/\).*/{ s//\1/; q; }
15114 -         s/.*/./; q'`
15115 +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15116 +           s//\1/
15117 +           q
15118 +         }
15119 +         /^X\(\/\/\)[^/].*/{
15120 +           s//\1/
15121 +           q
15122 +         }
15123 +         /^X\(\/\/\)$/{
15124 +           s//\1/
15125 +           q
15126 +         }
15127 +         /^X\(\/\).*/{
15128 +           s//\1/
15129 +           q
15130 +         }
15131 +         s/.*/./; q'`
15132 +      test -d "$as_dir" && break
15133      done
15134 -    test ! -n "$as_dirs" || mkdir $as_dirs
15135 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15136 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15137 +    test -z "$as_dirs" || eval "mkdir $as_dirs"
15138 +  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15139 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
15140     { (exit 1); exit 1; }; }; }
15141 -
15142    ac_builddir=.
15143  
15144 -if test "$ac_dir" != .; then
15145 +case "$ac_dir" in
15146 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15147 +*)
15148    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15149 -  # A "../" for each directory in $ac_dir_suffix.
15150 -  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15151 -else
15152 -  ac_dir_suffix= ac_top_builddir=
15153 -fi
15154 +  # A ".." for each directory in $ac_dir_suffix.
15155 +  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15156 +  case $ac_top_builddir_sub in
15157 +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15158 +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15159 +  esac ;;
15160 +esac
15161 +ac_abs_top_builddir=$ac_pwd
15162 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
15163 +# for backward compatibility:
15164 +ac_top_builddir=$ac_top_build_prefix
15165  
15166  case $srcdir in
15167 -  .)  # No --srcdir option.  We are building in place.
15168 +  .)  # We are building in place.
15169      ac_srcdir=.
15170 -    if test -z "$ac_top_builddir"; then
15171 -       ac_top_srcdir=.
15172 -    else
15173 -       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15174 -    fi ;;
15175 -  [\\/]* | ?:[\\/]* )  # Absolute path.
15176 +    ac_top_srcdir=$ac_top_builddir_sub
15177 +    ac_abs_top_srcdir=$ac_pwd ;;
15178 +  [\\/]* | ?:[\\/]* )  # Absolute name.
15179      ac_srcdir=$srcdir$ac_dir_suffix;
15180 -    ac_top_srcdir=$srcdir ;;
15181 -  *) # Relative path.
15182 -    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15183 -    ac_top_srcdir=$ac_top_builddir$srcdir ;;
15184 +    ac_top_srcdir=$srcdir
15185 +    ac_abs_top_srcdir=$srcdir ;;
15186 +  *) # Relative name.
15187 +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15188 +    ac_top_srcdir=$ac_top_build_prefix$srcdir
15189 +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15190  esac
15191 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15192  
15193 -# Do not use `cd foo && pwd` to compute absolute paths, because
15194 -# the directories may not exist.
15195 -case `pwd` in
15196 -.) ac_abs_builddir="$ac_dir";;
15197 -*)
15198 -  case "$ac_dir" in
15199 -  .) ac_abs_builddir=`pwd`;;
15200 -  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15201 -  *) ac_abs_builddir=`pwd`/"$ac_dir";;
15202 -  esac;;
15203 -esac
15204 -case $ac_abs_builddir in
15205 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
15206 -*)
15207 -  case ${ac_top_builddir}. in
15208 -  .) ac_abs_top_builddir=$ac_abs_builddir;;
15209 -  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15210 -  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15211 -  esac;;
15212 -esac
15213 -case $ac_abs_builddir in
15214 -.) ac_abs_srcdir=$ac_srcdir;;
15215 -*)
15216 -  case $ac_srcdir in
15217 -  .) ac_abs_srcdir=$ac_abs_builddir;;
15218 -  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15219 -  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15220 -  esac;;
15221 -esac
15222 -case $ac_abs_builddir in
15223 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
15224 -*)
15225 -  case $ac_top_srcdir in
15226 -  .) ac_abs_top_srcdir=$ac_abs_builddir;;
15227 -  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15228 -  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15229 -  esac;;
15230 -esac
15231  
15232 +  case $ac_mode in
15233 +  :F)
15234 +  #
15235 +  # CONFIG_FILE
15236 +  #
15237  
15238    case $INSTALL in
15239    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15240 -  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15241 +  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15242    esac
15243 +_ACEOF
15244  
15245 -  if test x"$ac_file" != x-; then
15246 -    { echo "$as_me:$LINENO: creating $ac_file" >&5
15247 -echo "$as_me: creating $ac_file" >&6;}
15248 -    rm -f "$ac_file"
15249 -  fi
15250 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
15251 -  # use $as_me), people would be surprised to read:
15252 -  #    /* config.h.  Generated by config.status.  */
15253 -  if test x"$ac_file" = x-; then
15254 -    configure_input=
15255 -  else
15256 -    configure_input="$ac_file.  "
15257 -  fi
15258 -  configure_input=$configure_input"Generated from `echo $ac_file_in |
15259 -                                    sed 's,.*/,,'` by configure."
15260 -
15261 -  # First look for the input files in the build tree, otherwise in the
15262 -  # src tree.
15263 -  ac_file_inputs=`IFS=:
15264 -    for f in $ac_file_in; do
15265 -      case $f in
15266 -      -) echo $tmp/stdin ;;
15267 -      [\\/$]*)
15268 -        # Absolute (can't be DOS-style, as IFS=:)
15269 -        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15270 -echo "$as_me: error: cannot find input file: $f" >&2;}
15271 -   { (exit 1); exit 1; }; }
15272 -        echo "$f";;
15273 -      *) # Relative
15274 -        if test -f "$f"; then
15275 -          # Build tree
15276 -          echo "$f"
15277 -        elif test -f "$srcdir/$f"; then
15278 -          # Source tree
15279 -          echo "$srcdir/$f"
15280 -        else
15281 -          # /dev/null tree
15282 -          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15283 -echo "$as_me: error: cannot find input file: $f" >&2;}
15284 -   { (exit 1); exit 1; }; }
15285 -        fi;;
15286 -      esac
15287 -    done` || { (exit 1); exit 1; }
15288 +cat >>$CONFIG_STATUS <<\_ACEOF
15289 +# If the template does not know about datarootdir, expand it.
15290 +# FIXME: This hack should be removed a few years after 2.60.
15291 +ac_datarootdir_hack=; ac_datarootdir_seen=
15292 +
15293 +case `sed -n '/datarootdir/ {
15294 +  p
15295 +  q
15296 +}
15297 +/@datadir@/p
15298 +/@docdir@/p
15299 +/@infodir@/p
15300 +/@localedir@/p
15301 +/@mandir@/p
15302 +' $ac_file_inputs` in
15303 +*datarootdir*) ac_datarootdir_seen=yes;;
15304 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15305 +  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15306 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15307  _ACEOF
15308  cat >>$CONFIG_STATUS <<_ACEOF
15309 +  ac_datarootdir_hack='
15310 +  s&@datadir@&$datadir&g
15311 +  s&@docdir@&$docdir&g
15312 +  s&@infodir@&$infodir&g
15313 +  s&@localedir@&$localedir&g
15314 +  s&@mandir@&$mandir&g
15315 +    s&\\\${datarootdir}&$datarootdir&g' ;;
15316 +esac
15317 +_ACEOF
15318 +
15319 +# Neutralize VPATH when `$srcdir' = `.'.
15320 +# Shell code in configure.ac might set extrasub.
15321 +# FIXME: do we really want to maintain this feature?
15322 +cat >>$CONFIG_STATUS <<_ACEOF
15323    sed "$ac_vpsub
15324  $extrasub
15325  _ACEOF
15326  cat >>$CONFIG_STATUS <<\_ACEOF
15327  :t
15328  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15329 -s,@configure_input@,$configure_input,;t t
15330 -s,@srcdir@,$ac_srcdir,;t t
15331 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
15332 -s,@top_srcdir@,$ac_top_srcdir,;t t
15333 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15334 -s,@builddir@,$ac_builddir,;t t
15335 -s,@abs_builddir@,$ac_abs_builddir,;t t
15336 -s,@top_builddir@,$ac_top_builddir,;t t
15337 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15338 -s,@INSTALL@,$ac_INSTALL,;t t
15339 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15340 -  rm -f $tmp/stdin
15341 -  if test x"$ac_file" != x-; then
15342 -    mv $tmp/out $ac_file
15343 -  else
15344 -    cat $tmp/out
15345 -    rm -f $tmp/out
15346 -  fi
15347 -
15348 -done
15349 -_ACEOF
15350 -cat >>$CONFIG_STATUS <<\_ACEOF
15351 -
15352 -#
15353 -# CONFIG_HEADER section.
15354 -#
15355 -
15356 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15357 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
15358 -#
15359 -# ac_d sets the value in "#define NAME VALUE" lines.
15360 -ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
15361 -ac_dB='[        ].*$,\1#\2'
15362 -ac_dC=' '
15363 -ac_dD=',;t'
15364 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15365 -ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
15366 -ac_uB='$,\1#\2define\3'
15367 -ac_uC=' '
15368 -ac_uD=',;t'
15369 -
15370 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15371 -  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15372 +s&@configure_input@&$configure_input&;t t
15373 +s&@top_builddir@&$ac_top_builddir_sub&;t t
15374 +s&@srcdir@&$ac_srcdir&;t t
15375 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
15376 +s&@top_srcdir@&$ac_top_srcdir&;t t
15377 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15378 +s&@builddir@&$ac_builddir&;t t
15379 +s&@abs_builddir@&$ac_abs_builddir&;t t
15380 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15381 +s&@INSTALL@&$ac_INSTALL&;t t
15382 +$ac_datarootdir_hack
15383 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
15384 +
15385 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15386 +  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15387 +  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15388 +  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15389 +which seems to be undefined.  Please make sure it is defined." >&5
15390 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15391 +which seems to be undefined.  Please make sure it is defined." >&2;}
15392 +
15393 +  rm -f "$tmp/stdin"
15394    case $ac_file in
15395 -  - | *:- | *:-:* ) # input from stdin
15396 -       cat >$tmp/stdin
15397 -       ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15398 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15399 -  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15400 -       ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15401 -  * )   ac_file_in=$ac_file.in ;;
15402 +  -) cat "$tmp/out"; rm -f "$tmp/out";;
15403 +  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15404    esac
15405 -
15406 -  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15407 -echo "$as_me: creating $ac_file" >&6;}
15408 -
15409 -  # First look for the input files in the build tree, otherwise in the
15410 -  # src tree.
15411 -  ac_file_inputs=`IFS=:
15412 -    for f in $ac_file_in; do
15413 -      case $f in
15414 -      -) echo $tmp/stdin ;;
15415 -      [\\/$]*)
15416 -        # Absolute (can't be DOS-style, as IFS=:)
15417 -        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15418 -echo "$as_me: error: cannot find input file: $f" >&2;}
15419 -   { (exit 1); exit 1; }; }
15420 -        # Do quote $f, to prevent DOS paths from being IFS'd.
15421 -        echo "$f";;
15422 -      *) # Relative
15423 -        if test -f "$f"; then
15424 -          # Build tree
15425 -          echo "$f"
15426 -        elif test -f "$srcdir/$f"; then
15427 -          # Source tree
15428 -          echo "$srcdir/$f"
15429 -        else
15430 -          # /dev/null tree
15431 -          { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15432 -echo "$as_me: error: cannot find input file: $f" >&2;}
15433 -   { (exit 1); exit 1; }; }
15434 -        fi;;
15435 -      esac
15436 -    done` || { (exit 1); exit 1; }
15437 -  # Remove the trailing spaces.
15438 -  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
15439 -
15440 -_ACEOF
15441 -
15442 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
15443 -# `conftest.undefs', that substitutes the proper values into
15444 -# config.h.in to produce config.h.  The first handles `#define'
15445 -# templates, and the second `#undef' templates.
15446 -# And first: Protect against being on the right side of a sed subst in
15447 -# config.status.  Protect against being in an unquoted here document
15448 -# in config.status.
15449 -rm -f conftest.defines conftest.undefs
15450 -# Using a here document instead of a string reduces the quoting nightmare.
15451 -# Putting comments in sed scripts is not portable.
15452 -#
15453 -# `end' is used to avoid that the second main sed command (meant for
15454 -# 0-ary CPP macros) applies to n-ary macro definitions.
15455 -# See the Autoconf documentation for `clear'.
15456 -cat >confdef2sed.sed <<\_ACEOF
15457 -s/[\\&,]/\\&/g
15458 -s,[\\$`],\\&,g
15459 -t clear
15460 -: clear
15461 -s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15462 -t end
15463 -s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15464 -: end
15465 -_ACEOF
15466 -# If some macros were called several times there might be several times
15467 -# the same #defines, which is useless.  Nevertheless, we may not want to
15468 -# sort them, since we want the *last* AC-DEFINE to be honored.
15469 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15470 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15471 -rm -f confdef2sed.sed
15472 -
15473 -# This sed command replaces #undef with comments.  This is necessary, for
15474 + ;;
15475 +  :H)
15476 +  #
15477 +  # CONFIG_HEADER
15478 +  #
15479 +_ACEOF
15480 +
15481 +# Transform confdefs.h into a sed script `conftest.defines', that
15482 +# substitutes the proper values into config.h.in to produce config.h.
15483 +rm -f conftest.defines conftest.tail
15484 +# First, append a space to every undef/define line, to ease matching.
15485 +echo 's/$/ /' >conftest.defines
15486 +# Then, protect against being on the right side of a sed subst, or in
15487 +# an unquoted here document, in config.status.  If some macros were
15488 +# called several times there might be several #defines for the same
15489 +# symbol, which is useless.  But do not sort them, since the last
15490 +# AC_DEFINE must be honored.
15491 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15492 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15493 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
15494 +# PARAMS is the parameter list in the macro definition--in most cases, it's
15495 +# just an empty string.
15496 +ac_dA='s,^\\([  #]*\\)[^        ]*\\([  ]*'
15497 +ac_dB='\\)[     (].*,\\1define\\2'
15498 +ac_dC=' '
15499 +ac_dD=' ,'
15500 +
15501 +uniq confdefs.h |
15502 +  sed -n '
15503 +       t rset
15504 +       :rset
15505 +       s/^[     ]*#[    ]*define[       ][      ]*//
15506 +       t ok
15507 +       d
15508 +       :ok
15509 +       s/[\\&,]/\\&/g
15510 +       s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15511 +       s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15512 +  ' >>conftest.defines
15513 +
15514 +# Remove the space that was appended to ease matching.
15515 +# Then replace #undef with comments.  This is necessary, for
15516  # example, in the case of _POSIX_SOURCE, which is predefined and required
15517  # on some systems where configure will not decide to define it.
15518 -cat >>conftest.undefs <<\_ACEOF
15519 -s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15520 -_ACEOF
15521 -
15522 -# Break up conftest.defines because some shells have a limit on the size
15523 -# of here documents, and old seds have small limits too (100 cmds).
15524 -echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15525 -echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15526 -echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15527 -echo '  :' >>$CONFIG_STATUS
15528 -rm -f conftest.tail
15529 -while grep . conftest.defines >/dev/null
15530 +# (The regexp can be short, since the line contains either #define or #undef.)
15531 +echo 's/ $//
15532 +s,^[    #]*u.*,/* & */,' >>conftest.defines
15533 +
15534 +# Break up conftest.defines:
15535 +ac_max_sed_lines=50
15536 +
15537 +# First sed command is:         sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15538 +# Second one is:        sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15539 +# Third one will be:    sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15540 +# et cetera.
15541 +ac_in='$ac_file_inputs'
15542 +ac_out='"$tmp/out1"'
15543 +ac_nxt='"$tmp/out2"'
15544 +
15545 +while :
15546  do
15547 -  # Write a limited-size here document to $tmp/defines.sed.
15548 -  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15549 -  # Speed up: don't consider the non `#define' lines.
15550 -  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
15551 -  # Work around the forget-to-reset-the-flag bug.
15552 -  echo 't clr' >>$CONFIG_STATUS
15553 -  echo ': clr' >>$CONFIG_STATUS
15554 -  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15555 +  # Write a here document:
15556 +    cat >>$CONFIG_STATUS <<_ACEOF
15557 +    # First, check the format of the line:
15558 +    cat >"\$tmp/defines.sed" <<\\CEOF
15559 +/^[     ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
15560 +/^[     ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
15561 +b
15562 +:def
15563 +_ACEOF
15564 +  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15565    echo 'CEOF
15566 -  sed -f $tmp/defines.sed $tmp/in >$tmp/out
15567 -  rm -f $tmp/in
15568 -  mv $tmp/out $tmp/in
15569 -' >>$CONFIG_STATUS
15570 -  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15571 +    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15572 +  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15573 +  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15574 +  grep . conftest.tail >/dev/null || break
15575    rm -f conftest.defines
15576    mv conftest.tail conftest.defines
15577  done
15578 -rm -f conftest.defines
15579 -echo '  fi # grep' >>$CONFIG_STATUS
15580 -echo >>$CONFIG_STATUS
15581 -
15582 -# Break up conftest.undefs because some shells have a limit on the size
15583 -# of here documents, and old seds have small limits too (100 cmds).
15584 -echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
15585 -rm -f conftest.tail
15586 -while grep . conftest.undefs >/dev/null
15587 -do
15588 -  # Write a limited-size here document to $tmp/undefs.sed.
15589 -  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15590 -  # Speed up: don't consider the non `#undef'
15591 -  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
15592 -  # Work around the forget-to-reset-the-flag bug.
15593 -  echo 't clr' >>$CONFIG_STATUS
15594 -  echo ': clr' >>$CONFIG_STATUS
15595 -  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15596 -  echo 'CEOF
15597 -  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15598 -  rm -f $tmp/in
15599 -  mv $tmp/out $tmp/in
15600 -' >>$CONFIG_STATUS
15601 -  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15602 -  rm -f conftest.undefs
15603 -  mv conftest.tail conftest.undefs
15604 -done
15605 -rm -f conftest.undefs
15606 +rm -f conftest.defines conftest.tail
15607  
15608 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
15609  cat >>$CONFIG_STATUS <<\_ACEOF
15610 -  # Let's still pretend it is `configure' which instantiates (i.e., don't
15611 -  # use $as_me), people would be surprised to read:
15612 -  #    /* config.h.  Generated by config.status.  */
15613 -  if test x"$ac_file" = x-; then
15614 -    echo "/* Generated by configure.  */" >$tmp/config.h
15615 -  else
15616 -    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
15617 -  fi
15618 -  cat $tmp/in >>$tmp/config.h
15619 -  rm -f $tmp/in
15620    if test x"$ac_file" != x-; then
15621 -    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15622 +    echo "/* $configure_input  */" >"$tmp/config.h"
15623 +    cat "$ac_result" >>"$tmp/config.h"
15624 +    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15625        { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15626  echo "$as_me: $ac_file is unchanged" >&6;}
15627      else
15628 -      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15629 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15630 -        X"$ac_file" : 'X\(//\)[^/]' \| \
15631 -        X"$ac_file" : 'X\(//\)$' \| \
15632 -        X"$ac_file" : 'X\(/\)' \| \
15633 -        .     : '\(.\)' 2>/dev/null ||
15634 -echo X"$ac_file" |
15635 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15636 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15637 -         /^X\(\/\/\)$/{ s//\1/; q; }
15638 -         /^X\(\/\).*/{ s//\1/; q; }
15639 -         s/.*/./; q'`
15640 -      { if $as_mkdir_p; then
15641 -    mkdir -p "$ac_dir"
15642 -  else
15643 -    as_dir="$ac_dir"
15644 -    as_dirs=
15645 -    while test ! -d "$as_dir"; do
15646 -      as_dirs="$as_dir $as_dirs"
15647 -      as_dir=`(dirname "$as_dir") 2>/dev/null ||
15648 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15649 -        X"$as_dir" : 'X\(//\)[^/]' \| \
15650 -        X"$as_dir" : 'X\(//\)$' \| \
15651 -        X"$as_dir" : 'X\(/\)' \| \
15652 -        .     : '\(.\)' 2>/dev/null ||
15653 -echo X"$as_dir" |
15654 -    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15655 -         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15656 -         /^X\(\/\/\)$/{ s//\1/; q; }
15657 -         /^X\(\/\).*/{ s//\1/; q; }
15658 -         s/.*/./; q'`
15659 -    done
15660 -    test ! -n "$as_dirs" || mkdir $as_dirs
15661 -  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15662 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15663 -   { (exit 1); exit 1; }; }; }
15664 -
15665        rm -f $ac_file
15666 -      mv $tmp/config.h $ac_file
15667 +      mv "$tmp/config.h" $ac_file
15668      fi
15669    else
15670 -    cat $tmp/config.h
15671 -    rm -f $tmp/config.h
15672 +    echo "/* $configure_input  */"
15673 +    cat "$ac_result"
15674    fi
15675 -done
15676 -_ACEOF
15677 +  rm -f "$tmp/out12"
15678 + ;;
15679 +
15680 +
15681 +  esac
15682 +
15683 +done # for ac_tag
15684  
15685 -cat >>$CONFIG_STATUS <<\_ACEOF
15686  
15687  { (exit 0); exit 0; }
15688  _ACEOF
15689 -- 
15690 1.5.3.6.2033.g1437
15691