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