1 diff -urN gcc-4.2.1-orig/config.guess gcc-4.2.1/config.guess
2 --- gcc-4.2.1-orig/config.guess 2006-10-15 22:27:17.000000000 -0500
3 +++ gcc-4.2.1/config.guess 2007-07-29 16:33:50.000000000 -0500
5 # Note: order is significant - the case branches are not exclusive.
7 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
9 + echo ${UNAME_MACHINE}-polintos
12 # NetBSD (nbsd) targets should (where applicable) match one or
13 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
14 diff -urN gcc-4.2.1-orig/config.sub gcc-4.2.1/config.sub
15 --- gcc-4.2.1-orig/config.sub 2006-10-15 22:27:17.000000000 -0500
16 +++ gcc-4.2.1/config.sub 2007-07-29 16:34:15.000000000 -0500
18 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
19 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
20 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
21 - | -skyos* | -haiku* | -rdos* | -toppers*)
22 + | -skyos* | -haiku* | -rdos* | -toppers* | -polintos*)
23 # Remember, each alternative MUST END IN *, to match a version number.
26 diff -urN gcc-4.2.1-orig/gcc/config/i386/polintos.h gcc-4.2.1/gcc/config/i386/polintos.h
27 --- gcc-4.2.1-orig/gcc/config/i386/polintos.h 1969-12-31 18:00:00.000000000 -0600
28 +++ gcc-4.2.1/gcc/config/i386/polintos.h 2007-07-29 17:32:44.000000000 -0500
30 +/* Definitions for Intel x86 running PolIntOS.
31 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2004
32 + Free Software Foundation, Inc.
33 + Based on i386/linux.h
35 +This file is part of GCC.
37 +GCC is free software; you can redistribute it and/or modify
38 +it under the terms of the GNU General Public License as published by
39 +the Free Software Foundation; either version 2, or (at your option)
42 +GCC is distributed in the hope that it will be useful,
43 +but WITHOUT ANY WARRANTY; without even the implied warranty of
44 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45 +GNU General Public License for more details.
47 +You should have received a copy of the GNU General Public License
48 +along with GCC; see the file COPYING. If not, write to
49 +the Free Software Foundation, 51 Franklin Street, Fifth Floor,
50 +Boston, MA 02110-1301, USA. */
52 +/* Output at beginning of assembler file. */
53 +/* The .file command should always begin the output. */
54 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
56 +#define TARGET_VERSION fprintf (stderr, " (x86 PolIntOS)");
58 +/* The svr4 ABI for the i386 says that records and unions are returned
60 +#undef DEFAULT_PCC_STRUCT_RETURN
61 +#define DEFAULT_PCC_STRUCT_RETURN 1
63 +/* We arrange for the whole %gs segment to map the tls area. */
64 +#undef TARGET_TLS_DIRECT_SEG_REFS_DEFAULT
65 +#define TARGET_TLS_DIRECT_SEG_REFS_DEFAULT MASK_TLS_DIRECT_SEG_REFS
67 +#undef ASM_COMMENT_START
68 +#define ASM_COMMENT_START "#"
70 +#define NO_PROFILE_COUNTERS 1
73 +#define MCOUNT_NAME "mcount"
75 +#define TARGET_OS_CPP_BUILTINS() do { \
76 + POLINTOS_TARGET_OS_CPP_BUILTINS(); \
78 + builtin_define("__PIC__"); \
79 + builtin_define("__pic__"); \
83 +#define LINK_EMULATION "elf_i386"
84 +#define DYNAMIC_LINKER "/System/Libraries/DynamicLinker"
86 +#undef SUBTARGET_EXTRA_SPECS
87 +#define SUBTARGET_EXTRA_SPECS \
88 + { "link_emulation", LINK_EMULATION },\
89 + { "dynamic_linker", DYNAMIC_LINKER }
92 +#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
96 + %{rdynamic:-export-dynamic} \
97 + %{!dynamic-linker:-dynamic-linker %(dynamic_linker)}} \
98 + %{static:-static}}}"
102 +#define ENDFILE_SPEC \
103 + "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} "
106 +/* A C statement (sans semicolon) to output to the stdio stream
107 + FILE the assembler definition of uninitialized global DECL named
108 + NAME whose size is SIZE bytes and alignment is ALIGN bytes.
109 + Try to use asm_output_aligned_bss to implement this macro. */
111 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
112 + asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
114 +/* A C statement to output to the stdio stream FILE an assembler
115 + command to advance the location counter to a multiple of 1<<LOG
116 + bytes if it is within MAX_SKIP bytes.
118 + This is used to align code labels according to Intel recommendations. */
120 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
121 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
123 + if ((LOG) != 0) { \
124 + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
125 + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
130 +/* Handle special EH pointer encodings. Absolute, pc-relative, and
131 + indirect are handled automatically. */
132 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
134 + if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
136 + fputs (ASM_LONG, FILE); \
137 + assemble_name (FILE, XSTR (ADDR, 0)); \
138 + fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
143 +/* Used by crtstuff.c to initialize the base of data-relative relocations.
144 + These are GOT relative on x86, so return the pic register. */
146 +#define CRT_GET_RFIB_DATA(BASE) \
148 + register void *ebx_ __asm__("ebx"); \
152 +#define CRT_GET_RFIB_DATA(BASE) \
153 + __asm__ ("call\t.LPR%=\n" \
156 + /* Due to a GAS bug, this cannot use EAX. That encodes \
157 + smaller than the traditional EBX, which results in the \
158 + offset being off by one. */ \
159 + "addl\t$_GLOBAL_OFFSET_TABLE_+[.-.LPR%=],%0" \
163 +#undef NEED_INDICATE_EXEC_STACK
164 +#define NEED_INDICATE_EXEC_STACK 1
166 +//#define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
168 +#define REG_NAME(reg) reg
171 +#ifdef TARGET_LIBC_PROVIDES_SSP
172 +/* i386 glibc provides __stack_chk_guard in %gs:0x14. */
173 +#define TARGET_THREAD_SSP_OFFSET 0x14
176 diff -urN gcc-4.2.1-orig/gcc/config/polintos.h gcc-4.2.1/gcc/config/polintos.h
177 --- gcc-4.2.1-orig/gcc/config/polintos.h 1969-12-31 18:00:00.000000000 -0600
178 +++ gcc-4.2.1/gcc/config/polintos.h 2007-07-29 17:01:06.000000000 -0500
180 +/* Target definitions for PolIntOS
181 + Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, 1999,
182 + 2000, 2001 Free Software Foundation, Inc.
185 +This file is part of GCC.
187 +GCC is free software; you can redistribute it and/or modify
188 +it under the terms of the GNU General Public License as published by
189 +the Free Software Foundation; either version 2, or (at your option)
192 +GCC is distributed in the hope that it will be useful,
193 +but WITHOUT ANY WARRANTY; without even the implied warranty of
194 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
195 +GNU General Public License for more details.
197 +You should have received a copy of the GNU General Public License
198 +along with GCC; see the file COPYING. If not, write to
199 +the Free Software Foundation, 51 Franklin Street, Fifth Floor,
200 +Boston, MA 02110-1301, USA. */
202 +/* Don't assume anything about the header files. */
203 +#define NO_IMPLICIT_EXTERN_C
206 +#define ASM_APP_ON "#APP\n"
209 +#define ASM_APP_OFF "#NO_APP\n"
211 +// These (or something like it) will be used soon, but not yet.
214 +/* Provide a STARTFILE_SPEC appropriate for PolIntOS. Here we add
215 + the magical crtbegin.o file (see crtstuff.c) which provides part of
216 + the support for getting C++ file-scope static object constructed
217 + before entering `main'. */
219 +#if defined HAVE_LD_PIE
220 +#define STARTFILE_SPEC \
221 + "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
222 + crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
224 +#define STARTFILE_SPEC \
225 + "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
226 + crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
229 +/* Provide a ENDFILE_SPEC appropriate for PolIntOS. Here we tack on the
230 + magical crtend.o file (see crtstuff.c) which provides part of the
231 + support for getting C++ file-scope static object constructed before
232 + entering `main', followed by a normal "finalizer" file, `crtn.o'. */
235 +#define ENDFILE_SPEC \
236 + "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
239 +#undef STARTFILE_SPEC
240 +#define STARTFILE_SPEC ""
242 +#define ENDFILE_SPEC ""
245 +/* This is for -profile to use -lc_p instead of -lc. */
247 +#define CC1_SPEC "%{profile:-p}"
252 + "%{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
254 +#if defined(HAVE_LD_EH_FRAME_HDR)
255 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
258 +#define HANDLE_PRAGMA_PACK_PUSH_POP
260 +#define LINK_GCC_C_SEQUENCE_SPEC "--start-group %G %L --end-group"
262 +/* Use --as-needed -lgcc_s for eh support. */
263 +#ifdef HAVE_LD_AS_NEEDED
264 +#define USE_LD_AS_NEEDED 1
267 +#define POLINTOS_TARGET_OS_CPP_BUILTINS() do { \
268 + builtin_define_std ("polintos"); \
271 +/* Determine whether the entire c99 runtime
272 + is present in the runtime library. */
273 +#define TARGET_C99_FUNCTIONS 1
275 +#define TARGET_POSIX_IO
276 diff -urN gcc-4.2.1-orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
277 --- gcc-4.2.1-orig/gcc/config.gcc 2007-02-02 23:25:20.000000000 -0600
278 +++ gcc-4.2.1/gcc/config.gcc 2007-07-29 16:33:50.000000000 -0500
279 @@ -1341,6 +1341,10 @@
280 tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h kaos.h i386/kaos-i386.h"
281 tmake_file="i386/t-i386elf t-svr4"
283 +i[567]86-*-polintos*)
284 + tm_file="${tm_file} i386/unix.h i386/att.h elfos.h polintos.h i386/polintos.h"
285 + tmake_file="${tmake_file} i386/t-crtstuff i386/t-crtfm"
288 tm_file="${tm_file} dbxelf.h elfos.h ia64/sysv4.h ia64/elf.h"
289 tmake_file="ia64/t-ia64"
290 diff -urN gcc-4.2.1-orig/libiberty/configure gcc-4.2.1/libiberty/configure
291 --- gcc-4.2.1-orig/libiberty/configure 2006-08-30 08:46:50.000000000 -0500
292 +++ gcc-4.2.1/libiberty/configure 2007-07-31 17:22:27.000000000 -0500
295 # Guess values for system-dependent variables and create Makefiles.
296 -# Generated by GNU Autoconf 2.59.
297 +# Generated by GNU Autoconf 2.61.
299 -# Copyright (C) 2003 Free Software Foundation, Inc.
300 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
301 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
302 # This configure script is free software; the Free Software Foundation
303 # gives unlimited permission to copy, distribute and modify it.
304 ## --------------------- ##
305 ## M4sh Initialization. ##
306 ## --------------------- ##
308 -# Be Bourne compatible
309 +# Be more Bourne compatible
310 +DUALCASE=1; export DUALCASE # for MKS sh
311 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
314 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
315 # is contrary to our usage. Disable this feature.
316 alias -g '${1+"$@"}'='"$@"'
317 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
319 + setopt NO_GLOB_SUBST
321 + case `(set -o) 2>/dev/null` in
322 + *posix*) set -o posix ;;
331 +# Avoid depending upon Character Ranges.
332 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
333 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
334 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
335 +as_cr_digits='0123456789'
336 +as_cr_alnum=$as_cr_Letters$as_cr_digits
338 +# The user is always right.
339 +if test "${PATH_SEPARATOR+set}" != set; then
340 + echo "#! /bin/sh" >conf$$.sh
341 + echo "exit 0" >>conf$$.sh
343 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
350 -DUALCASE=1; export DUALCASE # for MKS sh
352 # Support unset when possible.
353 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
359 +# We need space, tab and new line, in precisely that order. Quoting is
360 +# there to prevent editors from complaining about space-tab.
361 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
362 +# splitting by setting IFS to empty value.)
367 +# Find who we are. Look in the path if we contain no directory separator.
369 + *[\\/]* ) as_myself=$0 ;;
370 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
374 + test -z "$as_dir" && as_dir=.
375 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
381 +# We did not find ourselves, most probably we were run as `sh COMMAND'
382 +# in which case we are not to be found in the path.
383 +if test "x$as_myself" = x; then
386 +if test ! -f "$as_myself"; then
387 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
388 + { (exit 1); exit 1; }
391 # Work around bugs in pre-3.0 UWIN ksh.
392 -$as_unset ENV MAIL MAILPATH
393 +for as_var in ENV MAIL MAILPATH
394 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
400 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
401 eval $as_var=C; export $as_var
404 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
408 # Required to use basename.
409 -if expr a : '\(a\)' >/dev/null 2>&1; then
410 +if expr a : '\(a\)' >/dev/null 2>&1 &&
411 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
417 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
418 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
422 @@ -63,157 +128,388 @@
425 # Name of the executable.
426 -as_me=`$as_basename "$0" ||
427 +as_me=`$as_basename -- "$0" ||
428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
429 X"$0" : 'X\(//\)$' \| \
430 - X"$0" : 'X\(/\)$' \| \
431 - . : '\(.\)' 2>/dev/null ||
432 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
434 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
435 - /^X\/\(\/\/\)$/{ s//\1/; q; }
436 - /^X\/\(\/\).*/{ s//\1/; q; }
438 + sed '/^.*\/\([^/][^/]*\)\/*$/{
455 -# PATH needs CR, and LINENO needs CR and PATH.
456 -# Avoid depending upon Character Ranges.
457 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 -as_cr_digits='0123456789'
461 -as_cr_alnum=$as_cr_Letters$as_cr_digits
463 -# The user is always right.
464 -if test "${PATH_SEPARATOR+set}" != set; then
465 - echo "#! /bin/sh" >conf$$.sh
466 - echo "exit 0" >>conf$$.sh
468 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
474 +if test "x$CONFIG_SHELL" = x; then
475 + if (eval ":") 2>/dev/null; then
476 + as_have_required=yes
478 + as_have_required=no
481 + if test $as_have_required = yes && (eval ":
482 +(as_func_return () {
485 +as_func_success () {
488 +as_func_failure () {
491 +as_func_ret_success () {
494 +as_func_ret_failure () {
498 - as_lineno_1=$LINENO
499 - as_lineno_2=$LINENO
500 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
501 - test "x$as_lineno_1" != "x$as_lineno_2" &&
502 - test "x$as_lineno_3" = "x$as_lineno_2" || {
503 - # Find who we are. Look in the path if we contain no path at all
506 - *[\\/]* ) as_myself=$0 ;;
507 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
511 - test -z "$as_dir" && as_dir=.
512 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
515 +if as_func_success; then
519 + echo as_func_success failed.
524 - # We did not find ourselves, most probably we were run as `sh COMMAND'
525 - # in which case we are not to be found in the path.
526 - if test "x$as_myself" = x; then
529 - if test ! -f "$as_myself"; then
530 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
531 - { (exit 1); exit 1; }; }
533 - case $CONFIG_SHELL in
535 +if as_func_failure; then
537 + echo as_func_failure succeeded.
540 +if as_func_ret_success; then
544 + echo as_func_ret_success failed.
547 +if as_func_ret_failure; then
549 + echo as_func_ret_failure succeeded.
552 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
556 + echo positional parameters were not saved.
559 +test \$exitcode = 0) || { (exit 1); exit 1; }
562 + as_lineno_1=\$LINENO
563 + as_lineno_2=\$LINENO
564 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
565 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
566 +") 2> /dev/null; then
569 + as_candidate_shells=
570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
571 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
574 test -z "$as_dir" && as_dir=.
575 - for as_base in sh bash ksh sh5; do
579 - if ("$as_dir/$as_base" -c '
580 + for as_base in sh bash ksh sh5; do
581 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
588 + for as_shell in $as_candidate_shells $SHELL; do
589 + # Try only shells that exist, to save several forks.
590 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
591 + { ("$as_shell") 2> /dev/null <<\_ASEOF
592 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
595 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
596 + # is contrary to our usage. Disable this feature.
597 + alias -g '${1+"$@"}'='"$@"'
598 + setopt NO_GLOB_SUBST
600 + case `(set -o) 2>/dev/null` in
601 + *posix*) set -o posix ;;
610 + CONFIG_SHELL=$as_shell
611 + as_have_required=yes
612 + if { "$as_shell" 2> /dev/null <<\_ASEOF
613 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
616 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
617 + # is contrary to our usage. Disable this feature.
618 + alias -g '${1+"$@"}'='"$@"'
619 + setopt NO_GLOB_SUBST
621 + case `(set -o) 2>/dev/null` in
622 + *posix*) set -o posix ;;
629 +(as_func_return () {
632 +as_func_success () {
635 +as_func_failure () {
638 +as_func_ret_success () {
641 +as_func_ret_failure () {
646 +if as_func_success; then
650 + echo as_func_success failed.
653 +if as_func_failure; then
655 + echo as_func_failure succeeded.
658 +if as_func_ret_success; then
662 + echo as_func_ret_success failed.
665 +if as_func_ret_failure; then
667 + echo as_func_ret_failure succeeded.
670 +if ( set x; as_func_ret_success y && test x = "$1" ); then
674 + echo positional parameters were not saved.
677 +test $exitcode = 0) || { (exit 1); exit 1; }
682 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
683 test "x$as_lineno_1" != "x$as_lineno_2" &&
684 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
685 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
686 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
687 - CONFIG_SHELL=$as_dir/$as_base
688 - export CONFIG_SHELL
689 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
696 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
707 + if test "x$CONFIG_SHELL" != x; then
708 + for as_var in BASH_ENV ENV
709 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
711 + export CONFIG_SHELL
712 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
716 + if test $as_have_required = no; then
717 + echo This script requires a shell more modern than all the
718 + echo shells that I found on your system. Please install a
719 + echo modern shell, or manually run the script under such a
720 + echo shell if you do have one.
721 + { (exit 1); exit 1; }
731 +(eval "as_func_return () {
734 +as_func_success () {
737 +as_func_failure () {
740 +as_func_ret_success () {
743 +as_func_ret_failure () {
748 +if as_func_success; then
752 + echo as_func_success failed.
755 +if as_func_failure; then
757 + echo as_func_failure succeeded.
760 +if as_func_ret_success; then
764 + echo as_func_ret_success failed.
767 +if as_func_ret_failure; then
769 + echo as_func_ret_failure succeeded.
772 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
776 + echo positional parameters were not saved.
779 +test \$exitcode = 0") || {
780 + echo No shell found that supports shell functions.
781 + echo Please tell autoconf@gnu.org about your system,
782 + echo including any error possibly output before this
788 + as_lineno_1=$LINENO
789 + as_lineno_2=$LINENO
790 + test "x$as_lineno_1" != "x$as_lineno_2" &&
791 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
793 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
794 # uniformly replaced by the line number. The first 'sed' inserts a
795 - # line-number line before each line; the second 'sed' does the real
796 - # work. The second script uses 'N' to pair each line-number line
797 - # with the numbered line, and appends trailing '-' during
798 - # substitution so that $LINENO is not a special case at line end.
799 + # line-number line after each line using $LINENO; the second 'sed'
800 + # does the real work. The second script uses 'N' to pair each
801 + # line-number line with the line containing $LINENO, and appends
802 + # trailing '-' during substitution so that $LINENO is not a special
803 + # case at line end.
804 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
805 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
806 - sed '=' <$as_myself |
807 + # scripts with optimization help from Paolo Bonzini. Blame Lee
808 + # E. McMahon (1931-1989) for sed's syntax. :-)
821 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
823 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
826 - s,^['$as_cr_digits']*\n,,
829 - chmod +x $as_me.lineno ||
830 + chmod +x "$as_me.lineno" ||
831 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
832 { (exit 1); exit 1; }; }
834 # Don't try to exec as it changes $[0], causing all sort of problems
835 # (the dirname of $[0] is not the place where we might find the
836 - # original and so on. Autoconf is especially sensible to this).
838 + # original and so on. Autoconf is especially sensitive to this).
839 + . "./$as_me.lineno"
840 # Exit status is that of the last command.
845 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
846 - *c*,-n*) ECHO_N= ECHO_C='
848 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
849 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
850 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
856 +ECHO_C= ECHO_N= ECHO_T=
859 + case `echo 'x\c'` in
860 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
867 -if expr a : '\(a\)' >/dev/null 2>&1; then
868 +if expr a : '\(a\)' >/dev/null 2>&1 &&
869 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
875 rm -f conf$$ conf$$.exe conf$$.file
876 +if test -d conf$$.dir; then
877 + rm -f conf$$.dir/conf$$.file
883 if ln -s conf$$.file conf$$ 2>/dev/null; then
884 - # We could just check for DJGPP; but this test a) works b) is more generic
885 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
886 - if test -f conf$$.exe; then
887 - # Don't use ln at all; we don't have any links
889 + # ... but there are two gotchas:
890 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
891 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
892 + # In both cases, we have to default to `cp -p'.
893 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
898 elif ln conf$$.file conf$$ 2>/dev/null; then
903 -rm -f conf$$ conf$$.exe conf$$.file
904 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
905 +rmdir conf$$.dir 2>/dev/null
907 if mkdir -p . 2>/dev/null; then
913 -as_executable_p="test -f"
914 +if test -x / >/dev/null 2>&1; then
915 + as_test_x='test -x'
917 + if ls -dL / >/dev/null 2>&1; then
924 + if test -d "$1"; then
930 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
931 + ???[sx]*):;;*)false;;esac;fi
935 +as_executable_p=$as_test_x
937 # Sed expression to map a string onto a valid CPP name.
938 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
939 @@ -231,39 +548,27 @@
940 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
944 -# We need space, tab and new line, in precisely that order.
952 +exec 7<&0 </dev/null 6>&1
955 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
956 # so uname gets run too.
957 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
964 ac_default_prefix=/usr/local
966 ac_config_libobj_dir=.
972 SHELL=${CONFIG_SHELL-/bin/sh}
974 -# Maximum number of lines to put in a shell here document.
975 -# This variable seems obsolete. It should probably be removed, and
976 -# only ac_max_sed_lines should be used.
977 -: ${ac_max_here_lines=38}
979 # Identity of this package.
982 @@ -275,42 +580,126 @@
983 # Factoring default headers for most tests.
984 ac_includes_default="\
986 -#if HAVE_SYS_TYPES_H
987 +#ifdef HAVE_SYS_TYPES_H
988 # include <sys/types.h>
991 +#ifdef HAVE_SYS_STAT_H
992 # include <sys/stat.h>
1000 +# ifdef HAVE_STDLIB_H
1001 # include <stdlib.h>
1005 -# if !STDC_HEADERS && HAVE_MEMORY_H
1006 +#ifdef HAVE_STRING_H
1007 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1008 # include <memory.h>
1010 # include <string.h>
1013 +#ifdef HAVE_STRINGS_H
1014 # include <strings.h>
1016 -#if HAVE_INTTYPES_H
1017 +#ifdef HAVE_INTTYPES_H
1018 # include <inttypes.h>
1021 -# include <stdint.h>
1025 +#ifdef HAVE_STDINT_H
1026 +# include <stdint.h>
1028 +#ifdef HAVE_UNISTD_H
1029 # include <unistd.h>
1032 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libiberty_topdir MAINT NOTMAINT MAKEINFO BUILD_INFO PERL HAVE_PERL build build_cpu build_vendor build_os host host_cpu host_vendor host_os AR ac_ct_AR RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP ac_libiberty_warn_cflags NO_MINUS_C_MINUS_O OUTPUT_OPTION INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LIBOBJS CHECK target_header_dir pexecute INSTALL_DEST datarootdir docdir htmldir LTLIBOBJS'
1033 +ac_subst_vars='SHELL
1042 +program_transform_name
1095 +ac_libiberty_warn_cflags
1109 ac_subst_files='host_makefile_frag'
1110 + ac_precious_vars='build_alias
1121 # Initialize some variables set by options.
1123 @@ -337,34 +726,48 @@
1124 # and all the variables that are supposed to be based on exec_prefix
1125 # by default will actually change.
1126 # Use braces instead of parens because sh, perl, etc. also accept them.
1127 +# (The list follows the same order as the GNU Coding Standards.)
1128 bindir='${exec_prefix}/bin'
1129 sbindir='${exec_prefix}/sbin'
1130 libexecdir='${exec_prefix}/libexec'
1131 -datadir='${prefix}/share'
1132 +datarootdir='${prefix}/share'
1133 +datadir='${datarootdir}'
1134 sysconfdir='${prefix}/etc'
1135 sharedstatedir='${prefix}/com'
1136 localstatedir='${prefix}/var'
1137 -libdir='${exec_prefix}/lib'
1138 includedir='${prefix}/include'
1139 oldincludedir='/usr/include'
1140 -infodir='${prefix}/info'
1141 -mandir='${prefix}/man'
1142 +docdir='${datarootdir}/doc/${PACKAGE}'
1143 +infodir='${datarootdir}/info'
1144 +htmldir='${docdir}'
1148 +libdir='${exec_prefix}/lib'
1149 +localedir='${datarootdir}/locale'
1150 +mandir='${datarootdir}/man'
1156 # If the previous option needs an argument, assign it.
1157 if test -n "$ac_prev"; then
1158 - eval "$ac_prev=\$ac_option"
1159 + eval $ac_prev=\$ac_option
1164 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1165 + case $ac_option in
1166 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1167 + *) ac_optarg=yes ;;
1170 # Accept the important Cygnus configure options, so we can diagnose typos.
1172 - case $ac_option in
1173 + case $ac_dashdash$ac_option in
1175 + ac_dashdash=yes ;;
1177 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1179 @@ -386,33 +789,45 @@
1180 --config-cache | -C)
1181 cache_file=config.cache ;;
1183 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1184 + -datadir | --datadir | --datadi | --datad)
1186 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1188 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1189 datadir=$ac_optarg ;;
1191 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1192 + | --dataroo | --dataro | --datar)
1193 + ac_prev=datarootdir ;;
1194 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1195 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1196 + datarootdir=$ac_optarg ;;
1198 -disable-* | --disable-*)
1199 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1202 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1206 - eval "enable_$ac_feature=no" ;;
1207 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1208 + eval enable_$ac_feature=no ;;
1210 + -docdir | --docdir | --docdi | --doc | --do)
1212 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1213 + docdir=$ac_optarg ;;
1215 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1217 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1218 + dvidir=$ac_optarg ;;
1220 -enable-* | --enable-*)
1221 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1224 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1226 { (exit 1); exit 1; }; }
1227 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1228 - case $ac_option in
1229 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1230 - *) ac_optarg=yes ;;
1232 - eval "enable_$ac_feature='$ac_optarg'" ;;
1233 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1234 + eval enable_$ac_feature=\$ac_optarg ;;
1236 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1237 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1238 @@ -439,6 +854,12 @@
1239 -host=* | --host=* | --hos=* | --ho=*)
1240 host_alias=$ac_optarg ;;
1242 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1243 + ac_prev=htmldir ;;
1244 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1246 + htmldir=$ac_optarg ;;
1248 -includedir | --includedir | --includedi | --included | --include \
1249 | --includ | --inclu | --incl | --inc)
1250 ac_prev=includedir ;;
1251 @@ -463,13 +884,16 @@
1252 | --libexe=* | --libex=* | --libe=*)
1253 libexecdir=$ac_optarg ;;
1255 + -localedir | --localedir | --localedi | --localed | --locale)
1256 + ac_prev=localedir ;;
1257 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1258 + localedir=$ac_optarg ;;
1260 -localstatedir | --localstatedir | --localstatedi | --localstated \
1261 - | --localstate | --localstat | --localsta | --localst \
1262 - | --locals | --local | --loca | --loc | --lo)
1263 + | --localstate | --localstat | --localsta | --localst | --locals)
1264 ac_prev=localstatedir ;;
1265 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1266 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1267 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1268 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1269 localstatedir=$ac_optarg ;;
1271 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1272 @@ -534,6 +958,16 @@
1273 | --progr-tra=* | --program-tr=* | --program-t=*)
1274 program_transform_name=$ac_optarg ;;
1276 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1278 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1279 + pdfdir=$ac_optarg ;;
1281 + -psdir | --psdir | --psdi | --psd | --ps)
1283 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1284 + psdir=$ac_optarg ;;
1286 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1287 | -silent | --silent | --silen | --sile | --sil)
1289 @@ -586,24 +1020,20 @@
1291 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1292 # Reject names that are not valid shell variable names.
1293 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1294 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1295 { echo "$as_me: error: invalid package name: $ac_package" >&2
1296 { (exit 1); exit 1; }; }
1297 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1298 - case $ac_option in
1299 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1300 - *) ac_optarg=yes ;;
1302 - eval "with_$ac_package='$ac_optarg'" ;;
1303 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1304 + eval with_$ac_package=\$ac_optarg ;;
1306 -without-* | --without-*)
1307 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1308 # Reject names that are not valid shell variable names.
1309 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1310 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1311 { echo "$as_me: error: invalid package name: $ac_package" >&2
1312 { (exit 1); exit 1; }; }
1313 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1314 - eval "with_$ac_package=no" ;;
1315 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1316 + eval with_$ac_package=no ;;
1319 # Obsolete; use --with-x.
1320 @@ -634,8 +1064,7 @@
1321 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1322 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1323 { (exit 1); exit 1; }; }
1324 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1325 - eval "$ac_envvar='$ac_optarg'"
1326 + eval $ac_envvar=\$ac_optarg
1327 export $ac_envvar ;;
1330 @@ -655,27 +1084,19 @@
1331 { (exit 1); exit 1; }; }
1334 -# Be sure to have absolute paths.
1335 -for ac_var in exec_prefix prefix
1337 - eval ac_val=$`echo $ac_var`
1339 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1340 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341 - { (exit 1); exit 1; }; };;
1345 -# Be sure to have absolute paths.
1346 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1347 - localstatedir libdir includedir oldincludedir infodir mandir
1348 +# Be sure to have absolute directory names.
1349 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1350 + datadir sysconfdir sharedstatedir localstatedir includedir \
1351 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1352 + libdir localedir mandir
1354 - eval ac_val=$`echo $ac_var`
1355 + eval ac_val=\$$ac_var
1357 - [\\/$]* | ?:[\\/]* ) ;;
1358 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1359 - { (exit 1); exit 1; }; };;
1360 + [\\/$]* | ?:[\\/]* ) continue;;
1361 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1363 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1364 + { (exit 1); exit 1; }; }
1367 # There might be people who depend on the old broken behavior: `$host'
1368 @@ -702,74 +1123,76 @@
1369 test "$silent" = yes && exec 6>/dev/null
1372 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1373 +ac_ls_di=`ls -di .` &&
1374 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1375 + { echo "$as_me: error: Working directory cannot be determined" >&2
1376 + { (exit 1); exit 1; }; }
1377 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1379 + { (exit 1); exit 1; }; }
1382 # Find the source files, if location was not specified.
1383 if test -z "$srcdir"; then
1384 ac_srcdir_defaulted=yes
1385 - # Try the directory containing this script, then its parent.
1386 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1387 + # Try the directory containing this script, then the parent directory.
1388 + ac_confdir=`$as_dirname -- "$0" ||
1389 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1390 X"$0" : 'X\(//\)[^/]' \| \
1391 X"$0" : 'X\(//\)$' \| \
1392 - X"$0" : 'X\(/\)' \| \
1393 - . : '\(.\)' 2>/dev/null ||
1394 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1396 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1397 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1398 - /^X\(\/\/\)$/{ s//\1/; q; }
1399 - /^X\(\/\).*/{ s//\1/; q; }
1401 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 + /^X\(\/\/\)[^/].*/{
1419 - if test ! -r $srcdir/$ac_unique_file; then
1420 + if test ! -r "$srcdir/$ac_unique_file"; then
1424 ac_srcdir_defaulted=no
1426 -if test ! -r $srcdir/$ac_unique_file; then
1427 - if test "$ac_srcdir_defaulted" = yes; then
1428 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1429 - { (exit 1); exit 1; }; }
1431 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1432 - { (exit 1); exit 1; }; }
1435 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1436 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1437 - { (exit 1); exit 1; }; }
1438 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1439 -ac_env_build_alias_set=${build_alias+set}
1440 -ac_env_build_alias_value=$build_alias
1441 -ac_cv_env_build_alias_set=${build_alias+set}
1442 -ac_cv_env_build_alias_value=$build_alias
1443 -ac_env_host_alias_set=${host_alias+set}
1444 -ac_env_host_alias_value=$host_alias
1445 -ac_cv_env_host_alias_set=${host_alias+set}
1446 -ac_cv_env_host_alias_value=$host_alias
1447 -ac_env_target_alias_set=${target_alias+set}
1448 -ac_env_target_alias_value=$target_alias
1449 -ac_cv_env_target_alias_set=${target_alias+set}
1450 -ac_cv_env_target_alias_value=$target_alias
1451 -ac_env_CC_set=${CC+set}
1452 -ac_env_CC_value=$CC
1453 -ac_cv_env_CC_set=${CC+set}
1454 -ac_cv_env_CC_value=$CC
1455 -ac_env_CFLAGS_set=${CFLAGS+set}
1456 -ac_env_CFLAGS_value=$CFLAGS
1457 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1458 -ac_cv_env_CFLAGS_value=$CFLAGS
1459 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1460 -ac_env_LDFLAGS_value=$LDFLAGS
1461 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1462 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1463 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1464 -ac_env_CPPFLAGS_value=$CPPFLAGS
1465 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1466 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1467 -ac_env_CPP_set=${CPP+set}
1468 -ac_env_CPP_value=$CPP
1469 -ac_cv_env_CPP_set=${CPP+set}
1470 -ac_cv_env_CPP_value=$CPP
1471 +if test ! -r "$srcdir/$ac_unique_file"; then
1472 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1473 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1474 + { (exit 1); exit 1; }; }
1476 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1478 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1479 + { (exit 1); exit 1; }; }
1481 +# When building in place, set srcdir=.
1482 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1485 +# Remove unnecessary trailing slashes from srcdir.
1486 +# Double slashes in file names in object file debugging info
1487 +# mess up M-x gdb in Emacs.
1489 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1491 +for ac_var in $ac_precious_vars; do
1492 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1493 + eval ac_env_${ac_var}_value=\$${ac_var}
1494 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1495 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1499 # Report the --help message.
1500 @@ -798,9 +1221,6 @@
1501 -n, --no-create do not create output files
1502 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 @@ -818,15 +1238,22 @@
1511 --bindir=DIR user executables [EPREFIX/bin]
1512 --sbindir=DIR system admin executables [EPREFIX/sbin]
1513 --libexecdir=DIR program executables [EPREFIX/libexec]
1514 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1515 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1516 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1517 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1518 --libdir=DIR object code libraries [EPREFIX/lib]
1519 --includedir=DIR C header files [PREFIX/include]
1520 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1521 - --infodir=DIR info documentation [PREFIX/info]
1522 - --mandir=DIR man documentation [PREFIX/man]
1523 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1524 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1525 + --infodir=DIR info documentation [DATAROOTDIR/info]
1526 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1527 + --mandir=DIR man documentation [DATAROOTDIR/man]
1528 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1529 + --htmldir=DIR html documentation [DOCDIR]
1530 + --dvidir=DIR dvi documentation [DOCDIR]
1531 + --pdfdir=DIR pdf documentation [DOCDIR]
1532 + --psdir=DIR ps documentation [DOCDIR]
1536 @@ -862,126 +1289,95 @@
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1541 - headers in a nonstandard directory <include dir>
1542 + LIBS libraries to pass to the linker, e.g. -l<library>
1543 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 + you have headers in a nonstandard directory <include dir>
1547 Use these variables to override the choices made by `configure' or to help
1548 it to find libraries and programs with nonstandard names/locations.
1554 if test "$ac_init_help" = "recursive"; then
1555 # If there are subdirs, report their specific --help.
1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1558 - test -d $ac_dir || continue
1559 + test -d "$ac_dir" || continue
1562 -if test "$ac_dir" != .; then
1564 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1567 - # A "../" for each directory in $ac_dir_suffix.
1568 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1570 - ac_dir_suffix= ac_top_builddir=
1572 + # A ".." for each directory in $ac_dir_suffix.
1573 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1574 + case $ac_top_builddir_sub in
1575 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1576 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1579 +ac_abs_top_builddir=$ac_pwd
1580 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1581 +# for backward compatibility:
1582 +ac_top_builddir=$ac_top_build_prefix
1585 - .) # No --srcdir option. We are building in place.
1586 + .) # We are building in place.
1588 - if test -z "$ac_top_builddir"; then
1591 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1593 - [\\/]* | ?:[\\/]* ) # Absolute path.
1594 + ac_top_srcdir=$ac_top_builddir_sub
1595 + ac_abs_top_srcdir=$ac_pwd ;;
1596 + [\\/]* | ?:[\\/]* ) # Absolute name.
1597 ac_srcdir=$srcdir$ac_dir_suffix;
1598 - ac_top_srcdir=$srcdir ;;
1599 - *) # Relative path.
1600 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1601 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1604 -# Do not use `cd foo && pwd` to compute absolute paths, because
1605 -# the directories may not exist.
1607 -.) ac_abs_builddir="$ac_dir";;
1610 - .) ac_abs_builddir=`pwd`;;
1611 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1612 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1615 -case $ac_abs_builddir in
1616 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1618 - case ${ac_top_builddir}. in
1619 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1620 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1621 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1624 -case $ac_abs_builddir in
1625 -.) ac_abs_srcdir=$ac_srcdir;;
1627 - case $ac_srcdir in
1628 - .) ac_abs_srcdir=$ac_abs_builddir;;
1629 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1630 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1633 -case $ac_abs_builddir in
1634 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1636 - case $ac_top_srcdir in
1637 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1638 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1639 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1644 - # Check for guested configure; otherwise get Cygnus style configure.
1645 - if test -f $ac_srcdir/configure.gnu; then
1647 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1648 - elif test -f $ac_srcdir/configure; then
1650 - $SHELL $ac_srcdir/configure --help=recursive
1651 - elif test -f $ac_srcdir/configure.ac ||
1652 - test -f $ac_srcdir/configure.in; then
1654 - $ac_configure --help
1655 + ac_top_srcdir=$srcdir
1656 + ac_abs_top_srcdir=$srcdir ;;
1657 + *) # Relative name.
1658 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1662 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1664 + cd "$ac_dir" || { ac_status=$?; continue; }
1665 + # Check for guested configure.
1666 + if test -f "$ac_srcdir/configure.gnu"; then
1668 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 + elif test -f "$ac_srcdir/configure"; then
1671 + $SHELL "$ac_srcdir/configure" --help=recursive
1673 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 + fi || ac_status=$?
1677 + cd "$ac_pwd" || { ac_status=$?; break; }
1681 -test -n "$ac_init_help" && exit 0
1682 +test -n "$ac_init_help" && exit $ac_status
1683 if $ac_init_version; then
1686 +generated by GNU Autoconf 2.61
1688 -Copyright (C) 2003 Free Software Foundation, Inc.
1689 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1690 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1691 This configure script is free software; the Free Software Foundation
1692 gives unlimited permission to copy, distribute and modify it.
1699 +cat >config.log <<_ACEOF
1700 This file contains any messages produced by compilers while
1701 running configure, to aid debugging if configure makes a mistake.
1703 It was created by $as_me, which was
1704 -generated by GNU Autoconf 2.59. Invocation command line was
1705 +generated by GNU Autoconf 2.61. Invocation command line was
1714 @@ -1000,7 +1396,7 @@
1715 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1716 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1717 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1718 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1719 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1720 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1721 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1722 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1723 @@ -1014,6 +1410,7 @@
1724 test -z "$as_dir" && as_dir=.
1725 echo "PATH: $as_dir"
1731 @@ -1035,7 +1432,6 @@
1736 ac_must_keep_next=false
1739 @@ -1046,7 +1442,7 @@
1740 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1741 | -silent | --silent | --silen | --sile | --sil)
1743 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1745 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1748 @@ -1068,9 +1464,7 @@
1749 -* ) ac_must_keep_next=true ;;
1752 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1753 - # Get rid of the leading space.
1755 + ac_configure_args="$ac_configure_args '$ac_arg'"
1759 @@ -1081,8 +1475,8 @@
1760 # When interrupted or exit'd, cleanup temporary files, and complete
1761 # config.log. We remove comments because anyway the quotes in there
1762 # would cause problems or look ugly.
1763 -# WARNING: Be sure not to use single quotes in there, as some shells,
1764 -# such as our DU 5.0 friend, will then `close' the trap.
1765 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1766 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1767 trap 'exit_status=$?
1768 # Save into config.log some information that might help in debugging.
1770 @@ -1095,20 +1489,34 @@
1773 # The following way of writing the cache mishandles newlines in values,
1776 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1777 + eval ac_val=\$$ac_var
1778 + case $ac_val in #(
1780 + case $ac_var in #(
1781 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1782 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1784 + case $ac_var in #(
1785 + _ | IFS | as_nl) ;; #(
1786 + *) $as_unset $ac_var ;;
1791 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1793 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1794 + *${as_nl}ac_space=\ *)
1796 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1797 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1799 + "s/'\''/'\''\\\\'\'''\''/g;
1800 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1804 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1805 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1815 @@ -1119,22 +1527,28 @@
1817 for ac_var in $ac_subst_vars
1819 - eval ac_val=$`echo $ac_var`
1820 - echo "$ac_var='"'"'$ac_val'"'"'"
1821 + eval ac_val=\$$ac_var
1823 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1825 + echo "$ac_var='\''$ac_val'\''"
1829 if test -n "$ac_subst_files"; then
1831 -## ------------- ##
1832 -## Output files. ##
1833 -## ------------- ##
1834 +## ------------------- ##
1835 +## File substitutions. ##
1836 +## ------------------- ##
1839 for ac_var in $ac_subst_files
1841 - eval ac_val=$`echo $ac_var`
1842 - echo "$ac_var='"'"'$ac_val'"'"'"
1843 + eval ac_val=\$$ac_var
1845 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847 + echo "$ac_var='\''$ac_val'\''"
1851 @@ -1146,26 +1560,24 @@
1855 - sed "/^$/d" confdefs.h | sort
1859 test "$ac_signal" != 0 &&
1860 echo "$as_me: caught signal $ac_signal"
1861 echo "$as_me: exit $exit_status"
1863 - rm -f core *.core &&
1864 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1865 + rm -f core *.core core.conftest.* &&
1866 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870 for ac_signal in 1 2 13 15; do
1871 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 -rm -rf conftest* confdefs.h
1877 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1879 +rm -f -r conftest* confdefs.h
1881 # Predefined preprocessor variables.
1883 @@ -1196,14 +1608,17 @@
1885 # Let the site file select an alternate cache file if it wants to.
1886 # Prefer explicitly selected file to automatically selected ones.
1887 -if test -z "$CONFIG_SITE"; then
1888 - if test "x$prefix" != xNONE; then
1889 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1891 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1893 +if test -n "$CONFIG_SITE"; then
1894 + set x "$CONFIG_SITE"
1895 +elif test "x$prefix" != xNONE; then
1896 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1898 + set x "$ac_default_prefix/share/config.site" \
1899 + "$ac_default_prefix/etc/config.site"
1901 -for ac_site_file in $CONFIG_SITE; do
1905 if test -r "$ac_site_file"; then
1906 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1907 echo "$as_me: loading site script $ac_site_file" >&6;}
1908 @@ -1219,8 +1634,8 @@
1909 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1910 echo "$as_me: loading cache $cache_file" >&6;}
1912 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1913 - *) . ./$cache_file;;
1914 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1915 + *) . "./$cache_file";;
1919 @@ -1232,12 +1647,11 @@
1920 # Check that the precious variables saved in the cache have kept the same
1922 ac_cache_corrupted=false
1923 -for ac_var in `(set) 2>&1 |
1924 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1925 +for ac_var in $ac_precious_vars; do
1926 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1927 eval ac_new_set=\$ac_env_${ac_var}_set
1928 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1929 - eval ac_new_val="\$ac_env_${ac_var}_value"
1930 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1931 + eval ac_new_val=\$ac_env_${ac_var}_value
1932 case $ac_old_set,$ac_new_set in
1934 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1935 @@ -1262,8 +1676,7 @@
1936 # Pass precious variables to config.status.
1937 if test "$ac_new_set" = set; then
1939 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1940 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1941 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1942 *) ac_arg=$ac_var=$ac_new_val ;;
1944 case " $ac_configure_args " in
1945 @@ -1280,12 +1693,6 @@
1946 { (exit 1); exit 1; }; }
1950 -ac_cpp='$CPP $CPPFLAGS'
1951 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1952 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1953 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1958 @@ -1302,6 +1709,11 @@
1963 +ac_cpp='$CPP $CPPFLAGS'
1964 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1965 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1966 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970 @@ -1313,29 +1725,29 @@
1971 ORIGINAL_LD_FOR_MULTILIBS=$LD
1974 -# Check whether --with-target-subdir or --without-target-subdir was given.
1975 +# Check whether --with-target-subdir was given.
1976 if test "${with_target_subdir+set}" = set; then
1977 - withval="$with_target_subdir"
1978 + withval=$with_target_subdir;
1983 -# Check whether --with-build-subdir or --without-build-subdir was given.
1984 +# Check whether --with-build-subdir was given.
1985 if test "${with_build_subdir+set}" = set; then
1986 - withval="$with_build_subdir"
1987 + withval=$with_build_subdir;
1992 -# Check whether --with-cross-host or --without-cross-host was given.
1993 +# Check whether --with-cross-host was given.
1994 if test "${with_cross_host+set}" = set; then
1995 - withval="$with_cross_host"
1996 + withval=$with_cross_host;
2001 -# Check whether --with-newlib or --without-newlib was given.
2002 +# Check whether --with-newlib was given.
2003 if test "${with_newlib+set}" = set; then
2004 - withval="$with_newlib"
2005 + withval=$with_newlib;
2010 if test "${srcdir}" = "."; then
2011 if test -n "${with_build_subdir}"; then
2012 @@ -1355,44 +1767,50 @@
2016 -for ac_dir in $libiberty_topdir $srcdir/$libiberty_topdir; do
2017 - if test -f $ac_dir/install-sh; then
2018 +for ac_dir in $libiberty_topdir "$srcdir"/$libiberty_topdir; do
2019 + if test -f "$ac_dir/install-sh"; then
2021 ac_install_sh="$ac_aux_dir/install-sh -c"
2023 - elif test -f $ac_dir/install.sh; then
2024 + elif test -f "$ac_dir/install.sh"; then
2026 ac_install_sh="$ac_aux_dir/install.sh -c"
2028 - elif test -f $ac_dir/shtool; then
2029 + elif test -f "$ac_dir/shtool"; then
2031 ac_install_sh="$ac_aux_dir/shtool install -c"
2035 if test -z "$ac_aux_dir"; then
2036 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libiberty_topdir $srcdir/$libiberty_topdir" >&5
2037 -echo "$as_me: error: cannot find install-sh or install.sh in $libiberty_topdir $srcdir/$libiberty_topdir" >&2;}
2038 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libiberty_topdir \"$srcdir\"/$libiberty_topdir" >&5
2039 +echo "$as_me: error: cannot find install-sh or install.sh in $libiberty_topdir \"$srcdir\"/$libiberty_topdir" >&2;}
2040 { (exit 1); exit 1; }; }
2042 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2043 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2044 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2046 +# These three variables are undocumented and unsupported,
2047 +# and are intended to be withdrawn in a future Autoconf release.
2048 +# They can cause serious problems if a builder's source tree is in a directory
2049 +# whose full name contains unusual characters.
2050 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2051 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2052 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2057 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2058 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2059 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2060 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2061 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2062 + # Check whether --enable-maintainer-mode was given.
2063 if test "${enable_maintainer_mode+set}" = set; then
2064 - enableval="$enable_maintainer_mode"
2065 - maintainer_mode=$enableval
2066 + enableval=$enable_maintainer_mode; maintainer_mode=$enableval
2072 -echo "$as_me:$LINENO: result: $maintainer_mode" >&5
2073 -echo "${ECHO_T}$maintainer_mode" >&6
2075 +{ echo "$as_me:$LINENO: result: $maintainer_mode" >&5
2076 +echo "${ECHO_T}$maintainer_mode" >&6; }
2078 if test "$maintainer_mode" = "yes"; then
2080 @@ -1406,8 +1824,8 @@
2081 # rely on it - libiberty is built before texinfo.
2082 # Extract the first word of "makeinfo", so it can be a program name with args.
2083 set dummy makeinfo; ac_word=$2
2084 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 @@ -1420,25 +1838,27 @@
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_MAKEINFO="makeinfo"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 MAKEINFO=$ac_cv_prog_MAKEINFO
2108 if test -n "$MAKEINFO"; then
2109 - echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2110 -echo "${ECHO_T}$MAKEINFO" >&6
2111 + { echo "$as_me:$LINENO: result: $MAKEINFO" >&5
2112 +echo "${ECHO_T}$MAKEINFO" >&6; }
2114 - echo "$as_me:$LINENO: result: no" >&5
2115 -echo "${ECHO_T}no" >&6
2116 + { echo "$as_me:$LINENO: result: no" >&5
2117 +echo "${ECHO_T}no" >&6; }
2121 if test "x$MAKEINFO" = "x"; then
2122 MAKEINFO="@echo makeinfo missing; true"
2124 @@ -1471,8 +1891,8 @@
2126 # Extract the first word of "perl", so it can be a program name with args.
2127 set dummy perl; ac_word=$2
2128 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_PERL+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 @@ -1485,25 +1905,27 @@
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2140 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2141 ac_cv_prog_PERL="perl"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 PERL=$ac_cv_prog_PERL
2152 if test -n "$PERL"; then
2153 - echo "$as_me:$LINENO: result: $PERL" >&5
2154 -echo "${ECHO_T}$PERL" >&6
2155 + { echo "$as_me:$LINENO: result: $PERL" >&5
2156 +echo "${ECHO_T}$PERL" >&6; }
2158 - echo "$as_me:$LINENO: result: no" >&5
2159 -echo "${ECHO_T}no" >&6
2160 + { echo "$as_me:$LINENO: result: no" >&5
2161 +echo "${ECHO_T}no" >&6; }
2165 if test x"$PERL" = x""; then
2168 @@ -1512,57 +1934,86 @@
2171 # Make sure we can run config.sub.
2172 -$ac_config_sub sun4 >/dev/null 2>&1 ||
2173 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2174 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2175 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2176 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2177 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2178 { (exit 1); exit 1; }; }
2180 -echo "$as_me:$LINENO: checking build system type" >&5
2181 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
2182 +{ echo "$as_me:$LINENO: checking build system type" >&5
2183 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2184 if test "${ac_cv_build+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 - ac_cv_build_alias=$build_alias
2188 -test -z "$ac_cv_build_alias" &&
2189 - ac_cv_build_alias=`$ac_config_guess`
2190 -test -z "$ac_cv_build_alias" &&
2191 + ac_build_alias=$build_alias
2192 +test "x$ac_build_alias" = x &&
2193 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2194 +test "x$ac_build_alias" = x &&
2195 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2196 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2197 { (exit 1); exit 1; }; }
2198 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2199 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2200 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2201 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2202 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2203 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2204 { (exit 1); exit 1; }; }
2207 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2208 -echo "${ECHO_T}$ac_cv_build" >&6
2209 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2210 +echo "${ECHO_T}$ac_cv_build" >&6; }
2211 +case $ac_cv_build in
2213 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2214 +echo "$as_me: error: invalid value of canonical build" >&2;}
2215 + { (exit 1); exit 1; }; };;
2218 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2219 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2220 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2221 +ac_save_IFS=$IFS; IFS='-'
2227 +# Remember, the first character of IFS is used to create $*,
2228 +# except with old shells:
2231 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2234 -echo "$as_me:$LINENO: checking host system type" >&5
2235 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2236 +{ echo "$as_me:$LINENO: checking host system type" >&5
2237 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2238 if test "${ac_cv_host+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 - ac_cv_host_alias=$host_alias
2242 -test -z "$ac_cv_host_alias" &&
2243 - ac_cv_host_alias=$ac_cv_build_alias
2244 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2245 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2246 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2247 + if test "x$host_alias" = x; then
2248 + ac_cv_host=$ac_cv_build
2250 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2251 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2252 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2253 { (exit 1); exit 1; }; }
2257 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2258 -echo "${ECHO_T}$ac_cv_host" >&6
2259 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2260 +echo "${ECHO_T}$ac_cv_host" >&6; }
2261 +case $ac_cv_host in
2263 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2264 +echo "$as_me: error: invalid value of canonical host" >&2;}
2265 + { (exit 1); exit 1; }; };;
2268 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2269 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2270 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2271 +ac_save_IFS=$IFS; IFS='-'
2277 +# Remember, the first character of IFS is used to create $*,
2278 +# except with old shells:
2281 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2285 @@ -1570,8 +2021,8 @@
2286 if test -n "$ac_tool_prefix"; then
2287 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2288 set dummy ${ac_tool_prefix}ar; ac_word=$2
2289 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2291 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2293 if test "${ac_cv_prog_AR+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 @@ -1584,32 +2035,34 @@
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2301 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_AR="${ac_tool_prefix}ar"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test -n "$AR"; then
2314 - echo "$as_me:$LINENO: result: $AR" >&5
2315 -echo "${ECHO_T}$AR" >&6
2316 + { echo "$as_me:$LINENO: result: $AR" >&5
2317 +echo "${ECHO_T}$AR" >&6; }
2319 - echo "$as_me:$LINENO: result: no" >&5
2320 -echo "${ECHO_T}no" >&6
2321 + { echo "$as_me:$LINENO: result: no" >&5
2322 +echo "${ECHO_T}no" >&6; }
2327 if test -z "$ac_cv_prog_AR"; then
2329 # Extract the first word of "ar", so it can be a program name with args.
2330 set dummy ar; ac_word=$2
2331 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2333 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2334 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2335 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 @@ -1622,26 +2075,41 @@
2340 test -z "$as_dir" && as_dir=.
2341 for ac_exec_ext in '' $ac_executable_extensions; do
2342 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2343 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_ac_ct_AR="ar"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2355 if test -n "$ac_ct_AR"; then
2356 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2357 -echo "${ECHO_T}$ac_ct_AR" >&6
2358 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2359 +echo "${ECHO_T}$ac_ct_AR" >&6; }
2361 - echo "$as_me:$LINENO: result: no" >&5
2362 -echo "${ECHO_T}no" >&6
2363 + { echo "$as_me:$LINENO: result: no" >&5
2364 +echo "${ECHO_T}no" >&6; }
2368 + if test "x$ac_ct_AR" = x; then
2371 + case $cross_compiling:$ac_tool_warned in
2373 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 +whose name does not start with the host triplet. If you think this
2375 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 +whose name does not start with the host triplet. If you think this
2378 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 +ac_tool_warned=yes ;;
2386 @@ -1649,8 +2117,8 @@
2387 if test -n "$ac_tool_prefix"; then
2388 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2389 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2390 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2394 if test "${ac_cv_prog_RANLIB+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 @@ -1663,32 +2131,34 @@
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 RANLIB=$ac_cv_prog_RANLIB
2414 if test -n "$RANLIB"; then
2415 - echo "$as_me:$LINENO: result: $RANLIB" >&5
2416 -echo "${ECHO_T}$RANLIB" >&6
2417 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
2418 +echo "${ECHO_T}$RANLIB" >&6; }
2420 - echo "$as_me:$LINENO: result: no" >&5
2421 -echo "${ECHO_T}no" >&6
2422 + { echo "$as_me:$LINENO: result: no" >&5
2423 +echo "${ECHO_T}no" >&6; }
2428 if test -z "$ac_cv_prog_RANLIB"; then
2429 ac_ct_RANLIB=$RANLIB
2430 # Extract the first word of "ranlib", so it can be a program name with args.
2431 set dummy ranlib; ac_word=$2
2432 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 @@ -1701,27 +2171,41 @@
2441 test -z "$as_dir" && as_dir=.
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2444 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 ac_cv_prog_ac_ct_RANLIB="ranlib"
2446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2456 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2457 if test -n "$ac_ct_RANLIB"; then
2458 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2459 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
2460 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2461 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2463 - echo "$as_me:$LINENO: result: no" >&5
2464 -echo "${ECHO_T}no" >&6
2465 + { echo "$as_me:$LINENO: result: no" >&5
2466 +echo "${ECHO_T}no" >&6; }
2469 - RANLIB=$ac_ct_RANLIB
2470 + if test "x$ac_ct_RANLIB" = x; then
2473 + case $cross_compiling:$ac_tool_warned in
2475 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2476 +whose name does not start with the host triplet. If you think this
2477 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2478 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2479 +whose name does not start with the host triplet. If you think this
2480 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2481 +ac_tool_warned=yes ;;
2483 + RANLIB=$ac_ct_RANLIB
2486 RANLIB="$ac_cv_prog_RANLIB"
2488 @@ -1736,8 +2220,8 @@
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2492 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2495 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_CC+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 @@ -1750,32 +2234,34 @@
2501 test -z "$as_dir" && as_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2504 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$CC"; then
2517 - echo "$as_me:$LINENO: result: $CC" >&5
2518 -echo "${ECHO_T}$CC" >&6
2519 + { echo "$as_me:$LINENO: result: $CC" >&5
2520 +echo "${ECHO_T}$CC" >&6; }
2522 - echo "$as_me:$LINENO: result: no" >&5
2523 -echo "${ECHO_T}no" >&6
2524 + { echo "$as_me:$LINENO: result: no" >&5
2525 +echo "${ECHO_T}no" >&6; }
2530 if test -z "$ac_cv_prog_CC"; then
2532 # Extract the first word of "gcc", so it can be a program name with args.
2533 set dummy gcc; ac_word=$2
2534 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2536 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2537 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2538 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2539 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 @@ -1788,36 +2274,51 @@
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC="gcc"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 -echo "${ECHO_T}$ac_ct_CC" >&6
2561 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2564 - echo "$as_me:$LINENO: result: no" >&5
2565 -echo "${ECHO_T}no" >&6
2566 + { echo "$as_me:$LINENO: result: no" >&5
2567 +echo "${ECHO_T}no" >&6; }
2571 + if test "x$ac_ct_CC" = x; then
2574 + case $cross_compiling:$ac_tool_warned in
2576 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2577 +whose name does not start with the host triplet. If you think this
2578 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2579 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2580 +whose name does not start with the host triplet. If you think this
2581 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2582 +ac_tool_warned=yes ;;
2590 if test -z "$CC"; then
2591 - if test -n "$ac_tool_prefix"; then
2592 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2593 + if test -n "$ac_tool_prefix"; then
2594 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2595 set dummy ${ac_tool_prefix}cc; ac_word=$2
2596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2600 if test "${ac_cv_prog_CC+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 @@ -1830,74 +2331,34 @@
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2609 ac_cv_prog_CC="${ac_tool_prefix}cc"
2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 if test -n "$CC"; then
2621 - echo "$as_me:$LINENO: result: $CC" >&5
2622 -echo "${ECHO_T}$CC" >&6
2623 + { echo "$as_me:$LINENO: result: $CC" >&5
2624 +echo "${ECHO_T}$CC" >&6; }
2626 - echo "$as_me:$LINENO: result: no" >&5
2627 -echo "${ECHO_T}no" >&6
2628 + { echo "$as_me:$LINENO: result: no" >&5
2629 +echo "${ECHO_T}no" >&6; }
2633 -if test -z "$ac_cv_prog_CC"; then
2635 - # Extract the first word of "cc", so it can be a program name with args.
2636 -set dummy cc; ac_word=$2
2637 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2639 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2640 - echo $ECHO_N "(cached) $ECHO_C" >&6
2642 - if test -n "$ac_ct_CC"; then
2643 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2645 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 -for as_dir in $PATH
2649 - test -z "$as_dir" && as_dir=.
2650 - for ac_exec_ext in '' $ac_executable_extensions; do
2651 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 - ac_cv_prog_ac_ct_CC="cc"
2653 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2662 -if test -n "$ac_ct_CC"; then
2663 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2664 -echo "${ECHO_T}$ac_ct_CC" >&6
2666 - echo "$as_me:$LINENO: result: no" >&5
2667 -echo "${ECHO_T}no" >&6
2672 - CC="$ac_cv_prog_CC"
2677 if test -z "$CC"; then
2678 # Extract the first word of "cc", so it can be a program name with args.
2679 set dummy cc; ac_word=$2
2680 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2682 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 @@ -1911,7 +2372,7 @@
2689 test -z "$as_dir" && as_dir=.
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2692 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2694 ac_prog_rejected=yes
2696 @@ -1922,6 +2383,7 @@
2702 if test $ac_prog_rejected = yes; then
2703 # We found a bogon in the path, so make sure we never use it.
2704 @@ -1939,22 +2401,23 @@
2707 if test -n "$CC"; then
2708 - echo "$as_me:$LINENO: result: $CC" >&5
2709 -echo "${ECHO_T}$CC" >&6
2710 + { echo "$as_me:$LINENO: result: $CC" >&5
2711 +echo "${ECHO_T}$CC" >&6; }
2713 - echo "$as_me:$LINENO: result: no" >&5
2714 -echo "${ECHO_T}no" >&6
2715 + { echo "$as_me:$LINENO: result: no" >&5
2716 +echo "${ECHO_T}no" >&6; }
2721 if test -z "$CC"; then
2722 if test -n "$ac_tool_prefix"; then
2724 + for ac_prog in cl.exe
2726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2728 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2729 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2730 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 @@ -1967,36 +2430,38 @@
2737 test -z "$as_dir" && as_dir=.
2738 for ac_exec_ext in '' $ac_executable_extensions; do
2739 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 if test -n "$CC"; then
2753 - echo "$as_me:$LINENO: result: $CC" >&5
2754 -echo "${ECHO_T}$CC" >&6
2755 + { echo "$as_me:$LINENO: result: $CC" >&5
2756 +echo "${ECHO_T}$CC" >&6; }
2758 - echo "$as_me:$LINENO: result: no" >&5
2759 -echo "${ECHO_T}no" >&6
2760 + { echo "$as_me:$LINENO: result: no" >&5
2761 +echo "${ECHO_T}no" >&6; }
2765 test -n "$CC" && break
2768 if test -z "$CC"; then
2771 + for ac_prog in cl.exe
2773 # Extract the first word of "$ac_prog", so it can be a program name with args.
2774 set dummy $ac_prog; ac_word=$2
2775 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2777 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2778 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2780 echo $ECHO_N "(cached) $ECHO_C" >&6
2782 @@ -2009,29 +2474,45 @@
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_ac_ct_CC="$ac_prog"
2789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2799 if test -n "$ac_ct_CC"; then
2800 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2801 -echo "${ECHO_T}$ac_ct_CC" >&6
2802 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2803 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2805 - echo "$as_me:$LINENO: result: no" >&5
2806 -echo "${ECHO_T}no" >&6
2807 + { echo "$as_me:$LINENO: result: no" >&5
2808 +echo "${ECHO_T}no" >&6; }
2812 test -n "$ac_ct_CC" && break
2816 + if test "x$ac_ct_CC" = x; then
2819 + case $cross_compiling:$ac_tool_warned in
2821 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2822 +whose name does not start with the host triplet. If you think this
2823 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2824 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2825 +whose name does not start with the host triplet. If you think this
2826 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2827 +ac_tool_warned=yes ;;
2834 @@ -2044,21 +2525,35 @@
2835 { (exit 1); exit 1; }; }
2837 # Provide some information about the compiler.
2838 -echo "$as_me:$LINENO:" \
2839 - "checking for C compiler version" >&5
2840 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2841 ac_compiler=`set X $ac_compile; echo $2`
2842 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2843 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2844 +{ (ac_try="$ac_compiler --version >&5"
2845 +case "(($ac_try" in
2846 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2847 + *) ac_try_echo=$ac_try;;
2849 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2850 + (eval "$ac_compiler --version >&5") 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }
2854 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2855 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2856 +{ (ac_try="$ac_compiler -v >&5"
2857 +case "(($ac_try" in
2858 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2859 + *) ac_try_echo=$ac_try;;
2861 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2862 + (eval "$ac_compiler -v >&5") 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2866 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2867 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2868 +{ (ac_try="$ac_compiler -V >&5"
2869 +case "(($ac_try" in
2870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871 + *) ac_try_echo=$ac_try;;
2873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 + (eval "$ac_compiler -V >&5") 2>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }
2878 @@ -2116,47 +2611,77 @@
2879 # Try to create an executable without -o first, disregard a.out.
2880 # It will help us diagnose broken compilers, and finding out an intuition
2882 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2883 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2884 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2886 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2888 - (eval $ac_link_default) 2>&5
2890 +# List of possible output files, starting from the most likely.
2891 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2892 +# only as a last resort. b.out is created by i960 compilers.
2893 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2895 +# The IRIX 6 linker writes into existing files which may not be
2896 +# executable, retaining their permissions. Remove them first so a
2897 +# subsequent execution test works.
2899 +for ac_file in $ac_files
2902 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2903 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2908 +if { (ac_try="$ac_link_default"
2909 +case "(($ac_try" in
2910 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 + *) ac_try_echo=$ac_try;;
2913 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 + (eval "$ac_link_default") 2>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; then
2918 - # Find the output, starting from the most likely. This scheme is
2919 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2922 -# Be careful to initialize this variable, since it used to be cached.
2923 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2925 -# b.out is created by i960 compilers.
2926 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2927 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2928 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2929 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2930 +# so that the user can short-circuit this test for compilers unknown to
2932 +for ac_file in $ac_files ''
2934 test -f "$ac_file" || continue
2936 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2938 - conftest.$ac_ext )
2939 - # This is the source file.
2940 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2943 # We found the default executable, but exeext='' is most
2947 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2948 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2949 - # but it would be cool to find out if it's true. Does anybody
2950 - # maintain Libtool? --akim.
2951 - export ac_cv_exeext
2952 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2954 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2956 + # We set ac_cv_exeext here because the later test for it is not
2957 + # safe: cross compilers may not add the suffix if given an `-o'
2958 + # argument, so we may need to know it at that point already.
2959 + # Even if this section looks crufty: it has the advantage of
2960 + # actually working.
2966 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2972 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2973 +echo "${ECHO_T}$ac_file" >&6; }
2974 +if test -z "$ac_file"; then
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 @@ -2168,19 +2693,21 @@
2981 ac_exeext=$ac_cv_exeext
2982 -echo "$as_me:$LINENO: result: $ac_file" >&5
2983 -echo "${ECHO_T}$ac_file" >&6
2985 -# Check the compiler produces executables we can run. If not, either
2986 +# Check that the compiler produces executables we can run. If not, either
2987 # the compiler is broken, or we cross compile.
2988 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2989 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2990 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2991 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2992 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2993 # If not cross compiling, check that we can run a simple program.
2994 if test "$cross_compiling" != yes; then
2995 if { ac_try='./$ac_file'
2996 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 - (eval $ac_try) 2>&5
2998 + { (case "(($ac_try" in
2999 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000 + *) ac_try_echo=$ac_try;;
3002 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3003 + (eval "$ac_try") 2>&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; }; then
3007 @@ -2199,22 +2726,27 @@
3011 -echo "$as_me:$LINENO: result: yes" >&5
3012 -echo "${ECHO_T}yes" >&6
3013 +{ echo "$as_me:$LINENO: result: yes" >&5
3014 +echo "${ECHO_T}yes" >&6; }
3016 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3017 ac_clean_files=$ac_clean_files_save
3018 -# Check the compiler produces executables we can run. If not, either
3019 +# Check that the compiler produces executables we can run. If not, either
3020 # the compiler is broken, or we cross compile.
3021 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3022 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3023 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
3024 -echo "${ECHO_T}$cross_compiling" >&6
3026 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
3027 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3028 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3029 - (eval $ac_link) 2>&5
3030 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3031 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3032 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3033 +echo "${ECHO_T}$cross_compiling" >&6; }
3035 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3036 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3037 +if { (ac_try="$ac_link"
3038 +case "(($ac_try" in
3039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3040 + *) ac_try_echo=$ac_try;;
3042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3043 + (eval "$ac_link") 2>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; then
3047 @@ -2225,9 +2757,8 @@
3048 for ac_file in conftest.exe conftest conftest.*; do
3049 test -f "$ac_file" || continue
3051 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3052 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3053 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054 - export ac_cv_exeext
3058 @@ -2241,15 +2772,15 @@
3061 rm -f conftest$ac_cv_exeext
3062 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3063 -echo "${ECHO_T}$ac_cv_exeext" >&6
3064 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3065 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
3067 rm -f conftest.$ac_ext
3068 EXEEXT=$ac_cv_exeext
3071 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
3072 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3073 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3074 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3075 if test "${ac_cv_objext+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3078 @@ -2269,14 +2800,20 @@
3081 rm -f conftest.o conftest.obj
3082 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3083 - (eval $ac_compile) 2>&5
3084 +if { (ac_try="$ac_compile"
3085 +case "(($ac_try" in
3086 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 + *) ac_try_echo=$ac_try;;
3089 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090 + (eval "$ac_compile") 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; then
3094 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3095 + for ac_file in conftest.o conftest.obj conftest.*; do
3096 + test -f "$ac_file" || continue;
3098 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3099 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3103 @@ -2294,12 +2831,12 @@
3105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3107 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3108 -echo "${ECHO_T}$ac_cv_objext" >&6
3109 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3110 +echo "${ECHO_T}$ac_cv_objext" >&6; }
3111 OBJEXT=$ac_cv_objext
3113 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3114 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3115 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3116 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3117 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 @@ -2322,50 +2859,49 @@
3123 rm -f conftest.$ac_objext
3124 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3125 - (eval $ac_compile) 2>conftest.er1
3126 +if { (ac_try="$ac_compile"
3127 +case "(($ac_try" in
3128 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129 + *) ac_try_echo=$ac_try;;
3131 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 + (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 - (exit $ac_status); } &&
3139 - { ac_try='test -z "$ac_c_werror_flag"
3140 - || test ! -s conftest.err'
3141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 - (eval $ac_try) 2>&5
3144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 - (exit $ac_status); }; } &&
3146 - { ac_try='test -s conftest.$ac_objext'
3147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 - (eval $ac_try) 2>&5
3150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 - (exit $ac_status); }; }; then
3152 + (exit $ac_status); } && {
3153 + test -z "$ac_c_werror_flag" ||
3154 + test ! -s conftest.err
3155 + } && test -s conftest.$ac_objext; then
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3162 + ac_compiler_gnu=no
3164 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3170 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3171 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3172 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3173 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3174 GCC=`test $ac_compiler_gnu = yes && echo yes`
3175 ac_test_CFLAGS=${CFLAGS+set}
3176 ac_save_CFLAGS=$CFLAGS
3178 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3180 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3181 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3182 if test "${ac_cv_prog_cc_g+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 - cat >conftest.$ac_ext <<_ACEOF
3186 + ac_save_c_werror_flag=$ac_c_werror_flag
3187 + ac_c_werror_flag=yes
3188 + ac_cv_prog_cc_g=no
3190 + cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 @@ -2381,38 +2917,118 @@
3197 rm -f conftest.$ac_objext
3198 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199 - (eval $ac_compile) 2>conftest.er1
3200 +if { (ac_try="$ac_compile"
3201 +case "(($ac_try" in
3202 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 + *) ac_try_echo=$ac_try;;
3205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 + (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 - (exit $ac_status); } &&
3213 - { ac_try='test -z "$ac_c_werror_flag"
3214 - || test ! -s conftest.err'
3215 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 - (eval $ac_try) 2>&5
3217 + (exit $ac_status); } && {
3218 + test -z "$ac_c_werror_flag" ||
3219 + test ! -s conftest.err
3220 + } && test -s conftest.$ac_objext; then
3221 + ac_cv_prog_cc_g=yes
3223 + echo "$as_me: failed program was:" >&5
3224 +sed 's/^/| /' conftest.$ac_ext >&5
3227 + cat >conftest.$ac_ext <<_ACEOF
3230 +cat confdefs.h >>conftest.$ac_ext
3231 +cat >>conftest.$ac_ext <<_ACEOF
3232 +/* end confdefs.h. */
3242 +rm -f conftest.$ac_objext
3243 +if { (ac_try="$ac_compile"
3244 +case "(($ac_try" in
3245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246 + *) ac_try_echo=$ac_try;;
3248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249 + (eval "$ac_compile") 2>conftest.er1
3251 + grep -v '^ *+' conftest.er1 >conftest.err
3252 + rm -f conftest.er1
3253 + cat conftest.err >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 - (exit $ac_status); }; } &&
3256 - { ac_try='test -s conftest.$ac_objext'
3257 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258 - (eval $ac_try) 2>&5
3259 + (exit $ac_status); } && {
3260 + test -z "$ac_c_werror_flag" ||
3261 + test ! -s conftest.err
3262 + } && test -s conftest.$ac_objext; then
3265 + echo "$as_me: failed program was:" >&5
3266 +sed 's/^/| /' conftest.$ac_ext >&5
3268 + ac_c_werror_flag=$ac_save_c_werror_flag
3270 + cat >conftest.$ac_ext <<_ACEOF
3273 +cat confdefs.h >>conftest.$ac_ext
3274 +cat >>conftest.$ac_ext <<_ACEOF
3275 +/* end confdefs.h. */
3285 +rm -f conftest.$ac_objext
3286 +if { (ac_try="$ac_compile"
3287 +case "(($ac_try" in
3288 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289 + *) ac_try_echo=$ac_try;;
3291 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292 + (eval "$ac_compile") 2>conftest.er1
3294 + grep -v '^ *+' conftest.er1 >conftest.err
3295 + rm -f conftest.er1
3296 + cat conftest.err >&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 - (exit $ac_status); }; }; then
3299 + (exit $ac_status); } && {
3300 + test -z "$ac_c_werror_flag" ||
3301 + test ! -s conftest.err
3302 + } && test -s conftest.$ac_objext; then
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3312 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 + ac_c_werror_flag=$ac_save_c_werror_flag
3322 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3323 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3324 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3325 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3326 if test "$ac_test_CFLAGS" = set; then
3327 CFLAGS=$ac_save_CFLAGS
3328 elif test $ac_cv_prog_cc_g = yes; then
3329 @@ -2428,12 +3044,12 @@
3333 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3334 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3335 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3336 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3337 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3338 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 - ac_cv_prog_cc_stdc=no
3342 + ac_cv_prog_cc_c89=no
3344 cat >conftest.$ac_ext <<_ACEOF
3346 @@ -2467,12 +3083,17 @@
3347 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3348 function prototypes and stuff, but not '\xHH' hex character constants.
3349 These don't provoke an error unfortunately, instead are silently treated
3350 - as 'x'. The following induces an error, until -std1 is added to get
3351 + as 'x'. The following induces an error, until -std is added to get
3352 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3353 array size at least. It's necessary to write '\x00'==0 to get something
3354 - that's true only with -std1. */
3355 + that's true only with -std. */
3356 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3358 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3359 + inside strings and character constants. */
3361 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3363 int test (int i, double x);
3364 struct s1 {int (*f) (int a);};
3365 struct s2 {int (*f) (double a);};
3366 @@ -2487,205 +3108,57 @@
3370 -# Don't try gcc -ansi; that turns off useful extensions and
3371 -# breaks some systems' header files.
3372 -# AIX -qlanglvl=ansi
3373 -# Ultrix and OSF/1 -std1
3374 -# HP-UX 10.20 and later -Ae
3375 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3376 -# SVR4 -Xc -D__EXTENSIONS__
3377 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3378 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3379 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3381 CC="$ac_save_CC $ac_arg"
3382 rm -f conftest.$ac_objext
3383 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384 - (eval $ac_compile) 2>conftest.er1
3385 +if { (ac_try="$ac_compile"
3386 +case "(($ac_try" in
3387 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3388 + *) ac_try_echo=$ac_try;;
3390 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 + (eval "$ac_compile") 2>conftest.er1
3393 grep -v '^ *+' conftest.er1 >conftest.err
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 - (exit $ac_status); } &&
3398 - { ac_try='test -z "$ac_c_werror_flag"
3399 - || test ! -s conftest.err'
3400 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 - (eval $ac_try) 2>&5
3403 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 - (exit $ac_status); }; } &&
3405 - { ac_try='test -s conftest.$ac_objext'
3406 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 - (eval $ac_try) 2>&5
3409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 - (exit $ac_status); }; }; then
3411 - ac_cv_prog_cc_stdc=$ac_arg
3413 + (exit $ac_status); } && {
3414 + test -z "$ac_c_werror_flag" ||
3415 + test ! -s conftest.err
3416 + } && test -s conftest.$ac_objext; then
3417 + ac_cv_prog_cc_c89=$ac_arg
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3424 -rm -f conftest.err conftest.$ac_objext
3426 +rm -f core conftest.err conftest.$ac_objext
3427 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3429 -rm -f conftest.$ac_ext conftest.$ac_objext
3430 +rm -f conftest.$ac_ext
3435 -case "x$ac_cv_prog_cc_stdc" in
3437 - echo "$as_me:$LINENO: result: none needed" >&5
3438 -echo "${ECHO_T}none needed" >&6 ;;
3440 +case "x$ac_cv_prog_cc_c89" in
3442 + { echo "$as_me:$LINENO: result: none needed" >&5
3443 +echo "${ECHO_T}none needed" >&6; } ;;
3445 + { echo "$as_me:$LINENO: result: unsupported" >&5
3446 +echo "${ECHO_T}unsupported" >&6; } ;;
3448 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3449 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3450 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3451 + CC="$CC $ac_cv_prog_cc_c89"
3452 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3453 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3456 -# Some people use a C++ compiler to compile C. Since we use `exit',
3457 -# in C++ we need to declare it. In case someone uses the same compiler
3458 -# for both compiling C and C++ we need to have the C++ compiler decide
3459 -# the declaration of exit, since it's the most demanding environment.
3460 -cat >conftest.$ac_ext <<_ACEOF
3461 -#ifndef __cplusplus
3465 -rm -f conftest.$ac_objext
3466 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 - (eval $ac_compile) 2>conftest.er1
3469 - grep -v '^ *+' conftest.er1 >conftest.err
3470 - rm -f conftest.er1
3471 - cat conftest.err >&5
3472 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 - (exit $ac_status); } &&
3474 - { ac_try='test -z "$ac_c_werror_flag"
3475 - || test ! -s conftest.err'
3476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 - (eval $ac_try) 2>&5
3479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 - (exit $ac_status); }; } &&
3481 - { ac_try='test -s conftest.$ac_objext'
3482 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 - (eval $ac_try) 2>&5
3485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 - (exit $ac_status); }; }; then
3487 - for ac_declaration in \
3489 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3490 - 'extern "C" void std::exit (int); using std::exit;' \
3491 - 'extern "C" void exit (int) throw ();' \
3492 - 'extern "C" void exit (int);' \
3493 - 'void exit (int);'
3495 - cat >conftest.$ac_ext <<_ACEOF
3498 -cat confdefs.h >>conftest.$ac_ext
3499 -cat >>conftest.$ac_ext <<_ACEOF
3500 -/* end confdefs.h. */
3502 -#include <stdlib.h>
3511 -rm -f conftest.$ac_objext
3512 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3513 - (eval $ac_compile) 2>conftest.er1
3515 - grep -v '^ *+' conftest.er1 >conftest.err
3516 - rm -f conftest.er1
3517 - cat conftest.err >&5
3518 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 - (exit $ac_status); } &&
3520 - { ac_try='test -z "$ac_c_werror_flag"
3521 - || test ! -s conftest.err'
3522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 - (eval $ac_try) 2>&5
3525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 - (exit $ac_status); }; } &&
3527 - { ac_try='test -s conftest.$ac_objext'
3528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 - (eval $ac_try) 2>&5
3531 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 - (exit $ac_status); }; }; then
3535 - echo "$as_me: failed program was:" >&5
3536 -sed 's/^/| /' conftest.$ac_ext >&5
3540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3541 - cat >conftest.$ac_ext <<_ACEOF
3544 -cat confdefs.h >>conftest.$ac_ext
3545 -cat >>conftest.$ac_ext <<_ACEOF
3546 -/* end confdefs.h. */
3556 -rm -f conftest.$ac_objext
3557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3558 - (eval $ac_compile) 2>conftest.er1
3560 - grep -v '^ *+' conftest.er1 >conftest.err
3561 - rm -f conftest.er1
3562 - cat conftest.err >&5
3563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 - (exit $ac_status); } &&
3565 - { ac_try='test -z "$ac_c_werror_flag"
3566 - || test ! -s conftest.err'
3567 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 - (eval $ac_try) 2>&5
3570 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 - (exit $ac_status); }; } &&
3572 - { ac_try='test -s conftest.$ac_objext'
3573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 - (eval $ac_try) 2>&5
3576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 - (exit $ac_status); }; }; then
3580 - echo "$as_me: failed program was:" >&5
3581 -sed 's/^/| /' conftest.$ac_ext >&5
3584 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3587 -if test -n "$ac_declaration"; then
3588 - echo '#ifdef __cplusplus' >>confdefs.h
3589 - echo $ac_declaration >>confdefs.h
3590 - echo '#endif' >>confdefs.h
3594 - echo "$as_me: failed program was:" >&5
3595 -sed 's/^/| /' conftest.$ac_ext >&5
3598 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3600 ac_cpp='$CPP $CPPFLAGS'
3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3602 @@ -2697,8 +3170,8 @@
3603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3606 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3607 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3608 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3609 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3610 # On Suns, sometimes $CPP names a directory.
3611 if test -n "$CPP" && test -d "$CPP"; then
3613 @@ -2732,24 +3205,22 @@
3617 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3618 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3619 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3620 +case "(($ac_try" in
3621 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 + *) ac_try_echo=$ac_try;;
3624 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3625 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3627 grep -v '^ *+' conftest.er1 >conftest.err
3629 cat conftest.err >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 - (exit $ac_status); } >/dev/null; then
3632 - if test -s conftest.err; then
3633 - ac_cpp_err=$ac_c_preproc_warn_flag
3634 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3641 -if test -z "$ac_cpp_err"; then
3642 + (exit $ac_status); } >/dev/null && {
3643 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 + test ! -s conftest.err
3648 echo "$as_me: failed program was:" >&5
3649 @@ -2758,9 +3229,10 @@
3650 # Broken: fails on valid input.
3654 rm -f conftest.err conftest.$ac_ext
3656 - # OK, works on sane cases. Now check whether non-existent headers
3657 + # OK, works on sane cases. Now check whether nonexistent headers
3658 # can be detected and how.
3659 cat >conftest.$ac_ext <<_ACEOF
3661 @@ -2770,24 +3242,22 @@
3662 /* end confdefs.h. */
3663 #include <ac_nonexistent.h>
3665 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3666 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3667 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3668 +case "(($ac_try" in
3669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 + *) ac_try_echo=$ac_try;;
3672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3673 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3675 grep -v '^ *+' conftest.er1 >conftest.err
3677 cat conftest.err >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 - (exit $ac_status); } >/dev/null; then
3680 - if test -s conftest.err; then
3681 - ac_cpp_err=$ac_c_preproc_warn_flag
3682 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3689 -if test -z "$ac_cpp_err"; then
3690 + (exit $ac_status); } >/dev/null && {
3691 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3692 + test ! -s conftest.err
3694 # Broken: success on invalid input.
3697 @@ -2798,6 +3268,7 @@
3702 rm -f conftest.err conftest.$ac_ext
3705 @@ -2815,8 +3286,8 @@
3709 -echo "$as_me:$LINENO: result: $CPP" >&5
3710 -echo "${ECHO_T}$CPP" >&6
3711 +{ echo "$as_me:$LINENO: result: $CPP" >&5
3712 +echo "${ECHO_T}$CPP" >&6; }
3714 for ac_c_preproc_warn_flag in '' yes
3716 @@ -2839,24 +3310,22 @@
3720 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3721 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3722 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3723 +case "(($ac_try" in
3724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725 + *) ac_try_echo=$ac_try;;
3727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3730 grep -v '^ *+' conftest.er1 >conftest.err
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 - (exit $ac_status); } >/dev/null; then
3735 - if test -s conftest.err; then
3736 - ac_cpp_err=$ac_c_preproc_warn_flag
3737 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3744 -if test -z "$ac_cpp_err"; then
3745 + (exit $ac_status); } >/dev/null && {
3746 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3747 + test ! -s conftest.err
3751 echo "$as_me: failed program was:" >&5
3752 @@ -2865,9 +3334,10 @@
3753 # Broken: fails on valid input.
3757 rm -f conftest.err conftest.$ac_ext
3759 - # OK, works on sane cases. Now check whether non-existent headers
3760 + # OK, works on sane cases. Now check whether nonexistent headers
3761 # can be detected and how.
3762 cat >conftest.$ac_ext <<_ACEOF
3764 @@ -2877,24 +3347,22 @@
3765 /* end confdefs.h. */
3766 #include <ac_nonexistent.h>
3768 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3769 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3770 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3771 +case "(($ac_try" in
3772 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 + *) ac_try_echo=$ac_try;;
3775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3776 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778 grep -v '^ *+' conftest.er1 >conftest.err
3780 cat conftest.err >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 - (exit $ac_status); } >/dev/null; then
3783 - if test -s conftest.err; then
3784 - ac_cpp_err=$ac_c_preproc_warn_flag
3785 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3792 -if test -z "$ac_cpp_err"; then
3793 + (exit $ac_status); } >/dev/null && {
3794 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3795 + test ! -s conftest.err
3797 # Broken: success on invalid input.
3800 @@ -2905,6 +3373,7 @@
3805 rm -f conftest.err conftest.$ac_ext
3808 @@ -2931,8 +3400,8 @@
3810 # Warn C++ incompatibilities if supported.
3812 -echo "$as_me:$LINENO: checking whether ${CC} accepts -Wc++-compat" >&5
3813 -echo $ECHO_N "checking whether ${CC} accepts -Wc++-compat... $ECHO_C" >&6
3814 +{ echo "$as_me:$LINENO: checking whether ${CC} accepts -Wc++-compat" >&5
3815 +echo $ECHO_N "checking whether ${CC} accepts -Wc++-compat... $ECHO_C" >&6; }
3816 if test "${ac_cv_prog_cc_w_cxx_compat+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 @@ -2947,40 +3416,36 @@
3822 rm -f conftest.$ac_objext
3823 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3824 - (eval $ac_compile) 2>conftest.er1
3825 +if { (ac_try="$ac_compile"
3826 +case "(($ac_try" in
3827 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828 + *) ac_try_echo=$ac_try;;
3830 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831 + (eval "$ac_compile") 2>conftest.er1
3833 grep -v '^ *+' conftest.er1 >conftest.err
3835 cat conftest.err >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 - (exit $ac_status); } &&
3838 - { ac_try='test -z "$ac_c_werror_flag"
3839 - || test ! -s conftest.err'
3840 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 - (eval $ac_try) 2>&5
3843 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 - (exit $ac_status); }; } &&
3845 - { ac_try='test -s conftest.$ac_objext'
3846 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 - (eval $ac_try) 2>&5
3849 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 - (exit $ac_status); }; }; then
3851 + (exit $ac_status); } && {
3852 + test -z "$ac_c_werror_flag" ||
3853 + test ! -s conftest.err
3854 + } && test -s conftest.$ac_objext; then
3855 ac_cv_prog_cc_w_cxx_compat=yes
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 -ac_cv_prog_cc_w_cxx_compat=no
3861 + ac_cv_prog_cc_w_cxx_compat=no
3863 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3865 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3866 CFLAGS="$save_CFLAGS"
3869 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_w_cxx_compat" >&5
3870 -echo "${ECHO_T}$ac_cv_prog_cc_w_cxx_compat" >&6
3871 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_w_cxx_compat" >&5
3872 +echo "${ECHO_T}$ac_cv_prog_cc_w_cxx_compat" >&6; }
3875 if test x$GCC = xyes; then
3876 @@ -2992,15 +3457,15 @@
3879 if test "x$CC" != xcc; then
3880 - echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3881 -echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3882 + { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3883 +echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3885 - echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3886 -echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3887 + { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3888 +echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3890 set dummy $CC; ac_cc=`echo $2 |
3891 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3892 -if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3893 +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 cat >conftest.$ac_ext <<_ACEOF
3897 @@ -3021,14 +3486,23 @@
3898 # Make sure it works both with $CC and with simple cc.
3899 # We do the test twice because some compilers refuse to overwrite an
3900 # existing .o file with -o, though they will create one.
3901 -ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3902 -if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 - (eval $ac_try) 2>&5
3904 +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3906 +if { (case "(($ac_try" in
3907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 + *) ac_try_echo=$ac_try;;
3910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3911 + (eval "$ac_try") 2>&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); } &&
3915 - test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 - (eval $ac_try) 2>&5
3917 + test -f conftest2.$ac_objext && { (case "(($ac_try" in
3918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3919 + *) ac_try_echo=$ac_try;;
3921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3922 + (eval "$ac_try") 2>&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); };
3926 @@ -3037,19 +3511,32 @@
3927 if test "x$CC" != xcc; then
3928 # Test first that cc exists at all.
3929 if { ac_try='cc -c conftest.$ac_ext >&5'
3930 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 - (eval $ac_try) 2>&5
3932 + { (case "(($ac_try" in
3933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3934 + *) ac_try_echo=$ac_try;;
3936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3937 + (eval "$ac_try") 2>&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3941 - ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3942 - if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 - (eval $ac_try) 2>&5
3944 + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3946 + if { (case "(($ac_try" in
3947 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 + *) ac_try_echo=$ac_try;;
3950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 + (eval "$ac_try") 2>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } &&
3955 - test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 - (eval $ac_try) 2>&5
3957 + test -f conftest2.$ac_objext && { (case "(($ac_try" in
3958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 + *) ac_try_echo=$ac_try;;
3961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962 + (eval "$ac_try") 2>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); };
3966 @@ -3065,15 +3552,15 @@
3968 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3971 +rm -f core conftest*
3974 -if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3975 - echo "$as_me:$LINENO: result: yes" >&5
3976 -echo "${ECHO_T}yes" >&6
3977 +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3978 + { echo "$as_me:$LINENO: result: yes" >&5
3979 +echo "${ECHO_T}yes" >&6; }
3981 - echo "$as_me:$LINENO: result: no" >&5
3982 -echo "${ECHO_T}no" >&6
3983 + { echo "$as_me:$LINENO: result: no" >&5
3984 +echo "${ECHO_T}no" >&6; }
3986 cat >>confdefs.h <<\_ACEOF
3987 #define NO_MINUS_C_MINUS_O 1
3988 @@ -3090,8 +3577,8 @@
3992 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3993 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3994 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3995 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3996 if test "${ac_cv_c_const+set}" = set; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 @@ -3109,10 +3596,10 @@
4001 /* Ultrix mips cc rejects this. */
4002 typedef int charset[2];
4005 /* SunOS 4.1.1 cc rejects this. */
4006 - char const *const *ccp;
4008 + char const *const *pcpcc;
4010 /* NEC SVR4.0.2 mips cc rejects this. */
4011 struct point {int x, y;};
4012 static struct point const zero = {0,0};
4013 @@ -3121,16 +3608,17 @@
4014 an arm of an if-expression whose if-part is not a constant
4016 const char *g = "string";
4017 - ccp = &g + (g ? g-g : 0);
4018 + pcpcc = &g + (g ? g-g : 0);
4019 /* HPUX 7.0 cc rejects these. */
4022 - ccp = (char const *const *) p;
4024 + ppc = (char**) pcpcc;
4025 + pcpcc = (char const *const *) ppc;
4026 { /* SCO 3.2v4 cc rejects this. */
4028 char const *s = 0 ? (char *) 0 : (char const *) 0;
4033 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4035 @@ -3149,7 +3637,9 @@
4037 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4039 + if (!foo) return 0;
4041 + return !cs[0] && !zero.x;
4045 @@ -3157,38 +3647,34 @@
4048 rm -f conftest.$ac_objext
4049 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4050 - (eval $ac_compile) 2>conftest.er1
4051 +if { (ac_try="$ac_compile"
4052 +case "(($ac_try" in
4053 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 + *) ac_try_echo=$ac_try;;
4056 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4057 + (eval "$ac_compile") 2>conftest.er1
4059 grep -v '^ *+' conftest.er1 >conftest.err
4061 cat conftest.err >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 - (exit $ac_status); } &&
4064 - { ac_try='test -z "$ac_c_werror_flag"
4065 - || test ! -s conftest.err'
4066 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 - (eval $ac_try) 2>&5
4069 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 - (exit $ac_status); }; } &&
4071 - { ac_try='test -s conftest.$ac_objext'
4072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 - (eval $ac_try) 2>&5
4075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 - (exit $ac_status); }; }; then
4077 + (exit $ac_status); } && {
4078 + test -z "$ac_c_werror_flag" ||
4079 + test ! -s conftest.err
4080 + } && test -s conftest.$ac_objext; then
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4089 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4091 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4094 -echo "${ECHO_T}$ac_cv_c_const" >&6
4095 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4096 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
4097 if test $ac_cv_c_const = no; then
4099 cat >>confdefs.h <<\_ACEOF
4100 @@ -3197,8 +3683,8 @@
4104 -echo "$as_me:$LINENO: checking for inline" >&5
4105 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
4106 +{ echo "$as_me:$LINENO: checking for inline" >&5
4107 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4108 if test "${ac_cv_c_inline+set}" = set; then
4109 echo $ECHO_N "(cached) $ECHO_C" >&6
4111 @@ -3218,39 +3704,37 @@
4114 rm -f conftest.$ac_objext
4115 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4116 - (eval $ac_compile) 2>conftest.er1
4117 +if { (ac_try="$ac_compile"
4118 +case "(($ac_try" in
4119 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 + *) ac_try_echo=$ac_try;;
4122 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4123 + (eval "$ac_compile") 2>conftest.er1
4125 grep -v '^ *+' conftest.er1 >conftest.err
4127 cat conftest.err >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 - (exit $ac_status); } &&
4130 - { ac_try='test -z "$ac_c_werror_flag"
4131 - || test ! -s conftest.err'
4132 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 - (eval $ac_try) 2>&5
4135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 - (exit $ac_status); }; } &&
4137 - { ac_try='test -s conftest.$ac_objext'
4138 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139 - (eval $ac_try) 2>&5
4141 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 - (exit $ac_status); }; }; then
4143 - ac_cv_c_inline=$ac_kw; break
4144 + (exit $ac_status); } && {
4145 + test -z "$ac_c_werror_flag" ||
4146 + test ! -s conftest.err
4147 + } && test -s conftest.$ac_objext; then
4148 + ac_cv_c_inline=$ac_kw
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.$ac_ext >&5
4155 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4157 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 + test "$ac_cv_c_inline" != no && break
4162 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4163 -echo "${ECHO_T}$ac_cv_c_inline" >&6
4164 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4165 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4168 case $ac_cv_c_inline in
4169 @@ -3268,155 +3752,544 @@
4173 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4174 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4175 -if test "${ac_cv_c_bigendian+set}" = set; then
4177 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4178 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4179 +if test "${ac_cv_path_GREP+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 - # See if sys/param.h defines the BYTE_ORDER macro.
4183 -cat >conftest.$ac_ext <<_ACEOF
4186 -cat confdefs.h >>conftest.$ac_ext
4187 -cat >>conftest.$ac_ext <<_ACEOF
4188 -/* end confdefs.h. */
4189 -#include <sys/types.h>
4190 -#include <sys/param.h>
4191 + # Extract the first word of "grep ggrep" to use in msg output
4192 +if test -z "$GREP"; then
4193 +set dummy grep ggrep; ac_prog_name=$2
4194 +if test "${ac_cv_path_GREP+set}" = set; then
4195 + echo $ECHO_N "(cached) $ECHO_C" >&6
4197 + ac_path_GREP_found=false
4198 +# Loop through the user's path and test for each of PROGNAME-LIST
4199 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4203 + test -z "$as_dir" && as_dir=.
4204 + for ac_prog in grep ggrep; do
4205 + for ac_exec_ext in '' $ac_executable_extensions; do
4206 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4207 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4208 + # Check for GNU ac_path_GREP and select it if it is found.
4209 + # Check for GNU $ac_path_GREP
4210 +case `"$ac_path_GREP" --version 2>&1` in
4212 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4215 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4218 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 + mv "conftest.tmp" "conftest.in"
4220 + cp "conftest.in" "conftest.nl"
4221 + echo 'GREP' >> "conftest.nl"
4222 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224 + ac_count=`expr $ac_count + 1`
4225 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226 + # Best one so far, save it but keep looking for a better one
4227 + ac_cv_path_GREP="$ac_path_GREP"
4228 + ac_path_GREP_max=$ac_count
4230 + # 10*(2^10) chars as input seems more than enough
4231 + test $ac_count -gt 10 && break
4233 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239 -#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4240 - bogus endian macros
4247 -rm -f conftest.$ac_objext
4248 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4249 - (eval $ac_compile) 2>conftest.er1
4251 - grep -v '^ *+' conftest.er1 >conftest.err
4252 - rm -f conftest.er1
4253 - cat conftest.err >&5
4254 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 - (exit $ac_status); } &&
4256 - { ac_try='test -z "$ac_c_werror_flag"
4257 - || test ! -s conftest.err'
4258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 - (eval $ac_try) 2>&5
4261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 - (exit $ac_status); }; } &&
4263 - { ac_try='test -s conftest.$ac_objext'
4264 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 - (eval $ac_try) 2>&5
4267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 - (exit $ac_status); }; }; then
4269 - # It does; now see whether it defined to BIG_ENDIAN or not.
4270 -cat >conftest.$ac_ext <<_ACEOF
4271 + $ac_path_GREP_found && break 3
4281 +GREP="$ac_cv_path_GREP"
4282 +if test -z "$GREP"; then
4283 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4284 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4285 + { (exit 1); exit 1; }; }
4289 + ac_cv_path_GREP=$GREP
4294 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4295 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4296 + GREP="$ac_cv_path_GREP"
4299 +{ echo "$as_me:$LINENO: checking for egrep" >&5
4300 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4301 +if test "${ac_cv_path_EGREP+set}" = set; then
4302 + echo $ECHO_N "(cached) $ECHO_C" >&6
4304 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4305 + then ac_cv_path_EGREP="$GREP -E"
4307 + # Extract the first word of "egrep" to use in msg output
4308 +if test -z "$EGREP"; then
4309 +set dummy egrep; ac_prog_name=$2
4310 +if test "${ac_cv_path_EGREP+set}" = set; then
4311 + echo $ECHO_N "(cached) $ECHO_C" >&6
4313 + ac_path_EGREP_found=false
4314 +# Loop through the user's path and test for each of PROGNAME-LIST
4315 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4319 + test -z "$as_dir" && as_dir=.
4320 + for ac_prog in egrep; do
4321 + for ac_exec_ext in '' $ac_executable_extensions; do
4322 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4323 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4324 + # Check for GNU ac_path_EGREP and select it if it is found.
4325 + # Check for GNU $ac_path_EGREP
4326 +case `"$ac_path_EGREP" --version 2>&1` in
4328 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4331 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4334 + cat "conftest.in" "conftest.in" >"conftest.tmp"
4335 + mv "conftest.tmp" "conftest.in"
4336 + cp "conftest.in" "conftest.nl"
4337 + echo 'EGREP' >> "conftest.nl"
4338 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4339 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4340 + ac_count=`expr $ac_count + 1`
4341 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4342 + # Best one so far, save it but keep looking for a better one
4343 + ac_cv_path_EGREP="$ac_path_EGREP"
4344 + ac_path_EGREP_max=$ac_count
4346 + # 10*(2^10) chars as input seems more than enough
4347 + test $ac_count -gt 10 && break
4349 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4353 + $ac_path_EGREP_found && break 3
4363 +EGREP="$ac_cv_path_EGREP"
4364 +if test -z "$EGREP"; then
4365 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4366 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4367 + { (exit 1); exit 1; }; }
4371 + ac_cv_path_EGREP=$EGREP
4377 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4378 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4379 + EGREP="$ac_cv_path_EGREP"
4382 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4383 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4384 +if test "${ac_cv_header_stdc+set}" = set; then
4385 + echo $ECHO_N "(cached) $ECHO_C" >&6
4387 + cat >conftest.$ac_ext <<_ACEOF
4390 cat confdefs.h >>conftest.$ac_ext
4391 cat >>conftest.$ac_ext <<_ACEOF
4392 /* end confdefs.h. */
4393 -#include <sys/types.h>
4394 -#include <sys/param.h>
4395 +#include <stdlib.h>
4396 +#include <stdarg.h>
4397 +#include <string.h>
4403 -#if BYTE_ORDER != BIG_ENDIAN
4411 rm -f conftest.$ac_objext
4412 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4413 - (eval $ac_compile) 2>conftest.er1
4414 +if { (ac_try="$ac_compile"
4415 +case "(($ac_try" in
4416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417 + *) ac_try_echo=$ac_try;;
4419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4420 + (eval "$ac_compile") 2>conftest.er1
4422 grep -v '^ *+' conftest.er1 >conftest.err
4424 cat conftest.err >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 - (exit $ac_status); } &&
4427 - { ac_try='test -z "$ac_c_werror_flag"
4428 - || test ! -s conftest.err'
4429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 - (eval $ac_try) 2>&5
4432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 - (exit $ac_status); }; } &&
4434 - { ac_try='test -s conftest.$ac_objext'
4435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4436 - (eval $ac_try) 2>&5
4438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 - (exit $ac_status); }; }; then
4440 - ac_cv_c_bigendian=yes
4441 + (exit $ac_status); } && {
4442 + test -z "$ac_c_werror_flag" ||
4443 + test ! -s conftest.err
4444 + } && test -s conftest.$ac_objext; then
4445 + ac_cv_header_stdc=yes
4447 echo "$as_me: failed program was:" >&5
4448 sed 's/^/| /' conftest.$ac_ext >&5
4450 -ac_cv_c_bigendian=no
4451 + ac_cv_header_stdc=no
4453 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4455 - echo "$as_me: failed program was:" >&5
4456 -sed 's/^/| /' conftest.$ac_ext >&5
4458 -# It does not; compile a test program.
4459 -if test "$cross_compiling" = yes; then
4460 - # try to guess the endianness by grepping values into an object file
4461 - ac_cv_c_bigendian=unknown
4462 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4464 +if test $ac_cv_header_stdc = yes; then
4465 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4466 cat >conftest.$ac_ext <<_ACEOF
4469 cat confdefs.h >>conftest.$ac_ext
4470 cat >>conftest.$ac_ext <<_ACEOF
4471 /* end confdefs.h. */
4472 -short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4473 -short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4474 -void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4475 -short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4476 -short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4477 -void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4478 +#include <string.h>
4481 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4482 + $EGREP "memchr" >/dev/null 2>&1; then
4485 + ac_cv_header_stdc=no
4491 +if test $ac_cv_header_stdc = yes; then
4492 + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4493 + cat >conftest.$ac_ext <<_ACEOF
4496 +cat confdefs.h >>conftest.$ac_ext
4497 +cat >>conftest.$ac_ext <<_ACEOF
4498 +/* end confdefs.h. */
4499 +#include <stdlib.h>
4502 +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4503 + $EGREP "free" >/dev/null 2>&1; then
4506 + ac_cv_header_stdc=no
4512 +if test $ac_cv_header_stdc = yes; then
4513 + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4514 + if test "$cross_compiling" = yes; then
4517 + cat >conftest.$ac_ext <<_ACEOF
4520 +cat confdefs.h >>conftest.$ac_ext
4521 +cat >>conftest.$ac_ext <<_ACEOF
4522 +/* end confdefs.h. */
4524 +#include <stdlib.h>
4525 +#if ((' ' & 0x0FF) == 0x020)
4526 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4527 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4529 +# define ISLOWER(c) \
4530 + (('a' <= (c) && (c) <= 'i') \
4531 + || ('j' <= (c) && (c) <= 'r') \
4532 + || ('s' <= (c) && (c) <= 'z'))
4533 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4536 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4540 - _ascii (); _ebcdic ();
4542 + for (i = 0; i < 256; i++)
4543 + if (XOR (islower (i), ISLOWER (i))
4544 + || toupper (i) != TOUPPER (i))
4549 +rm -f conftest$ac_exeext
4550 +if { (ac_try="$ac_link"
4551 +case "(($ac_try" in
4552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4553 + *) ac_try_echo=$ac_try;;
4555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 + (eval "$ac_link") 2>&5
4558 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4560 + { (case "(($ac_try" in
4561 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4562 + *) ac_try_echo=$ac_try;;
4564 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4565 + (eval "$ac_try") 2>&5
4567 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 + (exit $ac_status); }; }; then
4571 + echo "$as_me: program exited with status $ac_status" >&5
4572 +echo "$as_me: failed program was:" >&5
4573 +sed 's/^/| /' conftest.$ac_ext >&5
4575 +( exit $ac_status )
4576 +ac_cv_header_stdc=no
4578 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4584 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4585 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4586 +if test $ac_cv_header_stdc = yes; then
4588 +cat >>confdefs.h <<\_ACEOF
4589 +#define STDC_HEADERS 1
4594 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4604 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4605 + inttypes.h stdint.h unistd.h
4607 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4608 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4609 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4610 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4611 + echo $ECHO_N "(cached) $ECHO_C" >&6
4613 + cat >conftest.$ac_ext <<_ACEOF
4616 +cat confdefs.h >>conftest.$ac_ext
4617 +cat >>conftest.$ac_ext <<_ACEOF
4618 +/* end confdefs.h. */
4619 +#include <$ac_header>
4621 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4622 +case "(($ac_try" in
4623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624 + *) ac_try_echo=$ac_try;;
4626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4629 + grep -v '^ *+' conftest.er1 >conftest.err
4630 + rm -f conftest.er1
4631 + cat conftest.err >&5
4632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 + (exit $ac_status); } >/dev/null && {
4634 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4635 + test ! -s conftest.err
4637 + eval "$as_ac_Header=yes"
4639 + echo "$as_me: failed program was:" >&5
4640 +sed 's/^/| /' conftest.$ac_ext >&5
4642 + eval "$as_ac_Header=no"
4645 +rm -f conftest.err conftest.$ac_ext
4647 +ac_res=`eval echo '${'$as_ac_Header'}'`
4648 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4649 +echo "${ECHO_T}$ac_res" >&6; }
4650 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4651 + cat >>confdefs.h <<_ACEOF
4652 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4659 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4660 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
4661 +if test "${ac_cv_c_bigendian+set}" = set; then
4662 + echo $ECHO_N "(cached) $ECHO_C" >&6
4664 + # See if sys/param.h defines the BYTE_ORDER macro.
4665 +cat >conftest.$ac_ext <<_ACEOF
4668 +cat confdefs.h >>conftest.$ac_ext
4669 +cat >>conftest.$ac_ext <<_ACEOF
4670 +/* end confdefs.h. */
4671 +#include <sys/types.h>
4672 +#include <sys/param.h>
4677 +#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
4678 + && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
4679 + bogus endian macros
4686 rm -f conftest.$ac_objext
4687 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 - (eval $ac_compile) 2>conftest.er1
4689 +if { (ac_try="$ac_compile"
4690 +case "(($ac_try" in
4691 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4692 + *) ac_try_echo=$ac_try;;
4694 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4695 + (eval "$ac_compile") 2>conftest.er1
4697 grep -v '^ *+' conftest.er1 >conftest.err
4699 cat conftest.err >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 - (exit $ac_status); } &&
4702 - { ac_try='test -z "$ac_c_werror_flag"
4703 - || test ! -s conftest.err'
4704 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 - (eval $ac_try) 2>&5
4706 + (exit $ac_status); } && {
4707 + test -z "$ac_c_werror_flag" ||
4708 + test ! -s conftest.err
4709 + } && test -s conftest.$ac_objext; then
4710 + # It does; now see whether it defined to BIG_ENDIAN or not.
4711 +cat >conftest.$ac_ext <<_ACEOF
4714 +cat confdefs.h >>conftest.$ac_ext
4715 +cat >>conftest.$ac_ext <<_ACEOF
4716 +/* end confdefs.h. */
4717 +#include <sys/types.h>
4718 +#include <sys/param.h>
4723 +#if BYTE_ORDER != BIG_ENDIAN
4731 +rm -f conftest.$ac_objext
4732 +if { (ac_try="$ac_compile"
4733 +case "(($ac_try" in
4734 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 + *) ac_try_echo=$ac_try;;
4737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 + (eval "$ac_compile") 2>conftest.er1
4740 + grep -v '^ *+' conftest.er1 >conftest.err
4741 + rm -f conftest.er1
4742 + cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 - (exit $ac_status); }; } &&
4745 - { ac_try='test -s conftest.$ac_objext'
4746 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 - (eval $ac_try) 2>&5
4748 + (exit $ac_status); } && {
4749 + test -z "$ac_c_werror_flag" ||
4750 + test ! -s conftest.err
4751 + } && test -s conftest.$ac_objext; then
4752 + ac_cv_c_bigendian=yes
4754 + echo "$as_me: failed program was:" >&5
4755 +sed 's/^/| /' conftest.$ac_ext >&5
4757 + ac_cv_c_bigendian=no
4760 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 + echo "$as_me: failed program was:" >&5
4763 +sed 's/^/| /' conftest.$ac_ext >&5
4765 + # It does not; compile a test program.
4766 +if test "$cross_compiling" = yes; then
4767 + # try to guess the endianness by grepping values into an object file
4768 + ac_cv_c_bigendian=unknown
4769 + cat >conftest.$ac_ext <<_ACEOF
4772 +cat confdefs.h >>conftest.$ac_ext
4773 +cat >>conftest.$ac_ext <<_ACEOF
4774 +/* end confdefs.h. */
4775 +short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4776 +short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4777 +void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4778 +short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4779 +short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4780 +void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4784 + _ascii (); _ebcdic ();
4789 +rm -f conftest.$ac_objext
4790 +if { (ac_try="$ac_compile"
4791 +case "(($ac_try" in
4792 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4793 + *) ac_try_echo=$ac_try;;
4795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 + (eval "$ac_compile") 2>conftest.er1
4798 + grep -v '^ *+' conftest.er1 >conftest.err
4799 + rm -f conftest.er1
4800 + cat conftest.err >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 - (exit $ac_status); }; }; then
4803 + (exit $ac_status); } && {
4804 + test -z "$ac_c_werror_flag" ||
4805 + test ! -s conftest.err
4806 + } && test -s conftest.$ac_objext; then
4807 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4808 ac_cv_c_bigendian=yes
4810 @@ -3432,8 +4305,10 @@
4811 echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.$ac_ext >&5
4816 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4820 cat >conftest.$ac_ext <<_ACEOF
4822 @@ -3441,27 +4316,41 @@
4823 cat confdefs.h >>conftest.$ac_ext
4824 cat >>conftest.$ac_ext <<_ACEOF
4825 /* end confdefs.h. */
4826 +$ac_includes_default
4831 /* Are we little or big endian? From Harbison&Steele. */
4835 - char c[sizeof (long)];
4837 + char c[sizeof (long int)];
4840 - exit (u.c[sizeof (long) - 1] == 1);
4841 + return u.c[sizeof (long int) - 1] == 1;
4847 rm -f conftest$ac_exeext
4848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4849 - (eval $ac_link) 2>&5
4850 +if { (ac_try="$ac_link"
4851 +case "(($ac_try" in
4852 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 + *) ac_try_echo=$ac_try;;
4855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 + (eval "$ac_link") 2>&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4860 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 - (eval $ac_try) 2>&5
4862 + { (case "(($ac_try" in
4863 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 + *) ac_try_echo=$ac_try;;
4866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867 + (eval "$ac_try") 2>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; }; then
4871 @@ -3474,13 +4363,16 @@
4873 ac_cv_c_bigendian=yes
4875 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4876 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4881 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4883 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4885 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4886 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4887 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4888 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4889 case $ac_cv_c_bigendian in
4892 @@ -3501,7 +4393,7 @@
4896 - ac_config_headers="$ac_config_headers config.h:config.in"
4897 +ac_config_headers="$ac_config_headers config.h:config.in"
4901 @@ -3518,8 +4410,8 @@
4902 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4903 # OS/2's system install, which has a completely different semantic
4904 # ./install, which can be erroneously created by make from ./install.sh.
4905 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4906 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4907 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4908 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4909 if test -z "$INSTALL"; then
4910 if test "${ac_cv_path_install+set}" = set; then
4911 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 @@ -3541,7 +4433,7 @@
4914 for ac_prog in ginstall scoinst install; do
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4917 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4918 if test $ac_prog = install &&
4919 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4920 # AIX install. It has an incompatible calling convention.
4921 @@ -3560,21 +4452,22 @@
4929 if test "${ac_cv_path_install+set}" = set; then
4930 INSTALL=$ac_cv_path_install
4932 - # As a last resort, use the slow shell script. We don't cache a
4933 - # path for INSTALL within a source directory, because that will
4934 + # As a last resort, use the slow shell script. Don't cache a
4935 + # value for INSTALL within a source directory, because that will
4936 # break other packages using the cache if that directory is
4937 - # removed, or if the path is relative.
4938 + # removed, or if the value is a relative name.
4939 INSTALL=$ac_install_sh
4942 -echo "$as_me:$LINENO: result: $INSTALL" >&5
4943 -echo "${ECHO_T}$INSTALL" >&6
4944 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4945 +echo "${ECHO_T}$INSTALL" >&6; }
4947 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4948 # It thinks the first close brace ends the variable substitution.
4949 @@ -3684,13 +4577,12 @@
4954 for ac_header in sys/file.h sys/param.h limits.h stdlib.h malloc.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h sys/pstat.h sys/sysmp.h sys/sysinfo.h machine/hal_sysinfo.h sys/table.h sys/sysctl.h sys/systemcfg.h stdint.h stdio_ext.h
4956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4957 -echo "$as_me:$LINENO: checking for $ac_header" >&5
4958 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4959 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4960 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4961 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4962 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 cat >conftest.$ac_ext <<_ACEOF
4966 @@ -3701,24 +4593,22 @@
4967 /* end confdefs.h. */
4968 #include <$ac_header>
4970 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4971 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4972 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4973 +case "(($ac_try" in
4974 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 + *) ac_try_echo=$ac_try;;
4977 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4980 grep -v '^ *+' conftest.er1 >conftest.err
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 - (exit $ac_status); } >/dev/null; then
4985 - if test -s conftest.err; then
4986 - ac_cpp_err=$ac_c_preproc_warn_flag
4987 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4994 -if test -z "$ac_cpp_err"; then
4995 + (exit $ac_status); } >/dev/null && {
4996 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4997 + test ! -s conftest.err
4999 eval "$as_ac_Header=yes"
5001 echo "$as_me: failed program was:" >&5
5002 @@ -3726,10 +4616,12 @@
5004 eval "$as_ac_Header=no"
5007 rm -f conftest.err conftest.$ac_ext
5009 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5010 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5011 +ac_res=`eval echo '${'$as_ac_Header'}'`
5012 + { echo "$as_me:$LINENO: result: $ac_res" >&5
5013 +echo "${ECHO_T}$ac_res" >&6; }
5014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5015 cat >>confdefs.h <<_ACEOF
5016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5017 @@ -3738,8 +4630,8 @@
5021 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5022 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5023 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5024 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
5025 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 @@ -3752,7 +4644,7 @@
5029 #include <sys/types.h>
5030 #include <sys/wait.h>
5032 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5033 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5036 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5037 @@ -3769,38 +4661,34 @@
5040 rm -f conftest.$ac_objext
5041 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 - (eval $ac_compile) 2>conftest.er1
5043 +if { (ac_try="$ac_compile"
5044 +case "(($ac_try" in
5045 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5046 + *) ac_try_echo=$ac_try;;
5048 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5049 + (eval "$ac_compile") 2>conftest.er1
5051 grep -v '^ *+' conftest.er1 >conftest.err
5053 cat conftest.err >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 - (exit $ac_status); } &&
5056 - { ac_try='test -z "$ac_c_werror_flag"
5057 - || test ! -s conftest.err'
5058 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 - (eval $ac_try) 2>&5
5061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 - (exit $ac_status); }; } &&
5063 - { ac_try='test -s conftest.$ac_objext'
5064 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5065 - (eval $ac_try) 2>&5
5067 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 - (exit $ac_status); }; }; then
5069 + (exit $ac_status); } && {
5070 + test -z "$ac_c_werror_flag" ||
5071 + test ! -s conftest.err
5072 + } && test -s conftest.$ac_objext; then
5073 ac_cv_header_sys_wait_h=yes
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 -ac_cv_header_sys_wait_h=no
5079 + ac_cv_header_sys_wait_h=no
5081 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5083 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5086 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5087 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5088 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
5089 if test $ac_cv_header_sys_wait_h = yes; then
5091 cat >>confdefs.h <<\_ACEOF
5092 @@ -3809,8 +4697,8 @@
5096 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5097 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5098 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5099 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
5100 if test "${ac_cv_header_time+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 @@ -3834,38 +4722,34 @@
5106 rm -f conftest.$ac_objext
5107 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5108 - (eval $ac_compile) 2>conftest.er1
5109 +if { (ac_try="$ac_compile"
5110 +case "(($ac_try" in
5111 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 + *) ac_try_echo=$ac_try;;
5114 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5115 + (eval "$ac_compile") 2>conftest.er1
5117 grep -v '^ *+' conftest.er1 >conftest.err
5119 cat conftest.err >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 - (exit $ac_status); } &&
5122 - { ac_try='test -z "$ac_c_werror_flag"
5123 - || test ! -s conftest.err'
5124 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125 - (eval $ac_try) 2>&5
5127 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 - (exit $ac_status); }; } &&
5129 - { ac_try='test -s conftest.$ac_objext'
5130 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 - (eval $ac_try) 2>&5
5133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 - (exit $ac_status); }; }; then
5135 + (exit $ac_status); } && {
5136 + test -z "$ac_c_werror_flag" ||
5137 + test ! -s conftest.err
5138 + } && test -s conftest.$ac_objext; then
5139 ac_cv_header_time=yes
5141 echo "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 -ac_cv_header_time=no
5145 + ac_cv_header_time=no
5147 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5149 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5152 -echo "${ECHO_T}$ac_cv_header_time" >&6
5153 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5154 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
5155 if test $ac_cv_header_time = yes; then
5157 cat >>confdefs.h <<\_ACEOF
5158 @@ -3875,8 +4759,8 @@
5162 -echo "$as_me:$LINENO: checking whether errno must be declared" >&5
5163 -echo $ECHO_N "checking whether errno must be declared... $ECHO_C" >&6
5164 +{ echo "$as_me:$LINENO: checking whether errno must be declared" >&5
5165 +echo $ECHO_N "checking whether errno must be declared... $ECHO_C" >&6; }
5166 if test "${libiberty_cv_declare_errno+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 @@ -3896,38 +4780,34 @@
5172 rm -f conftest.$ac_objext
5173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5174 - (eval $ac_compile) 2>conftest.er1
5175 +if { (ac_try="$ac_compile"
5176 +case "(($ac_try" in
5177 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 + *) ac_try_echo=$ac_try;;
5180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5181 + (eval "$ac_compile") 2>conftest.er1
5183 grep -v '^ *+' conftest.er1 >conftest.err
5185 cat conftest.err >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 - (exit $ac_status); } &&
5188 - { ac_try='test -z "$ac_c_werror_flag"
5189 - || test ! -s conftest.err'
5190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191 - (eval $ac_try) 2>&5
5193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 - (exit $ac_status); }; } &&
5195 - { ac_try='test -s conftest.$ac_objext'
5196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197 - (eval $ac_try) 2>&5
5199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 - (exit $ac_status); }; }; then
5201 + (exit $ac_status); } && {
5202 + test -z "$ac_c_werror_flag" ||
5203 + test ! -s conftest.err
5204 + } && test -s conftest.$ac_objext; then
5205 libiberty_cv_declare_errno=no
5207 echo "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 -libiberty_cv_declare_errno=yes
5211 + libiberty_cv_declare_errno=yes
5213 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5215 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5217 -echo "$as_me:$LINENO: result: $libiberty_cv_declare_errno" >&5
5218 -echo "${ECHO_T}$libiberty_cv_declare_errno" >&6
5219 +{ echo "$as_me:$LINENO: result: $libiberty_cv_declare_errno" >&5
5220 +echo "${ECHO_T}$libiberty_cv_declare_errno" >&6; }
5221 if test $libiberty_cv_declare_errno = yes
5223 cat >>confdefs.h <<\_ACEOF
5224 @@ -3938,254 +4818,8 @@
5227 # Determine the size of an int for struct fibnode.
5228 -echo "$as_me:$LINENO: checking for egrep" >&5
5229 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5230 -if test "${ac_cv_prog_egrep+set}" = set; then
5231 - echo $ECHO_N "(cached) $ECHO_C" >&6
5233 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5234 - then ac_cv_prog_egrep='grep -E'
5235 - else ac_cv_prog_egrep='egrep'
5238 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5239 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5240 - EGREP=$ac_cv_prog_egrep
5243 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5244 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5245 -if test "${ac_cv_header_stdc+set}" = set; then
5246 - echo $ECHO_N "(cached) $ECHO_C" >&6
5248 - cat >conftest.$ac_ext <<_ACEOF
5251 -cat confdefs.h >>conftest.$ac_ext
5252 -cat >>conftest.$ac_ext <<_ACEOF
5253 -/* end confdefs.h. */
5254 -#include <stdlib.h>
5255 -#include <stdarg.h>
5256 -#include <string.h>
5267 -rm -f conftest.$ac_objext
5268 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5269 - (eval $ac_compile) 2>conftest.er1
5271 - grep -v '^ *+' conftest.er1 >conftest.err
5272 - rm -f conftest.er1
5273 - cat conftest.err >&5
5274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 - (exit $ac_status); } &&
5276 - { ac_try='test -z "$ac_c_werror_flag"
5277 - || test ! -s conftest.err'
5278 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 - (eval $ac_try) 2>&5
5281 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 - (exit $ac_status); }; } &&
5283 - { ac_try='test -s conftest.$ac_objext'
5284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 - (eval $ac_try) 2>&5
5287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 - (exit $ac_status); }; }; then
5289 - ac_cv_header_stdc=yes
5291 - echo "$as_me: failed program was:" >&5
5292 -sed 's/^/| /' conftest.$ac_ext >&5
5294 -ac_cv_header_stdc=no
5296 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5298 -if test $ac_cv_header_stdc = yes; then
5299 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5300 - cat >conftest.$ac_ext <<_ACEOF
5303 -cat confdefs.h >>conftest.$ac_ext
5304 -cat >>conftest.$ac_ext <<_ACEOF
5305 -/* end confdefs.h. */
5306 -#include <string.h>
5309 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5310 - $EGREP "memchr" >/dev/null 2>&1; then
5313 - ac_cv_header_stdc=no
5319 -if test $ac_cv_header_stdc = yes; then
5320 - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5321 - cat >conftest.$ac_ext <<_ACEOF
5324 -cat confdefs.h >>conftest.$ac_ext
5325 -cat >>conftest.$ac_ext <<_ACEOF
5326 -/* end confdefs.h. */
5327 -#include <stdlib.h>
5330 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 - $EGREP "free" >/dev/null 2>&1; then
5334 - ac_cv_header_stdc=no
5340 -if test $ac_cv_header_stdc = yes; then
5341 - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5342 - if test "$cross_compiling" = yes; then
5345 - cat >conftest.$ac_ext <<_ACEOF
5348 -cat confdefs.h >>conftest.$ac_ext
5349 -cat >>conftest.$ac_ext <<_ACEOF
5350 -/* end confdefs.h. */
5352 -#if ((' ' & 0x0FF) == 0x020)
5353 -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5354 -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5356 -# define ISLOWER(c) \
5357 - (('a' <= (c) && (c) <= 'i') \
5358 - || ('j' <= (c) && (c) <= 'r') \
5359 - || ('s' <= (c) && (c) <= 'z'))
5360 -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5363 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5368 - for (i = 0; i < 256; i++)
5369 - if (XOR (islower (i), ISLOWER (i))
5370 - || toupper (i) != TOUPPER (i))
5375 -rm -f conftest$ac_exeext
5376 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5377 - (eval $ac_link) 2>&5
5379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5381 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 - (eval $ac_try) 2>&5
5384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5385 - (exit $ac_status); }; }; then
5388 - echo "$as_me: program exited with status $ac_status" >&5
5389 -echo "$as_me: failed program was:" >&5
5390 -sed 's/^/| /' conftest.$ac_ext >&5
5392 -( exit $ac_status )
5393 -ac_cv_header_stdc=no
5395 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5399 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5400 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
5401 -if test $ac_cv_header_stdc = yes; then
5403 -cat >>confdefs.h <<\_ACEOF
5404 -#define STDC_HEADERS 1
5409 -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5419 -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5420 - inttypes.h stdint.h unistd.h
5422 -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5423 -echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 - echo $ECHO_N "(cached) $ECHO_C" >&6
5428 - cat >conftest.$ac_ext <<_ACEOF
5431 -cat confdefs.h >>conftest.$ac_ext
5432 -cat >>conftest.$ac_ext <<_ACEOF
5433 -/* end confdefs.h. */
5434 -#include <$ac_header>
5436 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5437 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5439 - grep -v '^ *+' conftest.er1 >conftest.err
5440 - rm -f conftest.er1
5441 - cat conftest.err >&5
5442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 - (exit $ac_status); } >/dev/null; then
5444 - if test -s conftest.err; then
5445 - ac_cpp_err=$ac_c_preproc_warn_flag
5446 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5453 -if test -z "$ac_cpp_err"; then
5454 - eval "$as_ac_Header=yes"
5456 - echo "$as_me: failed program was:" >&5
5457 -sed 's/^/| /' conftest.$ac_ext >&5
5459 - eval "$as_ac_Header=no"
5461 -rm -f conftest.err conftest.$ac_ext
5463 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5464 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5465 -if test `eval echo '${'$as_ac_Header'}'` = yes; then
5466 - cat >>confdefs.h <<_ACEOF
5467 -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5474 -echo "$as_me:$LINENO: checking for int" >&5
5475 -echo $ECHO_N "checking for int... $ECHO_C" >&6
5476 +{ echo "$as_me:$LINENO: checking for int" >&5
5477 +echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5478 if test "${ac_cv_type_int+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 @@ -4196,61 +4830,57 @@
5482 cat >>conftest.$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5484 $ac_includes_default
5485 +typedef int ac__type_new_;
5490 +if ((ac__type_new_ *) 0)
5493 +if (sizeof (ac__type_new_))
5499 rm -f conftest.$ac_objext
5500 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 - (eval $ac_compile) 2>conftest.er1
5502 +if { (ac_try="$ac_compile"
5503 +case "(($ac_try" in
5504 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5505 + *) ac_try_echo=$ac_try;;
5507 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 + (eval "$ac_compile") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1 >conftest.err
5512 cat conftest.err >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 - (exit $ac_status); } &&
5515 - { ac_try='test -z "$ac_c_werror_flag"
5516 - || test ! -s conftest.err'
5517 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 - (eval $ac_try) 2>&5
5520 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 - (exit $ac_status); }; } &&
5522 - { ac_try='test -s conftest.$ac_objext'
5523 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5524 - (eval $ac_try) 2>&5
5526 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 - (exit $ac_status); }; }; then
5528 + (exit $ac_status); } && {
5529 + test -z "$ac_c_werror_flag" ||
5530 + test ! -s conftest.err
5531 + } && test -s conftest.$ac_objext; then
5534 echo "$as_me: failed program was:" >&5
5535 sed 's/^/| /' conftest.$ac_ext >&5
5540 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5542 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 -echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5545 -echo "${ECHO_T}$ac_cv_type_int" >&6
5546 +{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5547 +echo "${ECHO_T}$ac_cv_type_int" >&6; }
5549 -echo "$as_me:$LINENO: checking size of int" >&5
5550 -echo $ECHO_N "checking size of int... $ECHO_C" >&6
5551 +# The cast to long int works around a bug in the HP C Compiler
5552 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5553 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5554 +# This bug is HP SR number 8606223364.
5555 +{ echo "$as_me:$LINENO: checking size of int" >&5
5556 +echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5557 if test "${ac_cv_sizeof_int+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 - if test "$ac_cv_type_int" = yes; then
5561 - # The cast to unsigned long works around a bug in the HP C Compiler
5562 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5563 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5564 - # This bug is HP SR number 8606223364.
5565 if test "$cross_compiling" = yes; then
5566 # Depending upon the size, compute the lo and hi bounds.
5567 cat >conftest.$ac_ext <<_ACEOF
5568 @@ -4260,10 +4890,11 @@
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5571 $ac_includes_default
5572 + typedef int ac__type_sizeof_;
5576 -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5577 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5581 @@ -4271,27 +4902,22 @@
5584 rm -f conftest.$ac_objext
5585 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5586 - (eval $ac_compile) 2>conftest.er1
5587 +if { (ac_try="$ac_compile"
5588 +case "(($ac_try" in
5589 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5590 + *) ac_try_echo=$ac_try;;
5592 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 + (eval "$ac_compile") 2>conftest.er1
5595 grep -v '^ *+' conftest.er1 >conftest.err
5597 cat conftest.err >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 - (exit $ac_status); } &&
5600 - { ac_try='test -z "$ac_c_werror_flag"
5601 - || test ! -s conftest.err'
5602 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5603 - (eval $ac_try) 2>&5
5605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 - (exit $ac_status); }; } &&
5607 - { ac_try='test -s conftest.$ac_objext'
5608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 - (eval $ac_try) 2>&5
5611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 - (exit $ac_status); }; }; then
5613 + (exit $ac_status); } && {
5614 + test -z "$ac_c_werror_flag" ||
5615 + test ! -s conftest.err
5616 + } && test -s conftest.$ac_objext; then
5619 cat >conftest.$ac_ext <<_ACEOF
5620 @@ -4301,10 +4927,11 @@
5621 cat >>conftest.$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 $ac_includes_default
5624 + typedef int ac__type_sizeof_;
5628 -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5629 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5633 @@ -4312,56 +4939,53 @@
5636 rm -f conftest.$ac_objext
5637 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5638 - (eval $ac_compile) 2>conftest.er1
5639 +if { (ac_try="$ac_compile"
5640 +case "(($ac_try" in
5641 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5642 + *) ac_try_echo=$ac_try;;
5644 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 + (eval "$ac_compile") 2>conftest.er1
5647 grep -v '^ *+' conftest.er1 >conftest.err
5649 cat conftest.err >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 - (exit $ac_status); } &&
5652 - { ac_try='test -z "$ac_c_werror_flag"
5653 - || test ! -s conftest.err'
5654 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 - (eval $ac_try) 2>&5
5657 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 - (exit $ac_status); }; } &&
5659 - { ac_try='test -s conftest.$ac_objext'
5660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 - (eval $ac_try) 2>&5
5663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 - (exit $ac_status); }; }; then
5665 + (exit $ac_status); } && {
5666 + test -z "$ac_c_werror_flag" ||
5667 + test ! -s conftest.err
5668 + } && test -s conftest.$ac_objext; then
5669 ac_hi=$ac_mid; break
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5674 -ac_lo=`expr $ac_mid + 1`
5675 - if test $ac_lo -le $ac_mid; then
5679 - ac_mid=`expr 2 '*' $ac_mid + 1`
5680 + ac_lo=`expr $ac_mid + 1`
5681 + if test $ac_lo -le $ac_mid; then
5685 + ac_mid=`expr 2 '*' $ac_mid + 1`
5687 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5695 -cat >conftest.$ac_ext <<_ACEOF
5696 + cat >conftest.$ac_ext <<_ACEOF
5699 cat confdefs.h >>conftest.$ac_ext
5700 cat >>conftest.$ac_ext <<_ACEOF
5701 /* end confdefs.h. */
5702 $ac_includes_default
5703 + typedef int ac__type_sizeof_;
5707 -static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5708 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5712 @@ -4369,27 +4993,22 @@
5715 rm -f conftest.$ac_objext
5716 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 - (eval $ac_compile) 2>conftest.er1
5718 +if { (ac_try="$ac_compile"
5719 +case "(($ac_try" in
5720 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 + *) ac_try_echo=$ac_try;;
5723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5724 + (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 - (exit $ac_status); } &&
5731 - { ac_try='test -z "$ac_c_werror_flag"
5732 - || test ! -s conftest.err'
5733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 - (eval $ac_try) 2>&5
5736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 - (exit $ac_status); }; } &&
5738 - { ac_try='test -s conftest.$ac_objext'
5739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 - (eval $ac_try) 2>&5
5742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 - (exit $ac_status); }; }; then
5744 + (exit $ac_status); } && {
5745 + test -z "$ac_c_werror_flag" ||
5746 + test ! -s conftest.err
5747 + } && test -s conftest.$ac_objext; then
5750 cat >conftest.$ac_ext <<_ACEOF
5751 @@ -4399,10 +5018,11 @@
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5754 $ac_includes_default
5755 + typedef int ac__type_sizeof_;
5759 -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5760 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5764 @@ -4410,50 +5030,48 @@
5767 rm -f conftest.$ac_objext
5768 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 - (eval $ac_compile) 2>conftest.er1
5770 +if { (ac_try="$ac_compile"
5771 +case "(($ac_try" in
5772 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5773 + *) ac_try_echo=$ac_try;;
5775 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5776 + (eval "$ac_compile") 2>conftest.er1
5778 grep -v '^ *+' conftest.er1 >conftest.err
5780 cat conftest.err >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 - (exit $ac_status); } &&
5783 - { ac_try='test -z "$ac_c_werror_flag"
5784 - || test ! -s conftest.err'
5785 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 - (eval $ac_try) 2>&5
5788 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 - (exit $ac_status); }; } &&
5790 - { ac_try='test -s conftest.$ac_objext'
5791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 - (eval $ac_try) 2>&5
5794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 - (exit $ac_status); }; }; then
5796 + (exit $ac_status); } && {
5797 + test -z "$ac_c_werror_flag" ||
5798 + test ! -s conftest.err
5799 + } && test -s conftest.$ac_objext; then
5800 ac_lo=$ac_mid; break
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5805 -ac_hi=`expr '(' $ac_mid ')' - 1`
5806 - if test $ac_mid -le $ac_hi; then
5810 - ac_mid=`expr 2 '*' $ac_mid`
5811 + ac_hi=`expr '(' $ac_mid ')' - 1`
5812 + if test $ac_mid -le $ac_hi; then
5816 + ac_mid=`expr 2 '*' $ac_mid`
5818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.$ac_ext >&5
5829 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5831 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5833 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5835 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836 # Binary search between lo and hi bounds.
5837 while test "x$ac_lo" != "x$ac_hi"; do
5838 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5839 @@ -4464,10 +5082,11 @@
5840 cat >>conftest.$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5842 $ac_includes_default
5843 + typedef int ac__type_sizeof_;
5847 -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5848 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5852 @@ -4475,52 +5094,45 @@
5855 rm -f conftest.$ac_objext
5856 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5857 - (eval $ac_compile) 2>conftest.er1
5858 +if { (ac_try="$ac_compile"
5859 +case "(($ac_try" in
5860 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861 + *) ac_try_echo=$ac_try;;
5863 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5864 + (eval "$ac_compile") 2>conftest.er1
5866 grep -v '^ *+' conftest.er1 >conftest.err
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 - (exit $ac_status); } &&
5871 - { ac_try='test -z "$ac_c_werror_flag"
5872 - || test ! -s conftest.err'
5873 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 - (eval $ac_try) 2>&5
5876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 - (exit $ac_status); }; } &&
5878 - { ac_try='test -s conftest.$ac_objext'
5879 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 - (eval $ac_try) 2>&5
5882 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 - (exit $ac_status); }; }; then
5884 + (exit $ac_status); } && {
5885 + test -z "$ac_c_werror_flag" ||
5886 + test ! -s conftest.err
5887 + } && test -s conftest.$ac_objext; then
5890 echo "$as_me: failed program was:" >&5
5891 sed 's/^/| /' conftest.$ac_ext >&5
5893 -ac_lo=`expr '(' $ac_mid ')' + 1`
5894 + ac_lo=`expr '(' $ac_mid ')' + 1`
5896 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5898 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901 ?*) ac_cv_sizeof_int=$ac_lo;;
5902 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5903 +'') if test "$ac_cv_type_int" = yes; then
5904 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5905 See \`config.log' for more details." >&5
5906 -echo "$as_me: error: cannot compute sizeof (int), 77
5907 +echo "$as_me: error: cannot compute sizeof (int)
5908 See \`config.log' for more details." >&2;}
5909 - { (exit 1); exit 1; }; } ;;
5910 + { (exit 77); exit 77; }; }
5912 + ac_cv_sizeof_int=0
5916 - if test "$cross_compiling" = yes; then
5917 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5918 -See \`config.log' for more details." >&5
5919 -echo "$as_me: error: cannot run test program while cross compiling
5920 -See \`config.log' for more details." >&2;}
5921 - { (exit 1); exit 1; }; }
5923 cat >conftest.$ac_ext <<_ACEOF
5926 @@ -4528,8 +5140,9 @@
5927 cat >>conftest.$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5929 $ac_includes_default
5930 -long longval () { return (long) (sizeof (int)); }
5931 -unsigned long ulongval () { return (long) (sizeof (int)); }
5932 + typedef int ac__type_sizeof_;
5933 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5934 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5938 @@ -4538,35 +5151,44 @@
5940 FILE *f = fopen ("conftest.val", "w");
5943 - if (((long) (sizeof (int))) < 0)
5945 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5947 - long i = longval ();
5948 - if (i != ((long) (sizeof (int))))
5950 + long int i = longval ();
5951 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5953 fprintf (f, "%ld\n", i);
5957 - unsigned long i = ulongval ();
5958 - if (i != ((long) (sizeof (int))))
5960 + unsigned long int i = ulongval ();
5961 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5963 fprintf (f, "%lu\n", i);
5965 - exit (ferror (f) || fclose (f) != 0);
5966 + return ferror (f) || fclose (f) != 0;
5972 rm -f conftest$ac_exeext
5973 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5974 - (eval $ac_link) 2>&5
5975 +if { (ac_try="$ac_link"
5976 +case "(($ac_try" in
5977 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978 + *) ac_try_echo=$ac_try;;
5980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981 + (eval "$ac_link") 2>&5
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5985 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 - (eval $ac_try) 2>&5
5987 + { (case "(($ac_try" in
5988 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989 + *) ac_try_echo=$ac_try;;
5991 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 + (eval "$ac_try") 2>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5996 @@ -4577,30 +5199,33 @@
5997 sed 's/^/| /' conftest.$ac_ext >&5
6000 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6001 +if test "$ac_cv_type_int" = yes; then
6002 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
6003 See \`config.log' for more details." >&5
6004 -echo "$as_me: error: cannot compute sizeof (int), 77
6005 +echo "$as_me: error: cannot compute sizeof (int)
6006 See \`config.log' for more details." >&2;}
6007 - { (exit 1); exit 1; }; }
6009 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6010 + { (exit 77); exit 77; }; }
6012 + ac_cv_sizeof_int=0
6015 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6019 - ac_cv_sizeof_int=0
6022 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6023 -echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6024 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6025 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
6029 cat >>confdefs.h <<_ACEOF
6030 #define SIZEOF_INT $ac_cv_sizeof_int
6035 -echo "$as_me:$LINENO: checking for uintptr_t" >&5
6036 -echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
6037 +{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
6038 +echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
6039 if test "${ac_cv_type_uintptr_t+set}" = set; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 @@ -4611,50 +5236,47 @@
6043 cat >>conftest.$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 $ac_includes_default
6046 +typedef uintptr_t ac__type_new_;
6050 -if ((uintptr_t *) 0)
6051 +if ((ac__type_new_ *) 0)
6053 -if (sizeof (uintptr_t))
6054 +if (sizeof (ac__type_new_))
6060 rm -f conftest.$ac_objext
6061 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6062 - (eval $ac_compile) 2>conftest.er1
6063 +if { (ac_try="$ac_compile"
6064 +case "(($ac_try" in
6065 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6066 + *) ac_try_echo=$ac_try;;
6068 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 + (eval "$ac_compile") 2>conftest.er1
6071 grep -v '^ *+' conftest.er1 >conftest.err
6073 cat conftest.err >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 - (exit $ac_status); } &&
6076 - { ac_try='test -z "$ac_c_werror_flag"
6077 - || test ! -s conftest.err'
6078 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 - (eval $ac_try) 2>&5
6081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 - (exit $ac_status); }; } &&
6083 - { ac_try='test -s conftest.$ac_objext'
6084 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085 - (eval $ac_try) 2>&5
6087 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 - (exit $ac_status); }; }; then
6089 + (exit $ac_status); } && {
6090 + test -z "$ac_c_werror_flag" ||
6091 + test ! -s conftest.err
6092 + } && test -s conftest.$ac_objext; then
6093 ac_cv_type_uintptr_t=yes
6095 echo "$as_me: failed program was:" >&5
6096 sed 's/^/| /' conftest.$ac_ext >&5
6098 -ac_cv_type_uintptr_t=no
6099 + ac_cv_type_uintptr_t=no
6101 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6103 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6105 -echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6106 -echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
6107 +{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
6108 +echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
6109 if test $ac_cv_type_uintptr_t = yes; then
6112 @@ -4667,8 +5289,8 @@
6115 # Look for a 64-bit type.
6116 -echo "$as_me:$LINENO: checking for a 64-bit type" >&5
6117 -echo $ECHO_N "checking for a 64-bit type... $ECHO_C" >&6
6118 +{ echo "$as_me:$LINENO: checking for a 64-bit type" >&5
6119 +echo $ECHO_N "checking for a 64-bit type... $ECHO_C" >&6; }
6120 if test "${liberty_cv_uint64+set}" = set; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 @@ -4690,33 +5312,28 @@
6126 rm -f conftest.$ac_objext
6127 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6128 - (eval $ac_compile) 2>conftest.er1
6129 +if { (ac_try="$ac_compile"
6130 +case "(($ac_try" in
6131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6132 + *) ac_try_echo=$ac_try;;
6134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6135 + (eval "$ac_compile") 2>conftest.er1
6137 grep -v '^ *+' conftest.er1 >conftest.err
6139 cat conftest.err >&5
6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6141 - (exit $ac_status); } &&
6142 - { ac_try='test -z "$ac_c_werror_flag"
6143 - || test ! -s conftest.err'
6144 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 - (eval $ac_try) 2>&5
6147 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 - (exit $ac_status); }; } &&
6149 - { ac_try='test -s conftest.$ac_objext'
6150 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 - (eval $ac_try) 2>&5
6153 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 - (exit $ac_status); }; }; then
6155 + (exit $ac_status); } && {
6156 + test -z "$ac_c_werror_flag" ||
6157 + test ! -s conftest.err
6158 + } && test -s conftest.$ac_objext; then
6159 liberty_cv_uint64=uint64_t
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.$ac_ext >&5
6164 -cat >conftest.$ac_ext <<_ACEOF
6165 + cat >conftest.$ac_ext <<_ACEOF
6168 cat confdefs.h >>conftest.$ac_ext
6169 @@ -4737,33 +5354,28 @@
6172 rm -f conftest.$ac_objext
6173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174 - (eval $ac_compile) 2>conftest.er1
6175 +if { (ac_try="$ac_compile"
6176 +case "(($ac_try" in
6177 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6178 + *) ac_try_echo=$ac_try;;
6180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6181 + (eval "$ac_compile") 2>conftest.er1
6183 grep -v '^ *+' conftest.er1 >conftest.err
6185 cat conftest.err >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 - (exit $ac_status); } &&
6188 - { ac_try='test -z "$ac_c_werror_flag"
6189 - || test ! -s conftest.err'
6190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 - (eval $ac_try) 2>&5
6193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 - (exit $ac_status); }; } &&
6195 - { ac_try='test -s conftest.$ac_objext'
6196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 - (eval $ac_try) 2>&5
6199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200 - (exit $ac_status); }; }; then
6201 + (exit $ac_status); } && {
6202 + test -z "$ac_c_werror_flag" ||
6203 + test ! -s conftest.err
6204 + } && test -s conftest.$ac_objext; then
6205 liberty_cv_uint64="unsigned long"
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.$ac_ext >&5
6210 -cat >conftest.$ac_ext <<_ACEOF
6211 + cat >conftest.$ac_ext <<_ACEOF
6214 cat confdefs.h >>conftest.$ac_ext
6215 @@ -4784,43 +5396,41 @@
6218 rm -f conftest.$ac_objext
6219 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6220 - (eval $ac_compile) 2>conftest.er1
6221 +if { (ac_try="$ac_compile"
6222 +case "(($ac_try" in
6223 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 + *) ac_try_echo=$ac_try;;
6226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 + (eval "$ac_compile") 2>conftest.er1
6229 grep -v '^ *+' conftest.er1 >conftest.err
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 - (exit $ac_status); } &&
6234 - { ac_try='test -z "$ac_c_werror_flag"
6235 - || test ! -s conftest.err'
6236 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 - (eval $ac_try) 2>&5
6239 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 - (exit $ac_status); }; } &&
6241 - { ac_try='test -s conftest.$ac_objext'
6242 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 - (eval $ac_try) 2>&5
6245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 - (exit $ac_status); }; }; then
6247 + (exit $ac_status); } && {
6248 + test -z "$ac_c_werror_flag" ||
6249 + test ! -s conftest.err
6250 + } && test -s conftest.$ac_objext; then
6251 liberty_cv_uint64="unsigned long long"
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.$ac_ext >&5
6256 -liberty_cv_uint64=none
6257 + liberty_cv_uint64=none
6259 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6261 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6263 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6265 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6267 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6269 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272 -echo "$as_me:$LINENO: result: $liberty_cv_uint64" >&5
6273 -echo "${ECHO_T}$liberty_cv_uint64" >&6
6274 +{ echo "$as_me:$LINENO: result: $liberty_cv_uint64" >&5
6275 +echo "${ECHO_T}$liberty_cv_uint64" >&6; }
6276 if test "$liberty_cv_uint64" != none; then
6278 cat >>confdefs.h <<_ACEOF
6279 @@ -4838,8 +5448,8 @@
6283 -echo "$as_me:$LINENO: checking for pid_t" >&5
6284 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6285 +{ echo "$as_me:$LINENO: checking for pid_t" >&5
6286 +echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6287 if test "${ac_cv_type_pid_t+set}" = set; then
6288 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 @@ -4850,50 +5460,47 @@
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h. */
6293 $ac_includes_default
6294 +typedef pid_t ac__type_new_;
6299 +if ((ac__type_new_ *) 0)
6301 -if (sizeof (pid_t))
6302 +if (sizeof (ac__type_new_))
6308 rm -f conftest.$ac_objext
6309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6310 - (eval $ac_compile) 2>conftest.er1
6311 +if { (ac_try="$ac_compile"
6312 +case "(($ac_try" in
6313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6314 + *) ac_try_echo=$ac_try;;
6316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6317 + (eval "$ac_compile") 2>conftest.er1
6319 grep -v '^ *+' conftest.er1 >conftest.err
6321 cat conftest.err >&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 - (exit $ac_status); } &&
6324 - { ac_try='test -z "$ac_c_werror_flag"
6325 - || test ! -s conftest.err'
6326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 - (eval $ac_try) 2>&5
6329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 - (exit $ac_status); }; } &&
6331 - { ac_try='test -s conftest.$ac_objext'
6332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 - (eval $ac_try) 2>&5
6335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 - (exit $ac_status); }; }; then
6337 + (exit $ac_status); } && {
6338 + test -z "$ac_c_werror_flag" ||
6339 + test ! -s conftest.err
6340 + } && test -s conftest.$ac_objext; then
6341 ac_cv_type_pid_t=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.$ac_ext >&5
6346 -ac_cv_type_pid_t=no
6347 + ac_cv_type_pid_t=no
6349 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6353 -echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6354 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6355 +{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6356 +echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
6357 if test $ac_cv_type_pid_t = yes; then
6360 @@ -5049,9 +5656,9 @@
6361 realpath canonicalize_file_name __fsetlocking
6363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6364 -echo "$as_me:$LINENO: checking for $ac_func" >&5
6365 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6366 -if eval "test \"\${$as_ac_var+set}\" = set"; then
6367 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6368 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6369 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 if test x$gcc_no_link = xyes; then
6373 @@ -5105,39 +5712,37 @@
6376 rm -f conftest.$ac_objext conftest$ac_exeext
6377 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6378 - (eval $ac_link) 2>conftest.er1
6379 +if { (ac_try="$ac_link"
6380 +case "(($ac_try" in
6381 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6382 + *) ac_try_echo=$ac_try;;
6384 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6385 + (eval "$ac_link") 2>conftest.er1
6387 grep -v '^ *+' conftest.er1 >conftest.err
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 - (exit $ac_status); } &&
6392 - { ac_try='test -z "$ac_c_werror_flag"
6393 - || test ! -s conftest.err'
6394 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 - (eval $ac_try) 2>&5
6397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 - (exit $ac_status); }; } &&
6399 - { ac_try='test -s conftest$ac_exeext'
6400 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 - (eval $ac_try) 2>&5
6403 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 - (exit $ac_status); }; }; then
6405 + (exit $ac_status); } && {
6406 + test -z "$ac_c_werror_flag" ||
6407 + test ! -s conftest.err
6408 + } && test -s conftest$ac_exeext &&
6409 + $as_test_x conftest$ac_exeext; then
6410 eval "$as_ac_var=yes"
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 -eval "$as_ac_var=no"
6416 + eval "$as_ac_var=no"
6418 -rm -f conftest.err conftest.$ac_objext \
6420 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6421 conftest$ac_exeext conftest.$ac_ext
6423 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6424 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6425 +ac_res=`eval echo '${'$as_ac_var'}'`
6426 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6427 +echo "${ECHO_T}$ac_res" >&6; }
6428 if test `eval echo '${'$as_ac_var'}'` = yes; then
6429 cat >>confdefs.h <<_ACEOF
6430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6431 @@ -5146,8 +5751,8 @@
6435 - echo "$as_me:$LINENO: checking whether basename is declared" >&5
6436 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
6437 + { echo "$as_me:$LINENO: checking whether basename is declared" >&5
6438 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
6439 if test "${ac_cv_have_decl_basename+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 @@ -5162,7 +5767,7 @@
6446 - char *p = (char *) basename;
6451 @@ -5170,38 +5775,34 @@
6454 rm -f conftest.$ac_objext
6455 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456 - (eval $ac_compile) 2>conftest.er1
6457 +if { (ac_try="$ac_compile"
6458 +case "(($ac_try" in
6459 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6460 + *) ac_try_echo=$ac_try;;
6462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6463 + (eval "$ac_compile") 2>conftest.er1
6465 grep -v '^ *+' conftest.er1 >conftest.err
6467 cat conftest.err >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 - (exit $ac_status); } &&
6470 - { ac_try='test -z "$ac_c_werror_flag"
6471 - || test ! -s conftest.err'
6472 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 - (eval $ac_try) 2>&5
6475 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 - (exit $ac_status); }; } &&
6477 - { ac_try='test -s conftest.$ac_objext'
6478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 - (eval $ac_try) 2>&5
6481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 - (exit $ac_status); }; }; then
6483 + (exit $ac_status); } && {
6484 + test -z "$ac_c_werror_flag" ||
6485 + test ! -s conftest.err
6486 + } && test -s conftest.$ac_objext; then
6487 ac_cv_have_decl_basename=yes
6489 echo "$as_me: failed program was:" >&5
6490 sed 's/^/| /' conftest.$ac_ext >&5
6492 -ac_cv_have_decl_basename=no
6493 + ac_cv_have_decl_basename=no
6495 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6499 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6500 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
6501 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6502 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
6503 if test $ac_cv_have_decl_basename = yes; then
6505 cat >>confdefs.h <<_ACEOF
6506 @@ -5216,8 +5817,8 @@
6510 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6511 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
6512 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
6513 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
6514 if test "${ac_cv_have_decl_ffs+set}" = set; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 @@ -5232,7 +5833,7 @@
6521 - char *p = (char *) ffs;
6526 @@ -5240,38 +5841,34 @@
6529 rm -f conftest.$ac_objext
6530 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6531 - (eval $ac_compile) 2>conftest.er1
6532 +if { (ac_try="$ac_compile"
6533 +case "(($ac_try" in
6534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6535 + *) ac_try_echo=$ac_try;;
6537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6538 + (eval "$ac_compile") 2>conftest.er1
6540 grep -v '^ *+' conftest.er1 >conftest.err
6542 cat conftest.err >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 - (exit $ac_status); } &&
6545 - { ac_try='test -z "$ac_c_werror_flag"
6546 - || test ! -s conftest.err'
6547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 - (eval $ac_try) 2>&5
6550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 - (exit $ac_status); }; } &&
6552 - { ac_try='test -s conftest.$ac_objext'
6553 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 - (eval $ac_try) 2>&5
6556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 - (exit $ac_status); }; }; then
6558 + (exit $ac_status); } && {
6559 + test -z "$ac_c_werror_flag" ||
6560 + test ! -s conftest.err
6561 + } && test -s conftest.$ac_objext; then
6562 ac_cv_have_decl_ffs=yes
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 -ac_cv_have_decl_ffs=no
6568 + ac_cv_have_decl_ffs=no
6570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6572 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6574 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6575 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
6576 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
6577 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
6578 if test $ac_cv_have_decl_ffs = yes; then
6580 cat >>confdefs.h <<_ACEOF
6581 @@ -5286,8 +5883,8 @@
6585 -echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6586 -echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
6587 +{ echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6588 +echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6; }
6589 if test "${ac_cv_have_decl_asprintf+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 @@ -5302,7 +5899,7 @@
6596 - char *p = (char *) asprintf;
6601 @@ -5310,38 +5907,34 @@
6604 rm -f conftest.$ac_objext
6605 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6606 - (eval $ac_compile) 2>conftest.er1
6607 +if { (ac_try="$ac_compile"
6608 +case "(($ac_try" in
6609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6610 + *) ac_try_echo=$ac_try;;
6612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6613 + (eval "$ac_compile") 2>conftest.er1
6615 grep -v '^ *+' conftest.er1 >conftest.err
6617 cat conftest.err >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 - (exit $ac_status); } &&
6620 - { ac_try='test -z "$ac_c_werror_flag"
6621 - || test ! -s conftest.err'
6622 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 - (eval $ac_try) 2>&5
6625 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 - (exit $ac_status); }; } &&
6627 - { ac_try='test -s conftest.$ac_objext'
6628 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6629 - (eval $ac_try) 2>&5
6631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 - (exit $ac_status); }; }; then
6633 + (exit $ac_status); } && {
6634 + test -z "$ac_c_werror_flag" ||
6635 + test ! -s conftest.err
6636 + } && test -s conftest.$ac_objext; then
6637 ac_cv_have_decl_asprintf=yes
6639 echo "$as_me: failed program was:" >&5
6640 sed 's/^/| /' conftest.$ac_ext >&5
6642 -ac_cv_have_decl_asprintf=no
6643 + ac_cv_have_decl_asprintf=no
6645 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6647 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6649 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6650 -echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
6651 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6652 +echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6; }
6653 if test $ac_cv_have_decl_asprintf = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 @@ -5356,8 +5949,8 @@
6660 -echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6661 -echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6662 +{ echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6663 +echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6; }
6664 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 @@ -5372,7 +5965,7 @@
6671 - char *p = (char *) vasprintf;
6676 @@ -5380,38 +5973,34 @@
6679 rm -f conftest.$ac_objext
6680 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6681 - (eval $ac_compile) 2>conftest.er1
6682 +if { (ac_try="$ac_compile"
6683 +case "(($ac_try" in
6684 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6685 + *) ac_try_echo=$ac_try;;
6687 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6688 + (eval "$ac_compile") 2>conftest.er1
6690 grep -v '^ *+' conftest.er1 >conftest.err
6692 cat conftest.err >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 - (exit $ac_status); } &&
6695 - { ac_try='test -z "$ac_c_werror_flag"
6696 - || test ! -s conftest.err'
6697 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 - (eval $ac_try) 2>&5
6700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 - (exit $ac_status); }; } &&
6702 - { ac_try='test -s conftest.$ac_objext'
6703 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6704 - (eval $ac_try) 2>&5
6706 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 - (exit $ac_status); }; }; then
6708 + (exit $ac_status); } && {
6709 + test -z "$ac_c_werror_flag" ||
6710 + test ! -s conftest.err
6711 + } && test -s conftest.$ac_objext; then
6712 ac_cv_have_decl_vasprintf=yes
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 -ac_cv_have_decl_vasprintf=no
6718 + ac_cv_have_decl_vasprintf=no
6720 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6722 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6724 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6725 -echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6726 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6727 +echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6; }
6728 if test $ac_cv_have_decl_vasprintf = yes; then
6730 cat >>confdefs.h <<_ACEOF
6731 @@ -5426,8 +6015,8 @@
6735 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6736 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
6737 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
6738 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
6739 if test "${ac_cv_have_decl_snprintf+set}" = set; then
6740 echo $ECHO_N "(cached) $ECHO_C" >&6
6742 @@ -5442,7 +6031,7 @@
6746 - char *p = (char *) snprintf;
6751 @@ -5450,38 +6039,34 @@
6754 rm -f conftest.$ac_objext
6755 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6756 - (eval $ac_compile) 2>conftest.er1
6757 +if { (ac_try="$ac_compile"
6758 +case "(($ac_try" in
6759 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6760 + *) ac_try_echo=$ac_try;;
6762 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6763 + (eval "$ac_compile") 2>conftest.er1
6765 grep -v '^ *+' conftest.er1 >conftest.err
6767 cat conftest.err >&5
6768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6769 - (exit $ac_status); } &&
6770 - { ac_try='test -z "$ac_c_werror_flag"
6771 - || test ! -s conftest.err'
6772 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 - (eval $ac_try) 2>&5
6775 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 - (exit $ac_status); }; } &&
6777 - { ac_try='test -s conftest.$ac_objext'
6778 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6779 - (eval $ac_try) 2>&5
6781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 - (exit $ac_status); }; }; then
6783 + (exit $ac_status); } && {
6784 + test -z "$ac_c_werror_flag" ||
6785 + test ! -s conftest.err
6786 + } && test -s conftest.$ac_objext; then
6787 ac_cv_have_decl_snprintf=yes
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 -ac_cv_have_decl_snprintf=no
6793 + ac_cv_have_decl_snprintf=no
6795 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6797 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6799 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6800 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
6801 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
6802 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
6803 if test $ac_cv_have_decl_snprintf = yes; then
6805 cat >>confdefs.h <<_ACEOF
6806 @@ -5496,8 +6081,8 @@
6810 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6811 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
6812 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
6813 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
6814 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
6815 echo $ECHO_N "(cached) $ECHO_C" >&6
6817 @@ -5512,7 +6097,7 @@
6821 - char *p = (char *) vsnprintf;
6826 @@ -5520,38 +6105,34 @@
6829 rm -f conftest.$ac_objext
6830 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6831 - (eval $ac_compile) 2>conftest.er1
6832 +if { (ac_try="$ac_compile"
6833 +case "(($ac_try" in
6834 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6835 + *) ac_try_echo=$ac_try;;
6837 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6838 + (eval "$ac_compile") 2>conftest.er1
6840 grep -v '^ *+' conftest.er1 >conftest.err
6842 cat conftest.err >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 - (exit $ac_status); } &&
6845 - { ac_try='test -z "$ac_c_werror_flag"
6846 - || test ! -s conftest.err'
6847 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6848 - (eval $ac_try) 2>&5
6850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 - (exit $ac_status); }; } &&
6852 - { ac_try='test -s conftest.$ac_objext'
6853 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6854 - (eval $ac_try) 2>&5
6856 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 - (exit $ac_status); }; }; then
6858 + (exit $ac_status); } && {
6859 + test -z "$ac_c_werror_flag" ||
6860 + test ! -s conftest.err
6861 + } && test -s conftest.$ac_objext; then
6862 ac_cv_have_decl_vsnprintf=yes
6864 echo "$as_me: failed program was:" >&5
6865 sed 's/^/| /' conftest.$ac_ext >&5
6867 -ac_cv_have_decl_vsnprintf=no
6868 + ac_cv_have_decl_vsnprintf=no
6870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6872 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6874 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6875 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
6876 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
6877 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
6878 if test $ac_cv_have_decl_vsnprintf = yes; then
6880 cat >>confdefs.h <<_ACEOF
6881 @@ -5603,52 +6184,40 @@
6882 # newlib provide and which ones we will be expected to provide.
6884 if test "x${with_newlib}" = "xyes"; then
6886 - "asprintf.$ac_objext" | \
6887 - *" asprintf.$ac_objext" | \
6888 - "asprintf.$ac_objext "* | \
6889 + case " $LIBOBJS " in
6890 *" asprintf.$ac_objext "* ) ;;
6891 - *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;;
6892 + *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
6897 - "basename.$ac_objext" | \
6898 - *" basename.$ac_objext" | \
6899 - "basename.$ac_objext "* | \
6900 + case " $LIBOBJS " in
6901 *" basename.$ac_objext "* ) ;;
6902 - *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
6903 + *) LIBOBJS="$LIBOBJS basename.$ac_objext"
6908 - "insque.$ac_objext" | \
6909 - *" insque.$ac_objext" | \
6910 - "insque.$ac_objext "* | \
6911 + case " $LIBOBJS " in
6912 *" insque.$ac_objext "* ) ;;
6913 - *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
6914 + *) LIBOBJS="$LIBOBJS insque.$ac_objext"
6919 - "random.$ac_objext" | \
6920 - *" random.$ac_objext" | \
6921 - "random.$ac_objext "* | \
6922 + case " $LIBOBJS " in
6923 *" random.$ac_objext "* ) ;;
6924 - *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
6925 + *) LIBOBJS="$LIBOBJS random.$ac_objext"
6930 - "strdup.$ac_objext" | \
6931 - *" strdup.$ac_objext" | \
6932 - "strdup.$ac_objext "* | \
6933 + case " $LIBOBJS " in
6934 *" strdup.$ac_objext "* ) ;;
6935 - *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;;
6936 + *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
6941 - "vasprintf.$ac_objext" | \
6942 - *" vasprintf.$ac_objext" | \
6943 - "vasprintf.$ac_objext "* | \
6944 + case " $LIBOBJS " in
6945 *" vasprintf.$ac_objext "* ) ;;
6946 - *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
6947 + *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
6952 @@ -5684,172 +6253,130 @@
6957 - "asprintf.$ac_objext" | \
6958 - *" asprintf.$ac_objext" | \
6959 - "asprintf.$ac_objext "* | \
6960 + case " $LIBOBJS " in
6961 *" asprintf.$ac_objext "* ) ;;
6962 - *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;;
6963 + *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
6968 - "basename.$ac_objext" | \
6969 - *" basename.$ac_objext" | \
6970 - "basename.$ac_objext "* | \
6971 + case " $LIBOBJS " in
6972 *" basename.$ac_objext "* ) ;;
6973 - *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
6974 + *) LIBOBJS="$LIBOBJS basename.$ac_objext"
6979 - "bcmp.$ac_objext" | \
6980 - *" bcmp.$ac_objext" | \
6981 - "bcmp.$ac_objext "* | \
6982 + case " $LIBOBJS " in
6983 *" bcmp.$ac_objext "* ) ;;
6984 - *) LIBOBJS="$LIBOBJS bcmp.$ac_objext" ;;
6985 + *) LIBOBJS="$LIBOBJS bcmp.$ac_objext"
6990 - "bcopy.$ac_objext" | \
6991 - *" bcopy.$ac_objext" | \
6992 - "bcopy.$ac_objext "* | \
6993 + case " $LIBOBJS " in
6994 *" bcopy.$ac_objext "* ) ;;
6995 - *) LIBOBJS="$LIBOBJS bcopy.$ac_objext" ;;
6996 + *) LIBOBJS="$LIBOBJS bcopy.$ac_objext"
7001 - "bzero.$ac_objext" | \
7002 - *" bzero.$ac_objext" | \
7003 - "bzero.$ac_objext "* | \
7004 + case " $LIBOBJS " in
7005 *" bzero.$ac_objext "* ) ;;
7006 - *) LIBOBJS="$LIBOBJS bzero.$ac_objext" ;;
7007 + *) LIBOBJS="$LIBOBJS bzero.$ac_objext"
7012 - "clock.$ac_objext" | \
7013 - *" clock.$ac_objext" | \
7014 - "clock.$ac_objext "* | \
7015 + case " $LIBOBJS " in
7016 *" clock.$ac_objext "* ) ;;
7017 - *) LIBOBJS="$LIBOBJS clock.$ac_objext" ;;
7018 + *) LIBOBJS="$LIBOBJS clock.$ac_objext"
7023 - "ffs.$ac_objext" | \
7024 - *" ffs.$ac_objext" | \
7025 - "ffs.$ac_objext "* | \
7026 + case " $LIBOBJS " in
7027 *" ffs.$ac_objext "* ) ;;
7028 - *) LIBOBJS="$LIBOBJS ffs.$ac_objext" ;;
7029 + *) LIBOBJS="$LIBOBJS ffs.$ac_objext"
7034 - "getpagesize.$ac_objext" | \
7035 - *" getpagesize.$ac_objext" | \
7036 - "getpagesize.$ac_objext "* | \
7037 + case " $LIBOBJS " in
7038 *" getpagesize.$ac_objext "* ) ;;
7039 - *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext" ;;
7040 + *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext"
7045 - "index.$ac_objext" | \
7046 - *" index.$ac_objext" | \
7047 - "index.$ac_objext "* | \
7048 + case " $LIBOBJS " in
7049 *" index.$ac_objext "* ) ;;
7050 - *) LIBOBJS="$LIBOBJS index.$ac_objext" ;;
7051 + *) LIBOBJS="$LIBOBJS index.$ac_objext"
7056 - "insque.$ac_objext" | \
7057 - *" insque.$ac_objext" | \
7058 - "insque.$ac_objext "* | \
7059 + case " $LIBOBJS " in
7060 *" insque.$ac_objext "* ) ;;
7061 - *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
7062 + *) LIBOBJS="$LIBOBJS insque.$ac_objext"
7067 - "mempcpy.$ac_objext" | \
7068 - *" mempcpy.$ac_objext" | \
7069 - "mempcpy.$ac_objext "* | \
7070 + case " $LIBOBJS " in
7071 *" mempcpy.$ac_objext "* ) ;;
7072 - *) LIBOBJS="$LIBOBJS mempcpy.$ac_objext" ;;
7073 + *) LIBOBJS="$LIBOBJS mempcpy.$ac_objext"
7078 - "mkstemps.$ac_objext" | \
7079 - *" mkstemps.$ac_objext" | \
7080 - "mkstemps.$ac_objext "* | \
7081 + case " $LIBOBJS " in
7082 *" mkstemps.$ac_objext "* ) ;;
7083 - *) LIBOBJS="$LIBOBJS mkstemps.$ac_objext" ;;
7084 + *) LIBOBJS="$LIBOBJS mkstemps.$ac_objext"
7089 - "random.$ac_objext" | \
7090 - *" random.$ac_objext" | \
7091 - "random.$ac_objext "* | \
7092 + case " $LIBOBJS " in
7093 *" random.$ac_objext "* ) ;;
7094 - *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7095 + *) LIBOBJS="$LIBOBJS random.$ac_objext"
7100 - "rindex.$ac_objext" | \
7101 - *" rindex.$ac_objext" | \
7102 - "rindex.$ac_objext "* | \
7103 + case " $LIBOBJS " in
7104 *" rindex.$ac_objext "* ) ;;
7105 - *) LIBOBJS="$LIBOBJS rindex.$ac_objext" ;;
7106 + *) LIBOBJS="$LIBOBJS rindex.$ac_objext"
7111 - "sigsetmask.$ac_objext" | \
7112 - *" sigsetmask.$ac_objext" | \
7113 - "sigsetmask.$ac_objext "* | \
7114 + case " $LIBOBJS " in
7115 *" sigsetmask.$ac_objext "* ) ;;
7116 - *) LIBOBJS="$LIBOBJS sigsetmask.$ac_objext" ;;
7117 + *) LIBOBJS="$LIBOBJS sigsetmask.$ac_objext"
7122 - "stpcpy.$ac_objext" | \
7123 - *" stpcpy.$ac_objext" | \
7124 - "stpcpy.$ac_objext "* | \
7125 + case " $LIBOBJS " in
7126 *" stpcpy.$ac_objext "* ) ;;
7127 - *) LIBOBJS="$LIBOBJS stpcpy.$ac_objext" ;;
7128 + *) LIBOBJS="$LIBOBJS stpcpy.$ac_objext"
7133 - "stpncpy.$ac_objext" | \
7134 - *" stpncpy.$ac_objext" | \
7135 - "stpncpy.$ac_objext "* | \
7136 + case " $LIBOBJS " in
7137 *" stpncpy.$ac_objext "* ) ;;
7138 - *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext" ;;
7139 + *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext"
7144 - "strndup.$ac_objext" | \
7145 - *" strndup.$ac_objext" | \
7146 - "strndup.$ac_objext "* | \
7147 + case " $LIBOBJS " in
7148 *" strndup.$ac_objext "* ) ;;
7149 - *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;;
7150 + *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
7155 - "strverscmp.$ac_objext" | \
7156 - *" strverscmp.$ac_objext" | \
7157 - "strverscmp.$ac_objext "* | \
7158 + case " $LIBOBJS " in
7159 *" strverscmp.$ac_objext "* ) ;;
7160 - *) LIBOBJS="$LIBOBJS strverscmp.$ac_objext" ;;
7161 + *) LIBOBJS="$LIBOBJS strverscmp.$ac_objext"
7166 - "vasprintf.$ac_objext" | \
7167 - *" vasprintf.$ac_objext" | \
7168 - "vasprintf.$ac_objext "* | \
7169 + case " $LIBOBJS " in
7170 *" vasprintf.$ac_objext "* ) ;;
7171 - *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
7172 + *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
7177 - "waitpid.$ac_objext" | \
7178 - *" waitpid.$ac_objext" | \
7179 - "waitpid.$ac_objext "* | \
7180 + case " $LIBOBJS " in
7181 *" waitpid.$ac_objext "* ) ;;
7182 - *) LIBOBJS="$LIBOBJS waitpid.$ac_objext" ;;
7183 + *) LIBOBJS="$LIBOBJS waitpid.$ac_objext"
7188 @@ -5882,13 +6409,13 @@
7191 # We may wish to install the target headers somewhere.
7192 - # Check whether --enable-install-libiberty or --disable-install-libiberty was given.
7193 + # Check whether --enable-install-libiberty was given.
7194 if test "${enable_install_libiberty+set}" = set; then
7195 - enableval="$enable_install_libiberty"
7196 - enable_install_libiberty=$enableval
7197 + enableval=$enable_install_libiberty; enable_install_libiberty=$enableval
7199 enable_install_libiberty=no
7203 # Option parsed, now set things appropriately.
7204 case x"$enable_install_libiberty" in
7206 @@ -5934,84 +6461,64 @@
7207 # Handle VxWorks configuration specially, since on VxWorks the
7208 # libraries are actually on the target board, not in the file
7211 - "basename.$ac_objext" | \
7212 - *" basename.$ac_objext" | \
7213 - "basename.$ac_objext "* | \
7214 + case " $LIBOBJS " in
7215 *" basename.$ac_objext "* ) ;;
7216 - *) LIBOBJS="$LIBOBJS basename.$ac_objext" ;;
7217 + *) LIBOBJS="$LIBOBJS basename.$ac_objext"
7222 - "getpagesize.$ac_objext" | \
7223 - *" getpagesize.$ac_objext" | \
7224 - "getpagesize.$ac_objext "* | \
7225 + case " $LIBOBJS " in
7226 *" getpagesize.$ac_objext "* ) ;;
7227 - *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext" ;;
7228 + *) LIBOBJS="$LIBOBJS getpagesize.$ac_objext"
7233 - "insque.$ac_objext" | \
7234 - *" insque.$ac_objext" | \
7235 - "insque.$ac_objext "* | \
7236 + case " $LIBOBJS " in
7237 *" insque.$ac_objext "* ) ;;
7238 - *) LIBOBJS="$LIBOBJS insque.$ac_objext" ;;
7239 + *) LIBOBJS="$LIBOBJS insque.$ac_objext"
7244 - "random.$ac_objext" | \
7245 - *" random.$ac_objext" | \
7246 - "random.$ac_objext "* | \
7247 + case " $LIBOBJS " in
7248 *" random.$ac_objext "* ) ;;
7249 - *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7250 + *) LIBOBJS="$LIBOBJS random.$ac_objext"
7255 - "strcasecmp.$ac_objext" | \
7256 - *" strcasecmp.$ac_objext" | \
7257 - "strcasecmp.$ac_objext "* | \
7258 + case " $LIBOBJS " in
7259 *" strcasecmp.$ac_objext "* ) ;;
7260 - *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext" ;;
7261 + *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
7266 - "strncasecmp.$ac_objext" | \
7267 - *" strncasecmp.$ac_objext" | \
7268 - "strncasecmp.$ac_objext "* | \
7269 + case " $LIBOBJS " in
7270 *" strncasecmp.$ac_objext "* ) ;;
7271 - *) LIBOBJS="$LIBOBJS strncasecmp.$ac_objext" ;;
7272 + *) LIBOBJS="$LIBOBJS strncasecmp.$ac_objext"
7277 - "strdup.$ac_objext" | \
7278 - *" strdup.$ac_objext" | \
7279 - "strdup.$ac_objext "* | \
7280 + case " $LIBOBJS " in
7281 *" strdup.$ac_objext "* ) ;;
7282 - *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;;
7283 + *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
7288 - "vfork.$ac_objext" | \
7289 - *" vfork.$ac_objext" | \
7290 - "vfork.$ac_objext "* | \
7291 + case " $LIBOBJS " in
7292 *" vfork.$ac_objext "* ) ;;
7293 - *) LIBOBJS="$LIBOBJS vfork.$ac_objext" ;;
7294 + *) LIBOBJS="$LIBOBJS vfork.$ac_objext"
7299 - "waitpid.$ac_objext" | \
7300 - *" waitpid.$ac_objext" | \
7301 - "waitpid.$ac_objext "* | \
7302 + case " $LIBOBJS " in
7303 *" waitpid.$ac_objext "* ) ;;
7304 - *) LIBOBJS="$LIBOBJS waitpid.$ac_objext" ;;
7305 + *) LIBOBJS="$LIBOBJS waitpid.$ac_objext"
7310 - "vasprintf.$ac_objext" | \
7311 - *" vasprintf.$ac_objext" | \
7312 - "vasprintf.$ac_objext "* | \
7313 + case " $LIBOBJS " in
7314 *" vasprintf.$ac_objext "* ) ;;
7315 - *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext" ;;
7316 + *) LIBOBJS="$LIBOBJS vasprintf.$ac_objext"
7321 @@ -6042,6 +6549,11 @@
7326 + # PolIntOS has nothing yet
7333 @@ -6066,12 +6578,10 @@
7334 if test -n "${with_target_subdir}"
7336 funcs="`echo $funcs | sed -e 's/random//'`"
7338 - "random.$ac_objext" | \
7339 - *" random.$ac_objext" | \
7340 - "random.$ac_objext "* | \
7341 + case " $LIBOBJS " in
7342 *" random.$ac_objext "* ) ;;
7343 - *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
7344 + *) LIBOBJS="$LIBOBJS random.$ac_objext"
7348 vars="`echo $vars | sed -e 's/sys_siglist//'`"
7349 @@ -6114,18 +6624,12 @@
7351 # We haven't set the list of objects yet. Use the standard autoconf
7352 # tests. This will only work if the compiler works.
7353 - echo "$as_me:$LINENO: checking for library containing strerror" >&5
7354 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
7355 + { echo "$as_me:$LINENO: checking for library containing strerror" >&5
7356 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
7357 if test "${ac_cv_search_strerror+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 ac_func_search_save_LIBS=$LIBS
7361 -ac_cv_search_strerror=no
7362 -if test x$gcc_no_link = xyes; then
7363 - { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7364 -echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7365 - { (exit 1); exit 1; }; }
7367 cat >conftest.$ac_ext <<_ACEOF
7370 @@ -6133,120 +6637,78 @@
7371 cat >>conftest.$ac_ext <<_ACEOF
7372 /* end confdefs.h. */
7374 -/* Override any gcc2 internal prototype to avoid an error. */
7375 +/* Override any GCC internal prototype to avoid an error.
7376 + Use char because int might match the return type of a GCC
7377 + builtin and then its argument prototype would still apply. */
7381 -/* We use char because int might match the return type of a gcc2
7382 - builtin and then its argument prototype would still apply. */
7388 +return strerror ();
7393 -rm -f conftest.$ac_objext conftest$ac_exeext
7394 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7395 - (eval $ac_link) 2>conftest.er1
7397 - grep -v '^ *+' conftest.er1 >conftest.err
7398 - rm -f conftest.er1
7399 - cat conftest.err >&5
7400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 - (exit $ac_status); } &&
7402 - { ac_try='test -z "$ac_c_werror_flag"
7403 - || test ! -s conftest.err'
7404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7405 - (eval $ac_try) 2>&5
7407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 - (exit $ac_status); }; } &&
7409 - { ac_try='test -s conftest$ac_exeext'
7410 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 - (eval $ac_try) 2>&5
7413 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 - (exit $ac_status); }; }; then
7415 - ac_cv_search_strerror="none required"
7417 - echo "$as_me: failed program was:" >&5
7418 -sed 's/^/| /' conftest.$ac_ext >&5
7421 -rm -f conftest.err conftest.$ac_objext \
7422 - conftest$ac_exeext conftest.$ac_ext
7423 -if test "$ac_cv_search_strerror" = no; then
7424 - for ac_lib in cposix; do
7425 +for ac_lib in '' cposix; do
7426 + if test -z "$ac_lib"; then
7427 + ac_res="none required"
7430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7431 - if test x$gcc_no_link = xyes; then
7433 + if test x$gcc_no_link = xyes; then
7434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7436 { (exit 1); exit 1; }; }
7438 -cat >conftest.$ac_ext <<_ACEOF
7441 -cat confdefs.h >>conftest.$ac_ext
7442 -cat >>conftest.$ac_ext <<_ACEOF
7443 -/* end confdefs.h. */
7445 -/* Override any gcc2 internal prototype to avoid an error. */
7449 -/* We use char because int might match the return type of a gcc2
7450 - builtin and then its argument prototype would still apply. */
7460 rm -f conftest.$ac_objext conftest$ac_exeext
7461 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7462 - (eval $ac_link) 2>conftest.er1
7463 +if { (ac_try="$ac_link"
7464 +case "(($ac_try" in
7465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7466 + *) ac_try_echo=$ac_try;;
7468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 + (eval "$ac_link") 2>conftest.er1
7471 grep -v '^ *+' conftest.er1 >conftest.err
7473 cat conftest.err >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 - (exit $ac_status); } &&
7476 - { ac_try='test -z "$ac_c_werror_flag"
7477 - || test ! -s conftest.err'
7478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7479 - (eval $ac_try) 2>&5
7481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 - (exit $ac_status); }; } &&
7483 - { ac_try='test -s conftest$ac_exeext'
7484 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 - (eval $ac_try) 2>&5
7487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7488 - (exit $ac_status); }; }; then
7489 - ac_cv_search_strerror="-l$ac_lib"
7491 + (exit $ac_status); } && {
7492 + test -z "$ac_c_werror_flag" ||
7493 + test ! -s conftest.err
7494 + } && test -s conftest$ac_exeext &&
7495 + $as_test_x conftest$ac_exeext; then
7496 + ac_cv_search_strerror=$ac_res
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.$ac_ext >&5
7503 -rm -f conftest.err conftest.$ac_objext \
7504 - conftest$ac_exeext conftest.$ac_ext
7507 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7508 + conftest$ac_exeext
7509 + if test "${ac_cv_search_strerror+set}" = set; then
7513 +if test "${ac_cv_search_strerror+set}" = set; then
7516 + ac_cv_search_strerror=no
7518 +rm conftest.$ac_ext
7519 LIBS=$ac_func_search_save_LIBS
7521 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7522 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
7523 -if test "$ac_cv_search_strerror" != no; then
7524 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
7525 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
7526 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
7527 +ac_res=$ac_cv_search_strerror
7528 +if test "$ac_res" != no; then
7529 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7533 @@ -6254,9 +6716,9 @@
7534 for ac_func in $funcs
7536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7537 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7538 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7539 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7540 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7541 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7542 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7543 echo $ECHO_N "(cached) $ECHO_C" >&6
7545 if test x$gcc_no_link = xyes; then
7546 @@ -6310,59 +6772,55 @@
7549 rm -f conftest.$ac_objext conftest$ac_exeext
7550 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7551 - (eval $ac_link) 2>conftest.er1
7552 +if { (ac_try="$ac_link"
7553 +case "(($ac_try" in
7554 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7555 + *) ac_try_echo=$ac_try;;
7557 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7558 + (eval "$ac_link") 2>conftest.er1
7560 grep -v '^ *+' conftest.er1 >conftest.err
7562 cat conftest.err >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 - (exit $ac_status); } &&
7565 - { ac_try='test -z "$ac_c_werror_flag"
7566 - || test ! -s conftest.err'
7567 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 - (eval $ac_try) 2>&5
7570 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 - (exit $ac_status); }; } &&
7572 - { ac_try='test -s conftest$ac_exeext'
7573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7574 - (eval $ac_try) 2>&5
7576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 - (exit $ac_status); }; }; then
7578 + (exit $ac_status); } && {
7579 + test -z "$ac_c_werror_flag" ||
7580 + test ! -s conftest.err
7581 + } && test -s conftest$ac_exeext &&
7582 + $as_test_x conftest$ac_exeext; then
7583 eval "$as_ac_var=yes"
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7588 -eval "$as_ac_var=no"
7589 + eval "$as_ac_var=no"
7591 -rm -f conftest.err conftest.$ac_objext \
7593 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7594 conftest$ac_exeext conftest.$ac_ext
7596 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7597 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7598 +ac_res=`eval echo '${'$as_ac_var'}'`
7599 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7600 +echo "${ECHO_T}$ac_res" >&6; }
7601 if test `eval echo '${'$as_ac_var'}'` = yes; then
7602 cat >>confdefs.h <<_ACEOF
7603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7608 - "$ac_func.$ac_objext" | \
7609 - *" $ac_func.$ac_objext" | \
7610 - "$ac_func.$ac_objext "* | \
7611 + case " $LIBOBJS " in
7612 *" $ac_func.$ac_objext "* ) ;;
7613 - *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
7614 + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
7622 - echo "$as_me:$LINENO: checking whether alloca needs Cray hooks" >&5
7623 -echo $ECHO_N "checking whether alloca needs Cray hooks... $ECHO_C" >&6
7624 + { echo "$as_me:$LINENO: checking whether alloca needs Cray hooks" >&5
7625 +echo $ECHO_N "checking whether alloca needs Cray hooks... $ECHO_C" >&6; }
7626 if test "${ac_cv_os_cray+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 @@ -6388,14 +6846,14 @@
7633 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7634 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7635 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7636 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7637 if test $ac_cv_os_cray = yes; then
7638 for ac_func in _getb67 GETB67 getb67; do
7639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7640 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7641 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7642 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7643 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7644 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7645 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 if test x$gcc_no_link = xyes; then
7649 @@ -6449,39 +6907,37 @@
7652 rm -f conftest.$ac_objext conftest$ac_exeext
7653 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7654 - (eval $ac_link) 2>conftest.er1
7655 +if { (ac_try="$ac_link"
7656 +case "(($ac_try" in
7657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7658 + *) ac_try_echo=$ac_try;;
7660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7661 + (eval "$ac_link") 2>conftest.er1
7663 grep -v '^ *+' conftest.er1 >conftest.err
7665 cat conftest.err >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 - (exit $ac_status); } &&
7668 - { ac_try='test -z "$ac_c_werror_flag"
7669 - || test ! -s conftest.err'
7670 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 - (eval $ac_try) 2>&5
7673 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 - (exit $ac_status); }; } &&
7675 - { ac_try='test -s conftest$ac_exeext'
7676 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 - (eval $ac_try) 2>&5
7679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 - (exit $ac_status); }; }; then
7681 + (exit $ac_status); } && {
7682 + test -z "$ac_c_werror_flag" ||
7683 + test ! -s conftest.err
7684 + } && test -s conftest$ac_exeext &&
7685 + $as_test_x conftest$ac_exeext; then
7686 eval "$as_ac_var=yes"
7688 echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7691 -eval "$as_ac_var=no"
7692 + eval "$as_ac_var=no"
7694 -rm -f conftest.err conftest.$ac_objext \
7696 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7697 conftest$ac_exeext conftest.$ac_ext
7699 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7700 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7701 +ac_res=`eval echo '${'$as_ac_var'}'`
7702 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7703 +echo "${ECHO_T}$ac_res" >&6; }
7704 if test `eval echo '${'$as_ac_var'}'` = yes; then
7706 cat >>confdefs.h <<_ACEOF
7707 @@ -6493,8 +6949,8 @@
7711 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7712 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7713 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7714 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7715 if test "${ac_cv_c_stack_direction+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 @@ -6525,13 +6981,22 @@
7721 rm -f conftest$ac_exeext
7722 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7723 - (eval $ac_link) 2>&5
7724 +if { (ac_try="$ac_link"
7725 +case "(($ac_try" in
7726 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7727 + *) ac_try_echo=$ac_try;;
7729 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 + (eval "$ac_link") 2>&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7734 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 - (eval $ac_try) 2>&5
7736 + { (case "(($ac_try" in
7737 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7738 + *) ac_try_echo=$ac_try;;
7740 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7741 + (eval "$ac_try") 2>&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); }; }; then
7745 @@ -6544,11 +7009,13 @@
7747 ac_cv_c_stack_direction=-1
7749 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7750 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7755 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7756 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7757 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7758 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7760 cat >>confdefs.h <<_ACEOF
7761 #define STACK_DIRECTION $ac_cv_c_stack_direction
7762 @@ -6556,13 +7023,12 @@
7767 -for ac_header in unistd.h vfork.h
7768 +for ac_header in vfork.h
7770 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7771 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7772 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7773 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7774 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7775 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7776 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 cat >conftest.$ac_ext <<_ACEOF
7780 @@ -6573,24 +7039,22 @@
7781 /* end confdefs.h. */
7782 #include <$ac_header>
7784 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7785 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7786 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7787 +case "(($ac_try" in
7788 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7789 + *) ac_try_echo=$ac_try;;
7791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7792 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7794 grep -v '^ *+' conftest.er1 >conftest.err
7796 cat conftest.err >&5
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 - (exit $ac_status); } >/dev/null; then
7799 - if test -s conftest.err; then
7800 - ac_cpp_err=$ac_c_preproc_warn_flag
7801 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7808 -if test -z "$ac_cpp_err"; then
7809 + (exit $ac_status); } >/dev/null && {
7810 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7811 + test ! -s conftest.err
7813 eval "$as_ac_Header=yes"
7815 echo "$as_me: failed program was:" >&5
7816 @@ -6598,10 +7062,12 @@
7818 eval "$as_ac_Header=no"
7821 rm -f conftest.err conftest.$ac_ext
7823 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7824 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7825 +ac_res=`eval echo '${'$as_ac_Header'}'`
7826 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7827 +echo "${ECHO_T}$ac_res" >&6; }
7828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7829 cat >>confdefs.h <<_ACEOF
7830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7831 @@ -6615,9 +7081,9 @@
7832 for ac_func in fork vfork
7834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7835 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7836 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7837 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7838 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7839 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7840 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7841 echo $ECHO_N "(cached) $ECHO_C" >&6
7843 if test x$gcc_no_link = xyes; then
7844 @@ -6671,39 +7137,37 @@
7847 rm -f conftest.$ac_objext conftest$ac_exeext
7848 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7849 - (eval $ac_link) 2>conftest.er1
7850 +if { (ac_try="$ac_link"
7851 +case "(($ac_try" in
7852 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7853 + *) ac_try_echo=$ac_try;;
7855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7856 + (eval "$ac_link") 2>conftest.er1
7858 grep -v '^ *+' conftest.er1 >conftest.err
7860 cat conftest.err >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 - (exit $ac_status); } &&
7863 - { ac_try='test -z "$ac_c_werror_flag"
7864 - || test ! -s conftest.err'
7865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 - (eval $ac_try) 2>&5
7868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 - (exit $ac_status); }; } &&
7870 - { ac_try='test -s conftest$ac_exeext'
7871 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7872 - (eval $ac_try) 2>&5
7874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 - (exit $ac_status); }; }; then
7876 + (exit $ac_status); } && {
7877 + test -z "$ac_c_werror_flag" ||
7878 + test ! -s conftest.err
7879 + } && test -s conftest$ac_exeext &&
7880 + $as_test_x conftest$ac_exeext; then
7881 eval "$as_ac_var=yes"
7883 echo "$as_me: failed program was:" >&5
7884 sed 's/^/| /' conftest.$ac_ext >&5
7886 -eval "$as_ac_var=no"
7887 + eval "$as_ac_var=no"
7889 -rm -f conftest.err conftest.$ac_objext \
7891 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7892 conftest$ac_exeext conftest.$ac_ext
7894 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7895 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7896 +ac_res=`eval echo '${'$as_ac_var'}'`
7897 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7898 +echo "${ECHO_T}$ac_res" >&6; }
7899 if test `eval echo '${'$as_ac_var'}'` = yes; then
7900 cat >>confdefs.h <<_ACEOF
7901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7902 @@ -6713,8 +7177,8 @@
7905 if test "x$ac_cv_func_fork" = xyes; then
7906 - echo "$as_me:$LINENO: checking for working fork" >&5
7907 -echo $ECHO_N "checking for working fork... $ECHO_C" >&6
7908 + { echo "$as_me:$LINENO: checking for working fork" >&5
7909 +echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
7910 if test "${ac_cv_func_fork_works+set}" = set; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7913 @@ -6722,27 +7186,40 @@
7914 ac_cv_func_fork_works=cross
7916 cat >conftest.$ac_ext <<_ACEOF
7917 -/* By Ruediger Kuhlmann. */
7918 - #include <sys/types.h>
7920 - # include <unistd.h>
7922 - /* Some systems only have a dummy stub for fork() */
7931 +cat confdefs.h >>conftest.$ac_ext
7932 +cat >>conftest.$ac_ext <<_ACEOF
7933 +/* end confdefs.h. */
7934 +$ac_includes_default
7939 + /* By Ruediger Kuhlmann. */
7940 + return fork () < 0;
7946 rm -f conftest$ac_exeext
7947 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7948 - (eval $ac_link) 2>&5
7949 +if { (ac_try="$ac_link"
7950 +case "(($ac_try" in
7951 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7952 + *) ac_try_echo=$ac_try;;
7954 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7955 + (eval "$ac_link") 2>&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7959 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7960 - (eval $ac_try) 2>&5
7961 + { (case "(($ac_try" in
7962 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7963 + *) ac_try_echo=$ac_try;;
7965 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7966 + (eval "$ac_try") 2>&5
7968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); }; }; then
7970 @@ -6755,11 +7232,13 @@
7972 ac_cv_func_fork_works=no
7974 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7975 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7980 -echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7981 -echo "${ECHO_T}$ac_cv_func_fork_works" >&6
7982 +{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
7983 +echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
7986 ac_cv_func_fork_works=$ac_cv_func_fork
7987 @@ -6779,8 +7258,8 @@
7989 ac_cv_func_vfork_works=$ac_cv_func_vfork
7990 if test "x$ac_cv_func_vfork" = xyes; then
7991 - echo "$as_me:$LINENO: checking for working vfork" >&5
7992 -echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
7993 + { echo "$as_me:$LINENO: checking for working vfork" >&5
7994 +echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
7995 if test "${ac_cv_func_vfork_works+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 @@ -6794,15 +7273,9 @@
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 /* Thanks to Paul Eggert for this test. */
8003 -#include <stdlib.h>
8004 -#include <sys/types.h>
8005 -#include <sys/stat.h>
8006 +$ac_includes_default
8007 #include <sys/wait.h>
8009 -# include <unistd.h>
8012 +#ifdef HAVE_VFORK_H
8015 /* On some sparc systems, changes by the child to local and incoming
8016 @@ -6873,7 +7346,7 @@
8018 while (wait(&status) != child)
8022 /* Was there some problem with vforking? */
8025 @@ -6890,13 +7363,22 @@
8028 rm -f conftest$ac_exeext
8029 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8030 - (eval $ac_link) 2>&5
8031 +if { (ac_try="$ac_link"
8032 +case "(($ac_try" in
8033 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 + *) ac_try_echo=$ac_try;;
8036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 + (eval "$ac_link") 2>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 - (eval $ac_try) 2>&5
8043 + { (case "(($ac_try" in
8044 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8045 + *) ac_try_echo=$ac_try;;
8047 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8048 + (eval "$ac_try") 2>&5
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; }; then
8052 @@ -6909,11 +7391,13 @@
8054 ac_cv_func_vfork_works=no
8056 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8057 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8062 -echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8063 -echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
8064 +{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
8065 +echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
8068 if test "x$ac_cv_func_fork_works" = xcross; then
8069 @@ -6944,12 +7428,10 @@
8072 if test $ac_cv_func_vfork_works = no; then
8074 - "vfork.$ac_objext" | \
8075 - *" vfork.$ac_objext" | \
8076 - "vfork.$ac_objext "* | \
8077 + case " $LIBOBJS " in
8078 *" vfork.$ac_objext "* ) ;;
8079 - *) LIBOBJS="$LIBOBJS vfork.$ac_objext" ;;
8080 + *) LIBOBJS="$LIBOBJS vfork.$ac_objext"
8085 @@ -6961,9 +7443,9 @@
8086 for ac_func in _doprnt
8088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8089 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8090 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8091 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8092 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8093 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8094 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 if test x$gcc_no_link = xyes; then
8098 @@ -7017,51 +7499,47 @@
8101 rm -f conftest.$ac_objext conftest$ac_exeext
8102 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8103 - (eval $ac_link) 2>conftest.er1
8104 +if { (ac_try="$ac_link"
8105 +case "(($ac_try" in
8106 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8107 + *) ac_try_echo=$ac_try;;
8109 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8110 + (eval "$ac_link") 2>conftest.er1
8112 grep -v '^ *+' conftest.er1 >conftest.err
8114 cat conftest.err >&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 - (exit $ac_status); } &&
8117 - { ac_try='test -z "$ac_c_werror_flag"
8118 - || test ! -s conftest.err'
8119 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 - (eval $ac_try) 2>&5
8122 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 - (exit $ac_status); }; } &&
8124 - { ac_try='test -s conftest$ac_exeext'
8125 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 - (eval $ac_try) 2>&5
8128 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 - (exit $ac_status); }; }; then
8130 + (exit $ac_status); } && {
8131 + test -z "$ac_c_werror_flag" ||
8132 + test ! -s conftest.err
8133 + } && test -s conftest$ac_exeext &&
8134 + $as_test_x conftest$ac_exeext; then
8135 eval "$as_ac_var=yes"
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 -eval "$as_ac_var=no"
8141 + eval "$as_ac_var=no"
8143 -rm -f conftest.err conftest.$ac_objext \
8145 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8146 conftest$ac_exeext conftest.$ac_ext
8148 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8149 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8150 +ac_res=`eval echo '${'$as_ac_var'}'`
8151 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8152 +echo "${ECHO_T}$ac_res" >&6; }
8153 if test `eval echo '${'$as_ac_var'}'` = yes; then
8154 cat >>confdefs.h <<_ACEOF
8155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8160 - "$ac_func.$ac_objext" | \
8161 - *" $ac_func.$ac_objext" | \
8162 - "$ac_func.$ac_objext "* | \
8163 + case " $LIBOBJS " in
8164 *" $ac_func.$ac_objext "* ) ;;
8165 - *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
8166 + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
8171 @@ -7073,9 +7551,9 @@
8172 for ac_func in _doprnt
8174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8175 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8176 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8177 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8178 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8179 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8180 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8181 echo $ECHO_N "(cached) $ECHO_C" >&6
8183 if test x$gcc_no_link = xyes; then
8184 @@ -7129,39 +7607,37 @@
8187 rm -f conftest.$ac_objext conftest$ac_exeext
8188 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8189 - (eval $ac_link) 2>conftest.er1
8190 +if { (ac_try="$ac_link"
8191 +case "(($ac_try" in
8192 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8193 + *) ac_try_echo=$ac_try;;
8195 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8196 + (eval "$ac_link") 2>conftest.er1
8198 grep -v '^ *+' conftest.er1 >conftest.err
8200 cat conftest.err >&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 - (exit $ac_status); } &&
8203 - { ac_try='test -z "$ac_c_werror_flag"
8204 - || test ! -s conftest.err'
8205 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 - (eval $ac_try) 2>&5
8208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209 - (exit $ac_status); }; } &&
8210 - { ac_try='test -s conftest$ac_exeext'
8211 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8212 - (eval $ac_try) 2>&5
8214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 - (exit $ac_status); }; }; then
8216 + (exit $ac_status); } && {
8217 + test -z "$ac_c_werror_flag" ||
8218 + test ! -s conftest.err
8219 + } && test -s conftest$ac_exeext &&
8220 + $as_test_x conftest$ac_exeext; then
8221 eval "$as_ac_var=yes"
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.$ac_ext >&5
8226 -eval "$as_ac_var=no"
8227 + eval "$as_ac_var=no"
8229 -rm -f conftest.err conftest.$ac_objext \
8231 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8232 conftest$ac_exeext conftest.$ac_ext
8234 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8235 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8236 +ac_res=`eval echo '${'$as_ac_var'}'`
8237 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 +echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_var'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8242 @@ -7173,9 +7649,9 @@
8246 - echo "$as_me:$LINENO: checking for $v" >&5
8247 -echo $ECHO_N "checking for $v... $ECHO_C" >&6
8248 - if eval "test \"\${libiberty_cv_var_$v+set}\" = set"; then
8249 + { echo "$as_me:$LINENO: checking for $v" >&5
8250 +echo $ECHO_N "checking for $v... $ECHO_C" >&6; }
8251 + if { as_var=libiberty_cv_var_$v; eval "test \"\${$as_var+set}\" = set"; }; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 if test x$gcc_no_link = xyes; then
8255 @@ -7199,56 +7675,53 @@
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 - (eval $ac_link) 2>conftest.er1
8261 +if { (ac_try="$ac_link"
8262 +case "(($ac_try" in
8263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8264 + *) ac_try_echo=$ac_try;;
8266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 + (eval "$ac_link") 2>conftest.er1
8269 grep -v '^ *+' conftest.er1 >conftest.err
8271 cat conftest.err >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 - (exit $ac_status); } &&
8274 - { ac_try='test -z "$ac_c_werror_flag"
8275 - || test ! -s conftest.err'
8276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 - (eval $ac_try) 2>&5
8279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 - (exit $ac_status); }; } &&
8281 - { ac_try='test -s conftest$ac_exeext'
8282 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 - (eval $ac_try) 2>&5
8285 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 - (exit $ac_status); }; }; then
8287 + (exit $ac_status); } && {
8288 + test -z "$ac_c_werror_flag" ||
8289 + test ! -s conftest.err
8290 + } && test -s conftest$ac_exeext &&
8291 + $as_test_x conftest$ac_exeext; then
8292 eval "libiberty_cv_var_$v=yes"
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8297 -eval "libiberty_cv_var_$v=no"
8298 + eval "libiberty_cv_var_$v=no"
8300 -rm -f conftest.err conftest.$ac_objext \
8302 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8303 conftest$ac_exeext conftest.$ac_ext
8306 if eval "test \"`echo '$libiberty_cv_var_'$v`\" = yes"; then
8307 - echo "$as_me:$LINENO: result: yes" >&5
8308 -echo "${ECHO_T}yes" >&6
8309 + { echo "$as_me:$LINENO: result: yes" >&5
8310 +echo "${ECHO_T}yes" >&6; }
8311 n=HAVE_`echo $v | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8312 cat >>confdefs.h <<_ACEOF
8317 - echo "$as_me:$LINENO: result: no" >&5
8318 -echo "${ECHO_T}no" >&6
8319 + { echo "$as_me:$LINENO: result: no" >&5
8320 +echo "${ECHO_T}no" >&6; }
8324 # special check for _system_configuration because AIX <4.3.2 do not
8325 # contain the `physmem' member.
8326 - echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
8327 -echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
8328 + { echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
8329 +echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6; }
8330 cat >conftest.$ac_ext <<_ACEOF
8333 @@ -7265,29 +7738,24 @@
8336 rm -f conftest.$ac_objext
8337 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8338 - (eval $ac_compile) 2>conftest.er1
8339 +if { (ac_try="$ac_compile"
8340 +case "(($ac_try" in
8341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8342 + *) ac_try_echo=$ac_try;;
8344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8345 + (eval "$ac_compile") 2>conftest.er1
8347 grep -v '^ *+' conftest.er1 >conftest.err
8349 cat conftest.err >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 - (exit $ac_status); } &&
8352 - { ac_try='test -z "$ac_c_werror_flag"
8353 - || test ! -s conftest.err'
8354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8355 - (eval $ac_try) 2>&5
8357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 - (exit $ac_status); }; } &&
8359 - { ac_try='test -s conftest.$ac_objext'
8360 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 - (eval $ac_try) 2>&5
8363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 - (exit $ac_status); }; }; then
8365 - echo "$as_me:$LINENO: result: yes" >&5
8366 -echo "${ECHO_T}yes" >&6
8367 + (exit $ac_status); } && {
8368 + test -z "$ac_c_werror_flag" ||
8369 + test ! -s conftest.err
8370 + } && test -s conftest.$ac_objext; then
8371 + { echo "$as_me:$LINENO: result: yes" >&5
8372 +echo "${ECHO_T}yes" >&6; }
8374 cat >>confdefs.h <<\_ACEOF
8375 #define HAVE__SYSTEM_CONFIGURATION 1
8376 @@ -7297,18 +7765,19 @@
8377 echo "$as_me: failed program was:" >&5
8378 sed 's/^/| /' conftest.$ac_ext >&5
8380 -echo "$as_me:$LINENO: result: no" >&5
8381 -echo "${ECHO_T}no" >&6
8382 + { echo "$as_me:$LINENO: result: no" >&5
8383 +echo "${ECHO_T}no" >&6; }
8385 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8390 for ac_func in $checkfuncs
8392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8393 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8394 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8395 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8396 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8397 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8398 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 if test x$gcc_no_link = xyes; then
8402 @@ -7362,39 +7831,37 @@
8405 rm -f conftest.$ac_objext conftest$ac_exeext
8406 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8407 - (eval $ac_link) 2>conftest.er1
8408 +if { (ac_try="$ac_link"
8409 +case "(($ac_try" in
8410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8411 + *) ac_try_echo=$ac_try;;
8413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8414 + (eval "$ac_link") 2>conftest.er1
8416 grep -v '^ *+' conftest.er1 >conftest.err
8418 cat conftest.err >&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 - (exit $ac_status); } &&
8421 - { ac_try='test -z "$ac_c_werror_flag"
8422 - || test ! -s conftest.err'
8423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8424 - (eval $ac_try) 2>&5
8426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 - (exit $ac_status); }; } &&
8428 - { ac_try='test -s conftest$ac_exeext'
8429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 - (eval $ac_try) 2>&5
8432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 - (exit $ac_status); }; }; then
8434 + (exit $ac_status); } && {
8435 + test -z "$ac_c_werror_flag" ||
8436 + test ! -s conftest.err
8437 + } && test -s conftest$ac_exeext &&
8438 + $as_test_x conftest$ac_exeext; then
8439 eval "$as_ac_var=yes"
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 -eval "$as_ac_var=no"
8445 + eval "$as_ac_var=no"
8447 -rm -f conftest.err conftest.$ac_objext \
8449 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8450 conftest$ac_exeext conftest.$ac_ext
8452 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8453 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8454 +ac_res=`eval echo '${'$as_ac_var'}'`
8455 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8456 +echo "${ECHO_T}$ac_res" >&6; }
8457 if test `eval echo '${'$as_ac_var'}'` = yes; then
8458 cat >>confdefs.h <<_ACEOF
8459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8460 @@ -7403,8 +7870,8 @@
8464 - echo "$as_me:$LINENO: checking whether basename is declared" >&5
8465 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
8466 + { echo "$as_me:$LINENO: checking whether basename is declared" >&5
8467 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
8468 if test "${ac_cv_have_decl_basename+set}" = set; then
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
8471 @@ -7419,7 +7886,7 @@
8475 - char *p = (char *) basename;
8480 @@ -7427,38 +7894,34 @@
8483 rm -f conftest.$ac_objext
8484 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8485 - (eval $ac_compile) 2>conftest.er1
8486 +if { (ac_try="$ac_compile"
8487 +case "(($ac_try" in
8488 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489 + *) ac_try_echo=$ac_try;;
8491 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8492 + (eval "$ac_compile") 2>conftest.er1
8494 grep -v '^ *+' conftest.er1 >conftest.err
8496 cat conftest.err >&5
8497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8498 - (exit $ac_status); } &&
8499 - { ac_try='test -z "$ac_c_werror_flag"
8500 - || test ! -s conftest.err'
8501 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 - (eval $ac_try) 2>&5
8504 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 - (exit $ac_status); }; } &&
8506 - { ac_try='test -s conftest.$ac_objext'
8507 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 - (eval $ac_try) 2>&5
8510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 - (exit $ac_status); }; }; then
8512 + (exit $ac_status); } && {
8513 + test -z "$ac_c_werror_flag" ||
8514 + test ! -s conftest.err
8515 + } && test -s conftest.$ac_objext; then
8516 ac_cv_have_decl_basename=yes
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 -ac_cv_have_decl_basename=no
8522 + ac_cv_have_decl_basename=no
8524 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8526 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8528 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8529 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
8530 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
8531 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
8532 if test $ac_cv_have_decl_basename = yes; then
8534 cat >>confdefs.h <<_ACEOF
8535 @@ -7473,8 +7936,8 @@
8539 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8540 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
8541 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
8542 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
8543 if test "${ac_cv_have_decl_ffs+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 @@ -7489,7 +7952,7 @@
8550 - char *p = (char *) ffs;
8555 @@ -7497,38 +7960,34 @@
8558 rm -f conftest.$ac_objext
8559 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8560 - (eval $ac_compile) 2>conftest.er1
8561 +if { (ac_try="$ac_compile"
8562 +case "(($ac_try" in
8563 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564 + *) ac_try_echo=$ac_try;;
8566 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567 + (eval "$ac_compile") 2>conftest.er1
8569 grep -v '^ *+' conftest.er1 >conftest.err
8571 cat conftest.err >&5
8572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573 - (exit $ac_status); } &&
8574 - { ac_try='test -z "$ac_c_werror_flag"
8575 - || test ! -s conftest.err'
8576 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 - (eval $ac_try) 2>&5
8579 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 - (exit $ac_status); }; } &&
8581 - { ac_try='test -s conftest.$ac_objext'
8582 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 - (eval $ac_try) 2>&5
8585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 - (exit $ac_status); }; }; then
8587 + (exit $ac_status); } && {
8588 + test -z "$ac_c_werror_flag" ||
8589 + test ! -s conftest.err
8590 + } && test -s conftest.$ac_objext; then
8591 ac_cv_have_decl_ffs=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 -ac_cv_have_decl_ffs=no
8597 + ac_cv_have_decl_ffs=no
8599 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8601 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8603 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8604 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
8605 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
8606 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
8607 if test $ac_cv_have_decl_ffs = yes; then
8609 cat >>confdefs.h <<_ACEOF
8610 @@ -7543,8 +8002,8 @@
8614 -echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
8615 -echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
8616 +{ echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
8617 +echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6; }
8618 if test "${ac_cv_have_decl_asprintf+set}" = set; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 @@ -7559,7 +8018,7 @@
8625 - char *p = (char *) asprintf;
8630 @@ -7567,38 +8026,34 @@
8633 rm -f conftest.$ac_objext
8634 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 - (eval $ac_compile) 2>conftest.er1
8636 +if { (ac_try="$ac_compile"
8637 +case "(($ac_try" in
8638 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639 + *) ac_try_echo=$ac_try;;
8641 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8642 + (eval "$ac_compile") 2>conftest.er1
8644 grep -v '^ *+' conftest.er1 >conftest.err
8646 cat conftest.err >&5
8647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 - (exit $ac_status); } &&
8649 - { ac_try='test -z "$ac_c_werror_flag"
8650 - || test ! -s conftest.err'
8651 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 - (eval $ac_try) 2>&5
8654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 - (exit $ac_status); }; } &&
8656 - { ac_try='test -s conftest.$ac_objext'
8657 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 - (eval $ac_try) 2>&5
8660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 - (exit $ac_status); }; }; then
8662 + (exit $ac_status); } && {
8663 + test -z "$ac_c_werror_flag" ||
8664 + test ! -s conftest.err
8665 + } && test -s conftest.$ac_objext; then
8666 ac_cv_have_decl_asprintf=yes
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 -ac_cv_have_decl_asprintf=no
8672 + ac_cv_have_decl_asprintf=no
8674 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8676 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8678 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
8679 -echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
8680 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
8681 +echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6; }
8682 if test $ac_cv_have_decl_asprintf = yes; then
8684 cat >>confdefs.h <<_ACEOF
8685 @@ -7613,8 +8068,8 @@
8689 -echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
8690 -echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
8691 +{ echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
8692 +echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6; }
8693 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 @@ -7629,7 +8084,7 @@
8700 - char *p = (char *) vasprintf;
8705 @@ -7637,38 +8092,34 @@
8708 rm -f conftest.$ac_objext
8709 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8710 - (eval $ac_compile) 2>conftest.er1
8711 +if { (ac_try="$ac_compile"
8712 +case "(($ac_try" in
8713 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8714 + *) ac_try_echo=$ac_try;;
8716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8717 + (eval "$ac_compile") 2>conftest.er1
8719 grep -v '^ *+' conftest.er1 >conftest.err
8721 cat conftest.err >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 - (exit $ac_status); } &&
8724 - { ac_try='test -z "$ac_c_werror_flag"
8725 - || test ! -s conftest.err'
8726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8727 - (eval $ac_try) 2>&5
8729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 - (exit $ac_status); }; } &&
8731 - { ac_try='test -s conftest.$ac_objext'
8732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8733 - (eval $ac_try) 2>&5
8735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8736 - (exit $ac_status); }; }; then
8737 + (exit $ac_status); } && {
8738 + test -z "$ac_c_werror_flag" ||
8739 + test ! -s conftest.err
8740 + } && test -s conftest.$ac_objext; then
8741 ac_cv_have_decl_vasprintf=yes
8743 echo "$as_me: failed program was:" >&5
8744 sed 's/^/| /' conftest.$ac_ext >&5
8746 -ac_cv_have_decl_vasprintf=no
8747 + ac_cv_have_decl_vasprintf=no
8749 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8751 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8753 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
8754 -echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
8755 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
8756 +echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6; }
8757 if test $ac_cv_have_decl_vasprintf = yes; then
8759 cat >>confdefs.h <<_ACEOF
8760 @@ -7683,8 +8134,8 @@
8764 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
8765 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
8766 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
8767 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
8768 if test "${ac_cv_have_decl_snprintf+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 @@ -7699,7 +8150,7 @@
8775 - char *p = (char *) snprintf;
8780 @@ -7707,38 +8158,34 @@
8783 rm -f conftest.$ac_objext
8784 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8785 - (eval $ac_compile) 2>conftest.er1
8786 +if { (ac_try="$ac_compile"
8787 +case "(($ac_try" in
8788 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8789 + *) ac_try_echo=$ac_try;;
8791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8792 + (eval "$ac_compile") 2>conftest.er1
8794 grep -v '^ *+' conftest.er1 >conftest.err
8796 cat conftest.err >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 - (exit $ac_status); } &&
8799 - { ac_try='test -z "$ac_c_werror_flag"
8800 - || test ! -s conftest.err'
8801 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8802 - (eval $ac_try) 2>&5
8804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 - (exit $ac_status); }; } &&
8806 - { ac_try='test -s conftest.$ac_objext'
8807 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 - (eval $ac_try) 2>&5
8810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 - (exit $ac_status); }; }; then
8812 + (exit $ac_status); } && {
8813 + test -z "$ac_c_werror_flag" ||
8814 + test ! -s conftest.err
8815 + } && test -s conftest.$ac_objext; then
8816 ac_cv_have_decl_snprintf=yes
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8821 -ac_cv_have_decl_snprintf=no
8822 + ac_cv_have_decl_snprintf=no
8824 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8826 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8828 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
8829 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
8830 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
8831 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
8832 if test $ac_cv_have_decl_snprintf = yes; then
8834 cat >>confdefs.h <<_ACEOF
8835 @@ -7753,8 +8200,8 @@
8839 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8840 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
8841 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
8842 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
8843 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 @@ -7769,7 +8216,7 @@
8850 - char *p = (char *) vsnprintf;
8855 @@ -7777,38 +8224,34 @@
8858 rm -f conftest.$ac_objext
8859 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8860 - (eval $ac_compile) 2>conftest.er1
8861 +if { (ac_try="$ac_compile"
8862 +case "(($ac_try" in
8863 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8864 + *) ac_try_echo=$ac_try;;
8866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8867 + (eval "$ac_compile") 2>conftest.er1
8869 grep -v '^ *+' conftest.er1 >conftest.err
8871 cat conftest.err >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 - (exit $ac_status); } &&
8874 - { ac_try='test -z "$ac_c_werror_flag"
8875 - || test ! -s conftest.err'
8876 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 - (eval $ac_try) 2>&5
8879 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880 - (exit $ac_status); }; } &&
8881 - { ac_try='test -s conftest.$ac_objext'
8882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8883 - (eval $ac_try) 2>&5
8885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 - (exit $ac_status); }; }; then
8887 + (exit $ac_status); } && {
8888 + test -z "$ac_c_werror_flag" ||
8889 + test ! -s conftest.err
8890 + } && test -s conftest.$ac_objext; then
8891 ac_cv_have_decl_vsnprintf=yes
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8896 -ac_cv_have_decl_vsnprintf=no
8897 + ac_cv_have_decl_vsnprintf=no
8899 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8901 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8903 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8904 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
8905 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
8906 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
8907 if test $ac_cv_have_decl_vsnprintf = yes; then
8909 cat >>confdefs.h <<_ACEOF
8910 @@ -7825,8 +8268,8 @@
8914 - echo "$as_me:$LINENO: checking whether calloc is declared" >&5
8915 -echo $ECHO_N "checking whether calloc is declared... $ECHO_C" >&6
8916 + { echo "$as_me:$LINENO: checking whether calloc is declared" >&5
8917 +echo $ECHO_N "checking whether calloc is declared... $ECHO_C" >&6; }
8918 if test "${ac_cv_have_decl_calloc+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 @@ -7841,7 +8284,7 @@
8925 - char *p = (char *) calloc;
8930 @@ -7849,38 +8292,34 @@
8933 rm -f conftest.$ac_objext
8934 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8935 - (eval $ac_compile) 2>conftest.er1
8936 +if { (ac_try="$ac_compile"
8937 +case "(($ac_try" in
8938 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939 + *) ac_try_echo=$ac_try;;
8941 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942 + (eval "$ac_compile") 2>conftest.er1
8944 grep -v '^ *+' conftest.er1 >conftest.err
8946 cat conftest.err >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 - (exit $ac_status); } &&
8949 - { ac_try='test -z "$ac_c_werror_flag"
8950 - || test ! -s conftest.err'
8951 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8952 - (eval $ac_try) 2>&5
8954 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 - (exit $ac_status); }; } &&
8956 - { ac_try='test -s conftest.$ac_objext'
8957 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 - (eval $ac_try) 2>&5
8960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 - (exit $ac_status); }; }; then
8962 + (exit $ac_status); } && {
8963 + test -z "$ac_c_werror_flag" ||
8964 + test ! -s conftest.err
8965 + } && test -s conftest.$ac_objext; then
8966 ac_cv_have_decl_calloc=yes
8968 echo "$as_me: failed program was:" >&5
8969 sed 's/^/| /' conftest.$ac_ext >&5
8971 -ac_cv_have_decl_calloc=no
8972 + ac_cv_have_decl_calloc=no
8974 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8976 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8978 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_calloc" >&5
8979 -echo "${ECHO_T}$ac_cv_have_decl_calloc" >&6
8980 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_calloc" >&5
8981 +echo "${ECHO_T}$ac_cv_have_decl_calloc" >&6; }
8982 if test $ac_cv_have_decl_calloc = yes; then
8984 cat >>confdefs.h <<_ACEOF
8985 @@ -7895,8 +8334,8 @@
8989 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8990 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
8991 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
8992 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
8993 if test "${ac_cv_have_decl_getenv+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 @@ -7911,7 +8350,7 @@
9000 - char *p = (char *) getenv;
9005 @@ -7919,38 +8358,34 @@
9008 rm -f conftest.$ac_objext
9009 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 - (eval $ac_compile) 2>conftest.er1
9011 +if { (ac_try="$ac_compile"
9012 +case "(($ac_try" in
9013 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014 + *) ac_try_echo=$ac_try;;
9016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017 + (eval "$ac_compile") 2>conftest.er1
9019 grep -v '^ *+' conftest.er1 >conftest.err
9021 cat conftest.err >&5
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 - (exit $ac_status); } &&
9024 - { ac_try='test -z "$ac_c_werror_flag"
9025 - || test ! -s conftest.err'
9026 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 - (eval $ac_try) 2>&5
9029 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 - (exit $ac_status); }; } &&
9031 - { ac_try='test -s conftest.$ac_objext'
9032 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 - (eval $ac_try) 2>&5
9035 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 - (exit $ac_status); }; }; then
9037 + (exit $ac_status); } && {
9038 + test -z "$ac_c_werror_flag" ||
9039 + test ! -s conftest.err
9040 + } && test -s conftest.$ac_objext; then
9041 ac_cv_have_decl_getenv=yes
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9046 -ac_cv_have_decl_getenv=no
9047 + ac_cv_have_decl_getenv=no
9049 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9051 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9053 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9054 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
9055 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
9056 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
9057 if test $ac_cv_have_decl_getenv = yes; then
9059 cat >>confdefs.h <<_ACEOF
9060 @@ -7965,8 +8400,8 @@
9064 -echo "$as_me:$LINENO: checking whether getopt is declared" >&5
9065 -echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
9066 +{ echo "$as_me:$LINENO: checking whether getopt is declared" >&5
9067 +echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6; }
9068 if test "${ac_cv_have_decl_getopt+set}" = set; then
9069 echo $ECHO_N "(cached) $ECHO_C" >&6
9071 @@ -7981,7 +8416,7 @@
9075 - char *p = (char *) getopt;
9080 @@ -7989,38 +8424,34 @@
9083 rm -f conftest.$ac_objext
9084 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9085 - (eval $ac_compile) 2>conftest.er1
9086 +if { (ac_try="$ac_compile"
9087 +case "(($ac_try" in
9088 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9089 + *) ac_try_echo=$ac_try;;
9091 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9092 + (eval "$ac_compile") 2>conftest.er1
9094 grep -v '^ *+' conftest.er1 >conftest.err
9096 cat conftest.err >&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 - (exit $ac_status); } &&
9099 - { ac_try='test -z "$ac_c_werror_flag"
9100 - || test ! -s conftest.err'
9101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102 - (eval $ac_try) 2>&5
9104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 - (exit $ac_status); }; } &&
9106 - { ac_try='test -s conftest.$ac_objext'
9107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9108 - (eval $ac_try) 2>&5
9110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 - (exit $ac_status); }; }; then
9112 + (exit $ac_status); } && {
9113 + test -z "$ac_c_werror_flag" ||
9114 + test ! -s conftest.err
9115 + } && test -s conftest.$ac_objext; then
9116 ac_cv_have_decl_getopt=yes
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.$ac_ext >&5
9121 -ac_cv_have_decl_getopt=no
9122 + ac_cv_have_decl_getopt=no
9124 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9126 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9128 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
9129 -echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
9130 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
9131 +echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6; }
9132 if test $ac_cv_have_decl_getopt = yes; then
9134 cat >>confdefs.h <<_ACEOF
9135 @@ -8035,8 +8466,8 @@
9139 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
9140 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
9141 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
9142 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
9143 if test "${ac_cv_have_decl_malloc+set}" = set; then
9144 echo $ECHO_N "(cached) $ECHO_C" >&6
9146 @@ -8051,7 +8482,7 @@
9150 - char *p = (char *) malloc;
9155 @@ -8059,38 +8490,34 @@
9158 rm -f conftest.$ac_objext
9159 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9160 - (eval $ac_compile) 2>conftest.er1
9161 +if { (ac_try="$ac_compile"
9162 +case "(($ac_try" in
9163 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 + *) ac_try_echo=$ac_try;;
9166 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 + (eval "$ac_compile") 2>conftest.er1
9169 grep -v '^ *+' conftest.er1 >conftest.err
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 - (exit $ac_status); } &&
9174 - { ac_try='test -z "$ac_c_werror_flag"
9175 - || test ! -s conftest.err'
9176 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 - (eval $ac_try) 2>&5
9179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 - (exit $ac_status); }; } &&
9181 - { ac_try='test -s conftest.$ac_objext'
9182 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183 - (eval $ac_try) 2>&5
9185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186 - (exit $ac_status); }; }; then
9187 + (exit $ac_status); } && {
9188 + test -z "$ac_c_werror_flag" ||
9189 + test ! -s conftest.err
9190 + } && test -s conftest.$ac_objext; then
9191 ac_cv_have_decl_malloc=yes
9193 echo "$as_me: failed program was:" >&5
9194 sed 's/^/| /' conftest.$ac_ext >&5
9196 -ac_cv_have_decl_malloc=no
9197 + ac_cv_have_decl_malloc=no
9199 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9201 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9203 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
9204 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
9205 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
9206 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
9207 if test $ac_cv_have_decl_malloc = yes; then
9209 cat >>confdefs.h <<_ACEOF
9210 @@ -8105,8 +8532,8 @@
9214 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
9215 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
9216 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
9217 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
9218 if test "${ac_cv_have_decl_realloc+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9221 @@ -8121,7 +8548,7 @@
9225 - char *p = (char *) realloc;
9230 @@ -8129,38 +8556,34 @@
9233 rm -f conftest.$ac_objext
9234 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9235 - (eval $ac_compile) 2>conftest.er1
9236 +if { (ac_try="$ac_compile"
9237 +case "(($ac_try" in
9238 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9239 + *) ac_try_echo=$ac_try;;
9241 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9242 + (eval "$ac_compile") 2>conftest.er1
9244 grep -v '^ *+' conftest.er1 >conftest.err
9246 cat conftest.err >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 - (exit $ac_status); } &&
9249 - { ac_try='test -z "$ac_c_werror_flag"
9250 - || test ! -s conftest.err'
9251 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 - (eval $ac_try) 2>&5
9254 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 - (exit $ac_status); }; } &&
9256 - { ac_try='test -s conftest.$ac_objext'
9257 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9258 - (eval $ac_try) 2>&5
9260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 - (exit $ac_status); }; }; then
9262 + (exit $ac_status); } && {
9263 + test -z "$ac_c_werror_flag" ||
9264 + test ! -s conftest.err
9265 + } && test -s conftest.$ac_objext; then
9266 ac_cv_have_decl_realloc=yes
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.$ac_ext >&5
9271 -ac_cv_have_decl_realloc=no
9272 + ac_cv_have_decl_realloc=no
9274 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9276 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9278 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
9279 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
9280 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
9281 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
9282 if test $ac_cv_have_decl_realloc = yes; then
9284 cat >>confdefs.h <<_ACEOF
9285 @@ -8175,8 +8598,8 @@
9289 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9290 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
9291 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
9292 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
9293 if test "${ac_cv_have_decl_sbrk+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 @@ -8191,7 +8614,7 @@
9300 - char *p = (char *) sbrk;
9305 @@ -8199,38 +8622,34 @@
9308 rm -f conftest.$ac_objext
9309 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9310 - (eval $ac_compile) 2>conftest.er1
9311 +if { (ac_try="$ac_compile"
9312 +case "(($ac_try" in
9313 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9314 + *) ac_try_echo=$ac_try;;
9316 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317 + (eval "$ac_compile") 2>conftest.er1
9319 grep -v '^ *+' conftest.er1 >conftest.err
9321 cat conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 - (exit $ac_status); } &&
9324 - { ac_try='test -z "$ac_c_werror_flag"
9325 - || test ! -s conftest.err'
9326 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 - (eval $ac_try) 2>&5
9329 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 - (exit $ac_status); }; } &&
9331 - { ac_try='test -s conftest.$ac_objext'
9332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9333 - (eval $ac_try) 2>&5
9335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9336 - (exit $ac_status); }; }; then
9337 + (exit $ac_status); } && {
9338 + test -z "$ac_c_werror_flag" ||
9339 + test ! -s conftest.err
9340 + } && test -s conftest.$ac_objext; then
9341 ac_cv_have_decl_sbrk=yes
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 -ac_cv_have_decl_sbrk=no
9347 + ac_cv_have_decl_sbrk=no
9349 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9351 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9353 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9354 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
9355 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
9356 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
9357 if test $ac_cv_have_decl_sbrk = yes; then
9359 cat >>confdefs.h <<_ACEOF
9360 @@ -8247,8 +8666,8 @@
9364 - echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
9365 -echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6
9366 + { echo "$as_me:$LINENO: checking whether strverscmp is declared" >&5
9367 +echo $ECHO_N "checking whether strverscmp is declared... $ECHO_C" >&6; }
9368 if test "${ac_cv_have_decl_strverscmp+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 @@ -8263,7 +8682,7 @@
9375 - char *p = (char *) strverscmp;
9376 + (void) strverscmp;
9380 @@ -8271,38 +8690,34 @@
9383 rm -f conftest.$ac_objext
9384 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9385 - (eval $ac_compile) 2>conftest.er1
9386 +if { (ac_try="$ac_compile"
9387 +case "(($ac_try" in
9388 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 + *) ac_try_echo=$ac_try;;
9391 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 + (eval "$ac_compile") 2>conftest.er1
9394 grep -v '^ *+' conftest.er1 >conftest.err
9396 cat conftest.err >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 - (exit $ac_status); } &&
9399 - { ac_try='test -z "$ac_c_werror_flag"
9400 - || test ! -s conftest.err'
9401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 - (eval $ac_try) 2>&5
9404 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 - (exit $ac_status); }; } &&
9406 - { ac_try='test -s conftest.$ac_objext'
9407 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 - (eval $ac_try) 2>&5
9410 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 - (exit $ac_status); }; }; then
9412 + (exit $ac_status); } && {
9413 + test -z "$ac_c_werror_flag" ||
9414 + test ! -s conftest.err
9415 + } && test -s conftest.$ac_objext; then
9416 ac_cv_have_decl_strverscmp=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.$ac_ext >&5
9421 -ac_cv_have_decl_strverscmp=no
9422 + ac_cv_have_decl_strverscmp=no
9424 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9426 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9428 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
9429 -echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6
9430 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strverscmp" >&5
9431 +echo "${ECHO_T}$ac_cv_have_decl_strverscmp" >&6; }
9432 if test $ac_cv_have_decl_strverscmp = yes; then
9434 cat >>confdefs.h <<_ACEOF
9435 @@ -8319,8 +8734,8 @@
9439 - echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
9440 -echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6
9441 + { echo "$as_me:$LINENO: checking whether canonicalize_file_name must be declared" >&5
9442 +echo $ECHO_N "checking whether canonicalize_file_name must be declared... $ECHO_C" >&6; }
9443 if test "${libiberty_cv_decl_needed_canonicalize_file_name+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 @@ -8355,39 +8770,35 @@
9449 rm -f conftest.$ac_objext
9450 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9451 - (eval $ac_compile) 2>conftest.er1
9452 +if { (ac_try="$ac_compile"
9453 +case "(($ac_try" in
9454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 + *) ac_try_echo=$ac_try;;
9457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 + (eval "$ac_compile") 2>conftest.er1
9460 grep -v '^ *+' conftest.er1 >conftest.err
9462 cat conftest.err >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 - (exit $ac_status); } &&
9465 - { ac_try='test -z "$ac_c_werror_flag"
9466 - || test ! -s conftest.err'
9467 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 - (eval $ac_try) 2>&5
9470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 - (exit $ac_status); }; } &&
9472 - { ac_try='test -s conftest.$ac_objext'
9473 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9474 - (eval $ac_try) 2>&5
9476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477 - (exit $ac_status); }; }; then
9478 + (exit $ac_status); } && {
9479 + test -z "$ac_c_werror_flag" ||
9480 + test ! -s conftest.err
9481 + } && test -s conftest.$ac_objext; then
9482 libiberty_cv_decl_needed_canonicalize_file_name=no
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 -libiberty_cv_decl_needed_canonicalize_file_name=yes
9488 + libiberty_cv_decl_needed_canonicalize_file_name=yes
9490 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9492 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9495 -echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
9496 -echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6
9497 +{ echo "$as_me:$LINENO: result: $libiberty_cv_decl_needed_canonicalize_file_name" >&5
9498 +echo "${ECHO_T}$libiberty_cv_decl_needed_canonicalize_file_name" >&6; }
9499 if test $libiberty_cv_decl_needed_canonicalize_file_name = yes; then
9501 cat >>confdefs.h <<\_ACEOF
9502 @@ -8418,9 +8829,9 @@
9503 for ac_header in stdlib.h unistd.h
9505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9506 -echo "$as_me:$LINENO: checking for $ac_header" >&5
9507 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9508 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
9509 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9510 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9511 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 cat >conftest.$ac_ext <<_ACEOF
9515 @@ -8431,24 +8842,22 @@
9516 /* end confdefs.h. */
9517 #include <$ac_header>
9519 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9520 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9521 +if { (ac_try="$ac_cpp conftest.$ac_ext"
9522 +case "(($ac_try" in
9523 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9524 + *) ac_try_echo=$ac_try;;
9526 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9527 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9529 grep -v '^ *+' conftest.er1 >conftest.err
9531 cat conftest.err >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 - (exit $ac_status); } >/dev/null; then
9534 - if test -s conftest.err; then
9535 - ac_cpp_err=$ac_c_preproc_warn_flag
9536 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9543 -if test -z "$ac_cpp_err"; then
9544 + (exit $ac_status); } >/dev/null && {
9545 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9546 + test ! -s conftest.err
9548 eval "$as_ac_Header=yes"
9550 echo "$as_me: failed program was:" >&5
9551 @@ -8456,10 +8865,12 @@
9553 eval "$as_ac_Header=no"
9556 rm -f conftest.err conftest.$ac_ext
9558 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9559 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9560 +ac_res=`eval echo '${'$as_ac_Header'}'`
9561 + { echo "$as_me:$LINENO: result: $ac_res" >&5
9562 +echo "${ECHO_T}$ac_res" >&6; }
9563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9564 cat >>confdefs.h <<_ACEOF
9565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9566 @@ -8472,9 +8883,9 @@
9567 for ac_func in getpagesize
9569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9570 -echo "$as_me:$LINENO: checking for $ac_func" >&5
9571 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9572 -if eval "test \"\${$as_ac_var+set}\" = set"; then
9573 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9574 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9575 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 if test x$gcc_no_link = xyes; then
9579 @@ -8528,39 +8939,37 @@
9582 rm -f conftest.$ac_objext conftest$ac_exeext
9583 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9584 - (eval $ac_link) 2>conftest.er1
9585 +if { (ac_try="$ac_link"
9586 +case "(($ac_try" in
9587 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9588 + *) ac_try_echo=$ac_try;;
9590 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9591 + (eval "$ac_link") 2>conftest.er1
9593 grep -v '^ *+' conftest.er1 >conftest.err
9595 cat conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 - (exit $ac_status); } &&
9598 - { ac_try='test -z "$ac_c_werror_flag"
9599 - || test ! -s conftest.err'
9600 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601 - (eval $ac_try) 2>&5
9603 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 - (exit $ac_status); }; } &&
9605 - { ac_try='test -s conftest$ac_exeext'
9606 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 - (eval $ac_try) 2>&5
9609 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 - (exit $ac_status); }; }; then
9611 + (exit $ac_status); } && {
9612 + test -z "$ac_c_werror_flag" ||
9613 + test ! -s conftest.err
9614 + } && test -s conftest$ac_exeext &&
9615 + $as_test_x conftest$ac_exeext; then
9616 eval "$as_ac_var=yes"
9618 echo "$as_me: failed program was:" >&5
9619 sed 's/^/| /' conftest.$ac_ext >&5
9621 -eval "$as_ac_var=no"
9622 + eval "$as_ac_var=no"
9624 -rm -f conftest.err conftest.$ac_objext \
9626 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9627 conftest$ac_exeext conftest.$ac_ext
9629 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9630 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9631 +ac_res=`eval echo '${'$as_ac_var'}'`
9632 + { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 +echo "${ECHO_T}$ac_res" >&6; }
9634 if test `eval echo '${'$as_ac_var'}'` = yes; then
9635 cat >>confdefs.h <<_ACEOF
9636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9637 @@ -8569,8 +8978,8 @@
9641 -echo "$as_me:$LINENO: checking for working mmap" >&5
9642 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9643 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
9644 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9645 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 @@ -8612,21 +9021,21 @@
9650 #include <sys/mman.h>
9652 -#if !STDC_HEADERS && !HAVE_STDLIB_H
9653 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
9657 /* This mess was copied from the GNU getpagesize.h. */
9658 -#if !HAVE_GETPAGESIZE
9659 +#ifndef HAVE_GETPAGESIZE
9660 /* Assume that all systems that can run configure have sys/param.h. */
9661 -# if !HAVE_SYS_PARAM_H
9662 +# ifndef HAVE_SYS_PARAM_H
9663 # define HAVE_SYS_PARAM_H 1
9666 # ifdef _SC_PAGESIZE
9667 # define getpagesize() sysconf(_SC_PAGESIZE)
9668 # else /* no _SC_PAGESIZE */
9669 -# if HAVE_SYS_PARAM_H
9670 +# ifdef HAVE_SYS_PARAM_H
9671 # include <sys/param.h>
9672 # ifdef EXEC_PAGESIZE
9673 # define getpagesize() EXEC_PAGESIZE
9674 @@ -8665,15 +9074,15 @@
9675 /* First, make a file with some known garbage in it. */
9676 data = (char *) malloc (pagesize);
9680 for (i = 0; i < pagesize; ++i)
9681 *(data + i) = rand ();
9683 fd = creat ("conftest.mmap", 0600);
9687 if (write (fd, data, pagesize) != pagesize)
9692 /* Next, try to mmap the file at a fixed address which already has
9693 @@ -8681,17 +9090,17 @@
9694 we see the same garbage. */
9695 fd = open ("conftest.mmap", O_RDWR);
9699 data2 = (char *) malloc (2 * pagesize);
9702 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9704 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9705 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9706 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9709 for (i = 0; i < pagesize; ++i)
9710 if (*(data + i) != *(data2 + i))
9714 /* Finally, make sure that changes to the mapped area do not
9715 percolate back to the file as seen by read(). (This is a bug on
9716 @@ -8700,24 +9109,33 @@
9717 *(data2 + i) = *(data2 + i) + 1;
9718 data3 = (char *) malloc (pagesize);
9722 if (read (fd, data3, pagesize) != pagesize)
9725 for (i = 0; i < pagesize; ++i)
9726 if (*(data + i) != *(data3 + i))
9734 rm -f conftest$ac_exeext
9735 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9736 - (eval $ac_link) 2>&5
9737 +if { (ac_try="$ac_link"
9738 +case "(($ac_try" in
9739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 + *) ac_try_echo=$ac_try;;
9742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 + (eval "$ac_link") 2>&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 - (eval $ac_try) 2>&5
9749 + { (case "(($ac_try" in
9750 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 + *) ac_try_echo=$ac_try;;
9753 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 + (eval "$ac_try") 2>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); }; }; then
9758 @@ -8730,11 +9148,13 @@
9760 ac_cv_func_mmap_fixed_mapped=no
9762 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9763 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9768 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9769 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9770 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9771 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9772 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9774 cat >>confdefs.h <<\_ACEOF
9775 @@ -8746,8 +9166,8 @@
9779 -echo "$as_me:$LINENO: checking for working strncmp" >&5
9780 -echo $ECHO_N "checking for working strncmp... $ECHO_C" >&6
9781 +{ echo "$as_me:$LINENO: checking for working strncmp" >&5
9782 +echo $ECHO_N "checking for working strncmp... $ECHO_C" >&6; }
9783 if test "${ac_cv_func_strncmp_works+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 @@ -8823,13 +9243,22 @@
9789 rm -f conftest$ac_exeext
9790 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9791 - (eval $ac_link) 2>&5
9792 +if { (ac_try="$ac_link"
9793 +case "(($ac_try" in
9794 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9795 + *) ac_try_echo=$ac_try;;
9797 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 + (eval "$ac_link") 2>&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9802 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 - (eval $ac_try) 2>&5
9804 + { (case "(($ac_try" in
9805 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9806 + *) ac_try_echo=$ac_try;;
9808 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9809 + (eval "$ac_try") 2>&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; }; then
9813 @@ -8842,19 +9271,19 @@
9815 ac_cv_func_strncmp_works=no
9817 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9818 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9822 rm -f core core.* *.core
9824 -echo "$as_me:$LINENO: result: $ac_cv_func_strncmp_works" >&5
9825 -echo "${ECHO_T}$ac_cv_func_strncmp_works" >&6
9826 +{ echo "$as_me:$LINENO: result: $ac_cv_func_strncmp_works" >&5
9827 +echo "${ECHO_T}$ac_cv_func_strncmp_works" >&6; }
9828 if test $ac_cv_func_strncmp_works = no ; then
9830 - "strncmp.$ac_objext" | \
9831 - *" strncmp.$ac_objext" | \
9832 - "strncmp.$ac_objext "* | \
9833 + case " $LIBOBJS " in
9834 *" strncmp.$ac_objext "* ) ;;
9835 - *) LIBOBJS="$LIBOBJS strncmp.$ac_objext" ;;
9836 + *) LIBOBJS="$LIBOBJS strncmp.$ac_objext"
9841 @@ -8884,9 +9313,9 @@
9844 # We need multilib support, but only if configuring for the target.
9845 - ac_config_files="$ac_config_files Makefile testsuite/Makefile"
9846 +ac_config_files="$ac_config_files Makefile testsuite/Makefile"
9848 - ac_config_commands="$ac_config_commands default"
9849 +ac_config_commands="$ac_config_commands default"
9851 cat >confcache <<\_ACEOF
9852 # This file is a shell script that caches the results of configure
9853 @@ -8906,39 +9335,58 @@
9855 # The following way of writing the cache mishandles newlines in values,
9856 # but we know of no workaround that is simple, portable, and efficient.
9857 -# So, don't put newlines in cache variables' values.
9858 +# So, we kill variables containing newlines.
9859 # Ultrix sh set writes to stderr and can't be redirected directly,
9860 # and sets the high bit in the cache file unless we assign to the vars.
9863 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9864 + eval ac_val=\$$ac_var
9865 + case $ac_val in #(
9867 + case $ac_var in #(
9868 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9869 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9871 + case $ac_var in #(
9872 + _ | IFS | as_nl) ;; #(
9873 + *) $as_unset $ac_var ;;
9879 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
9881 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
9882 + *${as_nl}ac_space=\ *)
9883 # `set' does not quote correctly, so add quotes (double-quote
9884 # substitution turns \\\\ into \\, and sed turns \\ into \).
9887 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9891 # `set' quotes correctly as required by POSIX, so do not add quotes.
9893 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9894 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9902 + /^ac_cv_env_/b end
9906 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9908 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9909 - : end' >>confcache
9910 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
9911 - if test -w $cache_file; then
9912 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9913 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9915 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9916 + if test -w "$cache_file"; then
9917 + test "x$cache_file" != "x/dev/null" &&
9918 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9919 +echo "$as_me: updating cache $cache_file" >&6;}
9920 cat confcache >$cache_file
9922 - echo "not updating unwritable cache $cache_file"
9923 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9924 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9928 @@ -8947,32 +9395,18 @@
9929 # Let make expand exec_prefix.
9930 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9932 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
9933 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9934 -# trailing colons and then remove the whole line if VPATH becomes empty
9935 -# (actually we leave an empty line to preserve line numbers).
9936 -if test "x$srcdir" = x.; then
9937 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
9938 -s/:*\$(srcdir):*/:/;
9939 -s/:*\${srcdir}:*/:/;
9941 -s/^\([^=]*=[ ]*\):*/\1/;
9947 DEFS=-DHAVE_CONFIG_H
9951 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9952 # 1. Remove the extension, and $U if already installed.
9953 - ac_i=`echo "$ac_i" |
9954 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9956 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9957 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9958 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9959 + ac_i=`echo "$ac_i" | sed "$ac_script"`
9960 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9961 + # will be set to the directory where LIBOBJS objects are built.
9962 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9963 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9967 @@ -9003,17 +9437,45 @@
9968 ## M4sh Initialization. ##
9969 ## --------------------- ##
9971 -# Be Bourne compatible
9972 +# Be more Bourne compatible
9973 +DUALCASE=1; export DUALCASE # for MKS sh
9974 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9977 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9978 # is contrary to our usage. Disable this feature.
9979 alias -g '${1+"$@"}'='"$@"'
9980 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9982 + setopt NO_GLOB_SUBST
9984 + case `(set -o) 2>/dev/null` in
9985 + *posix*) set -o posix ;;
9994 +# Avoid depending upon Character Ranges.
9995 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9996 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9997 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9998 +as_cr_digits='0123456789'
9999 +as_cr_alnum=$as_cr_Letters$as_cr_digits
10001 +# The user is always right.
10002 +if test "${PATH_SEPARATOR+set}" != set; then
10003 + echo "#! /bin/sh" >conf$$.sh
10004 + echo "exit 0" >>conf$$.sh
10005 + chmod +x conf$$.sh
10006 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10007 + PATH_SEPARATOR=';'
10013 -DUALCASE=1; export DUALCASE # for MKS sh
10015 # Support unset when possible.
10016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10017 @@ -9023,8 +9485,43 @@
10022 +# We need space, tab and new line, in precisely that order. Quoting is
10023 +# there to prevent editors from complaining about space-tab.
10024 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10025 +# splitting by setting IFS to empty value.)
10030 +# Find who we are. Look in the path if we contain no directory separator.
10032 + *[\\/]* ) as_myself=$0 ;;
10033 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 +for as_dir in $PATH
10037 + test -z "$as_dir" && as_dir=.
10038 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10044 +# We did not find ourselves, most probably we were run as `sh COMMAND'
10045 +# in which case we are not to be found in the path.
10046 +if test "x$as_myself" = x; then
10049 +if test ! -f "$as_myself"; then
10050 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10051 + { (exit 1); exit 1; }
10054 # Work around bugs in pre-3.0 UWIN ksh.
10055 -$as_unset ENV MAIL MAILPATH
10056 +for as_var in ENV MAIL MAILPATH
10057 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10062 @@ -9038,18 +9535,19 @@
10063 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10064 eval $as_var=C; export $as_var
10066 - $as_unset $as_var
10067 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10071 # Required to use basename.
10072 -if expr a : '\(a\)' >/dev/null 2>&1; then
10073 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10074 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10080 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10081 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10082 as_basename=basename
10085 @@ -9057,159 +9555,120 @@
10088 # Name of the executable.
10089 -as_me=`$as_basename "$0" ||
10090 +as_me=`$as_basename -- "$0" ||
10091 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10092 X"$0" : 'X\(//\)$' \| \
10093 - X"$0" : 'X\(/\)$' \| \
10094 - . : '\(.\)' 2>/dev/null ||
10095 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10097 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10098 - /^X\/\(\/\/\)$/{ s//\1/; q; }
10099 - /^X\/\(\/\).*/{ s//\1/; q; }
10103 -# PATH needs CR, and LINENO needs CR and PATH.
10104 -# Avoid depending upon Character Ranges.
10105 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10106 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10107 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10108 -as_cr_digits='0123456789'
10109 -as_cr_alnum=$as_cr_Letters$as_cr_digits
10110 + sed '/^.*\/\([^/][^/]*\)\/*$/{
10124 -# The user is always right.
10125 -if test "${PATH_SEPARATOR+set}" != set; then
10126 - echo "#! /bin/sh" >conf$$.sh
10127 - echo "exit 0" >>conf$$.sh
10128 - chmod +x conf$$.sh
10129 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10130 - PATH_SEPARATOR=';'
10140 - as_lineno_1=$LINENO
10141 - as_lineno_2=$LINENO
10142 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10143 - test "x$as_lineno_1" != "x$as_lineno_2" &&
10144 - test "x$as_lineno_3" = "x$as_lineno_2" || {
10145 - # Find who we are. Look in the path if we contain no path at all
10146 - # relative or not.
10148 - *[\\/]* ) as_myself=$0 ;;
10149 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10150 -for as_dir in $PATH
10153 - test -z "$as_dir" && as_dir=.
10154 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10159 - # We did not find ourselves, most probably we were run as `sh COMMAND'
10160 - # in which case we are not to be found in the path.
10161 - if test "x$as_myself" = x; then
10164 - if test ! -f "$as_myself"; then
10165 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10166 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10167 - { (exit 1); exit 1; }; }
10169 - case $CONFIG_SHELL in
10171 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10172 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10175 - test -z "$as_dir" && as_dir=.
10176 - for as_base in sh bash ksh sh5; do
10179 - if ("$as_dir/$as_base" -c '
10180 as_lineno_1=$LINENO
10181 as_lineno_2=$LINENO
10182 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10183 test "x$as_lineno_1" != "x$as_lineno_2" &&
10184 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10185 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10186 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10187 - CONFIG_SHELL=$as_dir/$as_base
10188 - export CONFIG_SHELL
10189 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10196 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10198 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10199 # uniformly replaced by the line number. The first 'sed' inserts a
10200 - # line-number line before each line; the second 'sed' does the real
10201 - # work. The second script uses 'N' to pair each line-number line
10202 - # with the numbered line, and appends trailing '-' during
10203 - # substitution so that $LINENO is not a special case at line end.
10204 + # line-number line after each line using $LINENO; the second 'sed'
10205 + # does the real work. The second script uses 'N' to pair each
10206 + # line-number line with the line containing $LINENO, and appends
10207 + # trailing '-' during substitution so that $LINENO is not a special
10208 + # case at line end.
10209 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10210 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10211 - sed '=' <$as_myself |
10212 + # scripts with optimization help from Paolo Bonzini. Blame Lee
10213 + # E. McMahon (1931-1989) for sed's syntax. :-)
10219 + s/[$]LINENO.*/&-/
10226 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10228 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10231 - s,^['$as_cr_digits']*\n,,
10233 ' >$as_me.lineno &&
10234 - chmod +x $as_me.lineno ||
10235 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10236 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10237 + chmod +x "$as_me.lineno" ||
10238 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10239 { (exit 1); exit 1; }; }
10241 # Don't try to exec as it changes $[0], causing all sort of problems
10242 # (the dirname of $[0] is not the place where we might find the
10243 - # original and so on. Autoconf is especially sensible to this).
10244 - . ./$as_me.lineno
10245 + # original and so on. Autoconf is especially sensitive to this).
10246 + . "./$as_me.lineno"
10247 # Exit status is that of the last command.
10252 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10253 - *c*,-n*) ECHO_N= ECHO_C='
10255 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10256 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10257 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10258 + as_dirname=dirname
10263 +ECHO_C= ECHO_N= ECHO_T=
10264 +case `echo -n x` in
10266 + case `echo 'x\c'` in
10267 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10274 -if expr a : '\(a\)' >/dev/null 2>&1; then
10275 +if expr a : '\(a\)' >/dev/null 2>&1 &&
10276 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
10282 rm -f conf$$ conf$$.exe conf$$.file
10283 +if test -d conf$$.dir; then
10284 + rm -f conf$$.dir/conf$$.file
10290 if ln -s conf$$.file conf$$ 2>/dev/null; then
10291 - # We could just check for DJGPP; but this test a) works b) is more generic
10292 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10293 - if test -f conf$$.exe; then
10294 - # Don't use ln at all; we don't have any links
10296 + # ... but there are two gotchas:
10297 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10298 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10299 + # In both cases, we have to default to `cp -p'.
10300 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10305 elif ln conf$$.file conf$$ 2>/dev/null; then
10310 -rm -f conf$$ conf$$.exe conf$$.file
10311 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10312 +rmdir conf$$.dir 2>/dev/null
10314 if mkdir -p . 2>/dev/null; then
10316 @@ -9218,7 +9677,28 @@
10320 -as_executable_p="test -f"
10321 +if test -x / >/dev/null 2>&1; then
10322 + as_test_x='test -x'
10324 + if ls -dL / >/dev/null 2>&1; then
10331 + if test -d "$1"; then
10337 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10338 + ???[sx]*):;;*)false;;esac;fi
10342 +as_executable_p=$as_test_x
10344 # Sed expression to map a string onto a valid CPP name.
10345 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10346 @@ -9227,31 +9707,14 @@
10347 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10351 -# We need space, tab and new line, in precisely that order.
10361 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
10362 +# Save the log message, to keep $[0] and so on meaningful, and to
10363 # report actual input values of CONFIG_FILES etc. instead of their
10364 -# values after options handling. Logging --version etc. is OK.
10365 -exec 5>>config.log
10368 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10369 -## Running $as_me. ##
10374 +# values after options handling.
10376 This file was extended by $as_me, which was
10377 -generated by GNU Autoconf 2.59. Invocation command line was
10378 +generated by GNU Autoconf 2.61. Invocation command line was
10380 CONFIG_FILES = $CONFIG_FILES
10381 CONFIG_HEADERS = $CONFIG_HEADERS
10382 @@ -9259,30 +9722,20 @@
10383 CONFIG_COMMANDS = $CONFIG_COMMANDS
10387 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10389 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
10394 +cat >>$CONFIG_STATUS <<_ACEOF
10395 # Files that config.status was made for.
10396 -if test -n "$ac_config_files"; then
10397 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10399 +config_files="$ac_config_files"
10400 +config_headers="$ac_config_headers"
10401 +config_commands="$ac_config_commands"
10403 -if test -n "$ac_config_headers"; then
10404 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10407 -if test -n "$ac_config_links"; then
10408 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10411 -if test -n "$ac_config_commands"; then
10412 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10416 cat >>$CONFIG_STATUS <<\_ACEOF
10419 \`$as_me' instantiates files from templates according to the
10420 current configuration.
10421 @@ -9290,7 +9743,7 @@
10422 Usage: $0 [OPTIONS] [FILE]...
10424 -h, --help print this help, then exit
10425 - -V, --version print version number, then exit
10426 + -V, --version print version number and configuration settings, then exit
10427 -q, --quiet do not print progress messages
10428 -d, --debug don't remove temporary files
10429 --recheck update $as_me by reconfiguring in the same conditions
10430 @@ -9309,19 +9762,21 @@
10433 Report bugs to <bug-autoconf@gnu.org>."
10437 cat >>$CONFIG_STATUS <<_ACEOF
10440 -configured by $0, generated by GNU Autoconf 2.59,
10441 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10442 +configured by $0, generated by GNU Autoconf 2.61,
10443 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10445 -Copyright (C) 2003 Free Software Foundation, Inc.
10446 +Copyright (C) 2006 Free Software Foundation, Inc.
10447 This config.status script is free software; the Free Software Foundation
10448 gives unlimited permission to copy, distribute and modify it."
10450 -INSTALL="$INSTALL"
10454 +INSTALL='$INSTALL'
10457 cat >>$CONFIG_STATUS <<\_ACEOF
10458 @@ -9332,39 +9787,24 @@
10462 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
10463 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10464 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
10465 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10474 - *) # This is not an option, so the user has probably given explicit
10477 - ac_need_defaults=false;;
10481 # Handling of the options.
10483 -cat >>$CONFIG_STATUS <<\_ACEOF
10484 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10486 - --version | --vers* | -V )
10487 - echo "$ac_cs_version"; exit 0 ;;
10489 - # Conflict between --help and --header
10490 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
10491 -Try \`$0 --help' for more information." >&5
10492 -echo "$as_me: error: ambiguous option: $1
10493 -Try \`$0 --help' for more information." >&2;}
10494 - { (exit 1); exit 1; }; };;
10495 - --help | --hel | -h )
10496 - echo "$ac_cs_usage"; exit 0 ;;
10497 - --debug | --d* | -d )
10498 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10499 + echo "$ac_cs_version"; exit ;;
10500 + --debug | --debu | --deb | --de | --d | -d )
10502 --file | --fil | --fi | --f )
10504 @@ -9374,18 +9814,24 @@
10506 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10507 ac_need_defaults=false;;
10509 + # Conflict between --help and --header
10510 + { echo "$as_me: error: ambiguous option: $1
10511 +Try \`$0 --help' for more information." >&2
10512 + { (exit 1); exit 1; }; };;
10513 + --help | --hel | -h )
10514 + echo "$ac_cs_usage"; exit ;;
10515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10516 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10519 # This is an error.
10520 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10521 -Try \`$0 --help' for more information." >&5
10522 -echo "$as_me: error: unrecognized option: $1
10523 -Try \`$0 --help' for more information." >&2;}
10524 + -*) { echo "$as_me: error: unrecognized option: $1
10525 +Try \`$0 --help' for more information." >&2
10526 { (exit 1); exit 1; }; } ;;
10528 - *) ac_config_targets="$ac_config_targets $1" ;;
10529 + *) ac_config_targets="$ac_config_targets $1"
10530 + ac_need_defaults=false ;;
10534 @@ -9401,17 +9847,28 @@
10536 cat >>$CONFIG_STATUS <<_ACEOF
10537 if \$ac_cs_recheck; then
10538 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10539 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10540 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10541 + CONFIG_SHELL=$SHELL
10542 + export CONFIG_SHELL
10543 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10547 +cat >>$CONFIG_STATUS <<\_ACEOF
10548 +exec 5>>config.log
10551 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10552 +## Running $as_me. ##
10558 cat >>$CONFIG_STATUS <<_ACEOF
10560 -# INIT-COMMANDS section.
10567 @@ -9425,23 +9882,24 @@
10573 cat >>$CONFIG_STATUS <<\_ACEOF
10575 +# Handling of arguments.
10576 for ac_config_target in $ac_config_targets
10578 - case "$ac_config_target" in
10579 - # Handling of arguments.
10580 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10581 - "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
10582 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10583 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
10584 + case $ac_config_target in
10585 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
10586 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10587 + "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
10588 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
10590 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10591 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10592 { (exit 1); exit 1; }; };;
10597 # If the user did not use the arguments to specify the items to instantiate,
10598 # then the envvar interface is used. Set only those that are not.
10599 # We use the long form for the default assignment because of an extremely
10600 @@ -9453,329 +9911,399 @@
10603 # Have a temporary directory for convenience. Make it in the build tree
10604 -# simply because there is no reason to put it here, and in addition,
10605 +# simply because there is no reason against having it here, and in addition,
10606 # creating and moving files from /tmp can sometimes cause problems.
10607 -# Create a temporary directory, and hook for its removal unless debugging.
10608 +# Hook for its removal unless debugging.
10609 +# Note that there is a small window in which the directory will not be cleaned:
10610 +# after its creation but before its name has been assigned to `$tmp'.
10613 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10615 + trap 'exit_status=$?
10616 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10618 trap '{ (exit 1); exit 1; }' 1 2 13 15
10621 # Create a (secure) tmp directory for tmp files.
10624 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10625 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10626 test -n "$tmp" && test -d "$tmp"
10629 - tmp=./confstat$$-$RANDOM
10630 - (umask 077 && mkdir $tmp)
10631 + tmp=./conf$$-$RANDOM
10632 + (umask 077 && mkdir "$tmp")
10635 echo "$me: cannot create a temporary directory in ." >&2
10636 { (exit 1); exit 1; }
10641 -cat >>$CONFIG_STATUS <<_ACEOF
10644 -# CONFIG_FILES section.
10645 +# Set up the sed scripts for CONFIG_FILES section.
10648 # No need to generate the scripts if there are no CONFIG_FILES.
10649 # This happens for instance when ./config.status config.h
10650 -if test -n "\$CONFIG_FILES"; then
10651 - # Protect against being on the right side of a sed subst in config.status.
10652 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10653 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10654 -s,@SHELL@,$SHELL,;t t
10655 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10656 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10657 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10658 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10659 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10660 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10661 -s,@exec_prefix@,$exec_prefix,;t t
10662 -s,@prefix@,$prefix,;t t
10663 -s,@program_transform_name@,$program_transform_name,;t t
10664 -s,@bindir@,$bindir,;t t
10665 -s,@sbindir@,$sbindir,;t t
10666 -s,@libexecdir@,$libexecdir,;t t
10667 -s,@datadir@,$datadir,;t t
10668 -s,@sysconfdir@,$sysconfdir,;t t
10669 -s,@sharedstatedir@,$sharedstatedir,;t t
10670 -s,@localstatedir@,$localstatedir,;t t
10671 -s,@libdir@,$libdir,;t t
10672 -s,@includedir@,$includedir,;t t
10673 -s,@oldincludedir@,$oldincludedir,;t t
10674 -s,@infodir@,$infodir,;t t
10675 -s,@mandir@,$mandir,;t t
10676 -s,@build_alias@,$build_alias,;t t
10677 -s,@host_alias@,$host_alias,;t t
10678 -s,@target_alias@,$target_alias,;t t
10679 -s,@DEFS@,$DEFS,;t t
10680 -s,@ECHO_C@,$ECHO_C,;t t
10681 -s,@ECHO_N@,$ECHO_N,;t t
10682 -s,@ECHO_T@,$ECHO_T,;t t
10683 -s,@LIBS@,$LIBS,;t t
10684 -s,@libiberty_topdir@,$libiberty_topdir,;t t
10685 -s,@MAINT@,$MAINT,;t t
10686 -s,@NOTMAINT@,$NOTMAINT,;t t
10687 -s,@MAKEINFO@,$MAKEINFO,;t t
10688 -s,@BUILD_INFO@,$BUILD_INFO,;t t
10689 -s,@PERL@,$PERL,;t t
10690 -s,@HAVE_PERL@,$HAVE_PERL,;t t
10691 -s,@build@,$build,;t t
10692 -s,@build_cpu@,$build_cpu,;t t
10693 -s,@build_vendor@,$build_vendor,;t t
10694 -s,@build_os@,$build_os,;t t
10695 -s,@host@,$host,;t t
10696 -s,@host_cpu@,$host_cpu,;t t
10697 -s,@host_vendor@,$host_vendor,;t t
10698 -s,@host_os@,$host_os,;t t
10700 -s,@ac_ct_AR@,$ac_ct_AR,;t t
10701 -s,@RANLIB@,$RANLIB,;t t
10702 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10704 -s,@CFLAGS@,$CFLAGS,;t t
10705 -s,@LDFLAGS@,$LDFLAGS,;t t
10706 -s,@CPPFLAGS@,$CPPFLAGS,;t t
10707 -s,@ac_ct_CC@,$ac_ct_CC,;t t
10708 -s,@EXEEXT@,$EXEEXT,;t t
10709 -s,@OBJEXT@,$OBJEXT,;t t
10711 -s,@ac_libiberty_warn_cflags@,$ac_libiberty_warn_cflags,;t t
10712 -s,@NO_MINUS_C_MINUS_O@,$NO_MINUS_C_MINUS_O,;t t
10713 -s,@OUTPUT_OPTION@,$OUTPUT_OPTION,;t t
10714 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10715 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10716 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10717 -s,@EGREP@,$EGREP,;t t
10718 -s,@LIBOBJS@,$LIBOBJS,;t t
10719 -s,@CHECK@,$CHECK,;t t
10720 -s,@target_header_dir@,$target_header_dir,;t t
10721 -s,@pexecute@,$pexecute,;t t
10722 -s,@INSTALL_DEST@,$INSTALL_DEST,;t t
10723 -s,@datarootdir@,$datarootdir,;t t
10724 -s,@docdir@,$docdir,;t t
10725 -s,@htmldir@,$htmldir,;t t
10726 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10727 -/@host_makefile_frag@/r $host_makefile_frag
10728 -s,@host_makefile_frag@,,;t t
10733 - cat >>$CONFIG_STATUS <<\_ACEOF
10734 - # Split the substitutions into bite-sized pieces for seds with
10735 - # small command number limits, like on Digital OSF/1 and HP-UX.
10736 - ac_max_sed_lines=48
10737 - ac_sed_frag=1 # Number of current file.
10738 - ac_beg=1 # First line for current file.
10739 - ac_end=$ac_max_sed_lines # Line after last line for current file.
10742 - while $ac_more_lines; do
10743 - if test $ac_beg -gt 1; then
10744 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10746 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10748 - if test ! -s $tmp/subs.frag; then
10749 - ac_more_lines=false
10751 - # The purpose of the label and of the branching condition is to
10752 - # speed up the sed processing (if there are no `@' at all, there
10753 - # is no need to browse any of the substitutions).
10754 - # These are the two extra sed commands mentioned above.
10756 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10757 - if test -z "$ac_sed_cmds"; then
10758 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10760 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10762 - ac_sed_frag=`expr $ac_sed_frag + 1`
10764 - ac_end=`expr $ac_end + $ac_max_sed_lines`
10767 - if test -z "$ac_sed_cmds"; then
10769 +if test -n "$CONFIG_FILES"; then
10773 +# Create sed commands to just substitute file output variables.
10775 +# Remaining file output variables are in a fragment that also has non-file
10776 +# output varibles.
10781 +for ac_last_try in false false false false false :; do
10782 + cat >conf$$subs.sed <<_ACEOF
10783 +SHELL!$SHELL$ac_delim
10784 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10785 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10786 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10787 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10788 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10789 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10790 +exec_prefix!$exec_prefix$ac_delim
10791 +prefix!$prefix$ac_delim
10792 +program_transform_name!$program_transform_name$ac_delim
10793 +bindir!$bindir$ac_delim
10794 +sbindir!$sbindir$ac_delim
10795 +libexecdir!$libexecdir$ac_delim
10796 +datarootdir!$datarootdir$ac_delim
10797 +datadir!$datadir$ac_delim
10798 +sysconfdir!$sysconfdir$ac_delim
10799 +sharedstatedir!$sharedstatedir$ac_delim
10800 +localstatedir!$localstatedir$ac_delim
10801 +includedir!$includedir$ac_delim
10802 +oldincludedir!$oldincludedir$ac_delim
10803 +docdir!$docdir$ac_delim
10804 +infodir!$infodir$ac_delim
10805 +htmldir!$htmldir$ac_delim
10806 +dvidir!$dvidir$ac_delim
10807 +pdfdir!$pdfdir$ac_delim
10808 +psdir!$psdir$ac_delim
10809 +libdir!$libdir$ac_delim
10810 +localedir!$localedir$ac_delim
10811 +mandir!$mandir$ac_delim
10812 +DEFS!$DEFS$ac_delim
10813 +ECHO_C!$ECHO_C$ac_delim
10814 +ECHO_N!$ECHO_N$ac_delim
10815 +ECHO_T!$ECHO_T$ac_delim
10816 +LIBS!$LIBS$ac_delim
10817 +build_alias!$build_alias$ac_delim
10818 +host_alias!$host_alias$ac_delim
10819 +target_alias!$target_alias$ac_delim
10820 +libiberty_topdir!$libiberty_topdir$ac_delim
10821 +MAINT!$MAINT$ac_delim
10822 +NOTMAINT!$NOTMAINT$ac_delim
10823 +MAKEINFO!$MAKEINFO$ac_delim
10824 +BUILD_INFO!$BUILD_INFO$ac_delim
10825 +PERL!$PERL$ac_delim
10826 +HAVE_PERL!$HAVE_PERL$ac_delim
10827 +build!$build$ac_delim
10828 +build_cpu!$build_cpu$ac_delim
10829 +build_vendor!$build_vendor$ac_delim
10830 +build_os!$build_os$ac_delim
10831 +host!$host$ac_delim
10832 +host_cpu!$host_cpu$ac_delim
10833 +host_vendor!$host_vendor$ac_delim
10834 +host_os!$host_os$ac_delim
10836 +RANLIB!$RANLIB$ac_delim
10838 +CFLAGS!$CFLAGS$ac_delim
10839 +LDFLAGS!$LDFLAGS$ac_delim
10840 +CPPFLAGS!$CPPFLAGS$ac_delim
10841 +ac_ct_CC!$ac_ct_CC$ac_delim
10842 +EXEEXT!$EXEEXT$ac_delim
10843 +OBJEXT!$OBJEXT$ac_delim
10845 +ac_libiberty_warn_cflags!$ac_libiberty_warn_cflags$ac_delim
10846 +NO_MINUS_C_MINUS_O!$NO_MINUS_C_MINUS_O$ac_delim
10847 +OUTPUT_OPTION!$OUTPUT_OPTION$ac_delim
10848 +GREP!$GREP$ac_delim
10849 +EGREP!$EGREP$ac_delim
10850 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10851 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10852 +INSTALL_DATA!$INSTALL_DATA$ac_delim
10853 +LIBOBJS!$LIBOBJS$ac_delim
10854 +CHECK!$CHECK$ac_delim
10855 +target_header_dir!$target_header_dir$ac_delim
10856 +pexecute!$pexecute$ac_delim
10857 +INSTALL_DEST!$INSTALL_DEST$ac_delim
10858 +LTLIBOBJS!$LTLIBOBJS$ac_delim
10861 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
10863 + elif $ac_last_try; then
10864 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10865 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10866 + { (exit 1); exit 1; }; }
10868 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10870 -fi # test -n "$CONFIG_FILES"
10873 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10874 +if test -n "$ac_eof"; then
10875 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
10876 + ac_eof=`expr $ac_eof + 1`
10879 +cat >>$CONFIG_STATUS <<_ACEOF
10880 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10881 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10882 +/^[ ]*@host_makefile_frag@[ ]*$/{
10883 +r $host_makefile_frag
10888 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10889 +s/^/s,@/; s/!/@,|#_!!_#|/
10892 +s/'"$ac_delim"'$/,g/; t
10894 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10895 +' >>$CONFIG_STATUS <conf$$subs.sed
10896 +rm -f conf$$subs.sed
10897 +cat >>$CONFIG_STATUS <<_ACEOF
10904 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
10905 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10906 +# trailing colons and then remove the whole line if VPATH becomes empty
10907 +# (actually we leave an empty line to preserve line numbers).
10908 +if test "x$srcdir" = x.; then
10909 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
10910 +s/:*\$(srcdir):*/:/
10911 +s/:*\${srcdir}:*/:/
10913 +s/^\([^=]*=[ ]*\):*/\1/
10919 cat >>$CONFIG_STATUS <<\_ACEOF
10920 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10921 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10923 - - | *:- | *:-:* ) # input from stdin
10925 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10926 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10927 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10928 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10929 - * ) ac_file_in=$ac_file.in ;;
10930 +fi # test -n "$CONFIG_FILES"
10933 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
10936 + :[FHLC]) ac_mode=$ac_tag; continue;;
10938 + case $ac_mode$ac_tag in
10940 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10941 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10942 + { (exit 1); exit 1; }; };;
10943 + :[FH]-) ac_tag=-:-;;
10944 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10955 + :L) ac_source=$1;;
10961 + -) ac_f="$tmp/stdin";;
10962 + *) # Look for the file first in the build tree, then in the source tree
10963 + # (if the path is not absolute). The absolute path cannot be DOS-style,
10964 + # because $ac_f cannot contain `:'.
10965 + test -f "$ac_f" ||
10968 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10970 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10971 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10972 + { (exit 1); exit 1; }; };;
10974 + ac_file_inputs="$ac_file_inputs $ac_f"
10977 + # Let's still pretend it is `configure' which instantiates (i.e., don't
10978 + # use $as_me), people would be surprised to read:
10979 + # /* config.h. Generated by config.status. */
10980 + configure_input="Generated from "`IFS=:
10981 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10982 + if test x"$ac_file" != x-; then
10983 + configure_input="$ac_file. $configure_input"
10984 + { echo "$as_me:$LINENO: creating $ac_file" >&5
10985 +echo "$as_me: creating $ac_file" >&6;}
10989 + *:-:* | *:-) cat >"$tmp/stdin";;
10994 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10995 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10996 + ac_dir=`$as_dirname -- "$ac_file" ||
10997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10998 X"$ac_file" : 'X\(//\)[^/]' \| \
10999 X"$ac_file" : 'X\(//\)$' \| \
11000 - X"$ac_file" : 'X\(/\)' \| \
11001 - . : '\(.\)' 2>/dev/null ||
11002 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11004 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11005 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11006 - /^X\(\/\/\)$/{ s//\1/; q; }
11007 - /^X\(\/\).*/{ s//\1/; q; }
11009 - { if $as_mkdir_p; then
11010 - mkdir -p "$ac_dir"
11013 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11017 + /^X\(\/\/\)[^/].*/{
11030 + { as_dir="$ac_dir"
11031 + case $as_dir in #(
11032 + -*) as_dir=./$as_dir;;
11034 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11036 - while test ! -d "$as_dir"; do
11037 - as_dirs="$as_dir $as_dirs"
11038 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
11040 + case $as_dir in #(
11041 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11042 + *) as_qdir=$as_dir;;
11044 + as_dirs="'$as_qdir' $as_dirs"
11045 + as_dir=`$as_dirname -- "$as_dir" ||
11046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11047 X"$as_dir" : 'X\(//\)[^/]' \| \
11048 X"$as_dir" : 'X\(//\)$' \| \
11049 - X"$as_dir" : 'X\(/\)' \| \
11050 - . : '\(.\)' 2>/dev/null ||
11051 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11053 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11054 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11055 - /^X\(\/\/\)$/{ s//\1/; q; }
11056 - /^X\(\/\).*/{ s//\1/; q; }
11058 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11062 + /^X\(\/\/\)[^/].*/{
11075 + test -d "$as_dir" && break
11077 - test ! -n "$as_dirs" || mkdir $as_dirs
11078 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11079 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11080 + test -z "$as_dirs" || eval "mkdir $as_dirs"
11081 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11082 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
11083 { (exit 1); exit 1; }; }; }
11087 -if test "$ac_dir" != .; then
11089 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11092 - # A "../" for each directory in $ac_dir_suffix.
11093 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11095 - ac_dir_suffix= ac_top_builddir=
11097 + # A ".." for each directory in $ac_dir_suffix.
11098 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11099 + case $ac_top_builddir_sub in
11100 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11101 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11104 +ac_abs_top_builddir=$ac_pwd
11105 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
11106 +# for backward compatibility:
11107 +ac_top_builddir=$ac_top_build_prefix
11110 - .) # No --srcdir option. We are building in place.
11111 + .) # We are building in place.
11113 - if test -z "$ac_top_builddir"; then
11116 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11118 - [\\/]* | ?:[\\/]* ) # Absolute path.
11119 + ac_top_srcdir=$ac_top_builddir_sub
11120 + ac_abs_top_srcdir=$ac_pwd ;;
11121 + [\\/]* | ?:[\\/]* ) # Absolute name.
11122 ac_srcdir=$srcdir$ac_dir_suffix;
11123 - ac_top_srcdir=$srcdir ;;
11124 - *) # Relative path.
11125 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11126 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
11128 + ac_top_srcdir=$srcdir
11129 + ac_abs_top_srcdir=$srcdir ;;
11130 + *) # Relative name.
11131 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11132 + ac_top_srcdir=$ac_top_build_prefix$srcdir
11133 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11135 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11137 -# Do not use `cd foo && pwd` to compute absolute paths, because
11138 -# the directories may not exist.
11140 -.) ac_abs_builddir="$ac_dir";;
11142 - case "$ac_dir" in
11143 - .) ac_abs_builddir=`pwd`;;
11144 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11145 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
11148 -case $ac_abs_builddir in
11149 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11151 - case ${ac_top_builddir}. in
11152 - .) ac_abs_top_builddir=$ac_abs_builddir;;
11153 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11154 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11157 -case $ac_abs_builddir in
11158 -.) ac_abs_srcdir=$ac_srcdir;;
11160 - case $ac_srcdir in
11161 - .) ac_abs_srcdir=$ac_abs_builddir;;
11162 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11163 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11166 -case $ac_abs_builddir in
11167 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11169 - case $ac_top_srcdir in
11170 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
11171 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11172 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11183 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11184 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11185 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11189 - if test x"$ac_file" != x-; then
11190 - { echo "$as_me:$LINENO: creating $ac_file" >&5
11191 -echo "$as_me: creating $ac_file" >&6;}
11194 - # Let's still pretend it is `configure' which instantiates (i.e., don't
11195 - # use $as_me), people would be surprised to read:
11196 - # /* config.h. Generated by config.status. */
11197 - if test x"$ac_file" = x-; then
11200 - configure_input="$ac_file. "
11202 - configure_input=$configure_input"Generated from `echo $ac_file_in |
11203 - sed 's,.*/,,'` by configure."
11205 - # First look for the input files in the build tree, otherwise in the
11207 - ac_file_inputs=`IFS=:
11208 - for f in $ac_file_in; do
11210 - -) echo $tmp/stdin ;;
11212 - # Absolute (can't be DOS-style, as IFS=:)
11213 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11214 -echo "$as_me: error: cannot find input file: $f" >&2;}
11215 - { (exit 1); exit 1; }; }
11218 - if test -f "$f"; then
11221 - elif test -f "$srcdir/$f"; then
11223 - echo "$srcdir/$f"
11226 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11227 -echo "$as_me: error: cannot find input file: $f" >&2;}
11228 - { (exit 1); exit 1; }; }
11231 - done` || { (exit 1); exit 1; }
11232 +cat >>$CONFIG_STATUS <<\_ACEOF
11233 +# If the template does not know about datarootdir, expand it.
11234 +# FIXME: This hack should be removed a few years after 2.60.
11235 +ac_datarootdir_hack=; ac_datarootdir_seen=
11237 +case `sed -n '/datarootdir/ {
11246 +' $ac_file_inputs` in
11247 +*datarootdir*) ac_datarootdir_seen=yes;;
11248 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11249 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11250 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11252 +cat >>$CONFIG_STATUS <<_ACEOF
11253 + ac_datarootdir_hack='
11254 + s&@datadir@&$datadir&g
11255 + s&@docdir@&$docdir&g
11256 + s&@infodir@&$infodir&g
11257 + s&@localedir@&$localedir&g
11258 + s&@mandir@&$mandir&g
11259 + s&\\\${datarootdir}&$datarootdir&g' ;;
11263 +# Neutralize VPATH when `$srcdir' = `.'.
11264 +# Shell code in configure.ac might set extrasub.
11265 +# FIXME: do we really want to maintain this feature?
11266 cat >>$CONFIG_STATUS <<_ACEOF
11269 @@ -9783,365 +10311,140 @@
11270 cat >>$CONFIG_STATUS <<\_ACEOF
11272 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11273 -s,@configure_input@,$configure_input,;t t
11274 -s,@srcdir@,$ac_srcdir,;t t
11275 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
11276 -s,@top_srcdir@,$ac_top_srcdir,;t t
11277 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11278 -s,@builddir@,$ac_builddir,;t t
11279 -s,@abs_builddir@,$ac_abs_builddir,;t t
11280 -s,@top_builddir@,$ac_top_builddir,;t t
11281 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11282 -s,@INSTALL@,$ac_INSTALL,;t t
11283 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11285 - if test x"$ac_file" != x-; then
11286 - mv $tmp/out $ac_file
11294 -cat >>$CONFIG_STATUS <<\_ACEOF
11295 +s&@configure_input@&$configure_input&;t t
11296 +s&@top_builddir@&$ac_top_builddir_sub&;t t
11297 +s&@srcdir@&$ac_srcdir&;t t
11298 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
11299 +s&@top_srcdir@&$ac_top_srcdir&;t t
11300 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11301 +s&@builddir@&$ac_builddir&;t t
11302 +s&@abs_builddir@&$ac_abs_builddir&;t t
11303 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11304 +s&@INSTALL@&$ac_INSTALL&;t t
11305 +$ac_datarootdir_hack
11306 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
11308 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11309 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11310 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11311 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11312 +which seems to be undefined. Please make sure it is defined." >&5
11313 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11314 +which seems to be undefined. Please make sure it is defined." >&2;}
11317 -# CONFIG_HEADER section.
11320 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11321 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
11323 -# ac_d sets the value in "#define NAME VALUE" lines.
11324 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11325 -ac_dB='[ ].*$,\1#\2'
11328 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11329 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11330 -ac_uB='$,\1#\2define\3'
11334 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11335 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11336 + rm -f "$tmp/stdin"
11338 - - | *:- | *:-:* ) # input from stdin
11340 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11341 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11342 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11343 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11344 - * ) ac_file_in=$ac_file.in ;;
11345 + -) cat "$tmp/out"; rm -f "$tmp/out";;
11346 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11355 +# Transform confdefs.h into a sed script `conftest.defines', that
11356 +# substitutes the proper values into config.h.in to produce config.h.
11357 +rm -f conftest.defines conftest.tail
11358 +# First, append a space to every undef/define line, to ease matching.
11359 +echo 's/$/ /' >conftest.defines
11360 +# Then, protect against being on the right side of a sed subst, or in
11361 +# an unquoted here document, in config.status. If some macros were
11362 +# called several times there might be several #defines for the same
11363 +# symbol, which is useless. But do not sort them, since the last
11364 +# AC_DEFINE must be honored.
11365 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11366 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11367 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
11368 +# PARAMS is the parameter list in the macro definition--in most cases, it's
11369 +# just an empty string.
11370 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11371 +ac_dB='\\)[ (].*,\\1define\\2'
11375 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11376 -echo "$as_me: creating $ac_file" >&6;}
11378 - # First look for the input files in the build tree, otherwise in the
11380 - ac_file_inputs=`IFS=:
11381 - for f in $ac_file_in; do
11383 - -) echo $tmp/stdin ;;
11385 - # Absolute (can't be DOS-style, as IFS=:)
11386 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11387 -echo "$as_me: error: cannot find input file: $f" >&2;}
11388 - { (exit 1); exit 1; }; }
11389 - # Do quote $f, to prevent DOS paths from being IFS'd.
11392 - if test -f "$f"; then
11395 - elif test -f "$srcdir/$f"; then
11397 - echo "$srcdir/$f"
11400 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11401 -echo "$as_me: error: cannot find input file: $f" >&2;}
11402 - { (exit 1); exit 1; }; }
11405 - done` || { (exit 1); exit 1; }
11406 - # Remove the trailing spaces.
11407 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11411 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
11412 -# `conftest.undefs', that substitutes the proper values into
11413 -# config.h.in to produce config.h. The first handles `#define'
11414 -# templates, and the second `#undef' templates.
11415 -# And first: Protect against being on the right side of a sed subst in
11416 -# config.status. Protect against being in an unquoted here document
11417 -# in config.status.
11418 -rm -f conftest.defines conftest.undefs
11419 -# Using a here document instead of a string reduces the quoting nightmare.
11420 -# Putting comments in sed scripts is not portable.
11422 -# `end' is used to avoid that the second main sed command (meant for
11423 -# 0-ary CPP macros) applies to n-ary macro definitions.
11424 -# See the Autoconf documentation for `clear'.
11425 -cat >confdef2sed.sed <<\_ACEOF
11430 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11432 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11435 -# If some macros were called several times there might be several times
11436 -# the same #defines, which is useless. Nevertheless, we may not want to
11437 -# sort them, since we want the *last* AC-DEFINE to be honored.
11438 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11439 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11440 -rm -f confdef2sed.sed
11445 + s/^[ ]*#[ ]*define[ ][ ]*//
11450 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11451 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11452 + ' >>conftest.defines
11454 -# This sed command replaces #undef with comments. This is necessary, for
11455 +# Remove the space that was appended to ease matching.
11456 +# Then replace #undef with comments. This is necessary, for
11457 # example, in the case of _POSIX_SOURCE, which is predefined and required
11458 # on some systems where configure will not decide to define it.
11459 -cat >>conftest.undefs <<\_ACEOF
11460 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11461 +# (The regexp can be short, since the line contains either #define or #undef.)
11463 +s,^[ #]*u.*,/* & */,' >>conftest.defines
11465 +# Break up conftest.defines:
11466 +ac_max_sed_lines=50
11468 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11469 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11470 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11472 +ac_in='$ac_file_inputs'
11473 +ac_out='"$tmp/out1"'
11474 +ac_nxt='"$tmp/out2"'
11478 + # Write a here document:
11479 + cat >>$CONFIG_STATUS <<_ACEOF
11480 + # First, check the format of the line:
11481 + cat >"\$tmp/defines.sed" <<\\CEOF
11482 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11483 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11488 -# Break up conftest.defines because some shells have a limit on the size
11489 -# of here documents, and old seds have small limits too (100 cmds).
11490 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11491 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11492 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11493 -echo ' :' >>$CONFIG_STATUS
11494 -rm -f conftest.tail
11495 -while grep . conftest.defines >/dev/null
11497 - # Write a limited-size here document to $tmp/defines.sed.
11498 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11499 - # Speed up: don't consider the non `#define' lines.
11500 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11501 - # Work around the forget-to-reset-the-flag bug.
11502 - echo 't clr' >>$CONFIG_STATUS
11503 - echo ': clr' >>$CONFIG_STATUS
11504 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11505 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11507 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
11509 - mv $tmp/out $tmp/in
11510 -' >>$CONFIG_STATUS
11511 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11512 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11513 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11514 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11515 + grep . conftest.tail >/dev/null || break
11516 rm -f conftest.defines
11517 mv conftest.tail conftest.defines
11519 -rm -f conftest.defines
11520 -echo ' fi # grep' >>$CONFIG_STATUS
11521 -echo >>$CONFIG_STATUS
11523 -# Break up conftest.undefs because some shells have a limit on the size
11524 -# of here documents, and old seds have small limits too (100 cmds).
11525 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11526 -rm -f conftest.tail
11527 -while grep . conftest.undefs >/dev/null
11529 - # Write a limited-size here document to $tmp/undefs.sed.
11530 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11531 - # Speed up: don't consider the non `#undef'
11532 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11533 - # Work around the forget-to-reset-the-flag bug.
11534 - echo 't clr' >>$CONFIG_STATUS
11535 - echo ': clr' >>$CONFIG_STATUS
11536 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11538 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11540 - mv $tmp/out $tmp/in
11541 -' >>$CONFIG_STATUS
11542 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11543 - rm -f conftest.undefs
11544 - mv conftest.tail conftest.undefs
11546 -rm -f conftest.undefs
11547 +rm -f conftest.defines conftest.tail
11549 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
11550 cat >>$CONFIG_STATUS <<\_ACEOF
11551 - # Let's still pretend it is `configure' which instantiates (i.e., don't
11552 - # use $as_me), people would be surprised to read:
11553 - # /* config.h. Generated by config.status. */
11554 - if test x"$ac_file" = x-; then
11555 - echo "/* Generated by configure. */" >$tmp/config.h
11557 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11559 - cat $tmp/in >>$tmp/config.h
11561 if test x"$ac_file" != x-; then
11562 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11563 + echo "/* $configure_input */" >"$tmp/config.h"
11564 + cat "$ac_result" >>"$tmp/config.h"
11565 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11566 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11567 echo "$as_me: $ac_file is unchanged" >&6;}
11569 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11570 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11571 - X"$ac_file" : 'X\(//\)[^/]' \| \
11572 - X"$ac_file" : 'X\(//\)$' \| \
11573 - X"$ac_file" : 'X\(/\)' \| \
11574 - . : '\(.\)' 2>/dev/null ||
11575 -echo X"$ac_file" |
11576 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11577 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11578 - /^X\(\/\/\)$/{ s//\1/; q; }
11579 - /^X\(\/\).*/{ s//\1/; q; }
11581 - { if $as_mkdir_p; then
11582 - mkdir -p "$ac_dir"
11586 - while test ! -d "$as_dir"; do
11587 - as_dirs="$as_dir $as_dirs"
11588 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
11589 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11590 - X"$as_dir" : 'X\(//\)[^/]' \| \
11591 - X"$as_dir" : 'X\(//\)$' \| \
11592 - X"$as_dir" : 'X\(/\)' \| \
11593 - . : '\(.\)' 2>/dev/null ||
11595 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11596 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11597 - /^X\(\/\/\)$/{ s//\1/; q; }
11598 - /^X\(\/\).*/{ s//\1/; q; }
11601 - test ! -n "$as_dirs" || mkdir $as_dirs
11602 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11603 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11604 - { (exit 1); exit 1; }; }; }
11607 - mv $tmp/config.h $ac_file
11608 + mv "$tmp/config.h" $ac_file
11611 - cat $tmp/config.h
11612 - rm -f $tmp/config.h
11613 + echo "/* $configure_input */"
11618 -cat >>$CONFIG_STATUS <<\_ACEOF
11621 -# CONFIG_COMMANDS section.
11623 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11624 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11625 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11626 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11627 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11628 - X"$ac_dest" : 'X\(//\)[^/]' \| \
11629 - X"$ac_dest" : 'X\(//\)$' \| \
11630 - X"$ac_dest" : 'X\(/\)' \| \
11631 - . : '\(.\)' 2>/dev/null ||
11632 -echo X"$ac_dest" |
11633 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11634 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11635 - /^X\(\/\/\)$/{ s//\1/; q; }
11636 - /^X\(\/\).*/{ s//\1/; q; }
11638 - { if $as_mkdir_p; then
11639 - mkdir -p "$ac_dir"
11643 - while test ! -d "$as_dir"; do
11644 - as_dirs="$as_dir $as_dirs"
11645 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
11646 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11647 - X"$as_dir" : 'X\(//\)[^/]' \| \
11648 - X"$as_dir" : 'X\(//\)$' \| \
11649 - X"$as_dir" : 'X\(/\)' \| \
11650 - . : '\(.\)' 2>/dev/null ||
11652 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11653 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11654 - /^X\(\/\/\)$/{ s//\1/; q; }
11655 - /^X\(\/\).*/{ s//\1/; q; }
11658 - test ! -n "$as_dirs" || mkdir $as_dirs
11659 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11660 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11661 - { (exit 1); exit 1; }; }; }
11665 -if test "$ac_dir" != .; then
11666 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11667 - # A "../" for each directory in $ac_dir_suffix.
11668 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11670 - ac_dir_suffix= ac_top_builddir=
11674 - .) # No --srcdir option. We are building in place.
11676 - if test -z "$ac_top_builddir"; then
11679 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11681 - [\\/]* | ?:[\\/]* ) # Absolute path.
11682 - ac_srcdir=$srcdir$ac_dir_suffix;
11683 - ac_top_srcdir=$srcdir ;;
11684 - *) # Relative path.
11685 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11686 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
11688 + rm -f "$tmp/out12"
11691 -# Do not use `cd foo && pwd` to compute absolute paths, because
11692 -# the directories may not exist.
11694 -.) ac_abs_builddir="$ac_dir";;
11696 - case "$ac_dir" in
11697 - .) ac_abs_builddir=`pwd`;;
11698 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11699 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
11702 -case $ac_abs_builddir in
11703 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
11705 - case ${ac_top_builddir}. in
11706 - .) ac_abs_top_builddir=$ac_abs_builddir;;
11707 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11708 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11711 -case $ac_abs_builddir in
11712 -.) ac_abs_srcdir=$ac_srcdir;;
11714 - case $ac_srcdir in
11715 - .) ac_abs_srcdir=$ac_abs_builddir;;
11716 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11717 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11720 -case $ac_abs_builddir in
11721 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
11723 - case $ac_top_srcdir in
11724 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
11725 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11726 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11729 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11730 +echo "$as_me: executing $ac_file commands" >&6;}
11735 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11736 -echo "$as_me: executing $ac_dest commands" >&6;}
11738 - default ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
11739 + case $ac_file$ac_mode in
11740 + "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
11741 if test -n "$CONFIG_FILES"; then
11742 if test -n "${with_target_subdir}"; then
11743 # FIXME: We shouldn't need to set ac_file
11744 @@ -10150,11 +10453,10 @@
11745 . ${libiberty_topdir}/config-ml.in
11754 -cat >>$CONFIG_STATUS <<\_ACEOF
11756 { (exit 0); exit 0; }
11758 diff -urN gcc-4.2.1-orig/libiberty/configure.ac gcc-4.2.1/libiberty/configure.ac
11759 --- gcc-4.2.1-orig/libiberty/configure.ac 2006-08-30 08:46:50.000000000 -0500
11760 +++ gcc-4.2.1/libiberty/configure.ac 2007-07-29 16:34:26.000000000 -0500
11761 @@ -544,6 +544,11 @@
11767 + # PolIntOS has nothing yet
11773 diff -urN gcc-4.2.1-orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
11774 --- gcc-4.2.1-orig/libstdc++-v3/configure 2007-06-28 18:02:05.000000000 -0500
11775 +++ gcc-4.2.1/libstdc++-v3/configure 2007-07-29 16:34:26.000000000 -0500
11776 @@ -108514,6 +108514,8 @@
11783 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
11784 echo "$as_me: error: No support for this host/target combination." >&2;}
11785 diff -urN gcc-4.2.1-orig/libstdc++-v3/crossconfig.m4 gcc-4.2.1/libstdc++-v3/crossconfig.m4
11786 --- gcc-4.2.1-orig/libstdc++-v3/crossconfig.m4 2007-01-06 16:38:41.000000000 -0600
11787 +++ gcc-4.2.1/libstdc++-v3/crossconfig.m4 2007-07-29 16:34:26.000000000 -0500
11788 @@ -411,6 +411,8 @@
11789 AC_DEFINE(HAVE_TANHF)
11790 AC_DEFINE(HAVE_TANHL)
11795 AC_MSG_ERROR([No support for this host/target combination.])
11797 diff -urN gcc-4.2.1-orig/Makefile.def gcc-4.2.1/Makefile.def
11798 --- gcc-4.2.1-orig/Makefile.def 2006-12-29 11:47:06.000000000 -0600
11799 +++ gcc-4.2.1/Makefile.def 2007-08-04 20:02:26.000000000 -0500
11800 @@ -468,7 +468,7 @@
11801 dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
11802 dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
11803 dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
11804 -dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
11805 +dependencies = { module=all-target-libstdc++-v3; on=configure-target-libiberty; };
11807 // Target libraries installed under gcc need to be installed before gcc
11808 dependencies = { module=install-target-libssp; on=install-gcc; };
11809 diff -urN gcc-4.2.1-orig/Makefile.in gcc-4.2.1/Makefile.in
11810 --- gcc-4.2.1-orig/Makefile.in 2006-12-29 11:47:06.000000000 -0600
11811 +++ gcc-4.2.1/Makefile.in 2007-08-04 20:02:31.000000000 -0500
11812 @@ -43788,7 +43788,7 @@
11813 configure-target-libobjc: maybe-configure-target-boehm-gc
11814 all-target-libobjc: maybe-all-target-libiberty
11815 all-target-libobjc: maybe-all-target-boehm-gc
11816 -all-target-libstdc++-v3: maybe-all-target-libiberty
11817 +all-target-libstdc++-v3: maybe-configure-target-libiberty
11818 install-target-libssp: maybe-install-gcc
11819 install-target-libgomp: maybe-install-gcc
11820 all-target-libgloss: maybe-configure-target-newlib