829e96da4780c510a004a214bd513703e6531cd8
[openwrt/svn-archive/archive.git] / toolchain / binutils / patches / 2.17 / 500-avr32.patch
1 Index: binutils-2.17/bfd/aclocal.m4
2 ===================================================================
3 --- binutils-2.17.orig/bfd/aclocal.m4 2007-06-28 09:19:34.137046832 +0200
4 +++ binutils-2.17/bfd/aclocal.m4 2007-06-28 09:19:36.555679144 +0200
5 @@ -1,4 +1,4 @@
6 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
7 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8
9 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
10 # 2005 Free Software Foundation, Inc.
11 @@ -28,7 +28,7 @@
12 # Call AM_AUTOMAKE_VERSION so it can be traced.
13 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
14 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
15 - [AM_AUTOMAKE_VERSION([1.9.5])])
16 + [AM_AUTOMAKE_VERSION([1.9.6])])
17
18 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
19
20 Index: binutils-2.17/bfd/archures.c
21 ===================================================================
22 --- binutils-2.17.orig/bfd/archures.c 2007-06-28 09:19:34.142046072 +0200
23 +++ binutils-2.17/bfd/archures.c 2007-06-28 09:19:36.556678992 +0200
24 @@ -334,6 +334,9 @@
25 .#define bfd_mach_avr3 3
26 .#define bfd_mach_avr4 4
27 .#define bfd_mach_avr5 5
28 +. bfd_arch_avr32, {* Atmel AVR32 *}
29 +.#define bfd_mach_avr32_ap 7000
30 +.#define bfd_mach_avr32_uc 3000
31 . bfd_arch_bfin, {* ADI Blackfin *}
32 .#define bfd_mach_bfin 1
33 . bfd_arch_cr16c, {* National Semiconductor CompactRISC. *}
34 @@ -423,6 +426,7 @@
35 extern const bfd_arch_info_type bfd_arc_arch;
36 extern const bfd_arch_info_type bfd_arm_arch;
37 extern const bfd_arch_info_type bfd_avr_arch;
38 +extern const bfd_arch_info_type bfd_avr32_arch;
39 extern const bfd_arch_info_type bfd_bfin_arch;
40 extern const bfd_arch_info_type bfd_cr16c_arch;
41 extern const bfd_arch_info_type bfd_cris_arch;
42 @@ -490,6 +494,7 @@
43 &bfd_arc_arch,
44 &bfd_arm_arch,
45 &bfd_avr_arch,
46 + &bfd_avr32_arch,
47 &bfd_bfin_arch,
48 &bfd_cr16c_arch,
49 &bfd_cris_arch,
50 Index: binutils-2.17/bfd/bfd-in2.h
51 ===================================================================
52 --- binutils-2.17.orig/bfd/bfd-in2.h 2007-06-28 09:19:34.149045008 +0200
53 +++ binutils-2.17/bfd/bfd-in2.h 2007-06-28 09:19:36.558678688 +0200
54 @@ -1931,6 +1931,9 @@
55 #define bfd_mach_avr3 3
56 #define bfd_mach_avr4 4
57 #define bfd_mach_avr5 5
58 + bfd_arch_avr32, /* Atmel AVR32 */
59 +#define bfd_mach_avr32_ap 7000
60 +#define bfd_mach_avr32_uc 3000
61 bfd_arch_bfin, /* ADI Blackfin */
62 #define bfd_mach_bfin 1
63 bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
64 @@ -3577,6 +3580,87 @@
65 instructions */
66 BFD_RELOC_AVR_6_ADIW,
67
68 +/* Difference between two labels: L2 - L1. The value of L1 is encoded
69 +as sym + addend, while the initial difference after assembly is
70 +inserted into the object file by the assembler. */
71 + BFD_RELOC_AVR32_DIFF32,
72 + BFD_RELOC_AVR32_DIFF16,
73 + BFD_RELOC_AVR32_DIFF8,
74 +
75 +/* Reference to a symbol through the Global Offset Table. The linker
76 +will allocate an entry for symbol in the GOT and insert the offset
77 +of this entry as the relocation value. */
78 + BFD_RELOC_AVR32_GOT32,
79 + BFD_RELOC_AVR32_GOT16,
80 + BFD_RELOC_AVR32_GOT8,
81 +
82 +/* Normal (non-pc-relative) code relocations. Alignment and signedness
83 +is indicated by the suffixes. S means signed, U means unsigned. W
84 +means word-aligned, H means halfword-aligned, neither means
85 +byte-aligned (no alignment.) SUB5 is the same relocation as 16S. */
86 + BFD_RELOC_AVR32_21S,
87 + BFD_RELOC_AVR32_16U,
88 + BFD_RELOC_AVR32_16S,
89 + BFD_RELOC_AVR32_SUB5,
90 + BFD_RELOC_AVR32_8S_EXT,
91 + BFD_RELOC_AVR32_8S,
92 +
93 +/* PC-relative relocations are signed if neither 'U' nor 'S' is
94 +specified. However, we explicitly tack on a 'B' to indicate no
95 +alignment, to avoid confusion with data relocs. All of these resolve
96 +to sym + addend - offset, except the one with 'N' (negated) suffix.
97 +This particular one resolves to offset - sym - addend. */
98 + BFD_RELOC_AVR32_22H_PCREL,
99 + BFD_RELOC_AVR32_18W_PCREL,
100 + BFD_RELOC_AVR32_16B_PCREL,
101 + BFD_RELOC_AVR32_16N_PCREL,
102 + BFD_RELOC_AVR32_14UW_PCREL,
103 + BFD_RELOC_AVR32_11H_PCREL,
104 + BFD_RELOC_AVR32_10UW_PCREL,
105 + BFD_RELOC_AVR32_9H_PCREL,
106 + BFD_RELOC_AVR32_9UW_PCREL,
107 +
108 +/* Subtract the link-time address of the GOT from (symbol + addend)
109 +and insert the result. */
110 + BFD_RELOC_AVR32_GOTPC,
111 +
112 +/* Reference to a symbol through the GOT. The linker will allocate an
113 +entry for symbol in the GOT and insert the offset of this entry as
114 +the relocation value. addend must be zero. As usual, 'S' means
115 +signed, 'W' means word-aligned, etc. */
116 + BFD_RELOC_AVR32_GOTCALL,
117 + BFD_RELOC_AVR32_LDA_GOT,
118 + BFD_RELOC_AVR32_GOT21S,
119 + BFD_RELOC_AVR32_GOT18SW,
120 + BFD_RELOC_AVR32_GOT16S,
121 +
122 +/* 32-bit constant pool entry. I don't think 8- and 16-bit entries make
123 +a whole lot of sense. */
124 + BFD_RELOC_AVR32_32_CPENT,
125 +
126 +/* Constant pool references. Some of these relocations are signed,
127 +others are unsigned. It doesn't really matter, since the constant
128 +pool always comes after the code that references it. */
129 + BFD_RELOC_AVR32_CPCALL,
130 + BFD_RELOC_AVR32_16_CP,
131 + BFD_RELOC_AVR32_9W_CP,
132 +
133 +/* sym must be the absolute symbol. The addend specifies the alignment
134 +order, e.g. if addend is 2, the linker must add padding so that the
135 +next address is aligned to a 4-byte boundary. */
136 + BFD_RELOC_AVR32_ALIGN,
137 +
138 +/* Code relocations that will never make it to the output file. */
139 + BFD_RELOC_AVR32_14UW,
140 + BFD_RELOC_AVR32_10UW,
141 + BFD_RELOC_AVR32_10SW,
142 + BFD_RELOC_AVR32_STHH_W,
143 + BFD_RELOC_AVR32_7UW,
144 + BFD_RELOC_AVR32_6S,
145 + BFD_RELOC_AVR32_6UW,
146 + BFD_RELOC_AVR32_4UH,
147 + BFD_RELOC_AVR32_3U,
148 +
149 /* Direct 12 bit. */
150 BFD_RELOC_390_12,
151
152 Index: binutils-2.17/bfd/config.bfd
153 ===================================================================
154 --- binutils-2.17.orig/bfd/config.bfd 2007-06-28 09:19:34.154044248 +0200
155 +++ binutils-2.17/bfd/config.bfd 2007-06-28 09:19:36.558678688 +0200
156 @@ -317,6 +317,10 @@
157 targ_underscore=yes
158 ;;
159
160 + avr32-*-*)
161 + targ_defvec=bfd_elf32_avr32_vec
162 + ;;
163 +
164 c30-*-*aout* | tic30-*-*aout*)
165 targ_defvec=tic30_aout_vec
166 ;;
167 Index: binutils-2.17/bfd/config.in
168 ===================================================================
169 --- binutils-2.17.orig/bfd/config.in 2007-06-28 09:19:34.159043488 +0200
170 +++ binutils-2.17/bfd/config.in 2007-06-28 09:19:36.559678536 +0200
171 @@ -313,18 +313,18 @@
172 /* Define to the version of this package. */
173 #undef PACKAGE_VERSION
174
175 -/* The size of a `long', as computed by sizeof. */
176 +/* The size of `long', as computed by sizeof. */
177 #undef SIZEOF_LONG
178
179 -/* The size of a `long long', as computed by sizeof. */
180 +/* The size of `long long', as computed by sizeof. */
181 #undef SIZEOF_LONG_LONG
182
183 -/* The size of a `off_t', as computed by sizeof. */
184 +/* The size of `off_t', as computed by sizeof. */
185 #undef SIZEOF_OFF_T
186
187 /* If using the C implementation of alloca, define if you know the
188 direction of stack growth for your system; otherwise it will be
189 - automatically deduced at run-time.
190 + automatically deduced at runtime.
191 STACK_DIRECTION > 0 => grows toward higher addresses
192 STACK_DIRECTION < 0 => grows toward lower addresses
193 STACK_DIRECTION = 0 => direction of growth unknown */
194 @@ -368,8 +368,8 @@
195 #undef inline
196 #endif
197
198 -/* Define to `long' if <sys/types.h> does not define. */
199 +/* Define to `long int' if <sys/types.h> does not define. */
200 #undef off_t
201
202 -/* Define to `unsigned' if <sys/types.h> does not define. */
203 +/* Define to `unsigned int' if <sys/types.h> does not define. */
204 #undef size_t
205 Index: binutils-2.17/bfd/configure
206 ===================================================================
207 --- binutils-2.17.orig/bfd/configure 2007-06-28 09:19:35.023912008 +0200
208 +++ binutils-2.17/bfd/configure 2007-06-28 09:19:36.575676104 +0200
209 @@ -1,25 +1,54 @@
210 #! /bin/sh
211 # Guess values for system-dependent variables and create Makefiles.
212 -# Generated by GNU Autoconf 2.59.
213 +# Generated by GNU Autoconf 2.61.
214 #
215 -# Copyright (C) 2003 Free Software Foundation, Inc.
216 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
217 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
218 # This configure script is free software; the Free Software Foundation
219 # gives unlimited permission to copy, distribute and modify it.
220 ## --------------------- ##
221 ## M4sh Initialization. ##
222 ## --------------------- ##
223
224 -# Be Bourne compatible
225 +# Be more Bourne compatible
226 +DUALCASE=1; export DUALCASE # for MKS sh
227 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
228 emulate sh
229 NULLCMD=:
230 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
231 # is contrary to our usage. Disable this feature.
232 alias -g '${1+"$@"}'='"$@"'
233 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
234 - set -o posix
235 + setopt NO_GLOB_SUBST
236 +else
237 + case `(set -o) 2>/dev/null` in
238 + *posix*) set -o posix ;;
239 +esac
240 +
241 +fi
242 +
243 +
244 +
245 +
246 +# PATH needs CR
247 +# Avoid depending upon Character Ranges.
248 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
249 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
250 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
251 +as_cr_digits='0123456789'
252 +as_cr_alnum=$as_cr_Letters$as_cr_digits
253 +
254 +# The user is always right.
255 +if test "${PATH_SEPARATOR+set}" != set; then
256 + echo "#! /bin/sh" >conf$$.sh
257 + echo "exit 0" >>conf$$.sh
258 + chmod +x conf$$.sh
259 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
260 + PATH_SEPARATOR=';'
261 + else
262 + PATH_SEPARATOR=:
263 + fi
264 + rm -f conf$$.sh
265 fi
266 -DUALCASE=1; export DUALCASE # for MKS sh
267
268 # Support unset when possible.
269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
270 @@ -29,8 +58,43 @@
271 fi
272
273
274 +# IFS
275 +# We need space, tab and new line, in precisely that order. Quoting is
276 +# there to prevent editors from complaining about space-tab.
277 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
278 +# splitting by setting IFS to empty value.)
279 +as_nl='
280 +'
281 +IFS=" "" $as_nl"
282 +
283 +# Find who we are. Look in the path if we contain no directory separator.
284 +case $0 in
285 + *[\\/]* ) as_myself=$0 ;;
286 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
287 +for as_dir in $PATH
288 +do
289 + IFS=$as_save_IFS
290 + test -z "$as_dir" && as_dir=.
291 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
292 +done
293 +IFS=$as_save_IFS
294 +
295 + ;;
296 +esac
297 +# We did not find ourselves, most probably we were run as `sh COMMAND'
298 +# in which case we are not to be found in the path.
299 +if test "x$as_myself" = x; then
300 + as_myself=$0
301 +fi
302 +if test ! -f "$as_myself"; then
303 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
304 + { (exit 1); exit 1; }
305 +fi
306 +
307 # Work around bugs in pre-3.0 UWIN ksh.
308 -$as_unset ENV MAIL MAILPATH
309 +for as_var in ENV MAIL MAILPATH
310 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
311 +done
312 PS1='$ '
313 PS2='> '
314 PS4='+ '
315 @@ -44,18 +108,19 @@
316 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
317 eval $as_var=C; export $as_var
318 else
319 - $as_unset $as_var
320 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
321 fi
322 done
323
324 # Required to use basename.
325 -if expr a : '\(a\)' >/dev/null 2>&1; then
326 +if expr a : '\(a\)' >/dev/null 2>&1 &&
327 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
328 as_expr=expr
329 else
330 as_expr=false
331 fi
332
333 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
334 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
335 as_basename=basename
336 else
337 as_basename=false
338 @@ -63,157 +128,388 @@
339
340
341 # Name of the executable.
342 -as_me=`$as_basename "$0" ||
343 +as_me=`$as_basename -- "$0" ||
344 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
345 X"$0" : 'X\(//\)$' \| \
346 - X"$0" : 'X\(/\)$' \| \
347 - . : '\(.\)' 2>/dev/null ||
348 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
349 echo X/"$0" |
350 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
351 - /^X\/\(\/\/\)$/{ s//\1/; q; }
352 - /^X\/\(\/\).*/{ s//\1/; q; }
353 - s/.*/./; q'`
354 + sed '/^.*\/\([^/][^/]*\)\/*$/{
355 + s//\1/
356 + q
357 + }
358 + /^X\/\(\/\/\)$/{
359 + s//\1/
360 + q
361 + }
362 + /^X\/\(\/\).*/{
363 + s//\1/
364 + q
365 + }
366 + s/.*/./; q'`
367
368 +# CDPATH.
369 +$as_unset CDPATH
370
371 -# PATH needs CR, and LINENO needs CR and PATH.
372 -# Avoid depending upon Character Ranges.
373 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
374 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
375 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
376 -as_cr_digits='0123456789'
377 -as_cr_alnum=$as_cr_Letters$as_cr_digits
378
379 -# The user is always right.
380 -if test "${PATH_SEPARATOR+set}" != set; then
381 - echo "#! /bin/sh" >conf$$.sh
382 - echo "exit 0" >>conf$$.sh
383 - chmod +x conf$$.sh
384 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
385 - PATH_SEPARATOR=';'
386 - else
387 - PATH_SEPARATOR=:
388 - fi
389 - rm -f conf$$.sh
390 +if test "x$CONFIG_SHELL" = x; then
391 + if (eval ":") 2>/dev/null; then
392 + as_have_required=yes
393 +else
394 + as_have_required=no
395 +fi
396 +
397 + if test $as_have_required = yes && (eval ":
398 +(as_func_return () {
399 + (exit \$1)
400 +}
401 +as_func_success () {
402 + as_func_return 0
403 +}
404 +as_func_failure () {
405 + as_func_return 1
406 +}
407 +as_func_ret_success () {
408 + return 0
409 +}
410 +as_func_ret_failure () {
411 + return 1
412 +}
413 +
414 +exitcode=0
415 +if as_func_success; then
416 + :
417 +else
418 + exitcode=1
419 + echo as_func_success failed.
420 fi
421
422 +if as_func_failure; then
423 + exitcode=1
424 + echo as_func_failure succeeded.
425 +fi
426
427 - as_lineno_1=$LINENO
428 - as_lineno_2=$LINENO
429 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
430 - test "x$as_lineno_1" != "x$as_lineno_2" &&
431 - test "x$as_lineno_3" = "x$as_lineno_2" || {
432 - # Find who we are. Look in the path if we contain no path at all
433 - # relative or not.
434 - case $0 in
435 - *[\\/]* ) as_myself=$0 ;;
436 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
437 -for as_dir in $PATH
438 -do
439 - IFS=$as_save_IFS
440 - test -z "$as_dir" && as_dir=.
441 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
442 -done
443 +if as_func_ret_success; then
444 + :
445 +else
446 + exitcode=1
447 + echo as_func_ret_success failed.
448 +fi
449
450 - ;;
451 - esac
452 - # We did not find ourselves, most probably we were run as `sh COMMAND'
453 - # in which case we are not to be found in the path.
454 - if test "x$as_myself" = x; then
455 - as_myself=$0
456 - fi
457 - if test ! -f "$as_myself"; then
458 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
459 - { (exit 1); exit 1; }; }
460 - fi
461 - case $CONFIG_SHELL in
462 - '')
463 +if as_func_ret_failure; then
464 + exitcode=1
465 + echo as_func_ret_failure succeeded.
466 +fi
467 +
468 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
469 + :
470 +else
471 + exitcode=1
472 + echo positional parameters were not saved.
473 +fi
474 +
475 +test \$exitcode = 0) || { (exit 1); exit 1; }
476 +
477 +(
478 + as_lineno_1=\$LINENO
479 + as_lineno_2=\$LINENO
480 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
481 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
482 +") 2> /dev/null; then
483 + :
484 +else
485 + as_candidate_shells=
486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
487 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
488 do
489 IFS=$as_save_IFS
490 test -z "$as_dir" && as_dir=.
491 - for as_base in sh bash ksh sh5; do
492 - case $as_dir in
493 + case $as_dir in
494 /*)
495 - if ("$as_dir/$as_base" -c '
496 + for as_base in sh bash ksh sh5; do
497 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
498 + done;;
499 + esac
500 +done
501 +IFS=$as_save_IFS
502 +
503 +
504 + for as_shell in $as_candidate_shells $SHELL; do
505 + # Try only shells that exist, to save several forks.
506 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
507 + { ("$as_shell") 2> /dev/null <<\_ASEOF
508 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
509 + emulate sh
510 + NULLCMD=:
511 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
512 + # is contrary to our usage. Disable this feature.
513 + alias -g '${1+"$@"}'='"$@"'
514 + setopt NO_GLOB_SUBST
515 +else
516 + case `(set -o) 2>/dev/null` in
517 + *posix*) set -o posix ;;
518 +esac
519 +
520 +fi
521 +
522 +
523 +:
524 +_ASEOF
525 +}; then
526 + CONFIG_SHELL=$as_shell
527 + as_have_required=yes
528 + if { "$as_shell" 2> /dev/null <<\_ASEOF
529 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
530 + emulate sh
531 + NULLCMD=:
532 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
533 + # is contrary to our usage. Disable this feature.
534 + alias -g '${1+"$@"}'='"$@"'
535 + setopt NO_GLOB_SUBST
536 +else
537 + case `(set -o) 2>/dev/null` in
538 + *posix*) set -o posix ;;
539 +esac
540 +
541 +fi
542 +
543 +
544 +:
545 +(as_func_return () {
546 + (exit $1)
547 +}
548 +as_func_success () {
549 + as_func_return 0
550 +}
551 +as_func_failure () {
552 + as_func_return 1
553 +}
554 +as_func_ret_success () {
555 + return 0
556 +}
557 +as_func_ret_failure () {
558 + return 1
559 +}
560 +
561 +exitcode=0
562 +if as_func_success; then
563 + :
564 +else
565 + exitcode=1
566 + echo as_func_success failed.
567 +fi
568 +
569 +if as_func_failure; then
570 + exitcode=1
571 + echo as_func_failure succeeded.
572 +fi
573 +
574 +if as_func_ret_success; then
575 + :
576 +else
577 + exitcode=1
578 + echo as_func_ret_success failed.
579 +fi
580 +
581 +if as_func_ret_failure; then
582 + exitcode=1
583 + echo as_func_ret_failure succeeded.
584 +fi
585 +
586 +if ( set x; as_func_ret_success y && test x = "$1" ); then
587 + :
588 +else
589 + exitcode=1
590 + echo positional parameters were not saved.
591 +fi
592 +
593 +test $exitcode = 0) || { (exit 1); exit 1; }
594 +
595 +(
596 as_lineno_1=$LINENO
597 as_lineno_2=$LINENO
598 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
599 test "x$as_lineno_1" != "x$as_lineno_2" &&
600 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
601 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
602 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
603 - CONFIG_SHELL=$as_dir/$as_base
604 - export CONFIG_SHELL
605 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
606 - fi;;
607 - esac
608 - done
609 -done
610 -;;
611 - esac
612 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
613 +
614 +_ASEOF
615 +}; then
616 + break
617 +fi
618 +
619 +fi
620 +
621 + done
622 +
623 + if test "x$CONFIG_SHELL" != x; then
624 + for as_var in BASH_ENV ENV
625 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
626 + done
627 + export CONFIG_SHELL
628 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
629 +fi
630 +
631 +
632 + if test $as_have_required = no; then
633 + echo This script requires a shell more modern than all the
634 + echo shells that I found on your system. Please install a
635 + echo modern shell, or manually run the script under such a
636 + echo shell if you do have one.
637 + { (exit 1); exit 1; }
638 +fi
639 +
640 +
641 +fi
642 +
643 +fi
644 +
645 +
646 +
647 +(eval "as_func_return () {
648 + (exit \$1)
649 +}
650 +as_func_success () {
651 + as_func_return 0
652 +}
653 +as_func_failure () {
654 + as_func_return 1
655 +}
656 +as_func_ret_success () {
657 + return 0
658 +}
659 +as_func_ret_failure () {
660 + return 1
661 +}
662 +
663 +exitcode=0
664 +if as_func_success; then
665 + :
666 +else
667 + exitcode=1
668 + echo as_func_success failed.
669 +fi
670 +
671 +if as_func_failure; then
672 + exitcode=1
673 + echo as_func_failure succeeded.
674 +fi
675 +
676 +if as_func_ret_success; then
677 + :
678 +else
679 + exitcode=1
680 + echo as_func_ret_success failed.
681 +fi
682 +
683 +if as_func_ret_failure; then
684 + exitcode=1
685 + echo as_func_ret_failure succeeded.
686 +fi
687 +
688 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
689 + :
690 +else
691 + exitcode=1
692 + echo positional parameters were not saved.
693 +fi
694 +
695 +test \$exitcode = 0") || {
696 + echo No shell found that supports shell functions.
697 + echo Please tell autoconf@gnu.org about your system,
698 + echo including any error possibly output before this
699 + echo message
700 +}
701 +
702 +
703 +
704 + as_lineno_1=$LINENO
705 + as_lineno_2=$LINENO
706 + test "x$as_lineno_1" != "x$as_lineno_2" &&
707 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
708
709 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
710 # uniformly replaced by the line number. The first 'sed' inserts a
711 - # line-number line before each line; the second 'sed' does the real
712 - # work. The second script uses 'N' to pair each line-number line
713 - # with the numbered line, and appends trailing '-' during
714 - # substitution so that $LINENO is not a special case at line end.
715 + # line-number line after each line using $LINENO; the second 'sed'
716 + # does the real work. The second script uses 'N' to pair each
717 + # line-number line with the line containing $LINENO, and appends
718 + # trailing '-' during substitution so that $LINENO is not a special
719 + # case at line end.
720 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
721 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
722 - sed '=' <$as_myself |
723 + # scripts with optimization help from Paolo Bonzini. Blame Lee
724 + # E. McMahon (1931-1989) for sed's syntax. :-)
725 + sed -n '
726 + p
727 + /[$]LINENO/=
728 + ' <$as_myself |
729 sed '
730 + s/[$]LINENO.*/&-/
731 + t lineno
732 + b
733 + :lineno
734 N
735 - s,$,-,
736 - : loop
737 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
738 + :loop
739 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
740 t loop
741 - s,-$,,
742 - s,^['$as_cr_digits']*\n,,
743 + s/-\n.*//
744 ' >$as_me.lineno &&
745 - chmod +x $as_me.lineno ||
746 + chmod +x "$as_me.lineno" ||
747 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
748 { (exit 1); exit 1; }; }
749
750 # Don't try to exec as it changes $[0], causing all sort of problems
751 # (the dirname of $[0] is not the place where we might find the
752 - # original and so on. Autoconf is especially sensible to this).
753 - . ./$as_me.lineno
754 + # original and so on. Autoconf is especially sensitive to this).
755 + . "./$as_me.lineno"
756 # Exit status is that of the last command.
757 exit
758 }
759
760
761 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
762 - *c*,-n*) ECHO_N= ECHO_C='
763 -' ECHO_T=' ' ;;
764 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
765 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
766 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
767 + as_dirname=dirname
768 +else
769 + as_dirname=false
770 +fi
771 +
772 +ECHO_C= ECHO_N= ECHO_T=
773 +case `echo -n x` in
774 +-n*)
775 + case `echo 'x\c'` in
776 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
777 + *) ECHO_C='\c';;
778 + esac;;
779 +*)
780 + ECHO_N='-n';;
781 esac
782
783 -if expr a : '\(a\)' >/dev/null 2>&1; then
784 +if expr a : '\(a\)' >/dev/null 2>&1 &&
785 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
786 as_expr=expr
787 else
788 as_expr=false
789 fi
790
791 rm -f conf$$ conf$$.exe conf$$.file
792 +if test -d conf$$.dir; then
793 + rm -f conf$$.dir/conf$$.file
794 +else
795 + rm -f conf$$.dir
796 + mkdir conf$$.dir
797 +fi
798 echo >conf$$.file
799 if ln -s conf$$.file conf$$ 2>/dev/null; then
800 - # We could just check for DJGPP; but this test a) works b) is more generic
801 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
802 - if test -f conf$$.exe; then
803 - # Don't use ln at all; we don't have any links
804 + as_ln_s='ln -s'
805 + # ... but there are two gotchas:
806 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
807 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
808 + # In both cases, we have to default to `cp -p'.
809 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
810 as_ln_s='cp -p'
811 - else
812 - as_ln_s='ln -s'
813 - fi
814 elif ln conf$$.file conf$$ 2>/dev/null; then
815 as_ln_s=ln
816 else
817 as_ln_s='cp -p'
818 fi
819 -rm -f conf$$ conf$$.exe conf$$.file
820 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
821 +rmdir conf$$.dir 2>/dev/null
822
823 if mkdir -p . 2>/dev/null; then
824 as_mkdir_p=:
825 @@ -222,7 +518,28 @@
826 as_mkdir_p=false
827 fi
828
829 -as_executable_p="test -f"
830 +if test -x / >/dev/null 2>&1; then
831 + as_test_x='test -x'
832 +else
833 + if ls -dL / >/dev/null 2>&1; then
834 + as_ls_L_option=L
835 + else
836 + as_ls_L_option=
837 + fi
838 + as_test_x='
839 + eval sh -c '\''
840 + if test -d "$1"; then
841 + test -d "$1/.";
842 + else
843 + case $1 in
844 + -*)set "./$1";;
845 + esac;
846 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
847 + ???[sx]*):;;*)false;;esac;fi
848 + '\'' sh
849 + '
850 +fi
851 +as_executable_p=$as_test_x
852
853 # Sed expression to map a string onto a valid CPP name.
854 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
855 @@ -231,39 +548,27 @@
856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
857
858
859 -# IFS
860 -# We need space, tab and new line, in precisely that order.
861 -as_nl='
862 -'
863 -IFS=" $as_nl"
864 -
865 -# CDPATH.
866 -$as_unset CDPATH
867
868 +exec 7<&0 </dev/null 6>&1
869
870 # Name of the host.
871 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
872 # so uname gets run too.
873 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
874
875 -exec 6>&1
876 -
877 #
878 # Initializations.
879 #
880 ac_default_prefix=/usr/local
881 +ac_clean_files=
882 ac_config_libobj_dir=.
883 +LIBOBJS=
884 cross_compiling=no
885 subdirs=
886 MFLAGS=
887 MAKEFLAGS=
888 SHELL=${CONFIG_SHELL-/bin/sh}
889
890 -# Maximum number of lines to put in a shell here document.
891 -# This variable seems obsolete. It should probably be removed, and
892 -# only ac_max_sed_lines should be used.
893 -: ${ac_max_here_lines=38}
894 -
895 # Identity of this package.
896 PACKAGE_NAME=
897 PACKAGE_TARNAME=
898 @@ -275,42 +580,199 @@
899 # Factoring default headers for most tests.
900 ac_includes_default="\
901 #include <stdio.h>
902 -#if HAVE_SYS_TYPES_H
903 +#ifdef HAVE_SYS_TYPES_H
904 # include <sys/types.h>
905 #endif
906 -#if HAVE_SYS_STAT_H
907 +#ifdef HAVE_SYS_STAT_H
908 # include <sys/stat.h>
909 #endif
910 -#if STDC_HEADERS
911 +#ifdef STDC_HEADERS
912 # include <stdlib.h>
913 # include <stddef.h>
914 #else
915 -# if HAVE_STDLIB_H
916 +# ifdef HAVE_STDLIB_H
917 # include <stdlib.h>
918 # endif
919 #endif
920 -#if HAVE_STRING_H
921 -# if !STDC_HEADERS && HAVE_MEMORY_H
922 +#ifdef HAVE_STRING_H
923 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
924 # include <memory.h>
925 # endif
926 # include <string.h>
927 #endif
928 -#if HAVE_STRINGS_H
929 +#ifdef HAVE_STRINGS_H
930 # include <strings.h>
931 #endif
932 -#if HAVE_INTTYPES_H
933 +#ifdef HAVE_INTTYPES_H
934 # include <inttypes.h>
935 -#else
936 -# if HAVE_STDINT_H
937 -# include <stdint.h>
938 -# endif
939 #endif
940 -#if HAVE_UNISTD_H
941 +#ifdef HAVE_STDINT_H
942 +# include <stdint.h>
943 +#endif
944 +#ifdef HAVE_UNISTD_H
945 # include <unistd.h>
946 #endif"
947
948 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
949 +ac_subst_vars='SHELL
950 +PATH_SEPARATOR
951 +PACKAGE_NAME
952 +PACKAGE_TARNAME
953 +PACKAGE_VERSION
954 +PACKAGE_STRING
955 +PACKAGE_BUGREPORT
956 +exec_prefix
957 +prefix
958 +program_transform_name
959 +bindir
960 +sbindir
961 +libexecdir
962 +datarootdir
963 +datadir
964 +sysconfdir
965 +sharedstatedir
966 +localstatedir
967 +includedir
968 +oldincludedir
969 +docdir
970 +infodir
971 +htmldir
972 +dvidir
973 +pdfdir
974 +psdir
975 +libdir
976 +localedir
977 +mandir
978 +DEFS
979 +ECHO_C
980 +ECHO_N
981 +ECHO_T
982 +LIBS
983 +build_alias
984 +host_alias
985 +target_alias
986 +build
987 +build_cpu
988 +build_vendor
989 +build_os
990 +host
991 +host_cpu
992 +host_vendor
993 +host_os
994 +target
995 +target_cpu
996 +target_vendor
997 +target_os
998 +CC
999 +CFLAGS
1000 +LDFLAGS
1001 +CPPFLAGS
1002 +ac_ct_CC
1003 +EXEEXT
1004 +OBJEXT
1005 +INSTALL_PROGRAM
1006 +INSTALL_SCRIPT
1007 +INSTALL_DATA
1008 +CYGPATH_W
1009 +PACKAGE
1010 +VERSION
1011 +ACLOCAL
1012 +AUTOCONF
1013 +AUTOMAKE
1014 +AUTOHEADER
1015 +MAKEINFO
1016 +install_sh
1017 +STRIP
1018 +INSTALL_STRIP_PROGRAM
1019 +mkdir_p
1020 +AWK
1021 +SET_MAKE
1022 +am__leading_dot
1023 +AMTAR
1024 +am__tar
1025 +am__untar
1026 +DEPDIR
1027 +am__include
1028 +am__quote
1029 +AMDEP_TRUE
1030 +AMDEP_FALSE
1031 +AMDEPBACKSLASH
1032 +CCDEPMODE
1033 +am__fastdepCC_TRUE
1034 +am__fastdepCC_FALSE
1035 +AR
1036 +RANLIB
1037 +LN_S
1038 +LIBTOOL
1039 +WARN_CFLAGS
1040 +NO_WERROR
1041 +MAINTAINER_MODE_TRUE
1042 +MAINTAINER_MODE_FALSE
1043 +MAINT
1044 +INSTALL_LIBBFD_TRUE
1045 +INSTALL_LIBBFD_FALSE
1046 +host_noncanonical
1047 +target_noncanonical
1048 +bfdlibdir
1049 +bfdincludedir
1050 +CPP
1051 +GREP
1052 +EGREP
1053 +ALLOCA
1054 +USE_NLS
1055 +MSGFMT
1056 +GMSGFMT
1057 +XGETTEXT
1058 +USE_INCLUDED_LIBINTL
1059 +CATALOGS
1060 +CATOBJEXT
1061 +DATADIRNAME
1062 +GMOFILES
1063 +INSTOBJEXT
1064 +INTLDEPS
1065 +INTLLIBS
1066 +INTLOBJS
1067 +POFILES
1068 +POSUB
1069 +INCLUDE_LOCALE_H
1070 +GT_NO
1071 +GT_YES
1072 +MKINSTALLDIRS
1073 +l
1074 +HDEFINES
1075 +BFD_HOST_64BIT_LONG
1076 +BFD_HOST_LONG_LONG
1077 +BFD_HOST_64_BIT_DEFINED
1078 +BFD_HOST_64_BIT
1079 +BFD_HOST_U_64_BIT
1080 +CC_FOR_BUILD
1081 +EXEEXT_FOR_BUILD
1082 +COREFILE
1083 +COREFLAG
1084 +WIN32LDFLAGS
1085 +WIN32LIBADD
1086 +TDEFINES
1087 +wordsize
1088 +bfd_libs
1089 +all_backends
1090 +bfd_backends
1091 +bfd_machines
1092 +bfd_default_target_size
1093 +bfd_file_ptr
1094 +bfd_ufile_ptr
1095 +tdefaults
1096 +LIBOBJS
1097 +LTLIBOBJS'
1098 ac_subst_files=''
1099 + ac_precious_vars='build_alias
1100 +host_alias
1101 +target_alias
1102 +CC
1103 +CFLAGS
1104 +LDFLAGS
1105 +LIBS
1106 +CPPFLAGS
1107 +CPP'
1108 +
1109
1110 # Initialize some variables set by options.
1111 ac_init_help=
1112 @@ -337,34 +799,48 @@
1113 # and all the variables that are supposed to be based on exec_prefix
1114 # by default will actually change.
1115 # Use braces instead of parens because sh, perl, etc. also accept them.
1116 +# (The list follows the same order as the GNU Coding Standards.)
1117 bindir='${exec_prefix}/bin'
1118 sbindir='${exec_prefix}/sbin'
1119 libexecdir='${exec_prefix}/libexec'
1120 -datadir='${prefix}/share'
1121 +datarootdir='${prefix}/share'
1122 +datadir='${datarootdir}'
1123 sysconfdir='${prefix}/etc'
1124 sharedstatedir='${prefix}/com'
1125 localstatedir='${prefix}/var'
1126 -libdir='${exec_prefix}/lib'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 -infodir='${prefix}/info'
1130 -mandir='${prefix}/man'
1131 +docdir='${datarootdir}/doc/${PACKAGE}'
1132 +infodir='${datarootdir}/info'
1133 +htmldir='${docdir}'
1134 +dvidir='${docdir}'
1135 +pdfdir='${docdir}'
1136 +psdir='${docdir}'
1137 +libdir='${exec_prefix}/lib'
1138 +localedir='${datarootdir}/locale'
1139 +mandir='${datarootdir}/man'
1140
1141 ac_prev=
1142 +ac_dashdash=
1143 for ac_option
1144 do
1145 # If the previous option needs an argument, assign it.
1146 if test -n "$ac_prev"; then
1147 - eval "$ac_prev=\$ac_option"
1148 + eval $ac_prev=\$ac_option
1149 ac_prev=
1150 continue
1151 fi
1152
1153 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1154 + case $ac_option in
1155 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1156 + *) ac_optarg=yes ;;
1157 + esac
1158
1159 # Accept the important Cygnus configure options, so we can diagnose typos.
1160
1161 - case $ac_option in
1162 + case $ac_dashdash$ac_option in
1163 + --)
1164 + ac_dashdash=yes ;;
1165
1166 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1167 ac_prev=bindir ;;
1168 @@ -386,33 +862,45 @@
1169 --config-cache | -C)
1170 cache_file=config.cache ;;
1171
1172 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1173 + -datadir | --datadir | --datadi | --datad)
1174 ac_prev=datadir ;;
1175 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1176 - | --da=*)
1177 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1178 datadir=$ac_optarg ;;
1179
1180 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1181 + | --dataroo | --dataro | --datar)
1182 + ac_prev=datarootdir ;;
1183 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1184 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1185 + datarootdir=$ac_optarg ;;
1186 +
1187 -disable-* | --disable-*)
1188 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1191 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1193 { (exit 1); exit 1; }; }
1194 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1195 - eval "enable_$ac_feature=no" ;;
1196 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1197 + eval enable_$ac_feature=no ;;
1198 +
1199 + -docdir | --docdir | --docdi | --doc | --do)
1200 + ac_prev=docdir ;;
1201 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1202 + docdir=$ac_optarg ;;
1203 +
1204 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1205 + ac_prev=dvidir ;;
1206 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1207 + dvidir=$ac_optarg ;;
1208
1209 -enable-* | --enable-*)
1210 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1211 # Reject names that are not valid shell variable names.
1212 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1213 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1214 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1215 { (exit 1); exit 1; }; }
1216 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1217 - case $ac_option in
1218 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1219 - *) ac_optarg=yes ;;
1220 - esac
1221 - eval "enable_$ac_feature='$ac_optarg'" ;;
1222 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1223 + eval enable_$ac_feature=\$ac_optarg ;;
1224
1225 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1226 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1227 @@ -439,6 +927,12 @@
1228 -host=* | --host=* | --hos=* | --ho=*)
1229 host_alias=$ac_optarg ;;
1230
1231 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1232 + ac_prev=htmldir ;;
1233 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1234 + | --ht=*)
1235 + htmldir=$ac_optarg ;;
1236 +
1237 -includedir | --includedir | --includedi | --included | --include \
1238 | --includ | --inclu | --incl | --inc)
1239 ac_prev=includedir ;;
1240 @@ -463,13 +957,16 @@
1241 | --libexe=* | --libex=* | --libe=*)
1242 libexecdir=$ac_optarg ;;
1243
1244 + -localedir | --localedir | --localedi | --localed | --locale)
1245 + ac_prev=localedir ;;
1246 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1247 + localedir=$ac_optarg ;;
1248 +
1249 -localstatedir | --localstatedir | --localstatedi | --localstated \
1250 - | --localstate | --localstat | --localsta | --localst \
1251 - | --locals | --local | --loca | --loc | --lo)
1252 + | --localstate | --localstat | --localsta | --localst | --locals)
1253 ac_prev=localstatedir ;;
1254 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1255 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1256 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1257 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1258 localstatedir=$ac_optarg ;;
1259
1260 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1261 @@ -534,6 +1031,16 @@
1262 | --progr-tra=* | --program-tr=* | --program-t=*)
1263 program_transform_name=$ac_optarg ;;
1264
1265 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1266 + ac_prev=pdfdir ;;
1267 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1268 + pdfdir=$ac_optarg ;;
1269 +
1270 + -psdir | --psdir | --psdi | --psd | --ps)
1271 + ac_prev=psdir ;;
1272 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1273 + psdir=$ac_optarg ;;
1274 +
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1277 silent=yes ;;
1278 @@ -586,24 +1093,20 @@
1279 -with-* | --with-*)
1280 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1283 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1287 - case $ac_option in
1288 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1289 - *) ac_optarg=yes ;;
1290 - esac
1291 - eval "with_$ac_package='$ac_optarg'" ;;
1292 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1293 + eval with_$ac_package=\$ac_optarg ;;
1294
1295 -without-* | --without-*)
1296 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1297 # Reject names that are not valid shell variable names.
1298 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1299 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1300 { echo "$as_me: error: invalid package name: $ac_package" >&2
1301 { (exit 1); exit 1; }; }
1302 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1303 - eval "with_$ac_package=no" ;;
1304 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1305 + eval with_$ac_package=no ;;
1306
1307 --x)
1308 # Obsolete; use --with-x.
1309 @@ -634,8 +1137,7 @@
1310 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312 { (exit 1); exit 1; }; }
1313 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1314 - eval "$ac_envvar='$ac_optarg'"
1315 + eval $ac_envvar=\$ac_optarg
1316 export $ac_envvar ;;
1317
1318 *)
1319 @@ -655,27 +1157,19 @@
1320 { (exit 1); exit 1; }; }
1321 fi
1322
1323 -# Be sure to have absolute paths.
1324 -for ac_var in exec_prefix prefix
1325 -do
1326 - eval ac_val=$`echo $ac_var`
1327 - case $ac_val in
1328 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1329 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1330 - { (exit 1); exit 1; }; };;
1331 - esac
1332 -done
1333 -
1334 -# Be sure to have absolute paths.
1335 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1336 - localstatedir libdir includedir oldincludedir infodir mandir
1337 +# Be sure to have absolute directory names.
1338 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 + datadir sysconfdir sharedstatedir localstatedir includedir \
1340 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 + libdir localedir mandir
1342 do
1343 - eval ac_val=$`echo $ac_var`
1344 + eval ac_val=\$$ac_var
1345 case $ac_val in
1346 - [\\/$]* | ?:[\\/]* ) ;;
1347 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1348 - { (exit 1); exit 1; }; };;
1349 + [\\/$]* | ?:[\\/]* ) continue;;
1350 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1353 + { (exit 1); exit 1; }; }
1354 done
1355
1356 # There might be people who depend on the old broken behavior: `$host'
1357 @@ -702,74 +1196,76 @@
1358 test "$silent" = yes && exec 6>/dev/null
1359
1360
1361 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1362 +ac_ls_di=`ls -di .` &&
1363 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1364 + { echo "$as_me: error: Working directory cannot be determined" >&2
1365 + { (exit 1); exit 1; }; }
1366 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1368 + { (exit 1); exit 1; }; }
1369 +
1370 +
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted=yes
1374 - # Try the directory containing this script, then its parent.
1375 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1376 + # Try the directory containing this script, then the parent directory.
1377 + ac_confdir=`$as_dirname -- "$0" ||
1378 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$0" : 'X\(//\)[^/]' \| \
1380 X"$0" : 'X\(//\)$' \| \
1381 - X"$0" : 'X\(/\)' \| \
1382 - . : '\(.\)' 2>/dev/null ||
1383 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1384 echo X"$0" |
1385 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1386 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1387 - /^X\(\/\/\)$/{ s//\1/; q; }
1388 - /^X\(\/\).*/{ s//\1/; q; }
1389 - s/.*/./; q'`
1390 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1391 + s//\1/
1392 + q
1393 + }
1394 + /^X\(\/\/\)[^/].*/{
1395 + s//\1/
1396 + q
1397 + }
1398 + /^X\(\/\/\)$/{
1399 + s//\1/
1400 + q
1401 + }
1402 + /^X\(\/\).*/{
1403 + s//\1/
1404 + q
1405 + }
1406 + s/.*/./; q'`
1407 srcdir=$ac_confdir
1408 - if test ! -r $srcdir/$ac_unique_file; then
1409 + if test ! -r "$srcdir/$ac_unique_file"; then
1410 srcdir=..
1411 fi
1412 else
1413 ac_srcdir_defaulted=no
1414 fi
1415 -if test ! -r $srcdir/$ac_unique_file; then
1416 - if test "$ac_srcdir_defaulted" = yes; then
1417 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1418 - { (exit 1); exit 1; }; }
1419 - else
1420 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1421 - { (exit 1); exit 1; }; }
1422 - fi
1423 -fi
1424 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1425 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1426 - { (exit 1); exit 1; }; }
1427 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1428 -ac_env_build_alias_set=${build_alias+set}
1429 -ac_env_build_alias_value=$build_alias
1430 -ac_cv_env_build_alias_set=${build_alias+set}
1431 -ac_cv_env_build_alias_value=$build_alias
1432 -ac_env_host_alias_set=${host_alias+set}
1433 -ac_env_host_alias_value=$host_alias
1434 -ac_cv_env_host_alias_set=${host_alias+set}
1435 -ac_cv_env_host_alias_value=$host_alias
1436 -ac_env_target_alias_set=${target_alias+set}
1437 -ac_env_target_alias_value=$target_alias
1438 -ac_cv_env_target_alias_set=${target_alias+set}
1439 -ac_cv_env_target_alias_value=$target_alias
1440 -ac_env_CC_set=${CC+set}
1441 -ac_env_CC_value=$CC
1442 -ac_cv_env_CC_set=${CC+set}
1443 -ac_cv_env_CC_value=$CC
1444 -ac_env_CFLAGS_set=${CFLAGS+set}
1445 -ac_env_CFLAGS_value=$CFLAGS
1446 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1447 -ac_cv_env_CFLAGS_value=$CFLAGS
1448 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1449 -ac_env_LDFLAGS_value=$LDFLAGS
1450 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1451 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1452 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1453 -ac_env_CPPFLAGS_value=$CPPFLAGS
1454 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1455 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1456 -ac_env_CPP_set=${CPP+set}
1457 -ac_env_CPP_value=$CPP
1458 -ac_cv_env_CPP_set=${CPP+set}
1459 -ac_cv_env_CPP_value=$CPP
1460 +if test ! -r "$srcdir/$ac_unique_file"; then
1461 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1462 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1463 + { (exit 1); exit 1; }; }
1464 +fi
1465 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 +ac_abs_confdir=`(
1467 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1468 + { (exit 1); exit 1; }; }
1469 + pwd)`
1470 +# When building in place, set srcdir=.
1471 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 + srcdir=.
1473 +fi
1474 +# Remove unnecessary trailing slashes from srcdir.
1475 +# Double slashes in file names in object file debugging info
1476 +# mess up M-x gdb in Emacs.
1477 +case $srcdir in
1478 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 +esac
1480 +for ac_var in $ac_precious_vars; do
1481 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1482 + eval ac_env_${ac_var}_value=\$${ac_var}
1483 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1484 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1485 +done
1486
1487 #
1488 # Report the --help message.
1489 @@ -798,9 +1294,6 @@
1490 -n, --no-create do not create output files
1491 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1492
1493 -_ACEOF
1494 -
1495 - cat <<_ACEOF
1496 Installation directories:
1497 --prefix=PREFIX install architecture-independent files in PREFIX
1498 [$ac_default_prefix]
1499 @@ -818,15 +1311,22 @@
1500 --bindir=DIR user executables [EPREFIX/bin]
1501 --sbindir=DIR system admin executables [EPREFIX/sbin]
1502 --libexecdir=DIR program executables [EPREFIX/libexec]
1503 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1504 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1505 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1506 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1507 --libdir=DIR object code libraries [EPREFIX/lib]
1508 --includedir=DIR C header files [PREFIX/include]
1509 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1510 - --infodir=DIR info documentation [PREFIX/info]
1511 - --mandir=DIR man documentation [PREFIX/man]
1512 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 + --infodir=DIR info documentation [DATAROOTDIR/info]
1515 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 + --mandir=DIR man documentation [DATAROOTDIR/man]
1517 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1518 + --htmldir=DIR html documentation [DOCDIR]
1519 + --dvidir=DIR dvi documentation [DOCDIR]
1520 + --pdfdir=DIR pdf documentation [DOCDIR]
1521 + --psdir=DIR ps documentation [DOCDIR]
1522 _ACEOF
1523
1524 cat <<\_ACEOF
1525 @@ -880,126 +1380,95 @@
1526 CFLAGS C compiler flags
1527 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1528 nonstandard directory <lib dir>
1529 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1530 - headers in a nonstandard directory <include dir>
1531 + LIBS libraries to pass to the linker, e.g. -l<library>
1532 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1533 + you have headers in a nonstandard directory <include dir>
1534 CPP C preprocessor
1535
1536 Use these variables to override the choices made by `configure' or to help
1537 it to find libraries and programs with nonstandard names/locations.
1538
1539 _ACEOF
1540 +ac_status=$?
1541 fi
1542
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 - ac_popdir=`pwd`
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 - test -d $ac_dir || continue
1548 + test -d "$ac_dir" || continue
1549 ac_builddir=.
1550
1551 -if test "$ac_dir" != .; then
1552 +case "$ac_dir" in
1553 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 +*)
1555 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1556 - # A "../" for each directory in $ac_dir_suffix.
1557 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1558 -else
1559 - ac_dir_suffix= ac_top_builddir=
1560 -fi
1561 + # A ".." for each directory in $ac_dir_suffix.
1562 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1563 + case $ac_top_builddir_sub in
1564 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1565 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566 + esac ;;
1567 +esac
1568 +ac_abs_top_builddir=$ac_pwd
1569 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1570 +# for backward compatibility:
1571 +ac_top_builddir=$ac_top_build_prefix
1572
1573 case $srcdir in
1574 - .) # No --srcdir option. We are building in place.
1575 + .) # We are building in place.
1576 ac_srcdir=.
1577 - if test -z "$ac_top_builddir"; then
1578 - ac_top_srcdir=.
1579 - else
1580 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1581 - fi ;;
1582 - [\\/]* | ?:[\\/]* ) # Absolute path.
1583 + ac_top_srcdir=$ac_top_builddir_sub
1584 + ac_abs_top_srcdir=$ac_pwd ;;
1585 + [\\/]* | ?:[\\/]* ) # Absolute name.
1586 ac_srcdir=$srcdir$ac_dir_suffix;
1587 - ac_top_srcdir=$srcdir ;;
1588 - *) # Relative path.
1589 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1590 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1591 -esac
1592 -
1593 -# Do not use `cd foo && pwd` to compute absolute paths, because
1594 -# the directories may not exist.
1595 -case `pwd` in
1596 -.) ac_abs_builddir="$ac_dir";;
1597 -*)
1598 - case "$ac_dir" in
1599 - .) ac_abs_builddir=`pwd`;;
1600 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1601 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1602 - esac;;
1603 -esac
1604 -case $ac_abs_builddir in
1605 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1606 -*)
1607 - case ${ac_top_builddir}. in
1608 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1609 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1610 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1611 - esac;;
1612 -esac
1613 -case $ac_abs_builddir in
1614 -.) ac_abs_srcdir=$ac_srcdir;;
1615 -*)
1616 - case $ac_srcdir in
1617 - .) ac_abs_srcdir=$ac_abs_builddir;;
1618 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1619 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1620 - esac;;
1621 -esac
1622 -case $ac_abs_builddir in
1623 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1624 -*)
1625 - case $ac_top_srcdir in
1626 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1627 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1628 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1629 - esac;;
1630 -esac
1631 -
1632 - cd $ac_dir
1633 - # Check for guested configure; otherwise get Cygnus style configure.
1634 - if test -f $ac_srcdir/configure.gnu; then
1635 - echo
1636 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1637 - elif test -f $ac_srcdir/configure; then
1638 - echo
1639 - $SHELL $ac_srcdir/configure --help=recursive
1640 - elif test -f $ac_srcdir/configure.ac ||
1641 - test -f $ac_srcdir/configure.in; then
1642 - echo
1643 - $ac_configure --help
1644 + ac_top_srcdir=$srcdir
1645 + ac_abs_top_srcdir=$srcdir ;;
1646 + *) # Relative name.
1647 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1650 +esac
1651 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652 +
1653 + cd "$ac_dir" || { ac_status=$?; continue; }
1654 + # Check for guested configure.
1655 + if test -f "$ac_srcdir/configure.gnu"; then
1656 + echo &&
1657 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 + elif test -f "$ac_srcdir/configure"; then
1659 + echo &&
1660 + $SHELL "$ac_srcdir/configure" --help=recursive
1661 else
1662 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 - fi
1664 - cd $ac_popdir
1665 + fi || ac_status=$?
1666 + cd "$ac_pwd" || { ac_status=$?; break; }
1667 done
1668 fi
1669
1670 -test -n "$ac_init_help" && exit 0
1671 +test -n "$ac_init_help" && exit $ac_status
1672 if $ac_init_version; then
1673 cat <<\_ACEOF
1674 +configure
1675 +generated by GNU Autoconf 2.61
1676
1677 -Copyright (C) 2003 Free Software Foundation, Inc.
1678 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1679 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1680 This configure script is free software; the Free Software Foundation
1681 gives unlimited permission to copy, distribute and modify it.
1682 _ACEOF
1683 - exit 0
1684 + exit
1685 fi
1686 -exec 5>config.log
1687 -cat >&5 <<_ACEOF
1688 +cat >config.log <<_ACEOF
1689 This file contains any messages produced by compilers while
1690 running configure, to aid debugging if configure makes a mistake.
1691
1692 It was created by $as_me, which was
1693 -generated by GNU Autoconf 2.59. Invocation command line was
1694 +generated by GNU Autoconf 2.61. Invocation command line was
1695
1696 $ $0 $@
1697
1698 _ACEOF
1699 +exec 5>>config.log
1700 {
1701 cat <<_ASUNAME
1702 ## --------- ##
1703 @@ -1018,7 +1487,7 @@
1704 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1705 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1706 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1707 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1708 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1709 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1710 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1711 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1712 @@ -1032,6 +1501,7 @@
1713 test -z "$as_dir" && as_dir=.
1714 echo "PATH: $as_dir"
1715 done
1716 +IFS=$as_save_IFS
1717
1718 } >&5
1719
1720 @@ -1053,7 +1523,6 @@
1721 ac_configure_args=
1722 ac_configure_args0=
1723 ac_configure_args1=
1724 -ac_sep=
1725 ac_must_keep_next=false
1726 for ac_pass in 1 2
1727 do
1728 @@ -1064,7 +1533,7 @@
1729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1730 | -silent | --silent | --silen | --sile | --sil)
1731 continue ;;
1732 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1733 + *\'*)
1734 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 esac
1736 case $ac_pass in
1737 @@ -1086,9 +1555,7 @@
1738 -* ) ac_must_keep_next=true ;;
1739 esac
1740 fi
1741 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1742 - # Get rid of the leading space.
1743 - ac_sep=" "
1744 + ac_configure_args="$ac_configure_args '$ac_arg'"
1745 ;;
1746 esac
1747 done
1748 @@ -1099,8 +1566,8 @@
1749 # When interrupted or exit'd, cleanup temporary files, and complete
1750 # config.log. We remove comments because anyway the quotes in there
1751 # would cause problems or look ugly.
1752 -# WARNING: Be sure not to use single quotes in there, as some shells,
1753 -# such as our DU 5.0 friend, will then `close' the trap.
1754 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1755 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1756 trap 'exit_status=$?
1757 # Save into config.log some information that might help in debugging.
1758 {
1759 @@ -1113,20 +1580,34 @@
1760 _ASBOX
1761 echo
1762 # The following way of writing the cache mishandles newlines in values,
1763 -{
1764 +(
1765 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766 + eval ac_val=\$$ac_var
1767 + case $ac_val in #(
1768 + *${as_nl}*)
1769 + case $ac_var in #(
1770 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1771 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1772 + esac
1773 + case $ac_var in #(
1774 + _ | IFS | as_nl) ;; #(
1775 + *) $as_unset $ac_var ;;
1776 + esac ;;
1777 + esac
1778 + done
1779 (set) 2>&1 |
1780 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1781 - *ac_space=\ *)
1782 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1783 + *${as_nl}ac_space=\ *)
1784 sed -n \
1785 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1786 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1787 - ;;
1788 + "s/'\''/'\''\\\\'\'''\''/g;
1789 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1790 + ;; #(
1791 *)
1792 - sed -n \
1793 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1794 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1795 ;;
1796 - esac;
1797 -}
1798 + esac |
1799 + sort
1800 +)
1801 echo
1802
1803 cat <<\_ASBOX
1804 @@ -1137,22 +1618,28 @@
1805 echo
1806 for ac_var in $ac_subst_vars
1807 do
1808 - eval ac_val=$`echo $ac_var`
1809 - echo "$ac_var='"'"'$ac_val'"'"'"
1810 + eval ac_val=\$$ac_var
1811 + case $ac_val in
1812 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1813 + esac
1814 + echo "$ac_var='\''$ac_val'\''"
1815 done | sort
1816 echo
1817
1818 if test -n "$ac_subst_files"; then
1819 cat <<\_ASBOX
1820 -## ------------- ##
1821 -## Output files. ##
1822 -## ------------- ##
1823 +## ------------------- ##
1824 +## File substitutions. ##
1825 +## ------------------- ##
1826 _ASBOX
1827 echo
1828 for ac_var in $ac_subst_files
1829 do
1830 - eval ac_val=$`echo $ac_var`
1831 - echo "$ac_var='"'"'$ac_val'"'"'"
1832 + eval ac_val=\$$ac_var
1833 + case $ac_val in
1834 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 + esac
1836 + echo "$ac_var='\''$ac_val'\''"
1837 done | sort
1838 echo
1839 fi
1840 @@ -1164,26 +1651,24 @@
1841 ## ----------- ##
1842 _ASBOX
1843 echo
1844 - sed "/^$/d" confdefs.h | sort
1845 + cat confdefs.h
1846 echo
1847 fi
1848 test "$ac_signal" != 0 &&
1849 echo "$as_me: caught signal $ac_signal"
1850 echo "$as_me: exit $exit_status"
1851 } >&5
1852 - rm -f core *.core &&
1853 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1854 + rm -f core *.core core.conftest.* &&
1855 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1856 exit $exit_status
1857 - ' 0
1858 +' 0
1859 for ac_signal in 1 2 13 15; do
1860 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1861 done
1862 ac_signal=0
1863
1864 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1865 -rm -rf conftest* confdefs.h
1866 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1867 -echo >confdefs.h
1868 +rm -f -r conftest* confdefs.h
1869
1870 # Predefined preprocessor variables.
1871
1872 @@ -1214,14 +1699,17 @@
1873
1874 # Let the site file select an alternate cache file if it wants to.
1875 # Prefer explicitly selected file to automatically selected ones.
1876 -if test -z "$CONFIG_SITE"; then
1877 - if test "x$prefix" != xNONE; then
1878 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1879 - else
1880 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1881 - fi
1882 +if test -n "$CONFIG_SITE"; then
1883 + set x "$CONFIG_SITE"
1884 +elif test "x$prefix" != xNONE; then
1885 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1886 +else
1887 + set x "$ac_default_prefix/share/config.site" \
1888 + "$ac_default_prefix/etc/config.site"
1889 fi
1890 -for ac_site_file in $CONFIG_SITE; do
1891 +shift
1892 +for ac_site_file
1893 +do
1894 if test -r "$ac_site_file"; then
1895 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1896 echo "$as_me: loading site script $ac_site_file" >&6;}
1897 @@ -1237,8 +1725,8 @@
1898 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899 echo "$as_me: loading cache $cache_file" >&6;}
1900 case $cache_file in
1901 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1902 - *) . ./$cache_file;;
1903 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1904 + *) . "./$cache_file";;
1905 esac
1906 fi
1907 else
1908 @@ -1250,12 +1738,11 @@
1909 # Check that the precious variables saved in the cache have kept the same
1910 # value.
1911 ac_cache_corrupted=false
1912 -for ac_var in `(set) 2>&1 |
1913 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1914 +for ac_var in $ac_precious_vars; do
1915 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916 eval ac_new_set=\$ac_env_${ac_var}_set
1917 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1918 - eval ac_new_val="\$ac_env_${ac_var}_value"
1919 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1920 + eval ac_new_val=\$ac_env_${ac_var}_value
1921 case $ac_old_set,$ac_new_set in
1922 set,)
1923 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1924 @@ -1280,8 +1767,7 @@
1925 # Pass precious variables to config.status.
1926 if test "$ac_new_set" = set; then
1927 case $ac_new_val in
1928 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1929 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1930 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg=$ac_var=$ac_new_val ;;
1932 esac
1933 case " $ac_configure_args " in
1934 @@ -1298,12 +1784,6 @@
1935 { (exit 1); exit 1; }; }
1936 fi
1937
1938 -ac_ext=c
1939 -ac_cpp='$CPP $CPPFLAGS'
1940 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1941 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1942 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1943 -
1944
1945
1946
1947 @@ -1320,109 +1800,164 @@
1948
1949
1950
1951 +ac_ext=c
1952 +ac_cpp='$CPP $CPPFLAGS'
1953 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1954 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1955 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1956
1957
1958
1959
1960 ac_aux_dir=
1961 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1962 - if test -f $ac_dir/install-sh; then
1963 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1964 + if test -f "$ac_dir/install-sh"; then
1965 ac_aux_dir=$ac_dir
1966 ac_install_sh="$ac_aux_dir/install-sh -c"
1967 break
1968 - elif test -f $ac_dir/install.sh; then
1969 + elif test -f "$ac_dir/install.sh"; then
1970 ac_aux_dir=$ac_dir
1971 ac_install_sh="$ac_aux_dir/install.sh -c"
1972 break
1973 - elif test -f $ac_dir/shtool; then
1974 + elif test -f "$ac_dir/shtool"; then
1975 ac_aux_dir=$ac_dir
1976 ac_install_sh="$ac_aux_dir/shtool install -c"
1977 break
1978 fi
1979 done
1980 if test -z "$ac_aux_dir"; then
1981 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1982 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1983 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1984 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1985 { (exit 1); exit 1; }; }
1986 fi
1987 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1988 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1989 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1990 +
1991 +# These three variables are undocumented and unsupported,
1992 +# and are intended to be withdrawn in a future Autoconf release.
1993 +# They can cause serious problems if a builder's source tree is in a directory
1994 +# whose full name contains unusual characters.
1995 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1996 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1997 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1998 +
1999
2000 # Make sure we can run config.sub.
2001 -$ac_config_sub sun4 >/dev/null 2>&1 ||
2002 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2003 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2004 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2005 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2006 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2007 { (exit 1); exit 1; }; }
2008
2009 -echo "$as_me:$LINENO: checking build system type" >&5
2010 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
2011 +{ echo "$as_me:$LINENO: checking build system type" >&5
2012 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 - ac_cv_build_alias=$build_alias
2017 -test -z "$ac_cv_build_alias" &&
2018 - ac_cv_build_alias=`$ac_config_guess`
2019 -test -z "$ac_cv_build_alias" &&
2020 + ac_build_alias=$build_alias
2021 +test "x$ac_build_alias" = x &&
2022 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2023 +test "x$ac_build_alias" = x &&
2024 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2025 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2026 { (exit 1); exit 1; }; }
2027 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2028 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2029 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2030 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2031 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2032 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2033 { (exit 1); exit 1; }; }
2034
2035 fi
2036 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2037 -echo "${ECHO_T}$ac_cv_build" >&6
2038 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2039 +echo "${ECHO_T}$ac_cv_build" >&6; }
2040 +case $ac_cv_build in
2041 +*-*-*) ;;
2042 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2043 +echo "$as_me: error: invalid value of canonical build" >&2;}
2044 + { (exit 1); exit 1; }; };;
2045 +esac
2046 build=$ac_cv_build
2047 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2048 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2049 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2050 +ac_save_IFS=$IFS; IFS='-'
2051 +set x $ac_cv_build
2052 +shift
2053 +build_cpu=$1
2054 +build_vendor=$2
2055 +shift; shift
2056 +# Remember, the first character of IFS is used to create $*,
2057 +# except with old shells:
2058 +build_os=$*
2059 +IFS=$ac_save_IFS
2060 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2061
2062
2063 -echo "$as_me:$LINENO: checking host system type" >&5
2064 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2065 +{ echo "$as_me:$LINENO: checking host system type" >&5
2066 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2067 if test "${ac_cv_host+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 else
2070 - ac_cv_host_alias=$host_alias
2071 -test -z "$ac_cv_host_alias" &&
2072 - ac_cv_host_alias=$ac_cv_build_alias
2073 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2074 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2075 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2076 + if test "x$host_alias" = x; then
2077 + ac_cv_host=$ac_cv_build
2078 +else
2079 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2080 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2081 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2082 { (exit 1); exit 1; }; }
2083 +fi
2084
2085 fi
2086 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2087 -echo "${ECHO_T}$ac_cv_host" >&6
2088 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2089 +echo "${ECHO_T}$ac_cv_host" >&6; }
2090 +case $ac_cv_host in
2091 +*-*-*) ;;
2092 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2093 +echo "$as_me: error: invalid value of canonical host" >&2;}
2094 + { (exit 1); exit 1; }; };;
2095 +esac
2096 host=$ac_cv_host
2097 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2098 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2099 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2100 +ac_save_IFS=$IFS; IFS='-'
2101 +set x $ac_cv_host
2102 +shift
2103 +host_cpu=$1
2104 +host_vendor=$2
2105 +shift; shift
2106 +# Remember, the first character of IFS is used to create $*,
2107 +# except with old shells:
2108 +host_os=$*
2109 +IFS=$ac_save_IFS
2110 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2111
2112
2113 -echo "$as_me:$LINENO: checking target system type" >&5
2114 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
2115 +{ echo "$as_me:$LINENO: checking target system type" >&5
2116 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2117 if test "${ac_cv_target+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 else
2120 - ac_cv_target_alias=$target_alias
2121 -test "x$ac_cv_target_alias" = "x" &&
2122 - ac_cv_target_alias=$ac_cv_host_alias
2123 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2124 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2125 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2126 + if test "x$target_alias" = x; then
2127 + ac_cv_target=$ac_cv_host
2128 +else
2129 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2130 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2131 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2132 { (exit 1); exit 1; }; }
2133 +fi
2134
2135 fi
2136 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2137 -echo "${ECHO_T}$ac_cv_target" >&6
2138 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2139 +echo "${ECHO_T}$ac_cv_target" >&6; }
2140 +case $ac_cv_target in
2141 +*-*-*) ;;
2142 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2143 +echo "$as_me: error: invalid value of canonical target" >&2;}
2144 + { (exit 1); exit 1; }; };;
2145 +esac
2146 target=$ac_cv_target
2147 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2148 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2149 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2150 +ac_save_IFS=$IFS; IFS='-'
2151 +set x $ac_cv_target
2152 +shift
2153 +target_cpu=$1
2154 +target_vendor=$2
2155 +shift; shift
2156 +# Remember, the first character of IFS is used to create $*,
2157 +# except with old shells:
2158 +target_os=$*
2159 +IFS=$ac_save_IFS
2160 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2161
2162
2163 # The aliases save the names the user supplied, while $host etc.
2164 @@ -1439,8 +1974,8 @@
2165 if test -n "$ac_tool_prefix"; then
2166 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2167 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2168 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 @@ -1453,32 +1988,34 @@
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2
2184 fi
2185 done
2186 done
2187 +IFS=$as_save_IFS
2188
2189 fi
2190 fi
2191 CC=$ac_cv_prog_CC
2192 if test -n "$CC"; then
2193 - echo "$as_me:$LINENO: result: $CC" >&5
2194 -echo "${ECHO_T}$CC" >&6
2195 + { echo "$as_me:$LINENO: result: $CC" >&5
2196 +echo "${ECHO_T}$CC" >&6; }
2197 else
2198 - echo "$as_me:$LINENO: result: no" >&5
2199 -echo "${ECHO_T}no" >&6
2200 + { echo "$as_me:$LINENO: result: no" >&5
2201 +echo "${ECHO_T}no" >&6; }
2202 fi
2203
2204 +
2205 fi
2206 if test -z "$ac_cv_prog_CC"; then
2207 ac_ct_CC=$CC
2208 # Extract the first word of "gcc", so it can be a program name with args.
2209 set dummy gcc; ac_word=$2
2210 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2212 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2213 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 else
2217 @@ -1491,36 +2028,51 @@
2218 IFS=$as_save_IFS
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 ac_cv_prog_ac_ct_CC="gcc"
2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 break 2
2226 fi
2227 done
2228 done
2229 +IFS=$as_save_IFS
2230
2231 fi
2232 fi
2233 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2234 if test -n "$ac_ct_CC"; then
2235 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2236 -echo "${ECHO_T}$ac_ct_CC" >&6
2237 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2238 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2239 else
2240 - echo "$as_me:$LINENO: result: no" >&5
2241 -echo "${ECHO_T}no" >&6
2242 + { echo "$as_me:$LINENO: result: no" >&5
2243 +echo "${ECHO_T}no" >&6; }
2244 fi
2245
2246 - CC=$ac_ct_CC
2247 + if test "x$ac_ct_CC" = x; then
2248 + CC=""
2249 + else
2250 + case $cross_compiling:$ac_tool_warned in
2251 +yes:)
2252 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2253 +whose name does not start with the host triplet. If you think this
2254 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2255 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2256 +whose name does not start with the host triplet. If you think this
2257 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2258 +ac_tool_warned=yes ;;
2259 +esac
2260 + CC=$ac_ct_CC
2261 + fi
2262 else
2263 CC="$ac_cv_prog_CC"
2264 fi
2265
2266 if test -z "$CC"; then
2267 - if test -n "$ac_tool_prefix"; then
2268 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2269 + if test -n "$ac_tool_prefix"; then
2270 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2271 set dummy ${ac_tool_prefix}cc; ac_word=$2
2272 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2276 if test "${ac_cv_prog_CC+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 else
2279 @@ -1533,74 +2085,34 @@
2280 IFS=$as_save_IFS
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2284 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2285 ac_cv_prog_CC="${ac_tool_prefix}cc"
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 break 2
2288 fi
2289 done
2290 done
2291 +IFS=$as_save_IFS
2292
2293 fi
2294 fi
2295 CC=$ac_cv_prog_CC
2296 if test -n "$CC"; then
2297 - echo "$as_me:$LINENO: result: $CC" >&5
2298 -echo "${ECHO_T}$CC" >&6
2299 -else
2300 - echo "$as_me:$LINENO: result: no" >&5
2301 -echo "${ECHO_T}no" >&6
2302 -fi
2303 -
2304 -fi
2305 -if test -z "$ac_cv_prog_CC"; then
2306 - ac_ct_CC=$CC
2307 - # Extract the first word of "cc", so it can be a program name with args.
2308 -set dummy cc; ac_word=$2
2309 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 - echo $ECHO_N "(cached) $ECHO_C" >&6
2313 -else
2314 - if test -n "$ac_ct_CC"; then
2315 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 -else
2317 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 -for as_dir in $PATH
2319 -do
2320 - IFS=$as_save_IFS
2321 - test -z "$as_dir" && as_dir=.
2322 - for ac_exec_ext in '' $ac_executable_extensions; do
2323 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 - ac_cv_prog_ac_ct_CC="cc"
2325 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 - break 2
2327 - fi
2328 -done
2329 -done
2330 -
2331 -fi
2332 -fi
2333 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 -if test -n "$ac_ct_CC"; then
2335 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 -echo "${ECHO_T}$ac_ct_CC" >&6
2337 + { echo "$as_me:$LINENO: result: $CC" >&5
2338 +echo "${ECHO_T}$CC" >&6; }
2339 else
2340 - echo "$as_me:$LINENO: result: no" >&5
2341 -echo "${ECHO_T}no" >&6
2342 + { echo "$as_me:$LINENO: result: no" >&5
2343 +echo "${ECHO_T}no" >&6; }
2344 fi
2345
2346 - CC=$ac_ct_CC
2347 -else
2348 - CC="$ac_cv_prog_CC"
2349 -fi
2350
2351 + fi
2352 fi
2353 if test -z "$CC"; then
2354 # Extract the first word of "cc", so it can be a program name with args.
2355 set dummy cc; ac_word=$2
2356 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2360 if test "${ac_cv_prog_CC+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 else
2363 @@ -1614,7 +2126,7 @@
2364 IFS=$as_save_IFS
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2368 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2370 ac_prog_rejected=yes
2371 continue
2372 @@ -1625,6 +2137,7 @@
2373 fi
2374 done
2375 done
2376 +IFS=$as_save_IFS
2377
2378 if test $ac_prog_rejected = yes; then
2379 # We found a bogon in the path, so make sure we never use it.
2380 @@ -1642,22 +2155,23 @@
2381 fi
2382 CC=$ac_cv_prog_CC
2383 if test -n "$CC"; then
2384 - echo "$as_me:$LINENO: result: $CC" >&5
2385 -echo "${ECHO_T}$CC" >&6
2386 + { echo "$as_me:$LINENO: result: $CC" >&5
2387 +echo "${ECHO_T}$CC" >&6; }
2388 else
2389 - echo "$as_me:$LINENO: result: no" >&5
2390 -echo "${ECHO_T}no" >&6
2391 + { echo "$as_me:$LINENO: result: no" >&5
2392 +echo "${ECHO_T}no" >&6; }
2393 fi
2394
2395 +
2396 fi
2397 if test -z "$CC"; then
2398 if test -n "$ac_tool_prefix"; then
2399 - for ac_prog in cl
2400 + for ac_prog in cl.exe
2401 do
2402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2404 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408 if test "${ac_cv_prog_CC+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 else
2411 @@ -1670,36 +2184,38 @@
2412 IFS=$as_save_IFS
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 break 2
2420 fi
2421 done
2422 done
2423 +IFS=$as_save_IFS
2424
2425 fi
2426 fi
2427 CC=$ac_cv_prog_CC
2428 if test -n "$CC"; then
2429 - echo "$as_me:$LINENO: result: $CC" >&5
2430 -echo "${ECHO_T}$CC" >&6
2431 + { echo "$as_me:$LINENO: result: $CC" >&5
2432 +echo "${ECHO_T}$CC" >&6; }
2433 else
2434 - echo "$as_me:$LINENO: result: no" >&5
2435 -echo "${ECHO_T}no" >&6
2436 + { echo "$as_me:$LINENO: result: no" >&5
2437 +echo "${ECHO_T}no" >&6; }
2438 fi
2439
2440 +
2441 test -n "$CC" && break
2442 done
2443 fi
2444 if test -z "$CC"; then
2445 ac_ct_CC=$CC
2446 - for ac_prog in cl
2447 + for ac_prog in cl.exe
2448 do
2449 # Extract the first word of "$ac_prog", so it can be a program name with args.
2450 set dummy $ac_prog; ac_word=$2
2451 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2452 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2453 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 else
2458 @@ -1712,29 +2228,45 @@
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 for ac_exec_ext in '' $ac_executable_extensions; do
2462 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2463 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_ac_ct_CC="$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 break 2
2467 fi
2468 done
2469 done
2470 +IFS=$as_save_IFS
2471
2472 fi
2473 fi
2474 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2475 if test -n "$ac_ct_CC"; then
2476 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2477 -echo "${ECHO_T}$ac_ct_CC" >&6
2478 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2479 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2480 else
2481 - echo "$as_me:$LINENO: result: no" >&5
2482 -echo "${ECHO_T}no" >&6
2483 + { echo "$as_me:$LINENO: result: no" >&5
2484 +echo "${ECHO_T}no" >&6; }
2485 fi
2486
2487 +
2488 test -n "$ac_ct_CC" && break
2489 done
2490
2491 - CC=$ac_ct_CC
2492 + if test "x$ac_ct_CC" = x; then
2493 + CC=""
2494 + else
2495 + case $cross_compiling:$ac_tool_warned in
2496 +yes:)
2497 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2498 +whose name does not start with the host triplet. If you think this
2499 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2500 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2501 +whose name does not start with the host triplet. If you think this
2502 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2503 +ac_tool_warned=yes ;;
2504 +esac
2505 + CC=$ac_ct_CC
2506 + fi
2507 fi
2508
2509 fi
2510 @@ -1747,21 +2279,35 @@
2511 { (exit 1); exit 1; }; }
2512
2513 # Provide some information about the compiler.
2514 -echo "$as_me:$LINENO:" \
2515 - "checking for C compiler version" >&5
2516 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2517 ac_compiler=`set X $ac_compile; echo $2`
2518 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2519 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2520 +{ (ac_try="$ac_compiler --version >&5"
2521 +case "(($ac_try" in
2522 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 + *) ac_try_echo=$ac_try;;
2524 +esac
2525 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 + (eval "$ac_compiler --version >&5") 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2530 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2531 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2532 +{ (ac_try="$ac_compiler -v >&5"
2533 +case "(($ac_try" in
2534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 + *) ac_try_echo=$ac_try;;
2536 +esac
2537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 + (eval "$ac_compiler -v >&5") 2>&5
2539 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2543 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2544 +{ (ac_try="$ac_compiler -V >&5"
2545 +case "(($ac_try" in
2546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 + *) ac_try_echo=$ac_try;;
2548 +esac
2549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2550 + (eval "$ac_compiler -V >&5") 2>&5
2551 ac_status=$?
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 @@ -1786,47 +2332,77 @@
2555 # Try to create an executable without -o first, disregard a.out.
2556 # It will help us diagnose broken compilers, and finding out an intuition
2557 # of exeext.
2558 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2559 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2560 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2561 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2562 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2563 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2564 - (eval $ac_link_default) 2>&5
2565 +#
2566 +# List of possible output files, starting from the most likely.
2567 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2568 +# only as a last resort. b.out is created by i960 compilers.
2569 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2570 +#
2571 +# The IRIX 6 linker writes into existing files which may not be
2572 +# executable, retaining their permissions. Remove them first so a
2573 +# subsequent execution test works.
2574 +ac_rmfiles=
2575 +for ac_file in $ac_files
2576 +do
2577 + case $ac_file in
2578 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2579 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 + esac
2581 +done
2582 +rm -f $ac_rmfiles
2583 +
2584 +if { (ac_try="$ac_link_default"
2585 +case "(($ac_try" in
2586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 + *) ac_try_echo=$ac_try;;
2588 +esac
2589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 + (eval "$ac_link_default") 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; then
2594 - # Find the output, starting from the most likely. This scheme is
2595 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2596 -# resort.
2597 -
2598 -# Be careful to initialize this variable, since it used to be cached.
2599 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2600 -ac_cv_exeext=
2601 -# b.out is created by i960 compilers.
2602 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2603 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2604 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2605 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2606 +# so that the user can short-circuit this test for compilers unknown to
2607 +# Autoconf.
2608 +for ac_file in $ac_files ''
2609 do
2610 test -f "$ac_file" || continue
2611 case $ac_file in
2612 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2613 - ;;
2614 - conftest.$ac_ext )
2615 - # This is the source file.
2616 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2617 ;;
2618 [ab].out )
2619 # We found the default executable, but exeext='' is most
2620 # certainly right.
2621 break;;
2622 *.* )
2623 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2624 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2625 - # but it would be cool to find out if it's true. Does anybody
2626 - # maintain Libtool? --akim.
2627 - export ac_cv_exeext
2628 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2629 + then :; else
2630 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2631 + fi
2632 + # We set ac_cv_exeext here because the later test for it is not
2633 + # safe: cross compilers may not add the suffix if given an `-o'
2634 + # argument, so we may need to know it at that point already.
2635 + # Even if this section looks crufty: it has the advantage of
2636 + # actually working.
2637 break;;
2638 * )
2639 break;;
2640 esac
2641 done
2642 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2643 +
2644 else
2645 + ac_file=''
2646 +fi
2647 +
2648 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2649 +echo "${ECHO_T}$ac_file" >&6; }
2650 +if test -z "$ac_file"; then
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2653
2654 @@ -1838,19 +2414,21 @@
2655 fi
2656
2657 ac_exeext=$ac_cv_exeext
2658 -echo "$as_me:$LINENO: result: $ac_file" >&5
2659 -echo "${ECHO_T}$ac_file" >&6
2660
2661 -# Check the compiler produces executables we can run. If not, either
2662 +# Check that the compiler produces executables we can run. If not, either
2663 # the compiler is broken, or we cross compile.
2664 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2665 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2666 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2667 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2668 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2669 # If not cross compiling, check that we can run a simple program.
2670 if test "$cross_compiling" != yes; then
2671 if { ac_try='./$ac_file'
2672 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 - (eval $ac_try) 2>&5
2674 + { (case "(($ac_try" in
2675 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 + *) ac_try_echo=$ac_try;;
2677 +esac
2678 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 + (eval "$ac_try") 2>&5
2680 ac_status=$?
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2683 @@ -1869,22 +2447,27 @@
2684 fi
2685 fi
2686 fi
2687 -echo "$as_me:$LINENO: result: yes" >&5
2688 -echo "${ECHO_T}yes" >&6
2689 +{ echo "$as_me:$LINENO: result: yes" >&5
2690 +echo "${ECHO_T}yes" >&6; }
2691
2692 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2693 ac_clean_files=$ac_clean_files_save
2694 -# Check the compiler produces executables we can run. If not, either
2695 +# Check that the compiler produces executables we can run. If not, either
2696 # the compiler is broken, or we cross compile.
2697 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2698 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2699 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2700 -echo "${ECHO_T}$cross_compiling" >&6
2701 -
2702 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2703 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2704 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2705 - (eval $ac_link) 2>&5
2706 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2707 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2708 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2709 +echo "${ECHO_T}$cross_compiling" >&6; }
2710 +
2711 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2712 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2713 +if { (ac_try="$ac_link"
2714 +case "(($ac_try" in
2715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 + *) ac_try_echo=$ac_try;;
2717 +esac
2718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 + (eval "$ac_link") 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; then
2723 @@ -1895,9 +2478,8 @@
2724 for ac_file in conftest.exe conftest conftest.*; do
2725 test -f "$ac_file" || continue
2726 case $ac_file in
2727 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2728 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2729 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2730 - export ac_cv_exeext
2731 break;;
2732 * ) break;;
2733 esac
2734 @@ -1911,14 +2493,14 @@
2735 fi
2736
2737 rm -f conftest$ac_cv_exeext
2738 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2739 -echo "${ECHO_T}$ac_cv_exeext" >&6
2740 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2741 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2742
2743 rm -f conftest.$ac_ext
2744 EXEEXT=$ac_cv_exeext
2745 ac_exeext=$EXEEXT
2746 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2747 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2748 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2749 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2750 if test "${ac_cv_objext+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 else
2753 @@ -1938,14 +2520,20 @@
2754 }
2755 _ACEOF
2756 rm -f conftest.o conftest.obj
2757 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 - (eval $ac_compile) 2>&5
2759 +if { (ac_try="$ac_compile"
2760 +case "(($ac_try" in
2761 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 + *) ac_try_echo=$ac_try;;
2763 +esac
2764 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2765 + (eval "$ac_compile") 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; then
2769 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2770 + for ac_file in conftest.o conftest.obj conftest.*; do
2771 + test -f "$ac_file" || continue;
2772 case $ac_file in
2773 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2774 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2775 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2776 break;;
2777 esac
2778 @@ -1963,12 +2551,12 @@
2779
2780 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2781 fi
2782 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2783 -echo "${ECHO_T}$ac_cv_objext" >&6
2784 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2785 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2786 OBJEXT=$ac_cv_objext
2787 ac_objext=$OBJEXT
2788 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2789 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2790 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2791 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2792 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6
2794 else
2795 @@ -1991,50 +2579,49 @@
2796 }
2797 _ACEOF
2798 rm -f conftest.$ac_objext
2799 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2800 - (eval $ac_compile) 2>conftest.er1
2801 +if { (ac_try="$ac_compile"
2802 +case "(($ac_try" in
2803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 + *) ac_try_echo=$ac_try;;
2805 +esac
2806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2807 + (eval "$ac_compile") 2>conftest.er1
2808 ac_status=$?
2809 grep -v '^ *+' conftest.er1 >conftest.err
2810 rm -f conftest.er1
2811 cat conftest.err >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 - (exit $ac_status); } &&
2814 - { ac_try='test -z "$ac_c_werror_flag"
2815 - || test ! -s conftest.err'
2816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 - (eval $ac_try) 2>&5
2818 - ac_status=$?
2819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 - (exit $ac_status); }; } &&
2821 - { ac_try='test -s conftest.$ac_objext'
2822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 - (eval $ac_try) 2>&5
2824 - ac_status=$?
2825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 - (exit $ac_status); }; }; then
2827 + (exit $ac_status); } && {
2828 + test -z "$ac_c_werror_flag" ||
2829 + test ! -s conftest.err
2830 + } && test -s conftest.$ac_objext; then
2831 ac_compiler_gnu=yes
2832 else
2833 echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2835
2836 -ac_compiler_gnu=no
2837 + ac_compiler_gnu=no
2838 fi
2839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2840 +
2841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2843
2844 fi
2845 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2846 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2847 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2848 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2849 GCC=`test $ac_compiler_gnu = yes && echo yes`
2850 ac_test_CFLAGS=${CFLAGS+set}
2851 ac_save_CFLAGS=$CFLAGS
2852 -CFLAGS="-g"
2853 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2854 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2855 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2856 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2857 if test "${ac_cv_prog_cc_g+set}" = set; then
2858 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 else
2860 - cat >conftest.$ac_ext <<_ACEOF
2861 + ac_save_c_werror_flag=$ac_c_werror_flag
2862 + ac_c_werror_flag=yes
2863 + ac_cv_prog_cc_g=no
2864 + CFLAGS="-g"
2865 + cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 @@ -2050,38 +2637,118 @@
2870 }
2871 _ACEOF
2872 rm -f conftest.$ac_objext
2873 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 - (eval $ac_compile) 2>conftest.er1
2875 +if { (ac_try="$ac_compile"
2876 +case "(($ac_try" in
2877 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2878 + *) ac_try_echo=$ac_try;;
2879 +esac
2880 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2881 + (eval "$ac_compile") 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 - (exit $ac_status); } &&
2888 - { ac_try='test -z "$ac_c_werror_flag"
2889 - || test ! -s conftest.err'
2890 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 - (eval $ac_try) 2>&5
2892 + (exit $ac_status); } && {
2893 + test -z "$ac_c_werror_flag" ||
2894 + test ! -s conftest.err
2895 + } && test -s conftest.$ac_objext; then
2896 + ac_cv_prog_cc_g=yes
2897 +else
2898 + echo "$as_me: failed program was:" >&5
2899 +sed 's/^/| /' conftest.$ac_ext >&5
2900 +
2901 + CFLAGS=""
2902 + cat >conftest.$ac_ext <<_ACEOF
2903 +/* confdefs.h. */
2904 +_ACEOF
2905 +cat confdefs.h >>conftest.$ac_ext
2906 +cat >>conftest.$ac_ext <<_ACEOF
2907 +/* end confdefs.h. */
2908 +
2909 +int
2910 +main ()
2911 +{
2912 +
2913 + ;
2914 + return 0;
2915 +}
2916 +_ACEOF
2917 +rm -f conftest.$ac_objext
2918 +if { (ac_try="$ac_compile"
2919 +case "(($ac_try" in
2920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 + *) ac_try_echo=$ac_try;;
2922 +esac
2923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 + (eval "$ac_compile") 2>conftest.er1
2925 ac_status=$?
2926 + grep -v '^ *+' conftest.er1 >conftest.err
2927 + rm -f conftest.er1
2928 + cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 - (exit $ac_status); }; } &&
2931 - { ac_try='test -s conftest.$ac_objext'
2932 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 - (eval $ac_try) 2>&5
2934 + (exit $ac_status); } && {
2935 + test -z "$ac_c_werror_flag" ||
2936 + test ! -s conftest.err
2937 + } && test -s conftest.$ac_objext; then
2938 + :
2939 +else
2940 + echo "$as_me: failed program was:" >&5
2941 +sed 's/^/| /' conftest.$ac_ext >&5
2942 +
2943 + ac_c_werror_flag=$ac_save_c_werror_flag
2944 + CFLAGS="-g"
2945 + cat >conftest.$ac_ext <<_ACEOF
2946 +/* confdefs.h. */
2947 +_ACEOF
2948 +cat confdefs.h >>conftest.$ac_ext
2949 +cat >>conftest.$ac_ext <<_ACEOF
2950 +/* end confdefs.h. */
2951 +
2952 +int
2953 +main ()
2954 +{
2955 +
2956 + ;
2957 + return 0;
2958 +}
2959 +_ACEOF
2960 +rm -f conftest.$ac_objext
2961 +if { (ac_try="$ac_compile"
2962 +case "(($ac_try" in
2963 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 + *) ac_try_echo=$ac_try;;
2965 +esac
2966 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 + (eval "$ac_compile") 2>conftest.er1
2968 ac_status=$?
2969 + grep -v '^ *+' conftest.er1 >conftest.err
2970 + rm -f conftest.er1
2971 + cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 - (exit $ac_status); }; }; then
2974 + (exit $ac_status); } && {
2975 + test -z "$ac_c_werror_flag" ||
2976 + test ! -s conftest.err
2977 + } && test -s conftest.$ac_objext; then
2978 ac_cv_prog_cc_g=yes
2979 else
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2982
2983 -ac_cv_prog_cc_g=no
2984 +
2985 fi
2986 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2987 +
2988 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 +fi
2990 +
2991 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 +fi
2993 +
2994 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 + ac_c_werror_flag=$ac_save_c_werror_flag
2996 fi
2997 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2998 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2999 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 @@ -2097,12 +2764,12 @@
3005 CFLAGS=
3006 fi
3007 fi
3008 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3009 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3010 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3011 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3012 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3013 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 else
3016 - ac_cv_prog_cc_stdc=no
3017 + ac_cv_prog_cc_c89=no
3018 ac_save_CC=$CC
3019 cat >conftest.$ac_ext <<_ACEOF
3020 /* confdefs.h. */
3021 @@ -2136,12 +2803,17 @@
3022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3023 function prototypes and stuff, but not '\xHH' hex character constants.
3024 These don't provoke an error unfortunately, instead are silently treated
3025 - as 'x'. The following induces an error, until -std1 is added to get
3026 + as 'x'. The following induces an error, until -std is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 - that's true only with -std1. */
3030 + that's true only with -std. */
3031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3032
3033 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3034 + inside strings and character constants. */
3035 +#define FOO(x) 'x'
3036 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3037 +
3038 int test (int i, double x);
3039 struct s1 {int (*f) (int a);};
3040 struct s2 {int (*f) (double a);};
3041 @@ -2156,335 +2828,144 @@
3042 return 0;
3043 }
3044 _ACEOF
3045 -# Don't try gcc -ansi; that turns off useful extensions and
3046 -# breaks some systems' header files.
3047 -# AIX -qlanglvl=ansi
3048 -# Ultrix and OSF/1 -std1
3049 -# HP-UX 10.20 and later -Ae
3050 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3051 -# SVR4 -Xc -D__EXTENSIONS__
3052 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3053 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3054 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 do
3056 CC="$ac_save_CC $ac_arg"
3057 rm -f conftest.$ac_objext
3058 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3059 - (eval $ac_compile) 2>conftest.er1
3060 +if { (ac_try="$ac_compile"
3061 +case "(($ac_try" in
3062 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063 + *) ac_try_echo=$ac_try;;
3064 +esac
3065 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3066 + (eval "$ac_compile") 2>conftest.er1
3067 ac_status=$?
3068 grep -v '^ *+' conftest.er1 >conftest.err
3069 rm -f conftest.er1
3070 cat conftest.err >&5
3071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072 - (exit $ac_status); } &&
3073 - { ac_try='test -z "$ac_c_werror_flag"
3074 - || test ! -s conftest.err'
3075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 - (eval $ac_try) 2>&5
3077 - ac_status=$?
3078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 - (exit $ac_status); }; } &&
3080 - { ac_try='test -s conftest.$ac_objext'
3081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 - (eval $ac_try) 2>&5
3083 - ac_status=$?
3084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 - (exit $ac_status); }; }; then
3086 - ac_cv_prog_cc_stdc=$ac_arg
3087 -break
3088 + (exit $ac_status); } && {
3089 + test -z "$ac_c_werror_flag" ||
3090 + test ! -s conftest.err
3091 + } && test -s conftest.$ac_objext; then
3092 + ac_cv_prog_cc_c89=$ac_arg
3093 else
3094 echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3096
3097 +
3098 fi
3099 -rm -f conftest.err conftest.$ac_objext
3100 +
3101 +rm -f core conftest.err conftest.$ac_objext
3102 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3103 done
3104 -rm -f conftest.$ac_ext conftest.$ac_objext
3105 +rm -f conftest.$ac_ext
3106 CC=$ac_save_CC
3107
3108 fi
3109 -
3110 -case "x$ac_cv_prog_cc_stdc" in
3111 - x|xno)
3112 - echo "$as_me:$LINENO: result: none needed" >&5
3113 -echo "${ECHO_T}none needed" >&6 ;;
3114 +# AC_CACHE_VAL
3115 +case "x$ac_cv_prog_cc_c89" in
3116 + x)
3117 + { echo "$as_me:$LINENO: result: none needed" >&5
3118 +echo "${ECHO_T}none needed" >&6; } ;;
3119 + xno)
3120 + { echo "$as_me:$LINENO: result: unsupported" >&5
3121 +echo "${ECHO_T}unsupported" >&6; } ;;
3122 *)
3123 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3124 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3125 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3126 + CC="$CC $ac_cv_prog_cc_c89"
3127 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3128 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3129 esac
3130
3131 -# Some people use a C++ compiler to compile C. Since we use `exit',
3132 -# in C++ we need to declare it. In case someone uses the same compiler
3133 -# for both compiling C and C++ we need to have the C++ compiler decide
3134 -# the declaration of exit, since it's the most demanding environment.
3135 +
3136 +ac_ext=c
3137 +ac_cpp='$CPP $CPPFLAGS'
3138 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141 +
3142 +
3143 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3144 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3145 +if test "${ac_cv_search_strerror+set}" = set; then
3146 + echo $ECHO_N "(cached) $ECHO_C" >&6
3147 +else
3148 + ac_func_search_save_LIBS=$LIBS
3149 cat >conftest.$ac_ext <<_ACEOF
3150 -#ifndef __cplusplus
3151 - choke me
3152 -#endif
3153 -_ACEOF
3154 -rm -f conftest.$ac_objext
3155 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 - (eval $ac_compile) 2>conftest.er1
3157 - ac_status=$?
3158 - grep -v '^ *+' conftest.er1 >conftest.err
3159 - rm -f conftest.er1
3160 - cat conftest.err >&5
3161 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 - (exit $ac_status); } &&
3163 - { ac_try='test -z "$ac_c_werror_flag"
3164 - || test ! -s conftest.err'
3165 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 - (eval $ac_try) 2>&5
3167 - ac_status=$?
3168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 - (exit $ac_status); }; } &&
3170 - { ac_try='test -s conftest.$ac_objext'
3171 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 - (eval $ac_try) 2>&5
3173 - ac_status=$?
3174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 - (exit $ac_status); }; }; then
3176 - for ac_declaration in \
3177 - '' \
3178 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3179 - 'extern "C" void std::exit (int); using std::exit;' \
3180 - 'extern "C" void exit (int) throw ();' \
3181 - 'extern "C" void exit (int);' \
3182 - 'void exit (int);'
3183 -do
3184 - cat >conftest.$ac_ext <<_ACEOF
3185 /* confdefs.h. */
3186 _ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3190 -$ac_declaration
3191 -#include <stdlib.h>
3192 +
3193 +/* Override any GCC internal prototype to avoid an error.
3194 + Use char because int might match the return type of a GCC
3195 + builtin and then its argument prototype would still apply. */
3196 +#ifdef __cplusplus
3197 +extern "C"
3198 +#endif
3199 +char strerror ();
3200 int
3201 main ()
3202 {
3203 -exit (42);
3204 +return strerror ();
3205 ;
3206 return 0;
3207 }
3208 _ACEOF
3209 -rm -f conftest.$ac_objext
3210 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211 - (eval $ac_compile) 2>conftest.er1
3212 +for ac_lib in '' cposix; do
3213 + if test -z "$ac_lib"; then
3214 + ac_res="none required"
3215 + else
3216 + ac_res=-l$ac_lib
3217 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3218 + fi
3219 + rm -f conftest.$ac_objext conftest$ac_exeext
3220 +if { (ac_try="$ac_link"
3221 +case "(($ac_try" in
3222 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 + *) ac_try_echo=$ac_try;;
3224 +esac
3225 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 + (eval "$ac_link") 2>conftest.er1
3227 ac_status=$?
3228 grep -v '^ *+' conftest.er1 >conftest.err
3229 rm -f conftest.er1
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 - (exit $ac_status); } &&
3233 - { ac_try='test -z "$ac_c_werror_flag"
3234 - || test ! -s conftest.err'
3235 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 - (eval $ac_try) 2>&5
3237 - ac_status=$?
3238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 - (exit $ac_status); }; } &&
3240 - { ac_try='test -s conftest.$ac_objext'
3241 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3242 - (eval $ac_try) 2>&5
3243 - ac_status=$?
3244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 - (exit $ac_status); }; }; then
3246 - :
3247 + (exit $ac_status); } && {
3248 + test -z "$ac_c_werror_flag" ||
3249 + test ! -s conftest.err
3250 + } && test -s conftest$ac_exeext &&
3251 + $as_test_x conftest$ac_exeext; then
3252 + ac_cv_search_strerror=$ac_res
3253 else
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3256
3257 -continue
3258 -fi
3259 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 - cat >conftest.$ac_ext <<_ACEOF
3261 -/* confdefs.h. */
3262 -_ACEOF
3263 -cat confdefs.h >>conftest.$ac_ext
3264 -cat >>conftest.$ac_ext <<_ACEOF
3265 -/* end confdefs.h. */
3266 -$ac_declaration
3267 -int
3268 -main ()
3269 -{
3270 -exit (42);
3271 - ;
3272 - return 0;
3273 -}
3274 -_ACEOF
3275 -rm -f conftest.$ac_objext
3276 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3277 - (eval $ac_compile) 2>conftest.er1
3278 - ac_status=$?
3279 - grep -v '^ *+' conftest.er1 >conftest.err
3280 - rm -f conftest.er1
3281 - cat conftest.err >&5
3282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 - (exit $ac_status); } &&
3284 - { ac_try='test -z "$ac_c_werror_flag"
3285 - || test ! -s conftest.err'
3286 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 - (eval $ac_try) 2>&5
3288 - ac_status=$?
3289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 - (exit $ac_status); }; } &&
3291 - { ac_try='test -s conftest.$ac_objext'
3292 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 - (eval $ac_try) 2>&5
3294 - ac_status=$?
3295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 - (exit $ac_status); }; }; then
3297 - break
3298 -else
3299 - echo "$as_me: failed program was:" >&5
3300 -sed 's/^/| /' conftest.$ac_ext >&5
3301
3302 fi
3303 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3304 -done
3305 -rm -f conftest*
3306 -if test -n "$ac_declaration"; then
3307 - echo '#ifdef __cplusplus' >>confdefs.h
3308 - echo $ac_declaration >>confdefs.h
3309 - echo '#endif' >>confdefs.h
3310 -fi
3311 -
3312 -else
3313 - echo "$as_me: failed program was:" >&5
3314 -sed 's/^/| /' conftest.$ac_ext >&5
3315
3316 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3317 + conftest$ac_exeext
3318 + if test "${ac_cv_search_strerror+set}" = set; then
3319 + break
3320 fi
3321 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 -ac_ext=c
3323 -ac_cpp='$CPP $CPPFLAGS'
3324 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
3327 -
3328 -
3329 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
3330 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3331 +done
3332 if test "${ac_cv_search_strerror+set}" = set; then
3333 - echo $ECHO_N "(cached) $ECHO_C" >&6
3334 -else
3335 - ac_func_search_save_LIBS=$LIBS
3336 -ac_cv_search_strerror=no
3337 -cat >conftest.$ac_ext <<_ACEOF
3338 -/* confdefs.h. */
3339 -_ACEOF
3340 -cat confdefs.h >>conftest.$ac_ext
3341 -cat >>conftest.$ac_ext <<_ACEOF
3342 -/* end confdefs.h. */
3343 -
3344 -/* Override any gcc2 internal prototype to avoid an error. */
3345 -#ifdef __cplusplus
3346 -extern "C"
3347 -#endif
3348 -/* We use char because int might match the return type of a gcc2
3349 - builtin and then its argument prototype would still apply. */
3350 -char strerror ();
3351 -int
3352 -main ()
3353 -{
3354 -strerror ();
3355 - ;
3356 - return 0;
3357 -}
3358 -_ACEOF
3359 -rm -f conftest.$ac_objext conftest$ac_exeext
3360 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3361 - (eval $ac_link) 2>conftest.er1
3362 - ac_status=$?
3363 - grep -v '^ *+' conftest.er1 >conftest.err
3364 - rm -f conftest.er1
3365 - cat conftest.err >&5
3366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 - (exit $ac_status); } &&
3368 - { ac_try='test -z "$ac_c_werror_flag"
3369 - || test ! -s conftest.err'
3370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 - (eval $ac_try) 2>&5
3372 - ac_status=$?
3373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 - (exit $ac_status); }; } &&
3375 - { ac_try='test -s conftest$ac_exeext'
3376 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3377 - (eval $ac_try) 2>&5
3378 - ac_status=$?
3379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 - (exit $ac_status); }; }; then
3381 - ac_cv_search_strerror="none required"
3382 -else
3383 - echo "$as_me: failed program was:" >&5
3384 -sed 's/^/| /' conftest.$ac_ext >&5
3385 -
3386 -fi
3387 -rm -f conftest.err conftest.$ac_objext \
3388 - conftest$ac_exeext conftest.$ac_ext
3389 -if test "$ac_cv_search_strerror" = no; then
3390 - for ac_lib in cposix; do
3391 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3392 - cat >conftest.$ac_ext <<_ACEOF
3393 -/* confdefs.h. */
3394 -_ACEOF
3395 -cat confdefs.h >>conftest.$ac_ext
3396 -cat >>conftest.$ac_ext <<_ACEOF
3397 -/* end confdefs.h. */
3398 -
3399 -/* Override any gcc2 internal prototype to avoid an error. */
3400 -#ifdef __cplusplus
3401 -extern "C"
3402 -#endif
3403 -/* We use char because int might match the return type of a gcc2
3404 - builtin and then its argument prototype would still apply. */
3405 -char strerror ();
3406 -int
3407 -main ()
3408 -{
3409 -strerror ();
3410 - ;
3411 - return 0;
3412 -}
3413 -_ACEOF
3414 -rm -f conftest.$ac_objext conftest$ac_exeext
3415 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3416 - (eval $ac_link) 2>conftest.er1
3417 - ac_status=$?
3418 - grep -v '^ *+' conftest.er1 >conftest.err
3419 - rm -f conftest.er1
3420 - cat conftest.err >&5
3421 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 - (exit $ac_status); } &&
3423 - { ac_try='test -z "$ac_c_werror_flag"
3424 - || test ! -s conftest.err'
3425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 - (eval $ac_try) 2>&5
3427 - ac_status=$?
3428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 - (exit $ac_status); }; } &&
3430 - { ac_try='test -s conftest$ac_exeext'
3431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 - (eval $ac_try) 2>&5
3433 - ac_status=$?
3434 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 - (exit $ac_status); }; }; then
3436 - ac_cv_search_strerror="-l$ac_lib"
3437 -break
3438 + :
3439 else
3440 - echo "$as_me: failed program was:" >&5
3441 -sed 's/^/| /' conftest.$ac_ext >&5
3442 -
3443 -fi
3444 -rm -f conftest.err conftest.$ac_objext \
3445 - conftest$ac_exeext conftest.$ac_ext
3446 - done
3447 + ac_cv_search_strerror=no
3448 fi
3449 +rm conftest.$ac_ext
3450 LIBS=$ac_func_search_save_LIBS
3451 fi
3452 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3453 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
3454 -if test "$ac_cv_search_strerror" != no; then
3455 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3456 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3457 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3458 +ac_res=$ac_cv_search_strerror
3459 +if test "$ac_res" != no; then
3460 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3461
3462 fi
3463
3464 @@ -2503,8 +2984,8 @@
3465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3466 # OS/2's system install, which has a completely different semantic
3467 # ./install, which can be erroneously created by make from ./install.sh.
3468 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3469 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3470 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3471 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3472 if test -z "$INSTALL"; then
3473 if test "${ac_cv_path_install+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 @@ -2526,7 +3007,7 @@
3476 # by default.
3477 for ac_prog in ginstall scoinst install; do
3478 for ac_exec_ext in '' $ac_executable_extensions; do
3479 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3480 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3481 if test $ac_prog = install &&
3482 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3483 # AIX install. It has an incompatible calling convention.
3484 @@ -2545,21 +3026,22 @@
3485 ;;
3486 esac
3487 done
3488 +IFS=$as_save_IFS
3489
3490
3491 fi
3492 if test "${ac_cv_path_install+set}" = set; then
3493 INSTALL=$ac_cv_path_install
3494 else
3495 - # As a last resort, use the slow shell script. We don't cache a
3496 - # path for INSTALL within a source directory, because that will
3497 + # As a last resort, use the slow shell script. Don't cache a
3498 + # value for INSTALL within a source directory, because that will
3499 # break other packages using the cache if that directory is
3500 - # removed, or if the path is relative.
3501 + # removed, or if the value is a relative name.
3502 INSTALL=$ac_install_sh
3503 fi
3504 fi
3505 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3506 -echo "${ECHO_T}$INSTALL" >&6
3507 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3508 +echo "${ECHO_T}$INSTALL" >&6; }
3509
3510 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3511 # It thinks the first close brace ends the variable substitution.
3512 @@ -2569,8 +3051,8 @@
3513
3514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3515
3516 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3517 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3518 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3519 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3520 # Just in case
3521 sleep 1
3522 echo timestamp > conftest.file
3523 @@ -2612,20 +3094,20 @@
3524 Check your system clock" >&2;}
3525 { (exit 1); exit 1; }; }
3526 fi
3527 -echo "$as_me:$LINENO: result: yes" >&5
3528 -echo "${ECHO_T}yes" >&6
3529 +{ echo "$as_me:$LINENO: result: yes" >&5
3530 +echo "${ECHO_T}yes" >&6; }
3531 test "$program_prefix" != NONE &&
3532 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
3533 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3534 # Use a double $ so make ignores it.
3535 test "$program_suffix" != NONE &&
3536 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3537 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3538 # Double any \ or $. echo might interpret backslashes.
3539 # By default was `s,x,x', remove it if useless.
3540 cat <<\_ACEOF >conftest.sed
3541 s/[\\$]/&&/g;s/;s,x,x,$//
3542 _ACEOF
3543 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3544 -rm conftest.sed
3545 +rm -f conftest.sed
3546
3547 # expand $ac_aux_dir to an absolute path
3548 am_aux_dir=`cd $ac_aux_dir && pwd`
3549 @@ -2677,8 +3159,8 @@
3550 do
3551 # Extract the first word of "$ac_prog", so it can be a program name with args.
3552 set dummy $ac_prog; ac_word=$2
3553 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3557 if test "${ac_cv_prog_AWK+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 @@ -2691,54 +3173,57 @@
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_AWK="$ac_prog"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 break 2
3569 fi
3570 done
3571 done
3572 +IFS=$as_save_IFS
3573
3574 fi
3575 fi
3576 AWK=$ac_cv_prog_AWK
3577 if test -n "$AWK"; then
3578 - echo "$as_me:$LINENO: result: $AWK" >&5
3579 -echo "${ECHO_T}$AWK" >&6
3580 + { echo "$as_me:$LINENO: result: $AWK" >&5
3581 +echo "${ECHO_T}$AWK" >&6; }
3582 else
3583 - echo "$as_me:$LINENO: result: no" >&5
3584 -echo "${ECHO_T}no" >&6
3585 + { echo "$as_me:$LINENO: result: no" >&5
3586 +echo "${ECHO_T}no" >&6; }
3587 fi
3588
3589 +
3590 test -n "$AWK" && break
3591 done
3592
3593 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3594 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3595 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3596 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3597 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3598 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3599 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3600 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 cat >conftest.make <<\_ACEOF
3604 +SHELL = /bin/sh
3605 all:
3606 - @echo 'ac_maketemp="$(MAKE)"'
3607 + @echo '@@@%%%=$(MAKE)=@@@%%%'
3608 _ACEOF
3609 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3610 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3611 -if test -n "$ac_maketemp"; then
3612 - eval ac_cv_prog_make_${ac_make}_set=yes
3613 -else
3614 - eval ac_cv_prog_make_${ac_make}_set=no
3615 -fi
3616 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
3617 + *@@@%%%=?*=@@@%%%*)
3618 + eval ac_cv_prog_make_${ac_make}_set=yes;;
3619 + *)
3620 + eval ac_cv_prog_make_${ac_make}_set=no;;
3621 +esac
3622 rm -f conftest.make
3623 fi
3624 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3625 - echo "$as_me:$LINENO: result: yes" >&5
3626 -echo "${ECHO_T}yes" >&6
3627 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3628 + { echo "$as_me:$LINENO: result: yes" >&5
3629 +echo "${ECHO_T}yes" >&6; }
3630 SET_MAKE=
3631 else
3632 - echo "$as_me:$LINENO: result: no" >&5
3633 -echo "${ECHO_T}no" >&6
3634 + { echo "$as_me:$LINENO: result: no" >&5
3635 +echo "${ECHO_T}no" >&6; }
3636 SET_MAKE="MAKE=${MAKE-make}"
3637 fi
3638
3639 @@ -2753,7 +3238,7 @@
3640
3641 DEPDIR="${am__leading_dot}deps"
3642
3643 - ac_config_commands="$ac_config_commands depfiles"
3644 +ac_config_commands="$ac_config_commands depfiles"
3645
3646
3647 am_make=${MAKE-make}
3648 @@ -2763,8 +3248,8 @@
3649 .PHONY: am__doit
3650 END
3651 # If we don't find an include directive, just comment out the code.
3652 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3653 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3654 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3655 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3656 am__include="#"
3657 am__quote=
3658 _am_result=none
3659 @@ -2791,15 +3276,15 @@
3660 fi
3661
3662
3663 -echo "$as_me:$LINENO: result: $_am_result" >&5
3664 -echo "${ECHO_T}$_am_result" >&6
3665 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
3666 +echo "${ECHO_T}$_am_result" >&6; }
3667 rm -f confinc confmf
3668
3669 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3670 +# Check whether --enable-dependency-tracking was given.
3671 if test "${enable_dependency_tracking+set}" = set; then
3672 - enableval="$enable_dependency_tracking"
3673 + enableval=$enable_dependency_tracking;
3674 +fi
3675
3676 -fi;
3677 if test "x$enable_dependency_tracking" != xno; then
3678 am_depcomp="$ac_aux_dir/depcomp"
3679 AMDEPBACKSLASH='\'
3680 @@ -2836,7 +3321,7 @@
3681
3682 # Define the identity of the package.
3683 PACKAGE=bfd
3684 - VERSION=2.17
3685 + VERSION=2.17.atmel.0.0.99
3686
3687
3688 cat >>confdefs.h <<_ACEOF
3689 @@ -2874,8 +3359,8 @@
3690 if test -n "$ac_tool_prefix"; then
3691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3692 set dummy ${ac_tool_prefix}strip; ac_word=$2
3693 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3694 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3695 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3696 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3697 if test "${ac_cv_prog_STRIP+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 @@ -2888,32 +3373,34 @@
3701 IFS=$as_save_IFS
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3705 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3708 break 2
3709 fi
3710 done
3711 done
3712 +IFS=$as_save_IFS
3713
3714 fi
3715 fi
3716 STRIP=$ac_cv_prog_STRIP
3717 if test -n "$STRIP"; then
3718 - echo "$as_me:$LINENO: result: $STRIP" >&5
3719 -echo "${ECHO_T}$STRIP" >&6
3720 + { echo "$as_me:$LINENO: result: $STRIP" >&5
3721 +echo "${ECHO_T}$STRIP" >&6; }
3722 else
3723 - echo "$as_me:$LINENO: result: no" >&5
3724 -echo "${ECHO_T}no" >&6
3725 + { echo "$as_me:$LINENO: result: no" >&5
3726 +echo "${ECHO_T}no" >&6; }
3727 fi
3728
3729 +
3730 fi
3731 if test -z "$ac_cv_prog_STRIP"; then
3732 ac_ct_STRIP=$STRIP
3733 # Extract the first word of "strip", so it can be a program name with args.
3734 set dummy strip; ac_word=$2
3735 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3736 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3737 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742 @@ -2926,27 +3413,41 @@
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_ac_ct_STRIP="strip"
3749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 break 2
3751 fi
3752 done
3753 done
3754 +IFS=$as_save_IFS
3755
3756 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3757 fi
3758 fi
3759 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3760 if test -n "$ac_ct_STRIP"; then
3761 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3762 -echo "${ECHO_T}$ac_ct_STRIP" >&6
3763 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3764 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3765 else
3766 - echo "$as_me:$LINENO: result: no" >&5
3767 -echo "${ECHO_T}no" >&6
3768 + { echo "$as_me:$LINENO: result: no" >&5
3769 +echo "${ECHO_T}no" >&6; }
3770 fi
3771
3772 - STRIP=$ac_ct_STRIP
3773 + if test "x$ac_ct_STRIP" = x; then
3774 + STRIP=":"
3775 + else
3776 + case $cross_compiling:$ac_tool_warned in
3777 +yes:)
3778 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3779 +whose name does not start with the host triplet. If you think this
3780 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3781 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3782 +whose name does not start with the host triplet. If you think this
3783 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3784 +ac_tool_warned=yes ;;
3785 +esac
3786 + STRIP=$ac_ct_STRIP
3787 + fi
3788 else
3789 STRIP="$ac_cv_prog_STRIP"
3790 fi
3791 @@ -2967,8 +3468,8 @@
3792
3793 depcc="$CC" am_compiler_list=
3794
3795 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3796 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3797 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3798 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3799 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 else
3802 @@ -3057,8 +3558,8 @@
3803 fi
3804
3805 fi
3806 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3807 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3808 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3809 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3810 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3811
3812
3813 @@ -3079,8 +3580,8 @@
3814 if test -n "$ac_tool_prefix"; then
3815 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3816 set dummy ${ac_tool_prefix}ar; ac_word=$2
3817 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3819 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3820 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3821 if test "${ac_cv_prog_AR+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 @@ -3093,32 +3594,34 @@
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_AR="${ac_tool_prefix}ar"
3831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 break 2
3833 fi
3834 done
3835 done
3836 +IFS=$as_save_IFS
3837
3838 fi
3839 fi
3840 AR=$ac_cv_prog_AR
3841 if test -n "$AR"; then
3842 - echo "$as_me:$LINENO: result: $AR" >&5
3843 -echo "${ECHO_T}$AR" >&6
3844 + { echo "$as_me:$LINENO: result: $AR" >&5
3845 +echo "${ECHO_T}$AR" >&6; }
3846 else
3847 - echo "$as_me:$LINENO: result: no" >&5
3848 -echo "${ECHO_T}no" >&6
3849 + { echo "$as_me:$LINENO: result: no" >&5
3850 +echo "${ECHO_T}no" >&6; }
3851 fi
3852
3853 +
3854 fi
3855 if test -z "$ac_cv_prog_AR"; then
3856 ac_ct_AR=$AR
3857 # Extract the first word of "ar", so it can be a program name with args.
3858 set dummy ar; ac_word=$2
3859 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3860 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3861 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3862 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3863 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 else
3866 @@ -3131,26 +3634,41 @@
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3872 ac_cv_prog_ac_ct_AR="ar"
3873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 break 2
3875 fi
3876 done
3877 done
3878 +IFS=$as_save_IFS
3879
3880 fi
3881 fi
3882 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3883 if test -n "$ac_ct_AR"; then
3884 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3885 -echo "${ECHO_T}$ac_ct_AR" >&6
3886 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3887 +echo "${ECHO_T}$ac_ct_AR" >&6; }
3888 else
3889 - echo "$as_me:$LINENO: result: no" >&5
3890 -echo "${ECHO_T}no" >&6
3891 + { echo "$as_me:$LINENO: result: no" >&5
3892 +echo "${ECHO_T}no" >&6; }
3893 fi
3894
3895 - AR=$ac_ct_AR
3896 + if test "x$ac_ct_AR" = x; then
3897 + AR=""
3898 + else
3899 + case $cross_compiling:$ac_tool_warned in
3900 +yes:)
3901 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 +whose name does not start with the host triplet. If you think this
3903 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 +whose name does not start with the host triplet. If you think this
3906 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 +ac_tool_warned=yes ;;
3908 +esac
3909 + AR=$ac_ct_AR
3910 + fi
3911 else
3912 AR="$ac_cv_prog_AR"
3913 fi
3914 @@ -3158,8 +3676,8 @@
3915 if test -n "$ac_tool_prefix"; then
3916 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3917 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3918 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3920 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3921 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3922 if test "${ac_cv_prog_RANLIB+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 else
3925 @@ -3172,32 +3690,34 @@
3926 IFS=$as_save_IFS
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3934 fi
3935 done
3936 done
3937 +IFS=$as_save_IFS
3938
3939 fi
3940 fi
3941 RANLIB=$ac_cv_prog_RANLIB
3942 if test -n "$RANLIB"; then
3943 - echo "$as_me:$LINENO: result: $RANLIB" >&5
3944 -echo "${ECHO_T}$RANLIB" >&6
3945 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
3946 +echo "${ECHO_T}$RANLIB" >&6; }
3947 else
3948 - echo "$as_me:$LINENO: result: no" >&5
3949 -echo "${ECHO_T}no" >&6
3950 + { echo "$as_me:$LINENO: result: no" >&5
3951 +echo "${ECHO_T}no" >&6; }
3952 fi
3953
3954 +
3955 fi
3956 if test -z "$ac_cv_prog_RANLIB"; then
3957 ac_ct_RANLIB=$RANLIB
3958 # Extract the first word of "ranlib", so it can be a program name with args.
3959 set dummy ranlib; ac_word=$2
3960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3962 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3964 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 @@ -3210,36 +3730,49 @@
3968 IFS=$as_save_IFS
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_ac_ct_RANLIB="ranlib"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3975 break 2
3976 fi
3977 done
3978 done
3979 +IFS=$as_save_IFS
3980
3981 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3982 fi
3983 fi
3984 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3985 if test -n "$ac_ct_RANLIB"; then
3986 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3987 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
3988 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3989 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3990 else
3991 - echo "$as_me:$LINENO: result: no" >&5
3992 -echo "${ECHO_T}no" >&6
3993 + { echo "$as_me:$LINENO: result: no" >&5
3994 +echo "${ECHO_T}no" >&6; }
3995 fi
3996
3997 - RANLIB=$ac_ct_RANLIB
3998 + if test "x$ac_ct_RANLIB" = x; then
3999 + RANLIB=":"
4000 + else
4001 + case $cross_compiling:$ac_tool_warned in
4002 +yes:)
4003 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4004 +whose name does not start with the host triplet. If you think this
4005 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4006 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4007 +whose name does not start with the host triplet. If you think this
4008 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4009 +ac_tool_warned=yes ;;
4010 +esac
4011 + RANLIB=$ac_ct_RANLIB
4012 + fi
4013 else
4014 RANLIB="$ac_cv_prog_RANLIB"
4015 fi
4016
4017
4018 -# Check whether --enable-shared or --disable-shared was given.
4019 +# Check whether --enable-shared was given.
4020 if test "${enable_shared+set}" = set; then
4021 - enableval="$enable_shared"
4022 - p=${PACKAGE-default}
4023 + enableval=$enable_shared; p=${PACKAGE-default}
4024 case $enableval in
4025 yes) enable_shared=yes ;;
4026 no) enable_shared=no ;;
4027 @@ -3257,12 +3790,12 @@
4028 esac
4029 else
4030 enable_shared=no
4031 -fi;
4032 +fi
4033 +
4034
4035 -# Check whether --enable-static or --disable-static was given.
4036 +# Check whether --enable-static was given.
4037 if test "${enable_static+set}" = set; then
4038 - enableval="$enable_static"
4039 - p=${PACKAGE-default}
4040 + enableval=$enable_static; p=${PACKAGE-default}
4041 case $enableval in
4042 yes) enable_static=yes ;;
4043 no) enable_static=no ;;
4044 @@ -3280,11 +3813,11 @@
4045 esac
4046 else
4047 enable_static=yes
4048 -fi;
4049 -# Check whether --enable-fast-install or --disable-fast-install was given.
4050 +fi
4051 +
4052 +# Check whether --enable-fast-install was given.
4053 if test "${enable_fast_install+set}" = set; then
4054 - enableval="$enable_fast_install"
4055 - p=${PACKAGE-default}
4056 + enableval=$enable_fast_install; p=${PACKAGE-default}
4057 case $enableval in
4058 yes) enable_fast_install=yes ;;
4059 no) enable_fast_install=no ;;
4060 @@ -3302,20 +3835,21 @@
4061 esac
4062 else
4063 enable_fast_install=yes
4064 -fi;
4065 +fi
4066 +
4067
4068 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
4069 +# Check whether --with-gnu-ld was given.
4070 if test "${with_gnu_ld+set}" = set; then
4071 - withval="$with_gnu_ld"
4072 - test "$withval" = no || with_gnu_ld=yes
4073 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4074 else
4075 with_gnu_ld=no
4076 -fi;
4077 +fi
4078 +
4079 ac_prog=ld
4080 if test "$GCC" = yes; then
4081 # Check if gcc -print-prog-name=ld gives a path.
4082 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4083 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4084 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4085 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4086 case $host in
4087 *-*-mingw*)
4088 # gcc leaves a trailing carriage return which upsets mingw
4089 @@ -3344,11 +3878,11 @@
4090 ;;
4091 esac
4092 elif test "$with_gnu_ld" = yes; then
4093 - echo "$as_me:$LINENO: checking for GNU ld" >&5
4094 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4095 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
4096 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4097 else
4098 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4099 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4100 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4101 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4102 fi
4103 if test "${lt_cv_path_LD+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 @@ -3377,17 +3911,17 @@
4106
4107 LD="$lt_cv_path_LD"
4108 if test -n "$LD"; then
4109 - echo "$as_me:$LINENO: result: $LD" >&5
4110 -echo "${ECHO_T}$LD" >&6
4111 + { echo "$as_me:$LINENO: result: $LD" >&5
4112 +echo "${ECHO_T}$LD" >&6; }
4113 else
4114 - echo "$as_me:$LINENO: result: no" >&5
4115 -echo "${ECHO_T}no" >&6
4116 + { echo "$as_me:$LINENO: result: no" >&5
4117 +echo "${ECHO_T}no" >&6; }
4118 fi
4119 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4120 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4121 { (exit 1); exit 1; }; }
4122 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4123 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4124 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4125 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4126 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129 @@ -3398,25 +3932,25 @@
4130 lt_cv_prog_gnu_ld=no
4131 fi
4132 fi
4133 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4134 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4135 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4136 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4137 with_gnu_ld=$lt_cv_prog_gnu_ld
4138
4139
4140 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4141 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4142 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4143 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4144 if test "${lt_cv_ld_reload_flag+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 else
4147 lt_cv_ld_reload_flag='-r'
4148 fi
4149 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4150 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4151 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4152 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4153 reload_flag=$lt_cv_ld_reload_flag
4154 test -n "$reload_flag" && reload_flag=" $reload_flag"
4155
4156 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4157 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4158 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4159 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4160 if test "${lt_cv_path_NM+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 @@ -3451,22 +3985,22 @@
4164 fi
4165
4166 NM="$lt_cv_path_NM"
4167 -echo "$as_me:$LINENO: result: $NM" >&5
4168 -echo "${ECHO_T}$NM" >&6
4169 +{ echo "$as_me:$LINENO: result: $NM" >&5
4170 +echo "${ECHO_T}$NM" >&6; }
4171
4172 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
4173 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4174 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4175 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4176 LN_S=$as_ln_s
4177 if test "$LN_S" = "ln -s"; then
4178 - echo "$as_me:$LINENO: result: yes" >&5
4179 -echo "${ECHO_T}yes" >&6
4180 + { echo "$as_me:$LINENO: result: yes" >&5
4181 +echo "${ECHO_T}yes" >&6; }
4182 else
4183 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4184 -echo "${ECHO_T}no, using $LN_S" >&6
4185 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4186 +echo "${ECHO_T}no, using $LN_S" >&6; }
4187 fi
4188
4189 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4190 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4191 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4192 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
4193 if test "${lt_cv_deplibs_check_method+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 else
4196 @@ -3628,8 +4162,8 @@
4197 esac
4198
4199 fi
4200 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4201 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4202 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4203 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4204 file_magic_cmd=$lt_cv_file_magic_cmd
4205 deplibs_check_method=$lt_cv_deplibs_check_method
4206
4207 @@ -3639,8 +4173,8 @@
4208 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4209
4210 # find the maximum length of command line arguments
4211 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4212 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4213 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4214 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4215 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 else
4218 @@ -3691,11 +4225,11 @@
4219 fi
4220
4221 if test -n "$lt_cv_sys_max_cmd_len" ; then
4222 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4223 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4224 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4225 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4226 else
4227 - echo "$as_me:$LINENO: result: none" >&5
4228 -echo "${ECHO_T}none" >&6
4229 + { echo "$as_me:$LINENO: result: none" >&5
4230 +echo "${ECHO_T}none" >&6; }
4231 fi
4232
4233
4234 @@ -3703,8 +4237,8 @@
4235 case $deplibs_check_method in
4236 file_magic*)
4237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4238 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4239 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4240 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4241 +echo $ECHO_N "checking fo